Commit Graph

21 Commits

Author SHA1 Message Date
Henri Sivonen
6a6cd36d81 Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk. 2014-05-08 12:32:00 +03:00
Ehsan Akhgari
b870bb3fe9 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ehsan Akhgari
0703224cdd Bug 936899 - Build all of the uconv library in unified mode; r=smontagu 2013-11-10 14:41:29 -05:00
Ehsan Akhgari
e55dbc5e2e Bug 921472 - Minimize the #includes in intl/; r=smontagu
--HG--
extra : rebase_source : 09da2f7e2e4602e2572a64f45828a660aefe5ec2
2013-09-27 12:45:04 -04:00
Masatoshi Kimura
87dfe91ba3 Bug 851982 - Make ISO-2022-JP decoder reliable. r=smontagu 2013-06-21 00:54:40 +09:00
Josh Aas
625299ed82 Bug 843434: Fix assert in nsUnicharStreamLoader. r=emk 2013-03-11 21:02:53 -05:00
Ehsan Akhgari
0fd9123eac 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
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Simon Montagu
068e9f59a2 Various fixes to multi-byte Unicode decoders. Bug 715319, r=emk 2012-03-16 13:41:41 -07:00
Simon Montagu
db8c979547 Improve the tests for end of output block. Bug 718573, r=emk 2012-02-09 17:50:48 +02:00
Ms2ger
c953c25ac7 Bug 714613 - Simplify nsShiftJISToUnicode::Convert; r=smontagu 2012-01-15 09:13:12 +01:00
Simon Montagu
b888e2c269 Resynchronize the Shift_JIS converter after unrecognized sequences. Bug 690225, r=emk 2011-10-19 07:58:41 +02:00
Simon Montagu
4b4b2d32c4 Backout cset 308f180eb3f4 2011-10-18 15:09:45 +02:00
Simon Montagu
510fd7cf24 Resynchronize the Shift_JIS converter after unrecognized sequences. Bug 690225, r=emk 2011-10-18 14:15:21 +02:00
Henri Sivonen
6496c8e253 Bug 593046 - Do not read a pref in nsJapaneseToUnicode. r=smontagu, a=blocking2.0-final.
--HG--
extra : rebase_source : ac58c8390571cd0a0b62f85dc985c3d8902a8dac
2010-09-06 10:41:26 +03:00
Simon Montagu
c2c99a0943 Fix some errors with handling invalid sequences in the EUC-JP decoder. Bug 563618, r=Masatoshi Kimura <VYV03354@nifty.ne.jp> 2010-05-11 17:38:25 +03:00
Makoto Kato
545bdd7ff2 Bug 174351: Encoding errors aren't treated as fatal XML errors. r=smontagu, sr=peterv 2009-02-16 04:22:47 -08:00
dveditz@cruzio.com
6d6fa76015 bug 407161 fix garbled-Japanese Tbird subject lines (regression). patch by VYV03354@nifty.ne.jp, r=smontagu, sr=dveditz, a=beltzner 2007-12-18 11:08:35 -08:00
smontagu@smontagu.org
3bf86b0bff 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
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