Commit Graph

69 Commits

Author SHA1 Message Date
Steven R. Loomis
42a7565808 ICU-13415 disable std::move testing on AIX/z for now.
X-SVN-Rev: 40641
2017-10-25 22:11:18 +00:00
Norbert Runge
eaf4de59f4 ICU-13384 Adjusts unit test to work with UCONFIG_NO_BREAK_ITERATION flag set.
X-SVN-Rev: 40569
2017-10-05 16:53:51 +00:00
Markus Scherer
68ef77118b ICU-13203 CaseMap UTF-8 add StringPiece->ByteSink overloads; change implementation to that and change array->array versions into wrappers
X-SVN-Rev: 40425
2017-09-18 21:45:11 +00:00
Markus Scherer
ee7fb909bf ICU-13247 Java: String CaseMap.apply(CharSequence); fix omitUnchangedText() without Edits
X-SVN-Rev: 40417
2017-09-14 22:26:13 +00:00
Markus Scherer
321f467190 ICU-13337 public string option for not resetting an Edits object: U_EDITS_NO_RESET
X-SVN-Rev: 40394
2017-09-13 16:15:28 +00:00
Norbert Runge
52417e2221 ICU-13069 enables code to compile when UCONFIG_NO_NORMALIZATION is set to 1; all unit tests pass.
X-SVN-Rev: 40388
2017-09-12 20:29:14 +00:00
Markus Scherer
a1e9154f8c ICU-13346 compress some repeated m:n replacements even when m!=n
X-SVN-Rev: 40376
2017-09-08 18:49:08 +00:00
Markus Scherer
4e75a6ece0 ICU-13346 add Edits::Iterator::previous() for mapping near-earlier indexes
X-SVN-Rev: 40373
2017-09-07 18:29:27 +00:00
Markus Scherer
3e9530c048 ICU-13332 CaseMapImpl.isFollowedByCasedLetter() must increment the string index while looping
X-SVN-Rev: 40353
2017-08-24 20:36:19 +00:00
Markus Scherer
837280a366 ICU-13307 C++ Edits::mergedAndAppend(ab, bc); map indexes only from inside spans not empty deletions/insertions; make Edits copyable and Edits::Iterator default-constructible
X-SVN-Rev: 40333
2017-08-16 19:19:30 +00:00
Markus Scherer
9a3a03c417 ICU-13270 icu::Edits add numberOfChanges(); Edits::Iterator add findDestinationIndex(), destinationIndexFromSourceIndex(), sourceIndexFromDestinationIndex()
X-SVN-Rev: 40286
2017-07-24 22:43:53 +00:00
Markus Scherer
cfef2fb339 ICU-9198 add titlecasing options: wholeString, sentences, adjustToCased
X-SVN-Rev: 40164
2017-06-09 23:04:03 +00:00
Markus Scherer
3975adb564 ICU-13234 rename UCASEMAP_OMIT_UNCHANGED_TEXT to U_OMIT_UNCHANGED_TEXT
X-SVN-Rev: 40161
2017-06-08 19:36:34 +00:00
Markus Scherer
f3b00dc8ff ICU-13197 test Normalizer2::normalizeUTF8() with Edits
X-SVN-Rev: 40148
2017-06-02 21:19:33 +00:00
Markus Scherer
990890985c ICU-13128 optimize UnicodeString::toTitle() input string handling; test u_strToTitle(in-place)
X-SVN-Rev: 40042
2017-04-12 22:39:37 +00:00
Andy Heninger
5dca4ba1e1 ICU-13127 Fix crashing bug in UnicodeString::toTitle()
X-SVN-Rev: 40036
2017-04-12 01:19:22 +00:00
Norbert Runge
cdcb7944b8 ICU-13053 Make UCONFIG_NO_BREAK_ITERATION flag work without errors or failures.
X-SVN-Rev: 39943
2017-03-27 18:22:11 +00:00
Markus Scherer
5bea3757ac ICU-12988 CaseMap UTF-8 with Edits; ported from UTF-16 changes in ICU-12410 r39684
X-SVN-Rev: 39805
2017-03-14 23:55:29 +00:00
Markus Scherer
9b792c3cf1 ICU-12736 remove remaining uses of now-obsolete U_HAVE_STD_STRING
X-SVN-Rev: 39733
2017-03-04 00:22:40 +00:00
Markus Scherer
a32c1b17ec ICU-12736 assume in some places that we always have std::string; merge r39687 & r39704 from dev branch
X-SVN-Rev: 39731
2017-03-04 00:06:17 +00:00
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