Commit Graph

376 Commits

Author SHA1 Message Date
dp%netscape.com
346ad8dd16 Bg 26937, bug 26759 Enforcing close of the registry before open of a
different registry file. r=dveditz
2000-02-08 21:50:54 +00:00
dp%netscape.com
547fc64bf2 Bug 26937 Added ApplicationRegistry. r=dveditz 2000-02-08 21:49:40 +00:00
warren%netscape.com
b7449ea004 Fix for code generation problem in VC6 optimized builds. Discovered with MOZ_PROFILE=1 and MOZ_DEBUG undefined. The variable 'dll' seems to get wiped out by the assignment of 'res' (aliased together). r=scc,dp 2000-02-08 11:45:40 +00:00
jdunn%netscape.com
6f3fd0364d r= scc@netscape.com
The AIX compiler doesn't like the declaration of variables in an IF statement
so I have broken them out.
2000-02-08 03:34:27 +00:00
scc%netscape.com
2c402f0276 Oops, need to call |initialize()|. More comments. Fix over-zealous |AddCategoryEntry()|. r=sspitzer 2000-02-06 08:26:13 +00:00
sspitzer%netscape.com
b8a3418dbc fix the cookie / news component registry problem.
the problem was mRegistry was null, so we'd fail when calling persist().
2000-02-06 05:43:38 +00:00
sspitzer%netscape.com
9c471e00e3 prevent crash, return if mRegistry is null. 2000-02-06 05:25:38 +00:00
scc%netscape.com
a1a46ff8ac Added factory, and factory constructor function to get this thing hooked up. That's it, I think. bug #26011; r={waterson,sspitzer} 2000-02-06 02:01:39 +00:00
sspitzer%netscape.com
484b02b81d scc rewrote this in C++. r=scc 2000-02-06 01:21:35 +00:00
sspitzer%netscape.com
f218d5ba48 stop building nsCategoryManager.js and start building nsCategoryManager.cpp
on linux and windows
2000-02-06 01:19:28 +00:00
scc%netscape.com
8ec74054ea fixing bustage, omitted result type 2000-02-06 01:16:32 +00:00
sspitzer%netscape.com
c6c8dddea7 fix warnings, make it build on linux. 2000-02-06 01:12:47 +00:00
scc%netscape.com
7926e52ab7 Adding the CID, progID, etc., so I can get the C++ version registered as a service. r=waterson 2000-02-06 01:01:08 +00:00
scc%netscape.com
dd34a34e7d Adding the CID, progID, etc., so I can get the C++ version registered as a service. r=waterson 2000-02-06 00:57:11 +00:00
sspitzer%netscape.com
de68eeaf83 nsIServiceProvider.h doesn't exist anymore 2000-02-05 09:56:55 +00:00
scc%netscape.com
e72a4548f8 finished filling in |AddCategoryEntry|. Now all I have to do is get the thing registered and instantiated 2000-02-05 07:58:56 +00:00
scc%netscape.com
252cd72a5d fixed tabs, added registry loading code, some comments... almost ready to go 2000-02-05 07:42:30 +00:00
scc%netscape.com
d770b51a5b First Checked In. 2000-02-05 06:19:49 +00:00
sspitzer%netscape.com
1c71fea64a export nsCategoryManager.js 2000-02-05 05:22:19 +00:00
jband%netscape.com
2d23e17518 fix test bustage due to typo in JS code. This was a known problem that I could have SWORN that shaver checked in a fix for 2000-02-05 04:42:04 +00:00
dougt%netscape.com
f9a743cbcb Fix for bug 25941. r=dp,scc. 2000-02-01 07:54:46 +00:00
dougt%netscape.com
413cc55ebd Renaming IsContainedIn to contains() 2000-01-28 23:54:26 +00:00
dougt%netscape.com
bae665046a Giving these files Purify loving. r=dveditz 2000-01-28 23:37:27 +00:00
dp%netscape.com
026b164598 Removing asm() code. Wont compile on nonx86 linux. 2000-01-28 11:31:39 +00:00
dp%netscape.com
0c427aebb7 Using asm() only for linux. 2000-01-28 11:04:51 +00:00
dp%netscape.com
fa970c12ec Adding BreakAfterLoad() API to header. 2000-01-28 09:49:10 +00:00
dp%netscape.com
961042374a Debuggin help from components. Implementing BreakAfterLoad() for DEBUG
builds, which will stop in the debugger after loading any of the :
separated dll substrings listed in environment variable
XPCOM_BREAK_ON_LOAD. Stopping in debugger implemented for
unix.
2000-01-28 09:44:05 +00:00
jband%netscape.com
70fe081181 fix this misnamed method bug for shaver. r=shaver. NOT PART OF BUILD 2000-01-28 08:38:11 +00:00
sdagley%netscape.com
36bd7d9c72 Finish cleanup of #19150 - forgot to remove un-needed include after changing code to load fragment via nsLocalFileMac rather than directly calling NSPR. r=lumpy 2000-01-27 02:24:06 +00:00
dougt%netscape.com
0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
scc%netscape.com
cf8ef31b63 replace |nsVector| with |nsVoidArray| as per bug #11666. r=dp 2000-01-18 23:03:29 +00:00
dp%netscape.com
2df47b0c6d Implementing access to servicemanager from component manager via
nsIInterfaceRequestor. r=scc
2000-01-11 22:54:46 +00:00
dp%netscape.com
331dbeb0cd Providing register and unregister hook per component in the generic
module. r=alecf
2000-01-11 21:18:55 +00:00
dp%netscape.com
d6283aff87 Adding comments to explain shutdown further. 2000-01-10 21:26:00 +00:00
jband%netscape.com
bbb40e6dd7 Allow generic module stuff to work with singletons. Needed to fix bug 22922. r=dp 2000-01-07 02:18:13 +00:00
mscott%netscape.com
1ec9e54be0 someone removed nsIServiceProvider.h from the build and didn't remove it from mac and unix makefiles!!! Shame on you... Fixing the build breakage on the mac. 2000-01-06 01:36:00 +00:00
mcafee%netscape.com
5f6a9e7799 Fixing linux bustage. 2000-01-06 01:16:42 +00:00
edburns%acm.org
13be6d7ebf 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
359bfe3062 Fixed xpcom shutdown to disallow reconstruction of the global service manager. r=dp 2000-01-06 00:34:38 +00:00
blizzard%redhat.com
d6cf22aa5c 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
sspitzer%netscape.com
22b6b14e23 purify related fixes. first, prevent a crash that was prevent me
from running purify in nsGenericFactory.cpp.  Second, add support
for "mozilla -pure".  Only works if you've build mozilla.bin.pure, of course.
1999-12-15 06:23:50 +00:00
shaver%netscape.com
a4cd86a287 fix leaf of registryName (#21068, r=beard, a=leaf) 1999-12-09 00:01:46 +00:00
dp%netscape.com
5e69c59d46 Adding assertion to check for improper shutdown of servicemanager. r=chofmann@netscape.com 1999-12-08 02:00:30 +00:00
dp%netscape.com
3ec8ca8250 Removing nsComponentManager.h from export 1999-12-08 01:58:30 +00:00
dp%netscape.com
edcdeb94a5 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:36:32 +00:00
dp%netscape.com
d76755831f NS_RELEASE if there isn't a global service manager 1999-11-29 21:02:51 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
sspitzer%netscape.com
449b64a2e7 fix 974 warnings by declaring a virtual destructor 1999-11-27 02:17:23 +00:00
shaver%netscape.com
daf1dd97f0 update to track catchguard syntax, r=cls 1999-11-24 03:36:26 +00:00
scc%netscape.com
829514e2e2 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