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
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
Frank Yung-Fong Tang
80414a247b
ICU-22224 Enable UBSAN and fix breakage
...
See #2324
2023-02-27 17:31:49 -08: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
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
03937347fb
ICU-20863 Regex, lazy creation and reduced size of map from capture group names to numbers.
2019-10-22 17:23:26 -07:00
Andy Heninger
719d4fd3b5
ICU-20415 uregex_start64() and end64() truncation.
2019-02-19 15:59:21 -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
Andy Heninger
0d32dd8f05
ICU-13632 regex out-of-bounds memory reference fix.
...
X-SVN-Rev: 41088
2018-03-09 18:39:14 +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
Andy Heninger
ec3f77f878
ICU-5312 Regular Expressions Named Capture.
...
X-SVN-Rev: 37040
2015-02-18 23:56:19 +00:00
Andy Heninger
22c8c94d14
ICU-11469 Regular Expressions, remove old tech preview functions.
...
X-SVN-Rev: 36953
2015-01-14 00:03:29 +00:00
Andy Heninger
f2dfa7422e
ICU-10815 Fix for uregex_findNext() not setting U_REGEX_STOPPED_BY_CALLER
...
X-SVN-Rev: 36260
2014-08-28 01:19:29 +00:00
Andy Heninger
045919648e
ICU-10459 Fix segfault in uregex_group() when match is in invalid state.
...
X-SVN-Rev: 34559
2013-10-11 20:59:39 +00:00
Andy Heninger
45561757cc
ICU-10182 Build Time mutexes, merge from development branch.
...
X-SVN-Rev: 34139
2013-08-30 01:23:42 +00:00
Andy Heninger
978f71fe78
ICU-10051 Mutexes: introduce UInitOnce; remove UMTX_CHECK; replace all uses of UMTX_CHECK.
...
X-SVN-Rev: 33787
2013-05-31 23:50:15 +00:00
Peter Edberg
b72359eca5
ICU-9623 ICU4C 50 API promotions, fix U_DRAFT -> U_STABLE as needed in .h, fix U_DRAFT -> U_CAPI in .c/cpp
...
X-SVN-Rev: 32547
2012-10-08 05:16:32 +00:00
Yoshito Umaoka
e9503bdade
ICU-8909 Fixed various warnings reported by a source code analysis tool.
...
X-SVN-Rev: 30958
2011-11-14 19:32:51 +00:00
Markus Scherer
e31ce99b84
ICU-8575 option for not including utf headers by default; replace uses of deprecated utf_old.h macros
...
X-SVN-Rev: 30430
2011-07-27 05:53:56 +00:00
Andy Heninger
8148726df2
ICU-8404 Regular Expressions split(), fix incorrect handling of trailing empty field
...
X-SVN-Rev: 29801
2011-04-15 00:48:39 +00:00
Andy Heninger
5481ac737a
ICU-8421 uregex error checking fixes.
...
X-SVN-Rev: 29716
2011-03-31 18:33:28 +00:00
Andy Heninger
4a932a4dfc
ICU-7795 Regular Expression refreshInputText added.
...
X-SVN-Rev: 29363
2011-01-27 01:12:12 +00:00
Michael Grady
751473d25a
ICU-7813 64bit regex API, 7675: UText-based Regex to use native indexes, 7764: Improved UText-regex API error handling, 7855: UText regex group API returns shallow clone, 7851: Set region and start position, 7763: Inline regex progress callback function.
...
X-SVN-Rev: 28647
2010-09-18 03:07:17 +00:00
Andy Heninger
74e297291f
ICU-7780 fix various compiler warnings
...
X-SVN-Rev: 28301
2010-07-12 18:03:29 +00:00
Michael Grady
8b6ce73317
ICU-7666 Regex find progress callback (from branch to trunk)
...
X-SVN-Rev: 28201
2010-06-15 20:19:10 +00:00
Peter Edberg
0b3887b73a
ICU-4521 kill more warnings
...
X-SVN-Rev: 27721
2010-02-27 07:43:07 +00:00
Peter Edberg
f308bffc8c
ICU-4521 Disambiguate signatures for RegexPattern::matcher,RegexMatcher::group for 0 pointers; fix warnings
...
X-SVN-Rev: 27522
2010-02-09 20:17:52 +00:00
Michael Grady
8216117f21
ICU-4521 UText-based regex implementation
...
X-SVN-Rev: 27482
2010-02-03 02:59:35 +00:00
Steven R. Loomis
185f4dee9d
ICU-7049 fix renaming. Merge of r26721, r26723, r26726
...
X-SVN-Rev: 26728
2009-10-01 22:52:39 +00:00
Andy Heninger
c567c8c1b1
ICU-6813 parameter validation to uregex_appendReplacement()
...
X-SVN-Rev: 25660
2009-03-26 23:04:40 +00:00
Andy Heninger
04c57ff523
ICU-6656 URegex_replaceAll(), fix incorrect size return value when output buffer is too small
...
X-SVN-Rev: 25221
2009-01-08 06:55:22 +00:00
George Rhoten
d1b51942ad
ICU-6149 Use traditional ICU C callback declarations.
...
X-SVN-Rev: 23485
2008-02-26 08:40:20 +00:00
Andy Heninger
5e550c04ac
ICU-6149 Merge regexp resource limit functions into the trunk
...
X-SVN-Rev: 23467
2008-02-20 03:08:44 +00:00
George Rhoten
57faac963c
ICU-6176 Fix some Coverity warnings.
...
X-SVN-Rev: 23433
2008-02-14 04:39:06 +00:00
George Rhoten
928d6152bc
ICU-6176 Fix some Coverity warnings
...
X-SVN-Rev: 23414
2008-02-13 09:35:50 +00:00
Andy Heninger
67e296e813
ICU-5386 Regular Expressions update, improved Java 1.5 compatibility. svn merge -r 22747:23061 from branches/andy/regex
...
X-SVN-Rev: 23063
2007-12-11 21:30:10 +00:00
George Rhoten
3c9ac0863a
ICU-5304 Allow source code to work again without using U_NAMESPACE_USE
...
X-SVN-Rev: 20691
2006-11-28 07:34:13 +00:00
Andy Heninger
6426cad023
ICU-4315 add missing buffer overflow check
...
X-SVN-Rev: 18484
2005-08-31 00:52:22 +00:00
Andy Heninger
dcf498d172
ICU-4703 beam compile warning fixes
...
X-SVN-Rev: 18385
2005-08-02 21:51:56 +00:00
Andy Heninger
642bc191a9
ICU-4595 make replacement text parameter const in regexp C api.
...
X-SVN-Rev: 17955
2005-06-21 16:54:39 +00:00
George Rhoten
4b8ef3e6e6
ICU-4288 Mostly fixes for --enable-strict for gcc 3.4 (Fedora Core 3)
...
X-SVN-Rev: 17040
2004-12-30 07:25:51 +00:00
George Rhoten
a643013936
ICU-4189 Reduce static library dependencies on conversion code,
...
and allow UCONFIG_NO_CONVERSION to work.
X-SVN-Rev: 16921
2004-12-05 20:22:33 +00:00
George Rhoten
e312467f5d
ICU-3905 Fix some compiler warnings
...
X-SVN-Rev: 16775
2004-11-05 19:07:34 +00:00
Andy Heninger
afb730458f
ICU-4045 regexp::find(), fix incorrect resut when called repeatedly at end of input string.
...
X-SVN-Rev: 16117
2004-08-05 22:46:52 +00:00
Andy Heninger
daf024132d
ICU-3842 fix malloc/new problems in uregex.cpp
...
X-SVN-Rev: 15865
2004-06-13 01:11:26 +00:00