Commit Graph

300 Commits

Author SHA1 Message Date
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
df855dd06e Bug 784841 - Part 18q: Convert /intl; r=ted f=Ms2ger 2013-02-25 12:47:21 -08:00
Masatoshi Kimura
8395e84bbf Bug 830112 - Remove prtypes.h from intl/ and some other cleanups. r=smontagu 2013-01-14 03:06:28 +09:00
Masatoshi Kimura
bc4214f5b8 Bug 782412 - Part 4: Implement inputErrorBehavior. r=smontagu 2012-11-26 20:38:20 -05:00
Masatoshi Kimura
3adf953533 Bug 782412 - Part 3: Improve the BOM handling. r=smontagu 2012-11-26 20:38:20 -05:00
Masatoshi Kimura
37649b3c1d 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
0e92bf57ec 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
6195e92355 Bug 790354 - Remove unused variable 'ch' in nsBasicUTF7Decoder::ConvertNoBuff r=smontagu 2012-09-12 12:43:18 -04:00
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
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ms2ger
d0bb7ac21e Bug 623610 - Remove support for geostd8; r=smontagu 2012-01-02 19:05:20 +01:00
Masatoshi Kimura
e7bb252386 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
92064e6d3f 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
d2b70213ac 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
23f78e2226 Merge mozilla-central into cedar 2011-03-30 13:55:31 -04:00
Ms2ger
b1a4d7c12e 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
4587536cef Remove UTF-32 encoder and decoder. Bug 604317, r=emk 2011-03-30 08:35:34 +02:00
timeless@mozdev.org
10ebb07512 Bug 588719 remove nsVIQRToUnicode, nsVNIToUnicode, nsUnicodeToVIQR, nsUnicodeToVNI, and nsUnicodeToISO2022KR
r=smontagu
2010-10-13 09:54:10 +03:00
Ms2ger
e7c21851e1 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
c35756d651 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
ec7b1f996e Set correct output params. Bug 634257, r=emk, a=bsmedberg 2011-02-20 11:04:28 +02:00
Simon Montagu
3c47aaf992 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
ab19d256ae Remove dead code in intl. Bug 559489, r=smontagu 2010-07-04 15:42:04 +03:00
Benjamin Smedberg
a7e67d32ad 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
b4f5845246 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
ba372f3a4c 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
0ef190bc50 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
9a2290a180 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
d1e980ba41 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
52daffdeee 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
3a3a37f47d 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
61f320aa9d 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
31c5df869e 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
b249b550e9 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
fc80bb59ab 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
baab01ada6 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
05e5d33a57 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
smontagu%smontagu.org
a86de95bfc Remove UEscape decoder/encoder. Bug 350830, r=jshin, sr=dveditz 2006-10-10 17:58:31 +00: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
smontagu%smontagu.org
9a589bbe27 Bug 340714: nsIConverterInputStream duplicates the last character in the first buffer. r=jshin, sr=jag 2006-07-20 07:39:29 +00:00
cbiesinger%web.de
51a89a8b1e bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg
2006-05-06 17:53:51 +00:00
gerv%gerv.net
af20ee45fb Bug 331921 - Fix up some corrupt/dodgy Initial Developer lines. 2006-03-30 07:57:05 +00:00
jshin%mailaps.org
eb97f51003 bug 317216 : UTF16 and UTF32 decoders allow invalid UTF16 into the core : UTF-32 patch, r=smontagu, sr=bzbarsky 2005-11-22 07:58:41 +00:00
smontagu%smontagu.org
5ac082b0a6 Make mErrorEncoder nsCOMPtr. Bug 306493, r=jshin, sr=dbaron 2005-09-06 07:10:26 +00:00
smontagu%smontagu.org
b21942d686 Release the correct pointer in implementations of SetOutputErrorBehavior. Bug 295145, patch by Frank Wein <bugzilla@mcsmurf.de>, r=jshin, sr=dbaron 2005-08-29 13:58:56 +00:00
neil%parkwaycc.co.uk
76a5d24b8f Fix compiler warnings b=287540 p=gautheri@noos.fr r=smontagu sr=blizzard 2005-04-05 08:31:32 +00:00
jshin%mailaps.org
7a79475cb5 bug 276042 : NPL->MPL 2005-01-09 12:33:29 +00:00
jshin%mailaps.org
7aedc24051 bug 276042 : NPL -> MPL relicensing of u[tf] files in intl/uconv 2005-01-09 06:06:00 +00:00