Commit Graph

69 Commits

Author SHA1 Message Date
Andrew McCreight
c0ec30df51 Bug 1193564 - Check result of Read32 in nsSupportsArray::Read. r=erahm 2015-08-13 14:24:59 -07:00
Andrew McCreight
00f75cda98 Bug 1151541, part 2 - Fix mode lines in xpcom/. r=froydnj 2015-04-09 10:25:05 -07:00
Ehsan Akhgari
ad34fcfc86 Bug 1117035 - Mark virtual overridden functions as MOZ_OVERRIDE in XPCOM; r=froydnj 2015-01-05 11:25:41 -05:00
Birunthan Mohanathas
779b87ce50 Bug 1022456 - Convert xpcom/ds/ to Gecko style. r=froydnj 2014-07-09 08:15:21 -07:00
Birunthan Mohanathas
eeb9aaaa94 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Benjamin Smedberg
29d63f056d Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
Joshua Cranmer
5263337050 Bug 935789, part 1: Kill most uses of prbit.h, r=ehsan 2013-11-12 18:22:38 -06:00
Birunthan Mohanathas
52e24d677b Bug 784739 - Switch from NULL to nullptr in xpcom/ (1/3); r=ehsan 2013-10-10 16:41:00 -04:00
Ehsan Akhgari
5e0f414d1a Bug 918105 - Minimize the #includes in xpcom/ds; r=bsmedberg 2013-09-19 15:31:21 -04:00
Joshua Cranmer
1c073a2540 Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg 2013-07-18 21:31:26 -05:00
Trevor Saunders
bdfd08a26e bug 820182 - remove nsISupportsArray::ElementAt() r=ehsan 2012-12-11 11:16:42 -05:00
Trevor Saunders
a57f718cc9 bug 819936 - remove NS_NewArrayEnumerator overload for nsISupportsArray r=bz, bsmedberg 2012-12-09 05:04:21 -05:00
Trevor Saunders
7e2ec67839 bug 819940 - remove nsISupportsArray::EnumerateForwards() r=ehsan 2012-12-10 05:27:14 -05:00
Trevor Saunders
9e0672ef95 bug 819940 - remove nsISupportsArray::EnumerateBackwards() r=ehsan 2012-12-09 13:40:46 -05:00
Ms2ger
89d6d9d8b1 Bug 810668 - Fix some gcc4.6 build warnings; r=bz 2012-12-02 09:54:55 +01:00
Abhishek Potnis
dd0a15b5b8 Bug 795511: Removed usages of PR_BIT and PR_BITMASK from the tree; r=ehsan 2012-10-20 07:31:43 +05:30
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
edad3c5706 Bug 780832 - Make nsSupportsArray::GrowArrayBy infallible. r=dougt 2012-08-07 11:21:38 +03:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari
6c1914b71f Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg 2012-06-05 19:51:58 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Matheus Kerschbaum
44209e0bdf Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Benjamin Smedberg
0e824d90bb Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
7b34ae7602 Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated 2008-02-21 12:39:20 -08:00
db8d572868 Bug 412320 - Try code-generation for QI impls, r=roc+luser 2008-01-25 09:14:48 -08:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
benjamin@smedbergs.us
fbac713199 Bug 347183 - frozen-linkage access to null/singleton/union/array enumerators, r=darin 2006-08-08 18:18:50 +00:00
gerv@gerv.net
c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
brendan@mozilla.org
e7f4c1d7bd Fix Read and Equals bugs, clean up other poor code (235307, r=dougt, sr=darin). 2004-02-25 23:38:40 +00:00
dbaron@dbaron.org
8c37890522 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
alecf@netscape.com
3526ba22e3 take two at fixing bug 177401 - convert nsIBinaryStream over to using nsAString/nsACString for string values, to speed up fastload
sr=darin, r=dougt
(the previous checkin had a typo which disabled fastload entirely!)
2002-11-14 18:16:31 +00:00
alecf@netscape.com
2c98274d76 argh, back out my last checkin because Ts went UP not down! 2002-11-09 01:31:32 +00:00
alecf@netscape.com
7f928a0114 fix for bug 177401 - use nsAString& classes instead of wstring in nsIBinaryInputStream, to speed up fastload startup
sr=darin, r=dougt
2002-11-08 23:30:53 +00:00
dougt@netscape.com
46ce738546 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
alecf@netscape.com
95d6065e0d bug 154280 - remove unimplemented operators from nsISupportsArray
r=dougt, sr=dveditz
2002-06-26 03:48:08 +00:00
dougt@netscape.com
51c37a0da1 backing out changes to 104172. r=ccarlen@netscape.com 2001-10-23 03:50:24 +00:00
dougt@netscape.com
2605bce49e Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527 2001-10-23 01:37:21 +00:00
gerv@gerv.net
58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
jst@netscape.com
d771e28868 Fixing bug 95871. Making it possible to put null pointers in nsISupportArrays. r=pavlov@netscape.com, sr=waterson@netscape.com 2001-08-21 08:51:19 +00:00
waterson@netscape.com
883f19e2d4 Bug 90545. nsVoidArray and nsSupportsArray cleanup. Patch submitted by rjesup@wgate.com, r=jst, sr=waterson. 2001-08-07 06:23:40 +00:00
brendan@mozilla.org
1ba814d7b6 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
kandrot@netscape.com
b2e898f60d bug #82133, r=jag, sr=scc. Fix for bad typecasting of a nsISupportsArray to a nsAupportsArray. 2001-07-18 05:50:04 +00:00
kandrot@netscape.com
eb1ce25624 Backing out this files last set of changes. 2001-07-18 00:29:20 +00:00
kandrot@netscape.com
24591bbaaf bug #82133, r=jag, sr=scc. Fix for bad typecasting of an nsISupportsArray to a nsAupportsArray. 2001-07-17 23:44:35 +00:00
scc@mozilla.org
14934ac73b bug #50721: sr=brendan, r=dbaron. Add |do_QueryElementAt|. 2001-07-04 05:42:46 +00:00
warren@netscape.com
281f6169f4 Bug 27971. Better strategy for resource: urls to use less memory. Saves about 0.4% of entire run just bring up one page (home.mozilla.org). r=waterson 2000-06-09 07:51:13 +00:00
warren@netscape.com
90e6ffd47b Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
dp@netscape.com
6fb4a9e682 NS_GET_IID(). Thanks to patch from pp@ludasdesign.com r=dp@netscape.com 1999-11-30 23:36:32 +00:00