Commit Graph

37 Commits

Author SHA1 Message Date
Masatoshi Kimura
fcf02cc8dc Bug 830112 - Remove prtypes.h from intl/ and some other cleanups. r=smontagu 2013-01-14 03:06:28 +09:00
Masatoshi Kimura
292564df3b Bug 782412 - Part 4: Implement inputErrorBehavior. r=smontagu 2012-11-26 20:38:20 -05:00
Masatoshi Kimura
6a679006de Bug 782412 - Part 3: Improve the BOM handling. r=smontagu 2012-11-26 20:38:20 -05:00
Masatoshi Kimura
eb826f6236 Bug 782412 - Part 2: Return NS_OK_UDEC_MOREINPUT and NS_OK_UDEC_MOREOUTPUT as appropriate. r=smontagu 2012-11-26 20:38:20 -05:00
Masatoshi Kimura
bb0329f109 Bug 782412 - Part 1: Rename UCS2BE to UTF16. r=smontagu
--HG--
rename : intl/uconv/ucvlatin/nsUCS2BEToUnicode.cpp => intl/uconv/ucvlatin/nsUTF16ToUnicode.cpp
rename : intl/uconv/ucvlatin/nsUCS2BEToUnicode.h => intl/uconv/ucvlatin/nsUTF16ToUnicode.h
rename : intl/uconv/ucvlatin/nsUnicodeToUCS2BE.cpp => intl/uconv/ucvlatin/nsUnicodeToUTF16.cpp
rename : intl/uconv/ucvlatin/nsUnicodeToUCS2BE.h => intl/uconv/ucvlatin/nsUnicodeToUTF16.h
2012-11-26 20:38:20 -05:00
Andrew Quartey
6772f228fb Bug 790354 - Remove unused variable 'ch' in nsBasicUTF7Decoder::ConvertNoBuff r=smontagu 2012-09-12 12:43:18 -04: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
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ms2ger
76df986395 Bug 623610 - Remove support for geostd8; r=smontagu 2012-01-02 19:05:20 +01:00
Masatoshi Kimura
0525a0e7b9 Bug 712876 - Replace ISO-8859-9 (latin5, etc.) decoder with windows-1254 decoder; r=smontagu 2011-12-28 00:49:57 +01:00
Ehsan Akhgari
2a602a5685 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
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ehsan Akhgari
de907a39be Merge mozilla-central into cedar 2011-03-30 13:55:31 -04:00
Ms2ger
52209d0dbb Bug 577945 - Map 0x7F..0x9F to U+007F..U+009F in ISO-8859 encodings; r=smontagu 2011-03-30 13:40:47 -04:00
Simon Montagu
be96a9dc94 Remove UTF-32 encoder and decoder. Bug 604317, r=emk 2011-03-30 08:35:34 +02:00
timeless@mozdev.org
88709c3b55 Bug 588719 remove nsVIQRToUnicode, nsVNIToUnicode, nsUnicodeToVIQR, nsUnicodeToVNI, and nsUnicodeToISO2022KR
r=smontagu
2010-10-13 09:54:10 +03:00
Ms2ger
fa9cd95dc2 Bug 622935 - Map 0x7F to U+007F rather than U+FFFD in mac and soviet encodings; r=smontagu 2011-03-26 12:04:18 -04:00
L. David Baron
4768982795 Don't return NS_ERROR_ILLEGAL_INPUT when given an empty source buffer. (Bug 638236) r=smontagu a2.0=blocking 2011-03-02 23:21:06 -08:00
Simon Montagu
173364c72b Set correct output params. Bug 634257, r=emk, a=bsmedberg 2011-02-20 11:04:28 +02:00
Simon Montagu
827ca5bb34 Don't split a surrogate pair over two output buffers. Bug 600974, r=emk, a=blocking 2010-10-20 09:11:16 -07:00
Ehren Metcalfe
40edafab25 Remove dead code in intl. Bug 559489, r=smontagu 2010-07-04 15:42:04 +03:00
Benjamin Smedberg
f13550a209 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
Mike Hommey
7ad1a35d5e Bug 544512 - Misaligned accesses in uconv causes Bus Error on sparc and word wrapping on arm. r=smontagu 2010-03-06 16:35:11 +01:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Simon Montagu
8a968e997b Fix some issues found with valgrind. Bug 479759 and bug 481692. r=Masatoshi Kimura <VYV03354@nifty.ne.jp> 2009-03-10 23:12:52 +02:00
Simon Montagu
c1e02f694e Treat unpaired surrogate characters in UTF-16 as illegal characters. Bug 312716. Patch by me and Peter Annema <jag@tty.nl>, r=me, jag, jshin; sr=dveditz 2009-02-22 02:08:27 -08:00
Simon Montagu
a141b846fc Remove obsolete files in intl/uconv. Bug 475538, r=Masatoshi Kimura <VYV03354@nifty.ne.jp> 2009-02-12 04:09:54 -08:00
Simon Montagu
9e3bf496ad Update the GEOSTD8 to Unicode decoder. Bug 472746, r=Masatoshi Kimura <VYV03354@nifty.ne.jp> 2009-01-09 10:32:04 +02:00
Masatoshi Kimura
a682e0d618 Bug 335531 - Correct misuse of UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE charset labels; r=smontagu sr=dbaron 2008-12-06 11:08:26 -08:00
Daniel Holbert
03c259e522 Backed out changeset 78d662c2c878 (Bug 335531) on suspicion of causing mochitest failures in test_bug399284.html on linux & windows unittest boxes. 2008-12-05 11:52:01 -08:00
Masatoshi Kimura
2171389689 Bug 335531 - Correct misuse of "UTF-16BE", "UTF-16LE", "UTF-32BE", and "UTF-32LE" charset labels; r=smontagu sr=dbaron 2008-12-05 18:31:00 +01:00
Simon Montagu
766e1031ac Make the UTF-16 decoder return an error if the input length is less than 2 bytes. Bug 396637, r=jshin 2008-06-04 20:52:19 +03:00
mozilla@weilbacher.org
1672bc47c1 Bug 413613: remove MOZ_EXTRA_X11CONVERTERS and the code it enables, r=smontagu, a=beltzner 2008-01-28 14:22:53 -08:00
benjamin@smedbergs.us
2e25a321f8 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
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