Commit Graph

803 Commits

Author SHA1 Message Date
Ehsan Akhgari
a8de3991dc Bug 969872 - Do not try to check the return value of nsTArray::SetLength in nsLocaleService; r=smontagu
This size is not controllable from content. and nsTArray::SetLength's
return value is always true for now (I'm converting it to void in bug
969864.)
2014-02-11 08:52:30 -05: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
9f20e412a4 Bug 969871 - Use fallible allocation for text hyphenation; r=jfkthame
It seems like the sizes for these data structures can be controlled from
Web content, and we are already prepared to deal with OOM conditions,
except that we are using infallible allocations by mistake.
2014-02-08 13:10:44 -05:00
Ehsan Akhgari
b0ba9f4bfb Bug 924839 - Reapply the OSX part of the fix to bug 915735
--HG--
extra : rebase_source : 1230fc14e43860cd4d5e4975f08216f6d8d6c7be
2014-02-03 17:08:42 -05:00
Jonathan Watt
d6624713df Bug 844744, part 1 - Add some utils classes and static methods to aid in using ICU from gecko code. r=smontagu 2014-01-23 15:42:54 +00:00
Jeff Walden
f81d3e44b8 Bug 924839 - Update our embedded ICU to 52.1, plus a very few local patches. r=lots of people, see subsequent lines in this commit message for the original subcomponents (merged together for landing), and the original bug for the original patch divisions
Bug 924839 - Remove a patch already part of ICU 52.1.  See http://bugs.icu-project.org/trac/ticket/10283 but also note the relevant code was removed completely upstream.  r=glandium
* * *
Bug 924839 - Remove another patch already part of ICU 52.1.  See http://bugs.icu-project.org/trac/ticket/10290 for that.  r=gaston
* * *
Bug 924839 - Remove another patch already in ICU 52.1.  See http://bugs.icu-project.org/trac/ticket/10045 for more.  r=Norbert
* * *
Bug 924839 - Remove another patch already applied upstream.  See http://bugs.icu-project.org/trac/changeset/32937 for more.  r=gaston
* * *
Bug 924839 - Update the ICU update script to update to 52.1, *without* applying any of our local patches.  r=glandium
* * *
Bug 924839 - Make the ICU update script only do updating within intl/icu/source and nowhere else.  r=glandium
* * *
Bug 924839 - Implement the changes that would be made by |cd intl/; ./update-icu.sh http://source.icu-project.org/repos/icu/icu/tags/release-52-1/;|, run with the prior changesets' changes made (thus not applying any of our local patches).  These changes don't actually work without subsequent adjustments, but this provides a codebase upon which those adjustments can be made, for the purpose of generating local patches to be kept in intl/icu-patches/.  rs=the-usual-suspects
* * *
Bug 924839 - Update the bug 899722 local patch to make runConfigureICU not override CC/CXX on BSD systems.  r=gaston
* * *
Bug 924839 - Update the bug 724533 patch that makes ICU builds with MozillaBuild on Windows.  r=glandium
* * *
Bug 924839 - Import an upstream patch fixing the genrb tool to properly handle the -R (--omitCollationRules) option.  See http://bugs.icu-project.org/trac/ticket/10043 for the original bug report and a link to the ultimate upstream landing.  r=Norbert
* * *
Bug 924839 - Import the upstream fix for http://bugs.icu-project.org/trac/ticket/10486 so that ICU with -DU_USING_ICU_NAMESPACE=0 will compile on Windows.  r=Norbert
* * *
Bug 924839 - Adjust the update script to update ICU, then to apply all local patches (rather than skipping the second step).  Thus if the update script is properly run, now, the final result should be no changes at all to the tree.  NOT REVIEWED YET
* * *
Bug 924839 - Update jstests that depend on CLDR locale data to match CLDR 24.  r=Norbert
2013-11-12 16:23:48 -08:00
Wes Kocher
00ec5c0a4b Backed out changeset 6e956de758ce (bug 924839) for xperf bustage on a CLOSED TREE 2014-01-30 16:57:49 -08:00
Jeff Walden
9aa6e885a9 Bug 924839 - Update our embedded ICU to 52.1, plus a very few local patches. r=lots of people, see subsequent lines in this commit message for the original subcomponents (merged together for landing), and the original bug for the original patch divisions
Bug 924839 - Remove a patch already part of ICU 52.1.  See http://bugs.icu-project.org/trac/ticket/10283 but also note the relevant code was removed completely upstream.  r=glandium
* * *
Bug 924839 - Remove another patch already part of ICU 52.1.  See http://bugs.icu-project.org/trac/ticket/10290 for that.  r=gaston
* * *
Bug 924839 - Remove another patch already in ICU 52.1.  See http://bugs.icu-project.org/trac/ticket/10045 for more.  r=Norbert
* * *
Bug 924839 - Remove another patch already applied upstream.  See http://bugs.icu-project.org/trac/changeset/32937 for more.  r=gaston
* * *
Bug 924839 - Update the ICU update script to update to 52.1, *without* applying any of our local patches.  r=glandium
* * *
Bug 924839 - Make the ICU update script only do updating within intl/icu/source and nowhere else.  r=glandium
* * *
Bug 924839 - Implement the changes that would be made by |cd intl/; ./update-icu.sh http://source.icu-project.org/repos/icu/icu/tags/release-52-1/;|, run with the prior changesets' changes made (thus not applying any of our local patches).  These changes don't actually work without subsequent adjustments, but this provides a codebase upon which those adjustments can be made, for the purpose of generating local patches to be kept in intl/icu-patches/.  rs=the-usual-suspects
* * *
Bug 924839 - Update the bug 899722 local patch to make runConfigureICU not override CC/CXX on BSD systems.  r=gaston
* * *
Bug 924839 - Update the bug 724533 patch that makes ICU builds with MozillaBuild on Windows.  r=glandium
* * *
Bug 924839 - Import an upstream patch fixing the genrb tool to properly handle the -R (--omitCollationRules) option.  See http://bugs.icu-project.org/trac/ticket/10043 for the original bug report and a link to the ultimate upstream landing.  r=Norbert
* * *
Bug 924839 - Import the upstream fix for http://bugs.icu-project.org/trac/ticket/10486 so that ICU with -DU_USING_ICU_NAMESPACE=0 will compile on Windows.  r=Norbert
* * *
Bug 924839 - Adjust the update script to update ICU, then to apply all local patches (rather than skipping the second step).  Thus if the update script is properly run, now, the final result should be no changes at all to the tree.  NOT REVIEWED YET
* * *
Bug 924839 - Update jstests that depend on CLDR locale data to match CLDR 24.  r=Norbert

