[email protected]
2de4b6e6de
fix for bug 164577 - make the nsManifestLineReader include lengths from ParseLine() so that consumers can avoid calling strlen() on them
...
(tiny startup perf fix for reading in xpti.dat)
r=dougt, sr=darin
2002-08-27 18:32:12 +00:00
[email protected]
5918c0bebc
bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
...
r=dougt, sr=darin
2002-08-26 21:20:34 +00:00
[email protected]
dff0269e5b
Missed one instance of <new.h> for bug 155852. r=cls.
2002-08-19 05:19:22 +00:00
[email protected]
aa1da7db6f
bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
...
nsISupportsString -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
[email protected]
f5eff11afe
compreg.tmp is written out on every startup. r=rjc, sr=alec, a=scc
2002-07-19 21:12:04 +00:00
[email protected]
24acb17901
Fixes the following:
...
154047
This change cleans up the category manager in hopes to freeze it for 1.1 final. This change removes dead and unsupported methods from the interface as well as removes the C++ code from the interface. This should land for 1.1b since users of the current category manager will have to update their components.
157597
Make embedding base and examples use XPCOM Glue
This change makes our embedding samples use the XPCOM glue.
157625
nsLocalFile::Remove's file pointer is sometimes null afte...
This fixes a crash when we dereference null. It is a bandaide fix as the real problems involves retooling the directory enumerator.
157801
This fixes a terrible state which you can get into whereby XPCOM will fail to startup regardless of what you do. The fix is to cause autoreg to happen if the component registry (compreg.dat) is not found.
r/[email protected] , [email protected] . [email protected]
2002-07-18 05:09:10 +00:00
[email protected]
efe080168b
Fixing Mismatched new [] / delete []. r=me. bug=153584. patch from [email protected] .
2002-06-22 19:03:11 +00:00
[email protected]
ad7b124200
fix for bug 152929 - we were leaking 900+ nsFactoryEntry objects because they were not always allocated in an arena
...
(fixes a 75k leak on my system)
r=dougt, sr=dveditz
2002-06-20 21:22:50 +00:00
[email protected]
0d32c0e21e
Use macros to declare static callback functions to make OS/2 happy.
...
Fixing tinderbox bustage.
2002-06-15 05:56:20 +00:00
[email protected]
5c7b5f0858
strdup is not defined on the mac...
2002-06-14 22:25:24 +00:00
[email protected]
013fcc43be
Fixes 48888 - xpcom flat file backend. [email protected] [email protected]
2002-06-14 21:33:05 +00:00
[email protected]
b214d5333b
Fix for #130877 - Chnages to create app specific component registries
...
r=dougt, sr=shaver, a=drivers
2002-06-11 20:38:01 +00:00
[email protected]
555ffb8f03
synchronizing component registration output with xpcom shutdown. b=138667 r=jband sr=shaver
2002-05-11 21:15:06 +00:00
[email protected]
366a5d8fa7
bug 130381 Using arena for registry prepopulation r=dougt sr=alecf a=asa
2002-05-02 21:25:08 +00:00
[email protected]
cdd08719da
fixes bug 129279 "nsIFile unicode/utf8/ascii task"
...
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
[email protected]
439302ea62
Fix for shutdown crash [@PR_EnterMonitor] called with a deleted monitor on the MemoryFlusher thread. 135330. [email protected] , [email protected]
2002-04-15 22:33:03 +00:00
[email protected]
a4e7be3250
Fixes 135966. Fix by [email protected] , [email protected] , [email protected] , [email protected]
2002-04-08 00:18:14 +00:00
[email protected]
223b905b77
bug 132126 r=dougt sr=hewitt a=scc
...
nsFactoryEntry::ReInit leaks memory
2002-03-26 09:48:44 +00:00
[email protected]
c79a89b6dd
130405. Makes the xpcom glue library usable. Updates XPCOM Samples. Adds requires lines to a few implict string/category consumers sr=alecf, [email protected] [email protected]
2002-03-21 23:43:21 +00:00
[email protected]
1a2185af41
Replace NS_REINTERPRET_CAST with an NS_STATIC_CAST so that the wrong interface on the enumerator is not returned to callers. Fixes bug 128858. r=rginda sr=shaver a=dbaron (on trunk and 0.9.9 branch)
2002-03-05 08:06:25 +00:00
[email protected]
c63437dfa3
eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan
2002-02-20 06:38:38 +00:00
[email protected]
869ede5754
fix for bug 122438 - ConvertContractIDKeyToString(...) optimization, r=dougt,sr=alecf
2002-02-13 20:34:14 +00:00
[email protected]
d40175d3e9
Use .get() when assigning nsXPIDLCString to const char*. Fixing OS/2 & AIX bustage.
2002-01-30 03:51:47 +00:00
[email protected]
c3e0a303eb
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. [email protected] , [email protected]
2002-01-29 21:22:13 +00:00
[email protected]
0808df5775
Removing monitor from FreeService() call. See bug 117218 for details, but basically we can run into a deadlock at shutdown. This patch assumes that (a) gXPCOMShuttingDown is set only by the UI thread during xpcom shutdown and (b) that all public API's check this flag before calling into the hashtable. [email protected] , [email protected]
2002-01-12 23:35:57 +00:00
[email protected]
73e0bc3ed7
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
2002-01-12 03:18:55 +00:00
[email protected]
258dd4b212
Duh. Made a thinko on commenting out the ifdef.
2002-01-10 06:55:18 +00:00
[email protected]
69f59ff3dd
Bug 115854: Clean up shutdown warnings in service manager, add IID, CID and ContractID info. r=dougt, sr=alecf
2002-01-10 02:10:37 +00:00
[email protected]
32ebf7f11f
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 = [email protected] [email protected] [email protected]
2001-12-19 00:12:41 +00:00
[email protected]
7b5f7fc92b
Backing out the fix for Bad use of nsIFile in component manager to fix spell checker. bug 106949 r=jband a=brendan
2001-12-14 01:27:16 +00:00
[email protected]
16bab27c5f
b=106949, r=ccarlen, sr=jband
...
Bad use of nsIFile in component manager
--pete
2001-12-11 03:25:32 +00:00
[email protected]
6da8b4d553
Free bloated component registry buffer after XPCOM init (bug 76329)
...
r=dougt, sr=shaver
2001-11-30 07:50:03 +00:00
[email protected]
74848c768e
Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
...
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
[email protected]
736b43eed8
fixing bug 108573. Calling AutoRegisterComponents when any registered loaders do not exists will crash. r=dp,sr=rpotts
2001-11-18 20:19:44 +00:00
[email protected]
a403db330a
bug 106466 - Removed nsServiceEntry from ComponentManager, r=dougt, sr=brendan
2001-11-16 13:53:04 +00:00
[email protected]
dcae8da104
bug 108071 Eliminate 4000 calls to malloc by using copy getters of
...
registry. r=dveditz, sr=sfraser
2001-11-16 02:38:23 +00:00
[email protected]
fc932bfd8b
Bug 104168, "xpcom-autoregistration notification never fires"
...
r=dougt, sr=brendan
notify category observers when xpcom registration occurs
2001-10-31 23:17:30 +00:00
[email protected]
d1f771603f
ugh. I did not mean to commit these changes. Backing out
2001-10-30 22:19:32 +00:00
[email protected]
43fc9fcb73
Moving nsISimpleEnumeratory interface into a seperate idl file. bug 99136. [email protected] , [email protected]
2001-10-30 22:03:05 +00:00
[email protected]
0a762f380f
Bug 106671 - PLDHashTableEnumeratorImpl::IsDone will never return true, patch makes mCurrent == mCount the done condition. r=dougt, sr=jband
2001-10-29 22:08:42 +00:00
[email protected]
a8c047a4e7
Add PR_CALLBACK to declaration of PLDHashTableEnumeratorImpl::Enumerator as well.
2001-10-23 08:09:56 +00:00
[email protected]
d2f622bfac
Declare PLDHashTableEnumeratorImpl::Enumerator as a callback function.
...
Blind fix for OS/2 bustage
2001-10-23 06:52:07 +00:00
[email protected]
c780999a3e
fix for bug 96461 - using PLDHash for ComponentManager,[email protected] , [email protected]
2001-10-23 02:28:12 +00:00
[email protected]
97a37fd993
99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. [email protected] , [email protected]
2001-10-22 22:01:27 +00:00
[email protected]
19dc5b259f
nsIObserver and nsIObserverService API freeze. [email protected] , [email protected] . bug 99163
2001-10-19 20:52:59 +00:00
[email protected]
0c3d8a495f
Allows a QI from nsIServiceManager to nsIServiceManagerObsolete. b=105136, r=beard, sr=darin
2001-10-16 23:39:20 +00:00
[email protected]
71f4514b1a
API Freeze for nsIServiceManager [email protected] , [email protected] bug 99147
2001-10-16 03:35:52 +00:00
[email protected]
59d34d9c3e
bug 100682 temporary way to get service without creating a new
...
one. This will get fixed the right way along with other api changes
for component and servicemanager r=sfraser/dougt, sr=mscott
2001-09-25 00:38:44 +00:00
[email protected]
eead5f9b00
letting factories overrride native components. Fixes embedding
...
smoketest blocker bug# 99130 r=adamlock
2001-09-11 18:10:31 +00:00
[email protected]
0dd5bc00bc
bug# 96457 Fixing ReInit() to account for the new factory entry type
...
r=gagan, sr=jband
2001-09-08 00:01:03 +00:00