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

44 Коммитов

Автор SHA1 Сообщение Дата
dp%netscape.com a682729604 bug 100682 temporary way to get service without creating a new
one. This will get fixed the right way along with other api changes
for component and servicemanager r=sfraser/dougt, sr=mscott
2001-09-25 00:38:44 +00:00
dougt%netscape.com f72e52e830 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com
2001-09-06 21:13:11 +00:00
dp%netscape.com 786ae7cdf5 bug #14889 Lazy loading wallet dll r=morse,gagan sr=jband a=asa 2001-08-28 22:05:30 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu d8c954e551 Some compilers don't support default parameters on templates, so split CallGetService and use what would have been a better solution in the first place. sr=scc b=87735 2001-07-04 20:26:31 +00:00
dbaron%fas.harvard.edu 1758134ebc Add CallCreateInstance and CallGetService. b=87735 r=jaggernaut sr=scc 2001-07-04 18:55:14 +00:00
ccarlen%netscape.com d9dd3b5321 Fix for bug 64501 - allow embedding apps to specify app registry location. Moves appfilelocprovider into xpcom. r=dougt@netscape.com, sr=brendan@mozilla.org 2001-01-18 22:51:57 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
racham%netscape.com cddb62593d 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
shaver%mozilla.org 8c693ee0d9 add do_GetServiceFromCategory, r/a=brendan 2000-05-20 18:55:35 +00:00
scc%mozilla.org ebc8903c87 Bug #39824. Checking in patch from dp. This patch fixes exports on some |nsCOMPtr_helper| classes so we can link appropriately. r=scc. 2000-05-20 18:31:45 +00:00
rayw%netscape.com 3b33b094d3 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
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