Commit Graph

1420 Commits

Author SHA1 Message Date
dbaron%dbaron.org
50acbb058e Fix leak regression from yesterday: derived classes use NS_IMPL_RELEASE_INHERITED, which relies on destructor being virtual. r+sr=bzbarsky a=brendan b=283489 2005-04-06 18:12:57 +00:00
bsmedberg%covad.net
beadf6cd74 Bug 288626 - Begin switch from MOZILLA_STRICT_API to MOZILLA_INTERNAL_API rs=darin for the Makefile var additions. Should not affect the build yet, until we flip a few switches at the end. 2005-04-01 18:22:57 +00:00
Olli.Pettay%helsinki.fi
5605311ce4 Bug 255792, nsSmallVoidArray::ReplaceElementAt does not work in the same way as nsVoidArray::ReplaceElementAt, r=rjesup,sr=alecf 2005-03-31 22:00:15 +00:00
cbiesinger%web.de
ce4140de8d 270224 create nsIPropertyBag2 for easier getting of values from a propertybag
r=shaver sr=darin
2005-03-22 18:16:53 +00:00
bzbarsky%mit.edu
29fc84c184 Don't use locale-dependent methods to convert variants to strings. Bug 282245,
r=peterv, sr=dbaron
2005-02-22 20:11:52 +00:00
bzbarsky%mit.edu
a86e2f619e Remove unnecessary UTF8-to-UTF16 method and just reuse our string classes. Bug
278835, r=dougt, sr=darin
2005-02-20 17:09:10 +00:00
gerv%gerv.net
c9e600ac91 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-01 15:28:15 +00:00
timeless%mozdev.org
1f8b801a07 Bug 254252 nsCRT::BufferHashCode has two variants, and only one user, HashCodeAsUTF8 has no users
patch by mikael@parknert.se r=darin sr=bz
2005-01-20 21:39:23 +00:00
timeless%mozdev.org
aa1bea7776 Bug 245283 Add a * topic for the observerservice
r=dougt
2005-01-14 11:25:05 +00:00
cbiesinger%web.de
8ab6e0d7d1 bug 264599 make unfrozen necko interfaces use 64-bit integers.
r=darin sr=bz a=asa
2005-01-09 20:43:35 +00:00
neil%parkwaycc.co.uk
3aa229256f Bug 255593 Add ReplaceElementAt to nsIMutableArray plus comment fixes p=eyalroz@technion.ac.il r=darin sr=bienvenu 2005-01-01 17:57:00 +00:00
shaver%mozilla.org
df7a7220b4 Bug 274679: ensure that nsHashPropertyBag's inner property hash is properly
initialized before enumerating. r=vlad/sr=darin.
2004-12-15 20:03:39 +00:00
pedemont%us.ibm.com
15717f0bf7 Bug 269553 - Integrate JavaXPCOM into build. r=bsmedberg, sr=bryner 2004-12-01 17:33:16 +00:00
vladimir%pobox.com
86363e20d8 b=266085, nsIWritablePropertyBag interface and hashtable component implementation; r=darin,sr=shaver 2004-11-24 23:21:14 +00:00
roc+%cs.cmu.edu
5b10c8c493 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 2004-11-03 02:48:04 +00:00
cbiesinger%web.de
3f64219c22 fixing gcc 3.4 bustage with --enable-timeline, bug 261293 2004-11-01 22:37:14 +00:00
dveditz%cruzio.com
dda30fd22f bug 265135: put internal referrers on channels to fix xpinstall whitelisting the right way. r=darin,sr=jst 2004-10-28 22:52:45 +00:00
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