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

48 Коммитов

Автор SHA1 Сообщение Дата
racham%netscape.com 0c4d1d1de5 Fixing bug 46320. Reducing the number of global files by moving profile registry to product sub-directory under HOME. r=dougt 2000-08-16 22:40:27 +00:00
warren%netscape.com 4af572e4c1 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
sgehani%netscape.com 5372f9f713 Turn off sole line output in opt builds by wrapping in DEBUG macro.
r = ssu
a = shaver
2000-07-25 23:54:12 +00:00
warren%netscape.com 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
sfraser%netscape.com e8d32848f0 Change the XPCOM autoreg observer to provide more useful strings. 2000-05-17 01:53:50 +00:00
rayw%netscape.com 9ad7507320 Added an observer to autoregistration, which allows a callback during that
part of startup to advance a progress display, per bug 35866.

I did not get the code actually reviewed, but I discussed it, and tested it
for breakage.  Other developers must register for the observer before it can
be ascertained whether it performs as advertized.
2000-05-15 19:28:12 +00:00
rayw%netscape.com 9f3eaba0ea Per bug 3690:
Added new functions to the registry for reading / writing byte arrays
of binary content and escaping registry keys that contain binary
content.  Modified code which reads/writes location of dll or javascript
for components to use new ReadBytesUTF8/WriteBytesUTF8 and which uses
or reads the keys to use EscapeKey and UnescapeKey.

r=dveditz
2000-05-12 01:24:36 +00:00
dp%netscape.com 768aea0f5b Passing registry location correctly to nsIModule::UnregisterSelf() 2000-05-05 06:34:39 +00:00
mkaply%us.ibm.com 11949af38c # 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 10d2c3b870 Implemented component unregistration. 2000-04-18 05:25:05 +00:00
rickg%netscape.com fd5f2d8ce2 updated includes to access nsCRT 2000-03-31 09:04:29 +00:00
dp%netscape.com 1d85a84ca7 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 33ce2d4e90 changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
sfraser%netscape.com ef42bb4bbe 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 74d0f231ed 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 dc71859afb registry speed ups (part of 12817) 2000-02-16 07:45:20 +00:00
warren%netscape.com 655c7043b3 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 fd69a2f423 Landing nsIFile. 2000-01-24 21:28:28 +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
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 465b188116 Fixing warning. Moved declaration into if 0 block. 1999-10-19 05:49:04 +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
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
kipp%netscape.com eac156bd69 Fixed up hook to track library loads for refcnt logging 1999-10-08 23:41:18 +00:00
sfraser%netscape.com 04b0e04edb Fixing use of obsolete types for shaver. 1999-09-29 02:54:18 +00:00
shaver%netscape.com f53bc807b4 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 1f335f710b Separating dll Shutdown from unload. Calling dll shutdown
unconditionally on NS_Shutdown.
1999-09-26 18:06:41 +00:00
dp%netscape.com 7ad2cf949e Enabling xpcom shutdown to call NSCanUnload() on every component. 1999-09-23 00:01:53 +00:00
shaver%netscape.com 1fe19c92b7 add componentType to nsIModule::RegisterSelf 1999-09-22 03:18:27 +00:00
waterson%netscape.com 88220ac198 Fix backwards return values on nsIEnumerator::IsDone(). 1999-09-21 01:28:18 +00:00
warren%netscape.com 398e934fcf fixed circular references in nsNativeComponentLoader 1999-09-20 20:54:04 +00:00
dp%netscape.com 340ea43d16 Removing DEBUG_dp 1999-09-16 19:11:00 +00:00
shaver%netscape.com 86577683ba lose some DEBUG_shaver debugging noise 1999-09-15 14:45:29 +00:00
ramiro%netscape.com 2a3e49d514 Fix for the loser linux tinderbox compiler. 1999-09-14 15:16:31 +00:00
ramiro%netscape.com d8c19f2f5d Add support for demangling undefined symbols. 1999-09-14 13:40:22 +00:00
dp%netscape.com fa34aae45d Implemented dll enumeration and prepopulation. Improves startup performance. 1999-09-11 14:49:55 +00:00
shaver%netscape.com 44334828d0 fix memory leaks (eep) and add some debugging noise for myself 1999-09-09 00:48:30 +00:00
toshok%hungry.com 1f17564178 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 86f477d409 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 a90b33489c 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 53277f4711 convert to CreateInstanceFromProgID 1999-09-05 06:27:42 +00:00
shaver%netscape.com 522a04906c properly initialize loaders on creation, and remove code that's now in nsFileSpec 1999-09-03 23:51:31 +00:00
shaver%netscape.com 4bd5ce8e10 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 7876685f8e 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 c0708ceb89 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