Commit Graph

32 Commits

Author SHA1 Message Date
Henri Sivonen
c240c075c4 Bug 964225 - Remove the GBK decoder class and remove GB2312 as a Gecko-canonical encoding. r=emk. 2014-09-26 15:12:02 +03:00
Ed Morley
84f4adffcf Backed out changeset 6e5adc14dc82 (bug 964225) 2014-09-26 16:10:57 +01:00
Henri Sivonen
0a32676cc1 Bug 964225 - Remove the GBK decoder class and remove GB2312 as a Gecko-canonical encoding. r=emk. 2014-09-26 15:12:02 +03:00
Ehsan Akhgari
68bfe70f09 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
Masatoshi Kimura
34a8052b32 Bug 830112 - Remove prtypes.h from intl/ and some other cleanups. r=smontagu 2013-01-14 03:06:28 +09:00
Ehsan Akhgari
243c878d26 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
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Simon Montagu
07a99a12fa Various fixes to multi-byte Unicode decoders. Bug 715319, r=emk 2012-03-16 13:41:41 -07:00
Masatoshi Kimura
bd694a03eb Bug 734090 - Fix GB18030 4-bytes mappings. r=smontagu 2012-03-09 20:52:14 -05:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Simon Montagu
c9e8bcdc36 Don't split a surrogate pair over two output buffers. Bug 600974, r=emk, a=blocking 2010-10-20 09:11:16 -07:00
7334d31070 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
smontagu@smontagu.org
b0706df668 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
c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
sfraser@netscape.com
631d4c694a Make lots of static data const. Bug 74803. r=dbaron, sr=alecf 2003-02-26 01:15:36 +00:00
alecf@netscape.com
32cc4011fd 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
ftang@netscape.com
b5b687ea53 fix bug 101998. Add surrogate conversion
r=shanjian sr=alecf
2002-02-13 01:31:54 +00:00
gerv@gerv.net
9a421db1b4 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
30a09f1d88 Oops. 2001-09-20 00:02:59 +00:00
scc@mozilla.org
a43c5e83a8 bug #98089: ripped new license 2001-09-19 22:39:41 +00:00
yokoyama@netscape.com
aa597a57c1 Bug 75707: Some BIG5 characters can not be displayed properly in Solaris Trunk
add a boolean value to valid the med
checking in for ftang
2001-07-13 20:42:34 +00:00
ftang@netscape.com
1ac0c7e40f fix 80772. r=bstell clean up ucvcn and add gb18030 2001-05-15 12:52:29 +00:00
shanjian@netscape.com
c45658b2d8 #64235, 25037
mishandling of 'stand-alone' octet with MSB set in CJK(multibyte) encodings

r = ftang sr=erik,
p =  Jungshik Shin
2001-03-21 22:50:05 +00:00
yokoyama@netscape.com
e1b6210ffa Fixed 22921; nsIModule code. /r=valeski /sr=ftang 2001-01-22 21:49:03 +00:00
ftang@netscape.com
7027f32bc3 fix bug 54468. r=cata sr=erik. add boundary condiction and return
different result code for those cases.
2000-10-06 21:54:00 +00:00
dmose@mozilla.org
20621227af 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
d412e5de05 Optimized decoder. 1999-10-21 00:05:16 +00:00
ftang@netscape.com
cd1e57c193 check in code drop from Xu, Yueheng <yueheng.xu@intel.com> 1999-09-22 03:35:31 +00:00
ftang@netscape.com
3c16770e3e check in GBK converter for Xu, Yueheng <yueheng.xu@intel.com 1999-09-13 19:27:05 +00:00
ftang@netscape.com
c7d272b046 add empty file as place holder 1999-06-10 01:00:45 +00:00