Mats Palmgren
5f5d30eb5b
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
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -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
Honza Bambas
15daadba69
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
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
John Schoenick
8f85c825e0
Bug 716556 - Fix possible buffer overflow in nsScriptableInputStream (attempt 2). r=bsmedberg
2012-02-13 11:26:28 -08:00
Phil Ringnalda
e852e68d95
Back out 20ad3570d599 (bug 716556) for xpcshell orange
2012-02-08 22:11:42 -08:00
John Schoenick
7a8db952f3
Bug 716556 - Fix possible buffer overflow with nsScriptableInputStream, r=bsmedberg
2012-02-08 14:44:55 -08:00
David Zbarsky
7af11796a5
Bug 567013 - remove unused nsIBaseStream interface r=khuey
2011-08-09 12:28:00 -04:00
Dominic Fandrey
968bf5196a
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Shawn Wilsher
f7e6769fdc
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
c611ebcd81
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
466b0b1204
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
e599e0db22
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
a425bb001a
Bug 414901, back out scriptable IO api, r+sr=bsmedberg,a=beltzner
2008-01-31 11:18:07 -08:00
reed@reedloden.com
59d2451ae9
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
b60e8823f4
Backout taras's check-in for bug 398435 to help find Tp regression.
2007-10-16 17:31:01 -07:00
tglek@mozilla.com
2145eeea65
Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer
2007-10-15 16:40:09 -07:00
jwalden@mit.edu
d09c44d69c
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
8efc7f8e46
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
cbiesinger%web.de
bf9a5d31f9
backing out patch for bug 278786. it breaks read(-1).
2005-01-22 00:16:44 +00:00
cbiesinger%web.de
1cd737653e
Bug 278786 Scriptable inputstream needs not call available in Read
...
r+sr=darin
2005-01-19 19:44:37 +00:00
gerv%gerv.net
31625ba2b1
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
bryner%brianryner.com
06c7c1b2b4
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
2003-09-08 00:31:50 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
warren%netscape.com
e05eef45e9
Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan
2000-08-22 07:03:33 +00:00
warren%netscape.com
512c8bf433
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
2000-06-03 09:46:12 +00:00
valeski%netscape.com
f182a466ac
a=chofmann, 21783. inverted parameter validation checks have been corrected.
1999-12-21 03:00:54 +00:00
valeski%netscape.com
8895af0d3c
r=mcafee. 20677 assistance. We now have a scriptable input stream implementation and interface for js. Hurray!
1999-12-04 20:29:42 +00:00