]>
granicus.if.org Git - icu/log
Shane F. Carr [Fri, 13 Mar 2020 03:52:42 +0000 (22:52 -0500)]
Merge pull request #25 from hugovdm/units-staging-reformat
No-op/cosmetic: reformat with clang-format ident:4 line-length:105.
Hugo van der Merwe [Thu, 12 Mar 2020 16:49:12 +0000 (17:49 +0100)]
No-op/cosmetic: reformat with clang-format ident:4 line-length:105.
I've got two exceptions in this whole-file reformat: I'm not
reformatting testConvert, such that
https://github.com/sffc/icu/pull/21 should merge or rebase more
easily.
Shane F. Carr [Fri, 6 Mar 2020 18:18:58 +0000 (10:18 -0800)]
Merge pull request #20 from hugovdm/units-staging
ICU-20568 Read unitsTest.txt, prepare to run unit tests.
Hugo van der Merwe [Fri, 6 Mar 2020 13:41:52 +0000 (14:41 +0100)]
Review: use errCode.errIfFailureAndReset.
Hugo van der Merwe [Thu, 5 Mar 2020 15:34:18 +0000 (16:34 +0100)]
Temporarily disable unitsTest.txt tests with unsupported identifiers.
Hugo van der Merwe [Thu, 5 Mar 2020 15:34:03 +0000 (16:34 +0100)]
Read and fprintf unitsTest.txt data-driven unit tests
Hugo van der Merwe [Thu, 5 Mar 2020 15:33:49 +0000 (16:33 +0100)]
Update testdata/units/* to CLDR commit
19daf508 dated 2020-02-29.
Hugo van der Merwe [Thu, 5 Mar 2020 15:33:33 +0000 (16:33 +0100)]
Describe origins of testdata/units/* in top-of-file comments.
Hugo van der Merwe [Thu, 5 Mar 2020 15:33:08 +0000 (16:33 +0100)]
Pristine copy of CLDR's common/testData/units/*
Shane F. Carr [Tue, 25 Feb 2020 21:56:21 +0000 (13:56 -0800)]
Merge pull request #19 from hugovdm/units-staging
ICU-20568 Fix sorting of unitPreferenceData rules: units.xml
Hugo van der Merwe [Tue, 25 Feb 2020 21:49:48 +0000 (22:49 +0100)]
ICU-20568 Fix sorting of unitPreferenceData rules: units.xml
Shane F. Carr [Tue, 25 Feb 2020 21:17:56 +0000 (13:17 -0800)]
Merge pull request #18 from hugovdm/units-staging-unitprefs
ICU-20568 add unitPreferenceData to units.txt via ldml2icu rules.
Shane F. Carr [Tue, 25 Feb 2020 21:17:41 +0000 (13:17 -0800)]
Merge pull request #17 from hugovdm/units-staging
ICU-20568 Fix ldml2icu convertUnit rules and update units.txt
Hugo van der Merwe [Tue, 25 Feb 2020 20:07:15 +0000 (21:07 +0100)]
ldml2icu unitPReferences: drop rules for missing usage, usage is always present.
Hugo van der Merwe [Tue, 25 Feb 2020 17:14:22 +0000 (18:14 +0100)]
ldml2icu for unitPreferences, outputting into units.txt
Hugo van der Merwe [Tue, 25 Feb 2020 15:11:12 +0000 (16:11 +0100)]
CLDR-13488 Fix ldml2icu convertUnit rules and update units.txt
Shane F. Carr [Tue, 18 Feb 2020 07:03:03 +0000 (23:03 -0800)]
Merge pull request #14 from hugovdm/units-usages-sampledata
Some sample unitPreferences data for discussing output format.
Hugo van der Merwe [Mon, 17 Feb 2020 11:10:57 +0000 (12:10 +0100)]
Remove diffs that aren't related to the unitPreferenceData work.
Shane F. Carr [Mon, 3 Feb 2020 19:47:13 +0000 (11:47 -0800)]
Merge pull request #16 from sffc/unit-id
Update units-staging from unit-id
Shane F. Carr [Sat, 1 Feb 2020 02:12:52 +0000 (18:12 -0800)]
Merge pull request #15 from jefgen/jefgen/disable-warning-for-MSVC
Disable warning 4661 for MSVC for NumberFormatterSettings and [Un]loc…
Jeff Genovy [Wed, 29 Jan 2020 03:46:39 +0000 (19:46 -0800)]
Disable warning 4661 for MSVC for NumberFormatterSettings and [Un]localizedNumberFormatter.
Shane Carr [Thu, 30 Jan 2020 22:49:06 +0000 (14:49 -0800)]
Fix docs build
Shane Carr [Thu, 30 Jan 2020 02:31:56 +0000 (18:31 -0800)]
Fixing test failures.
Shane Carr [Wed, 29 Jan 2020 04:51:13 +0000 (20:51 -0800)]
Making sequence units composed of single units. Renaming "power" to "dimensionality".
Hugo van der Merwe [Fri, 24 Jan 2020 16:47:49 +0000 (17:47 +0100)]
Adjust supplementalData.txt to something "<FIFO>" can generate.
Shane Carr [Fri, 24 Jan 2020 17:18:20 +0000 (09:18 -0800)]
Fix Doxygen warnings
Hugo van der Merwe [Thu, 23 Jan 2020 13:51:49 +0000 (14:51 +0100)]
Fix: missing line.
Hugo van der Merwe [Wed, 22 Jan 2020 18:57:07 +0000 (19:57 +0100)]
Replace tabs with spaces.
Hugo van der Merwe [Wed, 22 Jan 2020 18:45:37 +0000 (19:45 +0100)]
Rework the samples, based on inability to iterate over paths.
Shane F. Carr [Wed, 22 Jan 2020 17:31:26 +0000 (09:31 -0800)]
Merge pull request #11 from hugovdm/units-staging
ICU-20568 Update units.txt to latest macchiati/CLDR-13488-add-unit-conversions
Hugo van der Merwe [Wed, 22 Jan 2020 17:00:49 +0000 (18:00 +0100)]
supplementalData.txt: Add alt{""} in empty units to avoid mixed types.
Hugo van der Merwe [Wed, 22 Jan 2020 15:33:26 +0000 (16:33 +0100)]
Update units.txt to latest macchiati/CLDR-13488-add-unit-conversions as source.
Shane F. Carr [Tue, 21 Jan 2020 22:31:28 +0000 (23:31 +0100)]
Fix depstest by separating number_skeletons into its own group
Shane F. Carr [Tue, 21 Jan 2020 22:12:49 +0000 (23:12 +0100)]
Use new unit identifier parsing code in number skeletons
Hugo van der Merwe [Tue, 21 Jan 2020 22:08:32 +0000 (23:08 +0100)]
Some sample unitPreferences data for discussing output format.
Hugo van der Merwe [Mon, 20 Jan 2020 09:39:19 +0000 (10:39 +0100)]
Merge remote-tracking branch 'sffc/units-staging' into units-staging
Shane F. Carr [Fri, 17 Jan 2020 18:27:38 +0000 (19:27 +0100)]
Add U_HIDE_DRAFT_API
Shane F. Carr [Fri, 17 Jan 2020 18:22:15 +0000 (19:22 +0100)]
Fix dependencies.txt
Shane F. Carr [Fri, 17 Jan 2020 16:33:56 +0000 (17:33 +0100)]
Merge pull request #13 from sffc/unit-id
ICU-20920 Add new MeasureUnit functions to units-staging
Shane F. Carr [Fri, 17 Jan 2020 16:32:52 +0000 (17:32 +0100)]
Move measunit_extra.o to avoid merge conflict
Shane F. Carr [Fri, 17 Jan 2020 16:28:31 +0000 (17:28 +0100)]
Merge pull request #12 from unicode-org/master
Update units-staging with upstream master
Shane F. Carr [Fri, 17 Jan 2020 16:13:16 +0000 (17:13 +0100)]
Change public method to use StringPiece
Shane F. Carr [Thu, 16 Jan 2020 23:24:56 +0000 (00:24 +0100)]
Implementing sequence units and fixing bugs
Shane F. Carr [Thu, 16 Jan 2020 21:17:46 +0000 (22:17 +0100)]
Renaming and refactoring
Shane F. Carr [Wed, 15 Jan 2020 20:05:27 +0000 (21:05 +0100)]
Checkpoint
Shane F. Carr [Wed, 15 Jan 2020 17:31:09 +0000 (18:31 +0100)]
Checkpoint
Shane F. Carr [Wed, 15 Jan 2020 17:15:40 +0000 (18:15 +0100)]
Checkpoint
Shane F. Carr [Wed, 15 Jan 2020 15:08:53 +0000 (16:08 +0100)]
Checkpoint
Shane F. Carr [Wed, 15 Jan 2020 14:17:12 +0000 (15:17 +0100)]
Next checkpoint
Shane F. Carr [Tue, 14 Jan 2020 22:25:36 +0000 (23:25 +0100)]
Additional WIP
Shane F. Carr [Tue, 14 Jan 2020 15:47:18 +0000 (16:47 +0100)]
Adding measunit_extra.cpp with basic trie
Shane F. Carr [Tue, 14 Jan 2020 14:12:27 +0000 (15:12 +0100)]
Removing fCurrency to always use fId
Shane F. Carr [Mon, 13 Jan 2020 20:52:52 +0000 (21:52 +0100)]
Intermediate work on new unit identifiers
Hugo van der Merwe [Fri, 17 Jan 2020 16:04:17 +0000 (17:04 +0100)]
ICU-20568 Fix: s/1/one/ from https://github.com/macchiati/cldr/pull/2
Hugo [Fri, 17 Jan 2020 15:55:27 +0000 (16:55 +0100)]
Merge pull request #8 from hugovdm/units-staging
ICU-20568 Pull CLDR-13488's unit conversion data into units.txt
Hugo van der Merwe [Fri, 17 Jan 2020 15:31:26 +0000 (16:31 +0100)]
Fix unitConstant to permit referring to other unitConstants.
Hugo van der Merwe [Fri, 17 Jan 2020 15:24:50 +0000 (16:24 +0100)]
Merge remote-tracking branch 'sffc/units-staging' into units-staging
Hugo van der Merwe [Fri, 17 Jan 2020 15:21:55 +0000 (16:21 +0100)]
Adapt units.txt format to commit
83e66b7dde
Younies Mahmoud [Fri, 17 Jan 2020 15:13:53 +0000 (16:13 +0100)]
Merge pull request #9 from younies/units
Fix Units.txt
Younies [Fri, 17 Jan 2020 15:11:51 +0000 (16:11 +0100)]
fix units.txt style: flatten the structure
Hugo van der Merwe [Fri, 17 Jan 2020 14:55:18 +0000 (15:55 +0100)]
Add units.txt produced from macchiati/CLDR-13488-add-unit-conversions
Hugo van der Merwe [Fri, 17 Jan 2020 14:08:51 +0000 (15:08 +0100)]
LdmlConverter: convert units.xml into units.txt
- Handles convertUnits and unitConstants.
- Support outputTypes=UNITS (ant -f build-icu-data.xml -DoutputTypes=UNITS)
Hugo van der Merwe [Tue, 14 Jan 2020 17:54:07 +0000 (18:54 +0100)]
Add unit conversion rules to ldml2icu_supplemental.txt.
Hugo van der Merwe [Fri, 17 Jan 2020 14:54:10 +0000 (15:54 +0100)]
Reformat sample units.txt to minimize upcoming diffs.
Younies Mahmoud [Fri, 17 Jan 2020 14:42:53 +0000 (15:42 +0100)]
Merge pull request #7 from younies/units
fix units.txt
Younies [Fri, 17 Jan 2020 14:40:54 +0000 (15:40 +0100)]
fix units.txt
Shane F. Carr [Fri, 17 Jan 2020 14:13:36 +0000 (15:13 +0100)]
Merge pull request #6 from younies/units
Skeleton for Testing Units
Younies [Fri, 17 Jan 2020 14:11:19 +0000 (15:11 +0100)]
fix warnings of comparing raw 16 bit string pointers
Younies [Fri, 17 Jan 2020 14:01:07 +0000 (15:01 +0100)]
fix style
Younies [Fri, 17 Jan 2020 11:44:36 +0000 (12:44 +0100)]
Merge branch 'units-staging' of github.com:sffc/icu into units
Younies [Fri, 17 Jan 2020 11:41:57 +0000 (12:41 +0100)]
Add skeleton for units code
Younies [Fri, 17 Jan 2020 11:40:32 +0000 (12:40 +0100)]
Add Tests for Area
Shane F. Carr [Fri, 17 Jan 2020 10:58:52 +0000 (11:58 +0100)]
Merge pull request #5 from hugovdm/units-sample-unittxt
CLDR-13488: Samples of intermediate source/data/misc/units.txt
Younies [Fri, 17 Jan 2020 10:52:56 +0000 (11:52 +0100)]
Add tests for SI prefixes
Hugo van der Merwe [Fri, 17 Jan 2020 10:46:48 +0000 (11:46 +0100)]
Fix LdmlConverter.java indentation.
Younies [Fri, 17 Jan 2020 10:43:16 +0000 (11:43 +0100)]
fix typo: temprature --> temperature
Shane F. Carr [Fri, 17 Jan 2020 10:42:45 +0000 (11:42 +0100)]
Merge pull request #4 from hugovdm/units-staging
ICU-13489 Early-return from ProcessLdml if it's not going to do anything.
Younies [Fri, 17 Jan 2020 10:33:29 +0000 (11:33 +0100)]
Add temprature test cases
Shane Carr [Wed, 20 Nov 2019 02:22:20 +0000 (02:22 +0000)]
ICU-20665 Removing number-dependence from ICU4C FormattedStringBuilder fields.
See #727
Younies [Fri, 17 Jan 2020 10:21:55 +0000 (11:21 +0100)]
Add mass test cases
Frank Yung-Fong Tang [Fri, 17 Jan 2020 01:57:49 +0000 (01:57 +0000)]
ICU-20673 Allow built-in translit ID w/o data.
See #958
Younies [Thu, 16 Jan 2020 19:07:04 +0000 (20:07 +0100)]
skeleton for unit test in icu
Younies [Thu, 16 Jan 2020 19:05:41 +0000 (20:05 +0100)]
skeleton for unit test in icu
Younies [Thu, 16 Jan 2020 19:02:59 +0000 (20:02 +0100)]
skeleton for unit test in icu
Younies [Thu, 16 Jan 2020 16:16:19 +0000 (17:16 +0100)]
skeleton for unit test in icu
Hugo van der Merwe [Thu, 16 Jan 2020 16:30:42 +0000 (17:30 +0100)]
Fix erroneous F-to-C offset.
Hugo van der Merwe [Thu, 16 Jan 2020 16:00:37 +0000 (17:00 +0100)]
CLDR-13488: sample units.txt with constants, area and temperature units.
Sample XML was taken from:
- Branch: macchiati:CLDR-13488-add-unit-conversions
- https://github.com/unicode-org/cldr/pull/291
- https://github.com/macchiati/cldr/commit/
0366c96b3b41d9834fea5f9360ff484b0a8ace0c
Hugo van der Merwe [Thu, 16 Jan 2020 15:13:48 +0000 (16:13 +0100)]
Early-return from ProcessLdml if it's not going to do anything.
Shane Carr [Sat, 14 Dec 2019 01:30:31 +0000 (17:30 -0800)]
ICU-20418 Implementing concise number skeletons in ICU4J.
Shane Carr [Fri, 13 Dec 2019 01:37:09 +0000 (17:37 -0800)]
ICU-20418 Fix indentation of CHECK_NULL in number_skeletons.cpp
Shane Carr [Thu, 12 Dec 2019 04:45:54 +0000 (20:45 -0800)]
ICU-20418 Adding concise number skeletons in ICU4C
Shane Carr [Thu, 12 Dec 2019 04:46:18 +0000 (20:46 -0800)]
ICU-20418 Adding *internal* parse method for core unit identifiers.
Also see ICU-20286
Shane Carr [Thu, 12 Dec 2019 04:46:08 +0000 (20:46 -0800)]
ICU-20921 Adding find and compare to StringPiece
Joshua Root [Mon, 21 Oct 2019 19:18:00 +0000 (06:18 +1100)]
ICU-20875 Include <cstddef> for max_align_t
The definition of max_align_t is not guaranteed to be available unless
the appropriate header is included. Since use of <stddef.h> from C++ is
deprecated, that's <cstddef>, and max_align_t is thus defined under the
std namespace rather than in the global namespace.
Caio Lima [Fri, 13 Dec 2019 03:14:28 +0000 (19:14 -0800)]
ICU-20442 Adding support for hour-cycle on DateTimePatternGenerator
DateTimePatternGenerator needs to consider the hour-cycle preferred by
Locale. This means that we need to to override the hour-cycle when a
locale contains "hc" keyword. This patch is adding such functionality.
In addition, "DateTimePatternGenerator::adjustFieldTypes" should adjust
hour field to properly follow tr35
spec(https://www.unicode.org/reports/tr35/tr35-dates.html#dfst-hour).
Nikita Iashchenko [Sat, 21 Dec 2019 16:24:37 +0000 (16:24 +0000)]
ICU-20928 Fix incorrect javadoc reference in DecimalFormatProperties
ParseMode.COMPATIBILITY was eventually renamed to
ParseMode.JAVA_COMPATIBILITY but it's javadoc was not updated.
Smaarn [Wed, 16 Oct 2019 20:52:05 +0000 (22:52 +0200)]
ICU-20871 Fixed: no rule was defined to create the $(OUTDIR) directory if it didn't exist.
This would cause failures during cross compilation cases such as:
make[6]: Leaving directory '/spksrc/spk/bazarr/work-qoriq-6.1/icu/source/data'
make[5]: *** No rule to make target 'out', needed by 'out/icudt64b.dat'. Stop.
Hugh McMaster [Mon, 23 Dec 2019 11:11:05 +0000 (22:11 +1100)]
ICU-20924 Use pkg-config to generate the path to pkgdata.inc
Frank Tang [Sat, 4 Jan 2020 02:08:51 +0000 (18:08 -0800)]
ICU-20934 Fix TZ test error
Somehow these tests are now fail on trunks.
Per https://mm.icann.org/pipermail/tz-announce/2019-July/000056.html
Brazil has canceled DST and will stay on standard time indefinitely.
Frank Tang [Wed, 11 Dec 2019 20:00:21 +0000 (20:00 +0000)]
ICU-20900 Fix createCanonical
See #922