--HG--
extra : rebase_source : e993b6e4a507f92d1b1a24949185d00d1f6201f2
2013-11-12 16:23:48 -08:00
Jeff Walden
edd89ea07a Set TZ=UTC in update-icu.sh so that $Date$ expansions in ICU source expand identically no matter where update-icu.sh is run. Useful but not necessary preliminary to bug 924839, rs=jimb over IRC 2014-01-03 17:44:24 -06:00
Jeff Walden
8a168a543c Don't write out the repository revision to intl/icu/SVN-INFO, so that the results of running this script remain constant over time when the same ICU repository path is specified. Useful but not necessary preliminary to bug 924839, r=jimb over IRC 2013-12-14 16:04:21 -05:00
Henri Sivonen
013d54c06a Additional test for bug 959058 - Check that 0x80 still decodes as euro on pages labeled as gbk. r=emk.
--HG--
rename : intl/uconv/tests/test_bug959058.html => intl/uconv/tests/test_bug959058-1.html
rename : intl/uconv/tests/test_bug959058.html => intl/uconv/tests/test_bug959058-2.html
2014-01-27 16:29:35 +02:00
Henri Sivonen
af36dc1ee2 Bug 959058 - Map GBK and GB2312 decoder constructors to the GB18030 decoder. r=emk. 2014-01-27 11:56:53 +02:00
Carsten "Tomcat" Book
75a572744b Backed out changeset 88549ccbce60 (bug 959058) for mochitest -m7 orange on android on a CLOSED TREE 2014-01-27 14:05:42 +01:00
Henri Sivonen
06f8903786 Bug 959058 - Map GBK and GB2312 decoder constructors to the GB18030 decoder. r=emk. 2014-01-27 11:56:53 +02:00
Sylvestre Ledru
f854b0dc6b Bug 777378 - Remove SUPPRESS_DEFAULT_RULES. r=gps 2014-01-23 09:38:29 -05:00
Birunthan Mohanathas
fadbd065a6 Bug 798033 - Remove 'using namespace' intl/uconv/ucvcn headers. r=emk 2014-01-22 12:24:25 -05:00
Mike Hommey
83c116b78a Bug 958404 - Recurse icu from top-level when building js. r=gps 2014-01-20 09:13:06 +09:00
Ehsan Akhgari
0edc1cdfb6 Bug 958497 - Use the correct character type in th_char.h depending on the language to use; r=smontagu 2014-01-12 14:50:48 -05:00
Masatoshi Kimura
f1e6303afa Bug 956995 - Stop using prtypes in unicpriv.h. r=smontagu 2014-01-10 21:09:35 +09:00
Masatoshi Kimura
0cd261329a Bug 956995 - Remove prtypes.h inclusions from C++ code in intl/. r=smontagu 2014-01-10 21:09:08 +09:00
Henri Sivonen
10f2ef6838 Bug 956024 - Remove traces of SunDevanagari and LangBox Arabic encodings. r=emk. 2014-01-07 12:41:09 +02:00
Henri Sivonen
4b092c3fbb Bug 799913 - Remove dead-code encoders previously used by gfx. r=emk. 2014-01-07 12:41:03 +02: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
Henri Sivonen
2fabf9a684 Bug 213517 part 2 - Remove the x-user-def language group. r=jfkthame. 2014-01-02 09:18:20 +02:00
Gregory Szorc
158ed8b3ec Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.

