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

5869 Коммитов

Автор SHA1 Сообщение Дата
mkaply%us.ibm.com 4a5c7124a1 150156 type fix for OS/2 - do a copy if move fails because file already exists 2002-11-14 19:41:18 +00:00
mkaply%us.ibm.com 0ffb0959ca #179508
r=cls, sr=alecf
Get OS/2 static build working again
2002-11-14 19:02:05 +00:00
alecf%netscape.com a7b81df6c6 take two at fixing bug 177401 - convert nsIBinaryStream over to using nsAString/nsACString for string values, to speed up fastload
sr=darin, r=dougt
(the previous checkin had a typo which disabled fastload entirely!)
2002-11-14 18:16:31 +00:00
alecf%netscape.com f1aaa8073e oops, I checked in an earlier version of the patch for bug 173291 - here's the update that reflects the reviewer's comments.
r=dougt, sr=jag
2002-11-13 22:58:56 +00:00
alecf%netscape.com c97d0684b3 fix for bug 173291 - use nsISimpleEnumerator for nsHashtableEnumerator, rather than nsIEnumerator
r=dougt, sr=jag
2002-11-13 22:40:10 +00:00
dougt%netscape.com b377577a5d Crash OOM @ startup. r=darin, sr=alec, bug 175663 2002-11-13 21:23:58 +00:00
neeti%netscape.com b1a5c0e0db fix for bug 150156 - nsIFile's moveTo method does not overwrite existing files,r=dougt@netscape.com, sr=brendan@mozilla.org 2002-11-13 14:04:51 +00:00
brendan%mozilla.org ff21e5d6c8 Fix up comments, overlong lines, NULL in C code, slight code simplification in log_filename (r/sr=blythe/dbaron). 2002-11-13 04:40:17 +00:00
brendan%mozilla.org d344a8b6fd Make enumeration const unless PL_DHASH_REMOVE is returned by the etor callback; improve several comments (174859, r=waterson, sr=beard). 2002-11-13 04:35:37 +00:00
timeless%mozdev.org 87c3a67169 Bug 179778 regExport accesses argv[1] before checking argc==1
r=dougt sr=bz
2002-11-13 03:58:38 +00:00
pkw%us.ibm.com 2057302945 Fix xptcinvoke code on AIX when compiling in 64-bit mode. Specifically,
passing PRBools through xptcinvoke was broken.
Bug 178499: r=jdunn, sr=jst
2002-11-12 19:38:15 +00:00
bienvenu%netscape.com 78cc7759ad turn on fix for flush on unix as well, r=dmose, sr=sspitzer 142196 2002-11-12 02:55:08 +00:00
bienvenu%netscape.com 983ada4aed fix problem with summary files on network drives getting out of date, r=cavin, sr=sspitzer, 142196 (make nsIOFileStream::flush really flush) 2002-11-12 00:59:10 +00:00
bzbarsky%mit.edu f242f95f01 Fix assertion from out-of-bounds array access. Bug 175440, r=timeless, sr=alecf 2002-11-09 17:43:33 +00:00
alecf%netscape.com 50a35c0245 argh, back out my last checkin because Ts went UP not down! 2002-11-09 01:31:32 +00:00
jkeiser%netscape.com 373e5c9508 Fix copyright date. Bug 133354. 2002-11-09 01:03:36 +00:00
alecf%netscape.com e8fa3e1225 fix for bug 177401 - use nsAString& classes instead of wstring in nsIBinaryInputStream, to speed up fastload startup
sr=darin, r=dougt
2002-11-08 23:30:53 +00:00
ccarlen%netscape.com be47e0328e Bug 177059 Mach-0 nsLocalFile::GetFileSize sometimes fails for directories. Patch by sfraser. r=ccarlen/sr=bryner 2002-11-08 15:03:06 +00:00
timeless%mozdev.org bef5d1c075 fixing comment about PRUnichar* ToNewUnicode
rs=brendan
2002-11-08 11:43:58 +00:00
dougt%netscape.com d626b5bd25 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 2002-11-08 04:46:58 +00:00
bzbarsky%mit.edu 0cc4eb8902 Make the nsCOMArray destructor release all the objects. Bug 178813,
r=bbaetz, sr=rpotts
2002-11-07 13:34:18 +00:00
mkaply%us.ibm.com 9802c22c2f #177543
r=me, sr=bz
OS/2 build bustage - add explicit casts
2002-11-07 04:48:56 +00:00
jaggernaut%netscape.com b74e9681f6 Bug 178701: make source in FindInReadable be const. r=alecf, sr=scc 2002-11-06 21:11:24 +00:00
seawood%netscape.com d66c7fe9fe 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
2002-11-06 21:07:23 +00:00
timeless%mozdev.org a190c2d0d7 Bug 174004 nsTextFormatter.cpp comment stolen from prprf.c should be removed
comment only change
2002-11-06 14:57:41 +00:00
dbaron%fas.harvard.edu eb3c7a9c95 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 2002-11-06 13:09:20 +00:00
bzbarsky%mit.edu f8af8f1558 nsCOMArray_base copy constructor should not assert. Bug 178534,
r=dougt, sr=alecf
2002-11-06 02:00:50 +00:00
bzbarsky%mit.edu 33bf147713 Look at $TMP and $TEMP, not just $TEMPDIR. Bug 176887, r=timeless, sr=alecf 2002-11-06 01:56:00 +00:00
ccarlen%netscape.com e7a7f2a65e 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 2002-11-01 15:45:38 +00:00
dougt%netscape.com aa36b65282 177063. Linux segmentation fault at startup using xpcom glue. r=alecf, sr=jag, a=roc+moz@cs.cmu.edu 2002-10-30 14:13:00 +00:00
dougt%netscape.com e41f121a3c 177173 - Exports required string headers to SDK, r=jag, sr=alecf, a=robert@ocallahan.org 2002-10-30 14:11:03 +00:00
dougt%netscape.com 5585934f9b fix to make unregistering a category work. r=rginda, sr=dveditz, b=177176 m a=robert@ocallahan.org 2002-10-30 00:57:40 +00:00
shanjian%netscape.com 3994c86f0f #172700 NS_ConvertUTF8ToUCS2() surrogates buffer overflow
allocate enough space for surrogate.
p=jgmyers, r=shanjian, sr=dbaron, a=blizzard
2002-10-28 22:56:03 +00:00
timeless%mozdev.org dee8926924 Bug 155696 MOZ_PLUGIN_PATH should support colon-delimited PATH syntax
r=ccarlen sr=shaver a=dbaron
2002-10-25 13:08:44 +00:00
bzbarsky%mit.edu 222bbfb995 Add AppendObjects/InsertObjectsAt to nsCOMArray. Bug 175137,
r=timeless, sr=alecf, a=dbaron
2002-10-25 01:40:50 +00:00
bzbarsky%mit.edu 83464aa9b5 need to NS_INIT_ISUPPORTS to prevent thresafety assertions. bug 175437,
r=timeless, sr=alecf, a=dbaron
2002-10-24 01:03:00 +00:00
dougt%netscape.com e47e63743b Attempting to fix the bustage on os2, beos, linux/ppc 2002-10-18 13:36:32 +00:00
brendan%mozilla.org 1297b04f9a Fix glitch in comment (no code changes). 2002-10-18 05:26:02 +00:00
dougt%netscape.com 667067919a Final fix. This is the way this patch should have landed. including nsXPIDLCString when XPCOM_GLUE is defined is not a good idea 2002-10-18 03:46:04 +00:00
dougt%netscape.com ebaac4c286 Fixing bustage 2002-10-18 03:32:59 +00:00
dougt%netscape.com e2f9c7b575 Backing out my last attempt since I believe that the problem is with the cvs mirrors 2002-10-18 02:36:28 +00:00
dougt%netscape.com 51890939b6 Adding nsReadableUtils.cpp to the string glue code. This is required for StringAllocator. Fix for linux build bustage 2002-10-18 02:08:14 +00:00
ccarlen%netscape.com e2b95c1c76 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 2002-10-18 01:59:54 +00:00
dougt%netscape.com a167020474 landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, a=asa@mozilla.org 2002-10-17 23:41:47 +00:00
bzbarsky%mit.edu 7a6288b90d Make IndexOf a const method. Bug 174940, r=dougt, sr=alecf 2002-10-17 19:26:27 +00:00
seawood%netscape.com d1bef3cbe0 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
2002-10-17 06:47:01 +00:00
varga%netscape.com 114a6678da Fix for bug 174443. nsCOMArray::ApendObject() shouldn't addref
r=dougt, sr=alecf, a=asa
2002-10-15 23:59:20 +00:00
bbaetz%student.usyd.edu.au 3a7b7c499f 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
2002-10-15 05:19:30 +00:00
dbaron%fas.harvard.edu 22cde85310 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 2002-10-14 23:59:31 +00:00
timeless%mac.com ceff62e99b Bugzilla Bug 174447 fix typos in nsStaticNameTable.h 2002-10-14 22:39:44 +00:00
dougt%netscape.com a0f10303cd Not part of build 2002-10-14 17:41:00 +00:00
brendan%mozilla.org 73c5d5279f Comment improvements motivated by bug 173797, no code changes. 2002-10-13 19:08:07 +00:00
ccarlen%netscape.com 5b84169fbb Bug 172018 - Use CFURLs with Mach-0 and Carbon file picker. r=sdagley/sr=sfraser 2002-10-09 03:58:40 +00:00
mkaply%us.ibm.com 50d022b0bf #172243
r=mkaply, sr=blizzard
OS/2 only - subtract 1980 from date before using it
2002-10-09 02:37:48 +00:00
jkeiser%netscape.com 9f10a98502 Backing out bug 107291 due to OS/2 having a crappy compiler. 2002-10-08 09:30:40 +00:00
jkeiser%netscape.com c854cc03a3 Make forward declarations work with nsCOMPtr (bug 107291), r=sicking@bigfoot.com, sr=dbaron@fas.harvard.edu 2002-10-08 06:19:10 +00:00
timeless%mac.com a5279aac41 Bug 172131 FMM, Comments which suggest the wrong (De)Allocator, and Style
r=dougt sr=darin
2002-10-08 06:12:00 +00:00
shanjian%netscape.com e47ccfac8e #134053 utf8 conversion problem in nsString.h
Change conversion to handle surrogates
r=yokoyama, sr=scc
2002-10-08 02:10:52 +00:00
seawood%netscape.com 9ce0c58d1e Callback functions must be declared as such.
Fixing OS/2 tinderbox bustage.
2002-10-08 01:04:09 +00:00
alecf%netscape.com af97ea6355 try to fix orange - didn't mean to #if 0 this out 2002-10-08 00:12:37 +00:00
mkaply%us.ibm.com 07e3b3ef85 OS/2 bustage - need PR_CALLBACK 2002-10-07 21:32:37 +00:00
alecf%netscape.com 5a8ad99388 oops, one more part of bug 162115, r=dougt, sr=darin - make sure the new functions are exported by putting them in dlldeps.cpp 2002-10-07 19:11:18 +00:00
alecf%netscape.com 36cde0fbc6 fix for bug 162115 - add nsCOMArray<T> and nsIArray to the build
r=dougt, sr=darin, lots of comments from brendan, kai, bugmail@sicking.cc, frank.schoenheit@gmx.de, and even a little license help from timeless
2002-10-07 19:03:41 +00:00
dougt%netscape.com 72b7254d32 Not part of build 2002-10-07 18:53:51 +00:00
dougt%netscape.com 985638d756 nsDirectoryServiceDefs.h needs to be frozen 168572, r=ccarlen@netscape.com, sr=darin@netscape.com 2002-10-07 18:52:34 +00:00
dougt%netscape.com a956edb3f5 Provides support for a conditional interface map entry 172833, r=bzbarsky@mit.edu, sr=darin@netscape.com 2002-10-07 18:52:27 +00:00
mkaply%us.ibm.com 6334ccb812 OS/2 orange part two 2002-10-07 03:49:32 +00:00
mkaply%us.ibm.com 1fd18da096 OS/2 orange 2002-10-07 03:47:50 +00:00
mkaply%us.ibm.com b7d5f9515a A couple nits and then we should be good 2002-10-06 03:42:55 +00:00
darin%netscape.com 856c2dc123 another attempt at fixing the OS2 bustage 2002-10-06 03:18:11 +00:00
darin%netscape.com d62fd64525 fixing OS2 bustage -- my bad for forgetting to follow mkaply's advice! 2002-10-06 02:38:43 +00:00
darin%netscape.com 2d08c9acd7 fixes bug 166612 "implement NS_CopyNativeToUnicode / NS_CopyUnicodeToNative
on all platforms" r=dougt sr=alecf
2002-10-06 00:29:46 +00:00
dougt%netscape.com 6a89f8aa64 Removing silly comment. 2002-10-06 00:26:20 +00:00
timeless%mac.com 677efd82f2 Bug 172416 Consistency for nsComponentManager.cpp
r=dbradley, sr=scc
2002-10-05 23:59:57 +00:00
arougthopher%lizardland.net b176abcb6b Bug#169506
IsExecutable() deos not work for BeOS

