5826 Commits

Author SHA1 Message Date
neeti%netscape.com
1806c8fb3d fix for bug 150156 - nsIFile's moveTo method does not overwrite existing files,r=dougt@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@133747 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 14:04:51 +00:00
brendan%mozilla.org
e359510677 Fix up comments, overlong lines, NULL in C code, slight code simplification in log_filename (r/sr=blythe/dbaron).
git-svn-id: svn://10.0.0.236/trunk@133734 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 04:40:17 +00:00
brendan%mozilla.org
1a91c38fee Make enumeration const unless PL_DHASH_REMOVE is returned by the etor callback; improve several comments (174859, r=waterson, sr=beard).
git-svn-id: svn://10.0.0.236/trunk@133733 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 04:35:37 +00:00
timeless%mozdev.org
77c17c0cae Bug 179778 regExport accesses argv[1] before checking argc==1
r=dougt sr=bz


git-svn-id: svn://10.0.0.236/trunk@133728 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 03:58:38 +00:00
pkw%us.ibm.com
0a3cfbf6ce Fix xptcinvoke code on AIX when compiling in 64-bit mode. Specifically,
passing PRBools through xptcinvoke was broken.
Bug 178499: r=jdunn, sr=jst


git-svn-id: svn://10.0.0.236/trunk@133684 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:38:15 +00:00
bienvenu%netscape.com
1f41cbc610 turn on fix for flush on unix as well, r=dmose, sr=sspitzer 142196
git-svn-id: svn://10.0.0.236/trunk@133619 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 02:55:08 +00:00
bienvenu%netscape.com
6f196c1018 fix problem with summary files on network drives getting out of date, r=cavin, sr=sspitzer, 142196 (make nsIOFileStream::flush really flush)
git-svn-id: svn://10.0.0.236/trunk@133605 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 00:59:10 +00:00
bzbarsky%mit.edu
517741de81 Fix assertion from out-of-bounds array access. Bug 175440, r=timeless, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@133492 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 17:43:33 +00:00
alecf%netscape.com
1c16ef7f73 argh, back out my last checkin because Ts went UP not down!
git-svn-id: svn://10.0.0.236/trunk@133447 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 01:31:32 +00:00
jkeiser%netscape.com
4f05bade61 Fix copyright date. Bug 133354.
git-svn-id: svn://10.0.0.236/trunk@133443 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 01:03:36 +00:00
alecf%netscape.com
aac40e7aa5 fix for bug 177401 - use nsAString& classes instead of wstring in nsIBinaryInputStream, to speed up fastload startup
sr=darin, r=dougt


git-svn-id: svn://10.0.0.236/trunk@133429 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 23:30:53 +00:00
ccarlen%netscape.com
152baeb1b3 Bug 177059 Mach-0 nsLocalFile::GetFileSize sometimes fails for directories. Patch by sfraser. r=ccarlen/sr=bryner
git-svn-id: svn://10.0.0.236/trunk@133401 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 15:03:06 +00:00
timeless%mozdev.org
cb71555d70 fixing comment about PRUnichar* ToNewUnicode
rs=brendan


git-svn-id: svn://10.0.0.236/trunk@133395 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 11:43:58 +00:00
dougt%netscape.com
68814c1e49 175932. UMR: PostTimerEvent() does not check return value from GetPRThread(). Thanks to Andrew Schultz for pointing this out. r=pavlov, sr=darin. Also includes 175440 - using nsCOMArray in nsThreadPool, patch by bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@133374 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 04:46:58 +00:00
bzbarsky%mit.edu
9d0e916e54 Make the nsCOMArray destructor release all the objects. Bug 178813,
r=bbaetz, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@133295 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 13:34:18 +00:00
mkaply%us.ibm.com
51791385f5 #177543
r=me, sr=bz
OS/2 build bustage - add explicit casts