--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Henri Sivonen
eb366090d3 Bug 949345 - Gather telemetry about non-default Cyrillic legacy encodings. r=emk,f=sstamm. 2013-12-17 12:47:25 +02:00
Trevor Saunders
907dfc4528 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Masatoshi Kimura
2ef1ad3911 Bug 950032 - Part 3: Update jamap.pl to the latest tip. r=smontagu 2013-12-16 01:07:44 +09:00
Shoji Matsumoto
ea6ed2626a Bug 950032 - Part 2: Import jamap.pl from bug 108136. r=smontagu 2013-12-16 01:07:18 +09:00
Masatoshi Kimura
9a6431c1a9 Bug 950032 - Part 1: Remove dead code from japanese.map. r=smontagu 2013-12-16 01:07:06 +09:00
Birunthan Mohanathas
759ab69b0a Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Cykesiopka
f8bd1a35b4 Bug 342135 - Remove stale comment in nsICharsetConverterManager.idl. r=emk 2013-12-08 21:51:26 -05:00
Ehsan Akhgari
1adec124cd Bug 915735 - Build ICU as a shared library where JS is built as a shared library; r=glandium 2013-12-06 08:08:52 -05:00
Carsten "Tomcat" Book
72db98e70d Backed out changeset 099f65a712a8 (bug 915735) Windows Build Bustage on a CLOSED TREE 2013-12-06 14:48:13 +01:00
Ehsan Akhgari
905395bdd0 Bug 915735 - Build ICU as a shared library where JS is built as a shared library; r=glandium 2013-12-06 08:08:52 -05:00
Ehsan Akhgari
288c67ff02 Bug 946209 - Build intl/strres in unified mode; r=smontagu
--HG--
extra : rebase_source : aa4b70a6ad3bd3b718169cbf5ee2a7bd038e5c1d
2013-12-04 12:07:57 -05:00
Ehsan Akhgari
f450c4dedf Bug 946221 - Build intl/locale in unified mode; r=glandium
--HG--
extra : rebase_source : cf909b354efb1c16b0298ad56f040aabfa356133
2013-12-04 09:46:05 -05:00
Ehsan Akhgari
2472c5b43a Bug 946219 - Build intl/hyphenation in unified mode; r=glandium
--HG--
extra : rebase_source : 68f8e2151144b383c06e9f26f8781383dfabc96a
2013-12-04 09:45:35 -05:00
Ehsan Akhgari
09c44f04e7 Bug 946218 - Build intl/chardet in unified mode; r=glandium
--HG--
extra : rebase_source : 0466346b707ffb25247c269a5f66d37ea6aa58e0
2013-12-04 09:44:23 -05:00
Ehsan Akhgari
98e0da114b Bug 946217 - Build intl/lwbrk in unified mode; r=glandium
--HG--
extra : rebase_source : 1e6dfc33913491a87c3ac72c068ed9c78f64e776
2013-12-04 09:43:58 -05:00
Jacek Caban
08ee154ee6 Bug 945245 - Fixed misc char16_t/wchar_t mismatches. r=ehsan
--HG--
extra : rebase_source : fcab74b295b513f4185cf9c12f31ebaddb7c8e0e
2013-12-03 16:09:50 +01:00
Ms2ger
a129edb4cb Merge mozilla-inbound to mozilla-central. 2013-11-29 09:54:12 +01:00
Makoto Kato
ed24a20324 Bug 942645 - Remove old OS_RELEAE reference. r=glandium 2013-11-29 13:52:22 +09:00
Ms2ger
c0f908e4bb Bug 937224 - Part f: Move LOCAL_INCLUDES to moz.build in intl/; r=mshal 2013-11-28 15:24:15 +01:00
Mike Hommey
9245936f8b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
d210f8ff00 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Henri Sivonen
efd91c19ff Bug 805374 - Clean up the Character Encoding menu. r=Gijs,Unfocused. 2013-11-26 09:31:52 +02:00
Henri Sivonen
941bbef0ec Bug 919935 - Add a deCOMtaminated way to instantiate nsIUnicodeDecoders and nsIUnicodeEncoders. r=emk. 2013-11-26 09:31:52 +02:00
Birunthan Mohanathas
0816e609ee Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
--HG--
extra : rebase_source : 8ace754e117a12e2599f5a90030f13a3a7064fed
2013-11-25 14:02:47 -05:00