6380 Commits

Author SHA1 Message Date
cls%seawood.org
cdd48524c2 Explicitly mark inlined functions with |inline| & drop NS_COM since we rely upon these functions being inlined. Works around mingw gcc bustage.
Bug #226609 r=darin sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@153116 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 22:12:03 +00:00
darin%meer.net
db842ded77 adding brackets to correct last checkin (r=gisburn)
git-svn-id: svn://10.0.0.236/trunk@153106 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 19:57:18 +00:00
darin%meer.net
eda37ab870 Checking in bustage fix for SUNPRO_CC (Sun Workshop/Forte), bug=235273
Thanks to timeless and gisburn for their help.


git-svn-id: svn://10.0.0.236/trunk@153104 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 19:24:41 +00:00
timeless%mozdev.org
29403914fd Bug 235207 Build failure in mozilla/xpcom/string/src/nsStringObsolete.cpp
patch by roland.mainz@nrubsig.org sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@153089 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 01:43:44 +00:00
jst%mozilla.jstenback.com
f38dcaa4ad Duh, silly me. Fixing bogus attempt at casting...
git-svn-id: svn://10.0.0.236/trunk@153056 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-21 01:02:26 +00:00
darin%meer.net
643ea6b51f removing bogus const type qualifier to fix IRIX compiler warning (thanks to dbaron for noticing this)
git-svn-id: svn://10.0.0.236/trunk@153051 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 23:28:49 +00:00
jst%mozilla.jstenback.com
a2eb2c1513 Fixing bug 235041. Adding nsAdoptingString, a string class that can be returned by value from functions returning malloc'ed strings, w/o the overhead of extra string copying/mallocs. r=dbaron@dbaron.org, sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@153050 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 23:23:35 +00:00
cls%seawood.org
b831f8cd44 Add support for cross-compiling to mingw.
Bug #222013 r=bryner


git-svn-id: svn://10.0.0.236/trunk@153042 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 22:14:14 +00:00
timeless%mozdev.org
b251ca2b3e Bug 235035 change nsIRunnable.Run to nsIRunnable.run
r=dougt sr=darin


git-svn-id: svn://10.0.0.236/trunk@153039 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 21:34:57 +00:00
darin%meer.net
964e4d0ee5 remove references to CBufDescriptor to fix WIN32 bustage
git-svn-id: svn://10.0.0.236/trunk@152998 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 02:07:09 +00:00
jshin%mailaps.org
e125a7a013 bug 229705 : CStringArray should accept |nsACString&| instead of |nsCString&|. r=mscott, sr=alecf (with darin, jst, dbaron helping)
git-svn-id: svn://10.0.0.236/trunk@152995 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 01:54:55 +00:00
darin%meer.net
a01e1c2f7f landing patch for bug 234864 "string branch landing resulted in large spike in heap allocations (brad:A metric)" r+sr=dbaron
this patch also introduces nsTFixedString and removes CBufDescriptor.


git-svn-id: svn://10.0.0.236/trunk@152994 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 01:53:23 +00:00
jshin%mailaps.org
202dcde116 fix the bustage (bug 233485 follow-up)
git-svn-id: svn://10.0.0.236/trunk@152936 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 12:01:52 +00:00
jshin%mailaps.org
095eb6f421 bug 233485 : add 'size' parameter to nsAutoBuffer (patch for customers) : r=ccarlen, sr=rbs)
git-svn-id: svn://10.0.0.236/trunk@152926 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 11:00:29 +00:00
jshin%mailaps.org
d70bdb567b bug 233485 : add 'size' parameter to nsAutoBuffer (r=ccalren, sr=rbs)
git-svn-id: svn://10.0.0.236/trunk@152924 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 10:50:20 +00:00
darin%meer.net
0310ccfb9e correcting bustage fix per dbaron: "reenable that for non-gcc compilers"
git-svn-id: svn://10.0.0.236/trunk@152914 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 06:29:08 +00:00
darin%meer.net
df67ab40c6 bustage fix for gcc-2.95.3 (speedracer) and egcs-2.91.66 (btek+monkeypox) r=bz
git-svn-id: svn://10.0.0.236/trunk@152912 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 05:54:04 +00:00
darin%meer.net
4577c4b633 bustage fix for GCC 3.4
git-svn-id: svn://10.0.0.236/trunk@152910 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 04:18:18 +00:00
darin%meer.net
a629a759d4 fixing OS/2 bustage from string branch landing,
nsString.h needs to continue to define IGNORE_CASE for backwards compatibility


