Commit Graph

26 Commits

Author SHA1 Message Date
Ehsan Akhgari
3fa82c9346 Bug 1045436 - Fix more bad implicit constructors in XPCOM; r=froydnj 2014-07-29 20:43:56 -04:00
Birunthan Mohanathas
c9fb2c0d48 Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
Birunthan Mohanathas
6b53f3d634 Bug 1022456 - Convert xpcom/glue/ to Gecko style. r=froydnj 2014-06-26 18:35:39 -07:00
Birunthan Mohanathas
5f1fde8824 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
8fd1bc7f20 Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
Ehsan Akhgari
e368dc9c85 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
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jeff Walden
df2b7cbc5c Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Ehsan Akhgari
92064e6d3f 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
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
jwalden@mit.edu
6d7584839a 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
mats.palmgren%bredband.net
2cc99b4386 Don't crash on OOM. b=353997 r+sr=darin 2006-09-30 05:15:57 +00:00
benjamin%smedbergs.us
440b1ab0a4 Windows bustage from bug 347183 2006-08-08 19:00:18 +00:00
benjamin%smedbergs.us
ef6b6ab3b4 Bug 347183 - frozen-linkage access to null/singleton/union/array enumerators, r=darin 2006-08-08 18:18:50 +00:00
benjamin%smedbergs.us
21e011a642 Bug 319024 - Password manager does not remember data - regression from bug 316414 part 1 - observer enumerators need to hand out the strong-ref nsIObserver-implementing object, not the nsIWeakReference-implementing object, r=darin
Original committer: bsmedberg%covad.net
Original revision: 1.11
Original date: 2005/12/13 21:12:38
2006-08-08 17:09:01 +00:00
benjamin%smedbergs.us
0a37ce6355 Bug 316414 part 1, try #2 - Add xpcom-shutdown-threads and xpcom-shutdown-loaders notifications, r=darin
Original committer: bsmedberg%covad.net
Original revision: 1.10
Original date: 2005/11/30 18:51:27
2006-08-08 17:08:58 +00:00
benjamin%smedbergs.us
30efba836c Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan

Original committer: timeless%mozdev.org
Original revision: 1.9
Original date: 2005/11/25 19:48:01
2006-08-08 17:08:55 +00:00
benjamin%smedbergs.us
26f2ffd198 Bug 236613: change to MPL/LGPL/GPL tri-license.
Original committer: gerv%gerv.net
Original revision: 1.8
Original date: 2005/02/01 15:28:15
2006-08-08 17:08:52 +00:00
benjamin%smedbergs.us
105a8585cf 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.
Original committer: bryner%brianryner.com
Original revision: 1.7
Original date: 2004/01/15 06:14:12
2006-08-08 17:08:49 +00:00
benjamin%smedbergs.us
f4d5e2867e Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
Original committer: dbaron%dbaron.org
Original revision: 1.6
Original date: 2003/01/08 23:04:15
2006-08-08 17:08:46 +00:00
benjamin%smedbergs.us
cf81c89e30 Fix crash in ~nsCOMArrayEnumerator. Bug 181592, r=alecf, sr=scc
Original committer: bzbarsky%mit.edu
Original revision: 1.5
Original date: 2002/11/26 18:57:56
2006-08-08 17:08:43 +00:00
benjamin%smedbergs.us
5f16c93259 need to NS_INIT_ISUPPORTS to prevent thresafety assertions. bug 175437,
r=timeless, sr=alecf, a=dbaron

Original committer: bzbarsky%mit.edu
Original revision: 1.4
Original date: 2002/10/24 01:03:00
2006-08-08 17:08:40 +00:00
benjamin%smedbergs.us
9bbc39a68d fix for bug 162115 - add nsCOMArray<T> and nsIArray to the build
r=dougt, sr=darin, lots of comments from brendan, kai, bugmail@sicking.cc, frank.schoenheit@gmx.de, and even a little license help from timeless

Original committer: alecf%netscape.com
Original revision: 1.3
Original date: 2002/10/07 19:03:35
2006-08-08 17:08:37 +00:00
benjamin%smedbergs.us
ba76d53caa from brendan's review:
oops, use NS_IF_ADDREF where apropriate
also be consistent about using NS_ADDREF() on the result
not part of build

Original committer: alecf%netscape.com
Original revision: 1.2
Original date: 2002/10/01 18:29:30
2006-08-08 17:08:34 +00:00
benjamin%smedbergs.us
c8ccd4e6e9 add support for a nsISimpleEnumerator implementation for nsCOMArray<T> and nsIArray, and update existing interfaces to support that:
- move nsCOMArray_base's ObjectAt/[]/Count() methods into the public so that nsCOMArrayEnumerator can get to it
- tweak NS_NewArray() to match the existing enumerator NS_New* API
- hook up NS_NewArrayEnumerator to nsArray::Enumerate
Not part of the build, for bug 162115

This file was copied in CVS from the following location:
mozilla/xpcom/ds/nsArrayEnumerator.cpp
Original committer: alecf%netscape.com
Original revision: 1.1
Original date: 2002/10/01 17:34:25
2006-08-08 17:08:31 +00:00