Fredrik Roubert
5401c12018
ICU-22621 Clang-Tidy: modernize-use-nullptr
...
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/use-nullptr.html
2024-03-15 14:31:54 +01: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
shaobero
b1269c9121
ICU-21823 Adding changes to fix charset detection incase of no match
2022-03-15 21:47:40 +00: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
Markus Scherer
e4e2ae9544
ICU-21525 UnicodeSet.hasString(), UnicodeSetIterator.skipToStrings() & C API
2021-07-01 00:44:24 +00:00
Erik Torres
cfefa03539
ICU-21555 fix typos for D, E and F found in the repo
...
See #1714
2021-05-10 11:09:05 -07:00
Andy Heninger
5f837abd40
ICU-13533 Fix address sanitizer failures found with no-data ICU testing.
2019-08-19 13:29:32 -07:00
Fredrik Roubert
b4b2378931
ICU-20601 Wrap ICU test compound macros in do { } while.
...
This does the same for the ICU test code as was done for the
public ICU API in commit 480bec3ea6
.
2019-08-15 22:01:42 +02:00
Norbert Runge
ac907110dd
ICU-13053 disable a test that is executed (when it shouldn't) when
...
UCONFIG_NO_LEGACY_CONVERSION is set.
X-SVN-Rev: 39940
2017-03-27 16:05:50 +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
Markus Scherer
7f6179f106
ICU-11535 make tests pass with only warnings when UCONFIG_ONLY_HTML_CONVERSION
...
X-SVN-Rev: 37088
2015-02-27 02:24:05 +00:00
Michael Ow
e5a9a38924
ICU-10398 Fix uconfig test errors in ICU 52
...
X-SVN-Rev: 34404
2013-09-19 20:47:22 +00:00
Steven R. Loomis
358e1ddcd2
ICU-10376 fixup clang warnings
...
X-SVN-Rev: 34385
2013-09-18 20:08:25 +00:00
Yoshito Umaoka
920dadff8d
ICU-10012 Disable EBCDIC Arabic/Hebrew detectors by default. Added APIs to enable/disable each charset and get currently active charsets.
...
X-SVN-Rev: 34350
2013-09-17 06:57:53 +00:00
Michael Ow
d62e581e2c
ICU-9397 Update some tests in intltest and cintltst to pass without data in 50.0.1
...
X-SVN-Rev: 31982
2012-06-22 16:48:30 +00:00
Andy Heninger
0855f7a2b2
ICU-6954 Fix charset detection bug resulting from having state in shared recognizer objects.
...
X-SVN-Rev: 31900
2012-06-01 20:40:48 +00:00
Andy Heninger
ba912623dc
ICU-6954 Add test for this charset detector bug. Fix will follow later.
...
X-SVN-Rev: 31866
2012-05-26 00:19:47 +00:00
Michael Ow
4ff56e0dd5
ICU-8398 Log data errors where appropriate so ensure cintltst and intltest passes without data in 4.7.1
...
X-SVN-Rev: 29529
2011-03-03 19:29:57 +00:00
Markus Scherer
98fd35991b
ICU-7247 use almost every one of the LocalXyzPointer classes at least once
...
X-SVN-Rev: 26955
2009-11-20 06:28:25 +00:00
Michael Ow
c6385f6209
ICU-7068 Add statements to ensure that uconfigtest passes
...
X-SVN-Rev: 26466
2009-08-04 21:09:17 +00:00
Michael Ow
6b1f9ef27c
ICU-6905 Make intltest pass without any data.
...
X-SVN-Rev: 26096
2009-06-12 19:34:21 +00:00
Andy Heninger
b215e528d6
ICU-6394 charset detection returns duplicate charsets
...
X-SVN-Rev: 25909
2009-04-24 22:24:27 +00:00
Michael Ow
e526f90477
ICU-6778 Update intltest csdet.
...
X-SVN-Rev: 25770
2009-04-14 20:12:54 +00:00
Michael Ow
26f9de0065
ICU-6778 Port IBM420 and IBM424 CharsetDetector to ICU4C.
...
X-SVN-Rev: 25696
2009-03-31 15:39:00 +00:00
Eric Mader
a8678f38b6
ICU-6337 Use invariant code page to create UnicodeStrings from string literals that contain "\\".
...
X-SVN-Rev: 24201
2008-06-17 00:55:35 +00:00
Michael Ow
b02865cecf
ICU-2498 Make intltest pass w/o data.
...
X-SVN-Rev: 23784
2008-04-10 23:19:16 +00:00
Markus Scherer
172c5af054
ICU-5882 revert changes: ticket 5869 needs to be either fixed or rolled back, and the original test code in csdetest.cpp helps expose 5869's problem
...
X-SVN-Rev: 22602
2007-08-31 18:06:46 +00:00
Eric Mader
4cc1a9181c
ICU-5882 forgot to call ucnv_close() on the converter...
...
X-SVN-Rev: 22523
2007-08-24 19:13:00 +00:00
Eric Mader
4d34e9654f
ICU-5882 use ucnv_getMinCharSize() to allocate space for trailing null character.
...
X-SVN-Rev: 22522
2007-08-24 19:04:53 +00:00
Eric Mader
c292eb5da0
ICU-5314 Clean up UTF-16, UTF-32 detectors, UTF-16 test.
...
X-SVN-Rev: 20035
2006-08-11 18:55:15 +00:00
George Rhoten
77d118a8a5
ICU-5282 Don't test for UCONFIG_NO_CONVERSION. It shouldn't normally work.
...
X-SVN-Rev: 19963
2006-08-02 22:29:50 +00:00
Eric Mader
87731aeae7
ICU-5282 Fix problems found by uconfigtest.
...
X-SVN-Rev: 19922
2006-07-28 22:58:29 +00:00
Steven R. Loomis
83c6d252dc
ICU-5270 don't crash when no data present
...
X-SVN-Rev: 19876
2006-07-21 22:01:55 +00:00
Eric Mader
ba21b7880e
ICU-4639 Add Big5, use sorted mbcs statistics, increase coverage.
...
X-SVN-Rev: 19152
2006-02-13 20:47:36 +00:00
Eric Mader
ee7482efd7
ICU-4639 Initial version of C test. Clean up error messages.
...
X-SVN-Rev: 19137
2006-02-10 23:49:09 +00:00
Eric Mader
959633d24c
ICU-4639 Remove static constants from headers, fix overflow in confidence calculation in match_mbcs.
...
X-SVN-Rev: 19122
2006-02-09 21:13:01 +00:00
Eric Mader
cb69e53d8d
ICU-4639 Cleanup, more error checking.
...
X-SVN-Rev: 19086
2006-02-07 21:59:16 +00:00
Eric Mader
26d4c114f0
ICU-4639 Add more information to some error messages; add debugging code.
...
X-SVN-Rev: 19079
2006-02-07 19:12:43 +00:00
Eric Mader
b452ca48e6
ICU-4639 Initial checkin of C port of CharsetDetection.
...
X-SVN-Rev: 19069
2006-02-06 18:03:11 +00:00