]> granicus.if.org Git - icu/log
icu
4 years agofix test building for mac
Younies Mahmoud [Thu, 20 Feb 2020 19:42:10 +0000 (20:42 +0100)]
fix test building for mac

4 years agoSiprefex, mass, area test passes
Younies [Tue, 18 Feb 2020 19:21:04 +0000 (20:21 +0100)]
Siprefex, mass, area test passes

4 years agonothing
Younies [Tue, 18 Feb 2020 11:19:01 +0000 (12:19 +0100)]
nothing

4 years agoMerge remote-tracking branch 'sffc/units-staging' into units
Younies [Tue, 18 Feb 2020 11:18:25 +0000 (12:18 +0100)]
Merge remote-tracking branch 'sffc/units-staging' into units

4 years agoMerge pull request #14 from hugovdm/units-usages-sampledata
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.

4 years agosome changes
Younies [Mon, 17 Feb 2020 14:31:28 +0000 (15:31 +0100)]
some changes

4 years agoRemove diffs that aren't related to the unitPreferenceData work.
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.

4 years agoadd most of the functions, still need to be tested
Younies [Fri, 14 Feb 2020 13:27:10 +0000 (14:27 +0100)]
add most of the functions, still need to be tested

4 years agoimplement toString() in DecNum that returns StringPiece
Younies [Thu, 13 Feb 2020 15:10:35 +0000 (16:10 +0100)]
implement toString() in DecNum that returns StringPiece

4 years agoadd important functionalities to DecNum
Younies [Tue, 11 Feb 2020 13:52:36 +0000 (14:52 +0100)]
add important functionalities to DecNum

4 years agoformat
Younies [Tue, 11 Feb 2020 13:41:40 +0000 (14:41 +0100)]
format

4 years agosupport Denumertor units
Younies [Tue, 11 Feb 2020 13:38:16 +0000 (14:38 +0100)]
support Denumertor units

4 years agoadd the constants
Younies [Tue, 11 Feb 2020 12:25:38 +0000 (13:25 +0100)]
add the constants

4 years agoimplement first conversion phase
Younies [Mon, 10 Feb 2020 15:56:28 +0000 (16:56 +0100)]
implement first conversion phase

4 years agoadd more functionality to Factor
Younies [Thu, 6 Feb 2020 12:24:35 +0000 (13:24 +0100)]
add more functionality to Factor

4 years agoadd the data needed to perform conversions
Younies [Wed, 5 Feb 2020 13:32:45 +0000 (14:32 +0100)]
add the data needed to perform conversions

4 years agofix UnitConveter convert function
Younies [Tue, 4 Feb 2020 16:41:43 +0000 (17:41 +0100)]
fix UnitConveter convert function

4 years agoadd essential functionality to number_decnum, intltest and unit_converter
Younies [Tue, 4 Feb 2020 16:13:17 +0000 (17:13 +0100)]
add essential functionality to number_decnum, intltest and unit_converter

4 years agoadd essential functionality to DecNum and fix the skeleton
Younies [Tue, 4 Feb 2020 13:39:50 +0000 (14:39 +0100)]
add essential functionality to DecNum and fix the  skeleton

4 years agoadd essential functionality to DecNum
Younies [Tue, 4 Feb 2020 12:46:53 +0000 (13:46 +0100)]
add essential functionality to DecNum

4 years agoMerge branch 'units-staging' of github.com:sffc/icu into units
Younies Mahmoud [Mon, 3 Feb 2020 23:31:32 +0000 (00:31 +0100)]
Merge branch 'units-staging' of github.com:sffc/icu into units

4 years agoMerge pull request #16 from sffc/unit-id
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

4 years agoadd more test cases
Younies [Mon, 3 Feb 2020 19:03:18 +0000 (20:03 +0100)]
add more test cases

4 years agoadjust test skeleton
Younies [Mon, 3 Feb 2020 18:41:43 +0000 (19:41 +0100)]
adjust test skeleton

4 years agostill under progress: UnitConverter() 2
Younies Mahmoud [Sun, 2 Feb 2020 23:33:25 +0000 (00:33 +0100)]
still under progress: UnitConverter() 2

