135 Commits

Author SHA1 Message Date
dp%netscape.com
135af3793e Standalone xpcom.
git-svn-id: svn://10.0.0.236/trunk@69596 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 23:35:55 +00:00
dp%netscape.com
18336a2e3f Removing nsConstructorPattern.cpp
git-svn-id: svn://10.0.0.236/trunk@68296 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:18:33 +00:00
cls%seawood.org
a539ab2494 More OS/2 Makefile changes. Bug #34106 Batch 12
git-svn-id: svn://10.0.0.236/trunk@68226 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 11:00:47 +00:00
jband%netscape.com
7e8c6ecbdf fix to make the comment not lie
git-svn-id: svn://10.0.0.236/trunk@67080 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:52:30 +00:00
cls%seawood.org
edfdaaa3a8 General cleanup of the shared library rules.
Quick fix for bug #36844.
Since people kept forgetting to wrap SHARED_LIBRARY_LIBS inside MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs, we now handle it in rules.mk.  Same goes for making $(SHARED_LIBRARY) dependent upon $(SHARED_LIBRARY_LIBS).


git-svn-id: svn://10.0.0.236/trunk@66931 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 17:48:04 +00:00
jband%netscape.com
6809acc097 fix bustage due to relative path include of removed (and otherwise unused) file
git-svn-id: svn://10.0.0.236/trunk@66640 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:33:13 +00:00
jband%netscape.com
81c2f39c08 fix bustage due to relative path include of removed (and otherwise unused) file
git-svn-id: svn://10.0.0.236/trunk@66635 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:22:16 +00:00
jband%netscape.com
723651965b landing typelib loading improvements. bug 30753
git-svn-id: svn://10.0.0.236/trunk@66539 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 08:52:05 +00:00
mccabe%netscape.com
dd8d16945e Move nsIConsoleService and implementation into xpcom/base, and nsIScriptError and implementation into js/src/xpconnect. (A place for JavaScript-specific XPCOM would be better, but xpconnect will do).
git-svn-id: svn://10.0.0.236/trunk@66233 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 02:34:54 +00:00
scc%netscape.com
28db414fa4 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64827 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:39:02 +00:00
rickg%netscape.com
7f309e7c52 removed references to nsString2
git-svn-id: svn://10.0.0.236/trunk@64751 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:19:31 +00:00
alecf%netscape.com
b9e08acc79 registering the atom service during XPCOM initialization
r=dp


git-svn-id: svn://10.0.0.236/trunk@64744 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:50:00 +00:00
rickg%netscape.com
380980092a changed reference from nsString2 to nsString
git-svn-id: svn://10.0.0.236/trunk@64733 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 09:08:17 +00:00
ruslan%netscape.com
921b8f7203 Cause NS_NewByteArrayInputStream to get actually exported out of windows
dll, r=warren


git-svn-id: svn://10.0.0.236/trunk@63700 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 03:07:39 +00:00
pavlov%netscape.com
1fdd348954 changes to let us build on MacOS X
git-svn-id: svn://10.0.0.236/trunk@62619 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 03:08:04 +00:00
warren%netscape.com
84f531a52e Made the thread-safety checking able to be turned on/off by the XPCOM_CHECK_THREADSAFE env var. a=jar,r=mscott
git-svn-id: svn://10.0.0.236/trunk@62390 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 09:21:32 +00:00
vidur%netscape.com
59c2cc11b5 Fix for debug build breakage on Windows. r,a=dp
git-svn-id: svn://10.0.0.236/trunk@62291 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 03:25:04 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
warren%netscape.com
6b2a8fdb04 Bug 21556: Making linux be thread-safe. Exporting NS_CurrentThread from debug builds. a=jar
git-svn-id: svn://10.0.0.236/trunk@62234 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 10:14:50 +00:00
jdunn%netscape.com
bd6589da7d move mozreg_s from EXTRA_DSO_LDOPTS to SHARED_LIBRARY_LIBS to handle
AIX dependencies.

r= cls@seawood.org, dp@netscape.com
a= leaf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@61892 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 21:03:25 +00:00
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
putterman%netscape.com
700d10ed77 Fix for 8405. Japanese shows up in thread pane sender column. r=nhotta, waterson.
git-svn-id: svn://10.0.0.236/trunk@59463 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 01:46:24 +00:00
dougt%netscape.com
bd62ec42b1 Fixing dll exports for NS_NewLocalFile()
r=dveditz


git-svn-id: svn://10.0.0.236/trunk@59111 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:35:55 +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
sford3%swbell.net
09c9265da7 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi
git-svn-id: svn://10.0.0.236/trunk@58041 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 22:32:13 +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
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
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
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
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
sfraser%netscape.com
72bb0cfa68 Fix linkage errors with nsLinebreakConverter.r=kin
git-svn-id: svn://10.0.0.236/trunk@54970 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 00:31:45 +00:00
dp%netscape.com
9b0cfefb70 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54812 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:36:32 +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
warren%netscape.com
eb9a891946 Eliminated the libs build pass.
git-svn-id: svn://10.0.0.236/trunk@54523 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 03:05:01 +00:00
tbogard%aol.net
bbe91002db Added do_GetInterface to the dlldeps so it is properly exported from the DLL.
git-svn-id: svn://10.0.0.236/trunk@54521 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 02:17:24 +00:00
fur%netscape.com
14e4fb4755 #8305 (Cache implementation)
Added dependencies to pick up nsStorageStream.cpp and nsBinaryStream.cpp


git-svn-id: svn://10.0.0.236/trunk@53683 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 21:14:52 +00:00
jdunn%netscape.com
f0c83b3d5a Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688


git-svn-id: svn://10.0.0.236/trunk@53637 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 06:02:31 +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
742d5f1204 missed a #include
git-svn-id: svn://10.0.0.236/trunk@53060 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 02:11:08 +00:00
shaver%netscape.com
e03c3f1706 maybe fix build bustage
git-svn-id: svn://10.0.0.236/trunk@53059 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 02:10:39 +00:00