Commit Graph

827 Commits

Author SHA1 Message Date
Andrew McCreight
69d5da0783 Bug 997963, part 5 - Remove some useless OOM checks from nsStringBundleService. r=ehsan 2014-04-21 09:41:57 -07:00
Andrew McCreight
61f63f3cbf Bug 997963, part 4 - Turn bundleCacheEntry_t::mBundle into an nsCOMPtr. r=ehsan
Also remove the now useless recycleEntry.
2014-04-21 09:41:57 -07:00
Andrew McCreight
8b3861df9f Bug 997963, part 3 - Make bundleCacheEntry_t::mHashKey into an nsAutoPtr. r=ehsan 2014-04-21 09:41:57 -07:00
Andrew McCreight
a3c1821788 Bug 997963, part 2 - Allocate bundleCacheEntry_t using new and free. r=ehsan 2014-04-21 09:41:56 -07:00
Andrew McCreight
7b63081f9c Bug 997963, part 1 - Delete trailing whitespace from string bundle files. r=ehsan 2014-04-21 09:41:56 -07:00
Nathan Froyd
f921947707 Bug 988829 - convert intl/uconv/ucvlatin/ to use Endian.h; r=smontagu 2014-02-26 20:42:29 -05:00
Jonathan Kew
fa195e50ce bug 987668 - add hyphenation patterns for Polish. r=smontagu,gerv 2014-04-02 07:38:00 +01:00
Mats Palmgren
120160d7ee Bug 988453 - Make nsHyphenationManager::Shutdown() resilient against being called more than once. r=roc 2014-03-31 02:57:34 +00:00
Makoto Kato
d57e096d9d Bug 984379 - Use fallible allocator for nsIScriptableUnicodeConverter. r=smontagu 2014-03-31 10:18:20 +09:00
Ehsan Akhgari
5b9f45a1a5 Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Jonathan Kew
fb2457bf80 bug 827779 - allow break after hyphen even if preceded by closing punctuation and/or followed by opening punctuation. r=masayuki 2014-03-25 09:29:16 +00:00
Margaret Leibovic
59d75e85a6 Bug 943262 - Remove getCharsetTitle part of test_bug713519.js. r=gavin 2014-03-24 09:22:35 -07:00
Ehsan Akhgari
17c8d2bddd Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Chris Peterson
83a5798c4e Bug 984250 - Suppress clang and gcc warnings in third-party code: hunspell and hyphen. r=ehsan 2014-03-15 23:17:50 -07:00
Kyle Huey
510a49016d Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Vaibhav Agarwal
74d0d984a3 Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Andrew McCreight
bb417adcd3 Bug 978486 - Remove nsErrorService::mErrorStringBundleKeyMap. r=froydnj 2014-03-04 09:49:40 -08:00
Ehsan Akhgari
b49ab8c371 Bug 978594 - Part 3: Port some of the per-source flags to moz.build; r=glandium
--HG--
extra : rebase_source : fe4cd059eddda221af420e1517250772816d7ee8
2014-03-02 15:41:32 -05:00
Jonathan Watt
d852a7e29a Bug 974175 - Stop using grouping separator characters when displaying <input type=number>'s value. r=ehsan 2014-02-20 12:31:05 +00:00
Ehsan Akhgari
7b16802ce4 Bug 973142 - Get rid of the MOZILLA_INTERNAL_API makefile variable; r=glandium
It's just as easy to directly set the preprocessor macro in the moz.build
files.  Using this variable doesn't really buy us anything.

This patch also removes unused code from rdf/tests/dsds.
2014-02-18 01:56:51 -05:00
Vaibhav Agarwal
d109cb3fc7 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-02-15 04:53:02 -05:00
Brian O'Keefe
ce139cc580 Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal 2013-11-05 13:37:54 -05:00
Ehsan Akhgari
fbe321aed6 Bug 970745 - Move USE_STATIC_LIBS to moz.build; r=glandium 2014-02-11 09:12:33 -05:00
Ehsan Akhgari
1a6d2922e1 Bug 969878 - Do not try to check the return value of nsTArray::SetLength in nsDateTimeFormatMac::FormatTMTime; 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:53:20 -05:00
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