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

31 Коммитов

Автор 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 afd7130aa1 Fix typos in conditions. Bug 670556, r=emk 2012-01-22 12:04:05 +02:00
Simon Montagu c59a93e2d4 Fix the range check for CP949 in uscan.c, Bug 658952. Correct a typo in the alias cseuckr, Bug 462687 r=emk 2011-05-30 08:38:26 +03:00
Daniel Holbert 4a824967d7 Bug 576556: Add GCC-suggested parens in uconv.c to fix build warning. r=smontagu 2010-07-05 13:48:59 -07:00
Michael Kohler 6c0f59f4a6 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02: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
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 fbb3460483 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-05-17 02:39:15 +00:00
jshin%mailaps.org a66b40d805 bug 214743 : remove Hangul Jamo fallback in KSC5601GL encoder and 'generator'. Also remove the corresponding 'scanner' in uscan.c that's not used by any decoder (r=smontagu,sr=blizzard) 2006-05-17 02:39:14 +00:00
sfraser%netscape.com 25bb2b740e Make lots of static data const. Bug 74803. r=dbaron, sr=alecf 2006-05-17 02:39:13 +00:00
jshin%mailaps.org d5632dfed2 bug 133216 - make multibyte decoder more robust for invalid octet sequence.
r=yokoyama, sr=alecf, a=asa
2006-05-17 02:37:34 +00:00
jshin%mailaps.org d385602ff0 Bug 128587 : Fix a typo in uScanDecomposedHangulCommon() to make
EUC-KR/ISO-2022-KR decoders work correctly with 8byte-seq. representation
of Hangul syllables. r=yokoyama, sr=alecf, a=scc
2006-05-17 02:37:33 +00:00
ftang%netscape.com f0ec02a26b fix bug 9519 r=ftang sr=brendan a=roc+moz
make uconv code port to 32 bits clean for arm arch
thansk  jeroen.dobbelaere@acunia.com
2006-05-17 02:37:32 +00:00
gerv%gerv.net 150c4d33a5 License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1). 2006-05-17 02:37:31 +00:00
gerv%gerv.net 59263a2fdf Oops. 2006-05-17 02:33:32 +00:00
scc%mozilla.org 6e78e449ab bug #98089: ripped new license 2006-05-17 02:33:31 +00:00
yokoyama%netscape.com 099b876d99 Bug 88944 for jshin. r=ftang sr=blizzard@mozilla.org
adding converter support for x-windows-949 and x-johab
2006-05-17 02:33:30 +00:00
ftang%netscape.com ad9f228de6 blizzard ask me fix tab in the sr comment of 79273. Here is the change which only change tab and space
I use VC++ and 1. Select all 2. Edit:Advanced:Format Selection while Tools:Options.. Tabs set to 2/2 Smart
2006-05-17 02:33:29 +00:00
ftang%netscape.com 3a43c6e1f0 fix 79273
add GB18030 4 byte support into the unicode conversion engine.
r=bstell sr=blizzard@mozilla.org
2006-05-17 02:33:25 +00:00
ftang%netscape.com 608c67ea72 fix 71489
Add johab document encoding support
Currently the convert from johab to unicode part is #if 0 since
we didn't have a way to test it.
r=bstell sr=erik
2006-05-17 02:33:24 +00:00
cls%seawood.org c1df71a105 Do NOT use C++-style comments in a C file. It causes builds to fail on some compilers. Fixing cement tinderbox bustage 2006-05-17 02:33:23 +00:00
shanjian%netscape.com 97c91ea3a1 #64235, 25037 illegal 0xA0 code point in Multibyte charset break parser
r=ftang, sr=erik
uscan.c
nsUnicodeDecodeHelper.cpp
nsGB2312ToUnicodeV2.cpp
nsGBKToUnicode.cpp
nsJapaneseToUnicode.cpp
2006-05-17 02:33:22 +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 bfdb99d1d9 fix bad funct name. Thanks brade 1999-09-13 22:18:31 +00:00
ftang%netscape.com 281dc11835 fix composed hangule conversion and also add it to KS C 5601 conversion 1999-07-16 18:20:45 +00:00
ftang%netscape.com 04317bc727 add composed Hangul support 1999-07-16 13:03:32 +00:00
ftang%netscape.com 2cf6b53c65 add new support for GL 1999-06-12 01:38:30 +00:00
ftang%netscape.com c0ae575180 add functionality to uscan and ugen so we can add CNS11643 p3-7 into euc-tw 1999-06-10 12:56:33 +00:00
ftang%netscape.com ec190031e7 add new scanner/generate type to support UCS2/4 1999-06-09 20:22:26 +00:00
ftang%netscape.com 1aba6b47b6 add shift jis converter, add table driven decode utility and interface, change module name from intl to uconv 1999-01-12 08:34:29 +00:00