Commit Graph

68 Commits

Author SHA1 Message Date
Markus Scherer
fa2ddc86c7 ICU-13311 change illegal-UTF-8 handling in converter code
X-SVN-Rev: 40455
2017-09-23 06:34:53 +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
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
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
aa27217a84 ICU-12410 remove locCache behavior from ucase_getCaseLocale() and functions that call it, try to make it a little faster for common locale IDs
X-SVN-Rev: 39586
2017-01-20 06:27:47 +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
Markus Scherer
6fc7fe3b65 ICU-12410 low-level UTF-16 case mapping functions optionally write metadata to new class Edits
X-SVN-Rev: 39546
2016-12-31 00:23:31 +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
Yoshito Umaoka
ebe09a9e69 ICU-11294 Changed SimpleDateFormat and other implementation to reduce malloc calls for common date formatting/parsing operations.
X-SVN-Rev: 37064
2015-02-25 03:24:19 +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
41c8654d92 ICU-8601 replace C U_INLINE hack with C++ inline, and also rename a few other .c files to .cpp for future UMTX_CHECK replacement
X-SVN-Rev: 30148
2011-05-26 20:05:39 +00:00
Markus Scherer
02836844e6 ICU-8428 remove @draft etc. API tags from non-API headers (impl, tests, samples)
X-SVN-Rev: 30117
2011-05-16 20:46:27 +00:00
Markus Scherer
bb591eb3a1 ICU-7273 remove u_growBufferFromStatic() -- using UnicodeString instead
X-SVN-Rev: 27608
2010-02-19 23:49:51 +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
1dbea6f001 ICU-7245 implement C++ public smart pointers; LocalPointer, LocalArray, LocalUConverterPointer etc.
X-SVN-Rev: 26904
2009-11-14 00:36:06 +00:00
Andy Heninger
49db0e1ead ICU-3491 remove extra calls to u_init(), and simplify the API comments for u_init().
X-SVN-Rev: 26279
2009-07-09 22:50:01 +00:00
George Rhoten
c05bd41d42 ICU-6118 Export less internal API.
X-SVN-Rev: 23173
2008-01-04 08:45:10 +00:00
Markus Scherer
7bb221a187 ICU-5869 revert changes (r22476); too risky and needs further discussion; see ticket reply
X-SVN-Rev: 22607
2007-08-31 19:39:14 +00:00
George Rhoten
8620a4a530 ICU-5869 Properly NULL terminate strings that are not byte based, like UTF-16 or UTF-32.
X-SVN-Rev: 22476
2007-08-22 23:39:11 +00:00
George Rhoten
28ce35b674 ICU-4935 Consolidate conflicting definitions of UCaseMapFull
X-SVN-Rev: 22194
2007-07-27 23:59:25 +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
George Rhoten
d160dc506e ICU-5032 Increase code coverage numbers
X-SVN-Rev: 19087
2006-02-07 22:15:47 +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
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
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
George Rhoten
3dc9fd0f34 ICU-4078 Further separate the default converter from the rest of the ustring internal API
X-SVN-Rev: 16204
2004-08-27 20:29:52 +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
Eric Mader
14fbb48bf9 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15385
2004-05-18 22:01:41 +00:00
George Rhoten
837d4bd693 ICU-3685 Use the same definition for UBreakIterator as ubrk.h
X-SVN-Rev: 14908
2004-04-08 22:46:29 +00:00
Eric Mader
6aac9dbeb8 ICU-3473 Update copyright notices for ICU 2.8.
X-SVN-Rev: 14180
2003-12-18 23:16:48 +00:00
Andy Heninger
0628ea950a ICU-3014 Revised ICU initialization code
X-SVN-Rev: 12915
2003-08-22 23:26:53 +00:00
Markus Scherer
c2b0d61466 ICU-2094 add pErrorCode argument to uprv_haveProperties()
X-SVN-Rev: 10205
2002-11-08 02:22:15 +00:00
Markus Scherer
b1246ef900 ICU-2145 consistent behavior of binary string searches
X-SVN-Rev: 10055
2002-10-24 01:49:58 +00:00
Markus Scherer
3d38617bdc ICU-2248 modularize icu, allow parts to not be built
X-SVN-Rev: 9900
2002-09-20 01:54:48 +00:00
Markus Scherer
c44455d477 ICU-1728 add u_strCompare and u_strCaseCompare taking separate lengths and optional code point order
X-SVN-Rev: 8695
2002-05-24 17:05:31 +00:00
Markus Scherer
08e8447729 ICU-1438 use unorm_cmpEquivFold to implement case-insensitive string comparison - more efficient than earlier implementation
X-SVN-Rev: 8662
2002-05-22 00:35:01 +00:00
Markus Scherer
63f6acf6d7 ICU-1728 internal function for CodePointOrder comparisons, works with surrogate code points
X-SVN-Rev: 8611
2002-05-13 23:01:38 +00:00
Markus Scherer
acbaac776e ICU-1542 fix u_memchr32; common code for finding surrogate code points
X-SVN-Rev: 8095
2002-03-18 23:19:41 +00:00
Markus Scherer
ac8bf70a35 ICU-1721 remove u_internalGetCombiningClass(), was same as u_getCombiningClass()
X-SVN-Rev: 7879
2002-03-04 01:26:48 +00:00