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

80 Коммитов

Автор SHA1 Сообщение Дата
André Bargull cbc4b735a9 Bug 1648137 - Part 16: Allow to format non-decimal number strings. r=platform-i18n-reviewers,dminor
Remove this Java compatibility restriction to be able to format ranges starting
resp. ending at infinity.

Differential Revision: https://phabricator.services.mozilla.com/D119756
2021-08-24 09:34:51 +00:00
André Bargull adf02e643c Bug 1648137 - Part 4: Fully clear the decimal quantity before assigning a new value. r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D119744
2021-08-24 09:34:47 +00:00
André Bargull ffd5b23c02 Bug 1714933 - Part 1: Update ICU patches. r=tcampbell
Generate the WASI patch from bug 1706949 to apply cleanly on ICU 69.

Differential Revision: https://phabricator.services.mozilla.com/D116967
2021-06-15 07:53:57 +00:00
Noemi Erli ce2801c88f Backed out 8 changesets (bug 1714933) for causing build bustages in 1659595.js CLOSED TREE
Backed out changeset 2f72875b300f (bug 1714933)
Backed out changeset a42831b46643 (bug 1714933)
Backed out changeset c7ccabae5816 (bug 1714933)
Backed out changeset a4f4e4026174 (bug 1714933)
Backed out changeset fca960ad267b (bug 1714933)
Backed out changeset 62bdba475376 (bug 1714933)
Backed out changeset f168a2d1d391 (bug 1714933)
Backed out changeset 85af7c63b9c5 (bug 1714933)
2021-06-14 23:47:43 +03:00
André Bargull c701a829df Bug 1714933 - Part 1: Update ICU patches. r=tcampbell
Generate the WASI patch from bug 1706949 to apply cleanly on ICU 69.

Differential Revision: https://phabricator.services.mozilla.com/D116967
2021-06-14 19:46:50 +00:00
Butkovits Atila c9d6eddfc2 Backed out 7 changesets (bug 1714933) for causing failures on test_ManifestProcessor_lang.html
Backed out changeset 2b4a65b9c1ac (bug 1714933)
Backed out changeset 40c329123b7c (bug 1714933)
Backed out changeset 692101de3873 (bug 1714933)
Backed out changeset 695f3bd8e875 (bug 1714933)
Backed out changeset 30e9aacecf56 (bug 1714933)
Backed out changeset e9f2a0d262c2 (bug 1714933)
Backed out changeset 3de963fab6d6 (bug 1714933)
2021-06-14 19:46:45 +03:00
André Bargull f440c76e64 Bug 1714933 - Part 1: Update ICU patches. r=tcampbell
Generate the WASI patch from bug 1706949 to apply cleanly on ICU 69.

Differential Revision: https://phabricator.services.mozilla.com/D116967
2021-06-14 13:12:58 +00:00
André Bargull 2a7fef007a Bug 1686052 - Part 1: Update or remove ICU patches. r=jwalden
Update the patch from bug 1614941, because CLDR 38 adds its own patterns for
"MMMMd" and "yMMMM", which both conflict with our customised patterns. The
customised patterns were updated per the discussion in
<https://bugzilla.mozilla.org/show_bug.cgi?id=1614941#c32>.

Remove the patches from bug 1433303 and bug 1534160. Both are no longer needed,
because they've been integrated into upstream.

Differential Revision: https://phabricator.services.mozilla.com/D101365
2021-06-04 17:42:09 +00:00
Chris Fallin 9e6185bf59 Bug 1706949 part 13 - Fix icu and intl for wasi. r=anba,glandium
Differential Revision: https://phabricator.services.mozilla.com/D113218
2021-05-26 06:44:09 +00:00
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