Fredrik Roubert
0178a07a26
ICU-22793 Clang-Tidy: google-readability-casting
...
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/google/readability-casting.html
2024-07-04 22:32:12 +02:00
Fredrik Roubert
6ad78a08c7
ICU-22621 Clang-Tidy: readability-redundant-control-flow
...
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/readability/redundant-control-flow.html
2024-03-19 15:55:56 +01:00
Frank Tang
8f80c62aa2
ICU-22638 Fix cast overflow issue
2024-01-25 12:11:56 -08:00
Frank Tang
3eb8923b97
ICU-22638 Use parseNumber to fix buffer-overflow
...
See #2795
2024-01-19 01:43:35 -08:00
Frank Tang
509405c9f2
ICU-22626 Fix leakage when 2 '=' in PluralRules
...
See #2782
2024-01-12 09:36:29 -08:00
Fredrik Roubert
2e0d30cfcf
ICU-21833 Replace NULL with nullptr in all C++ code.
2023-02-03 20:20:38 +01:00
Fredrik Roubert
030fa1a479
ICU-21148 Consistently use standard lowercase true/false everywhere.
...
This is the normal standard way in C, C++ as well as Java and there's no
longer any reason for ICU to be different. The various internal macros
providing custom boolean constants can all be deleted and code as well
as documentation can be updated to use lowercase true/false everywhere.
2022-09-07 20:56:33 +02:00
gnrunge
baa104b50b
ICU-21957 Clean-up of TODO and logKnownIssue entries (BRS task):
...
Removed logKnownIssue(ICU-21322) in plurults.cpp, ICU-21322 is done and the
entire if-statement was commented out.
Replaced CLDR-13700 with CLDR-13701 in several TODOs. 13700 is a duplicate of
13701.
Likewise for CLDR-14502 --> CLDR-14582.
PR#1999 from ICU 71 release missed some of the cases.
2022-09-02 09:54:57 -07:00
Elango Cheran
3ef03a4087
ICU-21947 Replace FixedDecimal with DecimalQuantity in PluralRule sample parsing
...
See #2007
2022-08-11 15:10:37 -07:00
Jeff Genovy
fcca13200f
ICU-21900 Fix issues found while running samples.
2022-02-23 14:58:07 -08:00
Elango Cheran
2660845480
ICU-21714 Use FixedDecimal instead of double for plural samples in tests
...
See #1875
2021-09-22 18:28:15 -07:00
Jeff Genovy
b10a467212
ICU-21579 Fix compiler warnings with MSVC.
2021-08-31 14:03:21 -07:00
Erik Torres
2b895a71e1
ICU-21555 Fix typos in repo from letter d to i
...
Fix typos in repo from letter d to i
2021-08-30 16:45:43 -05:00
Peter Edberg
49dda34fb1
ICU-21581 integrate CLDR 40a0 to ICU trunk
2021-08-18 23:59:19 -07:00
Erik Torres
3f043c7693
ICU-21555 Fix typos from G to L
...
See #1737
2021-06-07 16:09:09 -07:00
Andy Heninger
7d75a85501
ICU-21579 Compiler warning fixes.
...
Fix typos in hard-coded test data, uncovered by a compiler upgrade to
clang version 12.0.0-1ubuntu1
2021-05-21 12:29:09 -07:00
Elango Cheran
c263b5b370
ICU-21519 Add PluralOperand 'c' as alias to 'e', parse FixedDecimal strings
2021-03-09 16:55:33 -08:00
Erik Torres Aguilar
bd3b202741
ICU-21018 Fix typos across repo that start with letter A
...
See #1506
2021-01-06 15:15:35 -08:00
Elango Cheran
6700602974
ICU-21270 Support exponent in FixedDecimal and samples in C++
2020-10-02 09:21:29 -07:00
Peter Edberg
43aa7ddda2
ICU-21249 integrate CLDR release-38-beta to ICU trunk
2020-09-25 09:33:13 -07:00
Frank Tang
cddb569261
ICU-21297 Fix crash when ICU runs with stubdata only
...
See #1361
2020-09-24 17:14:04 -07:00
Shane F. Carr
6b3a7a64ab
ICU-21190 Adding PluralRules select for number ranges
...
See #1309
2020-09-22 15:49:30 -05:00
Elango Cheran
cb7f197821
ICU-21254 Add plural rule parsing for exponent operand in C++
2020-09-03 09:17:15 -07:00
Peter Edberg
f46b567ba3
ICU-20701 Add more PluralRules tests for locales with keywords
2019-08-30 10:06:21 -07:00
Jeff Genovy
e72290c45e
ICU-13764 Add separate CI build that treats warnings as errors with clang.
...
This adds a separate CI build that enables -Werror for clang.
This also fixes all of the -Wall -Wextra warnings in the tests, and all the
-Wextra-semi warnings as well.
2019-07-30 22:10:02 -07:00
Markus Scherer
4f20fea3ba
ICU-20280 PluralRules::forLocale() ignore locale extensions
2019-02-21 11:32:05 -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
33d7868d45
ICU-20351 Warning cleanup changes for ICU4C under MSVC.
2019-01-16 16:43:02 -08:00
Shane Carr
1fe1497d88
ICU-13661 Renaming logIfFailureAndReset to errIfFailureAndReset.
...
X-SVN-Rev: 41362
2018-05-08 23:55:47 +00:00
Shane Carr
a8f2471248
ICU-8610 Adding tests for number skeletons in C++. Adding error code handling to the setToDecNumber setter on DecimalQuantity. Refactoring char-to-uchar conversion in skeleton implementation code.
...
X-SVN-Rev: 41152
2018-03-24 05:46:28 +00:00
Shane Carr
94427dc200
ICU-13574 Replacing DigitList with DecimalQuantity through most of the code base.
...
X-SVN-Rev: 41064
2018-03-03 10:53:01 +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
Markus Scherer
9edbbecb24
ICU-11339 add & use LocalPointer(p, errorCode) and adoptInsteadAndCheckErrorCode(p, errorCode)
...
X-SVN-Rev: 36757
2014-11-20 00:27:17 +00:00
Steven R. Loomis
7594250cc5
ICU-7653 changed uprv_lengthof to UPRV_LENGTHOF, also added apidoc
...
X-SVN-Rev: 36275
2014-08-28 22:13:45 +00:00
Tom Zhang
ee1f29b584
ICU-7653 move LENGTHOF(array) to common, internal header
...
X-SVN-Rev: 36265
2014-08-28 14:55:34 +00:00
Andy Heninger
301814f85f
ICU-10624 Compiler warning cleanups, continued.
...
X-SVN-Rev: 34855
2014-01-10 08:35:00 +00:00
Michael Ow
4835d5705a
ICU-10398 Ensure cintltst and intltest passes without data
...
X-SVN-Rev: 34398
2013-09-19 02:32:57 +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
b8f66e90c3
ICU-10222 (C) Update some plural test cases, add better error logging
...
X-SVN-Rev: 33933
2013-07-18 01:31:13 +00:00
Michael Ow
d62e581e2c
ICU-9397 Update some tests in intltest and cintltst to pass without data in 50.0.1
...
X-SVN-Rev: 31982
2012-06-22 16:48:30 +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
Steven R. Loomis
737d129645
ICU-8784 commit iSeries porting fixes into trunk
...
X-SVN-Rev: 30667
2011-09-15 19:34:17 +00:00
Michael Ow
310c23c24e
ICU-8578 Apply patch to fix some compiler warnings and related issues
...
X-SVN-Rev: 30205
2011-06-10 18:56:08 +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
Markus Scherer
e25457f07a
ICU-8499 change PluralRules::NO_UNIQUE_VALUE into #define UPLRULES_NO_UNIQUE_VALUE
...
X-SVN-Rev: 29911
2011-04-27 20:04:06 +00:00