Commit graph

41 commits

Author SHA1 Message Date
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
ce052f52c2 ICU-22621 Clang-Tidy: readability-delete-null-pointer
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/readability/delete-null-pointer.html
2024-03-18 17:14:23 +01:00
Frank Tang
638acd0c38 ICU-21374 Add a CFI build bot for ICU4C
Add the github action bot to build with cfi
Also fix all the known issues which require the change from C style cast to
static_cast inside the i18n and common directory while we are sure about
the object. and use
C++ style dynamic_cast for base-to-derive cast in other code inside i18n
and common and in test code or tool.
Change to use const_cast for casting between const / non-const
2023-02-06 15:47:14 -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
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
Fredrik Roubert
7f4b8d106b ICU-12012 Replace all sizeof p / sizeof *p with UPRV_LENGTHOF().
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/285520043 .

X-SVN-Rev: 38337
2016-02-23 10:40:09 +00:00
Steven R. Loomis
7e6c572256 ICU-10774 fix a knownissue: Collator::getAvailableLocales calculation.
Also, replace uhash_nextElement's parameter "-1" with UHASH_FIRST for clarity.
Also, improve service registration debugging code

X-SVN-Rev: 36836
2014-12-09 23:54:56 +00:00
Markus Scherer
9f22b7cb11 ICU-9679 fix Clang 3.1 compiler warnings, all in test code, mostly adding integers to string literals
X-SVN-Rev: 32778
2012-11-09 00:09:28 +00:00
Markus Scherer
9f7d74001c ICU-8605 document & test ICU4C dependencies, remove cycles, reduce some deps; merged from branches/markus/depstest -r 30155:30193
X-SVN-Rev: 30194
2011-06-03 05:23:57 +00:00
Michael Ow
0763686c6c ICU-7370 Log data errors to ensure that intltest and cintltst passes without data.
X-SVN-Rev: 27649
2010-02-24 16:17:03 +00:00
George Rhoten
202e0f66a7 ICU-5445 Fix some compiler warnings
X-SVN-Rev: 20809
2006-12-19 06:06:30 +00:00
George Rhoten
dbdf6e8019 ICU-5333 Whitespace changes.
X-SVN-Rev: 20119
2006-08-20 05:08:35 +00:00
Eric Mader
976433d4a4 ICU-4465 Change TestExhaustive to try the character with and without u+0345.
X-SVN-Rev: 17442
2005-04-01 01:14:25 +00:00
Andy Heninger
665e553354 ICU-4161 remove tabs from source code
X-SVN-Rev: 16829
2004-11-11 23:34:58 +00:00
George Rhoten
ecd01239d5 ICU-3946 Fix some tests to use U_EXPORT2 and U_CALLCONV more often
X-SVN-Rev: 16021
2004-07-16 15:44:52 +00:00
Eric Mader
004268d484 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15414
2004-05-19 21:36:51 +00:00
George Rhoten
919d6d3f2a ICU-3389 Don't create a .lib by not exporting some symbols
X-SVN-Rev: 14792
2004-03-29 21:58:57 +00:00
George Rhoten
438ae401a3 ICU-3326 Don't include some unneeded headers.
X-SVN-Rev: 13965
2003-12-03 06:58:28 +00:00
Vladimir Weinstein
4df42a86bb ICU-2840 tests shouldn't crash if there is no data
X-SVN-Rev: 12340
2003-06-06 04:54:34 +00:00
Alan Liu
de95737116 ICU-2959 update copyright dates to include 2003
X-SVN-Rev: 12253
2003-06-03 20:58:22 +00:00
Markus Scherer
9a4e0e4af2 ICU-2860 add UCONFIG_NO_NORMALIZATION and UCONFIG_NO_IDNA
X-SVN-Rev: 11808
2003-05-06 01:22:23 +00:00
Ram Viswanadha
c64fb14d63 ICU-2118 improve API coverage
X-SVN-Rev: 10394
2002-11-27 02:40:34 +00:00
Ram Viswanadha
6996158d17 ICU-2118 improve API coverage
X-SVN-Rev: 10393
2002-11-27 02:11:42 +00:00
Markus Scherer
0eb9c506ec ICU-2248 modularize ICU
X-SVN-Rev: 9910
2002-09-21 00:43:14 +00:00
Vladimir Weinstein
0fb205837f ICU-2209 make canonical iterator public
X-SVN-Rev: 9866
2002-09-17 05:06:04 +00:00
George Rhoten
d1e31f5cc3 ICU-2085 Don't use deprecated or unused includes
X-SVN-Rev: 9761
2002-08-21 21:33:16 +00:00
George Rhoten
24ad0f1792 ICU-2039 Add a newline at the end of the file.
X-SVN-Rev: 9502
2002-08-01 02:03:12 +00:00
Vladimir Weinstein
5f4de5095f ICU-2039 increase code coverage for canonical iterator
X-SVN-Rev: 9471
2002-07-31 20:41:40 +00:00
George Rhoten
b4d7c5dd4b ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8379
2002-04-04 20:06:49 +00:00
George Rhoten
c8d971c599 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8304
2002-03-29 19:56:29 +00:00
George Rhoten
a1f5332dab ICU-1682 (weiv) fixed a leak in canonical iterator test
X-SVN-Rev: 8182
2002-03-21 19:38:00 +00:00
George Rhoten
9783018bb2 ICU-1682 Fix for AIX, remove tabs, remove CVS tags.
X-SVN-Rev: 8176
2002-03-21 17:59:20 +00:00
George Rhoten
71f955b6cc ICU-1556 Fixes for 64-bit AIX.
X-SVN-Rev: 8170
2002-03-21 01:26:40 +00:00
George Rhoten
63d65ac286 ICU-1682 Fix for AIX, remove tabs, remove CVS tags.
X-SVN-Rev: 8166
2002-03-20 23:47:53 +00:00
Vladimir Weinstein
6da03430ed ICU-1682 faster exhaustive test for debug runs
X-SVN-Rev: 8147
2002-03-20 05:14:00 +00:00
Vladimir Weinstein
bb169f4e74 ICU-1682 fixed 'permute' invokation to satisfy pedantic gcc
X-SVN-Rev: 8112
2002-03-19 07:52:44 +00:00
Vladimir Weinstein
610dcd1971 ICU-1682 added a real test for canonical iterator
X-SVN-Rev: 8110
2002-03-19 07:18:07 +00:00