2956 Commits

Author SHA1 Message Date
scc%netscape.com
fa658e64c0 replace |nsVector| with |nsVoidArray| as per bug #11666. r=dp
git-svn-id: svn://10.0.0.236/trunk@58148 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 23:03:29 +00:00
scc%netscape.com
b414827be6 replaced |nsVector| with |nsVoidArray| as per bug #11666. r=brendan
git-svn-id: svn://10.0.0.236/trunk@58132 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 22:19:52 +00:00
rickg%netscape.com
5fbcbb33c3 bug24015; r=rods a=chofmann
git-svn-id: svn://10.0.0.236/trunk@58118 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 21:06:05 +00:00
jband%netscape.com
c49ac1b9cc Not part of build. Updating status page
git-svn-id: svn://10.0.0.236/trunk@58083 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 08:19:27 +00:00
mccabe%netscape.com
6444e51a6e Fix problem with generated consts in .h files for OS/2 - also handle the internal const value more sensibly, and lose wrong 'is_long' distinction.
Thanks to Henry Sobotka <sobotka@axess.com> for finding this problem and suggesting a fix.

r=mccabe


git-svn-id: svn://10.0.0.236/trunk@58077 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 05:16:48 +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
sfraser%netscape.com
f176a6fd40 Add nsTextFormatter.cpp, for sford
git-svn-id: svn://10.0.0.236/trunk@58036 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 22:12:20 +00:00
sfraser%netscape.com
2e633f439a Add nsTextFormatter.h, for sford
git-svn-id: svn://10.0.0.236/trunk@58035 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 22:12:12 +00:00
sford3%swbell.net
bcd4433960 Beginning of work on 16951, not part of build yet
git-svn-id: svn://10.0.0.236/trunk@57998 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 06:33:59 +00:00
beard%netscape.com
4e41ec610f bug fix for bug #11199, should remove partially created output file.
git-svn-id: svn://10.0.0.236/trunk@57992 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 04:13:05 +00:00
dougt%netscape.com
8a69f26ba1 fixes bug 24122. submitted by beard.
git-svn-id: svn://10.0.0.236/trunk@57977 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 23:30:33 +00:00
briano%netscape.com
ffdb784714 Replaced MOZ_COMPONENT_XPCOM_LIBS with MOZ_COMPONENT_LIBS so we pick up the NSPR libs as well. Fixes a couple of ignored platform Tinderbox builds.
git-svn-id: svn://10.0.0.236/trunk@57975 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 22:52:57 +00:00
dougt%netscape.com
e5859bb9bc Making event handler callbacks static.
removing lock during XPT invoke

suggested by jband.  bug 18110.


git-svn-id: svn://10.0.0.236/trunk@57787 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 05:03:29 +00:00
jst%citec.fi
7aaa18a483 Fixing copying of wstring argument, this fixes the problem with only the first character of some status messages showing up in the browser. This fix also eliminates one string copy. r=dougt@netscape.com, a=mozbot.
git-svn-id: svn://10.0.0.236/trunk@57749 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:06:57 +00:00
norris%netscape.com
8b495ca37d Fix 18592 Fix example: XPCom components cannot be used under
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@57748 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:03:46 +00:00
jdunn%netscape.com
9df87496e8 use C style comments and not C++
r= scc@netscape.com
a= leaf@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@57704 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:06:47 +00:00
jband%netscape.com
86073f04b4 Fix to deal with arrays of interface pointers. r=mccabe
git-svn-id: svn://10.0.0.236/trunk@57638 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 05:54:40 +00:00
scc%netscape.com
1efb7c3f9c macros and defs to removed conditional definition of |GetIID()| within |nsISupports|. r=beard, (waterson?), bug=10477
git-svn-id: svn://10.0.0.236/trunk@57637 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 05:48:47 +00:00
pinkerton%netscape.com
7c063c5052 fix the case where the char stream impl reallocated its buffer to accomodate data > 256 bytes. mLength wasn't set (at all) so the memcpy() copied nothing into the new buffer.
git-svn-id: svn://10.0.0.236/trunk@57599 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 02:00:57 +00:00
scc%netscape.com
9ff3330264 factor the |IMPL_QUERY| macros to support inheriting |QueryInterface|. Redefine all the |NS_IMPL_ISUPPORTSn| macros in terms of the table-style macros. r={pinkerton, sfraser}
git-svn-id: svn://10.0.0.236/trunk@57551 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 16:01:14 +00:00
mccabe%netscape.com
4ece6c81dc Reinstating backed-out fix to 20833 from earlier, this time with a change that seems to work on solaris and mac.
git-svn-id: svn://10.0.0.236/trunk@57546 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 13:33:40 +00:00
mccabe%netscape.com
47cfe06ecb Reverting const-generation code that seems to be trouble for Solaris.
git-svn-id: svn://10.0.0.236/trunk@57507 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 03:34:30 +00:00
sfraser%netscape.com
3026ce39f6 Fixing bustage by ensuring that xpidl_utils.c is only in the compiler target. r=mccabe
git-svn-id: svn://10.0.0.236/trunk@57504 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 03:09:33 +00:00
mccabe%netscape.com
129ccc5ea1 changing #include "xpt_stuct.h" to <xpt_struct.h> b/c I don't think Mac is finding the file.
git-svn-id: svn://10.0.0.236/trunk@57501 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 02:48:06 +00:00
mccabe%netscape.com
4e6799d4d5 added files: mozilla/xpcom/typelib/xpidl/xpidl_util.c
git-svn-id: svn://10.0.0.236/trunk@57490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 01:47:05 +00:00
mccabe%netscape.com
ecfc9775e8 Batched set of fixes to xpidl. NOTE this'll probably cause the world to rebuild.
* fix 20833 - generate numbers of appropriate form in header output mode for short, long, signed or unsigned IDL consts.  Thanks to bratell@lysator.liu.se for finding this and confirming the fix.

