Andy Heninger
a03a52782e
ICU-20197 ICU4C Multithreaded tests cleanup
2019-02-20 15:30:23 -08:00
Norbert Runge
219730e167
ICU-20217 Interprets fuzzer data as UCHar* instead of UTF-8. The conversion
...
from assumed UTF-8 resulted in an extremely large percentage of Unicode
replacement characters in the data passed to the API under test.
ICU-20217 Uses fuzzer generated bytes to make random selection of locales, converters,
etc., replacing the random number generator. This way the fuzzer can control
the selections.
ICU-20217 Minor follow-ups from code review.
Removes fuzzer target break_iterator_utf32_fuzzer which does not perform
anything useful what the regular break iterator fuzzer target already performs.
ICU-20217 Fixes for-loop body.
ICU-20217 Uses am allocated buffer to pass head-truncated fuzzer data to the
API under test. The fuzzer may otherwise not detect buffer underflow.
by
ICU-20217 Typing fix.
ICU-20217 Fixing typing.
ICU-20217 Improve fuzzer targets, move truncated fuzzer data into a
new buffer to prevent that buffer underflow goes undetected.
ICU-20217 Fixes buffer management of fuzzer-provided data.
ICU-20217 Factor in PR review comments.
2019-02-20 15:22:26 -08: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
Shane F. Carr
7791a58a83
ICU-10923 Adding wildcard resource matching.
2019-02-20 12:20:38 -06:00
Shane F. Carr
8db0321f54
ICU-10923 Adding file replacement mechanism to buildtool.
2019-02-20 12:20:25 -06:00
Fredrik Roubert
168c97f32a
ICU-20431 Both und_XX and _XX should fall back to the default locale
2019-02-20 13:06:51 +01: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
Shane Carr
68168a6067
ICU-13731 Adding test for default currency symbol.
2019-02-18 21:29:51 -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
Frank Tang
94ff6b1024
ICU-20410 Fix grandfathered tag w/ extensions
2019-02-15 16:51:31 -08:00
Shane Carr
0ef0629736
ICU-20108 Adding new parseLenients from CLDR 34 to ICU.
2019-02-15 16:51:17 -08:00
Shane Carr
35b182767f
ICU-20409 Additional refactoring of FormattedValue implementations.
...
- Migrates Number[Range] formatter to helper macros.
- Adds additional macros.
- Syncs docstrings between subclasses.
2019-02-15 16:50:22 -08:00
Shane Carr
8c2de1401e
ICU-20144 Adding better documentation and behavior testing on NumberingSystem.
2019-02-15 15:12:29 -08:00
Shane Carr
8c196b6f89
ICU-20380 Adding error code to DecimalFormat::toNumberFormatter().
2019-02-15 14:37:12 -08:00
Frank Tang
736757aced
ICU-20407 hy-arevela/hy-arevmda can. into hy / hyw
2019-02-15 12:40:47 -08:00
Markus Scherer
ac4387a374
ICU-20203 Unicode 12 data 20190214
2019-02-15 11:37:34 -08:00
Nebojsa Ciric
a9d2196913
ICU-12584 Fix memory allocation for getFormats.
...
Also:
Add a test case for inner message, other small cleanup.
Style fixes, using better test methods
2019-02-14 18:39:49 -08:00
Peter Edberg
162aaf9aa5
ICU-20365 if roundingIncrement significance smaller than maxFrac, do not use it
2019-02-14 17:23:23 -08:00
Shane F. Carr
a0f02b12d0
ICU-20121 Adding span field for FormattedList.
2019-02-14 16:05:51 -08:00
Shane Carr
01a24ff78f
ICU-11725 Promoting tech-previews in DecimalFormat to @draft.
...
- Changes Java DecimalFormat boolean get* methods to is*.
- Makes the new draft methods non-virtual.
- Removes obsolete template class in header file.
- Adds proper U_HIDE tags in unum.h and decimfmt.h
2019-02-14 13:50:03 -08:00
Shane Carr
d243867c11
ICU-20138 Adding matchesField as draft and removing getConstraintType.
2019-02-14 13:45:49 -08:00
Markus Scherer
1afef30549
ICU-20187 drop support for long-obsolete locale ID variants
2019-02-14 12:27:42 -08:00
Frank Tang
6942013a38
ICU-20328 Implement LocaleBuilder
...
Design Doc: https://goo.gl/Qf12p3
2019-02-13 17:24:38 -08:00
Shane Carr
e2ad4f8113
ICU-20342 Adding FormattedDateInterval in C and C++.
...
- Adds first "span" field category
- Re-implements DateIntervalFormat#fallbackFormat to use FieldPositionHandler
- New temporary wiring in SimpleFormatter
2019-02-11 16:12:03 -08:00
Daniel Ju
f4f899a63b
ICU-13789 ICU-20387 ICU4C PerfTest does not build, Upgrade various *.vcxproj files
2019-02-11 14:22:58 -08:00
Shane Carr
249e03ccd6
ICU-13256 Implementing FormattedRelativeDateTime in C, C++, and Java.
...
- Adds additional logic to NumberStringBuilder.
- Extends logic of number::impl::Field type.
- Adds tests for RBNF support.
- Adds tests from ftang's original PR.
2019-02-11 11:35:51 -08:00
Shane F. Carr
c70a9db818
ICU-20332 Adding duration-person unit data and APIs to C and J.
...
- Rebuilds ICU4J data jars.
- Includes a workaround in data loading to be fixed with ICU-20400.
2019-02-08 16:55:20 -08:00
Andy Heninger
64f4dd64e2
ICU-12017 Improve line break around numbers.
2019-02-08 13:54:14 -08:00
Andy Heninger
1130b9c087
ICU-20385 Regex, fix pattern compile problem with look-behind patterns that cannot match.
2019-02-08 12:57:06 -08:00
Shane Carr
8a56b89b03
ICU-20360 Testing and fixing stack overflow in numparse.
2019-02-07 23:03:41 -08:00
Shane F. Carr
78ac6ca3dc
ICU-20121 Changing C API method name to ulistfmt_formatStringsToResult.
2019-02-07 22:52:49 -08:00
Shane F. Carr
37e589fb3a
ICU-20121 Initial UFormattedList implementation, C.
2019-02-07 22:52:49 -08:00
Shane F. Carr
5c1e3b8aaf
ICU-20121 Initial FormattedList implementation, C++.
2019-02-07 22:52:49 -08:00
Frank Tang
f46605a437
ICU-20320 Fix the missing digit singleton extension
...
Add space
add test cases for Java and fix Java code
2019-02-07 11:35:55 -08:00
Frank Tang
9453dcfc19
ICU-20321 Fix ultag_isUnicodeLocaleKey
...
Returns false when passingin alphanum digit.
Sync with UTS35
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier
address review feedback add unit tests.
Fix Java too
add test cases to c++
Fix format
change test case
2019-02-07 11:32:38 -08:00
Shane Carr
a184153a2c
ICU-20337 Adding value getters to C++ MeasureUnit API.
...
ICU-20337 Restoring comments in MeasureUnitTest.java
2019-02-06 21:00:34 -08:00
Shane Carr
96556c2d4c
ICU-10923 Fixing warning in testdata build file.
2019-02-06 18:59:31 -08:00
Markus Scherer
2982d6c233
ICU-13081 test self-move without clang warning
2019-02-06 18:11:00 -08:00
Markus Scherer
0f7c4c8ed9
ICU-13081 remove C++ moveFrom() functions: still draft, but obsolete since we require C++11 which has std::move()
2019-02-06 13:36:53 -08:00
Peter Edberg
e8bcc60d6f
ICU-20347 In ICU4J, parsing emoty string should set PARSE_ERROR as before; check ICU4J behavior
2019-02-06 00:22:47 -08:00
Shane F. Carr
1624176dd9
ICU-20138 Adding FormattedValue helper implementation for FPI handlers.
...
- Changes FieldPositionIterator (FPI) to use tetrads in the UVector32.
2019-02-05 22:54:13 -08:00
Shane F. Carr
9bb910b8d0
ICU-20138 Implementing ufmtval_nextPosition and additional test infra.
...
- Adds test infra for multi-category formatted values.
- Adds helper method ConstrainedFieldPosition#matchesField, currently internal.
2019-02-05 22:54:13 -08:00
Peter Edberg
67461d80dc
ICU-20253 ICU4C RelativeDateTimeFormatter should fall back to OTHER case, as in ICU4J
2019-02-05 19:19:28 -08:00
Peter Edberg
ba4dc89169
ICU-20374 need unum_close in new TestParseCases
2019-02-05 14:42:21 -08:00
Peter Edberg
ff04436fe5
ICU-20374 Formattable::internalGetCharString should produce int string for types kLong or kInt64
2019-02-05 14:42:21 -08:00
Jeff Genovy
654278627a
ICU-20388 ICU4C: intltest fails with a "Debug Assertion Break" on MSVC when compiled for Debug.
...
Need to use free() with malloc() instead of uprv_free().
2019-02-05 14:04:10 -08:00
Jeff Genovy
00596d3027
ICU-13847 ICU-20381 Improve handling of errors (Out-of-Memory) in DecimalFormat class.
...
- Use move assignment for fields->formatter (LocalizedNumberFormatter) instead of creating new heap object every time.
- Add test cases for DecimalFormat object in invalid state.
- Protect against self-assignment in assignment operator.
- Fix segmentation fault when attempting to compare valid and invalid DecimalFormat objects.
- Changes based on review feedback from Shane.
- Fix minor typos in the public header file.
2019-02-05 14:00:40 -08:00