Commit Graph

3099 Commits

Author SHA1 Message Date
beard%netscape.com
19afa18999 bustage fix. r=dougt 2000-01-25 22:35:47 +00:00
mscott%netscape.com
52e7ef4deb filesize bustage. dougt's fix, r=shaver@mozilla.org 2000-01-25 21:41:00 +00:00
ssu%netscape.com
ad510b294a Change the name of the current process directory to match that of the
directory service.  dougt's change r=ssu a=granrose
2000-01-25 20:46:02 +00:00
ssu%netscape.com
cbeb05e698 Fixing up directory service so that the current process will be looked up
before being calculated.

Changed this GetProcessDirectory to return an allocated nsIFile.

Making sure that object stored in the nsHashtable are not muteable.

dougt's changes.  r=ssu.  a=granrose.
2000-01-25 20:43:47 +00:00
wtc%netscape.com
adb2c3f5c4 Bugzilla bug #17101: added plevent.h (same as
mozilla/nsprpub/lib/ds/plevent.h, revision 3.12) and plevent.c
(same as mozilla/nsprpub/lib/ds/plevent.c, revision 3.36) to
mozilla/xpcom/threads.  These two new files have not been added
to the makefiles or project file, so they are not picked up by
the build.
2000-01-25 14:48:51 +00:00
sspitzer%netscape.com
5cdaa13c07 ignore the generated executable 2000-01-25 06:54:39 +00:00
dougt%netscape.com
0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
jdunn%netscape.com
7f1a8f6ba8 #= jdunn@netscape.com 2000-01-24 15:59:26 +00:00
warren%netscape.com
5439dac668 Fix for bugs 24008 and 23849 -- needed to keep mSegmentEnd and mWriteCursor in sync for out-of-memory case. a=chofmann r=fur,gordon 2000-01-21 23:16:35 +00:00
jdunn%netscape.com
ab0b188028 Enable Optimized builds on HPUX
# 18875
r= pepper@netscape.com
a= chofmann@netscape.com
2000-01-21 03:17:50 +00:00
putterman%netscape.com
3295d7781f Fix for 24362. Status bar gets updated message counts. a=chofmann. r=dp and jband. 2000-01-20 22:57:08 +00:00
bienvenu%netscape.com
b4ed4bbdc9 fix crash on win98 with funny file names, r=dougt 23578 2000-01-19 07:29:33 +00:00
jj%netscape.com
18de736423 #24312: bumped up memory partition of RegXPCom from 10 to 16 Mb. (now set in RegXPCom.mcp prefs instead of -obsolete- RegXPCom.rsrc) r=sfraser 2000-01-19 02:01:02 +00:00
jj%netscape.com
f66336369e File Removed. 2000-01-19 01:57:18 +00:00
jdunn%netscape.com
175ee75c0d fix the 'this' adjustment, AIX uses CFRONT while gcc on ppc uses the other one
#= 24305
r= jdunn@netscape.com - I know this is me, but this is an AIX only bug.  jband
   talked me through the fix
