Commit Graph

572 Commits

Author SHA1 Message Date
Markus Scherer
e977c057a9 ICU-9101 merge branches/markus/collv2@35225 into the trunk
X-SVN-Rev: 35227
2014-02-25 21:21:49 +00:00
Yoshito Umaoka
271e788d65 ICU-9396 Accept NULL pointer with length of 0 in ucol_strcoll and ucol_strcollUTF8. Also added some test case verifying the behavior.
X-SVN-Rev: 34363
2013-09-17 21:08:10 +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
76b93683b4 ICU-10338 test & fix ucol_setReorderCodes({default})
X-SVN-Rev: 34319
2013-09-13 21:21:11 +00:00
Markus Scherer
b20a9793f9 ICU-10282 deprecate bad API RuleBasedCollator::cloneRuleData(), call cloneBinary()
X-SVN-Rev: 34314
2013-09-13 19:25:01 +00:00
Markus Scherer
9ef3145fbc ICU-9915 do not mask off the continuation bits and then later test this masked CE value for isContinuation()
X-SVN-Rev: 34298
2013-09-13 03:07:39 +00:00
Markus Scherer
bc31ae8173 ICU-9662 add & test & use U8_GET_OR_FFFD(), U8_NEXT_OR_FFFD(), U8_PREV_OR_FFFD()
X-SVN-Rev: 32796
2012-11-11 06:14:18 +00:00
Markus Scherer
5ed21eb567 ICU-9713 fix ucol_mergeSortkeys(): return correct length, handle empty levels
X-SVN-Rev: 32779
2012-11-09 01:04:05 +00:00
Markus Scherer
5d5811d46f ICU-9556 add virtual destructors for *KeyByteSink classes as required by source/test/depstest/depstest.py, see ICU ticket #8454
X-SVN-Rev: 32636
2012-10-15 22:12:05 +00:00
Yoshito Umaoka
5d4eb5c918 ICU-9567 Fixed a bad condition for Latin 1 checking updated in the previous change.
X-SVN-Rev: 32599
2012-10-11 18:10:04 +00:00
Yoshito Umaoka
b30caaeeac ICU-9567 Changes based on Markus's review feedback.
X-SVN-Rev: 32595
2012-10-11 03:24:59 +00:00
Yoshito Umaoka
7c176da599 ICU-9567 Check for input status. Also use U_ILLEGAL_ARGUMENT_ERROR on null input.
X-SVN-Rev: 32551
2012-10-08 18:06:41 +00:00
Peter Edberg
b72359eca5 ICU-9623 ICU4C 50 API promotions, fix U_DRAFT -> U_STABLE as needed in .h, fix U_DRAFT -> U_CAPI in .c/cpp
X-SVN-Rev: 32547
2012-10-08 05:16:32 +00:00
Yoshito Umaoka
f82276faf1 ICU-9567 Merged ucol_strcollUTF8 to trunk.
X-SVN-Rev: 32534
2012-10-05 23:44:00 +00:00
Markus Scherer
44d515a063 ICU-9556 CollationKey with internal array; cleaner more understandable ByteSink code and usage in calcSortKey
X-SVN-Rev: 32408
2012-09-19 23:41:47 +00:00
George Rhoten
89c00402a8 ICU-9474 Undo the changeset to reduce the exported C++ static variables.
X-SVN-Rev: 32299
2012-08-30 03:19:37 +00:00
George Rhoten
ce96470daf ICU-9474 Reduce the exported C++ static variables too.
X-SVN-Rev: 32159
2012-08-12 00:33:34 +00:00
Markus Scherer
2f6df5d520 ICU-9434 use static_cast<pointer type>(void *) not reinterpret_cast
X-SVN-Rev: 32119
2012-08-08 00:50:16 +00:00
Markus Scherer
520264ec8c ICU-9406 deprecate UCOL_HIRAGANA_QUATERNARY_MODE, disable setter
X-SVN-Rev: 32108
2012-08-04 17:24:45 +00:00
Andy Heninger
f7c10f5686 ICU-9344 fix rare memory leak in ucol.cpp
X-SVN-Rev: 31858
2012-05-25 18:25:38 +00:00
Michael Ow
0ca13b73b0 ICU-9292 Merge BEAM warning fixes from branch into trunk
X-SVN-Rev: 31792
2012-05-03 05:50:26 +00:00
Steven R. Loomis
eec528c85f ICU-8157 commit from branch
X-SVN-Rev: 31434
2012-02-18 23:10:51 +00:00
Markus Scherer
43bb4f2cf4 ICU-8827 Unicode 6.1 update: svn merge branches/markus/uni61 at r31062 into the trunk
X-SVN-Rev: 31071
2011-12-08 22:37:24 +00:00
Markus Scherer
524fd241c5 ICU-8942 use smaller/simpler FCD data rather than building an FCD trie
X-SVN-Rev: 30985
2011-11-28 22:59:49 +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
2862296471 ICU-8454 virtual destructors should be explicit, and defined in a .cpp file, so that they can serve as key functions
X-SVN-Rev: 30423
2011-07-26 05:32:25 +00:00
Yoshito Umaoka
0f29677f6a ICU-8624 Fixed a collation key compression problem. A tertiary key value was incorrect with a long string when case first option is set.
X-SVN-Rev: 30220
2011-06-20 17:18:46 +00:00
Stuart Gill
871cc23d57 ICU-8468 changes following code review
X-SVN-Rev: 30074
2011-05-09 23:54:46 +00:00
Steven R. Loomis
f7ff9a609a ICU-8545 urename for milestone:4.8 - fix tool issues, also add svn:ignore to dicttrieperf/Makefile
X-SVN-Rev: 30072
2011-05-09 23:31:44 +00:00
Markus Scherer
2bb81c0eca ICU-8079 set the correct UErrorCode
X-SVN-Rev: 29975
2011-05-03 04:11:32 +00:00
Markus Scherer
2021d92a62 ICU-8079 rewrite/simplify sort key buffer/memory management, fixes overflow & length counting bugs
X-SVN-Rev: 29968
2011-05-03 00:29:45 +00:00
Stuart Gill
de5faa255e ICU-8468 add cloning of collator reordering information - also added test for duplicate reorder codes
X-SVN-Rev: 29779
2011-04-12 18:23:27 +00:00
Stuart Gill
a9354cbb6b ICU-8295 API for collation reordering - fix zeroing out of structure
X-SVN-Rev: 29692
2011-03-24 00:09:06 +00:00
Michael Ow
44cf03ad83 ICU-8295 Put UCOL_DEBUG define statement around printf calls
X-SVN-Rev: 29674
2011-03-19 04:34:31 +00:00
Stuart Gill
b3ba6c0bf3 ICU-8295 API for collation reordering
X-SVN-Rev: 29671
2011-03-18 22:52:30 +00:00
Peter Edberg
798d4db393 ICU-8290 Oops, replace some tabs that crept in.
X-SVN-Rev: 29517
2011-03-02 23:55:37 +00:00
Peter Edberg
f0fe89f14c ICU-8290 (1) in ucol_IGetNextCE/ucol_IGetPrevCE, add iteration when an ignorable
element is produced from Hangul expansion so it loops again to process the first jamo
from the expansion before returning; (2) in ucol_prv_getSpecialPrevCE, when Hangul
are expanded, add offsets for the expansion chars (as in collPrevIterNormalize).