4 years agostill under progress: UnitConverter()
Younies Mahmoud [Sun, 2 Feb 2020 23:30:33 +0000 (00:30 +0100)]
still under progress: UnitConverter()

4 years agoimplement convert function2
Younies Mahmoud [Sun, 2 Feb 2020 18:28:34 +0000 (19:28 +0100)]
implement convert function2

4 years agoimplement convert function
Younies Mahmoud [Sun, 2 Feb 2020 18:18:27 +0000 (19:18 +0100)]
implement convert function

4 years agoextract Factor
Younies Mahmoud [Sun, 2 Feb 2020 15:08:02 +0000 (16:08 +0100)]
extract Factor

5 years agoMerge pull request #15 from jefgen/jefgen/disable-warning-for-MSVC
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…

5 years agoMerge branch 'units' of github.com:younies/icu into units
Younies Mahmoud [Fri, 31 Jan 2020 11:03:49 +0000 (12:03 +0100)]
Merge branch 'units' of github.com:younies/icu into units

5 years agoMerge branch 'master' of github.com:unicode-org/icu
Younies Mahmoud [Fri, 31 Jan 2020 10:58:11 +0000 (11:58 +0100)]
Merge branch 'master' of github.com:unicode-org/icu

5 years agoDisable warning 4661 for MSVC for NumberFormatterSettings and [Un]localizedNumberForm...
Jeff Genovy [Wed, 29 Jan 2020 03:46:39 +0000 (19:46 -0800)]
Disable warning 4661 for MSVC for NumberFormatterSettings and [Un]localizedNumberFormatter.

5 years agoICU-11548 Improve regex static UnicodeSets handling
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.

5 years agoFix docs build
Shane Carr [Thu, 30 Jan 2020 22:49:06 +0000 (14:49 -0800)]
Fix docs build

5 years agoFixing test failures.
Shane Carr [Thu, 30 Jan 2020 02:31:56 +0000 (18:31 -0800)]
Fixing test failures.

5 years agoICU-20744 Add VS Code configuration files for c++
Younies [Tue, 21 Jan 2020 13:01:57 +0000 (13:01 +0000)]
ICU-20744 Add VS Code configuration files for c++

See #899

5 years agoMaking sequence units composed of single units. Renaming "power" to "dimensionality".
Shane Carr [Wed, 29 Jan 2020 04:51:13 +0000 (20:51 -0800)]
Making sequence units composed of single units. Renaming "power" to "dimensionality".

5 years agocreate unit conversion API
Younies [Tue, 28 Jan 2020 16:49:17 +0000 (17:49 +0100)]
create unit conversion API

5 years agocreate addSingleFactorConstant function
Younies [Tue, 28 Jan 2020 15:52:54 +0000 (16:52 +0100)]
create addSingleFactorConstant function

5 years agoMerge remote-tracking branch 'sffc/units-staging' into units
Younies [Tue, 28 Jan 2020 15:24:15 +0000 (16:24 +0100)]
Merge remote-tracking branch 'sffc/units-staging' into units

5 years agoAdjust supplementalData.txt to something "<FIFO>" can generate.
Hugo van der Merwe [Fri, 24 Jan 2020 16:47:49 +0000 (17:47 +0100)]
Adjust supplementalData.txt to something "<FIFO>" can generate.

5 years agoFix Doxygen warnings
Shane Carr [Fri, 24 Jan 2020 17:18:20 +0000 (09:18 -0800)]
Fix Doxygen warnings

5 years agomile stone
Younies [Fri, 24 Jan 2020 12:46:46 +0000 (13:46 +0100)]
mile stone

5 years agoICU-20938 Add --skip-dll-export option to genccode to prevent exporting statically...
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.

5 years agoFix: missing line.
Hugo van der Merwe [Thu, 23 Jan 2020 13:51:49 +0000 (14:51 +0100)]
Fix: missing line.

5 years agoICU-20099 Implementing Java ListFormatter proposals for ICU 67.
Shane Carr [Sat, 16 Nov 2019 07:14:54 +0000 (07:14 +0000)]
ICU-20099 Implementing Java ListFormatter proposals for ICU 67.

See #904

5 years agoICU-20767 Potential negative index access in one of the sample codes
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

5 years agoReplace tabs with spaces.
Hugo van der Merwe [Wed, 22 Jan 2020 18:57:07 +0000 (19:57 +0100)]
Replace tabs with spaces.

