Commit Graph
24 Commits
Author SHA1 Message Date
edburns@acm.org 48a65e11e8 I know it's unorthodox to do a top level checkin like this, but I've got so many files
in so many different directories, that I think it's the best way.
I've pulled and clobber_all'd my tree and got

r=dp

on this checkin.

Here are the touched files:

M mozilla/embedding/browser/activex/src/control/MozillaBrowser.cpp
M mozilla/embedding/browser/activex/src/control/MozillaBrowser.h
M mozilla/js/src/xpconnect/shell/xpcshell.cpp
M mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp
M mozilla/xpcom/build/nsXPComInit.cpp
M mozilla/xpcom/components/nsComponentManager.cpp
M mozilla/xpcom/components/nsIServiceManager.h
M mozilla/xpcom/components/nsServiceManager.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.h
M mozilla/xpcom/tests/TestBuffers.cpp
M mozilla/xpcom/tests/TestPipes.cpp
M mozilla/xpcom/tests/TestShutdown.cpp
M mozilla/xpcom/tests/windows/TestHelloXPLoop.cpp
M mozilla/xpcom/tools/registry/regExport.cpp
M mozilla/xpcom/tools/registry/regxpcom.cpp
M mozilla/xpinstall/stub/xpistub.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.h
M mozilla/webshell/tests/viewer/nsMacMain.cpp
M mozilla/webshell/tests/viewer/nsPhMain.cpp
M mozilla/webshell/tests/viewer/nsWinMain.cpp
M mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp
M mozilla/xpfe/appshell/src/nsFileLocations.cpp
M mozilla/xpfe/bootstrap/nsAppRunner.cpp

The heart of this checkin is a change in the signature and symantics
of NS_InitXPCOM.

The new signature is

extern NS_COM nsresult
NS_InitXPCOM(nsIServiceManager* *result, nsFileSpec* binDirectory);

I filed a bug for this problem:

b=23157

The original manifestation of this bug was in mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp It used the current process directory to find resources, which is not correct when the current process is not mozilla.exe.

I have added a new type to nsSpecialSystemDirectory, Moz_BinDirectory, and made nsResProtocolHandler use that value.
2000-01-06 01:05:13 +00:00
dougt@netscape.com 1e724f7863 Adding explict includes. 2000-01-03 23:50:19 +00:00
dp@netscape.com 81e6053ba8 Using COMPtr 1999-11-20 07:16:42 +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
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
bienvenu@netscape.com 815d2de8e3 more build bustage with reg stuff 1999-09-29 04:06:15 +00:00
shaver@netscape.com 0ce5ac09a3 nsIRegistry scriptability update, r=dveditz,dp,alecf a=leaf,chofmann 1999-09-29 02:36:54 +00:00
waterson@netscape.com e5089c32df Fix backwards return values on nsIEnumerator::IsDone(). 1999-09-21 01:28:18 +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 77c3544d9c convert to CreateInstanceFromProgID 1999-09-05 06:27:42 +00:00
sspitzer@netscape.com 39328a2dba fix warning 1999-07-01 08:48:06 +00:00
dp@netscape.com 1c147af422 Removing unused NS_RegistryGetFactory() prototype. 1999-06-12 15:36:22 +00:00
dp@netscape.com 229e1c8529 Using new Component Registry 1999-06-09 19:18:24 +00:00
dp@netscape.com 6dc8a899c6 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
dp@netscape.com dd4c9a0d6f Using PROGID for registry instance creation. 1999-04-12 12:34:32 +00:00
dp@netscape.com 11b772c925 Using Raw interface to accurately get key names that have special characters like / =
Printing int32 values
changed key separator in print to be - instead of /
1999-04-05 06:05:17 +00:00
dp@netscape.com e2dde68497 Using the nsIRegistry from the ComponentManager. 1999-04-05 04:33:49 +00:00
warren@netscape.com 81e78e1234 Fixed NS_RegistryGetFactory breakage. 1999-03-24 00:38:27 +00:00
law@netscape.com 827cf87fa8 Fix recursion problem 1999-03-01 19:06:27 +00:00
law@netscape.com 07da3fd7e0 Fixes for Mac 1999-02-25 19:24:18 +00:00
law@netscape.com c6b8a95626 moz->ns 1999-02-10 23:27:09 +00:00
law@netscape.com 663fafbaa9 Cleaned up i/f, XPCOM-wise 1999-02-10 19:47:56 +00:00
law@netscape.com 2917dff373 Enhanced test program to display values 1999-02-02 07:41:16 +00:00
law@netscape.com e49fce82d9 new registry tools 1999-01-28 03:33:49 +00:00