3118 Commits

Author SHA1 Message Date
jband%netscape.com
8d2d9e7f1f Allow generic module stuff to work with singletons. Needed to fix bug 22922. r=dp
git-svn-id: svn://10.0.0.236/trunk@57061 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 02:18:13 +00:00
warren%netscape.com
576a6158bc Fixed Has method as per Doug's request.
git-svn-id: svn://10.0.0.236/trunk@57028 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 23:02:32 +00:00
waterson%netscape.com
91cf97a21d Bug 21472. Use only strict relationals with LL_CMP(). r=brendan
git-svn-id: svn://10.0.0.236/trunk@56987 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 20:22:29 +00:00
dougt%netscape.com
f21187a4e6 fix for 22943. removing xp-mac specific code from xp interface, enabling asserts
on the mac. r= sdagley


git-svn-id: svn://10.0.0.236/trunk@56985 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 20:08:14 +00:00
dougt%netscape.com
85bb9d5b20 Fix for bug 22933 submitted by jonas.utterstrom@vittran.norrnod.se. r=dougt.
git-svn-id: svn://10.0.0.236/trunk@56975 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 19:46:44 +00:00
briano%netscape.com
f83dfc638d Backed out the Solaris fix, because Linux doesn't like it. It may be that -z allextract and -Wl,--whole-archive behave differently.
git-svn-id: svn://10.0.0.236/trunk@56931 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 03:06:22 +00:00
briano%netscape.com
9c98b167c9 Fix for _optimized_ nightly Solaris 2.6 builds.
git-svn-id: svn://10.0.0.236/trunk@56928 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 02:06:56 +00:00
mscott%netscape.com
b891236113 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.


