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

42 Коммитов

Автор SHA1 Сообщение Дата
scc%netscape.com 72d24207a1 replace |nsVector| with |nsVoidArray| as per bug #11666. r=dp 2000-01-18 23:03:29 +00:00
edburns%acm.org 507ee16e37 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 bd6ee38333 Fixed xpcom shutdown to disallow reconstruction of the global service manager. r=dp 2000-01-06 00:34:38 +00:00
blizzard%redhat.com 8ec176345e Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard 1999-12-30 22:03:58 +00:00
dp%netscape.com 6e5b1c4195 Adding assertion to check for improper shutdown of servicemanager. r=chofmann@netscape.com 1999-12-08 02:00:30 +00:00
dp%netscape.com f897390478 NS_RELEASE if there isn't a global service manager 1999-11-29 21:02:51 +00:00
scc%netscape.com fbff3b08f2 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
scc%netscape.com 49bd71ade0 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
dmose%mozilla.org 8535dda53e 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 3779ee5d7a Deny GetService() requests which cause Creation of new objects on
shutdown. r=jband, r=ScottPutterman
1999-11-03 05:38:45 +00:00
kipp%netscape.com 66a34ae73d Fixed bug in ReleaseServcie that was recreating the service manager during shutdown 1999-09-30 21:40:27 +00:00
warren%netscape.com 5ba5245976 fixed ReleaseService and UnregisterService to work during shutdown 1999-09-20 20:54:09 +00:00
dp%netscape.com 78ee9ec7ec Ability for XPCOM to use non-default component registry and component directory 1999-09-16 19:28:57 +00:00
warren%netscape.com 4deda060c4 Don't hold the service manager lock around CreateInstance -- deadlock potential. 1999-09-14 04:50:48 +00:00
waterson%netscape.com d1b4341738 Create a monitor as a member variable instead of using cached monitor. 1999-09-02 04:12:08 +00:00
scc%netscape.com 0454213f91 got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in 1999-08-23 10:14:16 +00:00
dp%netscape.com 889759b581 Calling shutdown listeners on XPCOM Shutdown. Fix bug #11790 1999-08-14 21:32:29 +00:00
shaver%netscape.com d4e1855665 defend against NULL GlobalServiceManager 1999-08-11 04:08:44 +00:00
dp%netscape.com 7afa7173a1 Fixed typo. 1999-08-05 12:58:04 +00:00
dp%netscape.com 2a61eca94a Adding consistency checks on ReleaseService. 1999-08-04 09:36:12 +00:00
dp%netscape.com 2bd01df1c4 - Removed calling FreeLibraries()
- ReleaseService() wont delete anymore
- Made ReleaseService() and UnregisterService() simpler
- Shutdown releated Assertion removal.
1999-08-03 00:53:55 +00:00
warren%netscape.com 1215da1e30 Fixed leak in nsObserverList. Used nsObjectHashtable in service mgr implementation. 1999-07-30 07:58:55 +00:00
bruce%cybersight.com b0efa83056 Remove local shadowing of variable. 1999-05-28 05:29:26 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren%netscape.com dabc3839ad Added size argument to Free and Realloc (for implementations that can't determine the memory block's size. Needed for nsPageMgr. Hooked allocator up to xpcom initialization. 1999-04-30 22:54:28 +00:00
dp%netscape.com d925ea92a9 Returning servicemanager from NS_InitXPCOM() 1999-04-05 04:32:08 +00:00
warren%netscape.com 9cfa10a728 Added progID versions of methods to nsServiceManager (the static interface). 1999-04-02 05:17:42 +00:00
dp%netscape.com b8dfe78cdd More threadsafeness. 1999-04-01 06:45:50 +00:00
warren%netscape.com 83dd072e3f Added ShutdownGlobalServiceManager 1999-03-27 02:22:33 +00:00
ftang%netscape.com edc37726f3 take out wrong assertion, we should do QueryInterface to both entry->mService and service with the sand IID and them compare them . approved by warren 1999-03-26 00:49:06 +00:00
warren%netscape.com 597c3c5ec4 Added ProgID versions of RegisterService and UnregisterService. 1999-03-24 00:40:29 +00:00
dp%netscape.com d68b82058c InitXPCOM() : For a defined initialization sequence of xpcom global objects and components. 1999-03-23 23:28:32 +00:00
warren%netscape.com b537db91f8 Added progID version of GetService. Fixed up nsService to not be a template. 1999-03-10 22:53:17 +00:00
warren%netscape.com c50687b845 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
warren%netscape.com 449f4cb1fe Added nsIAllocator and implementation. Made service manager services sticky'. 1999-01-27 02:02:22 +00:00
sudu%netscape.com 6624efe2b9 OJI MozClassic to raptor merge 1999-01-25 08:05:00 +00:00
rpotts%netscape.com 681969df3a bug #2227 - NSPR is not being implicitly initialized when PR_CEnterMonitor() is called. This hack should be removed when NSPR is fixed. 1999-01-08 00:38:56 +00:00
warren%netscape.com b22a4e72fd Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
warren%netscape.com a0384c1c20 Changed NSServiceManager to nsServiceManager. 1998-09-01 00:17:47 +00:00
warren%netscape.com b6e4a77024 Added class ID to OnShutdown. 1998-08-28 21:47:44 +00:00
warren%netscape.com a9001af700 Added service manager mechanism. 1998-08-28 21:28:35 +00:00
warren%netscape.com 679e7dedb1 Added service manager mechanism. 1998-08-28 21:25:34 +00:00