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
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
2de88f9d9c
ICU-21833 Replace UChar with char16_t in all C++ code.
2023-02-06 19:27:44 +01:00
Fredrik Roubert
2e0d30cfcf
ICU-21833 Replace NULL with nullptr in all C++ code.
2023-02-03 20:20:38 +01:00
Frank Tang
de0a28644b
ICU-22251 Move sprintf to snprintf.
...
See #2291
2023-01-25 23:23:29 -08:00
Fredrik Roubert
0a1cfa398c
ICU-20973 Use standard keywords true & false to initialize type bool.
...
Now when all equality operators return standard bool (commit 633438f
),
it no longer makes any sense to use the ICU4C constants TRUE & FALSE
or local variables of type UBool for their return value.
2021-08-26 18:53:10 +02:00
Fredrik Roubert
633438f8da
ICU-20973 Change all equality operator return types from UBool to bool.
2021-08-17 00:35:00 +02:00
Markus Scherer
f02b496494
ICU-20783 C++ covariant return types: clone(), freeze() & friends
2019-08-22 16:24:41 -07: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
Andy Heninger
3b379f4c28
ICU-7468 Use C++ "using" in Format class hierarchy, so inheritance of format() and parse() functions works normally, without unwanted function hiding.
...
X-SVN-Rev: 33457
2013-03-21 22:09:06 +00:00
Michael Ow
0ca13b73b0
ICU-9292 Merge BEAM warning fixes from branch into trunk
...
X-SVN-Rev: 31792
2012-05-03 05:50:26 +00:00
Markus Scherer
d743bb693e
ICU-8319 merge MessageFormat 2011q1 work into trunk, from icu/branches/markus/msg48 -r 29400:29882
...
X-SVN-Rev: 29886
2011-04-25 20:47:32 +00:00
Michael Ow
7abead0378
ICU-6412 Fix redefinition of INFINITY.
...
X-SVN-Rev: 25574
2009-03-13 03:11:47 +00:00
George Rhoten
5391e72e09
ICU-6153 Fix for Windows versus non-Windows differences.
...
X-SVN-Rev: 23285
2008-01-22 00:11:43 +00:00
George Rhoten
559e5f9f7c
ICU-6153 Fix for Windows versus non-Windows differences.
...
X-SVN-Rev: 23282
2008-01-21 22:52:48 +00:00
George Rhoten
e8e7c73d8a
ICU-6153 Prevent crash for large ChoiceFormat values by using the correct printf specification.
...
X-SVN-Rev: 23276
2008-01-21 17:27:53 +00:00
Michael Ow
7636e40123
ICU-6132 Check for memory allocation error in ChoiceFormat.
...
X-SVN-Rev: 23195
2008-01-09 20:36:55 +00:00
George Rhoten
786c654db5
ICU-5152 Remove broken uprv_dtostr function, and create a better ChoiceFormat::dtos function.
...
X-SVN-Rev: 19525
2006-04-08 09:48:13 +00:00
George Rhoten
9fe39e1c8c
ICU-3805 Break putil.h/utypes.h header file dependancy loop
...
X-SVN-Rev: 16529
2004-10-18 02:43:33 +00:00
George Rhoten
088b7ae383
ICU-4078 Remove some dependencies
...
X-SVN-Rev: 16428
2004-10-08 17:38:36 +00:00
George Rhoten
2a2c32a2f0
ICU-4078 Fix a Solaris compiler error that was due to the last change.
...
X-SVN-Rev: 16375
2004-09-30 21:35:30 +00:00
George Rhoten
8c9aab5002
ICU-4078 Further separate the default converter from the rest of the API
...
X-SVN-Rev: 16331
2004-09-15 23:44:48 +00:00
Eric Mader
abefef5844
ICU-3770 Updated copyright notices for ICU 3.0
...
X-SVN-Rev: 15411
2004-05-19 20:42:44 +00:00
Alan Liu
06c4bd41f3
ICU-3667 prefer UErrorCode& to UErrorCode* in C++ API
...
X-SVN-Rev: 14785
2004-03-27 04:49:02 +00:00
Alan Liu
00035cd85c
ICU-3399 move operator== class check into Format
...
X-SVN-Rev: 14507
2004-02-13 01:50:59 +00:00
Doug Felt
562a37641a
ICU-813 int64 formatting support
...
X-SVN-Rev: 13757
2003-11-19 04:42:44 +00:00
Doug Felt
e5a79dc60c
ICU-813 int64 formatting support
...
X-SVN-Rev: 13547
2003-10-31 22:47:25 +00:00
George Rhoten
492d57ac79
ICU-3221 Fix AIX linker warnings
...
X-SVN-Rev: 12997
2003-08-31 20:53:46 +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
41c2ebf526
ICU-2710 remove @obsolete ICU 2.6 and earlier code
...
X-SVN-Rev: 11748
2003-05-01 01:31:28 +00:00
Alan Liu
f5b0cca143
ICU-2119 fix bug in parsing
...
X-SVN-Rev: 11613
2003-04-21 22:46:36 +00:00
George Rhoten
6b0ec25200
ICU-2710 Remove obsolete code
...
X-SVN-Rev: 11041
2003-02-14 01:44:49 +00:00
Alan Liu
9d30c08f22
ICU-2370 fix format() docs regarding appending to result string; also misc other doc and parameter name fixes
...
X-SVN-Rev: 10364
2002-11-23 01:11:50 +00:00
Markus Scherer
3d38617bdc
ICU-2248 modularize icu, allow parts to not be built
...
X-SVN-Rev: 9900
2002-09-20 01:54:48 +00:00
George Rhoten
d7e0797b2c
ICU-2085 #ifdef out deprecated code
...
X-SVN-Rev: 9756
2002-08-21 19:12:24 +00:00
Markus Scherer
f1ba8a9d4f
ICU-1962 use uprv_malloc/free instead of new/delete for non-class types
...
X-SVN-Rev: 9204
2002-07-16 17:50:42 +00:00
George Rhoten
c85207afbd
ICU-1887 Try to fix the name mangling problems with the Intel compiler by including utypes.h before the system headers.
...
X-SVN-Rev: 9124
2002-07-12 21:42:24 +00:00
GCL Shanghai
2fab4a8cb7
ICU-1953 backout buffer overflow changes
...
X-SVN-Rev: 9070
2002-07-09 12:47:45 +00:00
GCL Shanghai
6348e12895
ICU-1953 test for buffer overflows
...
X-SVN-Rev: 9044
2002-07-06 10:58:51 +00:00
GCL Shanghai
b89c229c6e
ICU-1953 change comments style and check 0/NULL
...
X-SVN-Rev: 8993
2002-07-02 15:10:30 +00:00
GCL Shanghai
1e188eca35
ICU-1953 Test for NULL after each uprv_malloc() or new
...
X-SVN-Rev: 8980
2002-06-29 09:31:05 +00:00
George Rhoten
41ffc2ef36
ICU-1733 Integrate some of the easier (and non-redundent) changes from Lotus.
...
X-SVN-Rev: 7802
2002-02-28 01:42:40 +00:00
Ram Viswanadha
189e70e306
ICU-329 Clear the parseErr struct consistently by setting the offsets and line with -1
...
X-SVN-Rev: 6922
2001-11-15 21:13:37 +00:00
George Rhoten
854ddda7c0
ICU-900 Fixed some compiler warnings.
...
X-SVN-Rev: 6133
2001-10-09 21:30:02 +00:00
Helena Chapman
d816eefc57
ICU-1264 added namspace support where possible.
...
X-SVN-Rev: 6124
2001-10-08 23:26:58 +00:00
George Rhoten
4526828ee2
ICU-1099 Make more data const in the libraries
...
X-SVN-Rev: 5964
2001-09-28 19:13:03 +00:00
Markus Scherer
9fac14aa96
ICU-1200 no need any more to explicitly NUL-terminate after US::extract() to codepage
...
X-SVN-Rev: 5802
2001-09-18 23:53:27 +00:00