Commit graph

46 commits

Author SHA1 Message Date
Frank Tang
49867907f9 ICU-22824 Fix mem Leak during error in uidna.cpp 2024-08-05 11:31:14 -07: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
Frank Tang
da5d3e0c5b ICU-22206 Fix unsafe mix of UBool
Fix "unsafe mix of type 'UBool' and type 'bool' in operation:
2022-11-18 10:36:55 -08: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
Frank Tang
2232a2b81e ICU-10291 Optimize IDNA toASCII loop 2019-03-13 12:13:42 -07: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
Markus Scherer
7960164327 ICU-12663 UnicodeString support nearly 2G UChars & avoid integer overflows; string-to-string case mappings & detect integer overflows; make some calls to uprv_memcpy() and similar a little more robust by casting int32_t to size_t before multiplying
X-SVN-Rev: 39288
2016-09-20 01:10:36 +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
Steven R. Loomis
4345b76644 ICU-10881 merge from branch - conservative fixes to some warnings
X-SVN-Rev: 36449
2014-09-11 05:25:13 +00:00
Yoshito Umaoka
eb175516be ICU-6238 Support standard stringprep profiles in ICU4C. Merging changes from the work branch to the trunk.
X-SVN-Rev: 25357
2009-02-02 16:16:07 +00:00
George Rhoten
cbb002c877 ICU-5682 Add TODO topic that should be revisited some day.
X-SVN-Rev: 22223
2007-07-31 21:22:45 +00:00
George Rhoten
7549b277d1 ICU-5682 Synchronize ICU4J and ICU4C error handling in IDNA
X-SVN-Rev: 22222
2007-07-31 21:13:31 +00:00
Ram Viswanadha
0bbbe4b84f ICU-5273 fix IDNAToUnicode to not fail on error
X-SVN-Rev: 21277
2007-03-17 01:22:52 +00:00
Ram Viswanadha
16be18bd42 ICU-5540 Incorporate review comments
X-SVN-Rev: 20875
2007-01-11 00:33:32 +00:00
Ram Viswanadha
ffa04cabe7 ICU-5540 add domain name and domain label length checks
X-SVN-Rev: 20862
2007-01-05 01:26:08 +00:00
George Rhoten
af4d11cd28 ICU-5032 Increase code coverage by removing dead code.
X-SVN-Rev: 19384
2006-03-20 18:59:54 +00:00
George Rhoten
5221d3bad4 ICU-4881 Update version number to 3.5.
X-SVN-Rev: 18689
2005-10-17 22:11:34 +00:00
Ram Viswanadha
5b5a49e553 ICU-3333 add idna conformance test
X-SVN-Rev: 18222
2005-07-12 20:33:15 +00:00
Vladimir Weinstein
ed7fe99c8b ICU-4599 promote @draft ICU 2.8 to stable
X-SVN-Rev: 17985
2005-06-22 23:38:06 +00:00
Eric Mader
5dc3d7c9d4 ICU-4561 Update copyright notices for ICU 3.4
X-SVN-Rev: 17822
2005-06-07 23:38:09 +00:00
Ram Viswanadha
e53233979c ICU-4475 fix for ASCII resolution
X-SVN-Rev: 17560
2005-05-05 20:59:04 +00:00
George Rhoten
70b126c727 ICU-4288 Fix some compiler warnings.
X-SVN-Rev: 16927
2004-12-08 01:05:40 +00:00
George Rhoten
b8b164bb73 ICU-3718 Don't read before the array (Fix from Ram)
X-SVN-Rev: 15547
2004-05-25 23:36:03 +00:00
Eric Mader
14fbb48bf9 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15385
2004-05-18 22:01:41 +00:00
Ram Viswanadha
daba6ddfe6 ICU-3594 fix checking for LDH chars only if the code point is <= 0x7f
X-SVN-Rev: 14877
2004-04-06 02:05:01 +00:00
Ram Viswanadha
3bd47e974e ICU-3222 fix compiler warnings
X-SVN-Rev: 13935
2003-12-02 03:03:23 +00:00
Ram Viswanadha
9bf949f010 ICU-3050 remove label separators from the data file
X-SVN-Rev: 13455
2003-10-17 19:26:35 +00:00
Ram Viswanadha
9a043c2e5f ICU-3050 StringPrep API first cut
X-SVN-Rev: 12674
2003-07-24 23:23:19 +00:00
Ram Viswanadha
af7213961d ICU-2194 fix API's not checking for null src (Vladimir's comments)
X-SVN-Rev: 12386
2003-06-09 22:12:52 +00:00
Vladimir Weinstein
752e44d7d9 ICU-2840 tests shouldn't crash if there is no data
X-SVN-Rev: 12342
2003-06-06 05:05:22 +00:00
Ram Viswanadha
98541084f2 ICU-2194 code coverage tests and fixes
X-SVN-Rev: 12199
2003-05-30 18:20:03 +00:00
George Rhoten
18d6c753f5 ICU-2194 Only define uprv_syntaxError in C++ for now.
X-SVN-Rev: 12173
2003-05-29 21:46:31 +00:00
Ram Viswanadha
9101121a5c ICU-2194 update review comments
X-SVN-Rev: 12167
2003-05-29 20:31:57 +00:00
Markus Scherer
e5383df00f ICU-2860 add UCONFIG_NO_NORMALIZATION and UCONFIG_NO_IDNA
X-SVN-Rev: 11809
2003-05-06 01:37:52 +00:00
George Rhoten
2adf6bbb4c ICU-2699 Fixed some compiler warnings
X-SVN-Rev: 11728
2003-04-29 18:14:37 +00:00
Ram Viswanadha
b5fc181059 ICU-2194 fix compiler warnings
X-SVN-Rev: 11576
2003-04-17 20:37:00 +00:00
Ram Viswanadha
7698390434 ICU-2194 fix warnings on Solaris and implement include code review changes
X-SVN-Rev: 11355
2003-03-19 02:03:12 +00:00
Ram Viswanadha
df758b9fb6 ICU-2194 fix bug found while running demo
X-SVN-Rev: 11341
2003-03-17 21:26:28 +00:00
Ram Viswanadha
102ad41655 ICU-2194 convert the ouput of toASCII to lower case
X-SVN-Rev: 11298
2003-03-13 22:17:24 +00:00
Ram Viswanadha
8cf2a2cee5 ICU-2194 fix bug found while running demo
X-SVN-Rev: 11288
2003-03-12 23:17:56 +00:00
Ram Viswanadha
7da935c904 ICU-2194 IDNA API
X-SVN-Rev: 11194
2003-02-28 21:35:25 +00:00