Commit Graph

33 Commits

Author SHA1 Message Date
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
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
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
5da94f206a ICU-12410 move new code into new files, split ucasemap_imp.h from ustr_imp.h
X-SVN-Rev: 39655
2017-02-09 21:15:34 +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
Markus Scherer
8a55e577e5 ICU-12410 make CaseMap functions static; change the function parameter order to (config, input, output); remove Edits::setWriteUnchanged(), writeUnchanged(), omitUnchanged() and add UCASEMAP_OMIT_UNCHANGED_TEXT options bit; case mapping functions call edits->reset() at start
X-SVN-Rev: 39585
2017-01-20 04:04:58 +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
Markus Scherer
fbd1e089fd ICU-12410 add C++ CaseMap, make UCaseMap an alias for that, move new functions with Edits into CaseMap, make case properties functions ignore UCaseProps pointer
X-SVN-Rev: 39554
2017-01-12 19:05:01 +00:00
Markus Scherer
7035c31b6d ICU-12410 add ucasemap_toTitleWithEdits(const UCaseMap *csm, icu::BreakIterator *iter, ...), change UErrorCode pointer to reference internally and in new C++ API functions, add ucasemap_foldCaseWithEdits(), change UCaseMap.iter to C++ BreakIterator
X-SVN-Rev: 39551
2017-01-09 23:52:12 +00:00
Markus Scherer
00f2e12b65 ICU-12410 Edits::Iterator getters not fields, tracks indexes, findSourceIndex(), skip-unchanged iterators, ucasemap_toLowerWithEdits() & ucasemap_toUpperWithEdits()
X-SVN-Rev: 39548
2017-01-06 00:20:31 +00:00
Markus Scherer
20994f490a ICU-12410 add Edits::Iterator and change UnicodeString case mappings to get & apply Edits for longer strings
X-SVN-Rev: 39547
2017-01-04 21:20:08 +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
Markus Scherer
c6fe872157 ICU-11336 recombine stack buffer arrays; one int16_t for short length & flags
X-SVN-Rev: 36754
2014-11-19 21:17:24 +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
744d1f3a19 ICU-8617 move UHashTok into lower-level uelement.h (new) and rename to UElement to share with UVector
X-SVN-Rev: 30272
2011-07-04 23:51:56 +00:00
Markus Scherer
9f7d74001c ICU-8605 document & test ICU4C dependencies, remove cycles, reduce some deps; merged from branches/markus/depstest -r 30155:30193
X-SVN-Rev: 30194
2011-06-03 05:23:57 +00:00
Markus Scherer
b5e1330176 ICU-7264 merge Unicode 6.0 into trunk from branches/markus/uni60 -r 28339:28657
X-SVN-Rev: 28661
2010-09-21 00:12:49 +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
Markus Scherer
13270fbe6f ICU-5835 optimize UnicodeString: increase US_STACKBUF_SIZE from 7 to 13; optimize append() and unescape()
X-SVN-Rev: 22718
2007-09-28 04:50:25 +00:00
George Rhoten
bb7d638032 ICU-5445 Readd removed comment.
X-SVN-Rev: 22576
2007-08-30 08:57:44 +00:00
George Rhoten
74753784d1 ICU-5445 Fix some compiler warnings (remove duplicate enum values).
X-SVN-Rev: 22575
2007-08-30 08:56:24 +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
Eric Mader
5dc3d7c9d4 ICU-4561 Update copyright notices for ICU 3.4
X-SVN-Rev: 17822
2005-06-07 23:38:09 +00:00
Markus Scherer
cfa2ddc411 ICU-4497 add const to use of UCaseProps singleton
X-SVN-Rev: 17515
2005-04-28 21:54:57 +00:00
George Rhoten
d0d233155d ICU-4281 Condense break iterator usage.
X-SVN-Rev: 16920
2004-12-05 06:23:51 +00:00
George Rhoten
7674c243d1 ICU-4078 There is no need to use the default locale for foldCase as stated by Markus.
X-SVN-Rev: 16424
2004-10-08 05:17:17 +00:00
George Rhoten
19e709ced5 ICU-4078 There is no need to use the default locale for foldCase as stated by Markus.
X-SVN-Rev: 16420
2004-10-07 22:11:34 +00:00
Markus Scherer
b92c4979a1 ICU-4078 make case-insensitive string comparisons independent of normalization code by duplicating parts of the unorm_compare() implementation
X-SVN-Rev: 16300
2004-09-11 14:24:31 +00:00
George Rhoten
c876971e64 ICU-3969 errorCode was not initialized
X-SVN-Rev: 16273
2004-09-08 00:19:10 +00:00
Markus Scherer
29038e96b7 ICU-3969 use new case mapping code in ucase.c, with ucase.icu data
X-SVN-Rev: 16257
2004-09-06 15:57:11 +00:00
Markus Scherer
53e086dc9a ICU-4078 disentangle conversion and properties code some from other parts of the common library
X-SVN-Rev: 16193
2004-08-26 22:51:40 +00:00