git-svn-id: svn://10.0.0.236/trunk@56924 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:36:00 +00:00
mcafee%netscape.com
f271b82159 Fixing linux bustage.
git-svn-id: svn://10.0.0.236/trunk@56920 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:16:42 +00:00
mcafee%netscape.com
9a7662af74 plvector.c is a C file, this was linking incorrectly on optimized solaris. r=briano
git-svn-id: svn://10.0.0.236/trunk@56918 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:12:25 +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
3a54a73a34 Added .get() to fix unix breakage.
git-svn-id: svn://10.0.0.236/trunk@56837 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 10:59:25 +00:00
warren%netscape.com
ce99b26b15 Obsoleted old file.
git-svn-id: svn://10.0.0.236/trunk@56834 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 10:27:32 +00:00
warren%netscape.com
6c5b34e244 Made nsIProperties scriptable.
git-svn-id: svn://10.0.0.236/trunk@56833 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 09:33:43 +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
warren%netscape.com
4b49861500 Added OnClose method to nsIPipeObserver (bug#23080)
git-svn-id: svn://10.0.0.236/trunk@56824 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 05:07:46 +00:00
sdagley%netscape.com
25f02ff3af Fix build bustage - warren obsoleted nsPipe2.h but didn't update the manifest
git-svn-id: svn://10.0.0.236/trunk@56822 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 04:57:12 +00:00
warren%netscape.com
62d1cbb631 Removed nsPipe2.h -- obsolete.
git-svn-id: svn://10.0.0.236/trunk@56814 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 03:56:47 +00:00
dougt%netscape.com
e273b1a9c4 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@56701 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 00:50:08 +00:00
sspitzer%netscape.com
3823830445 turn off assertions until dougt fixes #22943. r=dougt
git-svn-id: svn://10.0.0.236/trunk@56699 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 00:14:37 +00:00
dougt%netscape.com
3a4155eb03 Adding explict includes.
git-svn-id: svn://10.0.0.236/trunk@56696 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 23:50:19 +00:00
blizzard%redhat.com
1f1ce365e8 Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard
git-svn-id: svn://10.0.0.236/trunk@56630 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-30 22:03:58 +00:00
warren%netscape.com
9056c4e3a6 Breaking out persistent properties from nsIProperties.h.
git-svn-id: svn://10.0.0.236/trunk@56609 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 20:55:42 +00:00
warren%netscape.com
88189d2f94 Added nsIStopwatch for timing analysis.
git-svn-id: svn://10.0.0.236/trunk@56608 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 20:54:13 +00:00
warren%netscape.com
6836908904 Added new logging service to replace PR_LOG.
git-svn-id: svn://10.0.0.236/trunk@56607 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 20:53:17 +00:00
bryner%uiuc.edu
4402af7a65 Fix a warning. r=mcafee.
git-svn-id: svn://10.0.0.236/trunk@56573 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 20:26:56 +00:00
sspitzer%netscape.com
f7440a0d0d fix warnings.
git-svn-id: svn://10.0.0.236/trunk@56570 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 19:37:29 +00:00
sspitzer%netscape.com
e4f43e292d fix warning for scc.
git-svn-id: svn://10.0.0.236/trunk@56528 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-24 03:42:54 +00:00
idk%eng.sun.com
06ee17f97f Addon to my last checkin.
sorry


git-svn-id: svn://10.0.0.236/trunk@56471 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 01:26:39 +00:00
idk%eng.sun.com
b57eddb1c6 Initial check in for remote xpcom module.
More documentation andd implementations is comming.

gotta go
work on this module would be continued after 01/10/2000


git-svn-id: svn://10.0.0.236/trunk@56470 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 01:16:05 +00:00
dougt%netscape.com
77509d47e0 Adding include of prlink.h to nsILocalFile.idl.
remove a bad semicolon in nsLocalFileWin

above not in build.

Adding an explict include of nsCRT to nsPipe2.cpp

this is in the build, but is trival.


git-svn-id: svn://10.0.0.236/trunk@56352 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 04:11:13 +00:00
dougt%netscape.com
de1e8beaf0 implement load().
not part of build.


git-svn-id: svn://10.0.0.236/trunk@56343 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 03:01:08 +00:00
dougt%netscape.com
da42fa46ee adding a load() command which will allow loading of libraries.
not part of build


git-svn-id: svn://10.0.0.236/trunk@56342 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 02:59:01 +00:00
dougt%netscape.com
bf5350e2e6 removing unneeded header file.
not part of build.


git-svn-id: svn://10.0.0.236/trunk@56339 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:58:25 +00:00
vidur%netscape.com
34da574eb4 Added IID for nsIDOMHTMLFormControlList. a=dagley r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@56337 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:57:28 +00:00
dougt%netscape.com
5e6a51e582 1. First cut of a Special System Directory replacement (nsDirectoryService).
It is a nsIProperty.

2. Updates to the nsIFile and nsILocalFile interfaces based on conversations
   with warren. (thanks)

3. Updated windows mac and unix implementations based on interface changes.
   Mac and windows changes need to be reviewed.


                          Not part of build.


git-svn-id: svn://10.0.0.236/trunk@56336 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:56:45 +00:00
dougt%netscape.com
b3545fcbef removing nsIFile stuff from the windows makefile for now. a=sdagley.
git-svn-id: svn://10.0.0.236/trunk@56331 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:50:30 +00:00
dougt%netscape.com
41e83422c9 fix for 16273. r=valeski, a=sdagley.
git-svn-id: svn://10.0.0.236/trunk@56328 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:47:59 +00:00
rickg%netscape.com
130ac14aab fixed bug in compressChars2 where logic to test for ascii range was reversed; r=buster; a=jar
git-svn-id: svn://10.0.0.236/trunk@56274 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 07:49:34 +00:00
valeski%netscape.com
4fd0540efa a=chofmann, 21783. inverted parameter validation checks have been corrected.
git-svn-id: svn://10.0.0.236/trunk@56269 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 03:00:54 +00:00
briano%netscape.com
fcb98dd458 NetBSD/arm-specific build bustage fix. The underlying problem _seems_ to be with ld, but I've been wrong before....
git-svn-id: svn://10.0.0.236/trunk@56263 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 01:39:12 +00:00
waterson%netscape.com
7af106da48 Bug 22212. Re-enable observer service weak ref stuff, now that a good fix is in for PageCycler. a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56253 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 00:12:25 +00:00
dougt%netscape.com
a5052c7d8c Adding back the assert since I fixed the problem in the GTK appshell.
git-svn-id: svn://10.0.0.236/trunk@56241 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-20 23:12:18 +00:00
waterson%netscape.com
dd7fec877d Reverting scc's changes until we can sort out the browser buster stuff. a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56239 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-20 22:13:33 +00:00
scc%netscape.com
aedd4328c2 Enabling weak observer lists. Back this code out (if needed) by commenting out the |#define NS_WEAK_OBSERVERS| line since it also contains fixes. bug#18682, r=law, a={dp, chofmann}
git-svn-id: svn://10.0.0.236/trunk@56216 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-19 17:14:47 +00:00
sspitzer%netscape.com
8ab190c77c make it so dougt's assertions only happen for him.
there is no reason the whole world should see a billion printfs.


git-svn-id: svn://10.0.0.236/trunk@56195 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 10:17:09 +00:00
briano%netscape.com
15372776e7 Now FreeBSD/alpha and NetBSD/alpha builds can use the Linux/alpha code.
git-svn-id: svn://10.0.0.236/trunk@56175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 03:43:19 +00:00
jdunn%netscape.com
12eddcb686 Fix the AIX xptcall work
a= chofmann
# 18692


git-svn-id: svn://10.0.0.236/trunk@56046 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 19:01:53 +00:00
sspitzer%netscape.com
d1968e1600 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.


git-svn-id: svn://10.0.0.236/trunk@56038 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 06:23:50 +00:00