Граф коммитов

33 Коммитов

Автор SHA1 Сообщение Дата
Jan Beich 60e6250747 Bug 1263325 - Unbreak build with libc++ and config/gcc_hidden.h after bug 1239083. r=glandium
MozReview-Commit-ID: 4y4j6o7V54D

--HG--
extra : transplant_source : %E2%27%20%2A%9Db%EE%252%AD%8F%CC%99_%C9%83%F3%ED%CD%CC
2016-04-11 11:38:54 +00:00
Ted Mielczarek 58e2e722d0 bug 1239083 - use moz.build files to build ICU. r=glandium,waldo
Also fixes bug 926980 - load ICU data from an archive file.

Stop invoking ICU's autoconf build system. Instead, have hand-authored
moz.build files under config/external/icu to build what we need. In addition,
we'll commit a pre-built copy of the ICU data file (currently icudt56l.dat)
under config/external/icu/data to avoid having to build ICU host tools to
generate it. config/external/icu/data also contains some assembly files
which can generate an object file containing the ICU data file contents
so that the JS shell (or standalone JS builds) can be linked directly to
the data without having to deal with the external data file. This requires
yasm or GNU as.

Various bits of packaging have been updated to account for the ICU data file.
XPCOM initialization now sets the ICU data directory so ICU can locate its
data file.

The update-icu.sh script has been modified to read the list of C/C++ source
files out of the ICU Makefiles and update `sources.mozbuild` files under
config/external/icu, as well as build a local copy of ICU using its
autoconf build system to generate the ICU data file to be committed in-tree.


MozReview-Commit-ID: 8Pfkzqt6S1W

