129 Commits

Author SHA1 Message Date
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
dougt%netscape.com
011f9b10e5 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
law%netscape.com
d4c9402114 Bug 88123 (and 85860): re-use command line handling code in nsAppRunner when starting a second time on Win32; r=sgehani, sr=blake
git-svn-id: svn://10.0.0.236/trunk@112326 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 06:48:14 +00:00
alecf%netscape.com
b0e0e6d031 C++ side of fix for bug 100212 - move consumers of nsIFile.URL into nsIIOService. r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@111529 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 01:31:25 +00:00
pinkerton%netscape.com
cee1c73b9c stop using PR_PutEnv and use PR_SetEnv instead. r=sdagley/sr=blake. bug 118187
git-svn-id: svn://10.0.0.236/trunk@111492 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 15:42:08 +00:00
rjesup%wgate.com
15d98882e8 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
dougt%netscape.com
c01e94cad7 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
serge%netscape.com
2d50555393 checking in for rdayal
Removing the MAPI related code from mozilla/xpfe .. patch (id=56117) in bug # 106137.
r=mscott, sr=alecf. This patch also fixes bug # 111199.


git-svn-id: svn://10.0.0.236/trunk@110349 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 03:55:57 +00:00
akkana%netscape.com
bea70f253a 50131: map full-pathname argument to file: url. r=mcafee sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108511 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 23:39:35 +00:00
law%netscape.com
d169e24d96 New interface with Win32-specific resource constants for configuring WinXP start menu (for bug 102017); r=ssu, sr=blake
git-svn-id: svn://10.0.0.236/trunk@107316 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 06:20:19 +00:00
pchen%netscape.com
e878fec99a 81762, r=jag, sr=sfraser, remove uses of nsCRT::strlen() with testing for null and non-empty string, also use IsEmpty() for nsXPIDLCStrings
git-svn-id: svn://10.0.0.236/trunk@107048 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 02:55:59 +00:00
pchen%netscape.com
28643e60a9 81762, r=jag, sr=sfraser, remove uses of PL_strlen with testing for null and non-empty string, also change const char* to static const char[] so that we can use sizeof-1 instead of PL_strlen
git-svn-id: svn://10.0.0.236/trunk@107047 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 02:55:56 +00:00
pchen%netscape.com
72681d9d8a 81762, r=jag, sr=sfraser, remove uses of PL_strlen with testing for null and non-empty string
git-svn-id: svn://10.0.0.236/trunk@107046 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 02:55:51 +00:00
jaggernaut%netscape.com
71e30acb6e Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106477 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 14:30:31 +00:00
ccarlen%netscape.com
9229cf836e Bug 92750 - Fizilla doesn't ask to save changes when quitting with Cmd-Q. r=brade/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@104417 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 14:50:29 +00:00
ccarlen%netscape.com
d852115c6f Adding new files for bug 92750 - Fizilla does not ask to save changes when quitting with Cmd-Q. r=brade/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@104416 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 14:47:33 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
srilatha%netscape.com
cd6584d3a7 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@103401 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 02:00:24 +00:00
jst%netscape.com
363f1c313a Fix bug 99690. Fix crash when external apps try to open mozilla windows. r=bzbarsky@mit.edu, sr=blakeross@telocity.com
git-svn-id: svn://10.0.0.236/trunk@103079 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 05:32:03 +00:00
rjesup%wgate.com
b88ac2aaa0 Bug 98711: Fix misuses of string.Right(). r=jfrancis, sr=jst
git-svn-id: svn://10.0.0.236/trunk@102854 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 00:09:49 +00:00
blakeross%telocity.com
cf77d7a48c Turbo landing:
- Turbo mode should run Mozilla from registry (88844). r=ccarlen sr=ben
- Systray menu for turbo should include components (89532). r=syd sr=ben
- Installer checkbox needs to turn turbo on properly (96936, 97338). r=ccarlen sr=ben
- Add 'Disable Quick Launch' menuitem to turbo systray icon (98770). r=syd sr=ben
- Need confirmation dialog when 'Disable Quick Launch' is selected (98805). r=syd sr=ben
- Show dialog when last window is closed in turbo mode (89166). r=ccarlen sr=ben

and some cleanup.


