Fredrik Roubert
1384d9f395
ICU-22532 Remove redundant 'void' from empty C++ parameter lists.
...
https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/redundant-void-arg.html
2023-12-19 09:27:18 +09:00
Fredrik Roubert
2e0d30cfcf
ICU-21833 Replace NULL with nullptr in all C++ code.
2023-02-03 20:20:38 +01:00
Elango Cheran
3ef03a4087
ICU-21947 Replace FixedDecimal with DecimalQuantity in PluralRule sample parsing
...
See #2007
2022-08-11 15:10:37 -07:00
Cyndy Ishida
e2ae4f5324
ICU-22054 Remove declarations for unimplemented APIs
...
This patch also includes marking `=delete` on specific `normal` member functions, as opposed to compiler generated functions,
based on the description of such functions' surrounding comments.
2022-07-01 08:57:10 -07:00
Cyndy Ishida
0dcb1cb065
ICU-22035 Remove instances of pre c++11 default constructor prevention pattern
2022-06-08 16:28:02 -07:00
Markus Scherer
a0baa69277
ICU-21580 fix links to CLDR Language Plural Rules
2021-10-20 11:45:46 -07:00
Peter Varga
1986dcd0d8
ICU-21734 Add missing overrides
2021-09-07 17:42:14 -07:00
Fredrik Roubert
633438f8da
ICU-20973 Change all equality operator return types from UBool to bool.
2021-08-17 00:35:00 +02:00
Rich Gillam
0e4b768289
ICU-21581 Promoted @draft 68 APIs to stable
2021-07-19 14:59:57 -07:00
Elango Cheran
6700602974
ICU-21270 Support exponent in FixedDecimal and samples in C++
2020-10-02 09:21:29 -07:00
Shane F. Carr
6b3a7a64ab
ICU-21190 Adding PluralRules select for number ranges
...
See #1309
2020-09-22 15:49:30 -05:00
Markus Scherer
c3fe7e09d8
ICU-21267 stop defining & using FALSE & TRUE macros in public headers
...
See #1282
2020-09-09 15:13:56 -07:00
Peter Edberg
dcfe6c4ada
ICU-20979 BRS 67rc, ICU4C API promotion
2020-04-01 16:28:42 -07:00
Jeff Genovy
dc4dfd292b
ICU-20836 ICU4C header file plurrule.h needs to include utypes.h before checking U_SHOW_CPLUSPLUS_API.
2019-09-26 18:25:19 -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
Peter Edberg
74ff0bf1a4
ICU-20438 64rc BRS, update U_HIDE_ conditionals
2019-02-26 16:32:24 -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
Jeff Genovy
8edc6ba107
ICU-20042 Improve OOM handling in PluralRules class. ( #20 )
...
- PluralRules class doesn't handle out-of-memory (OOM) errors in some code paths.
- The clone and assignment operator (operator=) methods of construction don't take an error code parameter, meaning that if an OOM error occurs during the constructor, it will not reported back to the caller, and the caller has no way to know that the object is in a half-constructed state.
- Using an internal status variable for these above cases.
- Changes to the various PluralRules helper classes to check for OOM as well.
- Using nullptr instead NULL.
- Using LocalPointer instead of raw new/delete in some cases.
- Need to set mRules to nullptr, otherwise we can end up with double deletes in the failure case. (Thanks to Andy for the review).
- Using default member initializers for class members to avoid dangling pointers. Also allows for using default constructors too.
2018-09-27 14:27:37 -07:00
Andy Heninger
35ce5296c1
ICU-13810 Doxygen warning cleanup.
2018-09-27 14:27:37 -07:00
Markus Scherer
d8f9a47637
ICU-13667 update/fix/improve dependencies; better layering formatting->numberparser->numberformatter->number_representation
...
X-SVN-Rev: 41461
2018-05-25 17:57:30 +00:00
Shane Carr
453788ddfd
ICU-13634 Temporarily deleting all old number formatting implementation code. Pieces will be restored as needed. ICU4C builds, including tests, but won't run. Changes in plurfmt.cpp and plurrule.cpp are not tested. numberformat2test.cpp is unlinked but not deleted.
...
X-SVN-Rev: 41098
2018-03-13 08:12:05 +00:00
Jeff Genovy
328dd95b9c
ICU-13177 Fix minor typos/spelling in comments.
...
X-SVN-Rev: 40596
2017-10-06 22:44:25 +00:00
Shane Carr
1f1a485c3c
ICU-13177 Adding IFixedDecimal interface to C++.
...
X-SVN-Rev: 40391
2017-09-13 07:49:26 +00:00
Peter Edberg
b3a53f130e
ICU-12763 For C++ API, say return is undefined in the case of an error
...
X-SVN-Rev: 39675
2017-02-15 21:15:58 +00:00
Peter Edberg
870b039296
ICU-12763 for C++ select(const Formattable&...), add UErrorCode param, return empty string if err
...
X-SVN-Rev: 39658
2017-02-09 23:40:59 +00:00
Peter Edberg
47e1aaaf14
ICU-12763 Add uplrules_selectWithFormat and PluralRules::select that take & use [U]NumberFormat
...
X-SVN-Rev: 39591
2017-01-21 01:03:32 +00:00
Andy Heninger
242e02c388
ICU-12764 icu4c utf-8 source files, update Copyright notices.
...
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Michael Ow
61607c2773
ICU-12564 Update copyright notice in trunk
...
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126
ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
...
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f
ICU-12564 Update copyright notice in ICU4C
...
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Michael Ow
6857dbc99e
ICU-11917 Add missing API tag
...
X-SVN-Rev: 38015
2015-09-23 20:58:51 +00:00
Travis Keep
2860cd48c4
ICU-11740 DecimalFormat refactor.
...
X-SVN-Rev: 37821
2015-08-25 23:31:01 +00:00
Andy Heninger
6ffe686192
ICU-10759 deprecate Plural Rules Functions w no implementation in ICU4C.
...
X-SVN-Rev: 37131
2015-03-04 20:21:41 +00:00
Travis Keep
e4f7eafc89
ICU-10461 Andy's review comments.
...
X-SVN-Rev: 35490
2014-03-17 18:07:34 +00:00
Travis Keep
53ababf5a7
ICU-10461 Make NumberFormat::createInstance() and PluralRules::forLocale() 10X faster than before for most common types. Provide internal createSharedInstance() for NumberFormat and SharedFormat for internal use that is 2 orders of magnitude faster than before.
...
X-SVN-Rev: 35114
2014-02-10 19:13:50 +00:00
Peter Edberg
3f51cb7d8d
ICU-10398 Update #ifndef U_HIDE_XXXXX_API (e.g. DRAFT) to match status tags (e.g. @draft)
...
X-SVN-Rev: 34448
2013-09-23 06:52:34 +00:00
Steven R. Loomis
37562f403e
ICU-10394 api promo 50->52 as per PMC
...
X-SVN-Rev: 34396
2013-09-19 00:44:08 +00:00
Andy Heninger
62cb5a9ca6
ICU-10273 Plural Rules, remove unimplemented getFunctionalEquivalent().
...
X-SVN-Rev: 34126
2013-08-29 18:07:13 +00:00
Andy Heninger
4dc67e0203
ICU-10273 New plural rule syntax. Changes merged from development branch. With this checkin, Plural rule data is back in synch between ICU4C, ICU4J and CLDR trunk.
...
X-SVN-Rev: 34103
2013-08-28 20:51:44 +00:00
Andy Heninger
f4e36c9c98
ICU-10253 Plural Rule, support for new syntax for fractional rules. Merge from development branch.
...
X-SVN-Rev: 33958
2013-07-22 23:57:17 +00:00
Peter Edberg
fbace77746
ICU-9721 Update "#ifndef U_HIDE_XXX_API" guards for API status
...
X-SVN-Rev: 33367
2013-03-05 01:38:48 +00:00
Markus Scherer
8d7428d1b3
ICU-9132 ordinal-plural formatting in C/C++
...
X-SVN-Rev: 31687
2012-04-07 04:27:27 +00:00
Peter Edberg
4b3835d9e9
ICU-9091 Promote to stable most ICU4C API that are draft 4.8 or earlier
...
X-SVN-Rev: 31446
2012-02-20 04:28:17 +00:00
Markus Scherer
e8aa203464
ICU-8571 API cannot be both @stable and @internal, keep @stable
...
X-SVN-Rev: 30455
2011-08-03 18:28:56 +00:00
Markus Scherer
4e30dc4c14
ICU-8571 remove udraft.h etc. & genheaders.pl, use #ifndef U_HIDE_DRAFT_API etc. instead
...
X-SVN-Rev: 30447
2011-08-01 02:20:46 +00:00
Steven R. Loomis
63dd5be23d
ICU-8525 doxygen warnings
...
X-SVN-Rev: 30029
2011-05-05 01:35:22 +00:00
Doug Felt
f51066e066
ICU-8448 update docs for list syntax
...
X-SVN-Rev: 30023
2011-05-04 17:07:24 +00:00
Markus Scherer
0765a860a0
ICU-8053 add link to the LDML spec, C.11 Language Plural Rules
...
X-SVN-Rev: 29928
2011-04-29 18:04:45 +00:00
Markus Scherer
bb9af46cfe
ICU-8432 test & document that PluralRules::getSamples() returns count<=destCapacity
...
X-SVN-Rev: 29924
2011-04-29 16:42:34 +00:00
Markus Scherer
6c49e812c0
ICU-8432 fix PluralRules memory management & a couple of minor issues
...
X-SVN-Rev: 29914
2011-04-28 13:35:56 +00:00