git-svn-id: svn://10.0.0.236/trunk@152909 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 04:15:22 +00:00
darin%meer.net
c349ba6902 adding missing file for string branch landing
git-svn-id: svn://10.0.0.236/trunk@152906 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 03:04:25 +00:00
darin%meer.net
55688e6410 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
bryner%brianryner.com
5db66292cf Backing out nsHashtable dtor change (bug 229875) - this needs to be virtual. Thanks to bienvenu for pointing out the problem.
git-svn-id: svn://10.0.0.236/trunk@152762 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-13 19:04:38 +00:00
cls%seawood.org
3fbe4d6c86 Remove troublesome libiberty dependency by using __cxa_demangle instead of cplus_demangle. (redux)
Bug #232763 r=dbaron sr=brendan


git-svn-id: svn://10.0.0.236/trunk@152657 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 07:16:11 +00:00
bryner%brianryner.com
16b26bbf1b Change a few more destructors in XPCOM to be non-virtual, and comment destructors that need to be virtual. Bug 229875, r=dougt, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152655 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:19:03 +00:00
cls%seawood.org
3cf0350971 Backing out previous changes.
Missed a cplus_demangle call and it turns out that all of trace-malloc needs to be tweaked to use c++ instead of C.
Bug #232763


git-svn-id: svn://10.0.0.236/trunk@152605 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 18:55:04 +00:00
cls%seawood.org
5c18eca957 Remove unneeded -liberty references.
Bug #232763


git-svn-id: svn://10.0.0.236/trunk@152598 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 17:21:14 +00:00
cls%seawood.org
929086f7ff Remove troublesome libiberty dependency by using __cxa_demangle instead of cplus_demangle.
Bug #232763 r=dbaron sr=brendan


git-svn-id: svn://10.0.0.236/trunk@152593 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 16:19:47 +00:00
jshin%mailaps.org
19ebe3c5bb bug 227547: convert NFD to NFC on MacOS X : nsFileSpec patch (r=ccarlen, sr=dbaron)
git-svn-id: svn://10.0.0.236/trunk@152579 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 05:05:01 +00:00
jst%mozilla.jstenback.com
854468a176 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
brendan%mozilla.org
3cee430b79 Typo in comment.
git-svn-id: svn://10.0.0.236/trunk@152456 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 05:38:56 +00:00
tor%cs.brown.edu
6ab1d43553 bustage fix
git-svn-id: svn://10.0.0.236/trunk@152454 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 03:06:25 +00:00
tor%cs.brown.edu
e80519da24 bustage fix
git-svn-id: svn://10.0.0.236/trunk@152453 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 02:58:18 +00:00
tor%cs.brown.edu
fdb05f925f Bug 208314 - remove use of iostreams to allow building with compilers
that don't support classic C++ iostreams (ex: MSVC++ .net 2003).
r=timeless, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@152450 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 02:41:10 +00:00
ccarlen%mac.com
72a4f9df0e Bug 161982 - need an autobuffer impl available to all code. This is a template version of nsSpillableStackBuffer, which is defined in more than 1 place. r=brade/sr=bryner
git-svn-id: svn://10.0.0.236/trunk@152427 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 20:15:59 +00:00
jshin%mailaps.org
fe734acf5c bug 229705: make CStringArray:CStringAt accept nsACString& as out param. (r=alecf, sr=bz)
git-svn-id: svn://10.0.0.236/trunk@152409 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 09:49:22 +00:00
bryner%brianryner.com
b4bcadff7f Second try at enabling hidden visibility for NS_IMETHOD on ELF platforms (bug 227537). r+sr=dbaron for the changes.
git-svn-id: svn://10.0.0.236/trunk@152272 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 04:55:57 +00:00
bryner%brianryner.com
23399a7583 Turn off visibility until I can figure out how to fix this for older gcc's that won't accept visibility=default
git-svn-id: svn://10.0.0.236/trunk@152213 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 09:09:41 +00:00
bryner%brianryner.com
34c56dea27 Make NS_IMETHOD set hidden symbol visibility by default on ELF platforms. This is always desirable for virtual methods implemented in XPCOM component libraries, since it's impossible to reference the symbol from outside of the library. The behavior can be overridden as needed, such as a base class in a shared library that's linked against. For more details, see the comments in nscore.h and bug 227537. r=dbaron, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@152211 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 08:32:33 +00:00
neil%parkwaycc.co.uk
f48ca05933 Bug 230707 nsRefPtrHashtable (like nsInterfaceHashtable but for refcounted objects of concrete types) r=bsmedberg sr=alecf
git-svn-id: svn://10.0.0.236/trunk@152113 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-31 12:37:36 +00:00
jst%mozilla.jstenback.com
6629ad58f7 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
pinkerton%aol.net
72cd30a00a add support for OSX 10.3 SDK support so build done on 10.3 can be run on
previous OS versions. Enabled with configure flag --with-macos-sdk=dir
(bug 224161, r=bryner)


