Commit graph

22775 commits

Author SHA1 Message Date
younies
909f343cd6 ICU-21349 Improve MeasureUnit comparators
See #1433
2020-11-13 23:36:00 +04:00
Hugo van der Merwe
7c9bad02d2 ICU-21366 testConverter: allow some double-precision error for 0.0
See #1443
2020-11-11 18:31:18 +01:00
Corey Taylor
0912b85193 ICU-10997 Port test case for 10997 currency formatting to icu4c 2020-11-05 23:17:33 -06:00
Hugo van der Merwe
5a75375222 ICU-21349 Refactor testComplexUnitsConverter
See #1441
2020-11-04 18:07:35 +01:00
Hugo van der Merwe
710fa5aaf9 ICU-20941 Support formatting joule-per-furlong (builtin-per-builtin).
See #1409
2020-11-04 18:07:09 +01:00
Hugo van der Merwe
7c8f857da8 ICU-21356 Fix memory handling in MemoryPool::operator=()
See #1437
2020-10-29 12:14:52 +01:00
Hugo van der Merwe
21dde41f9e ICU-21349 Some improvements to UnitsTest
See #1421
2020-10-27 14:23:08 +01:00
Hugo van der Merwe
0439cc5f7b ICU-21311 Fix code generation in MeasureUnitTest.java and use it 2020-10-20 23:52:14 +02:00
Hugo van der Merwe
57820a495d ICU-21337 Remove U_I18N_API from enum. 2020-10-20 03:26:44 +02:00
Rich Gillam
af7ed1f6d2 ICU-21326 Changed res_findResource() so that it doesn't try index-based lookup in a table resource if the resource ID has a leading zero 2020-10-14 20:24:29 -07:00
Peter Edberg
d1dcb69318 ICU-21249 integrate CLDR release-38-beta2 to ICU trunk 2020-10-09 14:54:02 -07:00
Peter Edberg
0583afebf3 ICU-13259 Check whether ulocdata_getDelimiter works in various locales including fr_CA 2020-10-09 10:01:30 -07:00
yumaoka
0080c0c5e7 ICU-21325 tz database 2020b updates 2020-10-09 12:49:15 -04:00
Artemkth
6e99377bc5 ICU-20677 Fixing cygwin/MSVC build
See #1398
2020-10-08 11:11:11 -07:00
Frank Tang
f1a8a63f06 ICU-21316 Fix bug under different default locales
See #1399
2020-10-07 21:05:29 -07:00
Richard Gillam
5de5cabfb0 ICU-21249 Add new U_HIDE_INTERNAL_API guards 2020-10-06 10:09:18 -07:00
Markus Scherer
d533fd5719 ICU-20853 undef Solaris x86 register macros where they conflict 2020-10-02 14:20:44 -07:00
Norbert Runge
c0d4065607 ICU-21249 Adds error code check to prevent segmentation fault if
See #1356
2020-10-02 09:57:19 -07:00
Elango Cheran
6700602974 ICU-21270 Support exponent in FixedDecimal and samples in C++ 2020-10-02 09:21:29 -07:00
Elango Cheran
c4fa504fec ICU-21249 BRS68RC Remaining updates for Readmes for ICU4C and ICU4J 2020-10-01 17:57:16 -07:00
Markus Scherer
ff7cc3f1a8 ICU-21249 add unumberrangeformatter.h to API docs main page 2020-10-01 15:37:42 -07:00
Craig Cornelius
a61c6ff23a ICU-21249 API Change Reports for C++
See #1387
2020-10-01 12:55:49 -07:00
Jeff Genovy
6c9655060b ICU-21249 Fix warnings about uninitialized variables in locid.cpp 2020-10-01 11:57:24 -07:00
Fredrik Roubert
692005d348 ICU-20963 Remove executable bit from .clang-format file.
This configuration file was marked executable by mistake.
2020-10-01 10:58:04 -05:00
Hugo van der Merwe
a84fdd0e90 ICU-21266 Support toSkeleton() for all functional Unit Formatters
See #1347
2020-10-01 02:51:27 +02:00
Hugo van der Merwe
a08ac00c67 ICU-21304 Update old userguide links to unicode-org.github.io 2020-10-01 01:28:05 +02:00
Hugo van der Merwe
9cb611d09f ICU-20568 Improve negative measure handling for mixed units
See #1379
2020-10-01 00:12:09 +02:00
Markus Scherer
65ec5621b4 ICU-21269 ParagraphLayout complexTable: init & access based on actual values 2020-09-29 16:44:44 -07:00
Ikko Ashimine
ecf5fab30b ICU-21293 Fix typo in rematch.cpp comment
arguements→arguments
2020-09-29 15:02:27 -07:00
Jeff Genovy
b4d056ab93 ICU-13845 Windows timezone detection: When DST is off, map to an Etc/GMT+-hh zone.
The Windows 'Date and Time' Control Panel has a setting for "Automatically
adjust clock for DST". When this setting is manually unchecked, the DST
setting is considered OFF, and the clock does not adjust for DST.

