]>
granicus.if.org Git - icu/log
Hugo van der Merwe [Mon, 30 Mar 2020 16:05:29 +0000 (18:05 +0200)]
Rip out compound base unit calculation.
Hugo van der Merwe [Mon, 30 Mar 2020 15:35:48 +0000 (17:35 +0200)]
Add failing reciprocal test that we want to have passing.
Hugo van der Merwe [Mon, 30 Mar 2020 12:49:03 +0000 (14:49 +0200)]
Fix mistake in commented-out identifier in previous commit.
Hugo van der Merwe [Mon, 30 Mar 2020 12:14:02 +0000 (14:14 +0200)]
Fix comments: remove a WIP, fix expectations in disabled/failing test.
Hugo van der Merwe [Sat, 28 Mar 2020 20:10:02 +0000 (21:10 +0100)]
clang-format pass over new files, for good measure
Hugo van der Merwe [Sat, 28 Mar 2020 19:56:51 +0000 (20:56 +0100)]
Clean up getConversionRatesInfo to prepare for review.
Hugo van der Merwe [Sat, 28 Mar 2020 18:47:32 +0000 (19:47 +0100)]
Manual cherry-pick of getConversionRatesInfo
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
Shane Carr [Fri, 6 Mar 2020 01:53:58 +0000 (01:53 +0000)]
ICU-20956 Fix monetary symbol getters in DecimalFormat
See #987
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.)
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
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
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.
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)
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
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
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.
Shane Carr [Sun, 15 Mar 2020 22:10:54 +0000 (15:10 -0700)]
Merge branch 'unit-id' into units-staging
Shane Carr [Sun, 15 Mar 2020 22:10:27 +0000 (15:10 -0700)]
Fix compile error
Markus Scherer [Fri, 13 Mar 2020 22:04:11 +0000 (15:04 -0700)]
ICU-21009 LocaleMatcher() order[] always set all elements
Jeff Genovy [Wed, 11 Mar 2020 08:33:27 +0000 (01:33 -0700)]
ICU-21014 Fix OOM not checked in dtitvfmt.cpp and dtitvinf.cpp
Shane F. Carr [Fri, 13 Mar 2020 23:06:04 +0000 (18:06 -0500)]
Merge branch 'unit-id' into units-staging
Shane F. Carr [Fri, 13 Mar 2020 23:05:31 +0000 (18:05 -0500)]
Merge remote-tracking branch 'upstream/master' into unit-id
Shane F. Carr [Fri, 13 Mar 2020 23:03:59 +0000 (18:03 -0500)]
Touch-ups to the API surface
Shane Carr [Fri, 13 Mar 2020 19:06:17 +0000 (12:06 -0700)]
Merge branch 'master' into units-staging
Peter Edberg [Fri, 13 Mar 2020 03:19:25 +0000 (20:19 -0700)]
ICU-20987 integrate CLDR release-37-alpha3 to master, adjust MeasureUnitTest.java tools
Hugo van der Merwe [Thu, 12 Mar 2020 17:34:25 +0000 (18:34 +0100)]
Make compound parsing work.
Hugo van der Merwe [Thu, 12 Mar 2020 17:36:27 +0000 (18:36 +0100)]
Clone parsePreferencesTests from u_parseDelimitedFile (w/ minor mods)
Hugo van der Merwe [Thu, 12 Mar 2020 17:39:42 +0000 (18:39 +0100)]
Read unitPreferencesTest.txt, preparing to test thresholds.
Hugo van der Merwe [Fri, 6 Mar 2020 14:54:03 +0000 (15:54 +0100)]
Temporarily disable unitPreferencesTest.txt tests with unsupported identifiers.
Shane F. Carr [Fri, 13 Mar 2020 08:01:12 +0000 (03:01 -0500)]
Merge pull request #28 from hugovdm/units-staging-unitquantities
Add unitQuantities ldml2icu rules, update units.txt
Shane F. Carr [Fri, 13 Mar 2020 04:24:38 +0000 (23:24 -0500)]
Update measunit_impl.h
Shane Carr [Fri, 13 Mar 2020 04:15:44 +0000 (21:15 -0700)]
Merge branch 'master' into units-staging
Conflicts:
icu4c/source/data/misc/supplementalData.txt
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 20:24:05 +0000 (21:24 +0100)]
Add unitQuantities rules and output to units.txt
Hugo van der Merwe [Thu, 12 Mar 2020 19:43:33 +0000 (20:43 +0100)]
ldml2icu: add approximate constants, without including 'approximate' annotation.
Hugo van der Merwe [Thu, 12 Mar 2020 19:42:27 +0000 (20:42 +0100)]
Update constants and preferences using existing ldml2icu rules.
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 [Tue, 10 Mar 2020 02:33:51 +0000 (21:33 -0500)]
ICU-20809 Remove FieldPositionIterator from listformatter.h
Frank Tang [Tue, 10 Mar 2020 20:26:46 +0000 (13:26 -0700)]
ICU-21011 Debug print detail size of brk files.
To print it,
$ CXXFLAGS="-DRBBI_DEBUG" ./runConfigureICU --enable-debug --disable-release Linux/gcc --disable-layoutex
$ make clean
$ U_RBBIDEBUG="size" make
Peter Edberg [Tue, 10 Mar 2020 18:05:55 +0000 (11:05 -0700)]
ICU-20879 fix typo in tests, calender → calendar
Markus Scherer [Sun, 8 Mar 2020 15:28:13 +0000 (08:28 -0700)]
ICU-20700 uloc_acceptLanguage API doc update
Markus Scherer [Mon, 9 Mar 2020 23:57:23 +0000 (16:57 -0700)]
ICU-20936 add LocaleMatcher.Builder.setDirection(with-one-way vs. only-two-way)
Peter Edberg [Tue, 10 Mar 2020 03:44:43 +0000 (20:44 -0700)]
ICU-20844 ICU4J, reduce restriction on minInt=minFrac=0
Frank Tang [Mon, 9 Mar 2020 16:36:52 +0000 (16:36 +0000)]
ICU-21006 Improve output from RBBI Monkey Test in ICU4J
See #1023
Steven R. Loomis [Fri, 28 Feb 2020 20:48:12 +0000 (12:48 -0800)]
Jeff Genovy [Mon, 9 Mar 2020 18:21:38 +0000 (11:21 -0700)]
ICU-20626 Update Readme badges to add CI-Valgrind pipeline
Jeff Genovy [Mon, 9 Mar 2020 19:10:15 +0000 (12:10 -0700)]
ICU-20626 Remove "pr:none" from Valgrind CI config to enable comment triggers.
It seems that having "pr:none" completely disables running on PRs, even
when explicitly triggered by a comment.
Jeff Genovy [Mon, 9 Mar 2020 18:52:13 +0000 (11:52 -0700)]
ICU-20965 Remove VS2015 from CI builds, no longer supported by Azure Pipelines
shaobero [Thu, 27 Feb 2020 07:20:52 +0000 (12:50 +0530)]
ICU-20945 Making icudt66.dll for x64 as PE32+
Jeff Genovy [Mon, 9 Mar 2020 07:38:51 +0000 (00:38 -0700)]
ICU-20626 Adding valgrind to the CI tests for ICU4C.
This adds a separate CI pipeline for running valgrind on ICU4C.
The Azure Pipeline images don't have valgrind installed by default though,
so we need to install valgrind first.
We also add `--error-exitcode=1` to the valgrind options, so that any
errors found by valgrind will fail the CI build.
Markus Scherer [Sat, 7 Mar 2020 01:23:17 +0000 (17:23 -0800)]
ICU-20700 reimplement acceptLanguage() using the LocaleMatcher; replace older accept-language-string parsing by LocalePriorityList
Markus Scherer [Thu, 5 Mar 2020 23:03:42 +0000 (15:03 -0800)]
ICU-20915 LocaleMatcher no match: always getSupportedIndex()=-1; remove defaultLocaleIndex field; constructor check if locales are equivalent to default, not just equal; simplify locale sorting; minor builder & test deflaking
Frank Tang [Fri, 6 Mar 2020 19:17:02 +0000 (19:17 +0000)]
ICU-20991 Trace BreakIterator/BreakEngine creation
See #1014
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.
Shane F. Carr [Fri, 6 Mar 2020 06:16:02 +0000 (22:16 -0800)]
ICU-20974 Fix exhaustive test failures
Jeff Genovy [Thu, 5 Mar 2020 22:33:13 +0000 (14:33 -0800)]
ICU-21000 Fix abort called by DateTimePatternGenerator::getDefaultHourCycle
If you call the API getDefaultHourCycle on an empty DateTimePatternGenerator
instance (ie: no locale) then it calls UPRV_UNREACHABLE which calls abort().
We should return an error code instead of aborting.
Jeff Genovy [Tue, 3 Mar 2020 08:44:59 +0000 (00:44 -0800)]
ICU-21001 Fixing problems found by running valgrind.
This makes fixes in order to run the icu4c tests (intltest, cintltst,
iotest, and icuinfo) cleanly under valgrind with --leak-check=full.
Jeff Genovy [Mon, 2 Mar 2020 00:31:55 +0000 (16:31 -0800)]
ICU-21004 Fix buffer over-read in ucal_open
The issue shows under valgrind or as an Address Sanitizer failure.
Shane Carr [Sat, 15 Feb 2020 02:24:14 +0000 (18:24 -0800)]
ICU-20974 Correctly handle extreme values of double.
Frank Tang [Sat, 22 Feb 2020 01:41:58 +0000 (01:41 +0000)]
ICU-20967 add millisecond to DateIntervalFormat
See #978
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 Carr [Sat, 15 Feb 2020 03:18:43 +0000 (19:18 -0800)]
ICU-20961 Return correct currency plural pattern from DecimalFormat
Jeff Genovy [Tue, 3 Mar 2020 08:30:41 +0000 (00:30 -0800)]
ICU-21003 Fix CI config to use new Git LFS syntax, add timeout to ICU4J exhaustive test
Peter Edberg [Tue, 3 Mar 2020 06:01:10 +0000 (22:01 -0800)]
ICU-20987 integrate CLDR release-37-alpha2 to master (new tools)
Peter Edberg [Thu, 27 Feb 2020 20:10:19 +0000 (12:10 -0800)]
ICU-20987 integrate CLDR release-37-alpha1 to master (using new tooling)
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 [Sat, 22 Feb 2020 05:21:26 +0000 (21:21 -0800)]
ICU-20919 Merge maint/maint-66 into master
Shane Carr [Thu, 20 Feb 2020 21:16:24 +0000 (13:16 -0800)]
ICU-20919 Merge branch 'maint/maint-66' into maint-66-merge
Conflicts:
icu4j/main/shared/data/icudata.jar
David Beaumont [Fri, 21 Feb 2020 11:33:00 +0000 (11:33 +0000)]
ICU-20693 Update README.txt in lib directory to lessen risk of failure when setting up libs.
See #999