]>
granicus.if.org Git - icu/log
Younies Mahmoud [Sat, 28 Mar 2020 10:39:27 +0000 (11:39 +0100)]
enable test cases
Younies Mahmoud [Thu, 26 Mar 2020 18:01:19 +0000 (19:01 +0100)]
remove non-needed comment
Hugo [Thu, 26 Mar 2020 14:45:19 +0000 (15:45 +0100)]
Merge pull request #18 from hugovdm/units_router
Fix for base unit complexity != 1. Eg: volume -> cubic-meter.
Hugo van der Merwe [Thu, 26 Mar 2020 14:29:44 +0000 (15:29 +0100)]
Fix for base unit complexity != 1. Eg: volume -> cubic-meter.
Hugo [Thu, 26 Mar 2020 10:14:32 +0000 (11:14 +0100)]
Merge pull request #17 from hugovdm/units_router
Load data for compound units
Hugo van der Merwe [Wed, 25 Mar 2020 18:29:26 +0000 (19:29 +0100)]
Also rename source to sourceUnit (matching baseUnit).
Hugo van der Merwe [Wed, 25 Mar 2020 18:25:33 +0000 (19:25 +0100)]
Use 'baseUnit' for conversion pivot unit rather than 'target'.
Hugo van der Merwe [Wed, 25 Mar 2020 09:48:38 +0000 (10:48 +0100)]
Implement getConversionRatesInfo, plus cleanups&improvements.
Younies Mahmoud [Wed, 25 Mar 2020 10:52:49 +0000 (11:52 +0100)]
Merge pull request #16 from hugovdm/units_router_quickfix
Fixes to make complexunitsconverter and unitconverter compile again.
Hugo van der Merwe [Wed, 25 Mar 2020 10:35:08 +0000 (11:35 +0100)]
Fixes to make complexunitsconverter and unitconverter compile again.
Younies Mahmoud [Wed, 25 Mar 2020 02:49:16 +0000 (03:49 +0100)]
Merge pull request #15 from younies/units_router_younies
Merge sffc/units_staging branch
Younies Mahmoud [Wed, 25 Mar 2020 02:46:43 +0000 (03:46 +0100)]
Merge branch 'units-staging' of github.com:sffc/icu into units_router_younies
Shane F. Carr [Tue, 24 Mar 2020 19:16:07 +0000 (14:16 -0500)]
Merge branch 'unit-id' into units-staging
Shane F. Carr [Tue, 24 Mar 2020 19:15:47 +0000 (14:15 -0500)]
Merge branch 'master' into unit-id
Shane F. Carr [Tue, 24 Mar 2020 18:28:50 +0000 (18:28 +0000)]
ICU-20920 Add support for CLDR 37 unit identifiers in ICU4C
See #964
Steven R. Loomis [Fri, 20 Mar 2020 21:41:01 +0000 (14:41 -0700)]
ICU-20976 GCC 8 fixes phase 1
Some initial fixes for GCC 8
- setup a GCC 8 buildbot with -Wextra
- rewrite ucol_sit to use CharString
- workaround for gcc7+ on mac
see https://github.com/arbor-sim/arbor/issues/562#issuecomment-
409970434
- fix ucnv_2022 strcpy site
Shane F. Carr [Tue, 24 Mar 2020 18:28:50 +0000 (13:28 -0500)]
Code review feedback
Hugo [Tue, 24 Mar 2020 15:38:06 +0000 (16:38 +0100)]
Merge pull request #14 from younies/units_router_younies
Comment out broken tests
Younies Mahmoud [Tue, 24 Mar 2020 15:22:46 +0000 (16:22 +0100)]
fix the testing
Younies Mahmoud [Tue, 24 Mar 2020 13:36:07 +0000 (14:36 +0100)]
Merge pull request #13 from younies/units_router_younies
Hook up the data into units router
Younies Mahmoud [Tue, 24 Mar 2020 13:05:01 +0000 (14:05 +0100)]
hook up the data to units router
Shane Carr [Fri, 6 Mar 2020 01:53:58 +0000 (01:53 +0000)]
ICU-20956 Fix monetary symbol getters in DecimalFormat
See #987
Younies Mahmoud [Tue, 24 Mar 2020 00:12:28 +0000 (01:12 +0100)]
Merge pull request #12 from younies/units_router_younies
delete the hard coded test cases
Younies Mahmoud [Tue, 24 Mar 2020 00:09:47 +0000 (01:09 +0100)]
delete the hard coded test cases
Younies Mahmoud [Tue, 24 Mar 2020 00:05:42 +0000 (01:05 +0100)]
Merge pull request #11 from younies/units_router_younies
Move getUnitsData to a separate file
Younies Mahmoud [Tue, 24 Mar 2020 00:03:25 +0000 (01:03 +0100)]
Move getUnitsData to a separate file
Shane F. Carr [Mon, 23 Mar 2020 22:51:32 +0000 (17:51 -0500)]
Reply to code review feedback
Shane F. Carr [Mon, 23 Mar 2020 18:06:09 +0000 (13:06 -0500)]
Reply to code review feedback
Andy Heninger [Fri, 20 Mar 2020 21:19:44 +0000 (14:19 -0700)]
ICU-21024 RBBI Table Builder / Coverity CID
1460598 "Dodgy Code" issue
Fix the issue identified by Coverity.
The problem was in code handling the mapping from the table build time
representation of a set of status values for an RBBI rule to the corresponding
status data as saved in a binary RBBI rule file.
The problem was benign, the rbbi data built by the incorrect code would
would still operate correctly, although it might not byte-for-byte match
that built by ICU4C. (The problem was in Java only.)
Younies Mahmoud [Sat, 21 Mar 2020 13:37:35 +0000 (14:37 +0100)]
Merge pull request #10 from younies/tryingdouble
pass the data to unit converter
Younies Mahmoud [Sat, 21 Mar 2020 13:37:20 +0000 (14:37 +0100)]
Merge branch 'units_router' into tryingdouble
Younies Mahmoud [Sat, 21 Mar 2020 09:48:31 +0000 (10:48 +0100)]
merge tryingdouble branch
Younies Mahmoud [Sat, 21 Mar 2020 07:17:28 +0000 (08:17 +0100)]
use CharString for internal data
Younies Mahmoud [Sat, 21 Mar 2020 07:19:20 +0000 (08:19 +0100)]
Merge pull request #9 from younies/tryingdouble
move enum::constants to unitconverter.cpp and remove unnecessarily us…
Younies Mahmoud [Sat, 21 Mar 2020 07:19:05 +0000 (08:19 +0100)]
Merge pull request #8 from younies/units_router_younies
Add Todo for Hugo
Younies Mahmoud [Sat, 21 Mar 2020 07:17:54 +0000 (08:17 +0100)]
Merge branch 'tryingdouble' of github.com:younies/icu into tryingdouble
Younies Mahmoud [Sat, 21 Mar 2020 07:17:28 +0000 (08:17 +0100)]
use CharString for internal data
Younies Mahmoud [Sat, 21 Mar 2020 06:48:56 +0000 (07:48 +0100)]
Merge branch 'units_router' into tryingdouble
Younies Mahmoud [Sat, 21 Mar 2020 06:43:41 +0000 (07:43 +0100)]
move enum::constants to unitconverter.cpp and remove unnecessarily use of CharString
Younies Mahmoud [Sat, 21 Mar 2020 05:51:41 +0000 (06:51 +0100)]
Merge branch 'units_router' of github.com:younies/icu into units_router_younies
Younies Mahmoud [Sat, 21 Mar 2020 05:43:00 +0000 (06:43 +0100)]
add a todo(hugo) for getUnitsData
Younies Mahmoud [Fri, 20 Mar 2020 16:43:17 +0000 (17:43 +0100)]
Merge pull request #7 from hugovdm/younies-units_router-convert
Add string length checks to testGetUnitsData.
Hugo van der Merwe [Fri, 20 Mar 2020 15:00:41 +0000 (16:00 +0100)]
Add string length checks to testGetUnitsData.
Younies Mahmoud [Fri, 20 Mar 2020 15:06:35 +0000 (16:06 +0100)]
Merge remote-tracking branch 'origin/unit_header' into units_router
Younies Mahmoud [Fri, 20 Mar 2020 14:44:49 +0000 (15:44 +0100)]
Merge branch 'units_router' of github.com:younies/icu into units_router
Younies Mahmoud [Fri, 20 Mar 2020 14:44:31 +0000 (15:44 +0100)]
fix building units router branch
Younies Mahmoud [Fri, 20 Mar 2020 14:43:13 +0000 (15:43 +0100)]
Merge pull request #6 from hugovdm/younies-units_router-convert
Various resource-loading code and documentation improvements.
Hugo van der Merwe [Fri, 20 Mar 2020 13:40:35 +0000 (14:40 +0100)]
Various resource-loading code and documentation improvements.
Younies Mahmoud [Fri, 20 Mar 2020 11:53:09 +0000 (12:53 +0100)]
Merge pull request #5 from hugovdm/younies-units_router-convert
Hook up data-driven unit conversion tests
Hugo van der Merwe [Fri, 20 Mar 2020 11:20:44 +0000 (12:20 +0100)]
Avoid adding duplicate conversion rate data.
Also includes some cosmetic and readability improvements.
Frank Tang [Thu, 19 Mar 2020 01:57:29 +0000 (01:57 +0000)]
ICU-21016 Special handling of Spanish and Hebrew list format until CLDR get the data
See #1043
Hugo van der Merwe [Thu, 19 Mar 2020 20:38:20 +0000 (21:38 +0100)]
Little fixes to unitconverter.cpp
Hugo van der Merwe [Fri, 13 Mar 2020 17:17:48 +0000 (18:17 +0100)]
Hook up data-driven unit conversion tests: triggers segfault
Contains a "FIXME_*" boolean for selecting between fprintf and
constructing a UnitConverter, because the UnitConverter constructor is
currently segfaulting.
Also contains some clean-up of testConversions code.
Younies Mahmoud [Thu, 19 Mar 2020 14:14:55 +0000 (15:14 +0100)]
merge tryingdouble branch
Younies Mahmoud [Thu, 19 Mar 2020 13:33:55 +0000 (14:33 +0100)]
Merge pull request #4 from hugovdm/younies_units_router_resources
Add units resources data loading. (Unit test is WIP.)
Hugo van der Merwe [Thu, 19 Mar 2020 12:44:32 +0000 (13:44 +0100)]
Remove namespace hacks. Trust code review will deal with 'work in progress'.
Hugo van der Merwe [Thu, 19 Mar 2020 12:05:41 +0000 (13:05 +0100)]
Fix default geq: 1, not 0.
Hugo van der Merwe [Thu, 19 Mar 2020 12:03:15 +0000 (13:03 +0100)]
Merge branch 'units_router' into younies_units_router_resources
Younies Mahmoud [Thu, 19 Mar 2020 02:28:30 +0000 (03:28 +0100)]
remove std::string
Younies Mahmoud [Thu, 19 Mar 2020 02:21:44 +0000 (03:21 +0100)]
add unitsroutertest.cpp
Younies Mahmoud [Thu, 19 Mar 2020 02:20:36 +0000 (03:20 +0100)]
address Shane's comments on number_formatter.h
Younies Mahmoud [Thu, 19 Mar 2020 01:59:26 +0000 (02:59 +0100)]
Add skeleton for testing units router
Hugo van der Merwe [Thu, 19 Mar 2020 00:45:27 +0000 (01:45 +0100)]
Strip down ConversionRateInfo to only four CharStrings.
Hugo van der Merwe [Thu, 19 Mar 2020 00:42:25 +0000 (01:42 +0100)]
WIP: Add base conversion rates for all preferences: with dupes.
Jeff Genovy [Wed, 11 Mar 2020 08:18:11 +0000 (01:18 -0700)]
ICU-21013 Fix OOM not checked in vtzone.cpp
Also change NULL to nullptr
Hugo van der Merwe [Wed, 18 Mar 2020 17:34:38 +0000 (18:34 +0100)]
Move wip_units_resource_loader.* code into unitsrouter.*
Hugo van der Merwe [Wed, 18 Mar 2020 16:21:02 +0000 (17:21 +0100)]
Delete old wip_units_resources code.
Hugo van der Merwe [Wed, 18 Mar 2020 17:57:27 +0000 (18:57 +0100)]
Merge remote-tracking branch 'younies/units_router' into wip_younies_units_router_resources
H.J. Lu [Tue, 10 Mar 2020 11:34:46 +0000 (04:34 -0700)]
ICU-21019 x86: Add .note.gnu.property section for Intel CET
Intel Control-flow Enforcement Technology (CET):
https://software.intel.com/en-us/articles/intel-sdm
contains shadow stack (SHSTK) and indirect branch tracking (IBT). When
CET is enabled, ELF object files must be marked with .note.gnu.property
section. GCC provides <cet.h> which can be included in assembly codes
to generate CET maker when compiling with -fcf-protection.
Hugo van der Merwe [Wed, 18 Mar 2020 15:47:46 +0000 (16:47 +0100)]
Working parsing and returning of units data.
Hugo van der Merwe [Tue, 17 Mar 2020 21:31:59 +0000 (22:31 +0100)]
WIP: c-style ures_* handling.
Younies Mahmoud [Wed, 18 Mar 2020 13:39:41 +0000 (14:39 +0100)]
Merge branch 'units-staging' of github.com:sffc/icu into tryingdouble
Younies Mahmoud [Wed, 18 Mar 2020 12:56:09 +0000 (13:56 +0100)]
fix comments
Younies Mahmoud [Wed, 18 Mar 2020 12:52:21 +0000 (13:52 +0100)]
add getOutputUnit to FormattedNumber
Younies Mahmoud [Wed, 18 Mar 2020 12:46:52 +0000 (13:46 +0100)]
address Shane's comments on number_formatter.h
Victor Chang [Fri, 13 Mar 2020 19:19:45 +0000 (19:19 +0000)]
ICU-21020 Document unchecked exception in various number formatter classes
Yuta Saito [Sun, 16 Feb 2020 08:16:26 +0000 (00:16 -0800)]
ICU-20978 Reduce unnecessary building for tools when cross-building
Markus Scherer [Tue, 17 Mar 2020 22:31:31 +0000 (15:31 -0700)]
ICU-20916 late computation of roundedThreshold to ensure it is up to date
Shane F. Carr [Wed, 18 Mar 2020 00:47:09 +0000 (19:47 -0500)]
Change "+" to "-and-"
Shane F. Carr [Wed, 18 Mar 2020 00:44:48 +0000 (19:44 -0500)]
Update simple unit identifiers
Shane F. Carr [Wed, 18 Mar 2020 00:30:11 +0000 (19:30 -0500)]
Rename TempSingleUnit -> SingleUnitImpl
Shane F. Carr [Wed, 18 Mar 2020 00:29:59 +0000 (19:29 -0500)]
Revert changes to LocalArray (localpointer.h)
Younies Mahmoud [Tue, 17 Mar 2020 22:55:39 +0000 (23:55 +0100)]
address Shane's comments2
Younies Mahmoud [Tue, 17 Mar 2020 20:47:53 +0000 (21:47 +0100)]
add another constructor to ComplexUnitConverter
Younies Mahmoud [Tue, 17 Mar 2020 20:31:54 +0000 (21:31 +0100)]
Merge branch 'units-staging' of github.com:sffc/icu into units_router
Steven R. Loomis [Sat, 14 Mar 2020 01:32:38 +0000 (18:32 -0700)]
ICU-20605 travis: make dist
- run 'make dist' after the linux clang build
Steven R. Loomis [Sat, 31 Aug 2019 00:31:38 +0000 (17:31 -0700)]
ICU-20797 fix UBS compilation error and UBS in test code
Two issues here:
- fix 2 build issue in i18n when compiling with clang++ -fsanitize=undefined
the following two symbols were not exported (and they should be):
typeinfo for icu::CollationCacheEntry
typeinfo for icu::numparse::impl::CodePointMatcher
- remove undefined behavior warning in NumberFormatTestTuple.. minor, but very annoying
when repeated many times during every test run. Tends to mask real errors.
> numberformattesttuple.cpp:319:5: runtime error: member access within null pointer of type 'NumberFormatTestTuple'
Steven R. Loomis [Sat, 14 Mar 2020 01:19:07 +0000 (18:19 -0700)]
ICU-20600 build icu-data-bin files
make dist will now produce:
- icu4c-67.1-data-bin-b.zip
- icu4c-67.1-data-bin-l.zip
Steven R. Loomis [Wed, 2 Oct 2019 17:10:03 +0000 (10:10 -0700)]
ICU-20910 C API Change Report Tool updates
- This commit was used to generate ICU4C 65's report
- This commit was inadvertently left out of [ICU-20162]
Changes:
- fixup copyright messages
- code cleanup
- fix unreplaced '$rightVer' in born stable APIs
Shane F. Carr [Tue, 17 Mar 2020 03:12:04 +0000 (22:12 -0500)]
Merge pull request #26 from hugovdm/units-staging-preferences
Parse unitPreferencesTest.txt preparing to run data-driven tests
Younies Mahmoud [Tue, 17 Mar 2020 00:08:57 +0000 (01:08 +0100)]
implement units router
Younies Mahmoud [Mon, 16 Mar 2020 21:33:09 +0000 (22:33 +0100)]
Implement complex unit converter
Shane F. Carr [Fri, 6 Mar 2020 06:21:17 +0000 (06:21 +0000)]
ICU-21008 Make ant checkTest run tests in exhaustive mode
See #1021
Younies Mahmoud [Mon, 16 Mar 2020 18:40:41 +0000 (19:40 +0100)]
Merge branch 'tryingdouble' of github.com:younies/icu into units_router
Markus Scherer [Fri, 13 Mar 2020 02:21:24 +0000 (19:21 -0700)]
ICU-20984 StringPiece & ByteSink overloads for char8_t*
Hugo van der Merwe [Mon, 16 Mar 2020 11:00:57 +0000 (12:00 +0100)]
Remove two unused variables.
Hugo van der Merwe [Mon, 16 Mar 2020 10:33:56 +0000 (11:33 +0100)]
Use a toDebugString that returns a std::string for simplicity.
Hugo van der Merwe [Mon, 16 Mar 2020 09:59:43 +0000 (10:59 +0100)]
ICU-Style: use UErrorCode& parameter instead of returning UBool.
Younies Mahmoud [Sun, 15 Mar 2020 22:48:34 +0000 (23:48 +0100)]
address Shane's comments
Younies Mahmoud [Sun, 15 Mar 2020 22:38:44 +0000 (23:38 +0100)]
Merge branch 'units-staging' of github.com:sffc/icu into tryingdouble