Frank Yung-Fong Tang
8437d1d86b
ICU-22767 Fix GCC warning and turn warning to errors
...
See #3129
2024-10-02 13:35:03 -07:00
Fredrik Roubert
55c5895923
ICU-22793 Clang-Tidy: google-readability-casting
...
https://releases.llvm.org/19.1.0/tools/clang/tools/extra/docs/clang-tidy/checks/google/readability-casting.html
2024-09-19 18:59:13 +02:00
Fredrik Roubert
0bf8a95309
ICU-22793 Remove superfluous return value typecasts to UBool.
2024-09-19 17:11:38 +02:00
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
75ac80bd68
ICU-21580 change site.icu-project.org to icu.unicode.org etc
2021-10-21 15:54:42 -07:00
luz paz
73eca0a9c9
ICU-21580 Fix typos in icu4c/
...
Found via `codespell -q 3 -L ans,anumber,atleast,ba,bre,hace,nd,nin,ois,rsource,som,sur,tht -S icu4c/source/data/zone,icu4c/source/data/lang`
ICU-21580 Fix source (related) typos
ICU-21580 Revert extraneous auto-encoding
ICU-21580 Re-add previous reverted fix without auto-encoding
2021-07-19 13:22:38 -05:00
Andy Heninger
47d455a725
ICU-20179 Remove platform-specific mutex and atomics implementations.
...
Remove all POSIX and Win32 specific mutex, atomic and threading implementations
in favor of C++11 std library functions.
Move the related (internal) ICU types and functions into the icu namespace.
2018-11-19 17:17:09 -08:00
Daniel Ju
b13c951348
ICU-20043 ICU-13214 ICU-13764 MSVC W3 and W4 warning cleanup ( #53 )
...
Cleaned up all of the MSVC W3 warnings and most of the W4 warnings in the common and i18n projects.
2018-09-27 14:27:38 -07:00
Markus Scherer
0dc85d2408
ICU-13560 make some toUnicode converter check toULength not toUnicodeStatus for continuing after partial sequences; ucnv.cpp framework code only resets toULength after an error
...
X-SVN-Rev: 40793
2018-01-23 21:32:36 +00:00
Markus Scherer
fa2ddc86c7
ICU-13311 change illegal-UTF-8 handling in converter code
...
X-SVN-Rev: 40455
2017-09-23 06:34:53 +00:00
William Zhao
d847a21238
ICU-13275 Merge warning cleanup fixes into trunk
...
X-SVN-Rev: 40283
2017-07-22 01:11:59 +00:00
Andy Heninger
04448b004f
ICU-12764 UTF-8 source files, update file encoding comments.
...
X-SVN-Rev: 39641
2017-02-03 18:57:23 +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
Steven R. Loomis
29d7ab227d
ICU-12752 merge from branch; z porting changes
...
X-SVN-Rev: 39385
2016-09-28 17:30:09 +00:00
Steven R. Loomis
5f2c294d1c
ICU-12752 fix breakage from r39368 on windows.
...
X-SVN-Rev: 39374
2016-09-28 02:26:02 +00:00
Steven R. Loomis
6825277072
ICU-12752 commit some IBM z fixes. Library code building
...
X-SVN-Rev: 39368
2016-09-27 23:39:01 +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
a9c247a3cb
ICU-12166 annotate intended switch case fallthroughs
...
X-SVN-Rev: 38447
2016-03-01 07:44:57 +00:00
Markus Scherer
2ad94b4e93
ICU-11601 UConverterSharedData: add isReferenceCounted, stop checking for special referenceCounter=~0 value outside mutex to make thread sanitizer happy, remove long-unused table pointer field, add & use initializer macro
...
X-SVN-Rev: 37476
2015-05-29 19:33:24 +00:00
Markus Scherer
8f69b6c53d
ICU-7653 change a few straggler LENGTHOFs
...
X-SVN-Rev: 36277
2014-08-28 23:20:12 +00:00
Andy Heninger
32925a6a3b
ICU-11003 Clean up gcc compiler warnings introduced with previous commit for this ticket.
...
X-SVN-Rev: 36051
2014-07-17 21:06:09 +00:00
Andy Heninger
642d37eb0f
ICU-11003 Delete cmutex.h; change files using it to from plain C to C++.
...
X-SVN-Rev: 36050
2014-07-17 20:16:27 +00:00