2000-01-19 01:19:26 +00:00
scc%netscape.com
80984495ad Fixing runtime assert bustage. r=pinkerton 2000-01-19 01:18:27 +00:00
waterson%netscape.com
dde56e71e8 Make ResolveSymLink() fail silently if target was not a shortcut. r=lumpy 2000-01-19 00:35:01 +00:00
scc%netscape.com
cf8ef31b63 replace |nsVector| with |nsVoidArray| as per bug #11666. r=dp 2000-01-18 23:03:29 +00:00
scc%netscape.com
cb4567b4c8 replaced |nsVector| with |nsVoidArray| as per bug #11666. r=brendan 2000-01-18 22:19:52 +00:00
rickg%netscape.com
1e1d20f88e bug24015; r=rods a=chofmann 2000-01-18 21:06:05 +00:00
jband%netscape.com
4ab84070fb Not part of build. Updating status page 2000-01-18 08:19:27 +00:00
mccabe%netscape.com
3924a1c44a 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
2000-01-18 05:16:48 +00:00
sford3%swbell.net
b2c319eae7 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi 2000-01-17 22:32:13 +00:00
sfraser%netscape.com
91facce6a5 Add nsTextFormatter.cpp, for sford 2000-01-17 22:12:20 +00:00
sfraser%netscape.com
a3536e8c1d Add nsTextFormatter.h, for sford 2000-01-17 22:12:12 +00:00
sford3%swbell.net
ab6a38b233 Beginning of work on 16951, not part of build yet 2000-01-17 06:33:59 +00:00
beard%netscape.com
ccbba8bc22 bug fix for bug #11199, should remove partially created output file. 2000-01-17 04:13:05 +00:00
dougt%netscape.com
781a91974d fixes bug 24122. submitted by beard. 2000-01-16 23:30:33 +00:00
briano%netscape.com
9506fe0682 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
4090a10b2b 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
eeccc4859d 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
b0ba1f5b70 Fix 18592 Fix example: XPCom components cannot be used under
r=mstoltz
2000-01-14 00:03:46 +00:00
jdunn%netscape.com
2a12ec9360 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
8ebdc7fd46 Fix to deal with arrays of interface pointers. r=mccabe 2000-01-13 05:54:40 +00:00
scc%netscape.com
a2dea03069 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
153998843d 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
0fc0a0709f 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
07b2669fa3 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
56eb32a7ae Reverting const-generation code that seems to be trouble for Solaris. 2000-01-12 03:34:30 +00:00
sfraser%netscape.com
af46cbd1b9 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
e3377a41b5 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
98fc705a06 added files: mozilla/xpcom/typelib/xpidl/xpidl_util.c 2000-01-12 01:47:05 +00:00
mccabe%netscape.com
4c9d90c5c7 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
0a65311418 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
370313154b 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
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
pp%ludusdesign.com
698852a4f4 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
4f34e05855 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
cb0c532e85 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
cf1e6b2be9 Added NS_IMPL_AGGREGATED_QUERY_HEAD macro. 2000-01-10 23:14:32 +00:00
dp%netscape.com
61b99b3b63 On Shutdown let servicemanager be available until the xpcom shutdown
observers are notified.
2000-01-10 21:26:56 +00:00
dp%netscape.com
d6283aff87 Adding comments to explain shutdown further. 2000-01-10 21:26:00 +00:00
duncan%be.com
be3945ad99 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
c89ee29031 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
bbb40e6dd7 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
91ee8e32c4 Fixed Has method as per Doug's request. 2000-01-06 23:02:32 +00:00
waterson%netscape.com
619d700ee4 Bug 21472. Use only strict relationals with LL_CMP(). r=brendan 2000-01-06 20:22:29 +00:00
dougt%netscape.com
d887958ad4 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
bfc6760bd6 Fix for bug 22933 submitted by jonas.utterstrom@vittran.norrnod.se. r=dougt. 2000-01-06 19:46:44 +00:00
briano%netscape.com
35a9a5201b 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
890a0d3da8 Fix for _optimized_ nightly Solaris 2.6 builds. 2000-01-06 02:06:56 +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
mcafee%netscape.com
29f5443a16 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
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
warren%netscape.com
b17760cea8 Added .get() to fix unix breakage. 2000-01-05 10:59:25 +00:00
warren%netscape.com
570a306175 Obsoleted old file. 2000-01-05 10:27:32 +00:00
warren%netscape.com
54dd55cddc Made nsIProperties scriptable. 2000-01-05 09:33:43 +00:00
warren%netscape.com
06918ca494 Made nsIProperties scriptable. Bug #21982 2000-01-05 09:29:25 +00:00
warren%netscape.com
e07863e48c Added OnClose method to nsIPipeObserver (bug#23080) 2000-01-05 05:07:46 +00:00
sdagley%netscape.com
a3cedcb874 Fix build bustage - warren obsoleted nsPipe2.h but didn't update the manifest 2000-01-05 04:57:12 +00:00
warren%netscape.com
6fee6622fd Removed nsPipe2.h -- obsolete. 2000-01-05 03:56:47 +00:00
dougt%netscape.com
bbba930444 *** empty log message *** 2000-01-04 00:50:08 +00:00
sspitzer%netscape.com
3a7dedd313 turn off assertions until dougt fixes #22943. r=dougt 2000-01-04 00:14:37 +00:00
dougt%netscape.com
a3dfcdfd49 Adding explict includes. 2000-01-03 23:50:19 +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
warren%netscape.com
538b2ca40f Breaking out persistent properties from nsIProperties.h. 1999-12-29 20:55:42 +00:00
warren%netscape.com
9531c0b6ae Added nsIStopwatch for timing analysis. 1999-12-29 20:54:13 +00:00
warren%netscape.com
c3c3652080 Added new logging service to replace PR_LOG. 1999-12-29 20:53:17 +00:00
bryner%uiuc.edu
717cbdd7e2 Fix a warning. r=mcafee. 1999-12-28 20:26:56 +00:00
sspitzer%netscape.com
fbd97e9856 fix warnings. 1999-12-28 19:37:29 +00:00
sspitzer%netscape.com
17c627bc23 fix warning for scc. 1999-12-24 03:42:54 +00:00
idk%eng.sun.com
c3a75ec8af Addon to my last checkin.
sorry
1999-12-23 01:26:39 +00:00
idk%eng.sun.com
f710b056f5 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
1999-12-23 01:16:05 +00:00
dougt%netscape.com
fec1d697e4 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.
1999-12-22 04:11:13 +00:00
dougt%netscape.com
b5b2844b63 implement load().
not part of build.
1999-12-22 03:01:08 +00:00
dougt%netscape.com
0ac3ce03e5 adding a load() command which will allow loading of libraries.
not part of build
1999-12-22 02:59:01 +00:00
dougt%netscape.com
34d3726653 removing unneeded header file.
not part of build.
1999-12-22 01:58:25 +00:00
vidur%netscape.com
5a82d25d66 Added IID for nsIDOMHTMLFormControlList. a=dagley r=nisheeth 1999-12-22 01:57:28 +00:00
dougt%netscape.com
95f50f9301 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.
1999-12-22 01:56:45 +00:00
dougt%netscape.com
8b081cae4b removing nsIFile stuff from the windows makefile for now. a=sdagley. 1999-12-22 01:50:30 +00:00
dougt%netscape.com
7b6cb1119f fix for 16273. r=valeski, a=sdagley. 1999-12-22 01:47:59 +00:00
rickg%netscape.com
1c48bc0daa fixed bug in compressChars2 where logic to test for ascii range was reversed; r=buster; a=jar 1999-12-21 07:49:34 +00:00
valeski%netscape.com
f182a466ac a=chofmann, 21783. inverted parameter validation checks have been corrected. 1999-12-21 03:00:54 +00:00
briano%netscape.com
14b191325e NetBSD/arm-specific build bustage fix. The underlying problem _seems_ to be with ld, but I've been wrong before.... 1999-12-21 01:39:12 +00:00
waterson%netscape.com
f15c00b036 Bug 22212. Re-enable observer service weak ref stuff, now that a good fix is in for PageCycler. a=chofmann 1999-12-21 00:12:25 +00:00
dougt%netscape.com
bad2d6b476 Adding back the assert since I fixed the problem in the GTK appshell. 1999-12-20 23:12:18 +00:00
waterson%netscape.com
f0008a0cf9 Reverting scc's changes until we can sort out the browser buster stuff. a=chofmann 1999-12-20 22:13:33 +00:00
scc%netscape.com
e765050567 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} 1999-12-19 17:14:47 +00:00
sspitzer%netscape.com
cc7ea1bbf1 make it so dougt's assertions only happen for him.
there is no reason the whole world should see a billion printfs.
1999-12-18 10:17:09 +00:00
briano%netscape.com
3eeeee81a2 Now FreeBSD/alpha and NetBSD/alpha builds can use the Linux/alpha code. 1999-12-18 03:43:19 +00:00
jdunn%netscape.com
b50bf4c0c4 Fix the AIX xptcall work
a= chofmann
# 18692
1999-12-15 19:01:53 +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
dougt%netscape.com
b322930c74 Speeds up the product by removing calls to PR_Sleep() in favor of PR_WaitForEvent().
This really rocks.  r=valeski, a=jar.
1999-12-15 04:49:55 +00:00
valeski%netscape.com
7eda757e29 21723. a=chofmann, r=warren. earlier this week segment size and max size parameters were exposed to higher level consumers of necko apis. this change warns a user if they try to create a pipe w/ zero len segs and max sizes. pipes are useless without sizes 1999-12-14 22:08:40 +00:00
valeski%netscape.com
2f303433fa 21723. a=chofmann, r=rpotts. Laying ground work for FTP checkin. This fixes an oppressive event queue api method. We weren't returning the event to be processed. subsequently the event was being lost. There are currently *no* users of this method in the tree. 1999-12-14 22:06:17 +00:00
briano%netscape.com
9587f6dc46 Final portion of the fix for bug 20882. Just a cleaner way of doing what is already being done. 1999-12-14 00:56:50 +00:00
dougt%netscape.com
0a71a2d506 Added an assert and return so that eventQs only get
processed on the owning thread.  This fixes at least
18005 and 17065.  r=damn@netscape.com, a=chofmann.
1999-12-13 23:05:31 +00:00
mccabe%netscape.com
0666068a75 Fix to 21512.
Added big note saying 'please disable security before trying to run
this' so nobody gets frustrated.