This change detects when the setting is OFF and uses the non-DST offset
to map to an Etc/GMT+-hh zone.

- Also refactor uprv_detectWindowsTimeZone

Co-authored-by: Jungshik Shin <jshin@chromium.org>
2020-09-29 13:57:39 -07:00
Rich Gillam
1ff371c225 ICU-21249 ICU4C API promotions 2020-09-28 17:19:04 -07:00
Markus Scherer
2b87e39ceb ICU-21124 fix minor LocaleMatcher API doc issues 2020-09-28 08:47:27 -07:00
Markus Scherer
1c8bc80789 ICU-21249 restore tests of Version resources 2020-09-25 12:09:38 -07:00
Peter Edberg
43aa7ddda2 ICU-21249 integrate CLDR release-38-beta to ICU trunk 2020-09-25 09:33:13 -07:00
Frank Tang
cddb569261 ICU-21297 Fix crash when ICU runs with stubdata only
See #1361
2020-09-24 17:14:04 -07:00
Peter Edberg
4881333155 ICU-21249 BRS68rc update urename.h 2020-09-23 16:57:10 -07:00
Markus Scherer
68c66ef33c ICU-20846 remove header guard from .cpp file 2020-09-23 16:18:26 -07:00
Markus Scherer
fba8cecffa ICU-21236 better document UniqueCharStrings 2020-09-23 16:06:37 -07:00
Jeff Genovy
6a78e67995 ICU-21249 BRS68RC: Fix ICU4C Samples.
- Changes for TRUE/FALSE macros.
- Samples: Add casts
- Samples: Clean up ufortune and ugrep vcxproj files.
- Set codepage to UTF-8 in samplecheck.bat
2020-09-23 14:52:07 -07:00
Hugo van der Merwe
81d43a2092 ICU-20568 Fix "1 foot 12 inches" behaviour
See #1337
2020-09-23 08:10:22 +02:00
Peter Edberg
3d8ae5eb6d ICU-20590 Ensure time format consistency for SHORT vs j patterns if no locale data 2020-09-22 22:50:36 -07:00
Shane F. Carr
6b3a7a64ab ICU-21190 Adding PluralRules select for number ranges
See #1309
2020-09-22 15:49:30 -05:00
Frank Tang
12dc3772b1 ICU-21236 Correct Locale canonicalization
See #1254
2020-09-21 19:35:13 -07:00
Shane Carr
3112d9ebb9 ICU-21191 Fixing testtagsguards.sh 2020-09-21 09:38:53 -07:00
Markus Scherer
8dc85529e1 ICU-21249 add hide-draft guards for some @draft ICU 68 API 2020-09-20 21:04:41 -05:00
Hugo van der Merwe
e3bb5e5f07 ICU-20568 Add .unit().usage() support to ICU4J NumberFormatter (2/2)
* Throw UnsupportedOperationException for "unsanctioned units"
* Deal with the parent issue for LongNameMultiplexer
* Fix NullPointerException: UnitConversionHandler.processQuantity must
  call fParent.processQuantity
* toSkeleton not supported for not-built-in units
* Add and use interface
  LongNameMultiplexer.ParentlessMicroPropsGenerator
* Match up C++ and Java unit tests in NumberFormatterApiTest.java
* Permit user-override of precision() for usage(), closes icu-units#95
* Use BogusRounder to propagate mathContext.
* Port C++ change from PR #1322, commit c84ded050a, to Java.
* Test the usage-without-unit error. Document it in
  NumberFormatterSettings.java
* General review and corrections.
2020-09-19 01:31:08 +02:00
gnrunge
5e0cec2c2b ICU-21248 Adds source file check (UTF-8 and absence of BOM) to
Travis Continued Integration.

ICU-21248 Factors in review comments.

ICU-21248 Changes: no more filtering of markdown files, moved the
script to icu/tools/script/ directory, removed BOM from one
README.md file.

ICU-21248 Adjusts path to the icu-file-utf8-check script.

ICU-21248 Extends coverage of UTF-8/BOM check to all of icu/ directory.
2020-09-18 13:17:50 -07:00
gnrunge
10face8140 ICU-21249 Adds !UCONFIG_NO_BREAK_ITERATION around selected test data items.
The corresponding code that implements the feature under test is likewise
enclosed.
2020-09-17 13:22:05 -07:00
Hugo van der Merwe
c84ded050a ICU-20568 Have macrosToMicroGenerator do input unit calculation.
This moves input unit calculation out of UnitConversionHandler making
it simpler and clearer, and localises the "MacroProps interpretation"
work in macrosToMicroGenerator, where it belongs.
2020-09-17 12:11:26 +02:00
Roman Savchenko
5a42118a6f ICU-21280 Correct source bytes counting in UTF8->UTF8 conversion 2020-09-16 17:50:21 -07:00