BeOS now uses stat() instead of access() for:
IsWritable()
IsReadable()
IsExecutable()

sr=scc
r-dougt,arougthopher
2002-10-05 19:06:28 +00:00
dougt%netscape.com a9319d69a8 Backing out nsStringService. 2002-10-04 23:49:23 +00:00
dougt%netscape.com e7b353379f backing out nsGenericFactory.cpp 2002-10-04 23:23:51 +00:00
dougt%netscape.com 1528238c51 Mac files. 2002-10-04 23:16:07 +00:00
dougt%netscape.com 25d4bee19d manifest 2002-10-04 23:12:36 +00:00
dougt%netscape.com 314f8a80e8 adding UNDER_REVIEW 2002-10-04 22:29:27 +00:00
dougt%netscape.com 3300c73ca0 First cut of the nsIStringService. 172512. r=jag, sr=alecf 2002-10-04 22:25:41 +00:00
alecf%netscape.com cacac9ca3d argh, I'm stupid, s/class/interface/
not part of build
2002-10-04 00:48:16 +00:00
alecf%netscape.com ce539d06f8 pre-declare nsISimpleEnumerator instead of #including the header, per darin's request
not part of build, for bug 162115
2002-10-04 00:47:14 +00:00
alecf%netscape.com 351baf72df add do_QueryElementAt, and make NS_NewArray() give you an nsIMutableArray instead of nsIArray
not part of build, for bug 162115
2002-10-03 20:20:13 +00:00
caillon%returnzero.com 197e01cbff Bug 170895. Reducing footprint. Use XPCOM aggregation to get at CSS2Properties.
r=dbaron sr=alecf
2002-10-03 19:41:42 +00:00
jkeiser%netscape.com 7dd8441962 Add CheapSet, reduce select bloat, make blank options restore correctly (bug 166168), r=rjesup@wgate.com, sr=jst@netscape.com 2002-10-03 03:43:11 +00:00
alecf%netscape.com d263b3ce43 more work for bug 162115 - add support for weak references in nsIArray
not part of build
2002-10-02 21:00:42 +00:00
alecf%netscape.com f5efff9d9f more work on bug 162115 - use "friend" to allow nsCOMArray<T>'s copy constructor to be protected, but still usable from nsArray
not part of build
2002-10-02 18:54:12 +00:00
alecf%netscape.com 7bce86e8cd from brendan's review:
oops, use NS_IF_ADDREF where apropriate
also be consistent about using NS_ADDREF() on the result
not part of build
2002-10-01 18:29:30 +00:00
alecf%netscape.com 16cf343fb7 add support for a nsISimpleEnumerator implementation for nsCOMArray<T> and nsIArray, and update existing interfaces to support that:
- move nsCOMArray_base's ObjectAt/[]/Count() methods into the public so that nsCOMArrayEnumerator can get to it
- tweak NS_NewArray() to match the existing enumerator NS_New* API
- hook up NS_NewArrayEnumerator to nsArray::Enumerate
Not part of the build, for bug 162115
2002-10-01 17:34:25 +00:00
kmcclusk%netscape.com 8b47e32e0b improve user interactivity during long page loads by doing better detection of user-input and interrupting the parser more frequently. Also moved the WIN32 specific logic for determining when the user is moving a top-level window from plevent.c to the widget module. b=165039 r=rods@netscape.com sr=kin@netscape.com 2002-10-01 03:04:22 +00:00
alecf%netscape.com 62479fa6e9 - fix ReplaceObjectAt to properly account for existing null entries
- make nsCOMArray_base accessible from nsCOMArray<T> so that a nsCOMArray<T> can passed to NS_NewArray
for bug 162115, not part of build
2002-10-01 00:37:41 +00:00
alecf%netscape.com 1e525fd19c add lots of docs for bug 162115, not part of build 2002-10-01 00:26:00 +00:00
alecf%netscape.com e8e44bcfc3 not part of build, more for bug 162115:
- fix some spelling, add documentation
- add NS_NewArray(), including one that takes an existing nsCOMArray<T>
- implement copy constructor for nsCOMArray_base, so that NS_NewArray can work
not part of build
2002-09-30 23:02:31 +00:00
alecf%netscape.com cd487a30e7 match up some reviewers comments:
- tri-license with MPL, not NPL
- be consistent with policy on null in the array (it is allowed)
- move Clear() into implementation file, and hide static callback there too
- make sure to AddRef() on the way out of nsArray::IndexOf()
- handle failure of ReplaceElementAt more gracefully
bug 162115, not part of build yet
2002-09-30 22:01:46 +00:00
dougt%netscape.com 30d4ca5c78 Fixes typo. patch by tenthumbs@cybernex.net, r=dougt, b=168584 2002-09-30 21:49:48 +00:00
dougt%netscape.com 9e694942f6 Fixes assertion logic/build warnings. patch by tenthumbs@cybernex.net, b=171399 2002-09-30 21:49:35 +00:00
dbaron%fas.harvard.edu 630ee775dd Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf 2002-09-30 14:18:27 +00:00
kyle.yuan%sun.com cf801d0295 Bug 161449 Non-ASCII shortcuts for select elements in html forms
r=aaronl, sr=alecf
fix nsCRT::ToLower/ToUpper bugs and use |ToLowerCase()| instead of |nsCRT::ToLower()| in nsListControlFrame
2002-09-29 01:42:07 +00:00
dbaron%fas.harvard.edu a995665f0c Fix additional typos (and Linux/Mac bustage) from dougt's checkin. b=157133 r=gcc-3.2 2002-09-27 20:35:33 +00:00