]>
granicus.if.org Git - icu/log
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
Markus Scherer [Sat, 21 Dec 2019 14:48:17 +0000 (06:48 -0800)]
ICU-20917 LocaleMatcher: prefer a more-default locale
Frank Tang [Mon, 23 Dec 2019 21:12:53 +0000 (21:12 +0000)]
ICU-20310 omit "-true" in toLanguageTag
See #952
Markus Scherer [Fri, 20 Dec 2019 22:28:01 +0000 (14:28 -0800)]
ICU-20916 UBSan & ErrorProne fixes
Markus Scherer [Fri, 20 Dec 2019 00:09:10 +0000 (00:09 +0000)]
ICU-20916 LocaleMatcher distinguish between equivalent locales
- equivalent but originally unequal
- locale distance shifted left for additional fraction bits with micro distance
- Java more verbose matcher debug output
See #949
David Beaumont [Fri, 22 Nov 2019 02:10:34 +0000 (02:10 +0000)]
ICU-20693 Remember to mention the JAR setup
See #900
Alhadis [Thu, 5 Dec 2019 01:33:48 +0000 (12:33 +1100)]
ICU-20892 Highlight `.cpyskip.txt` on GitHub.com
Shane Carr [Thu, 12 Dec 2019 05:43:28 +0000 (21:43 -0800)]
ICU-20354 Change 'weekend data' to 'week data'
Shane Carr [Sat, 16 Nov 2019 07:28:26 +0000 (07:28 +0000)]
ICU-12863 Add list style APIs to C and C++
See #894
Andy Heninger [Fri, 23 Aug 2019 00:48:36 +0000 (17:48 -0700)]
ICU-20303 Break Iterator, improve handling of look-ahead rules.
- Merge the look-ahead results slots used when multiple rules share a common accepting state.
- Sequentially number the look-ahead result slot. Will eventually allow replacing the runtime map with an array.
- Inhibit chaining out of look-ahead rules. This could never actually happen; when a hard break
rule matches, the engine is stopped immediately, but the state table was being constructed
as if it could happen. Reduces table size for line break rules.
- Remove incorrect handling of fAccepting and fLookAhead fields of a state table row
when removing duplicate states. Look-ahead slot number was being mis-interpreted as a state number.
Shane Carr [Sat, 16 Nov 2019 08:15:37 +0000 (00:15 -0800)]
ICU-20883 Move UFormattedDateInterval to end of argument list.
Frank Tang [Wed, 11 Dec 2019 20:24:50 +0000 (20:24 +0000)]
ICU-20436 Add getDefaultHourCycle to DateTimePatternGenerator
See #901
Rosen Penev [Wed, 11 Dec 2019 21:25:32 +0000 (13:25 -0800)]
ICU-20877 i18n: Don't use C++11 math
It's not available with some libc implementations. Specifically,
BIONIC and uClibc-ng. uprv_ variants are available.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Joshua Root [Fri, 22 Nov 2019 10:44:57 +0000 (21:44 +1100)]
ICU-20904 Don't use char16_t with C++98/03
When C code includes the ICU headers, the UChar type is defined to be
uint16_t. But when C++ code includes the headers, UChar is char16_t
even when U_SHOW_CPLUSPLUS_API has been set to 0. Apart from arguably
being an inconsistency in the API, this means that C++98 or C++03 code
can't use the C API even though C99 code can.
So, change unicode/umachine.h to check not just whether __cplusplus is
defined but the value of U_CPLUSPLUS_VERSION when deciding how to
typedef UChar.
Shane Carr [Wed, 11 Dec 2019 20:36:44 +0000 (12:36 -0800)]
ICU-20906 Annotate APIs in PluralRules with why they are @internal
Shane F. Carr [Wed, 11 Dec 2019 23:25:36 +0000 (15:25 -0800)]
ICU-20919 Merge maint/maint-66 (release-66-preview) to master