Mike Hommey
44945d9d4c
Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
...
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Trevor Saunders
c81e3dd3ea
reland the part of bug 801466 backed out in 02a65951d77d since it wasn't at fault
2012-12-10 03:19:02 -05:00
Trevor Saunders
5bf9f2e569
partially backout c0715c079f1e bug 801466 part 4 to se if it fixes top crashes
2012-12-08 05:50:11 -05:00
Trevor Saunders
92656ec226
bug 801466 - remove some usage of prmem in intl/ and network/ r=jduell
2012-12-04 18:04:39 -05:00
Ed Morley
0966cd9dbc
Backout 3d411a8554e0 (bug 801466) for build failures
2012-12-04 23:34:40 +00:00
Trevor Saunders
4202aca18e
[PATCH] bug 801466 - remove some usage of prmem in intl/ and
...
From 9dadb8c05ecddfe60c415c1ff62627e998148c77 Mon Sep 17 00:00:00 2001
network/ r=jduell
---
intl/strres/src/nsStringBundle.cpp | 2 --
intl/uconv/src/nsConverterInputStream.cpp | 8 +++---
intl/uconv/src/nsConverterInputStream.h | 6 +++--
netwerk/base/public/nsReadLine.h | 38 +++-------------------------
netwerk/base/src/nsFileStreams.cpp | 9 +++----
netwerk/base/src/nsFileStreams.h | 3 ++-
netwerk/base/src/nsSerializationHelper.cpp | 31 +++++------------------
netwerk/base/src/nsSocketTransport2.cpp | 1 -
netwerk/cache/nsCacheMetaData.cpp | 3 +--
netwerk/cache/nsCacheMetaData.h | 3 ++-
netwerk/protocol/data/nsDataChannel.cpp | 24 +++++++-----------
11 files changed, 36 insertions(+), 92 deletions(-)
2012-12-04 18:04:39 -05: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
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Mitchell Field
bc63774d7e
Bug 542222 - Reduce recursion in netwerk makefiles.
2010-06-05 21:18:12 -04:00