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
Shane F. Carr
30396f4dd0
ICU-20378 Changing APIs for UFieldCategory to int32_t.
2019-02-08 16:45:55 -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
026095ddc3
ICU-20138 Copy fErrorCode in FormattedValue subclass macro.
2019-02-07 23:03:56 -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
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
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
57d07d3ec3
ICU-20138 Macros for C and C++ FormattedValue subclass boilerplate.
...
- Includes macros for implementation only. Headers should be spelled out.
2019-02-05 22:54:13 -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
ff04436fe5
ICU-20374 Formattable::internalGetCharString should produce int string for types kLong or kInt64
2019-02-05 14:42:21 -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
Jeff Genovy
48776d132a
ICU-20393 ICU4C: Scale move assignment operator leaks the fArbitrary member (96 bytes)
2019-02-05 13:54:57 -08:00
Daniel Ju
ebd15cf8bd
ICU-20220 ICU4C: Use anonymous namespace instead of 'static' keyword in uspoof.cpp
2019-01-30 16:10:36 -08:00
Mihai Nita
108ea4af94
ICU-9622 Update documentation for MessageFormat and skeletons ( #361 )
2019-01-30 13:09:47 -08:00
Shane Carr
1f85e94068
ICU-13839 Adding FormattedNumber API to PluralRules.
...
- Makes new dependency class for PluralRules+FormattedNumber.
2019-01-28 11:46:00 -08:00
Shane Carr
db94f46377
ICU-13800 Adding clone() on [Un]LocalizedNumber[Range]Formatter.
...
- Returns a LocalPointer that can be converted to std::unique_ptr.
2019-01-25 15:29:21 -08:00
Jeff Genovy
5c8960e59e
ICU-20074 Revise UPRV_UNREACHABLE macro to always call abort().
...
Moved the macro from platform.h to uassert.h.
Removed any "unreachable" code that previously occurred after the UPRV_UNREACHABLE macro is used.
Changes based on review from Andy.
Co-authored-by: Daniel Ju <daju@microsoft.com>
2019-01-24 18:50:04 -08:00
Shane Carr
e10bdb96a7
ICU-20283 Updating docs of old FormattedNumber field position methods.
...
Most users can use the new method, but these methods may still be useful when needing to interact with the FieldPosition-based APIs.
2019-01-24 16:47:42 -08:00
Shane Carr
7507f5322f
ICU-13657 Adding NumberFormatter skeleton factory method with UParseError.
...
- Includes small fixes to StringSegment and to tests.
2019-01-24 16:33:00 -08:00
Shane Carr
c31fec6b14
ICU-13746 Removing number formatting APIs deprecated in ICU 62.
...
Includes both ICU4C and ICU4J.
2019-01-24 14:50:03 -08:00
Shane Carr
1f7d8ababe
ICU-20358 Clean up grouping resolution in DecimalFormat#toPattern().
2019-01-18 17:40:49 -08:00
Shane Carr
c0a64b5ea1
ICU-20183 Adding CurrencyUnit StringPiece constructor.
...
- Adds function uprv_memchr.
2019-01-17 15:41:56 -08:00
Shane F. Carr
ac359112a1
ICU-20348 Fixing DecimalFormat set affix currency behavior.
...
- Includes minor changes to tests.
2019-01-17 11:32:38 -08:00
Jeff Genovy
33d7868d45
ICU-20351 Warning cleanup changes for ICU4C under MSVC.
2019-01-16 16:43:02 -08:00
Jeff Genovy
b0a372ac9a
ICU-20353 Fix MSVC Warning/Error C4251 with CodePointMatcherWarehouse and MemoryPool.
2019-01-16 14:59:57 -08:00
Daniel Ju
7453181fff
ICU-20074 Define UPRV_UNREACHABLE macro for unreachable code
...
Replaced occurrences of U_ASSERT(FALSE) with new UPRV_UNREACHABLE macro.
2019-01-14 14:16:26 -08:00
Shane Carr
768b577e6a
ICU-20138 Adding FormattedValue APIs in C, C++, and Java.
...
- Wires up FormattedNumber[Range] in applicable languages.
- Adds new header files and tests, with minor cleanup to old tests.
- Adds code to guarantee terminating NUL in FormattedNumber[Range].
- Cleanup of API docs for inherited methods in FormattedNumber[Range].
2019-01-10 17:02:49 -06:00
Jeff Genovy
c3291233c4
ICU-20325 Fix warnings about unknown pragma when building with GCC in MSYS2 (Windows).
2019-01-10 14:31:47 -08:00
Andy Heninger
921ae1b71e
ICU-20227 Regex API docs - add references to URegexpFlag where flags are mentioned. Replace html with markdown.
2019-01-04 09:28:01 -08:00
Victor Chang
0a258170f9
ICU-20309 UCONFIG_NO_CONVERSION block should include the doxygen doc for uregex_openC
2018-12-18 16:31:56 -08:00
Mihai Nita
2666d18e54
ICU-9622 Adding support for date/time skeletons
2018-12-13 13:20:33 -08:00
Shane Carr
cd4644c4a0
ICU-20293 Adds common base class to implement C API validation methods.
2018-12-04 15:57:06 -08:00
Markus Scherer
ea7c030961
ICU-20203 update ICU to Unicode 12 beta
...
- data as of 2018-nov-26
- API constants for new blocks & scripts
- sync RBBIMonkeyTest.java test data with C++
2018-11-28 23:13:07 +01:00
Andy Heninger
47d455a725
ICU-20179 Remove platform-specific mutex and atomics implementations.
...
Remove all POSIX and Win32 specific mutex, atomic and threading implementations
in favor of C++11 std library functions.
Move the related (internal) ICU types and functions into the icu namespace.
2018-11-19 17:17:09 -08:00
Shane Carr
c0799c141b
ICU-20230 Implementing COMPACT field.
...
Adds some plumbing to allow MutablePatternModifier to set fields, and otherwise builds upon the infrastructure from the previous commit to add the MEASURE_UNIT field.
2018-11-19 16:21:36 -07:00
Fredrik Roubert
2d3901ae5d
ICU-20271 Use C++11 operator new = delete to disallow heap allocation.
2018-11-19 13:59:36 +01:00
Shane Carr
74bbf9e381
ICU-13267 Implementing MEASURE_UNIT field.
...
Adds plumbing to trim whitespace near the FormattedNumber API boundary.
That plumbing requires a change to dependencies.txt.
2018-11-15 21:37:32 -07:00
Jeff Genovy
7756ee0446
ICU-20239 Add VS2015 build line to the Azure CI builds.
2018-11-12 16:44:44 -08:00
Shane Carr
ba21ff79c4
ICU-13701 Syncs C and J increment rounding. Checks for nickel sooner.
2018-11-08 17:13:17 -07:00
Shane Carr
a1cc16ccd3
ICU-13701 Refactoring DecimalQuantity: removing lOptPos/rOptPos.
...
Combined ICU4C and ICU4J.
2018-11-08 02:43:31 -07:00
Jeff Genovy
9a5b7af83d
ICU-13180 Support skiping building the UWP projects with a command line MSBuild option.
2018-11-06 16:02:03 -08:00
Fredrik Roubert
9de0383cfa
ICU-20202 Replace CodePointMatcherWarehouse with MemoryPool.
...
The shared templated helper class MemoryPool can be used to replace the
local helper class CodePointMatcherWarehouse, reducing the amount of
specialized code needed.
2018-11-05 13:37:10 +01:00
Shane Carr
53d8c8f3d1
ICU-20246 Fixing another integer overflow in number parsing.
2018-10-31 13:37:09 -07:00
Fredrik Roubert
440d8b3be8
ICU-20202 Replace UVector with MemoryPool in CalendarDataSink.
...
CalendarDataSink doesn't use any of the additional functionality
provided by UVector, it just needs a simple way to keep track of
allocated objects to delete them after it's done using them.
2018-10-30 17:01:10 +01:00