Commit Graph

37 Commits

Author SHA1 Message Date
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
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
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
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
3c9606062d ICU-12410 changes for review feedback
X-SVN-Rev: 39683
2017-02-17 18:34:11 +00:00
Markus Scherer
67c9e8d526 ICU-12410 C++ foldCase()->fold()
X-SVN-Rev: 39676
2017-02-15 22:46:18 +00:00
Markus Scherer
91cb8bf24e ICU-12410 bug fixes
X-SVN-Rev: 39657
2017-02-09 23:09:08 +00:00
Markus Scherer
0e4c0199ee ICU-12410 remove unused UCaseProps pointer from ucase_... functions
X-SVN-Rev: 39656
2017-02-09 21:50:20 +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
Markus Scherer
4805866163 ICU-12410 move/re-port titlecasing, support Edits
X-SVN-Rev: 39647
2017-02-07 00:58:52 +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
2fe503c981 ICU-12410 start to port class CaseMap to Java; make case mapping impl code work with CharSequence & Appendable
X-SVN-Rev: 39603
2017-01-25 23:52:55 +00:00
Markus Scherer
8e6641fb3c ICU-12410 port class Edits to Java
X-SVN-Rev: 39590
2017-01-21 00:53:52 +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
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
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
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
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
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
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
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