Commit Graph

206 Commits

Author SHA1 Message Date
Ehsan Akhgari
1b83407ce9 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
359bde40d3 Bug 950032 - Part 3: Update jamap.pl to the latest tip. r=smontagu 2013-12-16 01:07:44 +09:00
Masatoshi Kimura
0fe9bca9cc Bug 950032 - Part 1: Remove dead code from japanese.map. r=smontagu 2013-12-16 01:07:06 +09:00
Henri Sivonen
eaaf5f4ede Bug 935453 - Gather telemetry about dangerous encodings and encodings we might remove. r=emk,sstamm. 2013-11-11 17:04:02 +02:00
Ehsan Akhgari
a3f7ee4300 Bug 936899 - Build all of the uconv library in unified mode; r=smontagu 2013-11-10 14:41:29 -05:00
Mike Hommey
7cb0d25686 Bug 932160 - Use UNIFIED_SOURCES for uconv unified sources. r=mshal 2013-10-30 07:43:39 +09:00
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Ehsan Akhgari
3986c21083 Bug 928231 follow-up - Rename the SIZE_OF_TABLES macro 2013-10-22 09:06:22 -04:00
Ehsan Akhgari
ad603d8368 Bug 928231 - Build the uconv library in unified mode; r=smontagu
--HG--
extra : rebase_source : 8f92dcbec9e63aee39c9e15b58e8a189ba9cc2f6
2013-10-17 19:09:20 -04:00
Ehsan Akhgari
bab998bc2b Bug 921472 - Minimize the #includes in intl/; r=smontagu
--HG--
extra : rebase_source : 09da2f7e2e4602e2572a64f45828a660aefe5ec2
2013-09-27 12:45:04 -04:00
Trevor Saunders
4aff5f1b09 bug 915566 - rm makefiles in intl/ r=mshal 2013-09-12 13:39:02 -04:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ms2ger
1c4d224f0e Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Trevor Saunders
f33ade0d68 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Masatoshi Kimura
cfd5ee2a8a Bug 851982 - Make ISO-2022-JP decoder reliable. r=smontagu 2013-06-21 00:54:40 +09:00
Brian O'Keefe
11bcc1cd9e Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Mike Shal
5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Mike Shal
df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Josh Aas
586b5e3acf Bug 843434: Fix assert in nsUnicharStreamLoader. r=emk 2013-03-11 21:02:53 -05: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
Ehsan Akhgari
f22f8b7a49 Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -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
Simon Montagu
a5d846e265 Various fixes to multi-byte Unicode decoders. Bug 715319, r=emk 2012-03-16 13:41:41 -07:00
Simon Montagu
35e3bc75b1 Improve the tests for end of output block. Bug 718573, r=emk 2012-02-09 17:50:48 +02:00
Ms2ger
176ab26790 Bug 714613 - Simplify nsShiftJISToUnicode::Convert; r=smontagu 2012-01-15 09:13:12 +01:00
Simon Montagu
34621450c8 Resynchronize the Shift_JIS converter after unrecognized sequences. Bug 690225, r=emk 2011-10-19 07:58:41 +02:00
Simon Montagu
6f5c3864dc Backout cset 308f180eb3f4 2011-10-18 15:09:45 +02:00
Simon Montagu
81548b004b Resynchronize the Shift_JIS converter after unrecognized sequences. Bug 690225, r=emk 2011-10-18 14:15:21 +02:00
Ed Morley
8aaddd0334 Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Masatoshi Kimura
d6412bb1fd Bug 600715 - Remove JIS X 0212 support from EUC-JP encoder. r=smontagu 2011-03-26 13:43:40 +01:00
Henri Sivonen
9490daf18d 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
Ehren Metcalfe
ab19d256ae Remove dead code in intl. Bug 559489, r=smontagu 2010-07-04 15:42:04 +03:00
Benjamin Smedberg
0df0345c66 Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Simon Montagu
4383d38163 Do Hankaku to Zenkaku conversion in the ISO-2022-JP encoder. Bug 563283, r=Masatoshi Kimura <VYV03354@nifty.ne.jp> 2010-06-21 15:34:11 +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
Simon Montagu
c4f18e8838 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
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
Makoto Kato
6c49622ac3 Bug 174351: Encoding errors aren't treated as fatal XML errors. r=smontagu, sr=peterv 2009-02-16 04:22:47 -08: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
dveditz@cruzio.com
9e2602c1a0 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
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
70c7968839 Remove unused empty decoders and encoders for CP932 and CP950. Bug 385044, r=jshin 2007-06-24 02:48:55 -07:00