Mike Hommey
4d93988786
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Nathan Froyd
8fccbf9246
Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
...
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Wes Kocher
8e33b81f72
Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE
2015-04-14 14:42:59 -07:00
Nathan Froyd
047c5ef7e9
Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
...
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Chris Peterson
f1664b4c5c
Bug 1032644 - Fix some -Wunused warnings in non-unified OS X build. r=ehsan
2014-07-02 18:55:19 -07:00
Birunthan Mohanathas
1ebdb921a5
Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan
2014-05-22 06:48:50 +03: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
Aryeh Gregor
f54fae9f98
Bug 857102 part 5 - Make NS_NewDocumentFragment etc. infallible; r=bz
2013-04-10 17:15:54 +03:00
Masatoshi Kimura
95a5fcc331
Bug 819650 - Remove nsContentUtils::CreateDocument. r=sicking
2012-12-10 09:05:33 -05:00
Randell Jesup
3b4961b603
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
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
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Henri Sivonen
38b8986d73
Bug 764774 - Remove unused variable and object creation from nsParserUtils. r=smaug.
2012-06-15 15:28:28 +03:00
Ed Morley
be7d8951b0
Backout 4d93e6ed8a49 (bug 764774) for mochitest-chrome failure in test_bug675492.xul
2012-06-14 14:34:42 +01:00
Henri Sivonen
908855bc85
Bug 764774 - Remove unused variable and object creation from nsParserUtils. r=smaug.
2012-06-14 15:18:58 +03:00
Henri Sivonen
ddb3e40159
Bug 750096. r=bzbarsky.
2012-06-14 09:14:47 +03:00
Gervase Markham
d697fdc8ec
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
2012-05-29 16:52:43 +01:00
Henri Sivonen
fb9dd4c09a
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
894541381a
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
3f74408bad
Bug 650784 part 1.5 - Move nsScriptableUnescapeHTML from Toolkit to Core. r=smaug.
2012-02-27 13:57:48 +02:00