Commit Graph

141 Commits

Author SHA1 Message Date
dp@netscape.com
da7c5b11f6 Passing registry location correctly to nsIModule::UnregisterSelf() 2000-05-05 06:34:39 +00:00
mkaply@us.ibm.com
25cfcb8e6a # 34082
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2000-05-02 22:38:04 +00:00
dp@netscape.com
593fb8a197 Implemented component unregistration. 2000-04-18 05:25:05 +00:00
rickg@netscape.com
af649ab7a2 updated includes to access nsCRT 2000-03-31 09:04:29 +00:00
dp@netscape.com
3696c9aee7 Enabling PR_LOG for release builds from native component loader.
Tuning log format to help analysis.
2000-03-11 22:44:51 +00:00
pavlov@netscape.com
846ce6eadf changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
sfraser@netscape.com
047476e530 Fixes for bug 28271 -- add methods to nsILocalFileMac to launch applications and document. Also fix bogus include in nsNativeComponentLoader. r=davidm,dougt. a=jar 2000-02-23 23:09:02 +00:00
dveditz@netscape.com
79c9af9959 Bug 23941 speed up install on Mac, r=cathleen, a=jar;
Bug 12817 no Autoreg (in optimized builds) unless xpinstall detects flag indicating install has happened or build number changed, r=dp, a=jar;
Bug 23859 add wstring API to nsIRegistry for profile manager/i18n, r=gayatrib, a=jar;
2000-02-20 03:12:59 +00:00
dveditz@netscape.com
d1f95056e5 registry speed ups (part of 12817) 2000-02-16 07:45:20 +00:00
warren@netscape.com
608e1ec6d7 Fix for code generation problem in VC6 optimized builds. Discovered with MOZ_PROFILE=1 and MOZ_DEBUG undefined. The variable 'dll' seems to get wiped out by the assignment of 'res' (aliased together). r=scc,dp 2000-02-08 11:45:40 +00:00
dougt@netscape.com
d48ec37751 Landing nsIFile. 2000-01-24 21:28:28 +00:00
shaver@netscape.com
5ee5b20534 - 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
warren@netscape.com
bbb8425955 Fixed up dll loading for Windows. It was silently failing. 1999-10-24 22:01:09 +00:00
dp@netscape.com
dda77fe189 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
5a950026eb beautify... 1999-10-22 04:47:14 +00:00
dp@netscape.com
d4f924d2ab bug# 15046 Preventing deletion of dll when getfactory fails. r=shaver,kipp 1999-10-22 01:04:16 +00:00
dp@netscape.com
2df69519f6 Fixing warning. Moved declaration into if 0 block. 1999-10-19 05:49:04 +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
dp@netscape.com
1926debb15 bug# 5085 Eliminating some checks at autoreg time to improve startup
performance. r=sfraser
1999-10-15 07:12:08 +00:00
kipp@netscape.com
395505b0e0 Fixed up hook to track library loads for refcnt logging 1999-10-08 23:41:18 +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
dp@netscape.com
3dcacdfa19 Separating dll Shutdown from unload. Calling dll shutdown
unconditionally on NS_Shutdown.
1999-09-26 18:06:41 +00:00
dp@netscape.com
b173d0867f Enabling xpcom shutdown to call NSCanUnload() on every component. 1999-09-23 00:01:53 +00:00
shaver@netscape.com
a2528d3d65 add componentType to nsIModule::RegisterSelf 1999-09-22 03:18:27 +00:00
waterson@netscape.com
e5089c32df Fix backwards return values on nsIEnumerator::IsDone(). 1999-09-21 01:28:18 +00:00
warren@netscape.com
ce1bda12eb fixed circular references in nsNativeComponentLoader 1999-09-20 20:54:04 +00:00
dp@netscape.com
28e23361b0 Removing DEBUG_dp 1999-09-16 19:11:00 +00:00
shaver@netscape.com
70aec694a4 lose some DEBUG_shaver debugging noise 1999-09-15 14:45:29 +00:00
ramiro@netscape.com
0d22f72610 Fix for the loser linux tinderbox compiler. 1999-09-14 15:16:31 +00:00
ramiro@netscape.com
ed9a1e34dc Add support for demangling undefined symbols. 1999-09-14 13:40:22 +00:00
dp@netscape.com
abbc116fe6 Implemented dll enumeration and prepopulation. Improves startup performance. 1999-09-11 14:49:55 +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
toshok@hungry.com
2fdff0273f remove the dll from mDllStore if we're about to delete it. keeps us from crashing if we try to load a dll after we fail once. 1999-09-09 00:47:22 +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
dp@netscape.com
0173fc7c50 Dll data written to registry. Autoreg fixed to work with relative
pathnames in registry.
1999-09-01 06:25:20 +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