dougt%netscape.com
2ef6434ac5
fixed regression: 28775 a=leaf, r=ssu.
...
git-svn-id: svn://10.0.0.236/trunk@61436 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 19:46:05 +00:00
dougt%netscape.com
b651aca771
missed this file.
...
git-svn-id: svn://10.0.0.236/trunk@61390 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-21 21:52:18 +00:00
jband%netscape.com
1fc0209a30
help with bug 8700 (at least in profiling it) by paying the cost of loading the xpt files early on before JSContexts are created
...
git-svn-id: svn://10.0.0.236/trunk@60820 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 06:45:30 +00:00
scc%netscape.com
4da08f6271
#include "nsCategoryManager.h", and hook it up as a service. That's it, I think. bug #26011 ; r={waterson,sspitzer}
...
git-svn-id: svn://10.0.0.236/trunk@59923 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 02:02:24 +00:00
ssu%netscape.com
33256266ce
Change the name of the current process directory to match that of the
...
directory service. dougt's change r=ssu a=granrose
git-svn-id: svn://10.0.0.236/trunk@58621 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 20:46:02 +00:00
dougt%netscape.com
714da09a59
Landing nsIFile.
...
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
dp%netscape.com
fe73241378
On Shutdown let servicemanager be available until the xpcom shutdown
...
observers are notified.
git-svn-id: svn://10.0.0.236/trunk@57292 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 21:26:56 +00:00
edburns%acm.org
1af32fc433
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.
git-svn-id: svn://10.0.0.236/trunk@56916 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:05:13 +00:00
warren%netscape.com
4627ac062f
Fixed xpcom shutdown to disallow reconstruction of the global service manager. r=dp
...
git-svn-id: svn://10.0.0.236/trunk@56889 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 00:34:38 +00:00
warren%netscape.com
070a48ce2a
Made nsIProperties scriptable. Bug #21982
...
git-svn-id: svn://10.0.0.236/trunk@56832 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 09:29:25 +00:00
dp%netscape.com
c1ad24f646
Using ShutdownGlobalServiceManager() for servicemanager shutdown. r=putterman@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@55680 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:03:25 +00:00
beard%netscape.com
07d6c2844b
took out calls to NS_InitGarbageCollector() & NS_ShutdownGarbageCollector() which are now supplanted by internal NSPR versions. r=gordon, bug #15906
...
git-svn-id: svn://10.0.0.236/trunk@55661 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 00:13:13 +00:00
valeski%netscape.com
0d8a2640a3
r=mcafee. 20677 assistance. we now have a scriptable input stream for js
...
git-svn-id: svn://10.0.0.236/trunk@55311 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 20:31:38 +00:00
warren%netscape.com
51881fbcea
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
...
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
tbogard%aol.net
a79ed82edc
Changed an NS_ASSERTION to be an NS_WARN_IF_FALSE. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@53418 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 07:34:29 +00:00
dp%netscape.com
f388eedbe1
Enabling componentmanager shutdown() before a release to clear out
...
references to the component manager.
git-svn-id: svn://10.0.0.236/trunk@53221 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 19:38:13 +00:00
shaver%netscape.com
6896473ece
- 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
git-svn-id: svn://10.0.0.236/trunk@53047 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 00:28:34 +00:00
dp%netscape.com
9c89d26c52
Enabling observing of XPCOM Shutdown r=jband r=putterman
...
git-svn-id: svn://10.0.0.236/trunk@53034 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 23:41:24 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
dp%netscape.com
0b96f92229
Removing shutdown listener. Releasing gCaseConv on XPCOM Shutdown r=kipp
...
git-svn-id: svn://10.0.0.236/trunk@52320 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 06:45:45 +00:00
beard%netscape.com
7cf4142599
added call to nsIThread::SetMainThread(), to ensure users of XPCOM get a main thread mapped. r=warren
...
git-svn-id: svn://10.0.0.236/trunk@52305 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 01:52:55 +00:00
dougt%netscape.com
11d905c2a9
ack! what was I thinking.
...
#ifdef'ing not including!!
git-svn-id: svn://10.0.0.236/trunk@51770 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 22:57:40 +00:00
dougt%netscape.com
bb554f06d2
adding nsIFile to nsXPComInit. Currently it is #ifdef'ed off.
...
bug 13320
git-svn-id: svn://10.0.0.236/trunk@51766 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 22:48:44 +00:00
dp%netscape.com
32ccfffb02
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.
git-svn-id: svn://10.0.0.236/trunk@51416 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 21:34:39 +00:00
beard%netscape.com
7bd68dd578
added code to initialize/shutdown the leak detector. bug=15906, r=alecf
...
git-svn-id: svn://10.0.0.236/trunk@50903 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-16 00:06:37 +00:00
scc%netscape.com
38a4215c26
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|.
...
git-svn-id: svn://10.0.0.236/trunk@50853 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 21:14:43 +00:00
warren%netscape.com
4ff5cdca2a
Made nsTraceRefcnt output write to streams.
...
git-svn-id: svn://10.0.0.236/trunk@50448 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 09:30:12 +00:00
warren%netscape.com
6d83d361f0
Fixed bloat snapshotting capabilities. r=kipp
...
git-svn-id: svn://10.0.0.236/trunk@50394 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:29:54 +00:00
kipp%netscape.com
6a697df2cd
Always call dump-statistics and reset-statistics so that MOZ_DUMP_LEAKS isn't required
...
git-svn-id: svn://10.0.0.236/trunk@50276 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:40:52 +00:00
kipp%netscape.com
e18af2d0ee
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
...
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
warren%netscape.com
fc64e1c69b
Added 'Bloaty' refcounting and memory bloat statistics code
...
git-svn-id: svn://10.0.0.236/trunk@50152 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:50:20 +00:00
kipp%netscape.com
71a5f24ba3
Implemented suggested change so that leak info is printed if an env variable is used
...
git-svn-id: svn://10.0.0.236/trunk@49896 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 23:54:08 +00:00
kipp%netscape.com
eaaefb2093
r=dp; cleanup xpcom library too during shutdown to reduce global leaks
...
git-svn-id: svn://10.0.0.236/trunk@49756 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 00:07:39 +00:00
valeski%netscape.com
780e7132fd
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.
...
git-svn-id: svn://10.0.0.236/trunk@49617 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 23:30:06 +00:00
beard%netscape.com
892af4aeca
initialization/shutdown code for GC leak detector. conditionalized on GC_LEAK_DETECTOR. r=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@49417 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 07:41:37 +00:00
warren%netscape.com
f074880c8c
Took out unused page manager.
...
git-svn-id: svn://10.0.0.236/trunk@49088 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-26 07:26:21 +00:00
kipp%netscape.com
5297c0603f
Tidy up
...
git-svn-id: svn://10.0.0.236/trunk@49067 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-25 20:11:33 +00:00
dp%netscape.com
5bdd1188d8
Releasing servMgr if one is passed in to match NS_InitXPCOM()
...
git-svn-id: svn://10.0.0.236/trunk@48968 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 06:26:17 +00:00
dp%netscape.com
1b795f0d0d
Assertion to ensure proper xpcom shutdown.
...
git-svn-id: svn://10.0.0.236/trunk@48953 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 01:40:18 +00:00
dp%netscape.com
5441bfb1ff
Assertions to ensure proper shutdown of xpcom.
...
git-svn-id: svn://10.0.0.236/trunk@48879 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 00:00:08 +00:00
warren%netscape.com
b516d679cb
freed global service manager in NS_ShutdownXPCOM
...
git-svn-id: svn://10.0.0.236/trunk@48369 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:53:49 +00:00
brendan%mozilla.org
e3cfb6c40d
*** empty log message ***
...
git-svn-id: svn://10.0.0.236/trunk@48067 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:21:29 +00:00
dp%netscape.com
103414ae51
Ability for XPCOM to use non-default component registry and component directory
...
git-svn-id: svn://10.0.0.236/trunk@47809 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 19:28:57 +00:00
warren%netscape.com
de60d2685c
Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked.
...
git-svn-id: svn://10.0.0.236/trunk@46637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:05:05 +00:00
jband%netscape.com
00afc449ea
adding nsISupportsVoid to the nsISupportsPrimitives family. Fixing some suboptimal use of *retval
...
git-svn-id: svn://10.0.0.236/trunk@43770 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 03:14:46 +00:00
jband%netscape.com
21f09bba00
changes to nsISupportsPrimitives stuff... Add classes for float and double. Remove class for PRUnichar 'cuz it is too problematic as a type. Fix some capitalization. Add toString methods for more transparent use from JS
...
git-svn-id: svn://10.0.0.236/trunk@42433 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 09:42:12 +00:00
jband%netscape.com
e287666535
adding nsISupports wrappers for the primitive types including strings and nsIDs - here we register them for creation
...
git-svn-id: svn://10.0.0.236/trunk@42127 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 07:08:58 +00:00
dp%netscape.com
d387db0287
Removed ASSERTION. Added comments for shutdown.
...
git-svn-id: svn://10.0.0.236/trunk@41643 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 00:07:31 +00:00
warren%netscape.com
4547342909
Added NS_ShutdownXPCOM for memory cleanup.
...
git-svn-id: svn://10.0.0.236/trunk@41450 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 07:57:39 +00:00
dp%netscape.com
8847c613a5
Landing XPCOM_M8_PERF_BRANCH.
...
- Enabling prepopulation of registry CID entries.
git-svn-id: svn://10.0.0.236/trunk@38653 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 07:48:12 +00:00