Commit Graph

49 Commits

Author SHA1 Message Date
Markus Scherer
4c2fad3e36 ICU-12410 class Edits, class CaseMap with new low-level functions that work with Edits, simpler case properties code, some cleanup
X-SVN-Rev: 39684
2017-02-17 21:03:35 +00:00
Markus Scherer
67c9e8d526 ICU-12410 C++ foldCase()->fold()
X-SVN-Rev: 39676
2017-02-15 22:46:18 +00:00
Markus Scherer
bd7130998d ICU-12410 TestCaseMapWithEdits()
X-SVN-Rev: 39670
2017-02-14 00:21:31 +00:00
Markus Scherer
4207d7fc26 ICU-12410 test & fix Edits
X-SVN-Rev: 39660
2017-02-10 04:44:37 +00: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
Andy Heninger
52989746d9 ICU-12849 Title Casing, incorrect length returned when preflighting with a NULL output buffer.
X-SVN-Rev: 39518
2016-12-01 01:41:40 +00:00
Markus Scherer
fad9b48931 ICU-12832 UTF-8 case mapping appendUChar() write a character even if it fills destCapacity exactly
X-SVN-Rev: 39500
2016-11-07 23:15:47 +00:00
Markus Scherer
5e68fee567 ICU-12639 fix typo
X-SVN-Rev: 39303
2016-09-20 23:04:26 +00:00
Markus Scherer
8b980000b1 ICU-12663 disable TestLongUpper() unless in exhaustive mode, because it takes a long time
X-SVN-Rev: 39301
2016-09-20 22:49:50 +00:00
Markus Scherer
5afeb0ae2f ICU-12663 TestLongUpper() exit early if out of memory
X-SVN-Rev: 39300
2016-09-20 21:42:28 +00:00
Markus Scherer
104b90bc3f ICU-12639 detect & handle malformed UTF-8, never call the low-level full case mapping functions with a negative value
X-SVN-Rev: 39295
2016-09-20 20:32:12 +00:00
Markus Scherer
7960164327 ICU-12663 UnicodeString support nearly 2G UChars & avoid integer overflows; string-to-string case mappings & detect integer overflows; make some calls to uprv_memcpy() and similar a little more robust by casting int32_t to size_t before multiplying
X-SVN-Rev: 39288
2016-09-20 01:10:36 +00:00
Markus Scherer
15415832df ICU-5456 modern Greek toUpperCase(), remove most diacritics
X-SVN-Rev: 39228
2016-09-14 23:17:11 +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
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
27e00900c8 ICU-9932 deprecate & disable cloning-into-user-buffer, except keep ucnv_safeClone() intact
X-SVN-Rev: 34359
2013-09-17 19:48:50 +00:00
Markus Scherer
f31fa446bc ICU-9065 internal API for reverse-full-case-folding data
X-SVN-Rev: 31237
2012-01-20 19:35:13 +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
Markus Scherer
1dbea6f001 ICU-7245 implement C++ public smart pointers; LocalPointer, LocalArray, LocalUConverterPointer etc.
X-SVN-Rev: 26904
2009-11-14 00:36:06 +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
John Emmons
924a38a76e ICU-5219 Dutch IJ Titlecasing
X-SVN-Rev: 24179
2008-06-13 21:07:22 +00:00
George Rhoten
ad98d31c53 ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 22461
2007-08-21 23:02:50 +00:00
Eric Mader
a3b08a4e2b ICU-5808 fixes for uconfigtest.
X-SVN-Rev: 22349
2007-08-10 23:31:48 +00:00
Markus Scherer
c12f6712f9 ICU-4935 add U_TITLECASE_NO_LOWERCASE, U_TITLECASE_NO_BREAK_ADJUSTMENT, ucasemap_get/setBreakIterator, ucasemap_toTitle, ucasemap_utf8ToTitle, ucasemap_utf8FoldCase, UnicodeString::toTitle(...options)
X-SVN-Rev: 22170
2007-07-27 06:37:08 +00:00
Steven R. Loomis
9d29225514 ICU-4620 uconfig.h failures
X-SVN-Rev: 18155
2005-07-07 07:54:43 +00:00
Markus Scherer
b054ffff93 ICU-4504 UCaseMap and UTF-8 toLower() & toUpper()
X-SVN-Rev: 17633
2005-05-20 17:31:12 +00:00
George Rhoten
61d7b4dc47 ICU-3004 Fix some Turkish case conversion errors.
X-SVN-Rev: 17002
2004-12-22 17:34:16 +00:00
George Rhoten
6038ee28f5 ICU-3662 Move data based test framework to test library
X-SVN-Rev: 14733
2004-03-23 06:37:36 +00:00
Markus Scherer
87cd8a5be1 ICU-3267 UniStr::toTitle(iter!=NULL) must set its text on iter
X-SVN-Rev: 13546
2003-10-31 22:09:48 +00:00
George Rhoten
bd5472281f ICU-3221 Fix some AIX linker warnings.
X-SVN-Rev: 13482
2003-10-24 01:04:44 +00:00
Alan Liu
de95737116 ICU-2959 update copyright dates to include 2003
X-SVN-Rev: 12253
2003-06-03 20:58:22 +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
Markus Scherer
a0cebb2799 ICU-2344 test Turkic lowercasing of U+0307 according to Unicode erratum from 2002-10-31
X-SVN-Rev: 11072
2003-02-16 19:16:18 +00:00
Markus Scherer
fdc0319c0f ICU-2118 improve UnicodeString API coverage
X-SVN-Rev: 10385
2002-11-26 23:33:37 +00:00
Markus Scherer
0eb9c506ec ICU-2248 modularize ICU
X-SVN-Rev: 9910
2002-09-21 00:43:14 +00:00
Markus Scherer
85b2ecac9c ICU-1923 upgrade to Unicode 3.2: adapt case mapping tests - mostly Turkic changes, un-fix 0307 After_I condition until UTC decides on it
X-SVN-Rev: 8813
2002-06-07 18:56:16 +00:00
Vladimir Weinstein
69cf3d4da0 ICU-1880 tests updated to use the new data driven framework
X-SVN-Rev: 8775
2002-06-04 08:06:05 +00:00
Markus Scherer
0a70506190 ICU-1923 upgrade case folding to Unicode 3.2
X-SVN-Rev: 8769
2002-06-03 03:33:44 +00:00
George Rhoten
394ebf6ffe ICU-1880 Fix memory leaks
X-SVN-Rev: 8679
2002-05-23 17:18:05 +00:00
George Rhoten
a5e64ca4e8 ICU-1880 Temporary fix for when it goes into an endless loop in optimized mode on MacOSX
X-SVN-Rev: 8672
2002-05-22 20:38:33 +00:00
Vladimir Weinstein
8675a148e2 ICU-1880 modified casing test so that it uses TestDataDriver
X-SVN-Rev: 8586
2002-05-10 04:42:16 +00:00
George Rhoten
5b52c2da46 ICU-1126 Fix for Visual Age on AIX.
X-SVN-Rev: 8049
2002-03-15 17:21:01 +00:00
Markus Scherer
ecd81a00fa ICU-1126 test titlecasing
X-SVN-Rev: 7998
2002-03-13 19:22:05 +00:00