dp%netscape.com
6e5b1c4195
Adding assertion to check for improper shutdown of servicemanager. r=chofmann@netscape.com
1999-12-08 02:00:30 +00:00
dp%netscape.com
2596491e46
Removing nsComponentManager.h from export
1999-12-08 01:58:30 +00:00
dp%netscape.com
187770cd22
NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
1999-11-30 23:36:32 +00:00
dp%netscape.com
f897390478
NS_RELEASE if there isn't a global service manager
1999-11-29 21:02:51 +00:00
warren%netscape.com
4ab4ee4d4e
Eliminated the libs build pass.
1999-11-28 03:05:01 +00:00
sspitzer%netscape.com
e83434a276
fix 974 warnings by declaring a virtual destructor
1999-11-27 02:17:23 +00:00
shaver%netscape.com
05a56ccb2b
update to track catchguard syntax, r=cls
1999-11-24 03:36:26 +00:00
scc%netscape.com
fbff3b08f2
Added |do_GetService| of a specific service manager as opposed to the global one. Fixed the appropriate macro accordingly. Please note: travis will be supporting this change until I'm back online in Michigan. r=dp.
1999-11-23 05:55:33 +00:00
scc%netscape.com
5c2a8a5294
clear out the result in |do_CreateInstance| on error. r=pinkerton
1999-11-22 23:01:35 +00:00
dp%netscape.com
0b9b87c92c
Eliminating leak of factory when getting it from hashtable.
...
Using NS_IMPL_ISUPPORTS1
Removing NS_DEFINE_IID
r=warren@netscape.com
1999-11-20 07:21:53 +00:00
warren%netscape.com
6770f57524
Fixed generic module factory lookup to look in cache.
1999-11-19 02:46:50 +00:00
beard%netscape.com
f187f89fdf
fix C string leak, bug=18699, r=shaver
1999-11-19 02:14:23 +00:00
fur%netscape.com
4f42d0d409
Fixed a problem with the NS_GENERIC_FACTORY_CONSTRUCTOR_INIT() macro.
...
If the Init() routine happens to perform a balanced AddRef/Release,
the instance will be prematurely destroyed when Release() is called.
The change is to do the AddRef() before calling the initialization
routine to stabilize the instance's ref-count.
r: dp, putterman
1999-11-16 03:05:36 +00:00
fur%netscape.com
aace74501d
Return NS_ERROR_FACTORY_NOT_REGISTERED, not NS_ERROR_FAILURE, if a non-existent ProgID is used to instantiate a component. Also, don't ignore CLSID parse errors. R: dp
1999-11-14 15:41:40 +00:00
warren%netscape.com
98a1f3c523
Minor fix.
1999-11-12 09:10:40 +00:00
warren%netscape.com
4471ddf809
Added NS_NewGenericModule. Made NS_IMPL_NSGETFACTORY use it to save space. r=dp,alecf
1999-11-12 09:07:26 +00:00
dp%netscape.com
bf6fd7a184
Services used with COMPtrs. NS_WITH_SERVICE definition uses COMPtrs. r=scc
1999-11-11 00:31:45 +00:00
shaver%netscape.com
61511e23f5
- NS_ERROR_FACTORY_REGISTER_AGAIN for deferring registration of a module until
...
later in the autoreg cycle.
- teach native component loader about deferred components
- add nsIComponentLoader::registerDeferredComponents
- teach component manager about deferred components
- made nsID::Parse take a |const char *| instead of a simple |char *|.
- move release of XPTI singletons until _after_ shutting down the component
manager to prevent re-initialization during JS component shutdown.
- category manager work: really delete from reg, start on enumeration
- use nsXPIDLCString instead of autoStringFree.
- fix nsRegistry to use allocator properly.
- cleaner memory management in nsFactoryEntry.
- capitalization fixed in nsIComponentLoader.idl
- clean up loader creation logic
- remove/disable lots of DEBUG_shaver noise
- added (disabled) warning about NSGetFactory usage
- move .so and .shlb higher up in the ValidDllExtensions list to marginally
speed up registration.
- added nsDll::GetRegistryLocation API
- properly export nsSupportsArray.h
- capitalization fixes in nsIEnumerator.idl
- added deferral to nsSample.js
1999-11-10 00:28:34 +00:00
scc%netscape.com
49bd71ade0
Added |do_CreateInstance()|, |do_GetService()| both by CID and ProgID. See bugs #17364 , #17448 . r={travis, dp}
1999-11-10 00:14:54 +00:00
scc%netscape.com
535e97599f
Moved |do_CreateInstance()| from here to nsComponentManagerUtils.h. See bugs #17364 , #17448 . r={travis, dp}
1999-11-10 00:14:10 +00:00
dp%netscape.com
bd53051d38
Enabling observing of XPCOM Shutdown r=jband r=putterman
1999-11-09 23:41:24 +00:00
dmose%mozilla.org
8535dda53e
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
dp%netscape.com
3779ee5d7a
Deny GetService() requests which cause Creation of new objects on
...
shutdown. r=jband, r=ScottPutterman
1999-11-03 05:38:45 +00:00
alecf%netscape.com
13eaac5db2
cleanup NS_IMPL_MODULE and friends
...
- define new nsModuleComponentInfo and use it instead of components_t
- use size_t instead of unsigned int
- add some docs
- allow user to define own module name
1999-11-02 01:12:32 +00:00
scc%netscape.com
8f4e7ad8e4
changed the mechanism underlying |do_QueryInterface| to decouple |nsCOMPtr| from services, |nsIWeakReference|, etc. This change fixes bug #17364 , and paves the way for making |nsCOMPtr| cooperate with services. r=valeski (additional builds done by dmose and syd)
1999-10-31 00:35:48 +00:00
braddr%puremagic.com
d92727dc68
Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
...
r=scc
1999-10-28 03:16:48 +00:00
braddr%puremagic.com
b49b3dbdce
Ooops.. tree closed, better back these out for now. Sorry.
1999-10-27 21:01:37 +00:00
braddr%puremagic.com
b2ea5b4c45
Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
...
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
warren%netscape.com
ef02b386d9
Fixed up dll loading for Windows. It was silently failing.
1999-10-24 22:01:09 +00:00
dp%netscape.com
73e3189c8a
bug# 9221 Fixing autoreg terminating on bad aliases. We now let it go
...
as far as possible ignoring errors. r=sfraser
1999-10-22 06:32:26 +00:00
dp%netscape.com
7c40fe12d3
beautify...
1999-10-22 04:47:14 +00:00
dp%netscape.com
d246ff80eb
bug# 15046 Preventing deletion of dll when getfactory fails. r=shaver,kipp
1999-10-22 01:04:16 +00:00
dp%netscape.com
7e6d27b0c2
bug#14656 Circular release problem of component manager. Fixed by
...
adding shutdown() method that gets called before the last
release. Enabled only for dp & shaver until we resolve js coredump.
1999-10-21 21:34:39 +00:00
scc%netscape.com
151cfbe7be
First Checked In.
1999-10-20 21:03:21 +00:00
dp%netscape.com
465b188116
Fixing warning. Moved declaration into if 0 block.
1999-10-19 05:49:04 +00:00
dveditz%netscape.com
89c765707b
Added nsIRegistry::Flush (bug 16283, required for 16600), r=shaver
1999-10-17 21:45:53 +00:00
jevering%netscape.com
bfaf5fe2a6
The nsLeakDetector.cpp file now requires a few extra header files which weren't being exported on win
1999-10-16 01:44:52 +00:00
scc%netscape.com
1b9183448d
Bug #15292 , r=dp. Made the component manager inherit from |nsSupportsWeakReference|, fixed its |QueryInterface()| appropriately, and added casts in two places that became ambiguous now that the component manager had multiple |nsISupports| in it. Now one can hold a weak reference to the component manager using |nsIWeakReference|.
1999-10-15 21:14:43 +00:00
shaver%netscape.com
ee850bb6c5
Fix case and return value in nsIModule.idl.
...
Add deleteCategoryEntry and deleteCategory to nsICategoryManager.
Update nsCategoryManager.js to use new nsIModule case, and talk to the registry.
r=brendan
1999-10-15 20:51:38 +00:00
dp%netscape.com
7acc865688
bug# 5085 Eliminating some checks at autoreg time to improve startup
...
performance. r=sfraser
1999-10-15 07:12:08 +00:00
dveditz%netscape.com
f0625af1ca
expose libreg ability to delete named values in nsIRegistry. Patch from
...
Jonas Utterstr�m <jonas.utterstrom@vittran.norrnod.se>, r=dveditz
1999-10-15 06:47:58 +00:00
waterson%netscape.com
ab20f5e245
Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur
1999-10-12 02:10:08 +00:00
putterman%netscape.com
03260d2789
Create a version of NS_GENERIC_FACTORY_CONSTRUCTOR that lets you pass in
...
an initialization function. No bug. Reviewed by dp.
1999-10-10 22:30:55 +00:00
kipp%netscape.com
eac156bd69
Fixed up hook to track library loads for refcnt logging
1999-10-08 23:41:18 +00:00
warren%netscape.com
b90a06a288
Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
1999-10-08 01:49:06 +00:00
alecf%netscape.com
fe5db68d0a
add new NS_xxx_MODULE* macros (not used anywhere in the build just yet)
1999-10-08 00:12:29 +00:00
dp%netscape.com
0be9ba382c
Removing ifdef DEBUG_dp.
1999-10-07 21:03:48 +00:00
ramiro%netscape.com
ae4803afec
Take myself out of the "you suck" list. r=dp
1999-10-06 20:22:23 +00:00
sfraser%netscape.com
c88c937d0c
Change Mac library loading to load using the FSSpec. r=dp
1999-10-06 01:09:13 +00:00
kipp%netscape.com
66a34ae73d
Fixed bug in ReleaseServcie that was recreating the service manager during shutdown
1999-09-30 21:40:27 +00:00