Commit Graph

63 Commits

Author SHA1 Message Date
André Bargull
a6b52311ad Bug 1533481 - Part 4: Prepare update to ICU 64. r=jwalden!
Summary:

- ICU no longer supports removing resource files manually, instead the new data
  filter builder needs to be used.
- This includes test data, which also must be preserved in ICU 64.
- umutex.h contains an implicit call to `new` in ICU64 which needs to be allowed
  in check_vanilla_allocations.py.
- Drive-by: Make ICU with multiple jobs for faster rebuilds.

Reviewers: jwalden

Reviewed By: jwalden

Bug #: 1533481

Differential Revision: https://phabricator.services.mozilla.com/D25264

--HG--
extra : rebase_source : 9fde775ee9b189c84a29f69f11ebd955f0030b38
2019-04-04 11:52:54 +03:00
André Bargull
0786be3f1f Bug 1533481 - Part 3: Remove no longer needed ICU patches or update to apply cleanly. r=jwalden!
Summary:

- Local patches for bug 1504656 and bug 1513934 are now present upstream.
- Patch for bug 1172609 needed to be rebased to apply cleanly.
- Update patch for bug 1172609 to follow new static mutex handling in ICU.

Reviewers: jwalden

Reviewed By: jwalden

Bug #: 1533481

Differential Revision: https://phabricator.services.mozilla.com/D25263

--HG--
extra : rebase_source : 2e1d2974394e336d714b16642dd9d02b226300c2
2019-04-04 11:52:36 +03:00
André Bargull
7f8b902c81 Bug 1513934 - Import ICU patch to fix possible time zone misdetection on Windows 7. r=Waldo
--HG--
extra : amend_source : 9b0b4e865d1195b7124f74ea096d904a31b0cd71
2018-12-14 05:48:46 -08:00
André Bargull
47daacbeee Bug 1504656 - Add patch to workaround ICU bug in RelativeDateTimeCacheData::getRelativeDateTimeUnitFormatter. r=jwalden
--HG--
extra : rebase_source : f70c72f9aa04e1adceb88ddfd8764c0de20f43a8
2018-12-02 07:28:08 -08:00
André Bargull
7820c86808 Bug 1499026 - Part 1: Update patches for ICU 63. r=Waldo 2018-11-01 06:31:35 -07:00
André Bargull
026003522e Bug 1346211 - Part 5: Only remove 'exemplar city' names from ICU time zone names data files. r=Waldo
--HG--
extra : rebase_source : b8d72bac193198875fd8df965849e35c7b04e699
2018-07-24 03:07:14 -07:00
André Bargull
7f4e8b545f Bug 1466471 - Part 6: Import patch to fix case conversion bug. r=Waldo 2018-07-05 07:14:07 -07:00
André Bargull
6847ff4290 Bug 1445465 - Part 1: Remove ICU patch no longer needed with ICU 61. r=Waldo
--HG--
extra : rebase_source : bea346207d1471f8397533b19b3f8658192830fa
2018-03-27 07:10:44 -07:00
Steve Fink
973f0383bc Bug 1446254 - Update various files for move to non262/, r=Waldo
--HG--
extra : rebase_source : c723ffc20d4acc02cadd1c27b747ab3e08f60617
2018-03-15 21:42:33 -07:00
André Bargull
d59edfc08b Bug 1422415 - Part 2: Call _sprintf_l with C-locale to ensure result doesn't contain locale-dependent decimal separator. r=Waldo 2017-12-05 04:24:41 -08:00
André Bargull
db02e51a31 Bug 1405993 - Part 2: Remove no longer used ICU patches. r=Waldo
--HG--
extra : rebase_source : ef32ed7d42c283997ae0dac0db274f35fb5431f5
2017-11-01 11:48:48 -07:00
André Bargull
8cb57f8a5e Bug 1387476 - Import time zone detection patch from ICU to improve tz handling in newer Linuxes and macOS 10.13. r=gandalf 2017-09-21 21:39:12 +02:00
Makoto Kato
9990002068 Bug 1387937 - Part 2. Add patch file. r=jfkthame
MozReview-Commit-ID: Ej5YLm9dz57

--HG--
extra : rebase_source : ed3e5504a4357ab8f6502dd07301cdada2ef138e
extra : histedit_source : 295998882be300c3e391535bf3e1bd8fc719d047
2017-09-15 19:07:06 +09:00
Tom Ritter
26b59ebfb5 Bug 1380083 - Pull in upstream ICU patch that changes '\' to '/' in #include. r=andre,m_kato
Upstream: http://bugs.icu-project.org/trac/changeset/40102

