Fredrik Roubert
85b7f5fda2
ICU-22604 Use 'void' for empty C parameter lists (-Wstrict-prototypes).
2023-12-19 09:27:01 +09: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
03f431d30d
ICU-13340 obsolete unicode/utf_old.h: add U_HIDE_OBSOLETE_UTF_OLD_H to optionally hide all of the .h contents; default: no behavior change; adjust code & tests to work either way
...
X-SVN-Rev: 40413
2017-09-14 06:24:35 +00:00
Markus Scherer
edac6e7206
ICU-13244 add U16_GET_OR_FFFD(), U16_NEXT_OR_FFFD(), U16_PREV_OR_FFFD()
...
X-SVN-Rev: 40404
2017-09-13 22:29:43 +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
Fredrik Roubert
f75e591321
ICU-12012 Replace all sizeof p / U_SIZEOF_... with UPRV_LENGTHOF().
...
R=markus.icu@gmail.com
Review URL: https://codereview.appspot.com/291740043 .
X-SVN-Rev: 38349
2016-02-24 22:52:29 +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
7594250cc5
ICU-7653 changed uprv_lengthof to UPRV_LENGTHOF, also added apidoc
...
X-SVN-Rev: 36275
2014-08-28 22:13:45 +00:00
Tom Zhang
ee1f29b584
ICU-7653 move LENGTHOF(array) to common, internal header
...
X-SVN-Rev: 36265
2014-08-28 14:55:34 +00:00
Markus Scherer
8bb10245f2
ICU-9664 support NUL-terminated strings (indicated via length<0) in U8_NEXT, U16_NEXT, and other such (safe) macros that move forward/take a length
...
X-SVN-Rev: 32787
2012-11-10 15:31:34 +00:00
George Rhoten
d205f70f5b
ICU-4092 Enable dead code.
...
X-SVN-Rev: 16956
2004-12-15 18:03:41 +00:00
George Rhoten
1b8c614b0a
ICU-2000 Fix some compiler warnings.
...
X-SVN-Rev: 10224
2002-11-12 01:37:48 +00:00
Markus Scherer
6b1fa6036a
ICU-2150 simplify/improve UTF macros
...
X-SVN-Rev: 9930
2002-09-30 04:00:17 +00:00
Markus Scherer
c4f6ebe78e
ICU-2146 fix UChar32 type mismatches
...
X-SVN-Rev: 9901
2002-09-20 16:02:16 +00:00
Syn Wee Quek
60b483e4b5
ICU-1129
...
added test for surrogates.
X-SVN-Rev: 6713
2001-11-09 20:31:14 +00:00
George Rhoten
4bf13c79e9
ICU-900 Fixed some compilre warnings.
...
X-SVN-Rev: 4858
2001-05-31 23:20:21 +00:00
Ram Viswanadha
ef97b534cd
ICU-903 update copyright notices
...
X-SVN-Rev: 4233
2001-03-21 19:46:49 +00:00
George Rhoten
1e5733e830
ICU-66 Don't test utf16 unsafe macros in an unsafe manner
...
X-SVN-Rev: 3651
2001-02-16 21:54:20 +00:00
George Rhoten
f12d5c6a38
ICU-535 Fixed some compiler warnings
...
X-SVN-Rev: 3515
2001-01-31 23:17:51 +00:00
Markus Scherer
76972c7a1a
ICU-535 reinstate readable UTF16_..._SAFE macros, removing unwarranted new _STRICT/_LENIENT variants
...
X-SVN-Rev: 3206
2000-12-12 22:11:08 +00:00
George Rhoten
799ea92ef4
ICU-717 Changed UTF_ -> UTF16_
...
X-SVN-Rev: 2922
2000-11-16 23:57:16 +00:00
George Rhoten
d8b316c016
ICU-535 fixed some compiler warnings
...
X-SVN-Rev: 2328
2000-08-23 00:55:27 +00:00
George Rhoten
ad2c21909e
ICU-535 fixed some compiler warnings
...
X-SVN-Rev: 2319
2000-08-21 22:28:56 +00:00
Helena Chapman
3f2fb26333
ICU-401 Make 1.6 tree compiled and linked on S/400.
...
X-SVN-Rev: 2233
2000-08-14 23:35:57 +00:00
George Rhoten
ebd5136aac
ICU-535 fixed some compiler warnings
...
X-SVN-Rev: 2182
2000-08-11 02:08:59 +00:00
Vladimir Weinstein
9e6148186a
ICU-432 more leak fixes
...
X-SVN-Rev: 1781
2000-07-10 22:14:51 +00:00
Markus Scherer
cdd47bd7db
ICU-408 fix range checks
...
X-SVN-Rev: 1450
2000-05-23 23:23:09 +00:00
Helena Chapman
69ba12f77c
ICU-351 Define UBool to be used in the APIs.
...
X-SVN-Rev: 1410
2000-05-18 22:08:39 +00:00
Madhu K
215f6fd609
ICU-176 Testing for UTF-16 macros
...
X-SVN-Rev: 1316
2000-05-03 20:52:18 +00:00