Commit Graph

32 Commits

Author SHA1 Message Date
dougt%netscape.com
0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
dp%netscape.com
d6283aff87 Adding comments to explain shutdown further. 2000-01-10 21:26:00 +00:00
edburns%acm.org
13be6d7ebf 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
warren%netscape.com
359bfe3062 Fixed xpcom shutdown to disallow reconstruction of the global service manager. r=dp 2000-01-06 00:34:38 +00:00
dp%netscape.com
edcdeb94a5 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:36:32 +00:00
sspitzer%netscape.com
449b64a2e7 fix 974 warnings by declaring a virtual destructor 1999-11-27 02:17:23 +00:00
scc%netscape.com
829514e2e2 Added |do_GetService| of a specific service manager as opposed to the global one. Fixed the appropriate macro accordingly. Please note: travis will be supporting this change until I'm back online in Michigan. r=dp. 1999-11-23 05:55:33 +00:00
dp%netscape.com
336bf28bce Services used with COMPtrs. NS_WITH_SERVICE definition uses COMPtrs. r=scc 1999-11-11 00:31:45 +00:00
scc%netscape.com
e46756059d Added |do_CreateInstance()|, |do_GetService()| both by CID and ProgID. See bugs #17364, #17448. r={travis, dp} 1999-11-10 00:14:54 +00:00
dp%netscape.com
43788c85b9 Enabling observing of XPCOM Shutdown r=jband r=putterman 1999-11-09 23:41:24 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +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
warren%netscape.com
334c7b3f3e Added destructor/cleanup code. 1999-07-28 08:01:03 +00:00
bruce%cybersight.com
26e044b8e0 Replace NULL with nsnull in 8 initializations as NULL is void* on Solaris Workshop 4.2 compilers and it dies on using NULL here. 1999-06-15 13:51:50 +00:00
waterson%netscape.com
402b1dcdaa Add nsService constructor that allows you to get a service by ProgID using the statically linked nsServiceManager API. 1999-06-07 02:24:29 +00:00
waterson%netscape.com
fc72cdd605 Remove NS_ASSERTION calls from nsService class. 1999-06-05 02:44:40 +00:00
alecf%netscape.com
bc86f401e7 back out my warning fix (proper fix on the way) 1999-05-04 22:33:10 +00:00
alecf%netscape.com
afcaf48d54 fix some warnings about initializing variables in constructors 1999-05-04 21:09:03 +00:00
warren%netscape.com
0efe747731 Added better comment about NS_WITH_SERVICE. 1999-04-21 21:28:16 +00:00
warren%netscape.com
12179cbf41 Added progID versions of methods to nsServiceManager (the static interface). 1999-04-02 05:17:42 +00:00
sspitzer%netscape.com
02f6ac9eb9 remove a warning
too many warnings and people will ignore them
1999-03-30 15:11:30 +00:00
warren%netscape.com
895cbeb457 Added ShutdownGlobalServiceManager 1999-03-27 02:22:33 +00:00
warren%netscape.com
fc4196f07a Added ProgID versions of RegisterService and UnregisterService. 1999-03-24 00:40:29 +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
f169d7579e Added NS_WITH_SERVICE1 macro. 1999-03-19 05:48:49 +00:00
warren%netscape.com
15c5137cf6 Added progID version of GetService. Fixed up nsService to not be a template. 1999-03-10 22:53:17 +00:00
warren%netscape.com
44568143d6 Backed out the nsService template stuff. 1999-03-09 11:49:41 +00:00
warren%netscape.com
088146892f Commented out template because linux isn't happy with it. 1999-03-09 11:12:23 +00:00
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
alecf%netscape.com
6756268744 add IID() method 1999-02-27 03:16:56 +00:00
sudu%netscape.com
c94385ee94 OJI MozClassic to raptor merge 1999-01-25 08:05:00 +00:00
scullin%netscape.com
25177cc6f6 Migrating public header files to public 1998-10-19 17:48:55 +00:00