Commit Graph

18 Commits

Author SHA1 Message Date
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
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
a7e67d32ad Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
smontagu%smontagu.org
848316fb3c Remove mShiftTable from encoders/decoders that don't use it and various other pieces of stale code. Bug 336575, r=jshin, rs=roc 2006-08-07 07:57:31 +00:00
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
alecf%netscape.com
71f32d15bb fix for bug 158003 - custom static constructors for i18n unicode converters.
r=shanjian, sr=bz, a=roc+moz
2002-09-07 01:17:57 +00:00
alecf%netscape.com
398c128889 fix for bug 157993 - combine all unicode converters into a single library, and share GetMaxLength() implementation between all converters that can support it.
r=ftang, sr=blizzard
2002-08-12 19:16:16 +00:00
gerv%gerv.net
6f48c5f805 License changes, take 2. Bug 98089. mozilla/intl/ (part 2). 2001-09-26 00:47:52 +00:00
gerv%gerv.net
1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org
bc444f528a bug #98089: ripped new license 2001-09-19 22:39:41 +00:00
yokoyama%netscape.com
ba16f25c78 bugfix for 80329; /r=sfraser; /sr=brendan 2001-05-17 00:02:21 +00:00
yokoyama%netscape.com
429875f270 fix for 22921. /r = jud, /sr=ftang 2001-01-19 01:34:00 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
ftang%netscape.com
0c1330d6ce add CNS 11643 p3-7 to EUCTW 1999-06-10 14:14:50 +00:00
ftang%netscape.com
f1b03fd874 add CNS11643 converters 1999-06-08 23:14:26 +00:00
ftang%netscape.com
dc0e05c264 fix Chinease/Korean encoder problem 1999-06-08 21:06:47 +00:00
ftang%netscape.com
c1384463fa add FillInfo 1999-06-07 20:32:15 +00:00
ftang%netscape.com
6803a8b10b add euc-tw converters to ucvtw2 1999-05-31 16:26:09 +00:00