dmose@mozilla.org
20621227af
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
scc@netscape.com
68eaf65ae1
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
dp@netscape.com
70c6f92281
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
2c5981f78d
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
sfraser@netscape.com
3e46ff6050
Fixing use of obsolete types for shaver.
1999-09-29 02:54:18 +00:00
shaver@netscape.com
d8b603c8f0
nsIRegistry scriptability and beginning of category support, r=dp,alecf,dveditz a=leaf,chofmann
1999-09-29 02:35:42 +00:00
dveditz@netscape.com
7c73d2959c
Make sure componentMgr calls NR_ShutdownRegistry(), fixing MLKs and registry corruption from unflushed registry buffers.
...
r=dp,a=chofmann
1999-09-26 21:20:21 +00:00
dp@netscape.com
c64998697e
Passing down NS_Shutdown to Unloading of libraries.
1999-09-26 18:04:27 +00:00
dp@netscape.com
4471c3e79d
UnloadAll() on non-native loaders.
1999-09-23 00:14:00 +00:00
dp@netscape.com
b173d0867f
Enabling xpcom shutdown to call NSCanUnload() on every component.
1999-09-23 00:01:53 +00:00
waterson@netscape.com
e5089c32df
Fix backwards return values on nsIEnumerator::IsDone().
1999-09-21 01:28:18 +00:00
warren@netscape.com
382c1f8058
freed mComponentsDir in nsComponentManager
1999-09-20 20:53:57 +00:00
dp@netscape.com
2d69c7d581
Ability for XPCOM to use non-default component registry and component directory
1999-09-16 19:28:57 +00:00
shaver@netscape.com
70aec694a4
lose some DEBUG_shaver debugging noise
1999-09-15 14:45:29 +00:00
dp@netscape.com
eb98083f03
Typo fixed. AutoRegisterComponent works again.
1999-09-11 07:23:28 +00:00
dveditz@netscape.com
fb5cbb956c
speed startup by avoiding registry look ups that are guaranteed to fail, eliciting worst-case behavior
1999-09-10 05:27:23 +00:00
shaver@netscape.com
e84b06a56d
fix memory leaks (eep) and add some debugging noise for myself
1999-09-09 00:48:30 +00:00
shaver@netscape.com
f76e631685
fix MLK bugs 13285 and 13286 and prevent repeated PrePopulateRegistry calls
1999-09-08 04:22:37 +00:00
shaver@netscape.com
dea9335842
teach component manager that there are non-native entries in the registry
1999-09-07 23:18:47 +00:00
shaver@netscape.com
6e191258bb
Moved abs:/rel: handling to ComponentManager.
...
Made nsIModule::GetClassObject and nsIFactory scriptable for JS components.
Added registryLocation param to nsIModule::(Un)RegisterSelf.
1999-09-07 05:06:37 +00:00
shaver@netscape.com
89c1e7e581
Add nsIComponentManager::registerComponentWithType.
...
Take advantage of IDLized nsIComponentManager to fix up nsIComponentLoader.idl
and make nsIModule scriptable.
1999-09-06 16:43:09 +00:00
shaver@netscape.com
77c3544d9c
convert to CreateInstanceFromProgID
1999-09-05 06:27:42 +00:00
shaver@netscape.com
c59529bfaa
properly initialize loaders on creation, and remove code that's now in nsFileSpec
1999-09-03 23:51:31 +00:00
shaver@netscape.com
b703a644da
Added ComponentLoaders to registry and abandoned the progID suffix strategy
...
to reduce evil in universe.
Added nsIComponentManager::RegisterComponentLoader.
Dead code removal.
Make AutoRegister eagerly created all as-yet-unloaded component loaders and
AutoRegister with them as well.
Removed much #ifdef DEBUG_shaver noise.
1999-09-02 07:00:29 +00:00
shaver@netscape.com
6829488c1f
um, didn't mean to check that in
1999-09-02 05:21:10 +00:00
shaver@netscape.com
04df98c774
*** empty log message ***
1999-09-02 05:18:09 +00:00
shaver@netscape.com
1df39438da
Removed nsIFactory.h (generated now).
...
Factored ComponentManager to support multiple ComponentLoaders.
Added support for relative paths in registry.
General cleanup.
(Broke detection of changed DLLs; dp is fixing -- thanks!)
1999-08-31 21:40:21 +00:00
brendan@mozilla.org
b3c1a9c6ea
Massive spankage to capitalize C++ method and attribute name bindings, per
...
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
scc@netscape.com
6f62a47cac
got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
1999-08-23 10:14:16 +00:00
dp@netscape.com
9e455e2f6c
PlatformFind() changed to return nsDll * instead of FactoryEntry. This
...
is an internal api change.
1999-08-20 23:06:47 +00:00
dp@netscape.com
a91850cb40
- Adding nsComponentMangager::GetClassObject()
...
- Adding a nsIID parameter to the nsIModule:GetClassObject()
1999-08-19 14:54:12 +00:00
sfraser@netscape.com
6ef7cf1b5b
Part of fix for 11790, crash on quit. Don't try to delete static data. r dp, a chofmann
1999-08-13 23:26:47 +00:00
dp@netscape.com
7528532df0
- using ComponentManager instead of service manager in nsIModule
...
- Adding UnregisterComponentSpec()
All the above are required for xpcom review.
1999-08-13 19:30:13 +00:00
dp@netscape.com
5c672b9f1f
Logging error from canunload
1999-08-10 23:06:33 +00:00
dp@netscape.com
408a7d910b
dummy
1999-08-09 05:40:51 +00:00
jband@netscape.com
4e3c9aeea9
adding enumeration of CLSIDs and ProgIDs using code from Robert Ginda <rginda@ix.netcom.com>
1999-08-09 05:02:25 +00:00
rjc@netscape.com
9cdbe5a9d7
Use GetFileSpec() correctly.
1999-08-07 11:23:54 +00:00
rjc@netscape.com
aa92568613
On Mac, check a file's type (skip the creator, so that 3rd party shared libraries can be noticed) to see if its a shared library.
1999-08-06 23:06:07 +00:00
dp@netscape.com
dce267ef2c
Using nsObjectHashtable::RemoveAndDelete()
1999-08-03 00:03:38 +00:00
dp@netscape.com
15dab90b0e
VMS changes from Colin Blake <colin@theblakes.com>
1999-07-31 19:39:23 +00:00
dp@netscape.com
e2b85d36d8
- Fixing ComponentManager destruction
...
- CLSIDToProdID() fixed to use the correct subtree in registry
- ProgID() enumneration on startup enabled
- Added internal UnloadLibraries() that can take a NULL service
manager too for nsXPComShutdown()'s sake
- Setting autoreg DirectoryIterator not to resolve symbolic links
1999-07-31 05:55:04 +00:00
sspitzer@netscape.com
1533565022
other half of fix for #10697 . directory iterators work again. r=blizzard. a=leaf.
1999-07-29 04:59:13 +00:00
blizzard@redhat.com
122fbdae76
work around for startup crash on linux. checkin approved by cyeh and leaf.
1999-07-28 20:25:02 +00:00
warren@netscape.com
f50b4f1a29
Added destructor/cleanup code.
1999-07-28 08:01:03 +00:00
sspitzer@netscape.com
9cd79a08f4
change the nsIDirectoryIterator::Init interface to match the nsDirectoryIterator ctor: two paramenters, a file spec and a bool for resolveSymlinks. pass in PR_TRUE in the pref and component manager code. this fixes the problem where prefs wouldn't get loaded on the mac!
1999-07-27 23:33:54 +00:00
valeski@netscape.com
b6fabb1740
mem leak - rev'd by dp
1999-07-25 13:37:16 +00:00
tbogard@aol.net
20ea8d0eb2
Changed nsCStringKey to nsStringKey. This new key now has the ability to hash on PRUnichar* strings as well as char* strings.
1999-07-22 02:11:04 +00:00
dp@netscape.com
aa5e67c08b
Removed delete of void *. HP doesn't like it.
1999-07-15 00:11:20 +00:00
dp@netscape.com
c425ef3cca
Fixing memory leaks and mismatched memory. bug #8935 bug# 9006
...
Thanks to david.gardiner@unisa.edu.au for finding the memory leaks
1999-07-09 03:45:19 +00:00
dp@netscape.com
769d0e3dc4
Landing XPCOM_M8_PERF_BRANCH.
...
- GetFactoryEntry() factored out into a function
- Factory Cacheing enabled
- deletion of removed factory entries enabled
- Locks removed from FindFactory() and Register*()
1999-07-07 07:47:14 +00:00