git-svn-id: svn://10.0.0.236/trunk@133258 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 04:48:56 +00:00
jaggernaut%netscape.com
45feb50d64 Bug 178701: make source in FindInReadable be const. r=alecf, sr=scc
git-svn-id: svn://10.0.0.236/trunk@133192 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 21:11:24 +00:00
seawood%netscape.com
bc91143746 Fix pointer casting for AIX 64-bit builds.
Thanks to Philip K. Warren <pkw@us.ibm.com> for the patch.
Bug #177906 r=cls sr=scc


git-svn-id: svn://10.0.0.236/trunk@133191 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 21:07:23 +00:00
timeless%mozdev.org
1a0485e477 Bug 174004 nsTextFormatter.cpp comment stolen from prprf.c should be removed
comment only change


git-svn-id: svn://10.0.0.236/trunk@133155 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 14:57:41 +00:00
dbaron%fas.harvard.edu
2df075502a Make NS_INIT_ISUPPORTS empty by moving NS_INIT_OWNINGTHREAD into the constructor of a new class, |nsAutoOwningThread|. Deprecate NS_INIT_ISUPPORTS. b=174225 r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@133154 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 13:09:20 +00:00
bzbarsky%mit.edu
6f34f01f3d nsCOMArray_base copy constructor should not assert. Bug 178534,
r=dougt, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@133068 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 02:00:50 +00:00
bzbarsky%mit.edu
cb39275066 Look at $TMP and $TEMP, not just $TEMPDIR. Bug 176887, r=timeless, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@133066 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 01:56:00 +00:00
ccarlen%netscape.com
80957cfc91 Bug 173311 - RealPlayer One 9.0b2 plugin causes crash at startup for Mach-0 build because of symlink (alias) handling problems. r=bnesse/sr=sfraser/a=dbaron
git-svn-id: svn://10.0.0.236/trunk@132820 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-01 15:45:38 +00:00
dougt%netscape.com
26edb1d662 177063. Linux segmentation fault at startup using xpcom glue. r=alecf, sr=jag, a=roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@132705 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 14:13:00 +00:00
dougt%netscape.com
8ad50dc8b8 177173 - Exports required string headers to SDK, r=jag, sr=alecf, a=robert@ocallahan.org
git-svn-id: svn://10.0.0.236/trunk@132704 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 14:11:03 +00:00
dougt%netscape.com
41176a6325 fix to make unregistering a category work. r=rginda, sr=dveditz, b=177176 m a=robert@ocallahan.org
git-svn-id: svn://10.0.0.236/trunk@132668 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 00:57:40 +00:00
shanjian%netscape.com
6ca97a5e22 #172700 NS_ConvertUTF8ToUCS2() surrogates buffer overflow
allocate enough space for surrogate.
p=jgmyers, r=shanjian, sr=dbaron, a=blizzard


git-svn-id: svn://10.0.0.236/trunk@132607 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-28 22:56:03 +00:00
timeless%mozdev.org
afc4689ea0 Bug 155696 MOZ_PLUGIN_PATH should support colon-delimited PATH syntax
r=ccarlen sr=shaver a=dbaron


