]>
granicus.if.org Git - icu/log
Younies [Mon, 3 Feb 2020 18:41:43 +0000 (19:41 +0100)]
adjust test skeleton
Younies Mahmoud [Sun, 2 Feb 2020 23:33:25 +0000 (00:33 +0100)]
still under progress: UnitConverter() 2
Younies Mahmoud [Sun, 2 Feb 2020 23:30:33 +0000 (00:30 +0100)]
still under progress: UnitConverter()
Younies Mahmoud [Sun, 2 Feb 2020 18:28:34 +0000 (19:28 +0100)]
implement convert function2
Younies Mahmoud [Sun, 2 Feb 2020 18:18:27 +0000 (19:18 +0100)]
implement convert function
Younies Mahmoud [Sun, 2 Feb 2020 15:08:02 +0000 (16:08 +0100)]
extract Factor
Younies Mahmoud [Fri, 31 Jan 2020 11:03:49 +0000 (12:03 +0100)]
Merge branch 'units' of github.com:younies/icu into units
Younies Mahmoud [Fri, 31 Jan 2020 10:58:11 +0000 (11:58 +0100)]
Merge branch 'master' of github.com:unicode-org/icu
Andy Heninger [Thu, 24 Oct 2019 21:50:25 +0000 (14:50 -0700)]
ICU-11548 Improve regex static UnicodeSets handling
Compiled regular expression patterns make use of several shared common
UnicodeSets. This change simplifies the creation and use of these
static UnicodeSets.
- Pointer fields to the static sets are removed from the compiled patterns,
and the static variables are accessed directly. The deleted pointers
were a hold-over from earlier code that did not use shared statics.
- The UnicodeSet pattern literals are changed from hex constants to
u"string literals".
- The size of fRuleSets (from regexst.h) is changed from a hard-coded 10
to the number of UnicodeSets actually required. Doing this required
a change to regexcst.pl to export the required size. Changing and
rerunning this perl code resulted in massive but benign changes to
the generated file regexcst.h, the result of perl having changed its
order of enumeration of hashes since the file was last regenerated.
- UnicodeSets are frozen when possible. Should result in faster matching.
Younies [Tue, 21 Jan 2020 13:01:57 +0000 (13:01 +0000)]
ICU-20744 Add VS Code configuration files for c++
See #899
Younies [Tue, 28 Jan 2020 16:49:17 +0000 (17:49 +0100)]
create unit conversion API
Younies [Tue, 28 Jan 2020 15:52:54 +0000 (16:52 +0100)]
create addSingleFactorConstant function
Younies [Tue, 28 Jan 2020 15:24:15 +0000 (16:24 +0100)]
Merge remote-tracking branch 'sffc/units-staging' into units
Younies [Fri, 24 Jan 2020 12:46:46 +0000 (13:46 +0100)]
mile stone
Egor Pugin [Wed, 22 Jan 2020 19:55:54 +0000 (22:55 +0300)]
ICU-20938 Add --skip-dll-export option to genccode to prevent exporting statically linked ICU data from executables.
Shane Carr [Sat, 16 Nov 2019 07:14:54 +0000 (07:14 +0000)]
ICU-20099 Implementing Java ListFormatter proposals for ICU 67.
See #904
Keita Suzuki [Fri, 9 Aug 2019 07:51:49 +0000 (16:51 +0900)]
ICU-20767 Potential negative index access in one of the sample codes
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 15:33:26 +0000 (16:33 +0100)]
Update units.txt to latest macchiati/CLDR-13488-add-unit-conversions as source.
Elango Cheran [Tue, 26 Nov 2019 23:42:24 +0000 (15:42 -0800)]
ICU-13836 Represent suppressed exponent for better plural support
Younies [Mon, 20 Jan 2020 21:24:11 +0000 (22:24 +0100)]
extract the factor
David Beaumont [Mon, 20 Jan 2020 00:13:20 +0000 (01:13 +0100)]
ICU-20693 Tidyups and small fixes for ICU conversion code
Shane F. Carr [Mon, 20 Jan 2020 19:44:41 +0000 (20:44 +0100)]
ICU-20919 Merge maint/maint-66 to master
Younies [Mon, 20 Jan 2020 16:19:38 +0000 (17:19 +0100)]
fix style in unitconverter .cpp and .h
Younies [Mon, 20 Jan 2020 14:52:19 +0000 (15:52 +0100)]
Create constants enumeration and fix the skeleton of the data
Younies [Mon, 20 Jan 2020 14:34:17 +0000 (15:34 +0100)]
Merge remote-tracking branch 'sffc/units-staging' into units
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.
Cherry-picked from:
11ad8d69fb4c70e529c592d37df5a30c925b6af4
Jeff Genovy [Sat, 18 Jan 2020 08:22:54 +0000 (00:22 -0800)]
ICU-20942 Update Apache Ivy to 2.5.0 to fix failing ICU4J builds.
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 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
Younies [Fri, 17 Jan 2020 15:45:41 +0000 (16:45 +0100)]
setup the sync function
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