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
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
f8d8500f7c
ICU-20121 Fixing docs tags in FormattedList.
2019-02-14 13:48:19 -08:00
Shane Carr
d243867c11
ICU-20138 Adding matchesField as draft and removing getConstraintType.
2019-02-14 13:45:49 -08:00
Jeff Genovy
1f17beb8eb
ICU-20100 Change the name of the TimeZone::getDisplayName daylight parameter.
...
The TimeZone::getDisplayName "daylight" parameter conflicts with an existing macro in the CRT "time.h" header.
2019-02-13 10:55:43 -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
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
Shane F. Carr
30396f4dd0
ICU-20378 Changing APIs for UFieldCategory to int32_t.
2019-02-08 16:45:55 -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
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
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
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
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
c0a64b5ea1
ICU-20183 Adding CurrencyUnit StringPiece constructor.
...
- Adds function uprv_memchr.
2019-01-17 15:41:56 -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
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
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
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
Shane Carr
ba21ff79c4
ICU-13701 Syncs C and J increment rounding. Checks for nickel sooner.
2018-11-08 17:13:17 -07:00
Jeff Genovy
5a34bfb151
ICU-20209 Fix build failures on Windows with std::atomic not in enclosing namespace std
...
Also: Change to use the ICU namespace macro instead, and skip doxygen as well.
2018-10-29 15:07:05 -07:00
Ken Brown
31b89b5484
ICU-20214 Fix namespace error on Cygwin
2018-10-17 19:31:08 -07:00
Jeff Genovy
ba001f4616
ICU-20196 Fix MSVC/clang compiler warning C4251, export explicit template, required for building DLLs on Windows. Also fix a few other warnings as well.
2018-10-05 13:21:00 -07:00
pedberg-icu
bcd0a4165c
ICU-20119 Update ICU4C #ifndef U_HIDE_XXX guard conditionals (PR #183 )
...
ICU-20119 Update ICU4C #ifndef U_HIDE_XXX guard conditionals (PR #183 )
2018-09-30 21:23:42 -07:00
Andy Heninger
19a29f956e
ICU-20119 ICU4C 63 API promotion & change report ( #161 )
...
* ICU-20119 ICU4C 63 API promotion, work in progress.
* ICU-20119 ICU4C 63 API promotion, work in progress.
* ICU-20119 ICU 63 API promotion & change report
* ICU-20119 ICU4C 63 API change report, new draft, still work in progress.
* ICU-20119 ICU4C 63 API change report, another new draft, still work in progress.
* ICU-20119 ICU4C 63 API change report, another new draft.
* ICU-20119 ICU4C 63 API change report, after @preview revert. Hopefully the final rev.
* ICU-20119 ICU4C 63 API change report, clean up a few minor html errors.
2018-09-28 09:36:25 -07:00
Steven R. Loomis
53986cc57d
ICU-13685 Revert c: add @preview (retry) ( #172 )
...
This reverts commit 25f1589466c8b74ce36d762d4e9f3a72b3007eaf from #8
2018-09-27 14:27:42 -07:00
pedberg-icu
4a139a3f91
ICU-20119 Merge pull request #162 from pedberg-icu/cldr34a-integration
...
ICU-20119 Integrate CLDR release-34-alpha2, adjust code & test, update MeasureUnit
2018-09-27 14:27:41 -07:00
Shane F. Carr
4d09e9d62b
ICU-11276 Using atomics for thread safety in NumberRangeFormatter. ( #130 )
...
See discussions on pull request.
2018-09-27 14:27:41 -07:00
Peter Edberg
0185883ba5
ICU-20119 63rc BRS, merge current unicode-icu master (Sep 21) into cldr34a-integration branch
2018-09-27 14:27:41 -07:00
Peter Edberg
54a35e43ee
ICU-20119 63rc BRS, cldr 34-alpha2 part 2: 10 locales, MeasUnit updates, icu4j tests with serialization fails
2018-09-27 14:27:41 -07:00
Shane F. Carr
ffca080b93
ICU-20154 Renaming UGroupingStrategy to UNumberGroupingStrategy. ( #142 )
2018-09-27 14:27:41 -07:00
Shane F. Carr
9052b89018
ICU-13833 Fixing doxygen warnings in numberformatter.h and other files. ( #140 )
2018-09-27 14:27:41 -07:00
Mihai Nita
531bc76ed5
ICU-20142 Document the skeleton for MessageFormat number arguments ( #121 )
2018-09-27 14:27:41 -07:00
Markus Scherer
a075ac9cf8
ICU-13832 Transliterator: move rule syntax docs from internal class to public ( #150 )
2018-09-27 14:27:41 -07:00
Shane Carr
cab92db338
ICU-20050 Fixing memory leaks in move and copy assignment in Number*Formatter.
2018-09-27 14:27:40 -07:00
Jeff Genovy
4a8b474e77
ICU-12973 Enable UWP version of ICU to use Environment variable ICU_ENABLE_TENTATIVE_ERA for testing placeholder names ( #124 )
...
- Enable UWP version of ICU to use Environment variable ICU_ENABLE_TENTATIVE_ERA for testing placeholder era names.
- Use LocalArray<int32_t> for the Era Start Dates to simply memory management, so that goto can be removed.
- Also fix some minor typos in header file.
2018-09-27 14:27:40 -07:00
Shane Carr
d4e8ed7ed0
ICU-11276 Replying to Andy review feedback.
2018-09-27 14:27:40 -07:00
Shane Carr
55974b2fb6
ICU-11276 Adding Java NumberRangeFormatter implementation.
2018-09-27 14:27:40 -07:00
Shane Carr
dfd13867b2
ICU-11276 Adding test cases and more API coverage.
2018-09-27 14:27:40 -07:00