Commit Graph

1403 Commits

Author SHA1 Message Date
darin%meer.net
3eb2f75165 fixes bug 263957 "Convert nsProperties to nsTHashtable, implement GetKeys" r=bsmedberg sr=shaver 2004-10-25 19:52:48 +00:00
bzbarsky%mit.edu
608e73b236 nsCOMArray::RemoveObjectAt fails to remove nulls correctly. Bug 265772,
r=darin, sr=dbaron
2004-10-24 17:24:25 +00:00
dbaron%dbaron.org
3118860f30 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 2004-09-14 17:17:21 +00:00
vladimir%pobox.com
3e8d2f24f4 b=235665, aggregation broken in bookmarks [gecko only bits], r=axel,shaver,others,sr=shaver 2004-08-30 22:25:29 +00:00
timeless%mozdev.org
2bc735d388 Bug 238963 nsObserverList::GetObserverList should return OOM on failure
r=dougt
2004-07-30 02:43:13 +00:00
cbiesinger%web.de
df64131ac2 Bug 198694 make nsTime inherit from nsInt64
r=bsmedberg sr=dougt
2004-07-28 21:33:28 +00:00
mkaply%us.ibm.com
ae6ca1e908 This stuff doesn't work on OS/2 and is causing thousands of warnings errors 2004-07-22 20:27:48 +00:00
cbiesinger%web.de
f59c8b4564 Bug 251277 add a Clear() function to remove all elements from an nsValueArray
r=bsmedberg sr=dougt
2004-07-21 12:30:52 +00:00
gerv%gerv.net
c01bb2d438 Bug 236613: change to MPL/LGPL/GPL tri-license, and other license-related fixups. 2004-07-16 19:09:02 +00:00
dbaron%dbaron.org
4c9caa3458 Only use __attribute__ on gcc 3 or higher. Fixing bustage. b=249652 2004-07-15 00:00:43 +00:00
bryner%brianryner.com
23089547be 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. 2004-07-14 22:14:34 +00:00
cbiesinger%web.de
41bff105d2 bug 245927 add nsUint64, similar to nsInt64
r=bsmedberg sr=darin
2004-06-26 18:32:15 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
jst%mozilla.jstenback.com
d7c3908a90 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. 2004-05-21 21:19:13 +00:00
caillon%redhat.com
178bb153f1 Kill off nsComObsolete.h
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron
2004-05-18 18:09:16 +00:00
jst%mozilla.jstenback.com
30f4e1ec2d 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 2004-05-13 22:52:14 +00:00
darin%meer.net
96c93347b1 fixes bug 241876 "nsIDHashKey does not define a KeyEquals method" r+sr=bsmedberg 2004-04-27 17:07:42 +00:00
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
cls%seawood.org
e887c496ee 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
2004-03-16 08:07:25 +00:00
cls%seawood.org
3977ae5a71 Backing out changes from bug 226609. MSVC is being uncharacteristically picky. 2004-03-16 00:59:29 +00:00
cls%seawood.org
8e702f20f2 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
2004-03-15 23:47:04 +00:00
timeless%mozdev.org
b99905cda6 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
2004-03-08 07:27:06 +00:00
brendan%mozilla.org
65bbfda81a Fix Read and Equals bugs, clean up other poor code (235307, r=dougt, sr=darin). 2004-02-25 23:38:40 +00:00
jshin%mailaps.org
e5dab37fe0 bug 229705 : CStringArray should accept |nsACString&| instead of |nsCString&|. r=mscott, sr=alecf (with darin, jst, dbaron helping) 2004-02-20 01:54:55 +00:00
jshin%mailaps.org
a99b882982 bug 233485 : add 'size' parameter to nsAutoBuffer (r=ccalren, sr=rbs) 2004-02-19 10:50:20 +00:00
darin%meer.net
8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner%brianryner.com
ac9cbd3e87 Backing out nsHashtable dtor change (bug 229875) - this needs to be virtual. Thanks to bienvenu for pointing out the problem. 2004-02-13 19:04:38 +00:00
jst%mozilla.jstenback.com
505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
ccarlen%mac.com
90910fcb46 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 2004-02-06 20:15:59 +00:00
jshin%mailaps.org
0f9983b873 bug 229705: make CStringArray:CStringAt accept nsACString& as out param. (r=alecf, sr=bz) 2004-02-06 09:49:22 +00:00
bryner%brianryner.com
6e68ebaa46 Second try at enabling hidden visibility for NS_IMETHOD on ELF platforms (bug 227537). r+sr=dbaron for the changes. 2004-02-04 04:55:57 +00:00
bryner%brianryner.com
0ca4d12034 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. 2004-02-03 08:32:33 +00:00
neil%parkwaycc.co.uk
d83422b6c2 Bug 230707 nsRefPtrHashtable (like nsInterfaceHashtable but for refcounted objects of concrete types) r=bsmedberg sr=alecf 2004-01-31 12:37:36 +00:00
bryner%brianryner.com
a10a5e8383 Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron. 2004-01-22 01:01:19 +00:00
tor%cs.brown.edu
285c42cad8 Bug 229652 - invalid gif could crash browser. r=darin, sr=bryner 2004-01-16 23:32:25 +00:00
bryner%brianryner.com
0c7c3a2ff3 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. 2004-01-15 06:14:18 +00:00
brendan%mozilla.org
1d61995445 Unify license comment per js/src/plify_jsdhash.sed, plus comment simplification. 2004-01-15 02:00:55 +00:00
bryner%brianryner.com
e078b585e3 Remove unused nsStatistics (bug 230599). r=dougt, sr=jst. 2004-01-13 20:59:10 +00:00
bryner%brianryner.com
da21ab0661 Remove unused PLVector and nsVector (bug 230556). r=dougt,sr=dbaron 2004-01-12 22:47:52 +00:00
bzbarsky%mit.edu
385b61a598 Get rid of another nsSupportsHashtable user, moving closer to "no raw addrefed
returns" nirvana.  Bug 230092, r=bsmedberg, sr=darin
2004-01-10 02:00:40 +00:00
bryner%brianryner.com
dac4fa30ed Remove obsolete string service. Bug 230484, r=dougt, sr=dbaron. 2004-01-09 21:43:32 +00:00
bryner%brianryner.com
00aae51b9d removing dead file. not part of the build. 2004-01-09 09:06:23 +00:00
roc+%cs.cmu.edu
7cbc0c61b9 Bug 118117. Fix bad constants. patch by tenthumbs, r=roc,sr=bz 2004-01-09 04:37:19 +00:00
bzbarsky%mit.edu
7d1f0c7ed2 Make ReplaceObjectAt a little safer. Bug 227780, r=timeless, sr=alecf 2004-01-05 23:43:28 +00:00
cbiesinger%web.de
55abef3994 addressing the reviewer comments 2003-12-29 13:22:49 +00:00
cbiesinger%web.de
b3516a4418 bug 228794, r=bsmedberg sr=alecf
add nsInterfaceHashtable::GetWeak
2003-12-29 13:21:21 +00:00
peter%propagandism.org
45f50dbc47 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 09:56:23 +00:00
timeless%mozdev.org
6896eb831f Bug 226169 DRefTool analysis for timeline files
r=roc sr=roc
2003-12-21 06:17:28 +00:00
jshin%mailaps.org
4e090b9734 bug 226623: XFT build crashes on PLHashRawAdd. Switch to nsClassHashTable and add a new HashKeyType that duplicates a string in ctor. (r=bsmedberg, sr=bryner, a1.6=tor) 2003-12-10 21:27:01 +00:00
dbaron%dbaron.org
8b9610f595 Include nscore.h instead of nsCom.h. b=226555 r=dougt sr=darin a=asa 2003-11-29 18:56:10 +00:00