Commit Graph

372 Commits

Author SHA1 Message Date
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
dp@netscape.com
4ff0475e90 PlatformPrePopulateRegistry() 1999-07-02 03:35:09 +00:00
mcafee@netscape.com
dee7b650e6 BeOS changes 1999-06-29 10:27:58 +00:00
dp@netscape.com
55956fbb82 Enable PR_LOGs on release builds. 1999-06-28 21:51:46 +00:00
dp@netscape.com
f45a3cbb2b Removing course grain locking since finer grain locking is implemented
in nsRegistry.
1999-06-22 21:49:26 +00:00
dp@netscape.com
6b2dc7b120 XPCOM switched to using nsIFileSpec. 1999-06-22 14:02:58 +00:00
dp@netscape.com
bd99e30253 Fixed crash due to multi-threading. bug# 7308, bug# 8150 1999-06-18 23:27:09 +00:00
dp@netscape.com
a3203c7644 - NS_RegistryGetFactory API Change
- QuickRegister eliminated
1999-06-14 02:07:03 +00:00
dp@netscape.com
229e1c8529 Using new Component Registry 1999-06-09 19:18:24 +00:00
briano@netscape.com
b2f8895eaf Handle the (Unix) platform-specific DLL naming conventions properly. 1999-06-04 22:17:30 +00:00
dp@netscape.com
8314a1ce3b Checking for NULL progid. This should return correct error values from RegisterComponent() 1999-05-28 06:06:14 +00:00
dp@netscape.com
6dc8a899c6 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
dp@netscape.com
8707eac901 Landing M6 XPCOM Code cleanup branch 1999-05-06 13:29:37 +00:00
dveditz@netscape.com
b614a91310 minor startup performance improvement 1999-05-06 04:19:06 +00:00
dp@netscape.com
924a4018ce ProgID hashing fixed. We now hash the progids passed in with RegisterFactory() also. Thanks to Nicholas Ambrose <nick87@hotmail.com> for yet another patch. 1999-04-12 12:32:24 +00:00
dp@netscape.com
76a12752e5 Removing (char *) casts. Better error checking in PlatformVersionCheck(). Thanks to Nicholas Ambrose <nick87@hotmail.com> for the patch 1999-04-06 08:52:51 +00:00
dp@netscape.com
20e21d6266 Caching of commonly used registry keys. Patch from Nicholas Ambrose <nick87@hotmail.com>. Thanks nick. 1999-04-06 08:26:38 +00:00
alecf@netscape.com
9075135ba3 output results of new factory's CreateInstance() 1999-04-06 05:06:47 +00:00
dp@netscape.com
1342f63922 Log message on RegisterFactory() change. 1999-04-05 04:32:36 +00:00
dp@netscape.com
7580efafa0 Registry strings cleanup. Thanks to Nicholas Ambrose <nick87@hotmail.com> 1999-04-05 00:07:18 +00:00