git-svn-id: svn://10.0.0.236/trunk@102701 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 23:48:09 +00:00
ccarlen%netscape.com
d182837840 Bug 86021 - Enable -turbo for multiple profiles. r=valeski, r=/sr=blake,waterson, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@101946 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 14:02:38 +00:00
blakeross%telocity.com
8d46d34297 Cleaner fix for making turbo mode dynamic (89504). r=ccarlen sr=ben
git-svn-id: svn://10.0.0.236/trunk@101246 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 00:25:04 +00:00
blakeross%telocity.com
921c96c431 Fixing bustage; missed a file.
git-svn-id: svn://10.0.0.236/trunk@101184 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 04:06:14 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
ccarlen%netscape.com
b539354e4b Bug 86021 - enable multiple profiles in -turbo mode. r=racham/sr=alecf/a=chofmann
git-svn-id: svn://10.0.0.236/trunk@97581 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 06:49:22 +00:00
alecf%netscape.com
38ed87c1b0 why didn't this get checked in the last time?
part of fix for bug 83366, r=blake,
                                                                      sr=sspitzer, suggestions=jag - add
                                                                      a new method to
                                                                      nsICmdLineService to get the
                                                                      handler for a given parameter
                                                                      a=asa


git-svn-id: svn://10.0.0.236/trunk@97181 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 23:55:42 +00:00
alecf%netscape.com
37ba40d160 part of fix for bug 83366, r=blake, sr=sspitzer, suggestions=jag - add a new method to nsICmdLineService to get the handler for a given parameter a=asa
git-svn-id: svn://10.0.0.236/trunk@97178 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 23:47:05 +00:00
law%netscape.com
72d520a472 Bug 81712; new turbo-mode implementation, removes old stuff and replaces it with code that no longer holds a browser window open; r=syd, sr=blake, a=asa
git-svn-id: svn://10.0.0.236/trunk@96978 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 22:33:34 +00:00
valeski%netscape.com
b75b28be35 r=chak, sr=vidur, a=tor. 82000. removing unused arg from nsICategoryManager.
git-svn-id: svn://10.0.0.236/trunk@96452 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 21:25:57 +00:00
law%netscape.com
9b02e2ca3f Bug 75599; enabling the infamous '-turbo' cmd line switch; makes nsINativeAppSupport scriptable, adds Win32 code to handle -turbo switch; and tweaks window close logic in navigator.js to 'cache' a browser window; r=cathleen, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@95812 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 06:04:39 +00:00
danm%netscape.com
06f0dca043 replacing use of evil hidden window with embedding-copacetic window watcher. bug 71895 r=blizzard,hyatt,javi,various
git-svn-id: svn://10.0.0.236/trunk@91921 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 01:20:28 +00:00
darin%netscape.com
b25e09a122 fixes mac bustage
git-svn-id: svn://10.0.0.236/trunk@91868 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 08:45:44 +00:00
shaver%mozilla.org
823ae8572c 67699: all your nsIClassInfo is belong to us
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
  builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
  testing


git-svn-id: svn://10.0.0.236/trunk@89354 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 20:43:02 +00:00
sfraser%netscape.com
2b5624e994 Fix for bug 67466 -- don't crash when opening lots of files on startup. r=pinkerton, sr=beard
git-svn-id: svn://10.0.0.236/trunk@88870 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:59:54 +00:00
alecf%netscape.com
8d72540669 long awaited fix for #39895 r=sspitzer, a=alecf, contributed by andrew.taylor@cal.montage.ca
parse the GECOS field stuff correctly on unix


git-svn-id: svn://10.0.0.236/trunk@82292 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 00:37:01 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
718287e2ad Fixed extra 0 param
git-svn-id: svn://10.0.0.236/trunk@81915 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 01:52:46 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
rayw%netscape.com
31f9bce979 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79224 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:20:49 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
vidur%netscape.com
b10d4adc57 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
alecf%netscape.com
15a31c7bac fix for #41996 - crash because getter was not pre-allocating the result
fix all callers to ensure they are freeing the result


git-svn-id: svn://10.0.0.236/trunk@71913 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 20:58:59 +00:00
sfraser%netscape.com
8d8a274feb Oops; part of earlier checkin implementing the URL echo apple event. Be sure to shut down the AE classes on quit. r=fm, a=beppe.
git-svn-id: svn://10.0.0.236/trunk@71850 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 01:23:36 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
sspitzer%netscape.com
828044e035 fix for bug #40248. I was using the category manager incorrectly.
thanks to bruce@cubik.org for pointing it out.


git-svn-id: svn://10.0.0.236/trunk@71244 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 04:14:34 +00:00
pinkerton%netscape.com
1e2737b3fa fix for bug 33250. fixes memory leaks by freeing strings in dtor. also switching to using nsCRT::strdup. r/a=brendan.
git-svn-id: svn://10.0.0.236/trunk@71134 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 02:30:07 +00:00
mkaply%us.ibm.com
770280a67b # 37239
r= mkaply@us.ibm.com
OS/2 bring up continues - OS/2 specific changes


git-svn-id: svn://10.0.0.236/trunk@69426 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 19:26:34 +00:00