Граф коммитов

128 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com c50ca402ad 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
2002-01-29 21:22:13 +00:00
law%netscape.com d44d2bf147 Bug 88123 (and 85860): re-use command line handling code in nsAppRunner when starting a second time on Win32; r=sgehani, sr=blake 2002-01-16 06:48:14 +00:00
alecf%netscape.com 5965318acb C++ side of fix for bug 100212 - move consumers of nsIFile.URL into nsIIOService. r=dougt, sr=darin 2002-01-08 01:31:25 +00:00
pinkerton%netscape.com 628436b865 stop using PR_PutEnv and use PR_SetEnv instead. r=sdagley/sr=blake. bug 118187 2002-01-07 15:42:08 +00:00
rjesup%wgate.com 2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
dougt%netscape.com 849d297364 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
2001-12-19 00:12:41 +00:00
serge%netscape.com 195bad9340 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.
2001-12-12 03:55:57 +00:00
akkana%netscape.com 683dc74507 50131: map full-pathname argument to file: url. r=mcafee sr=alecf 2001-11-19 23:39:35 +00:00
law%netscape.com 6e33cac771 New interface with Win32-specific resource constants for configuring WinXP start menu (for bug 102017); r=ssu, sr=blake 2001-11-05 06:20:19 +00:00
pchen%netscape.com 81a00d4c31 81762, r=jag, sr=sfraser, remove uses of nsCRT::strlen() with testing for null and non-empty string, also use IsEmpty() for nsXPIDLCStrings 2001-11-02 02:55:59 +00:00
pchen%netscape.com 4fb58159ad 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 2001-11-02 02:55:56 +00:00
pchen%netscape.com e78cdfbc39 81762, r=jag, sr=sfraser, remove uses of PL_strlen with testing for null and non-empty string 2001-11-02 02:55:51 +00:00
jaggernaut%netscape.com fab10e630f Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-27 14:30:31 +00:00
ccarlen%netscape.com cf1abf69eb Bug 92750 - Fizilla doesn't ask to save changes when quitting with Cmd-Q. r=brade/sr=sfraser 2001-10-02 14:50:29 +00:00
ccarlen%netscape.com 9a02f84384 Adding new files for bug 92750 - Fizilla does not ask to save changes when quitting with Cmd-Q. r=brade/sr=sfraser 2001-10-02 14:47:33 +00:00
jaggernaut%netscape.com ca6197295f 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 2001-09-29 08:28:41 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
srilatha%netscape.com b02fad6f86 *** empty log message *** 2001-09-21 02:00:24 +00:00
jst%netscape.com d3f4113c52 Fix bug 99690. Fix crash when external apps try to open mozilla windows. r=bzbarsky@mit.edu, sr=blakeross@telocity.com 2001-09-18 05:32:03 +00:00
rjesup%wgate.com dfc522b372 Bug 98711: Fix misuses of string.Right(). r=jfrancis, sr=jst 2001-09-13 00:09:49 +00:00
blakeross%telocity.com 088810f568 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.
2001-09-10 23:48:09 +00:00
ccarlen%netscape.com d48280a189 Bug 86021 - Enable -turbo for multiple profiles. r=valeski, r=/sr=blake,waterson, a=dbaron 2001-08-29 14:02:38 +00:00
blakeross%telocity.com 64c93bc135 Cleaner fix for making turbo mode dynamic (89504). r=ccarlen sr=ben 2001-08-17 00:25:04 +00:00
blakeross%telocity.com 5d9823607b Fixing bustage; missed a file. 2001-08-16 04:06:14 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com 5a6317b8a5 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 :-)
2001-06-30 11:02:25 +00:00
ccarlen%netscape.com 588dc07a67 Bug 86021 - enable multiple profiles in -turbo mode. r=racham/sr=alecf/a=chofmann 2001-06-20 06:49:22 +00:00
alecf%netscape.com 87db1e9152 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
2001-06-14 23:55:42 +00:00
alecf%netscape.com d7d72efbbc 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 2001-06-14 23:47:05 +00:00
law%netscape.com 2350eb1a95 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 2001-06-12 22:33:34 +00:00
valeski%netscape.com 5892765fc6 r=chak, sr=vidur, a=tor. 82000. removing unused arg from nsICategoryManager. 2001-06-05 21:25:57 +00:00
law%netscape.com 60ba6b2282 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 2001-05-23 06:04:39 +00:00
danm%netscape.com acf746db54 replacing use of evil hidden window with embedding-copacetic window watcher. bug 71895 r=blizzard,hyatt,javi,various 2001-04-11 01:20:28 +00:00
darin%netscape.com dc959bf6a0 fixes mac bustage 2001-04-10 08:45:44 +00:00
shaver%mozilla.org fcf7cd0d9f 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
2001-03-12 20:43:02 +00:00
sfraser%netscape.com 335256314a Fix for bug 67466 -- don't crash when opening lots of files on startup. r=pinkerton, sr=beard 2001-03-08 00:59:54 +00:00
alecf%netscape.com 21949b3d82 long awaited fix for #39895 r=sspitzer, a=alecf, contributed by andrew.taylor@cal.montage.ca
parse the GECOS field stuff correctly on unix
2000-11-04 00:37:01 +00:00
warren%netscape.com cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 31b979884d Fixed extra 0 param 2000-10-28 01:52:46 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
rayw%netscape.com 3cd14f5878 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
2000-09-14 23:20:49 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
vidur%netscape.com e153192875 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 2000-09-01 01:54:35 +00:00
alecf%netscape.com 075eb41d60 fix for #41996 - crash because getter was not pre-allocating the result
fix all callers to ensure they are freeing the result
2000-06-09 20:58:59 +00:00
sfraser%netscape.com 85ab244afe 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. 2000-06-09 01:23:36 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
sspitzer%netscape.com f46ad05a0b fix for bug #40248. I was using the category manager incorrectly.
thanks to bruce@cubik.org for pointing it out.
2000-06-01 04:14:34 +00:00
pinkerton%netscape.com c5518c5362 fix for bug 33250. fixes memory leaks by freeing strings in dtor. also switching to using nsCRT::strdup. r/a=brendan. 2000-05-31 02:30:07 +00:00
mkaply%us.ibm.com b21a2a4d57 # 37239
r= mkaply@us.ibm.com
OS/2 bring up continues - OS/2 specific changes
2000-05-12 19:26:34 +00:00
davidm%netscape.com 81f95600a3 Fix memory leak 2000-05-05 03:09:37 +00:00