Commit Graph

70 Commits

Author SHA1 Message Date
Markus Scherer
e6748afd82 ICU-13197 improved normalization data structure and code; .nrm formatVersion 3; merged from branches/markus/normv3 except for cherry-picks from trunk to there
X-SVN-Rev: 40265
2017-07-14 22:38:40 +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
Andy Heninger
6083d859ba ICU-12570 remove undefined behaviors from cintltst. Mostly signed integer overflow.
X-SVN-Rev: 39042
2016-08-12 00:27:46 +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
Michael Ow
7e3befc1a6 ICU-10992 Ensure ICU4C 54 test suite passes without data
X-SVN-Rev: 36516
2014-09-15 21:51:57 +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
Peter Edberg
cce314dc85 ICU-9581 Handle uconfig.h variations: fix errors and some of the old warnings
X-SVN-Rev: 32659
2012-10-18 19:51:28 +00:00
Markus Scherer
67aa69c0f0 ICU-8246 forgot to invoke TestGetEasyToUseInstance()
X-SVN-Rev: 30998
2011-12-01 06:01:05 +00:00
Markus Scherer
3a86b119b0 ICU-8246 add Normalizer2::getNFCInstance(), getNFKDInstance(), ...
X-SVN-Rev: 30994
2011-12-01 00:43:35 +00:00
Markus Scherer
03748b07f1 ICU-8804 Normalizer2::getRawDecomposition(c) with added data in .nrm formatVersion 2
X-SVN-Rev: 30980
2011-11-27 04:44:13 +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
Markus Scherer
56b28bd292 ICU-7848 make normalize-append restore the middle string section (the relevant suffix of the first string) when something goes wrong (especially C buffer overflow)
X-SVN-Rev: 30014
2011-05-04 05:50:20 +00:00
Andy Heninger
74e297291f ICU-7780 fix various compiler warnings
X-SVN-Rev: 28301
2010-07-12 18:03:29 +00:00
Markus Scherer
82160e104c ICU-7736 add Normalizer2::getDecomposition(c)
X-SVN-Rev: 28161
2010-06-08 23:32:11 +00:00
Markus Scherer
77543b3e58 ICU-7703 fix unorm_normalize(src, length=-1) bug and allow src=NULL if length=0
X-SVN-Rev: 28115
2010-05-30 23:00:52 +00:00
Markus Scherer
5cb38459a6 ICU-7273 remove #include unormimp.h where not used any more
X-SVN-Rev: 27667
2010-02-25 00:21:02 +00:00
Michael Ow
0763686c6c ICU-7370 Log data errors to ensure that intltest and cintltst passes without data.
X-SVN-Rev: 27649
2010-02-24 16:17:03 +00:00
Markus Scherer
1cb38e859b ICU-7273 compute FC_NFKC_Closure on the fly
X-SVN-Rev: 27534
2010-02-10 23:05:39 +00:00
Markus Scherer
8ddbd1394c ICU-7273 merge in Normalizer2 API & code, and ICU-5785 UnicodeSet::span(UnicodeString) and ICU-7296 tempSubString()/retainBetween(); merge -r 26971:27150 branches/markus/norm2
X-SVN-Rev: 27155
2010-01-06 23:50:03 +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
George Rhoten
cb440cbec2 ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 22048
2007-07-19 01:51:03 +00:00
George Rhoten
f560c6b644 ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 21593
2007-05-30 04:53:51 +00:00
George Rhoten
ad9f26b669 ICU-5426 These buffers don't need to be static.
X-SVN-Rev: 20423
2006-09-28 08:39:03 +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
Markus Scherer
f65ee799e6 ICU-2758 add APIs for FCD properties lccc & tccc
X-SVN-Rev: 14894
2004-04-07 02:57:06 +00:00
Markus Scherer
81f1506e2a ICU-2757 add APIs for NF*_QC properties
X-SVN-Rev: 14892
2004-04-07 00:28:39 +00:00
George Rhoten
92842673da ICU-2699 Fix some compiler warnings.
X-SVN-Rev: 12376
2003-06-09 04:57:01 +00:00
Vladimir Weinstein
c1614898f6 ICU-2840 tests shouldn't crash if there is no data
X-SVN-Rev: 12269
2003-06-04 06:53:23 +00:00
Markus Scherer
9a4e0e4af2 ICU-2860 add UCONFIG_NO_NORMALIZATION and UCONFIG_NO_IDNA
X-SVN-Rev: 11808
2003-05-06 01:22:23 +00:00
George Rhoten
8b5d063db9 ICU-2000 Fixed some compiler warnings.
X-SVN-Rev: 10553
2002-12-06 23:53:00 +00:00
Markus Scherer
44707c157b ICU-2248 modularize ICU
X-SVN-Rev: 9903
2002-09-20 17:54:45 +00:00
George Rhoten
56cbadb751 ICU-2085 Don't use deprecated code anymore
X-SVN-Rev: 9755
2002-08-21 19:09:33 +00:00
Markus Scherer
fdc5a0ed63 ICU-1970 test FC_NFKC_Closure
X-SVN-Rev: 9156
2002-07-15 16:29:43 +00:00
Markus Scherer
5cb27bd920 ICU-1781 test unorm_isNormalized()
X-SVN-Rev: 8857
2002-06-12 16:44:54 +00:00
Markus Scherer
230b44ed74 ICU-1686 fix use of UCharIterator.move, especially with UITER_START->UITER_ZERO
X-SVN-Rev: 8150
2002-03-20 17:04:56 +00:00
Markus Scherer
6fc22af7c9 ICU-1700 test iterative normalization
X-SVN-Rev: 8104
2002-03-19 02:36:28 +00:00
Markus Scherer
43bbd95cc4 ICU-845 test normalizing concatenation
X-SVN-Rev: 7961
2002-03-12 23:00:50 +00:00
George Rhoten
41f0b54145 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 6819
2001-11-13 04:28:44 +00:00
Markus Scherer
ef2d44b84a ICU-1007 add tests for better normalization test code coverage
X-SVN-Rev: 6749
2001-11-10 22:38:45 +00:00
Markus Scherer
88bce4404c ICU-1229 deprecate UCOL_ constants in UNormalizationMode
X-SVN-Rev: 5893
2001-09-22 01:17:26 +00:00
George Rhoten
08ba528748 ICU-821 Fix for Linux 7.1
X-SVN-Rev: 5683
2001-09-01 04:23:43 +00:00
Markus Scherer
6eb5998fc1 ICU-1007 replace old normalization implementation by new one, use unorm_quickCheck(UNORM_FCD) instead of the temporary checkFCD()
X-SVN-Rev: 5489
2001-08-17 00:21:18 +00:00
Markus Scherer
a93780d01d ICU-1007 do not test Yod with Hiriq here because it changes from 3.0 to 3.1
X-SVN-Rev: 5034
2001-06-20 22:24:25 +00:00
Syn Wee Quek
c41d7f33d0 ICU-833
Updated test for new checkFCD implementation to use 2 bytes instead of the
original 1byte FCD value.

X-SVN-Rev: 4364
2001-03-28 00:05:17 +00:00
George Rhoten
9a188e4b0b ICU-535 Fixed some compiler warnings.
X-SVN-Rev: 4264
2001-03-22 04:07:57 +00:00
Ram Viswanadha
ef97b534cd ICU-903 update copyright notices
X-SVN-Rev: 4233
2001-03-21 19:46:49 +00:00