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

186 Коммитов

Автор SHA1 Сообщение Дата
shaver%netscape.com f28337480b 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 f9e34fb7e2 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 602baa248e Passing down NS_Shutdown to Unloading of libraries. 1999-09-26 18:04:27 +00:00
dp%netscape.com 009a5392fb UnloadAll() on non-native loaders. 1999-09-23 00:14:00 +00:00
dp%netscape.com 4bf3f842dd Enabling xpcom shutdown to call NSCanUnload() on every component. 1999-09-23 00:01:53 +00:00
waterson%netscape.com 06b78978e9 Fix backwards return values on nsIEnumerator::IsDone(). 1999-09-21 01:28:18 +00:00
warren%netscape.com 681e31774d freed mComponentsDir in nsComponentManager 1999-09-20 20:53:57 +00:00
dp%netscape.com d0ccf9a6eb Ability for XPCOM to use non-default component registry and component directory 1999-09-16 19:28:57 +00:00
shaver%netscape.com 070f7e8f51 lose some DEBUG_shaver debugging noise 1999-09-15 14:45:29 +00:00
dp%netscape.com 6341cd61aa Typo fixed. AutoRegisterComponent works again. 1999-09-11 07:23:28 +00:00
dveditz%netscape.com cdf809b15c 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 a131f8079e fix memory leaks (eep) and add some debugging noise for myself 1999-09-09 00:48:30 +00:00
shaver%netscape.com ea2955902d fix MLK bugs 13285 and 13286 and prevent repeated PrePopulateRegistry calls 1999-09-08 04:22:37 +00:00
shaver%netscape.com aee3857b3b teach component manager that there are non-native entries in the registry 1999-09-07 23:18:47 +00:00
shaver%netscape.com c1950cee17 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 0a5c997f1a 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 6cecf4c569 convert to CreateInstanceFromProgID 1999-09-05 06:27:42 +00:00
shaver%netscape.com 942e382e8a properly initialize loaders on creation, and remove code that's now in nsFileSpec 1999-09-03 23:51:31 +00:00
shaver%netscape.com c8ebe122e6 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 2b270b1823 um, didn't mean to check that in 1999-09-02 05:21:10 +00:00
shaver%netscape.com 769fcf3a54 *** empty log message *** 1999-09-02 05:18:09 +00:00
shaver%netscape.com 1db9afa25d 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 defeffaabd 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 68340a37ef 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 e3d3ff58c6 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 d42f5605f4 - Adding nsComponentMangager::GetClassObject()
- Adding a nsIID parameter to the nsIModule:GetClassObject()
1999-08-19 14:54:12 +00:00
sfraser%netscape.com dab07c139c 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 967a7ea8e9 - 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 3370809f6a Logging error from canunload 1999-08-10 23:06:33 +00:00
dp%netscape.com 89a8cf7fd3 dummy 1999-08-09 05:40:51 +00:00
jband%netscape.com c153f122e9 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 0b9f7ca8a1 Use GetFileSpec() correctly. 1999-08-07 11:23:54 +00:00
rjc%netscape.com 014212dbee 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 04fdcf4983 Using nsObjectHashtable::RemoveAndDelete() 1999-08-03 00:03:38 +00:00
dp%netscape.com 7e30331770 VMS changes from Colin Blake <colin@theblakes.com> 1999-07-31 19:39:23 +00:00
dp%netscape.com 6e7f78ba22 - 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 b9a86e618c 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 2b0131b77e work around for startup crash on linux. checkin approved by cyeh and leaf. 1999-07-28 20:25:02 +00:00
warren%netscape.com 334c7b3f3e Added destructor/cleanup code. 1999-07-28 08:01:03 +00:00
sspitzer%netscape.com 17a4c1fb71 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 ad4cdd8e64 mem leak - rev'd by dp 1999-07-25 13:37:16 +00:00
tbogard%aol.net 8fced9fa19 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 7bb3b9548f Removed delete of void *. HP doesn't like it. 1999-07-15 00:11:20 +00:00
dp%netscape.com 31be79266a 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 cc376e10ad 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 0fc11b859d PlatformPrePopulateRegistry() 1999-07-02 03:35:09 +00:00
mcafee%netscape.com 7f42e390e5 BeOS changes 1999-06-29 10:27:58 +00:00
dp%netscape.com b128f5296b Enable PR_LOGs on release builds. 1999-06-28 21:51:46 +00:00
dp%netscape.com 0138944633 Removing course grain locking since finer grain locking is implemented
in nsRegistry.
1999-06-22 21:49:26 +00:00
dp%netscape.com 65fc0e7499 XPCOM switched to using nsIFileSpec. 1999-06-22 14:02:58 +00:00
dp%netscape.com ec7f1d00a9 Fixed crash due to multi-threading. bug# 7308, bug# 8150 1999-06-18 23:27:09 +00:00
dp%netscape.com 462e42b5b3 - NS_RegistryGetFactory API Change
- QuickRegister eliminated
1999-06-14 02:07:03 +00:00
dp%netscape.com 3fa056d7b0 Using new Component Registry 1999-06-09 19:18:24 +00:00
briano%netscape.com 8699ea0019 Handle the (Unix) platform-specific DLL naming conventions properly. 1999-06-04 22:17:30 +00:00
dp%netscape.com 98d11bbae8 Checking for NULL progid. This should return correct error values from RegisterComponent() 1999-05-28 06:06:14 +00:00
dp%netscape.com 94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
dp%netscape.com 2f513cd724 Landing M6 XPCOM Code cleanup branch 1999-05-06 13:29:37 +00:00
dveditz%netscape.com e90a239bae minor startup performance improvement 1999-05-06 04:19:06 +00:00
dp%netscape.com f562822847 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 4c4cf91bec 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 10c331806e 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 e6ced9c464 output results of new factory's CreateInstance() 1999-04-06 05:06:47 +00:00
dp%netscape.com 5c8e1841b2 Log message on RegisterFactory() change. 1999-04-05 04:32:36 +00:00
dp%netscape.com 7dabd08e7f Registry strings cleanup. Thanks to Nicholas Ambrose <nick87@hotmail.com> 1999-04-05 00:07:18 +00:00
dp%netscape.com 146db3b3fb API Cleanup. 1999-04-02 20:28:22 +00:00
dp%netscape.com a855a3539a XPCOM used nsIRegistry. Thanks to Nicholas Ambrose <nick87@hotmail.com> 1999-03-31 07:04:12 +00:00
dp%netscape.com c2937307d6 Thread Safe nsHashtable (on demand only) 1999-03-30 08:15:39 +00:00
dp%netscape.com d56049e04f One more point where load fail is detected. Adding error message 1999-03-26 18:49:46 +00:00
dp%netscape.com e421ba61c2 Showing a error message when lib loading fails. 1999-03-26 18:23:04 +00:00
sfraser%netscape.com c9dfe1ee12 Fix for 4224 -- Mac crash on startup in registry code. sfraser & dp, approved sar. 1999-03-24 19:55:38 +00:00
dp%netscape.com b900869c23 InitXPCOM() : For a defined initialization sequence of xpcom global objects and components. 1999-03-23 23:28:32 +00:00
warren%netscape.com a1de56ad0d Added nsHashtable::Exists. Renamed nsProgIDKey to nsCStringKey (what it is). 1999-03-19 05:51:49 +00:00
dp%netscape.com bfad54a2ee Descriptor Leak fixed. Thanks to bruce@cybersight.com 1999-03-12 19:49:31 +00:00
dp%netscape.com 82188ec99d Using nsHashtable and nsProgIDKey for dll hashing 1999-03-12 11:25:17 +00:00
dp%netscape.com a7a1e56945 PC: Disabling autoregistration at initialization. It will be done by the app. 1999-03-12 08:52:56 +00:00
dp%netscape.com 63ec363dda Unix: Autoregistration disabled at initialization. This should be done by app. 1999-03-12 00:05:54 +00:00
dp%netscape.com e11be739ca creating ~/.mozilla under unix if not already there. 1999-03-11 07:44:23 +00:00
dp%netscape.com 1f0706e2d1 Removing unused variable. 1999-03-10 23:30:25 +00:00
dp%netscape.com f6148529ea Adding error messages when loading fails. 1999-03-10 22:07:34 +00:00
dp%netscape.com c64e0b5054 changing to correct indent style and tabs. Beautify... 1999-03-10 09:53:25 +00:00
dp%netscape.com c3220b48e7 Recheckin because of loss during ComponentManager Merge
- Using Reg*Raw() interface to support component urls storage in registry.
 - Implemented recursive version of DeleteKey() so that Reg*Raw() interface could be used

 - Fixing memory corruption; access of deleted dll object
1999-03-10 09:16:28 +00:00
akkana%netscape.com 5a4c5d7eac fixing merge problem of windows not looking for components in components directory - dp & akkana 1999-03-09 22:18:32 +00:00
warren%netscape.com f9997f752e Fixed path separator. 1999-03-09 10:20:01 +00:00
warren%netscape.com a8bace7801 Trying a hack to see if I can make linux happy. 1999-03-09 10:15:54 +00:00
warren%netscape.com f1e85d538a Workaround for sun386i breakage. 1999-03-09 10:07:02 +00:00
warren%netscape.com 4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00