Andy Heninger
bdb1806580
ICU-20544 Regex, Fix assertion failure in positive look-behind
2019-04-12 15:27:40 -07:00
Shane F. Carr
cab01e522e
ICU-20511 Merge release-64-1 to master
2019-04-11 15:20:09 -07:00
Andy Heninger
7053363323
ICU-20544 Regex, fix min/max match length computation with negative look-behind patterns.
2019-04-10 22:38:25 -07:00
Shane F. Carr
a268e3a299
ICU-20511 Merge branch 'master' into 64-merge-branch
2019-04-10 19:13:00 -07:00
Shane Carr
6daab85db4
ICU-20429 Renaming [Number->Formatted]StringBuilder and refactoring.
...
- StringSegment, ICU4C:
* Moved to top icu namespace
* Compilation unit renamed to string_segment.
- NumberStringBuilder, C and J:
* Moved to main icu namespace
* Compilation unit renamed to formatted_string_builder
* Renamed class to FormattedStringBuilder
- Moves nextPosition logic of NumberStringBuilder to helper class
2019-04-05 20:08:07 -05:00
Jeff Genovy
5e95b31ad0
ICU-20523 Fix typos in API docs for usearch_getMatchedLength
2019-04-02 11:19:59 -07:00
Shane Carr
c86028c70c
ICU-20439 Fix internal and draft headers.
2019-03-25 07:37:35 -07:00
Shane Carr
e318c0c374
ICU-20494 Fixes to very large magnitude exponents in number parsing.
...
- Do not depend on ArithmeticException string in ICU4J.
- Return correct string in ICU4C.
- Fix related issue in applyMaxInteger.
2019-03-25 07:17:36 -07:00
Jeff Genovy
b5ad35dda8
ICU-20516 Fix MSVC Warning C4003: not enough arguments for function-like macro invocation
2019-03-22 18:37:48 -07:00
Shane Carr
b596462d5a
ICU-20508 Fixing -Wextra-semi in library code.
2019-03-22 15:29:45 -07:00
Shane F. Carr
13889bece1
ICU-20511 Merge maint/maint-64 to master
2019-03-22 11:16:43 -07:00
Shane F. Carr
405129a6dd
ICU-20439 Removing ICU patches.
2019-03-18 21:17:22 -07:00
Shane F. Carr
6c86dc108d
ICU-20439 Updating double-conversion.
2019-03-18 21:17:22 -07:00
Shane Carr
2e846616c4
ICU-20499 Fixing code path for plural form in MutablePatternModifier.
2019-03-14 02:02:52 -07:00
Peter Edberg
8943f89a84
ICU-20471 setFormatWidth to 0 should cause padding to be ignored
2019-03-12 15:17:42 -07:00
Shane Carr
bb4df2223d
ICU-20463 Use copybrief for children that are older than parents.
2019-03-12 14:34:02 -07:00
Andy Heninger
bc4bb89af2
ICU-20488 mutex static constructor fixes.
...
Remove the dependencies from the ICU library code on static constructors
that were introduced by using std::mutex and condition variables. The
mutexes are lazily initialized by embedding them as local static variables
in getter functions, and relying on the C++ compiler/runtime to do thread
safe initialization of them.
2019-03-12 09:52:16 -07:00
Shane Carr
cda7ca7e83
ICU-20469 Adding user guide for number skeletons.
...
Also fixes a minor bug in the syntax and adds tests.
2019-03-08 16:32:47 -08:00
Andy Heninger
f7b36d39bc
ICU-11908 NumberingSystem, fix the memory management of static cache of numsys names.
...
Add thread safe cache initialization.
2019-03-08 15:06:53 -08:00
Andy Heninger
e559b30309
ICU-20359 Fix stack overflow in Regex Pattern Compile.
2019-03-07 10:31:30 -08:00
Norbert Runge
47ef6175f9
ICU-20438 Fixes issues found during BRS configuration test task.
2019-02-28 12:55:01 -08:00
Andy Heninger
666d1a9d8e
ICU-20438 ICU 64 C API promotion and API Change Report generation.
2019-02-27 16:01:05 -08:00
Shane Carr
ae13af0a8e
ICU-20438 Adding additional ICU patches to double-conversion.
2019-02-26 20:53:26 -06:00
Shane Carr
93178a836c
ICU-20438 Updating double-conversion from upstream master.
2019-02-26 20:53:26 -06:00
Peter Edberg
74ff0bf1a4
ICU-20438 64rc BRS, update U_HIDE_ conditionals
2019-02-26 16:32:24 -08:00
Shane F. Carr
92ed50bc2c
ICU-20452 Removing extra semicolons from public header files.
...
(Produced warnings in V8 build system.)
2019-02-25 15:31:17 -06:00
Peter Edberg
30d2034597
ICU-20438 64rc BRS, integrate CLDR alpha2, update MeasureUnit APIs [& resolve conflicts] ( #485 )
2019-02-24 22:28:51 -08:00
Fredrik Roubert
c3abe48e1c
ICU-20447 fix uloc_getName(x) same as Locale(x).getName() etc. for ""/"und"/"root"
2019-02-23 16:21:57 +01:00
Romain Geissler
f128f75cb8
ICU-20265 Use noexcept instead of throw() in C++ >= 11.
...
- Adds note directing users of U_NO_THROW to U_NOEXCEPT.
2019-02-22 13:29:20 -06:00
Jeff Genovy
84da7ec0fa
ICU-20438 BRS64RC Update ICU4C version numbers
2019-02-22 11:26:41 -08:00
Peter Edberg
a9b26a447d
ICU-20441 fix uninitialized fHasHanYearChar
2019-02-21 23:27:33 -08:00
Peter Edberg
9a7bf5cea8
ICU-20441 force Gannen use for ja@calendar=japanese non-numeric formats if no override ( #474 )
2019-02-21 19:26:52 -08:00
Markus Scherer
4f20fea3ba
ICU-20280 PluralRules::forLocale() ignore locale extensions
2019-02-21 11:32:05 -08:00
Fredrik Roubert
09bf9f2845
ICU-20273 Resolve inconsistent behavior of "root", "und", "" in locales
2019-02-21 20:18:35 +01:00
Jeff Genovy
1188394d74
ICU-13820 ICU4C should use "Etc/Unknown" zone when host TZ detection fails.
...
Update API docs comments to clarify what is returned in failure cases.
2019-02-21 10:49:00 -08:00
Jeff Genovy
3ebd817504
ICU-20351 A few more MSVC warning cleanups. (Mostly adding static_cast)
2019-02-21 10:43:18 -08:00
Fredrik Roubert
01c69cfa85
ICU-20158 Pass ByteSink all the way to _uloc_(addLikely|minimize)Subtags().
...
This eliminates the need for scratch buffers in any code path that ends
with these functions and also eliminates the need for counting bytes,
something that ByteSink will now handle correctly when needed.
Existing calls to uloc_addLikelySubtags() and uloc_minimizeSubtags()
throughout ICU4C implementation code are also updated to instead use
either the Locale or ulocimp_* functions with the new API.
None of this should have any externally visible effect, it's all about
cleaning up implementation internals.
2019-02-21 12:19:04 +01:00
Shane Carr
b36dbedf34
ICU-20417 Adding parity between NoUnit and MeasureUnit Percent for short forms.
...
- Use Percent pattern for MeasureUnit Percent instead of the short or narrow form pattern from CLDR.
2019-02-21 02:28:51 -06:00
Shane F. Carr
7d30fc9b46
ICU-20159 Fixing more GCC warnings.
2019-02-21 01:15:58 -06:00
Shane Carr
c81d1e94a0
ICU-13591 Refactoring ICU4C MeasureFormat to call NumberFormatter directly.
...
- Removes redundant data loading in MeasureFormat
2019-02-20 19:15:03 -06:00
Peter Edberg
ba100f21b5
ICU-12902 make create/getInstanceForSkeleton use correct calendar; don't try to capitalize empty field
2019-02-20 13:50:34 -08:00
Peter Edberg
641326d7b8
ICU-20078 Add JP_ERA_2019 constants, export enableTentativeEra(), add intervalFmt tests with eras
2019-02-20 10:42:49 -08:00
Jeff Genovy
9f87d2d4be
ICU-20413 ICU4C: OOM not handled in initStaticTimeZones() in timezone.cpp.
...
-Use static allocated memory and placement new to avoid OOM failures.
2019-02-20 10:41:40 -08:00
Jeff Genovy
4509ab7d96
ICU-20419 Export internal StackUResourceBundle helper, so it can be used in the i18n library.
...
Replace all current usages of ures_initStackObject() in the i18n library with the StackUResourceBundle helper.
2019-02-20 09:24:24 -08:00
Jeff Genovy
8858da9b7f
ICU-20414 Add internal ures_openDirectFillIn API, use in getTZDataVersion to avoid memory allocation for UResourceBundle.
2019-02-19 16:58:38 -08:00
Andy Heninger
719d4fd3b5
ICU-20415 uregex_start64() and end64() truncation.
2019-02-19 15:59:21 -08:00
Shane Carr
06ec8f531e
ICU-20254 Handling OOM in AffixTokenMatcherWarehouse.
2019-02-18 21:38:17 -08:00
Shane Carr
9cdb660b5e
ICU-20144 Implementing numsys-dependent range pattern loading.
2019-02-18 01:32:11 -08:00
Peter Edberg
2b82c096e0
ICU-20383 DateTimePatternGen should map 'j' using timeData, not short time cycle ( #419 )
2019-02-17 19:55:52 -08:00
Mihai Nita
f78e1a53d6
ICU-10675 Documentation wrong on ICU4C ListFormatter
2019-02-15 17:21:33 -08:00