Commit Graph
110 Commits
Author SHA1 Message Date
ssu@netscape.com 472c76027f Change the name of the current process directory to match that of the
directory service.  dougt's change r=ssu a=granrose
2000-01-25 20:46:02 +00:00
dougt@netscape.com d48ec37751 Landing nsIFile. 2000-01-24 21:28:28 +00:00
sford3@swbell.net cd21a7bc27 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi 2000-01-17 22:32:13 +00:00
dp@netscape.com b35f56d6aa On Shutdown let servicemanager be available until the xpcom shutdown
observers are notified.
2000-01-10 21:26:56 +00:00
briano@netscape.com ba52be8839 Backed out the Solaris fix, because Linux doesn't like it. It may be that -z allextract and -Wl,--whole-archive behave differently. 2000-01-06 03:06:22 +00:00
briano@netscape.com 6525be7a03 Fix for _optimized_ nightly Solaris 2.6 builds. 2000-01-06 02:06:56 +00:00
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
warren@netscape.com 15e2a64ee4 Fixed xpcom shutdown to disallow reconstruction of the global service manager. r=dp 2000-01-06 00:34:38 +00:00
warren@netscape.com 87a518db08 Made nsIProperties scriptable. Bug #21982 2000-01-05 09:29:25 +00:00
warren@netscape.com 20f759fa42 Removed nsPipe2.h -- obsolete. 2000-01-05 03:56:47 +00:00
dp@netscape.com 96b6e5861f Using ShutdownGlobalServiceManager() for servicemanager shutdown. r=putterman@netscape.com 1999-12-08 02:03:25 +00:00
beard@netscape.com 5c4cedd0d1 took out calls to NS_InitGarbageCollector() & NS_ShutdownGarbageCollector() which are now supplanted by internal NSPR versions. r=gordon, bug #15906 1999-12-08 00:13:13 +00:00
valeski@netscape.com 872f1f2676 r=mcafee. 20677 assistance. we now have a scriptable input stream for js 1999-12-04 20:31:38 +00:00
sfraser@netscape.com 86b7644a03 Fix linkage errors with nsLinebreakConverter.r=kin 1999-12-02 00:31:45 +00:00
dp@netscape.com 6fb4a9e682 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:36:32 +00:00
warren@netscape.com 3abca0bf7e Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
warren@netscape.com a03f1a7799 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tbogard@aol.net 59890552e1 Added do_GetInterface to the dlldeps so it is properly exported from the DLL. 1999-11-28 02:17:24 +00:00
fur@netscape.com a2ac7d5eae #8305 (Cache implementation)
Added dependencies to pick up nsStorageStream.cpp and nsBinaryStream.cpp
1999-11-16 21:14:52 +00:00
jdunn@netscape.com 7a2898a716 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
tbogard@aol.net b71da25363 Changed an NS_ASSERTION to be an NS_WARN_IF_FALSE. r=scc 1999-11-13 07:34:29 +00:00
dp@netscape.com a08df1e835 Enabling componentmanager shutdown() before a release to clear out
references to the component manager.
1999-11-11 19:38:13 +00:00
shaver@netscape.com 9e71e1bfd4 missed a #include 1999-11-10 02:11:08 +00:00
shaver@netscape.com 78abe42bc9 maybe fix build bustage 1999-11-10 02:10:39 +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
dp@netscape.com 3302863553 Enabling observing of XPCOM Shutdown r=jband r=putterman 1999-11-09 23:41:24 +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
dp@netscape.com 2366cd36cb Removing shutdown listener. Releasing gCaseConv on XPCOM Shutdown r=kipp 1999-10-30 06:45:45 +00:00
beard@netscape.com 779f80a8a9 added call to nsIThread::SetMainThread(), to ensure users of XPCOM get a main thread mapped. r=warren 1999-10-30 01:52:55 +00:00
warren@netscape.com a84e77de89 Adding pure.h pure_api.c to the build. bug#16695 1999-10-29 03:26:50 +00:00
dougt@netscape.com c8a0e3f705 ack! what was I thinking.
#ifdef'ing not including!!
1999-10-25 22:57:40 +00:00
dougt@netscape.com 5ea3ce0f90 adding nsIFile to nsXPComInit. Currently it is #ifdef'ed off.
bug 13320
1999-10-25 22:48:44 +00:00
jevering@netscape.com a1a9b2cab1 Enabling boehm leak detector, r=dp bug#15906 1999-10-21 21:59:15 +00:00
dp@netscape.com 70c6f92281 bug#14656 Circular release problem of component manager. Fixed by
adding shutdown() method that gets called before the last
release. Enabled only for dp & shaver until we resolve js coredump.
1999-10-21 21:34:39 +00:00
beard@netscape.com 1e80ee9123 added code to initialize/shutdown the leak detector. bug=15906, r=alecf 1999-10-16 00:06:37 +00:00
scc@netscape.com 2c5981f78d 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
jevering@netscape.com cc49d1967a Adding boehm collector linkages to the windows build.
(not part of the build yet)
1999-10-15 07:40:13 +00:00
alecf@netscape.com e4518b6580 add boehm leak detector support to xpcom on linux
(these flags not active in the build yet)
1999-10-14 23:26:41 +00:00
dougt@netscape.com 85b9ea85b8 changing the entrypoint to call another constructor. I need this since I have
removed an unneeded constructor.  related bug 13724. r=brendan@meer.net
1999-10-12 22:32:10 +00:00
warren@netscape.com 3c51768796 Made nsTraceRefcnt output write to streams. 1999-10-12 09:30:12 +00:00
warren@netscape.com 9714660452 Fixed bloat snapshotting capabilities. r=kipp 1999-10-12 00:29:54 +00:00
kipp@netscape.com b8e8ae6212 Always call dump-statistics and reset-statistics so that MOZ_DUMP_LEAKS isn't required 1999-10-08 23:40:52 +00:00
kipp@netscape.com baba7a3948 Unbreak people who were actually using MOZ_TRACE_XPCOM_REFCNT 1999-10-08 22:30:19 +00:00
kipp@netscape.com b6908b8675 Fixed windows build bustage 1999-10-08 21:19:42 +00:00
kipp@netscape.com ea36a75c90 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren@netscape.com 155e789cd3 Added 'Bloaty' refcounting and memory bloat statistics code 1999-10-07 21:50:20 +00:00
kipp@netscape.com 18cdc57338 Implemented suggested change so that leak info is printed if an env variable is used 1999-10-05 23:54:08 +00:00
kipp@netscape.com da29204aa9 r=dp; cleanup xpcom library too during shutdown to reduce global leaks 1999-10-05 00:07:39 +00:00
valeski@netscape.com 9bb7270765 15300 r=warren. Changed NS_NewThread api to default to PR_UNJOINABLE_THREAD, also added new NS_NewThread() function so you don't have to combine the runnable w/ thread creation. added threads to xpcom init so you can create them w/ the com mgr. 1999-10-01 23:30:06 +00:00
danm@netscape.com c564504514 adding nsCWeakReference. r:scc a:chofmann 1999-10-01 02:43:27 +00:00