Commit graph

32 commits

Author SHA1 Message Date
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
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
Jeff Genovy
33d7868d45 ICU-20351 Warning cleanup changes for ICU4C under MSVC. 2019-01-16 16:43:02 -08: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
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
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
Andy Heninger
1f65c0e70a ICU-10048 Compiler warning cleanup.
X-SVN-Rev: 33445
2013-03-21 05:48:52 +00:00
Markus Scherer
3360fe4708 ICU-7144 merge UTS #46 (IDNA2008) C/C++ feature into trunk, merging in -r 27794:28172 icu/branches/markus/uts46
X-SVN-Rev: 28195
2010-06-15 15:54:53 +00:00
Markus Scherer
9fca8644b5 ICU-7182 remove support for Unicode Normalization behavior before corrigendum 5 (PRI #29)
X-SVN-Rev: 26952
2009-11-19 00:46:36 +00:00
Michael Ow
9100ba632e ICU-6905 Log errors as data errors where appropriate to ensure cintltst passes without data. Some areas don't propagate error code. Add new error log function to check for error code.
X-SVN-Rev: 26084
2009-06-09 21:28:13 +00:00
George Rhoten
6b6e3c19cb ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 21324
2007-03-28 23:47:14 +00:00
Ram Viswanadha
17b9524e72 ICU-5273 fix IDNAToUnicode to not fail on error
X-SVN-Rev: 21291
2007-03-19 14:33:15 +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
40c34e49af ICU-5426 Reduce running VM size by making more data const.
X-SVN-Rev: 20467
2006-10-01 07:12:18 +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
56f840b184 ICU-4475 tests for JB
X-SVN-Rev: 17561
2005-05-05 21:03:23 +00:00
Markus Scherer
27f1dd1bda ICU-3497 provide correct NFC/NFKC normalization for both before and after the PRI #29 fix
X-SVN-Rev: 16134
2004-08-09 14:47:53 +00:00
George Rhoten
e8f3a97f77 ICU-3946 Fix some tests to use U_EXPORT2 and U_CALLCONV more often
X-SVN-Rev: 16018
2004-07-16 06:52:44 +00:00
Eric Mader
c5705d3767 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15413
2004-05-19 21:19:13 +00:00
Vladimir Weinstein
d3014f6caa ICU-3594 Use C style comments in .c files
X-SVN-Rev: 14881
2004-04-06 05:53:12 +00:00
Ram Viswanadha
623c46d430 ICU-3594 tests for U_IDNA_STD3_ASCII_RULES_ERROR
X-SVN-Rev: 14878
2004-04-06 02:07:44 +00:00
George Rhoten
64bf3c14b4 ICU-3222 Fix some compiler warnings
X-SVN-Rev: 14114
2003-12-12 06:59:38 +00:00
Markus Scherer
725457bca6 ICU-3445 fix tests for UCONFIG_NO_...
X-SVN-Rev: 14099
2003-12-11 17:40:28 +00:00
Ram Viswanadha
bcb0e9840e ICU-2962 z/os porting fixes
X-SVN-Rev: 13938
2003-12-02 03:12:49 +00:00
Ram Viswanadha
9a043c2e5f ICU-3050 StringPrep API first cut
X-SVN-Rev: 12674
2003-07-24 23:23:19 +00:00