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

71 Коммитов

Автор SHA1 Сообщение Дата
André Bargull 4d1d96c31a Bug 1534160 - Part 2: Cherry-pick patch for Android time zone detection. r=jwalden
Cherry-pick the commit from <https://github.com/unicode-org/icu/pull/605>.

Depends on D82545

Differential Revision: https://phabricator.services.mozilla.com/D82546
2020-07-09 09:52:26 +00:00
Axel Hecht ac4d08312c Bug 1614941, add more date formats to dsb and hsb, r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D62732
2020-07-07 11:46:05 +00:00
Ricky Stewart 0ba6a8762d Bug 1645779 - Make icu_sources_data.py Python 3-compliant r=jwalden,anba
This removes a dependency on `pymake`, which is Python 2-only, and thoroughly unnecessary since we just use it to find assignments of the form `OBJECTS = ...`. We can replicate this logic by just isolating lines that begin with that literal string, and everything else can stay the same. This is definitionally more brittle than actually using a parser, but it works fine for now, and the original implementation wasn't significantly better (it didn't handle any form of dynamism, anything more complicated than a single unconditional assignment with a space-separated list of literal strings representing outputs, etc.)

Differential Revision: https://phabricator.services.mozilla.com/D79896
2020-06-18 21:01:49 +00:00
André Bargull 0b50093518 Bug 1636984 - Part 1: Add patches to workaround ICU/CLDR issues with display names and append items. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D74681
2020-06-12 12:47:43 +00:00
Jeff Walden a297854ec6 Bug 1642176 - Hard-code python2 into update-icu.sh to run icu_sources_data.py, because it doesn't fully work with Python 3 yet. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D77604
2020-06-02 20:14:10 +00:00
André Bargull 9ff5de7a1b Bug 1583269 - Part 4: Update language tag mappings for CLDR 36. r=jwalden
Depends on D49445

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

--HG--
extra : moz-landing-system : lando
2019-10-19 01:39:59 +00:00
André Bargull da21d4fea0 Bug 1583269 - Part 1: Remove custom patch to add thread-safety to icu::TimeZone::adoptDefault. r=jwalden
The custom patch is no longer necessary now that <https://unicode-org.atlassian.net/browse/ICU-20595>
has been fixed. Also inline `icu::TimeZone::recreateDefault` into its sole caller and then remove
this API addition.

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

--HG--
extra : moz-landing-system : lando
2019-10-19 01:23:08 +00:00
André Bargull 958926a675 Bug 1433303 - Part 2: Add Intl.Locale minimize() and maximize() functions. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D38875

--HG--
extra : moz-landing-system : lando
2019-07-29 09:26:55 +00:00
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