Commit Graph

5848 Commits

Author SHA1 Message Date
seawood%netscape.com
f9959bc296 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
4cd29fab52 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
39ce4eeae8 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
a072d304e2 nsCOMArray_base copy constructor should not assert. Bug 178534,
r=dougt, sr=alecf
2002-11-06 02:00:50 +00:00
bzbarsky%mit.edu
f2f0308507 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
88535bd0b1 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
afbded917d 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
ff5fb46b69 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
8b8ebdf639 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
56103cc0a9 #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
6eaaef26f3 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
e1ecd5f25d Add AppendObjects/InsertObjectsAt to nsCOMArray. Bug 175137,
r=timeless, sr=alecf, a=dbaron
2002-10-25 01:40:50 +00:00
bzbarsky%mit.edu
a38eb32e8a 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
e575b3a03a Attempting to fix the bustage on os2, beos, linux/ppc 2002-10-18 13:36:32 +00:00
brendan%mozilla.org
aed690f426 Fix glitch in comment (no code changes). 2002-10-18 05:26:02 +00:00
dougt%netscape.com
7ae738be67 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
33906feccd Fixing bustage 2002-10-18 03:32:59 +00:00
dougt%netscape.com
1c09d9410c 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
f586f1a0ff 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
7930af8ba1 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
20cb222459 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
58a7681df2 Make IndexOf a const method. Bug 174940, r=dougt, sr=alecf 2002-10-17 19:26:27 +00:00
seawood%netscape.com
57e08a3f3a 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
54b5577b97 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
35ddc78531 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
5d187db3bb 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
859e1dee66 Bugzilla Bug 174447 fix typos in nsStaticNameTable.h 2002-10-14 22:39:44 +00:00
dougt%netscape.com
07edb89a28 Not part of build 2002-10-14 17:41:00 +00:00
brendan%mozilla.org
12685fb2da Comment improvements motivated by bug 173797, no code changes. 2002-10-13 19:08:07 +00:00
ccarlen%netscape.com
7fbc90ffe6 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
f4903acd4f #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
35c5cded43 Backing out bug 107291 due to OS/2 having a crappy compiler. 2002-10-08 09:30:40 +00:00
jkeiser%netscape.com
53ea2dfc93 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
09fcb732df 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
a6b06cd95b #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
f0b77e04cc Callback functions must be declared as such.
Fixing OS/2 tinderbox bustage.
2002-10-08 01:04:09 +00:00
alecf%netscape.com
9eb5801360 try to fix orange - didn't mean to #if 0 this out 2002-10-08 00:12:37 +00:00
mkaply%us.ibm.com
fb84d9cdf4 OS/2 bustage - need PR_CALLBACK 2002-10-07 21:32:37 +00:00
alecf%netscape.com
7bf884fe18 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
1a6ddca712 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
522523a746 Not part of build 2002-10-07 18:53:51 +00:00
dougt%netscape.com
86b056715a 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
2e18d2c1d3 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
7d65676b05 OS/2 orange part two 2002-10-07 03:49:32 +00:00
mkaply%us.ibm.com
2b245d3409 OS/2 orange 2002-10-07 03:47:50 +00:00
mkaply%us.ibm.com
3425c9b55c A couple nits and then we should be good 2002-10-06 03:42:55 +00:00
darin%netscape.com
229f53706f another attempt at fixing the OS2 bustage 2002-10-06 03:18:11 +00:00
darin%netscape.com
d527e96591 fixing OS2 bustage -- my bad for forgetting to follow mkaply's advice! 2002-10-06 02:38:43 +00:00
darin%netscape.com
cc875aa945 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
fb4932e7de Removing silly comment. 2002-10-06 00:26:20 +00:00
timeless%mac.com
8562139c08 Bug 172416 Consistency for nsComponentManager.cpp
r=dbradley, sr=scc
2002-10-05 23:59:57 +00:00
arougthopher%lizardland.net
b7836f3da0 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
2079b1b881 Backing out nsStringService. 2002-10-04 23:49:23 +00:00
dougt%netscape.com
c5ba8c43ce backing out nsGenericFactory.cpp 2002-10-04 23:23:51 +00:00
dougt%netscape.com
13e28f158d Mac files. 2002-10-04 23:16:07 +00:00
dougt%netscape.com
fe6b07dca7 manifest 2002-10-04 23:12:36 +00:00
dougt%netscape.com
de5e57b1ab adding UNDER_REVIEW 2002-10-04 22:29:27 +00:00
dougt%netscape.com
0cabe78b54 First cut of the nsIStringService. 172512. r=jag, sr=alecf 2002-10-04 22:25:41 +00:00
alecf%netscape.com
daef497db3 argh, I'm stupid, s/class/interface/
not part of build
2002-10-04 00:48:16 +00:00
alecf%netscape.com
c1587a2bd2 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
4772a38bc6 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
8e992f87ae 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
90f7d0d6fb 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
82a267d76a 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
1bae8680e1 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
1d12dc704b 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
101b6c67d1 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
3df9afe194 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
7c8eb9e9d2 - 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
3da81d6d16 add lots of docs for bug 162115, not part of build 2002-10-01 00:26:00 +00:00
alecf%netscape.com
950bb44445 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
4b31552c74 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
80be3f4950 Fixes typo. patch by tenthumbs@cybernex.net, r=dougt, b=168584 2002-09-30 21:49:48 +00:00
dougt%netscape.com
0be6ffa33a Fixes assertion logic/build warnings. patch by tenthumbs@cybernex.net, b=171399 2002-09-30 21:49:35 +00:00
dbaron%fas.harvard.edu
29c30c5f3e 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
a20c3b924d 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
26706fbf58 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
dougt%netscape.com
e9c1ddd8c5 missing arg 2002-09-27 20:31:19 +00:00
alecf%netscape.com
5c1535a86b move contactID out of nsArray.h - not part of build 2002-09-27 19:52:47 +00:00
alecf%netscape.com
fdcbeea4d6 add documentation and comments, mark interface UNDER_REVIEW
(also not part of build)
2002-09-27 19:33:01 +00:00
alecf%netscape.com
8d1e0ebc54 continuing work in progress on nsCOMArray<T> - take darin's suggestion and move all nsISupports-related code into a non-template base class nsCOMArray_base. This allows the generated template to be paper thin (or really, non-existent!)
Then, we move some of the non-trivial methods of this class into a .cpp file
2002-09-27 19:29:45 +00:00
dougt%netscape.com
1566417aaf move contentEncodings and applyConversion to a new interface. r=neeti@netscape.com, sr=darin@netscape.com, b=157133 2002-09-27 19:23:21 +00:00
ducarroz%netscape.com
4aa0109ef1 Fix for bug 171121. prevValue could be null therefore we need to use NS_IF_RELEASE instead of
NS_RELEASE. R=dougt, SR=sspitzer
2002-09-27 17:49:08 +00:00
dougt%netscape.com
4c78893d1b Fixes XPCOM Glue on linux, b=168584, sr=rpotts, r=alec 2002-09-27 13:07:01 +00:00
alecf%netscape.com
5274331b83 continue work-in-progress with freezable array.
Also introduce nsCOMArray<nsIFoo>
not part of build
2002-09-27 06:08:49 +00:00
jkeiser%netscape.com
f88cebcd5f Make nsHTMLValue store embedded nulls (r=sicking@netscape.com, sr=bzbarsky@mit.edu, sr=jaggernaut@netscape.com 2002-09-26 07:41:53 +00:00
dougt%netscape.com
c00b6ca42b Set means Define. When the method Define was removed, we didn't adjust Set to implictly Define. patch by ashishbhatt@netscape.com, r=khanson, r=dougt, b=169563 2002-09-25 21:27:20 +00:00
mkaply%us.ibm.com
ef1276ce41 Urgent OS/2 fix - port change for 164190 to OS/2 2002-09-25 17:55:39 +00:00
ccarlen%netscape.com
32d8005d63 Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser 2002-09-25 12:23:39 +00:00
ccarlen%netscape.com
7511c8f32f Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser 2002-09-25 12:04:50 +00:00
rpotts%netscape.com
dc675a9675 bug #169583 (r=jst, sr=darin) URILoader should allow nsIContentHandler::DoContent() to fail... 2002-09-24 19:53:43 +00:00
dougt%netscape.com
b2130dcaa4 exports xpcom tools to sdk r=seawood, b=170275 2002-09-24 01:19:05 +00:00
timeless%mac.com
f47184023c Bug 166775 Remove unused _IMPL_NS_APPSHELL defines
patch by walk84@yahoo.com r=bryner
2002-09-24 00:56:20 +00:00
timeless%mac.com
dbd27fdbf7 Bug 165400 _IMPL_NS_PLUGIN unused
patch by walk84@yahoo.com r=biesi sr=bryner
2002-09-24 00:41:35 +00:00
dougt%netscape.com
1fc52e1325 170369 - autoload xpcom components. r=dveditz@netscape.com, sr=rpotts@netscape.com 2002-09-23 21:46:25 +00:00
jdunn%netscape.com
842bc488fc adding support for hpux ia64/11.20, also strip off MOZ_OPTIMIZE_FLAGS
(instead of just -O) for hpux
r=cls@seawood.org
# 136163
2002-09-23 20:31:30 +00:00
dougt%netscape.com
17578be697 Further improvement. r=drepper@redhat.com, sr=brendan@mozilla.org, b=168508 2002-09-23 19:39:26 +00:00
bryner%netscape.com
726d60d0e1 Fix a problem with the prefs file being deleted at shutdown on Windows, introduced by the checkin for bug 164190. Windows' implementation of nsLocalFile::CopyMove was assuming that a null parent directory meant we should always rename - not true. r=hewitt, sr=brendan. 2002-09-21 08:26:02 +00:00
dougt%netscape.com
77888f84c2 More on XPCOM Glue Is broken on linux. r=rpotts@netscape.com, sr=alecf@netscape.com, b=168584 2002-09-20 22:23:24 +00:00
bnesse%netscape.com
3815d34fd1 Fix for bug 164925. Remove unused directory key and support code. r=ccarlen, sr=beard. 2002-09-20 18:47:49 +00:00