Граф коммитов

2977 Коммитов

Автор SHA1 Сообщение Дата
sford3%swbell.net 948579bb84 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi 2000-01-17 22:32:13 +00:00
sfraser%netscape.com a9c728b7b8 Add nsTextFormatter.cpp, for sford 2000-01-17 22:12:20 +00:00
sfraser%netscape.com 65e012f1a2 Add nsTextFormatter.h, for sford 2000-01-17 22:12:12 +00:00
sford3%swbell.net 62521a6fe7 Beginning of work on 16951, not part of build yet 2000-01-17 06:33:59 +00:00
beard%netscape.com 6563137c80 bug fix for bug #11199, should remove partially created output file. 2000-01-17 04:13:05 +00:00
dougt%netscape.com fe9670e2a8 fixes bug 24122. submitted by beard. 2000-01-16 23:30:33 +00:00
briano%netscape.com 4320e5df28 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. 2000-01-16 22:52:57 +00:00
dougt%netscape.com a378ec8f5d Making event handler callbacks static.
removing lock during XPT invoke

suggested by jband.  bug 18110.
2000-01-14 05:03:29 +00:00
jst%citec.fi 488f470ab0 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. 2000-01-14 00:06:57 +00:00
norris%netscape.com 1fb1fa891f Fix 18592 Fix example: XPCom components cannot be used under
r=mstoltz
2000-01-14 00:03:46 +00:00
jdunn%netscape.com c54ee06f54 use C style comments and not C++
r= scc@netscape.com
a= leaf@mozilla.org
2000-01-13 23:06:47 +00:00
jband%netscape.com f195ece4f9 Fix to deal with arrays of interface pointers. r=mccabe 2000-01-13 05:54:40 +00:00
scc%netscape.com fc8ef76eff macros and defs to removed conditional definition of |GetIID()| within |nsISupports|. r=beard, (waterson?), bug=10477 2000-01-13 05:48:47 +00:00
pinkerton%netscape.com b81e3728d4 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. 2000-01-13 02:00:57 +00:00
scc%netscape.com c6003b78d0 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} 2000-01-12 16:01:14 +00:00
mccabe%netscape.com b449e8c950 Reinstating backed-out fix to 20833 from earlier, this time with a change that seems to work on solaris and mac. 2000-01-12 13:33:40 +00:00
mccabe%netscape.com 4dd2f64a77 Reverting const-generation code that seems to be trouble for Solaris. 2000-01-12 03:34:30 +00:00
sfraser%netscape.com 937563cc1d Fixing bustage by ensuring that xpidl_utils.c is only in the compiler target. r=mccabe 2000-01-12 03:09:33 +00:00
mccabe%netscape.com 45afa7226c changing #include "xpt_stuct.h" to <xpt_struct.h> b/c I don't think Mac is finding the file. 2000-01-12 02:48:06 +00:00
mccabe%netscape.com 9527a2f3b0 added files: mozilla/xpcom/typelib/xpidl/xpidl_util.c 2000-01-12 01:47:05 +00:00
mccabe%netscape.com 48be8a9795 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
2000-01-12 01:46:21 +00:00
dougt%netscape.com ac1bf5f7e1 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.
2000-01-12 01:26:11 +00:00
jdunn%netscape.com bf9205fff0 Fix slamm's warnings of shadowing previous variables.
r= rhp@netscape.com
r= warren@netscape.com
r= rpotts@netscape.com
2000-01-12 00:54:10 +00:00
dp%netscape.com c2dce021e3 Implementing access to servicemanager from component manager via
nsIInterfaceRequestor. r=scc
2000-01-11 22:54:46 +00:00
dp%netscape.com 9a62ae9b19 Providing register and unregister hook per component in the generic
module. r=alecf
2000-01-11 21:18:55 +00:00
pp%ludusdesign.com 13efd9e8c6 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
cls%seawood.org 9f3b874745 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.
2000-01-11 05:13:01 +00:00
jdunn%netscape.com 157f231d1d 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
2000-01-11 01:45:34 +00:00
warren%netscape.com 4f8a16eb71 Added NS_IMPL_AGGREGATED_QUERY_HEAD macro. 2000-01-10 23:14:32 +00:00
dp%netscape.com 0a2e3a9e8d On Shutdown let servicemanager be available until the xpcom shutdown
observers are notified.
2000-01-10 21:26:56 +00:00
dp%netscape.com 7651f79108 Adding comments to explain shutdown further. 2000-01-10 21:26:00 +00:00
duncan%be.com 6db56b6d39 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
2000-01-08 09:09:02 +00:00
waterson%netscape.com 7606f3b31e 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. 2000-01-08 00:30:08 +00:00
jband%netscape.com 8e5c753268 Allow generic module stuff to work with singletons. Needed to fix bug 22922. r=dp 2000-01-07 02:18:13 +00:00
warren%netscape.com 2c8ca31281 Fixed Has method as per Doug's request. 2000-01-06 23:02:32 +00:00
waterson%netscape.com 98437c29b9 Bug 21472. Use only strict relationals with LL_CMP(). r=brendan 2000-01-06 20:22:29 +00:00
dougt%netscape.com 8b3220b6ec fix for 22943. removing xp-mac specific code from xp interface, enabling asserts
on the mac. r= sdagley
2000-01-06 20:08:14 +00:00
dougt%netscape.com d186802516 Fix for bug 22933 submitted by jonas.utterstrom@vittran.norrnod.se. r=dougt. 2000-01-06 19:46:44 +00:00
briano%netscape.com 02ceca697e Backed out the Solaris fix, because Linux doesn't like it. It may be that -z allextract and -Wl,--whole-archive behave differently. 2000-01-06 03:06:22 +00:00
briano%netscape.com 478dea0c38 Fix for _optimized_ nightly Solaris 2.6 builds. 2000-01-06 02:06:56 +00:00
mscott%netscape.com 90d81e1f2b 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 b564edee86 Fixing linux bustage. 2000-01-06 01:16:42 +00:00
mcafee%netscape.com f9d2f2b7a7 plvector.c is a C file, this was linking incorrectly on optimized solaris. r=briano 2000-01-06 01:12:25 +00:00
edburns%acm.org 507ee16e37 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 bd6ee38333 Fixed xpcom shutdown to disallow reconstruction of the global service manager. r=dp 2000-01-06 00:34:38 +00:00
warren%netscape.com 8fd81e1091 Added .get() to fix unix breakage. 2000-01-05 10:59:25 +00:00
warren%netscape.com 8acd5ba06b Obsoleted old file. 2000-01-05 10:27:32 +00:00
warren%netscape.com 40a7870948 Made nsIProperties scriptable. 2000-01-05 09:33:43 +00:00
warren%netscape.com 26b7d345a1 Made nsIProperties scriptable. Bug #21982 2000-01-05 09:29:25 +00:00
warren%netscape.com 04decf0f8c Added OnClose method to nsIPipeObserver (bug#23080) 2000-01-05 05:07:46 +00:00