Shane Carr
a3956a8d8b
ICU-20593 Data docs tweaks and fixing UDATA_DEBUG build.
2019-06-17 19:53:48 -07:00
Mihai Nita
6ce3295e4d
ICU-20622 Fixing several MeasureFormat problems
2019-06-17 13:44:38 -07:00
Jeff Genovy
e56b19662c
ICU-20647 Fix TimeZone leak in ucal_open if uloc_setKeywordValue fails.
2019-06-13 13:40:02 -07:00
Frank Tang
78f341ce7e
ICU-20654 Add hour/minute for "this hour/minute"
...
Fix expectation in cintltest
add tests
ICU-20654 Add hour/minute for "this hour/minute"
See #674
2019-06-12 17:43:18 -07:00
Azamshul Azizy
5174ad5511
ICU-20631 Fix desired currency not set for some NumberFormat currency styles
2019-06-10 11:09:21 -07:00
Shane Carr
2b611dbf6e
ICU-20593 Trace instrumentation for data loading.
...
- Adds hooks to utrace.h to record when ICU reads from locale data.
- Adds userguide page to document the new hooks.
2019-06-07 15:56:02 -07:00
Shane Carr
d1688fd8f1
ICU-20627 Fixing typo introduced by #670 .
2019-06-07 14:07:38 -07:00
Jeff Genovy
d72aa91429
ICU-20658 Fix broken Data Filtering on Windows builds.
2019-06-07 10:43:29 -07:00
Krzysztof Kosiński
d01a33e1dc
ICU-20608 Add platform defines for Emscripten.
2019-06-07 10:36:17 -07:00
Shane Carr
fc11a7a8cb
ICU-20627 Adding alias locales to new structure in res_index.
2019-06-06 15:58:06 -07:00
Shane Carr
8cf9d43541
ICU-20593 ICU Data Build Tool documentation updates.
2019-06-05 13:48:37 -07:00
Shane Carr
d846d72bba
ICU-20629 DTPG: Fixing uncaught exception in Java.
2019-06-04 16:10:10 -07:00
Frank Tang
6671947d3e
ICU-20602 copyErrorTo() functions should be const
2019-05-30 17:17:52 -07:00
Frank Tang
6e6e65904e
ICU-20641 Fixes undefined-shift
...
ICU-20641 Fixes undefined-shift See #663
2019-05-30 15:36:18 -07:00
Shane Carr
46c86b47cc
ICU-20629 Fixing DTPG hour-format locale and region fallback logic.
...
Includes changes in C and J. Makes region.cpp no longer depend on DecimalFormat. See also: CLDR-13071, ICU-20640, ICU-9982.
2019-05-29 16:37:40 -07:00
Norbert Runge
633a975849
ICU-20638 Renames fuzzer target files to end with the .cpp suffix. Was .cc.
2019-05-29 16:06:10 -07:00
Shane Carr
f9ea5351b0
ICU-20625 Fixing uninitialized memory in DTPG detected by Valgrind.
2019-05-29 15:07:05 -07:00
Shane Carr
c8c3fbca28
ICU-20616 Allow bidi marks around the sign in exponent parsing.
2019-05-27 22:39:18 -07:00
Andy Heninger
afa9b9b48e
ICU-20588 UMutex, add cleanup of underlying mutexes, and simplify usage model
2019-05-24 13:24:59 -07:00
Frank Tang
bb22fc1a27
ICU-20602 add LocaleBuilder::copyErrorTo
...
Check the status after the setter and test err.
Add more check for errors.
change comments
2019-05-22 18:03:12 -07:00
Frank Yung-Fong Tang
b7ffd7b6d0
ICU-20613 fix missing </ClInclude>
2019-05-21 16:03:20 -07:00
Alon Bar-Lev
a5bbd505d7
ICU-20578 headers: guard all C++ headers using U_SHOW_CPLUSPLUS_API
...
support including all files in C
cleanup and simplify the test/hdrtest
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2019-05-14 17:18:06 -07:00
Frank Tang
53dd621e3a
ICU-12760 support UDISPCTX_TYPE_SUBSTITUTE_HANDLING
...
add tests
remove printf
fix localeDisplayName and add tests
fix fallback
remove get
2019-05-13 17:38:07 -07:00
Daniel Ju
14649a41f4
ICU-20567 Use 7Zip to package Windows binaries to avoid backslash separator errors when unzipping on CygWin
2019-05-13 16:43:41 -07:00
Frank Tang
cb40d8b1a5
ICU-20595 Make icu::TimeZone::AdoptDefault thread safe
...
correct the mutex
Remove comments about not thread safe
2019-05-13 16:00:27 -07:00
Mihai Nita
c1ce6d9163
ICU-20591 Increased the date rowspan to include the argSkeletonText line
2019-05-08 16:09:08 -07:00
Shane F. Carr
06114c5108
ICU-20593 Consuming ignore_xml_deprecates option in BUILDRULES.py.
...
The option was added in b603285
, but the option was not being used.
2019-05-08 13:58:53 -07:00
Andy Heninger
b772241b52
ICU-20520 UMutex refactoring.
...
- Use STATIC_NEW for mutex creation, to avoid order-of-destruction problems
by avoiding destruction altogether, while avoiding memory leak reports.
- Remove UConditionVar, replace with direct use of std::condition_variable
2019-05-07 13:50:49 -07:00
Shane Carr
702fdb6c33
ICU-20593 Renaming Python buildtool to icutools.databuilder.
2019-05-07 13:42:06 -07:00
Shane F. Carr
9704216ef7
ICU-20529 Generate res_index on partial resource trees.
2019-05-06 16:04:36 -07:00
Shane Carr
4b04d703ab
ICU-20593 Buildtool: Implementing new "additive" mode.
2019-05-06 15:48:14 -07:00
Shane Carr
b603285082
ICU-20593 Buildtool: adding some options and improving exec mode.
2019-05-06 15:37:25 -07:00
Shane Carr
e27c075b92
ICU-20593 Genrb: Remove keys if bundle is empty after filtering.
2019-05-06 15:08:02 -07:00
Markus Scherer
f1d4aa72d1
ICU-20572 build & test with U_NO_DEFAULT_INCLUDE_UTF_HEADERS
2019-05-02 09:10:25 -07:00
Steven R. Loomis
075cefb2e2
ICU-20575 fix broken default locale mapping for C.UTF-8
...
Regression was in 1afef30549
PR #418 [ICU-20187]
- We dropped the mapping from "C" in uloc_canonicalize,
but then putil did not handle cases where a codepage was
set (such as C.UTF-8).
- Add an additional check in uprv_getDefaultLocaleID() for
locales that end up as "C" or "POSIX" after removing codepage
suffix.
- Also fix regression where aa@bb would become aa__BB__BB
(incorrectly doubled __BB)
2019-04-25 14:59:32 -07:00
Alon Bar-Lev
0aa19c0d22
ICU-20530 Fix header issues based on test/hdrtst
...
Remove explicit extern "C++" scope.
Remove C++ macros in C mode.
Fix issues detected by make -C test/hdrtst.
Run test/hdrtest during CI to detect future breakage.
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2019-04-25 14:51:43 -07:00
Jeff Genovy
693adf3987
ICU-20558 Fix regression in DateTimePatternGenerator
...
This fixes a regression introduced by commit
b12a927c93
for issue ICU-13778.
The above commit improved the error checking in the
DateTimePatternGenerator class, adding checks for errors/failures
where there previously was none at all. This was done in order to
catch catastrophic errors like out-of-memory (OOM), and properly
report them to the caller, rather than ignoring/hiding these errors.
However, in doing so it exposed a case where the code was depending
on ignoring errors in order to fall-back to the Gregorian calendar
when the default ICU locale is set to root.
This restores the previous behavior, by allowing the error of
U_MISSING_RESOURCE_ERROR to fall-though and continue without
reporting back an error to the caller.
Note: This regression was technically introduced in ICU 63, and
also effects ICU 64 as well.
2019-04-25 10:52:06 -07:00
Fredrik Roubert
711e7e003a
ICU-20573 Handle NULL return value correctly, it means empty not error.
2019-04-25 13:05:14 +02:00
Andy Heninger
a97cfb01b9
ICU-20570 UInitOnce instances, add explicit initialization where it was missing.
2019-04-24 18:15:13 -07:00
Fredrik Roubert
4bd1ee008c
ICU-20445 Pass ByteSink to ulocimp_addLikelySubtags().
2019-04-23 19:45:28 +02:00
Jeff Genovy
974087aa0b
ICU-20445 Need to export the CharStringByteSink class for Windows and OSX.
2019-04-23 19:45:28 +02:00
Andy Heninger
d685cacd9b
ICU-20391 Fix regexp crash with nested look-behinds, from fuzz testing.
2019-04-17 22:17:47 -07:00
Shane F. Carr
14eb026570
ICU-20511 Merge release-64-2 to master
2019-04-17 14:15:59 -07:00
Shane Carr
08766f4c02
ICU-20511 Merge tag 'release-64-2' into 64-merge-branch
2019-04-17 13:37:22 -07:00
Steven R. Loomis
e2d8530616
ICU-20563 fix macosx rpath breakage in the data build
...
- in the rpath case, we do NOT want a trailing space in LD_SONAME
regression was introduced in ICU-20526 with
83a0542b5b
(master)
b76cb6517e
(in maint-64)
(cherry picked from commit 1c553b9cf2
)
2019-04-17 12:03:05 -07:00
Steven R. Loomis
1c553b9cf2
ICU-20563 fix macosx rpath breakage in the data build
...
- in the rpath case, we do NOT want a trailing space in LD_SONAME
regression was introduced in ICU-20526 with
83a0542b5b
(master)
b76cb6517e
(in maint-64)
2019-04-17 11:48:23 -07:00
Jeff Genovy
633b6510c4
ICU-20513 Treat MSVC warnings C4910 and C4003 as errors in the library code for CI builds.
2019-04-15 13:18:02 -07:00
yumaoka
f508bc491e
ICU-20554 Disabled current date sensitive Japanese era test cases for now.
2019-04-15 09:49:04 -04:00
Shane F. Carr
be25c277fd
ICU-20511 Merge release-64-2-rc to master
2019-04-12 16:57:29 -07:00
Andy Heninger
bdb1806580
ICU-20544 Regex, Fix assertion failure in positive look-behind
2019-04-12 15:27:40 -07:00