git-svn-id: svn://10.0.0.236/trunk@132526 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 13:08:44 +00:00
bzbarsky%mit.edu
31e4da2ff8 Add AppendObjects/InsertObjectsAt to nsCOMArray. Bug 175137,
r=timeless, sr=alecf, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@132489 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 01:40:50 +00:00
bzbarsky%mit.edu
36a419cd5a need to NS_INIT_ISUPPORTS to prevent thresafety assertions. bug 175437,
r=timeless, sr=alecf, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@132422 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 01:03:00 +00:00
dougt%netscape.com
ce6206ecf0 Attempting to fix the bustage on os2, beos, linux/ppc
git-svn-id: svn://10.0.0.236/trunk@132234 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 13:36:32 +00:00
brendan%mozilla.org
98bcebb648 Fix glitch in comment (no code changes).
git-svn-id: svn://10.0.0.236/trunk@132218 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 05:26:02 +00:00
dougt%netscape.com
3c121c69da Final fix. This is the way this patch should have landed. including nsXPIDLCString when XPCOM_GLUE is defined is not a good idea
git-svn-id: svn://10.0.0.236/trunk@132217 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 03:46:04 +00:00
dougt%netscape.com
515648f5b0 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@132216 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 03:32:59 +00:00
dougt%netscape.com
1ab0d65c92 Backing out my last attempt since I believe that the problem is with the cvs mirrors
git-svn-id: svn://10.0.0.236/trunk@132213 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 02:36:28 +00:00
dougt%netscape.com
c6c64afe9b Adding nsReadableUtils.cpp to the string glue code. This is required for StringAllocator. Fix for linux build bustage
git-svn-id: svn://10.0.0.236/trunk@132208 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 02:08:14 +00:00
ccarlen%netscape.com
20ee16102c Bug 172223 - Mach-0 impl of nsLocalFile::Reveal() does not work because passing an FSRef in the Apple Event does not work - it must be an FSSpec. r=sdagley/sr=sfraser/a=dbaron
git-svn-id: svn://10.0.0.236/trunk@132207 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 01:59:54 +00:00
dougt%netscape.com
3ce22699b8 landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@132196 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 23:41:47 +00:00
bzbarsky%mit.edu
f8ed360af8 Make IndexOf a const method. Bug 174940, r=dougt, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@132161 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 19:26:27 +00:00
seawood%netscape.com
f9eb727003 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
varga%netscape.com
f1626347cb Fix for bug 174443. nsCOMArray::ApendObject() shouldn't addref
r=dougt, sr=alecf, a=asa


git-svn-id: svn://10.0.0.236/trunk@132048 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 23:59:20 +00:00
bbaetz%student.usyd.edu.au
5a1dcdcdd7 Change the never-defined copy-constructor signature to refer to nsCOMArray<T>
instead of nsCOMArray. Should fix OS2 bustage, which noticed this because
it instantiates the function even when its not used
r=sicking, sr=mozbot, a=tinderbox


git-svn-id: svn://10.0.0.236/trunk@132012 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 05:19:30 +00:00
dbaron%fas.harvard.edu
b37e1a7652 Make Linux stack walking code (DEBUG only) print library and offset information even when symbol is unavailable. b=174168 r=bbaetz sr=bzbarsky a=rjesup
git-svn-id: svn://10.0.0.236/trunk@131999 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 23:59:31 +00:00
timeless%mac.com
74a540e41b Bugzilla Bug 174447 fix typos in nsStaticNameTable.h
git-svn-id: svn://10.0.0.236/trunk@131987 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 22:39:44 +00:00
dougt%netscape.com
820b2ca5fe Not part of build
git-svn-id: svn://10.0.0.236/trunk@131967 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 17:41:00 +00:00
brendan%mozilla.org
3e1fb18591 Comment improvements motivated by bug 173797, no code changes.
git-svn-id: svn://10.0.0.236/trunk@131921 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-13 19:08:07 +00:00
ccarlen%netscape.com
39dc76fe3c Bug 172018 - Use CFURLs with Mach-0 and Carbon file picker. r=sdagley/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@131569 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 03:58:40 +00:00
mkaply%us.ibm.com
d85a459543 #172243
r=mkaply, sr=blizzard
OS/2 only - subtract 1980 from date before using it


git-svn-id: svn://10.0.0.236/trunk@131543 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 02:37:48 +00:00
jkeiser%netscape.com
eeef82662c Backing out bug 107291 due to OS/2 having a crappy compiler.
git-svn-id: svn://10.0.0.236/trunk@131418 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 09:30:40 +00:00
jkeiser%netscape.com
f2519f9d84 Make forward declarations work with nsCOMPtr (bug 107291), r=sicking@bigfoot.com, sr=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@131406 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 06:19:10 +00:00