Commit graph

51 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
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
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
Markus Scherer
f02b496494 ICU-20783 C++ covariant return types: clone(), freeze() & friends 2019-08-22 16:24:41 -07:00
Markus Scherer
4c2fad3e36 ICU-12410 class Edits, class CaseMap with new low-level functions that work with Edits, simpler case properties code, some cleanup
X-SVN-Rev: 39684
2017-02-17 21:03:35 +00:00
Markus Scherer
0e4c0199ee ICU-12410 remove unused UCaseProps pointer from ucase_... functions
X-SVN-Rev: 39656
2017-02-09 21:50:20 +00:00
Markus Scherer
aa27217a84 ICU-12410 remove locCache behavior from ucase_getCaseLocale() and functions that call it, try to make it a little faster for common locale IDs
X-SVN-Rev: 39586
2017-01-20 06:27:47 +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
e31ce99b84 ICU-8575 option for not including utf headers by default; replace uses of deprecated utf_old.h macros
X-SVN-Rev: 30430
2011-07-27 05:53:56 +00:00
George Rhoten
2cff43895e ICU-5410 Remove unused/untestable code
X-SVN-Rev: 21679
2007-06-08 22:31:20 +00:00
Markus Scherer
3c0fa99e19 ICU-4143 partial fix for incremental case mapping in transliterators, end with correct offset
X-SVN-Rev: 17239
2005-02-21 22:50:27 +00:00
George Rhoten
f6860c5a75 ICU-3004 Transliterators can't do locale sensitive casing due to how the transliterator registry is used.
Remove any code that attempts to do locale sensitive casing.
Bug #4324 has been filed to properly add this feature.

X-SVN-Rev: 17024
2004-12-28 20:06:43 +00:00
George Rhoten
039e695ba1 ICU-3905 Fix some compiler warnings.
X-SVN-Rev: 16647
2004-10-27 22:55:57 +00:00
George Rhoten
ac294b5379 ICU-3969 Fix new case mapping code so that it will work on z/OS
X-SVN-Rev: 16469
2004-10-13 06:08:52 +00:00
Markus Scherer
29038e96b7 ICU-3969 use new case mapping code in ucase.c, with ucase.icu data
X-SVN-Rev: 16257
2004-09-06 15:57:11 +00:00
George Rhoten
7d28c7c5c7 ICU-3862 Make sure that data isn't exported when it is only needed internally.
A linker warning on AIX brought this issue to my attention.

X-SVN-Rev: 16058
2004-07-19 21:33:03 +00:00
George Rhoten
8a382db738 ICU-3222 Fix some compiler warnings according to Andy
X-SVN-Rev: 14025
2003-12-06 00:52:51 +00:00
George Rhoten
8e7a34ec49 ICU-3221 Fix AIX linker warnings, and reduce amount of private static class data being exported (some mainframes have minor issues with that)
X-SVN-Rev: 13337
2003-10-07 15:49:47 +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
Alan Liu
b45637d193 ICU-2787 revise double-check code to improve thread safety
X-SVN-Rev: 11790
2003-05-02 23:14:53 +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
ad040435c4 ICU-1962 Use uprv_malloc/uprv_free instead of new/delete.
X-SVN-Rev: 9197
2002-07-16 02:47:19 +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
Markus Scherer
11948b52df ICU-1962 change UObject: RTTI pure virtual, remove other boilerplate for now
X-SVN-Rev: 8977
2002-06-29 00:04:16 +00:00
George Rhoten
df4c364592 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8400
2002-04-05 18:35:58 +00:00
Alan Liu
08f6362c7b ICU-1036 use new internal case mapping functions
X-SVN-Rev: 8126
2002-03-19 21:54:13 +00:00
Markus Scherer
e5810db15c ICU-1036 use new internal per-code point case mapping functions - still need to pass in UCharIterator
X-SVN-Rev: 7718
2002-02-20 02:10:29 +00:00
George Rhoten
24fb5c7668 ICU-1629 Simplify UnicodeString creation
X-SVN-Rev: 7471
2002-01-22 00:27:49 +00:00
Alan Liu
e8edb9740e ICU-1592 add Sk to SKIP set
X-SVN-Rev: 7339
2001-12-11 00:02:07 +00:00
George Rhoten
37279d71cc ICU-1211 Don't go beyond the end of the array (fix for Solaris, Windows, HP/UX)
X-SVN-Rev: 7304
2001-12-04 02:16:58 +00:00
Alan Liu
8824cc7909 ICU-1575 more mutex and string initialization cleanup
X-SVN-Rev: 7301
2001-12-04 00:08:31 +00:00
Alan Liu
514ea083f8 ICU-1501 fix to handle surrogates
X-SVN-Rev: 7258
2001-12-01 22:37:34 +00:00
Helena Chapman
6f5df69456 ICU-1501 Updated Upper/Lower/TitlecaseTransliterator and checked in new casing tests for surrogates from Java.
X-SVN-Rev: 7235
2001-11-30 23:53:55 +00:00
Helena Chapman
cd5de5761f ICU-1501 Ported back the Upper/Lower/TitlecaseTransliterator changes from Java.
X-SVN-Rev: 7192
2001-11-30 00:57:29 +00:00
Alan Liu
16c55a1fc4 ICU-1533 incorporate Mark's review comments
X-SVN-Rev: 7059
2001-11-21 21:23:48 +00:00
Helena Chapman
915a88d738 ICU-1533 Moved new Transliterator subclasses here to make them private.
X-SVN-Rev: 6964
2001-11-16 23:51:15 +00:00
George Rhoten
bca964bf3e ICU-770 Fix for AIX. Can't delete const data.
X-SVN-Rev: 6883
2001-11-14 17:23:01 +00:00
Alan Liu
0d924e09c2 ICU-770 fix memory leaks
X-SVN-Rev: 6855
2001-11-13 23:47:11 +00:00
Alan Liu
58f515dd78 ICU-1135 rewrite Any-Title to be smarter about accents
X-SVN-Rev: 6545
2001-11-01 04:37:27 +00:00
George Rhoten
efdb5a1f89 ICU-1099 Make some data a bit more const
X-SVN-Rev: 6203
2001-10-11 23:54:55 +00:00
Helena Chapman
d816eefc57 ICU-1264 added namspace support where possible.
X-SVN-Rev: 6124
2001-10-08 23:26:58 +00:00
Alan Liu
2e0818a9fc ICU-1053 move filter logic into Transliterator.filteredTransliterate
X-SVN-Rev: 5258
2001-07-17 23:36:41 +00:00
Alan Liu
be55a412be ICU-965 in Any-Title make can't -> Can't, not Can'T
X-SVN-Rev: 5144
2001-06-29 21:19:49 +00:00