* fix 11199, remove .h output file on failure - partially generated files caused trouble, as they had the proper timestamp to fool 'make' next time around. Punted on mac.

* Restore Mac hack to fix \r to \n, requested by Beard.

* Make 'const decl must be short or long' warning into error for typelib mode.  This mirrors an existing error in header mode.

* Fix up various aspects of xpidl, including:

- Move shared functions from xpidl_idl.c and xpidl.c 'main' module to new xpidl_util.c.

- Recast nodehandler-table-per-backend as 'backend' struct, including broken-out prolog and epilog functions.  Replaces overloaded IDLN_NONE node handler that did prolog code on non-null tree, epilog on null.  Move backends to new API.

- Rename a few structs more logically.

- Add a new list to track files included from the base .idl file, for generated #includes in output header file.  This replaces using the 'already-included' hashtable for this purpose, and lets us generate just the minimal set of #includes, in the order they occured in the .h file.

- Various fixes to quiet xpidl warnings.

- Change main() to only accept one input file from the command line, because the basename code assumes this, and multiple files aren't needed by our make system.

r=jband


git-svn-id: svn://10.0.0.236/trunk@57488 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 01:46:21 +00:00
dougt%netscape.com
43916a6230 locking nsProxyObject before calling XPT_InvokeByIndex()
locking maps for entire GetNewOrUsedClass() process.
locking maps while trying to Find an IID off of a Root.
locking when removing from RealObjectToProxyObjectMap

I am hoping that this will fix some of the SMP problems, namely 21556.

r=mccabe.


git-svn-id: svn://10.0.0.236/trunk@57484 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 01:26:11 +00:00
jdunn%netscape.com
7fe5ff0d54 Fix slamm's warnings of shadowing previous variables.
r= rhp@netscape.com
r= warren@netscape.com
r= rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57481 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 00:54:10 +00:00
dp%netscape.com
40adb96b8f Implementing access to servicemanager from component manager via
nsIInterfaceRequestor. r=scc


git-svn-id: svn://10.0.0.236/trunk@57455 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:54:46 +00:00
dp%netscape.com
4a6c6f75e5 Providing register and unregister hook per component in the generic
module. r=alecf


git-svn-id: svn://10.0.0.236/trunk@57433 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 21:18:55 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
cls%seawood.org
c94cbe27ba Removed redundant XPDIST from the build. Changed existing references to DIST.
Replaced all uses of $(DIST)/include with $(PUBLIC) except those looking for NSPR headers.
Removed extra instances of $(DIST)/include or $(PUBLIC) from INCLUDES as it's already there.
Override OS_LIBS when setting host variables for cross-compiling.


git-svn-id: svn://10.0.0.236/trunk@57356 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 05:13:01 +00:00
jdunn%netscape.com
9b6c271893 Fix base class specifiers, since be default if they aren't specified it is Private
# 23237
r= warren@netscape.com, ftang@netscape.com, jband@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57329 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 01:45:34 +00:00
warren%netscape.com
bfe911f7a6 Added NS_IMPL_AGGREGATED_QUERY_HEAD macro.
git-svn-id: svn://10.0.0.236/trunk@57305 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 23:14:32 +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
dp%netscape.com
df2b12b22b Adding comments to explain shutdown further.
git-svn-id: svn://10.0.0.236/trunk@57291 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 21:26:00 +00:00
duncan%be.com
f02ebdc5fa Fix BeOS build by making changing nsResProtocolHandler.cpp like
Windows and Mac, and fix a couple nsSpecialSystemDirectory bugs.
All the changes are BeOS specific (i.e. wrapped in XP_BEOS or
only used by code wrapped in XP_BEOS).
r=mcafee


git-svn-id: svn://10.0.0.236/trunk@57190 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 09:09:02 +00:00
waterson%netscape.com
172e3ec6cc Bug 23297. Munged patch from Franz.Sirl-kernel@lauterbach.com; simplify and clean up code. r=waterson or r=Franz.Sirl-kernel@lauterbach.com, depending on how you look at it.
git-svn-id: svn://10.0.0.236/trunk@57130 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 00:30:08 +00:00
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