Commit Graph

36 Commits

Author SHA1 Message Date
timeless@mozdev.org
c3aef02680 Bug 179778 regExport accesses argv[1] before checking argc==1
r=dougt sr=bz
2002-11-13 03:58:38 +00:00
dougt@netscape.com
c4f7ec3426 Fixes typo. patch by tenthumbs@cybernex.net, r=dougt, b=168584 2002-09-30 21:49:48 +00:00
timeless@mac.com
d5d544d503 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk
2002-07-04 14:29:25 +00:00
darin@netscape.com
cdd08719da fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
dougt@netscape.com
71f4514b1a API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147 2001-10-16 03:35:52 +00:00
gerv@gerv.net
58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
rayw@netscape.com
c6334366cb 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
warren@netscape.com
6a06dfc026 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
dveditz@netscape.com
79c9af9959 Bug 23941 speed up install on Mac, r=cathleen, a=jar;
Bug 12817 no Autoreg (in optimized builds) unless xpinstall detects flag indicating install has happened or build number changed, r=dp, a=jar;
Bug 23859 add wstring API to nsIRegistry for profile manager/i18n, r=gayatrib, a=jar;
2000-02-20 03:12:59 +00:00
dveditz@netscape.com
9eca7fd160 fixing crash at end of regexport 2000-02-16 07:39:14 +00:00
dveditz@netscape.com
5065c0c3f9 fixing windows bustage 2000-02-15 02:11:26 +00:00
dveditz@netscape.com
753869dcf4 New wstring nsIRegistry interface, bug 23859;
new version registry name for mozilla, bug 10533;
log now created by install wizards too, bug 26309;
downloaded file cleanup moved into manager, bug 24249;
scaffolding for bug 12817 and 12361 (conditional autoreg)
2000-02-15 01:32:12 +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
dougt@netscape.com
1e724f7863 Adding explict includes. 2000-01-03 23:50:19 +00:00
dp@netscape.com
81e6053ba8 Using COMPtr 1999-11-20 07:16:42 +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
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
bienvenu@netscape.com
815d2de8e3 more build bustage with reg stuff 1999-09-29 04:06:15 +00:00
shaver@netscape.com
0ce5ac09a3 nsIRegistry scriptability update, r=dveditz,dp,alecf a=leaf,chofmann 1999-09-29 02:36:54 +00:00
waterson@netscape.com
e5089c32df Fix backwards return values on nsIEnumerator::IsDone(). 1999-09-21 01:28:18 +00:00
dp@netscape.com
2d69c7d581 Ability for XPCOM to use non-default component registry and component directory 1999-09-16 19:28:57 +00:00
shaver@netscape.com
77c3544d9c convert to CreateInstanceFromProgID 1999-09-05 06:27:42 +00:00
sspitzer@netscape.com
39328a2dba fix warning 1999-07-01 08:48:06 +00:00
dp@netscape.com
1c147af422 Removing unused NS_RegistryGetFactory() prototype. 1999-06-12 15:36:22 +00:00
dp@netscape.com
229e1c8529 Using new Component Registry 1999-06-09 19:18:24 +00:00
dp@netscape.com
6dc8a899c6 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
dp@netscape.com
dd4c9a0d6f Using PROGID for registry instance creation. 1999-04-12 12:34:32 +00:00
dp@netscape.com
11b772c925 Using Raw interface to accurately get key names that have special characters like / =
Printing int32 values
changed key separator in print to be - instead of /
1999-04-05 06:05:17 +00:00
dp@netscape.com
e2dde68497 Using the nsIRegistry from the ComponentManager. 1999-04-05 04:33:49 +00:00
warren@netscape.com
81e78e1234 Fixed NS_RegistryGetFactory breakage. 1999-03-24 00:38:27 +00:00
law@netscape.com
827cf87fa8 Fix recursion problem 1999-03-01 19:06:27 +00:00
law@netscape.com
07da3fd7e0 Fixes for Mac 1999-02-25 19:24:18 +00:00
law@netscape.com
c6b8a95626 moz->ns 1999-02-10 23:27:09 +00:00
law@netscape.com
663fafbaa9 Cleaned up i/f, XPCOM-wise 1999-02-10 19:47:56 +00:00
law@netscape.com
2917dff373 Enhanced test program to display values 1999-02-02 07:41:16 +00:00
law@netscape.com
e49fce82d9 new registry tools 1999-01-28 03:33:49 +00:00