Commit Graph

16 Commits

Author SHA1 Message Date
Chris Peterson
efdb483353 Bug 1032644 - Fix some -Wunused warnings in non-unified OS X build. r=ehsan 2014-07-02 18:55:19 -07:00
Birunthan Mohanathas
62570a8716 Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
ff8ce9bd42 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
Aryeh Gregor
957e302fe1 Bug 857102 part 5 - Make NS_NewDocumentFragment etc. infallible; r=bz 2013-04-10 17:15:54 +03:00
Masatoshi Kimura
89a4119635 Bug 819650 - Remove nsContentUtils::CreateDocument. r=sicking 2012-12-10 09:05:33 -05:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
0fd9123eac 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
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Henri Sivonen
4f0811d5d3 Bug 764774 - Remove unused variable and object creation from nsParserUtils. r=smaug. 2012-06-15 15:28:28 +03:00
Ed Morley
10a18d4b30 Backout 4d93e6ed8a49 (bug 764774) for mochitest-chrome failure in test_bug675492.xul 2012-06-14 14:34:42 +01:00
Henri Sivonen
81f5560927 Bug 764774 - Remove unused variable and object creation from nsParserUtils. r=smaug. 2012-06-14 15:18:58 +03:00
Henri Sivonen
79e3d21a31 Bug 750096. r=bzbarsky. 2012-06-14 09:14:47 +03:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Henri Sivonen
e8ee050c0f Bug 737013 - Expose sanitizer fragments on parseFragment(), migrate callers to the new interface. r=smaug. 2012-03-20 17:28:42 +02:00
Henri Sivonen
82c137d953 Bug 650776 part 1 - Introduce a new HTML source to HTML source sanitizer XPCOM API. r=smaug. 2012-03-19 10:16:20 +02:00
Henri Sivonen
e8058853dd Bug 650784 part 1.5 - Move nsScriptableUnescapeHTML from Toolkit to Core. r=smaug.
--HG--
rename : toolkit/components/feeds/nsIScriptableUnescapeHTML.idl => parser/html/nsIScriptableUnescapeHTML.idl
rename : toolkit/components/feeds/nsScriptableUnescapeHTML.cpp => parser/html/nsParserUtils.cpp
rename : toolkit/components/feeds/nsScriptableUnescapeHTML.h => parser/html/nsParserUtils.h
2012-02-27 13:57:48 +02:00