Commit Graph

548 Commits

Author SHA1 Message Date
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
Andy Heninger
cb5db8f8b7 ICU-7299 fix misc compiler warnings.
X-SVN-Rev: 27048
2009-12-11 18:10:20 +00:00
Michael Ow
b4853d0331 ICU-7222 Remove Windows x64 warnings by casting explicitly.
X-SVN-Rev: 26870
2009-11-11 15:47:22 +00:00
Yoshito Umaoka
155dfc0605 ICU-7189 Fixed missing collation case bytes problem in ucol_nextSortKeyPart.
X-SVN-Rev: 26787
2009-10-14 21:45:30 +00:00
Andy Heninger
c89045b0d6 ICU-6799 swat compiler warnings
X-SVN-Rev: 25661
2009-03-27 00:37:55 +00:00
Peter Edberg
16d52812ca ICU-6777 Fix off-by-1 buffer size in ucol_prv_getSpecialCE for DIGIT_TAG & long digit strings
X-SVN-Rev: 25569
2009-03-12 20:21:35 +00:00
Peter Edberg
f12b1180ab ICU-4121 254 digits max for CODAN collation element (additional digits are separate element)
X-SVN-Rev: 25336
2009-01-29 07:44:27 +00:00
Eric Mader
5f73103b5a ICU-6659 Merge changes from branches/eric/boyer-moore
X-SVN-Rev: 25282
2009-01-22 00:24:48 +00:00
Markus Scherer
9be9a82b08 ICU-6530 add UTrie2 and improve upvec_ via svn merge -r 24551:24849 icu/branches/markus/utf8
X-SVN-Rev: 24862
2008-10-22 19:50:07 +00:00
Michael Ow
95ccfc636d ICU-2929 Include the minor UCA version when ucol_getVersion is called.
X-SVN-Rev: 24469
2008-08-08 15:04:18 +00:00
Andy Heninger
1de383df48 ICU-6479 thread safety in collation initialization
X-SVN-Rev: 24448
2008-08-06 17:57:45 +00:00
Claire Ho
3b9c7131aa ICU-5468 Array beyound write in ucol_getSortKey()
X-SVN-Rev: 24155
2008-06-11 21:37:03 +00:00
Michael Ow
c504eafdc8 ICU-5955 Add freeOffsetBuffer function to make sure that previously allocated offsetBuffer is freed to avoid memory leaks. Add deleter method in ssearch.cpp to remove hashtable objects. Delete various objects in intltest after it is no longer needed.
X-SVN-Rev: 24129
2008-06-09 21:18:46 +00:00
Eric Mader
ea4a1a7b48 ICU-5420 ucol_IGetPrevCE: always reset flags when finished w/ side buffer; fix a couple of signed/unsigned problems.
X-SVN-Rev: 23982
2008-05-26 19:18:33 +00:00
Eric Mader
9011fe483f ICU-5420 merge changes from branches/eric/string-search r.23303 - r.23976
X-SVN-Rev: 23977
2008-05-23 04:22:28 +00:00
Claire Ho
dd03825a4d ICU-5696 Fixed performance degredation for collation.
X-SVN-Rev: 23858
2008-05-01 01:18:54 +00:00
Michael Ow
debf923a89 ICU-6140 Ensure proper checking of Hiragana and Katakana common codepoints and add test for this.
X-SVN-Rev: 23797
2008-04-17 05:19:19 +00:00
Michael Ow
f92dfb834c ICU-6140 Undo previous commit.
X-SVN-Rev: 23789
2008-04-12 21:56:41 +00:00
Michael Ow
26e1e30df4 ICU-6140 Compare using sort keys on hiragana and (shifted is on or quaternary strength).
X-SVN-Rev: 23788
2008-04-11 19:27:21 +00:00
Michael Ow
89d5749692 ICU-6140 Use sort key comparison when hiragana is turned on.
X-SVN-Rev: 23764
2008-04-04 23:59:12 +00:00
Andy Heninger
71bf003171 ICU-5696 Unicode 5.1 Update
X-SVN-Rev: 23761
2008-04-04 22:47:43 +00:00
George Rhoten
4162dd185d ICU-6208 Refactor collation initialization code so that ucol_openBinary works in more conditions.
X-SVN-Rev: 23558
2008-03-12 06:24:36 +00:00
George Rhoten
6d5e7e7226 ICU-6188 ucol_getSortKey should return 0 upon memory allocation error.
X-SVN-Rev: 23478
2008-02-23 07:21:00 +00:00
George Rhoten
ba02cd8038 ICU-6188 Improve error handling for ucol_getSortKey when memory allocation fails.
X-SVN-Rev: 23464
2008-02-19 20:10:55 +00:00
George Rhoten
fa8aa3884b ICU-6076 Partially undo last change until further discussion.
X-SVN-Rev: 23453
2008-02-18 00:46:38 +00:00