5 years agoRework the samples, based on inability to iterate over paths.
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.

5 years agoMerge pull request #11 from hugovdm/units-staging
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

5 years agosupplementalData.txt: Add alt{""} in empty units to avoid mixed types.
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.

5 years agoUpdate units.txt to latest macchiati/CLDR-13488-add-unit-conversions as source.
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.

5 years agoICU-13836 Represent suppressed exponent for better plural support
Elango Cheran [Tue, 26 Nov 2019 23:42:24 +0000 (15:42 -0800)]
ICU-13836 Represent suppressed exponent for better plural support

5 years agoFix depstest by separating number_skeletons into its own group
Shane F. Carr [Tue, 21 Jan 2020 22:31:28 +0000 (23:31 +0100)]
Fix depstest by separating number_skeletons into its own group

5 years agoUse new unit identifier parsing code in number skeletons
Shane F. Carr [Tue, 21 Jan 2020 22:12:49 +0000 (23:12 +0100)]
Use new unit identifier parsing code in number skeletons

5 years agoSome sample unitPreferences data for discussing output format.
Hugo van der Merwe [Tue, 21 Jan 2020 22:08:32 +0000 (23:08 +0100)]
Some sample unitPreferences data for discussing output format.

5 years agoextract the factor
Younies [Mon, 20 Jan 2020 21:24:11 +0000 (22:24 +0100)]
extract the factor

5 years agoICU-20693 Tidyups and small fixes for ICU conversion code
David Beaumont [Mon, 20 Jan 2020 00:13:20 +0000 (01:13 +0100)]
ICU-20693 Tidyups and small fixes for ICU conversion code

5 years agoICU-20919 Merge maint/maint-66 to master
Shane F. Carr [Mon, 20 Jan 2020 19:44:41 +0000 (20:44 +0100)]
ICU-20919 Merge maint/maint-66 to master

5 years agofix style in unitconverter .cpp and .h
Younies [Mon, 20 Jan 2020 16:19:38 +0000 (17:19 +0100)]
fix style in unitconverter .cpp and .h

5 years agoCreate constants enumeration and fix the skeleton of the data
Younies [Mon, 20 Jan 2020 14:52:19 +0000 (15:52 +0100)]
Create constants enumeration and fix the skeleton of the data

5 years agoMerge remote-tracking branch 'sffc/units-staging' into units
Younies [Mon, 20 Jan 2020 14:34:17 +0000 (15:34 +0100)]
Merge remote-tracking branch 'sffc/units-staging' into units

5 years agoICU-20934 Fix TZ test error 967/head
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

5 years agoICU-20942 Update Apache Ivy to 2.5.0 to fix failing ICU4J builds.
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.

5 years agoMerge remote-tracking branch 'sffc/units-staging' into units-staging
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

5 years agoAdd U_HIDE_DRAFT_API
Shane F. Carr [Fri, 17 Jan 2020 18:27:38 +0000 (19:27 +0100)]
Add U_HIDE_DRAFT_API

5 years agoFix dependencies.txt
Shane F. Carr [Fri, 17 Jan 2020 18:22:15 +0000 (19:22 +0100)]
Fix dependencies.txt

5 years agoMerge pull request #13 from sffc/unit-id
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

5 years agoMove measunit_extra.o to avoid merge conflict
Shane F. Carr [Fri, 17 Jan 2020 16:32:52 +0000 (17:32 +0100)]
Move measunit_extra.o to avoid merge conflict

5 years agoMerge pull request #12 from unicode-org/master
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

5 years agoChange public method to use StringPiece
Shane F. Carr [Fri, 17 Jan 2020 16:13:16 +0000 (17:13 +0100)]
Change public method to use StringPiece

5 years agoImplementing sequence units and fixing bugs
Shane F. Carr [Thu, 16 Jan 2020 23:24:56 +0000 (00:24 +0100)]
Implementing sequence units and fixing bugs

5 years agoRenaming and refactoring
Shane F. Carr [Thu, 16 Jan 2020 21:17:46 +0000 (22:17 +0100)]
Renaming and refactoring