Updated sample component progid reference to actually match the .cpp.
Now the page actually works!  (John Morrison
<3jrgm@qlink.queensu.ca> caught this in mozilla.xpcom)

Thanks to Rick Bradley <roundeye@bellsouth.net> for pointing me to the
problem, and for encouraging me to add a note.

r=mccabe.  Not part of the build.
1999-12-12 05:41:29 +00:00
bienvenu%netscape.com
5b31932b02 fix file truncation on windows, was breaking pop filters, r=dougt, a=chofmann 20634 1999-12-10 23:33:30 +00:00
warren%netscape.com
7d4fa072a5 Fix for leak/bloat stats going negative. a=jar 1999-12-10 04:27:52 +00:00
kin%netscape.com
3308275ef6 Fix for bug #21317: UMR: nsCAutoString::=(nsCAutoString const&)
Added nsCAutoString& operator=(nsCAutoString&).
r=rickg@netscape.com a=chofmann@netscape.com
1999-12-09 22:53:52 +00:00
shaver%netscape.com
a4cd86a287 fix leaf of registryName (#21068, r=beard, a=leaf) 1999-12-09 00:01:46 +00:00
sdagley%netscape.com
d17bcebfe3 First Checked In. 1999-12-08 07:56:17 +00:00
fur%netscape.com
edbc3a53e1 Need to reset pointers within segment after realloc, since segment base
may have changed.
1999-12-08 06:28:44 +00:00
rginda%netscape.com
f5f06fba37 Fix for unix bustage, r=scc@netscape.com 1999-12-08 06:14:33 +00:00
scc%netscape.com
2645d4a68f Changes to make observer lists hold only weak references. This code is disabled by default; enabled by the symbol |NS_WEAK_OBSERVERS|. The code will remain disabled until two underlying ownership bugs are fixed: hanging the wallet service from something permanent, and finding the observer someone is registering through XPConnect that does not support weak references. bug#=18682; r=dp 1999-12-08 05:24:14 +00:00
dougt%netscape.com
ac4e013485 turning on nsIFile for windows. 13320 1999-12-08 05:14:54 +00:00
norris%netscape.com
af18497222 I ran Purify and found this:
>
> [E] ABR: Array bounds read in
> nsFileSpecHelpers::UnixToNative(nsSimpleCharString&) {48 occurrences}
>     Reading 1 byte from 0x03f00b2c (1 byte at 0x03f00b2c illegal)
>     Address 0x03f00b2c is 1 byte past the end of a 268 byte block at
> 0x03f00a20
>     Address 0x03f00b2c points to a malloc'd block in heap 0x03c30000
>     Thread ID: 0x9c
>     Error location
>         nsFileSpecHelpers::UnixToNative(nsSimpleCharString&)
> [nsFileSpecWin.cpp:111]
>                     src = (char*)ioPath;
>
>                     // Convert '/' to '\'.
>              =>     while (*++src)
>                     {
>                         if (*src == '/')
>                             *src = '\\';
>         nsFileSpec::+=(char const*) [nsFileSpecWin.cpp:394]
>         nsChromeRegistry::CheckForProfileFile(nsCAutoString
> const&,nsCAutoString&) [nsChromeRegistry.cpp:1278]
>         nsChromeRegistry::LoadDataSource(nsCAutoString const&,nsIRDFDataSource
> * *,int) [nsChromeRegistry.cpp:713]
>
> nsChromeRegistry::InitializeDataSource(nsString&,nsString&,nsIRDFDataSource *
> *,int) [nsChromeRegistry.cpp:784]
>         nsChromeRegistry::ConvertChromeURL(nsIURI *)
> [nsChromeRegistry.cpp:527]
>         nsChromeProtocolHandler::NewChannel(char const*,nsIURI *,nsILoadGroup
> *,nsIInterfaceRequestor *,UINT,nsIURI *,UINT,UINT,nsIChannel * *)
> [nsChromeProtocolHandler.cpp:371]
>         nsIOService::NewChannelFromURI(char const*,nsIURI *,nsILoadGroup
> *,nsIInterfaceRequestor *,UINT,nsIURI *,UINT,UINT,nsIChannel * *)
> [nsIOService.cpp:250]
>         nsDocumentOpenInfo::Open(nsIURI *,int,char const*,nsISupports *,nsIURI
> *,nsIInputStream *,nsISupports *,nsISupports * *) [nsURILoader.cpp:168]
>         nsURILoader::OpenURIWithPostDataVia(nsIURI *,int,char
> const*,nsISupports *,nsIURI *,nsIInputStream *,nsISupports *,nsISupports *
> *,UINT) [nsURILoader.cpp:418]
>     Allocation location
>         malloc         [dbgheap.c:129]
>         PR_Malloc      [prmem.c:38]
>         nsSimpleCharString::ReallocData(UINT) [nsFileSpec.cpp:248]
>         nsSimpleCharString::CopyFrom(char const*,UINT) [nsFileSpec.cpp:167]
>         nsSimpleCharString::nsSimpleCharString(char const*)
> [nsFileSpec.cpp:60]
>         nsFileSpecHelpers::UnixToNative(nsSimpleCharString&)
> [nsFileSpecWin.cpp:104]
>         nsFileSpec::+=(char const*) [nsFileSpecWin.cpp:394]
>         nsChromeRegistry::CheckForProfileFile(nsCAutoString
> const&,nsCAutoString&) [nsChromeRegistry.cpp:1278]
>         nsChromeRegistry::LoadDataSource(nsCAutoString const&,nsIRDFDataSource
> * *,int) [nsChromeRegistry.cpp:713]
>
> nsChromeRegistry::InitializeDataSource(nsString&,nsString&,nsIRDFDataSource *
> *,int) [nsChromeRegistry.cpp:784]
>
> which is fixed by this patch.
1999-12-08 02:53:37 +00:00
dougt%netscape.com
8b94c587f9 removing MoveToFollowingLinks(). It was discussed that was not needed due
to links being broken. r=shaver

more tweeks to get symlinks working correct on windows.

not part of the build yet.
1999-12-08 02:07:38 +00:00
dp%netscape.com
924289af27 Using ShutdownGlobalServiceManager() for servicemanager shutdown. r=putterman@netscape.com 1999-12-08 02:03:25 +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
e2bc0e3623 Removing usage of nsComponentManager.h r=selmer 1999-12-08 01:59:32 +00:00
dp%netscape.com
3ec8ca8250 Removing nsComponentManager.h from export 1999-12-08 01:58:30 +00:00
scc%netscape.com
964ca8227e Fix specialized |CallQueryInterface| as per review by travis ... r=travis. 1999-12-08 01:44:06 +00:00
scc%netscape.com
9c8ee3253d |NS_REINTERPRET_CAST| might try to adjust pointers on machines where it turns into an old-style cast. Fix that by first casting to |void*|. r=alecf. 1999-12-08 01:41:28 +00:00
beard%netscape.com
ddd1c99054 took out calls to NS_InitGarbageCollector() & NS_ShutdownGarbageCollector() which are now supplanted by internal NSPR versions. r=gordon, bug #15906 1999-12-08 00:13:13 +00:00
dougt%netscape.com
e966a61f6c 13320 more tweaking to nsIFile windows impl.
not part of build yet.
1999-12-07 23:31:25 +00:00
sdagley%netscape.com
548e71bc93 Part of #17949. nsLocalFileMac work. Not part of build yet. 1999-12-07 22:26:51 +00:00
alecf%netscape.com
99960a45d7 behave like one might expect in the case of passing null the nsCRT::strcmp when passing NULL
review & discussed with brendan, shaver
1999-12-07 22:10:31 +00:00
scc%netscape.com
5418875579 and there's another instance of the build-busting old cast still in the file 1999-12-07 15:51:21 +00:00
scc%netscape.com
6241344e4a Mis-spelled one of two instances of |NS_REINTERPRET_CAST|, in the same line yet. Damn :-( 1999-12-07 15:26:41 +00:00
scc%netscape.com
a97b180b50 Attempting to fix build bustage. Looks like a compiler bug (since |TestObserver| isn't a base class of |nsISupports| in any way, at least the error message has got to be wrong). 1999-12-07 14:46:35 +00:00
scc%netscape.com
8c4ec2ebea Adding an alternate version of |CallQueryInterface| as an experiment on behalf of travis. This function is not yet called, and should not effect the build or the runtime. r=hyatt 1999-12-07 14:09:29 +00:00
scc%netscape.com
db5cd594e2 Make observers support weak references. Bug #18682; r=dp. 1999-12-07 14:06:36 +00:00
rickg%netscape.com
a3187e2ff2 fixed bug in nsStr::Compare(); r=dveditz (who also found the bug) 1999-12-07 09:52:43 +00:00
jband%netscape.com
1194158582 fixing the last modified date - not part of the build 1999-12-07 08:23:01 +00:00
jband%netscape.com
381a2e39c4 updating xptcall status - not part of the build 1999-12-07 08:21:31 +00:00
sfraser%netscape.com
ef6b5d0398 Make sure that all warnings just printf on Mac, and don't dump you into MacsBug. r=pinkerton 1999-12-07 07:21:30 +00:00
jband%netscape.com
2eaaa4083b adding member initializer to quiet Purify. r=waterson. 1999-12-07 07:17:44 +00:00
sdagley%netscape.com
7441795597 nsStorageStream.h is needed by nkcache. Doesn't affect builds 1999-12-07 06:04:13 +00:00
waterson%netscape.com
4a77047af4 Pretty up Franz Sirl's code; fix STUB_ENTRY() macro to use r12 as the register in which the method index is passed; r4 is used for passing the first parameter! r=beard@netscape.com (actually, most of the work was beard!) 1999-12-07 02:05:54 +00:00
mscott%netscape.com
2266405677 Fix build breakage for Travis. 1999-12-07 00:15:42 +00:00
fur%netscape.com
8913af32b1 Export nsStorageStream.h 1999-12-07 00:05:37 +00:00
tbogard%aol.net
2bc8f99632 Changed the way Assertion works. Get ready to remove all the old assertions methods. NS_ASSERTION now works the same way it used with the exception that on Windows it will put up and abort, retry, ignore box if you aren't in the debugger. r=warren. 1999-12-06 23:34:48 +00:00
waterson%netscape.com
6c4c4c53a4 Patches from Franz.Sirl-kernel@lauterbach.com. Get xptcall limping along on PPC/Linux. 1999-12-06 04:48:02 +00:00
erik%netscape.com
b1ccfbf911 Grabbing the next ID. Does not affect build. 1999-12-05 02:14:46 +00:00
valeski%netscape.com
8b33681727 r=mcafee. 20677 assistance. we now have a scriptable input stream for js 1999-12-04 20:31:38 +00:00