X-SVN-Rev: 29473
2011-02-24 19:02:08 +00:00
Stuart Gill
c8a64bd04e ICU-3984 update from code review and a collation reordering API test
X-SVN-Rev: 29007
2010-11-05 20:01:14 +00:00
Stuart Gill
4a9aeda18c ICU-3984 updates from code review
X-SVN-Rev: 29004
2010-11-05 18:43:45 +00:00
Stuart Gill
b1a76e6a88 ICU-3984 updates based on code review and fix of memory leak during collation reordering rule parsing
X-SVN-Rev: 28999
2010-11-04 20:12:39 +00:00
Stuart Gill
94239208a0 ICU-3984 fix a bug in the resource loading of collation reordering and rename script reordering to reordering codes
X-SVN-Rev: 28993
2010-11-03 02:41:22 +00:00
Stuart Gill
5dd9ea7768 ICU-3984 update the uca file version, add support for reading/writing reordering from/to resources, update FractionalUCA.txt to a format for the genuca tool
X-SVN-Rev: 28975
2010-11-02 02:21:57 +00:00
Stuart Gill
0c21fdf068 ICU-3984 changes to the collation reordering - API works same as rules and enhanced testing
X-SVN-Rev: 28960
2010-10-30 00:42:12 +00:00
Stuart Gill
110e2ceb05 ICU-3984 integrate collation reordering from branch - svn+ssh://source.icu-project.org/repos/icu/icu/branches/sgill/scriptreorder2 -r 28883:28924
X-SVN-Rev: 28926
2010-10-27 18:02:52 +00:00
Markus Scherer
d29bfdf854 ICU-7264 UCA 6.0 data, test data, and bug fixes; from branches/markus/uca60 -r 28826:28857
X-SVN-Rev: 28875
2010-10-19 21:48:04 +00:00
Andy Heninger
74e297291f ICU-7780 fix various compiler warnings
X-SVN-Rev: 28301
2010-07-12 18:03:29 +00:00
Markus Scherer
f59e726a30 ICU-7677 fixed UErrorCode inconsistency and clarified length/overflow handling
X-SVN-Rev: 28196
2010-06-15 16:24:45 +00:00
Markus Scherer
9b1bbaa705 ICU-7686 initialize FCD only when the collator needs it
X-SVN-Rev: 28062
2010-05-14 17:16:13 +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
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