5 years agoCheckpoint
Shane F. Carr [Wed, 15 Jan 2020 20:05:27 +0000 (21:05 +0100)]
Checkpoint

5 years agoCheckpoint
Shane F. Carr [Wed, 15 Jan 2020 17:31:09 +0000 (18:31 +0100)]
Checkpoint

5 years agoCheckpoint
Shane F. Carr [Wed, 15 Jan 2020 17:15:40 +0000 (18:15 +0100)]
Checkpoint

5 years agoCheckpoint
Shane F. Carr [Wed, 15 Jan 2020 15:08:53 +0000 (16:08 +0100)]
Checkpoint

5 years agoNext checkpoint
Shane F. Carr [Wed, 15 Jan 2020 14:17:12 +0000 (15:17 +0100)]
Next checkpoint

5 years agoAdditional WIP
Shane F. Carr [Tue, 14 Jan 2020 22:25:36 +0000 (23:25 +0100)]
Additional WIP

5 years agoAdding measunit_extra.cpp with basic trie
Shane F. Carr [Tue, 14 Jan 2020 15:47:18 +0000 (16:47 +0100)]
Adding measunit_extra.cpp with basic trie

5 years agoRemoving fCurrency to always use fId
Shane F. Carr [Tue, 14 Jan 2020 14:12:27 +0000 (15:12 +0100)]
Removing fCurrency to always use fId

5 years agoIntermediate work on new unit identifiers
Shane F. Carr [Mon, 13 Jan 2020 20:52:52 +0000 (21:52 +0100)]
Intermediate work on new unit identifiers

5 years agoICU-20568 Fix: s/1/one/ from https://github.com/macchiati/cldr/pull/2
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

5 years agoMerge pull request #8 from hugovdm/units-staging
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

5 years agosetup the sync function
Younies [Fri, 17 Jan 2020 15:45:41 +0000 (16:45 +0100)]
setup the sync function

5 years agoFix unitConstant to permit referring to other unitConstants.
Hugo van der Merwe [Fri, 17 Jan 2020 15:31:26 +0000 (16:31 +0100)]
Fix unitConstant to permit referring to other unitConstants.

5 years agoMerge remote-tracking branch 'sffc/units-staging' into units-staging
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

5 years agoAdapt units.txt format to commit 83e66b7dde
Hugo van der Merwe [Fri, 17 Jan 2020 15:21:55 +0000 (16:21 +0100)]
Adapt units.txt format to commit 83e66b7dde

5 years agoMerge pull request #9 from younies/units
Younies Mahmoud [Fri, 17 Jan 2020 15:13:53 +0000 (16:13 +0100)]
Merge pull request #9 from younies/units

Fix Units.txt

5 years agofix units.txt style: flatten the structure
Younies [Fri, 17 Jan 2020 15:11:51 +0000 (16:11 +0100)]
fix units.txt style: flatten the structure

5 years agoAdd units.txt produced from macchiati/CLDR-13488-add-unit-conversions
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

5 years agoLdmlConverter: convert units.xml into units.txt
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)

5 years agoAdd unit conversion rules to ldml2icu_supplemental.txt.
Hugo van der Merwe [Tue, 14 Jan 2020 17:54:07 +0000 (18:54 +0100)]
Add unit conversion rules to ldml2icu_supplemental.txt.

5 years agoReformat sample units.txt to minimize upcoming diffs.
Hugo van der Merwe [Fri, 17 Jan 2020 14:54:10 +0000 (15:54 +0100)]
Reformat sample units.txt to minimize upcoming diffs.

5 years agoMerge pull request #7 from younies/units
Younies Mahmoud [Fri, 17 Jan 2020 14:42:53 +0000 (15:42 +0100)]
Merge pull request #7 from younies/units

fix units.txt

5 years agofix units.txt
Younies [Fri, 17 Jan 2020 14:40:54 +0000 (15:40 +0100)]
fix units.txt

5 years agoMerge pull request #6 from younies/units
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

5 years agofix warnings of comparing raw 16 bit string pointers
Younies [Fri, 17 Jan 2020 14:11:19 +0000 (15:11 +0100)]
fix warnings of comparing raw 16 bit string pointers

5 years agofix style
Younies [Fri, 17 Jan 2020 14:01:07 +0000 (15:01 +0100)]
fix style