Mats Palmgren
44d63e6f91
Bug 786533 - Replace NS_MIN/NS_MAX in xpcom/ with XPCOM_MIN/XPCOM_MAX to prevent accidental use. r=ehsan
2013-01-15 13:22:03 +01:00
Isaac Aggrey
0cc4b12d36
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Ehsan Akhgari
8c296bbcd4
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
Honza Bambas
5fe7a22e2c
Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking
2012-08-10 22:44:11 -04:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
John Schoenick
830b3cc2e8
Bug 716556 - Fix possible buffer overflow in nsScriptableInputStream (attempt 2). r=bsmedberg
2012-02-13 11:26:28 -08:00
Phil Ringnalda
fe89213620
Back out 20ad3570d599 (bug 716556) for xpcshell orange
2012-02-08 22:11:42 -08:00
John Schoenick
8ffc9cabe7
Bug 716556 - Fix possible buffer overflow with nsScriptableInputStream, r=bsmedberg
2012-02-08 14:44:55 -08:00
David Zbarsky
f554cb10db
Bug 567013 - remove unused nsIBaseStream interface r=khuey
2011-08-09 12:28:00 -04:00
Dominic Fandrey
0ab2f46136
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Shawn Wilsher
b3b7f224fd
Bug 590654 - Let JavaScript read embedded nulls from input streams
...
Adds a new method to NetUtil (readInputStreamToString) that will read a string
with or without embedded NULLs from an input stream. Also adds the needed API
on nsIScriptableInputStream to make this happen.
r=bz
sr=biesi
a=blocking2.0
2010-08-27 12:42:51 -07:00
Benjamin Smedberg
9045c05660
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
reed@reedloden.com
23e398896c
Bug 414901 - "Back out scriptable IO" [p=neil@mozilla.com (Neil Deakin) r+sr=bsmedberg a1.9b3=beltzner]
2008-02-01 18:07:49 -08:00
reed@reedloden.com
41073ec644
Back out the back out from bug 414901 until bug 415218 is fixed, or else we'll have very broken nightlies. :(
2008-02-01 00:51:29 -08:00
enndeakin@sympatico.ca
d23cbccf38
Bug 414901, back out scriptable IO api, r+sr=bsmedberg,a=beltzner
2008-01-31 11:18:07 -08:00
reed@reedloden.com
ffa3ace89f
Bug 398435 - "PRBool misuse bugs in xpcom/" [p=taras r=bsmedberg a1.9=sayrer]
2007-10-19 16:26:52 -07:00
reed@reedloden.com
e2df9b35fd
Backout taras's check-in for bug 398435 to help find Tp regression.
2007-10-16 17:31:01 -07:00
tglek@mozilla.com
62f4ae88bd
Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer
2007-10-15 16:40:09 -07:00
jwalden@mit.edu
f57320c98b
Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change
2007-09-04 23:41:35 -07:00
enndeakin@sympatico.ca
4ada13e2d9
Bug 380813, improve scriptable io, and give file objects class info, meant to check this in a while ago, r=mfinkle,bsmedberg,sr=bsmedberg
2007-07-25 09:53:37 -07:00
hg@mozilla.com
465265d0d4
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -07:00