--HG--
extra : rebase_source : 31426cddddb5543e0191059ba2f2eb069abe7727
2016-04-05 10:09:12 -04:00
Jan Beich c0ba7bb75e Bug 1228227 - Unbreak build with libc++ and config/gcc_hidden.h after bug 1075758. r=Waldo r=glandium
--HG--
extra : rebase_source : b463943ef8ed558156a97fab4ca7fed1ea85a65a
2015-12-01 18:24:45 +00:00
Jonathan Kew ede259b626 Bug 1210165 - Tweak the update-icu script ready for release 56. r=waldo 2015-11-20 11:33:13 +00:00
Mike Hommey 8f0ce84f5b Bug 1198952 - Work around GNU make 3.82 bug when recursing the ICU build system. r=gps 2015-11-11 13:13:06 +09:00
Ted Clancy b01b7d489a Bug 1172609 - Part 9: Add threadsafe recreateDefault() method to ICU::Timezone. r=waldo 2015-08-05 19:07:34 -07:00
Ted Clancy a332a1cb18 Bug 1172609 - Part 8: Fix the tz detection code. r=waldo 2015-08-05 19:05:04 -07:00
Makoto Kato 97bd348e1c Bug 1179106 - Remove units data from ICU. r=Waldo 2015-07-08 18:49:58 +09:00
Jeff Walden 9e451714f3 Bug 1075758 - Update String.prototype.normalize tests for normalization changes in ICU 55. r=arai
--HG--
extra : rebase_source : e853a46ec010b268419113577eb2814208e221eb
2015-06-16 23:53:04 -07:00
Jeff Walden 893125d2f1 Bug 1075758 - Use a larger buffer in pkgdata, corresponding to Mozilla's inordinately-long compiler command. r=m_kato
--HG--
extra : rebase_source : 8b394e0adb87164f1c45f9bf6cb7f7c911c3b32b
2015-06-14 22:47:37 -07:00
Jeff Walden 73ca79d7ee Bug 1075758 - Remove the applied-upstream patch to pass the right argument type to InterlockedCompareExchange in ICU. r=glandium
--HG--
extra : rebase_source : fa4cc22b6e07639d6986dba4a0f78af11b718d95
2015-06-12 14:25:23 -07:00
Jeff Walden ed8d339c69 Bug 1075758 - Update the local patch to suppress various clang warnings in ICU. r=glandium
--HG--
extra : rebase_source : c7a757bf5ac07710e865cc71e3d714395ce0c14b
2015-06-12 14:25:23 -07:00
Jeff Walden 164296655c Bug 1075758 - Remove a patch properly qualifying a type in umutex.h (already landed upstream). r=glandium
--HG--
extra : rebase_source : 31f3e55260154ac7303965810f78f2a3e2d2dec1
2015-06-12 14:25:23 -07:00
Jeff Walden 17f4ad9eae Bug 1075758 - Remove omitCollationRules patch, already performed upstream. r=glandium
--HG--
extra : rebase_source : b4e3b93b34cd2eedb3a589a3fe3737d5ff7b3c6b
2015-06-12 14:25:23 -07:00
Jeff Walden c768d07426 Bug 1075758 - Apply the local patch for bug 915735 (it works without needing any updating). r=glandium
--HG--
extra : rebase_source : 353a70986aafc7a91103f82a9c1ede26a392bd4c
2015-06-12 14:25:23 -07:00
Jeff Walden a9e538a45c Bug 1075758 - Remove local patch to not override CC/CXX when building with *BSD -- patch landed upstream. r=glandium
--HG--
extra : rebase_source : b60f540d01c5e77b61bde1d19d057d64b0faa022
2015-06-12 14:25:23 -07:00
Jeff Walden 00a55420cd Bug 1075758 - Remove local patch to make ICU build with MSYS/MSVC -- upstream has since acquired such support. r=glandium
--HG--
extra : rebase_source : c199be7e50a9c766abed0407a5c4dc423ed2d1f9
2015-06-12 14:25:23 -07:00
Jeff Walden 5ff37c47c1 Bug 1075758 - Adjust SVN URL in update-icu.sh to 55.1, add an early-exit so script is runnable without applying possibly-bad patches. r=glandium
--HG--
extra : rebase_source : 7ee2bc052bdacb301afa67162e46738642666c82
2015-06-12 14:24:59 -07:00
Ehsan Akhgari e99c905c87 Bug 1028945 - Allow building ICU with clang-cl; r=Waldo
--HG--
extra : rebase_source : cc09faf999e90567de564c0b0b8349c701b73f83
2014-06-24 07:19:45 -07:00
Chris Peterson 38c8f5be58 Bug 1003702 - Suppress clang warnings in third-party code: ICU. Now with more clobberin'. r=glandium
--HG--
extra : amend_source : 8fff21a02daafc582a458887fd55ad6c0eb3e97a
2014-05-01 08:55:31 -07:00
Ehsan Akhgari 32e9793b5a 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
Jeff Walden 013fc50cd5 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 6c799d0313 Backed out changeset 6e956de758ce (bug 924839) for xperf bustage on a CLOSED TREE 2014-01-30 16:57:49 -08:00
Jeff Walden 48e9df7dd1 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 b8f388f9fe 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 f82501d979 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
Jan Beich 9d55c2f41a Bug 899722 Part 4: Prevent runConfigureICU from overriding CC/CXX on BSDs. r=glandium 2013-08-20 16:42:42 -04:00
Landry Breuil 521f931c7e Bug 899722 Part 2: Backport upstream r32937 to fix symbol collision w/ truncate on BSD r=norbert r=waldo
See http://bugs.icu-project.org/trac/ticket/10290
2013-08-14 13:04:41 +02:00
Landry Breuil 4826869196 Bug 899722 Part 1: Fix ECMAScript intl on BSD by stripping the extra 's' added to the library name, as done on linux. r=norbert 2013-08-14 13:03:40 +02:00
Landry Breuil d228569c1e Bug 899722 Part 0: Extract patches for bugs 724533 & 853701 into separate patches and make update-icu.sh apply them. r=glandium 2013-08-14 13:03:36 +02:00
Norbert Lindenberg bbe0596308 Bug 853706 - Backported fix for formatting 0 with significant digits from ICU, and add a warning about this backported fix to update-icu.sh. r=jwalden
--HG--
extra : rebase_source : e49fb499f2a193283533a10321a2b8c79edea8ba
2013-07-16 10:39:56 -07:00
Norbert Lindenberg 4bc0b85925 Bug 724533 - Make ICU build with Mozilla build for Windows. r=gps
--HG--
rename : intl/icu/source/config/mh-cygwin-msvc => intl/icu/source/config/mh-msys-msvc
2013-03-30 11:21:00 +01:00
Norbert Lindenberg 5ca04f8ec9 Bug 724531 - Import ICU library into the mozilla tree. r=ted
--HG--
extra : rebase_source : f4bb782e7d76c74b742b54cae785481cafb2995c
2013-03-01 20:53:01 -08:00