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

214 Коммитов

Автор SHA1 Сообщение Дата
jband%netscape.com cf9679bca5 help with bug 8700 (at least in profiling it) by paying the cost of loading the xpt files early on before JSContexts are created 2000-02-15 06:45:30 +00:00
scc%netscape.com 0f5cfbcaae #include "nsCategoryManager.h", and hook it up as a service. That's it, I think. bug #26011; r={waterson,sspitzer} 2000-02-06 02:02:24 +00:00
putterman%netscape.com 8ce14f8fc1 Fix for 8405. Japanese shows up in thread pane sender column. r=nhotta, waterson. 2000-02-02 01:46:24 +00:00
dougt%netscape.com ac2d28290e Fixing dll exports for NS_NewLocalFile()
r=dveditz
2000-01-28 23:35:55 +00:00
ssu%netscape.com f933201545 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 fd69a2f423 Landing nsIFile. 2000-01-24 21:28:28 +00:00
sford3%swbell.net 948579bb84 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi 2000-01-17 22:32:13 +00:00
dp%netscape.com 0a2e3a9e8d On Shutdown let servicemanager be available until the xpcom shutdown
observers are notified.
2000-01-10 21:26:56 +00:00
briano%netscape.com 02ceca697e 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 478dea0c38 Fix for _optimized_ nightly Solaris 2.6 builds. 2000-01-06 02:06:56 +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
warren%netscape.com 26b7d345a1 Made nsIProperties scriptable. Bug #21982 2000-01-05 09:29:25 +00:00
warren%netscape.com 27e979dd35 Removed nsPipe2.h -- obsolete. 2000-01-05 03:56:47 +00:00
dp%netscape.com f19ca0df41 Using ShutdownGlobalServiceManager() for servicemanager shutdown. r=putterman@netscape.com 1999-12-08 02:03:25 +00:00
beard%netscape.com ab261ab3cb 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 378377d4bc r=mcafee. 20677 assistance. we now have a scriptable input stream for js 1999-12-04 20:31:38 +00:00
sfraser%netscape.com 86dd7a5eab Fix linkage errors with nsLinebreakConverter.r=kin 1999-12-02 00:31:45 +00:00
dp%netscape.com 187770cd22 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 a265a32348 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 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tbogard%aol.net 1c152cf44e 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 f48a8cbf44 #8305 (Cache implementation)
Added dependencies to pick up nsStorageStream.cpp and nsBinaryStream.cpp
1999-11-16 21:14:52 +00:00
jdunn%netscape.com d70d78c6bf 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 c9854e66c4 Changed an NS_ASSERTION to be an NS_WARN_IF_FALSE. r=scc 1999-11-13 07:34:29 +00:00
dp%netscape.com 8f2698a1e9 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 5acff9277c missed a #include 1999-11-10 02:11:08 +00:00
shaver%netscape.com 6b75c445f7 maybe fix build bustage 1999-11-10 02:10:39 +00:00
shaver%netscape.com 61511e23f5 - 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 bd53051d38 Enabling observing of XPCOM Shutdown r=jband r=putterman 1999-11-09 23:41:24 +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 36b9b91825 Removing shutdown listener. Releasing gCaseConv on XPCOM Shutdown r=kipp 1999-10-30 06:45:45 +00:00
beard%netscape.com 296d655c74 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 53fec9faa8 Adding pure.h pure_api.c to the build. bug#16695 1999-10-29 03:26:50 +00:00
dougt%netscape.com 61be2d8efc ack! what was I thinking.
#ifdef'ing not including!!
1999-10-25 22:57:40 +00:00
dougt%netscape.com 4502bc79ac adding nsIFile to nsXPComInit. Currently it is #ifdef'ed off.
bug 13320
1999-10-25 22:48:44 +00:00
jevering%netscape.com 5afee99624 Enabling boehm leak detector, r=dp bug#15906 1999-10-21 21:59:15 +00:00
dp%netscape.com 7e6d27b0c2 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 bb43aed314 added code to initialize/shutdown the leak detector. bug=15906, r=alecf 1999-10-16 00:06:37 +00:00
scc%netscape.com 1b9183448d 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 4c48af9f9e 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 404fdd4ba5 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 f8bd1df34a 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 9d3362a93a Made nsTraceRefcnt output write to streams. 1999-10-12 09:30:12 +00:00
warren%netscape.com 4fb920fb00 Fixed bloat snapshotting capabilities. r=kipp 1999-10-12 00:29:54 +00:00
kipp%netscape.com a604b9c741 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 249c89f2c3 Unbreak people who were actually using MOZ_TRACE_XPCOM_REFCNT 1999-10-08 22:30:19 +00:00
kipp%netscape.com a834516be2 Fixed windows build bustage 1999-10-08 21:19:42 +00:00
kipp%netscape.com b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com 7023bc55f6 Added 'Bloaty' refcounting and memory bloat statistics code 1999-10-07 21:50:20 +00:00
kipp%netscape.com a3b12adb51 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 36cc073124 r=dp; cleanup xpcom library too during shutdown to reduce global leaks 1999-10-05 00:07:39 +00:00
valeski%netscape.com a05208badc 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 88021df2e7 adding nsCWeakReference. r:scc a:chofmann 1999-10-01 02:43:27 +00:00
beard%netscape.com 387ef8fa15 initialization/shutdown code for GC leak detector. conditionalized on GC_LEAK_DETECTOR. r=sfraser 1999-09-30 07:41:37 +00:00
warren%netscape.com 9c1b7ede80 Took out unused page manager. 1999-09-26 07:26:21 +00:00
kipp%netscape.com f5128d40c0 Tidy up 1999-09-25 20:11:33 +00:00
dp%netscape.com 8cee8d6b8e Releasing servMgr if one is passed in to match NS_InitXPCOM() 1999-09-24 06:26:17 +00:00
dp%netscape.com 30c6dcea98 Assertion to ensure proper xpcom shutdown. 1999-09-24 01:40:18 +00:00
dp%netscape.com c537399e79 Assertions to ensure proper shutdown of xpcom. 1999-09-23 00:00:08 +00:00
warren%netscape.com c06b47f091 freed global service manager in NS_ShutdownXPCOM 1999-09-20 20:53:49 +00:00
briano%netscape.com 12f9f9743e General cleanup. 1999-09-18 02:12:56 +00:00
brendan%mozilla.org 2bb8bfa744 *** empty log message *** 1999-09-17 23:21:29 +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 48cf4685a9 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
ftang%netscape.com b7426bd0c8 add nsTextFormater to dlldeps.cpp 1999-09-15 21:23:31 +00:00
ramiro%netscape.com 6524b7c0e4 Link with -liberty when MOZ_DEMANGLE_SYMBOLS is set. 1999-09-14 13:33:05 +00:00
warren%netscape.com e6619b2ad6 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. 1999-09-09 22:05:05 +00:00
cyeh%netscape.com cc2825cbe0 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
waterson%netscape.com 6eb39f5545 Add NS_NewSizeOfHandler() to dlldeps. 1999-08-31 18:59:02 +00:00
ramiro%netscape.com 16bbd09726 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
jband%netscape.com ebb79eaa0a adding nsISupportsVoid to the nsISupportsPrimitives family. Fixing some suboptimal use of *retval 1999-08-20 03:14:46 +00:00
ramiro%netscape.com d8761c4de1 Make it look prettier. 1999-08-17 16:24:46 +00:00
danm%netscape.com 4b3daedbe5 fix WeakReference exporting for Windows. a:chofmann r:scc. 1999-08-11 23:48:08 +00:00
warren%netscape.com e50aa72a0f Added new pipe implementation. 1999-08-10 19:25:27 +00:00
dveditz%netscape.com 0bb7417a68 change libreg name to match Unix 1999-08-07 03:16:42 +00:00
jband%netscape.com 5a54ef9f38 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 1999-08-06 09:42:12 +00:00
jband%netscape.com 5236d2999c adding nsISupports wrappers for the primitive types including strings and nsIDs - here we register them for creation 1999-08-04 07:08:58 +00:00
jband%netscape.com e7394effc7 make sure that NS_NewHashtableEnumerator gets exported - yes I'm guilty for adding another global entry point 1999-08-04 06:05:29 +00:00
briano%netscape.com f1ffca414c Cleaned it up and got rid of the redundant HP-specific SHARED_LIBRARY_LIBS stuff. 1999-08-03 21:40:56 +00:00
dp%netscape.com fc6866431d Removed ASSERTION. Added comments for shutdown. 1999-07-31 00:07:31 +00:00
warren%netscape.com 4212287ebf Added NS_ShutdownXPCOM for memory cleanup. 1999-07-28 07:57:39 +00:00
briano%netscape.com d99daeea9b Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568. 1999-07-27 23:27:44 +00:00
dougt%netscape.com 69178099d5 Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
jband%netscape.com b7df8440d3 include of config.mak needed for NT Alpha according to bob meader <bob@guiduck.com> 1999-07-24 21:57:34 +00:00
jband%netscape.com 9c02d63894 adding NT Alpha (only) .def file stuff 1999-07-19 02:54:33 +00:00
peterl%netscape.com 237caa690f added avl tree 1999-07-18 00:02:48 +00:00
dp%netscape.com 3c8f0a85ed Landing XPCOM_M8_PERF_BRANCH.
- Enabling prepopulation of registry CID entries.
1999-07-07 07:48:12 +00:00
dveditz%netscape.com a1b579e607 Argh, escaped from the branch during my makefile munging -- Sorry! 1999-07-02 15:11:44 +00:00
dveditz%netscape.com 4c4f269dd4 nakefile cleanups 1999-07-02 13:42:17 +00:00
dveditz%netscape.com 5dd9cff22d Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles 1999-07-02 11:50:19 +00:00
dp%netscape.com 2f2c55b2d1 Diabling registry prepopulation. These changes was meant for the
branch and not in the tip. When XPCOM_M8_PERF_BRANCH lands, these will
be enabled.
1999-07-02 04:04:31 +00:00
dp%netscape.com b87ff47f54 Calling PlatformPrePopulateRegistry() 1999-07-02 03:37:44 +00:00
mcafee%netscape.com 4aca8a8246 BeOS changes 1999-06-29 10:27:58 +00:00
putterman%netscape.com c827fdf481 Only AddRef servMgr if we're going to assign it to *result. Approved by dp. 1999-06-15 23:21:12 +00:00
warren%netscape.com 8882c50da2 Added PR_LOG stuff. 1999-06-15 04:57:07 +00:00
mcmullen%netscape.com 05a578c59f Registered nsIDirectoryIterator 1999-06-14 22:06:22 +00:00
waterson%netscape.com cfbc386ecc Add MISCDEP so that DLL gets rebuilt if a static lib changes. 1999-06-14 02:22:52 +00:00
dp%netscape.com a7570169c5 - NS_RegistryGetFactory API changed 1999-06-14 02:08:49 +00:00
jband%netscape.com 09e841b60c added forced linkage to another xptcall file and moved the prototypes to the dummies to xptcall.h 1999-06-12 04:30:13 +00:00
warren%netscape.com daac58b073 Removed nsIByteBufferInputStream - obsolete. 1999-06-09 06:48:38 +00:00
warren%netscape.com aaf94a8b04 Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams. 1999-06-08 20:57:32 +00:00
briano%netscape.com 0a764a4a0d Changed the location of libxpcombase_s.a in the list in order to fix the NetBSD build. 1999-06-08 02:01:01 +00:00
warren%netscape.com 8b32319be8 Fixed GenericFactory linkage problems. 1999-06-03 21:51:14 +00:00
law%netscape.com 39f375f872 XPIDL-ifying nsIObserver/nsIObserverService 1999-05-29 00:51:17 +00:00
warren%netscape.com 39ffb3fd54 Added nsConstructorPattern.cpp 1999-05-28 22:41:13 +00:00
dougt%netscape.com 83629f6dd7 Adding Proxy to the xpcom init. 1999-05-28 22:17:24 +00:00
dougt%netscape.com c8f4529686 Adding a local include path to proxy/src 1999-05-28 22:10:55 +00:00
dp%netscape.com 0cdf1ded73 - Adding in PROGID and Classname for registration of xpcom components.
- Registering FILESPEC
1999-05-28 01:14:59 +00:00
sspitzer%netscape.com dc6a12ab7d cvs ignorage for xpcom2 landing 1999-05-26 17:51:05 +00:00
dp%netscape.com c904a80893 adding symbol XPTI_GetInterfaceInfoManager 1999-05-26 04:54:36 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren%netscape.com 08b563e33a Added 1999-05-18 21:43:13 +00:00
dp%netscape.com f329e74754 Initial version 1999-05-18 09:11:01 +00:00