roc+%cs.cmu.edu
1b3e093147
Bug 265084. Lay the groundwork for nscoord being a float, by introducing nsIntRect/Point/Size/Margin and wrapper functions for doing tricky nscoord operations. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@164829 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 02:48:04 +00:00
cbiesinger%web.de
c8fd60a340
fixing gcc 3.4 bustage with --enable-timeline, bug 261293
...
git-svn-id: svn://10.0.0.236/trunk@164755 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 22:37:14 +00:00
dveditz%cruzio.com
cda3a7d10c
bug 265135: put internal referrers on channels to fix xpinstall whitelisting the right way. r=darin,sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@164582 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-28 22:52:45 +00:00
darin%meer.net
0bc77e4e18
fixes bug 263957 "Convert nsProperties to nsTHashtable, implement GetKeys" r=bsmedberg sr=shaver
...
git-svn-id: svn://10.0.0.236/trunk@164377 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 19:52:48 +00:00
bzbarsky%mit.edu
ae2660d433
nsCOMArray::RemoveObjectAt fails to remove nulls correctly. Bug 265772,
...
r=darin, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@164279 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 17:24:25 +00:00
dbaron%dbaron.org
b5292f8c85
Add nsVoidArray::FastElementAt that requires the caller to do bounds checks (0 <= aIndex < Count()). Make ElementAt a little safer without loss of speed (back to the old safety). Make nsCOMArray<T>::ObjectAt use FastElementAt. b=96108 r=darin
...
git-svn-id: svn://10.0.0.236/trunk@162313 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 17:17:21 +00:00
vladimir%pobox.com
7b3de28798
b=235665, aggregation broken in bookmarks [gecko only bits], r=axel,shaver,others,sr=shaver
...
git-svn-id: svn://10.0.0.236/trunk@161509 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-30 22:25:29 +00:00
timeless%mozdev.org
af9785c3a7
Bug 238963 nsObserverList::GetObserverList should return OOM on failure
...
r=dougt
git-svn-id: svn://10.0.0.236/trunk@160106 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-30 02:43:13 +00:00
cbiesinger%web.de
21b6351f88
Bug 198694 make nsTime inherit from nsInt64
...
r=bsmedberg sr=dougt
git-svn-id: svn://10.0.0.236/trunk@159994 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 21:33:28 +00:00
mkaply%us.ibm.com
d924b7872b
This stuff doesn't work on OS/2 and is causing thousands of warnings errors
...
git-svn-id: svn://10.0.0.236/trunk@159688 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-22 20:27:48 +00:00
cbiesinger%web.de
ee1aabcf0c
Bug 251277 add a Clear() function to remove all elements from an nsValueArray
...
r=bsmedberg sr=dougt
git-svn-id: svn://10.0.0.236/trunk@159579 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 12:30:52 +00:00
gerv%gerv.net
1ca42aece1
Bug 236613: change to MPL/LGPL/GPL tri-license, and other license-related fixups.
...
git-svn-id: svn://10.0.0.236/trunk@159359 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 19:09:02 +00:00
dbaron%dbaron.org
6ba6a78f8e
Only use __attribute__ on gcc 3 or higher. Fixing bustage. b=249652
...
git-svn-id: svn://10.0.0.236/trunk@159221 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 00:00:43 +00:00
bryner%brianryner.com
e372b2e9a3
Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@159199 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:14:34 +00:00
cbiesinger%web.de
1117e4d19c
bug 245927 add nsUint64, similar to nsInt64
...
r=bsmedberg sr=darin
git-svn-id: svn://10.0.0.236/trunk@158520 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-26 18:32:15 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
jst%mozilla.jstenback.com
dcbd59ff2b
Fixing part of bug 241157. Making it valid for an nsIVariant to hold a interface pointer pointing to null. r=ben@bengoodger.com, sr=darin@meer.net.
...
git-svn-id: svn://10.0.0.236/trunk@156733 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-21 21:19:13 +00:00
caillon%redhat.com
aa28f26b6c
Kill off nsComObsolete.h
...
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@156539 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 18:09:16 +00:00
jst%mozilla.jstenback.com
660041b3a1
Yet one more part for bug 243484. Clean up some string handling code in nsVariant, and do some other generic cleanup too. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@156391 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 22:52:14 +00:00
darin%meer.net
1aff958386
fixes bug 241876 "nsIDHashKey does not define a KeyEquals method" r+sr=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@155588 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-27 17:07:42 +00:00
gerv%gerv.net
210853d71e
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
cls%seawood.org
aebeaaee68
Fix mingw 3.3.1/3.3.3 bustage.
...
Follow MSVC as much as possible by requiring proper dllimport/dllexport declarations.
Remove dllimport/dllexport declarations from all nsXPTCStubBase functions and just export the class itself.
Bug #226609 r=shaver/swalker sr=dbaron a=chofmann
git-svn-id: svn://10.0.0.236/trunk@154023 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-16 08:07:25 +00:00
cls%seawood.org
3919eae7b1
Backing out changes from bug 226609. MSVC is being uncharacteristically picky.
...
git-svn-id: svn://10.0.0.236/trunk@154001 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-16 00:59:29 +00:00
cls%seawood.org
a9d2b7d625
Fix mingw 3.3.1/3.3.3 bustage. Follow MSVC as much as possible by requiring proper dllimport/dllexport declarations.
...
Bug #226609 r=shaver sr=dbaron a=chofmann
git-svn-id: svn://10.0.0.236/trunk@153999 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 23:47:04 +00:00
timeless%mozdev.org
93b15391cd
Bug 235271 nsTimelineService - Warning (Anachronism): Formal argument ... of type extern "C" in call to ...(..., extern "C"...) is being passed something else
...
r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153666 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-08 07:27:06 +00:00
brendan%mozilla.org
6c28a185d6
Fix Read and Equals bugs, clean up other poor code (235307, r=dougt, sr=darin).
...
git-svn-id: svn://10.0.0.236/trunk@153250 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-25 23:38:40 +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
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
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
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
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
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
bryner%brianryner.com
1bd144eac3
Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151669 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 01:01:19 +00:00
tor%cs.brown.edu
00c58e094b
Bug 229652 - invalid gif could crash browser. r=darin, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@151441 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-16 23:32:25 +00:00
bryner%brianryner.com
b5ccad4460
Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151359 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:14:18 +00:00
brendan%mozilla.org
3b19a173aa
Unify license comment per js/src/plify_jsdhash.sed, plus comment simplification.
...
git-svn-id: svn://10.0.0.236/trunk@151341 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 02:00:55 +00:00
bryner%brianryner.com
9bfbfc1d52
Remove unused nsStatistics (bug 230599). r=dougt, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@151260 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-13 20:59:10 +00:00
bryner%brianryner.com
adc787bb3b
Remove unused PLVector and nsVector (bug 230556). r=dougt,sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@151218 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 22:47:52 +00:00
bzbarsky%mit.edu
e97e63a7aa
Get rid of another nsSupportsHashtable user, moving closer to "no raw addrefed
...
returns" nirvana. Bug 230092, r=bsmedberg, sr=darin
git-svn-id: svn://10.0.0.236/trunk@151127 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-10 02:00:40 +00:00
bryner%brianryner.com
79ccb45177
Remove obsolete string service. Bug 230484, r=dougt, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151099 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 21:43:32 +00:00
bryner%brianryner.com
aefa87c01b
removing dead file. not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@151073 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 09:06:23 +00:00
roc+%cs.cmu.edu
5207091d35
Bug 118117. Fix bad constants. patch by tenthumbs, r=roc,sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@151068 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 04:37:19 +00:00
bzbarsky%mit.edu
d615bdff68
Make ReplaceObjectAt a little safer. Bug 227780, r=timeless, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@150902 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-05 23:43:28 +00:00
cbiesinger%web.de
383e2b9204
addressing the reviewer comments
...
git-svn-id: svn://10.0.0.236/trunk@150766 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-29 13:22:49 +00:00
cbiesinger%web.de
72cee25e30
bug 228794, r=bsmedberg sr=alecf
...
add nsInterfaceHashtable::GetWeak
git-svn-id: svn://10.0.0.236/trunk@150765 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-29 13:21:21 +00:00
peter%propagandism.org
0d4c0de85b
Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@150667 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 09:56:23 +00:00