MozReview-Commit-ID: 88aECdijOxr

--HG--
extra : rebase_source : 9695367158b37dfebcd35387f9de56e3b7cc91fe
extra : histedit_source : cdeb402b6da62a5e8da595d976ba1a067fa12b25
2017-07-12 12:34:50 -05:00
André Bargull
7be99b0beb Bug 1373763: Extend scope for local variable in uprv_convertToPosix. r=dmajor
--HG--
extra : rebase_source : 7664d67626d00c17e7f2d46277a8dd7605b52eb9
2017-06-29 10:22:07 -07:00
André Bargull
1165535aa2 Bug 1353650 - Part 1: Adjust custom ICU patches for ICU 59 update. r=Waldo
--HG--
extra : rebase_source : 50bc963fb87eda50da851f9d903fb71227de13bd
2017-04-19 06:54:47 -07:00
André Bargull
478bf14a1e Bug 1324240 - Also set LANGUAGE environment variable to ensure svn uses English instead of the OS locale. r=Waldo
--HG--
extra : rebase_source : b0d476ca4cc51982411072f576e44b87eb1020ed
extra : histedit_source : 1c79056745316d2689d60ad9129d881dbbec0aec
2017-04-05 10:41:42 +02:00
Makoto Kato
831b62ec11 Bug 1345336 - Part 1. Remove empty zoneStrings entries. r=Waldo
MozReview-Commit-ID: EuVZ5sgHoBH
2017-03-13 13:37:47 +09:00
Sebastian Hengst
1c387c432b Backed out changeset da332b097c16 (bug 1345336) for failing jsreftest.html?test=Intl/DateTimeFormat/format.js on Windows 7 VM pgo. r=backout 2017-03-13 10:47:30 +01:00
Makoto Kato
f65c413250 Bug 1345336 - Part 1. Remove empty zoneStrings entries. r=Waldo
MozReview-Commit-ID: EuVZ5sgHoBH

--HG--
extra : rebase_source : d8341641ef4dcb01701f3cac8f1537f9278fac92
2017-03-13 13:37:47 +09:00
Makoto Kato
d42aa067c3 Bug 1225401 - Part 1. Remove cities when syncing ICU source code. r=Waldo
MozReview-Commit-ID: ilVREadiJc
2017-03-03 13:56:24 +09:00
Makoto Kato
953af69fee Backed out changeset 292d9e369264 (bug 1225401) due to conflict updating with Bug 1343493
MozReview-Commit-ID: yx1Zc42GGC
2017-03-03 14:17:16 +09:00
Makoto Kato
1730f1d75e Bug 1225401 - Part 1. Remove cities when syncing ICU source code. r=Waldo
MozReview-Commit-ID: ilVREadiJc
2017-03-03 13:56:24 +09:00
Robert Longson
a88f01d23a Bug 1325858 - Redundant handles open for HKLM\SYSTEM\ControlSet001\Control\TimeZoneInformation r=andrebargull 2016-12-30 16:36:05 +00:00
André Bargull
e93f2e8f17 Bug 1323254 - Part 2: Update url to ICU svn repository in update script. r=Waldo 2016-12-13 12:50:45 -08:00
Jeff Walden
ac7e932894 Bug 1324536 - Only add/remove files in intl/{icu,tzdata}/{source,SVN-INFO} so that random other detritus in intl/{icu,tzdata} doesn't get included. r=anba
--HG--
extra : rebase_source : 04731d57ce73dce2a10c7e6a45d8dc4c72f6ddd1
2016-12-19 15:28:25 -05:00
Jeff Walden
373b09baf8 Bug 1289882 - Implement an experimental, off-by-default Intl.NumberFormat.prototype.formatToParts function. r=anba
--HG--
extra : rebase_source : 8e2b6032b3676723a58eb1b87c5909176cd51a49
2016-08-08 13:34:37 -07:00
Jeff Walden
619e6dfa67 Bug 1324240 - Ensure every aspect of SVN-INFO is consistently localized to English, rather than picking up the arbitrary locale of the last person to perform an update. r=anba
--HG--
extra : rebase_source : ea3bb6f366fef58acc22bfa178127dca9dcb56cb
2016-12-19 15:20:51 -05:00
André Bargull
5400a4420e Bug 1299615 - Part 1: Update ICU patch files to apply cleanly on ICU58. r=Waldo 2016-11-03 05:10:41 -07:00
André Bargull
c52b3dc6ca Bug 837961 - Part 1: Add scripts to update tzdata in ICU data files. r=Waldo 2016-10-06 22:37:20 -07:00
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