git-svn-id: svn://10.0.0.236/trunk@152026 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 20:18:14 +00:00
dbaron%dbaron.org
feb73d7d3e Speed up constructors of nsAutoString and nsCAutoString by calling nsStrPrivate::Initialize only once. b=188828 r=darin sr=alecf
git-svn-id: svn://10.0.0.236/trunk@152009 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 04:00:47 +00:00
bzbarsky%mit.edu
15c51a090f Make three changes:
1)  Use GetWeak() on the queue hashtable where possible
2)  Fix what looks like a bug in CreateEventQueue (passing wrong thread
    to MakeNewQueue).
3)  Fix what looks like a bug in PushThreadEventQueue (looking at the original
    queue for the thread rather than the youngest one).

Bug 230092, r=danm, sr=darin


git-svn-id: svn://10.0.0.236/trunk@151986 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 23:13:48 +00:00
jshin%mailaps.org
3366b1fd05 follow-up to bug 227547 (not a bug) : added missing 'const' qualifier to the first parameter of CopyUTF8toUTF16NFC()
git-svn-id: svn://10.0.0.236/trunk@151945 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 08:21:39 +00:00
jshin%mailaps.org
1952f8f7e3 bug 227547: return local file names after converting NFD (decomposed Unicode) to NFC (composed Unicode) for consumers (Mac OS X only). r=ccarlen, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@151943 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 05:55:30 +00:00
bryner%brianryner.com
88b5530edd Some cleanup to nsProxyObject: implement refcounting without nsISupports inheritance, inline getters, and fix a few warnings. Bug 232022, r=dougt, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151826 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-25 10:39:02 +00:00
caillon%returnzero.com
ae05fab377 Stop outputting comments pertaining to forward declared interfaces. See bug 232032 for details.
r=dbradley, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@151808 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 23:01:55 +00:00
neil%parkwaycc.co.uk
4ce35a42f6 Windows bustage fix - nsresult should have been NS_METHOD
git-svn-id: svn://10.0.0.236/trunk@151743 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-23 11:04:20 +00:00
neil%parkwaycc.co.uk
178bfead9d Bug 227500 Provide scriptable environment access p=bsmedberg,gisburn r/sr=dougt
git-svn-id: svn://10.0.0.236/trunk@151742 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-23 10:23:12 +00:00
dbaron%dbaron.org
4f0232d21c Comment this out until we figure out what to do about nsXPIDLString's shared empty buffer handle. b=112547
git-svn-id: svn://10.0.0.236/trunk@151679 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 04:30:03 +00:00