Граф коммитов

17 Коммитов

Автор SHA1 Сообщение Дата
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
Simon Montagu 306b8cb3e6 Bug 494099, HZ-GB-2312 converter reads beyond input buffer and omits characters at block boundaries. r=VYV03354@nifty.ne.jp 2009-06-16 00:13:28 -07:00
smontagu@smontagu.org 18da58e54b Treat all empty and incomplete sequences as encoding errors, and some other clean-up. Bug 381412, r=jshin, sr=dveditz, b1.9=jst 2007-09-05 22:02:17 -07: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 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 1c6c9ed7c8 License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1). 2001-09-26 00:40:45 +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
ftang%netscape.com d58e92eb5d fix 80772. r=bstell clean up ucvcn and add gb18030 2001-05-15 12:52:29 +00:00
ftang%netscape.com 147b398f3e fix 74941. clean up massy code in the header and cpp files 2001-04-11 23:52:46 +00:00
yokoyama%netscape.com 1a6276d7ae Fixed 22921; nsIModule code. /r=valeski /sr=ftang 2001-01-22 21:49:03 +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
hoa.nguyen%intel.com 382ac45a79 Correctly check for the HZ converter engine state. 1999-10-21 00:03:52 +00:00
ftang%netscape.com 49217a4b1e check in code drop from Xu, Yueheng <yueheng.xu@intel.com> 1999-09-22 03:35:31 +00:00
ftang%netscape.com dbe706448c check in HZ to Unicode contributed by Xu, Yueheng <yueheng.xu@intel.com> 1999-09-18 00:05:27 +00:00
ftang%netscape.com 22d83ff1b4 add empty file as place holder 1999-06-10 01:00:45 +00:00