Commit Graph

60 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
Markus Scherer
76b93683b4 ICU-10338 test & fix ucol_setReorderCodes({default})
X-SVN-Rev: 34319
2013-09-13 21:21:11 +00:00
Markus Scherer
8f38199123 ICU-10365 fix namespace issue: icu::UInitOnce
X-SVN-Rev: 34252
2013-09-10 00:34:12 +00:00
Andy Heninger
978f71fe78 ICU-10051 Mutexes: introduce UInitOnce; remove UMTX_CHECK; replace all uses of UMTX_CHECK.
X-SVN-Rev: 33787
2013-05-31 23:50:15 +00:00
Markus Scherer
2982958b06 ICU-10128 update ICU to Unicode 6.3 beta (merge from branches/markus/uni63 at r33661)
X-SVN-Rev: 33662
2013-05-15 21:51:04 +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
Stuart Gill
28e701c0d6 ICU-9095 fix for reorder rules mixed with other rules - better solution
X-SVN-Rev: 31313
2012-02-03 01:10:19 +00:00
Stuart Gill
bbe524b849 ICU-9095 fix for reorder rules mixed with other rules
X-SVN-Rev: 31311
2012-02-03 00:05:00 +00:00
Stuart Gill
871cc23d57 ICU-8468 changes following code review
X-SVN-Rev: 30074
2011-05-09 23:54:46 +00:00
Markus Scherer
b6ec20193a ICU-8171 fix warning in ucol_res.cpp/isAcceptableUCA()
X-SVN-Rev: 30000
2011-05-03 22:32:26 +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
b3ba6c0bf3 ICU-8295 API for collation reordering
X-SVN-Rev: 29671
2011-03-18 22:52:30 +00:00
Stuart Gill
37bf7cf633 ICU-8277 change interpretation of Zzzz in the collation reordering codes
X-SVN-Rev: 29364
2011-01-27 20:50:53 +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
Umesh Nair
c9ae826bca ICU-7023 Supporting import in collation rules
X-SVN-Rev: 28967
2010-11-01 22:23:49 +00:00
Steven R. Loomis
08eafbc52f ICU-3984 add #ifdefs around printfs
X-SVN-Rev: 28966
2010-11-01 20:11:36 +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
Steven R. Loomis
99998611d9 ICU-7482 z issues - cintltest passes!
X-SVN-Rev: 27754
2010-03-03 01:47:00 +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
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
Claire Ho
9efbecd983 ICU-6799 Fixed warnings for collation.
X-SVN-Rev: 25871
2009-04-22 23:10:07 +00:00
Michael Ow
9e716413b2 ICU-3378 Use constants in uloc.h.
X-SVN-Rev: 25678
2009-03-30 18:51:03 +00:00
Andy Heninger
c89045b0d6 ICU-6799 swat compiler warnings
X-SVN-Rev: 25661
2009-03-27 00:37:55 +00:00
Andy Heninger
2a788397fd ICU-2515 Make uenum_openStringEnumeration() public, rename to uenum_openFromStringEnumeration()
X-SVN-Rev: 25619
2009-03-18 20:23:40 +00:00
Michael Ow
aa05d999c7 ICU-3378 Port over getKeywordValuesForLocale API from ICU4J to ICU4C. Add test for this new API. Also add for, internal use, Linked List API for when creating UEnumeration.
X-SVN-Rev: 25527
2009-03-09 20:39:13 +00:00
Yoshito Umaoka
0d0f1dce49 ICU-3378 Checking in API headers for getKeywordValuesForLocale with empty implementation for 4.2M3.
X-SVN-Rev: 25407
2009-02-14 02:32:41 +00:00
Steven R. Loomis
2a70d1d602 ICU-6628 ignore @collation=default`
X-SVN-Rev: 24974
2008-11-17 21:46:15 +00:00
Steven R. Loomis
d52ac24d1e ICU-6628 prevent crash in ucol_open
X-SVN-Rev: 24972
2008-11-17 20:27:25 +00:00
John Emmons
34345f0371 ICU-6512 Fix dependency information for coll/root.txt to ucadata - Move ucadata and invuca to coll
X-SVN-Rev: 24616
2008-09-22 17:16:32 +00:00
Andy Heninger
1de383df48 ICU-6479 thread safety in collation initialization
X-SVN-Rev: 24448
2008-08-06 17:57:45 +00:00
Andy Heninger
0c2a587a9c ICU-6480 clean up UMTX_CHECK usage in lazy init
X-SVN-Rev: 24439
2008-08-05 00:09:13 +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
de6512a9c1 ICU-6132 Undo some unneccessary changes. Remove some tabs. Make sure that the UErrorCode is propagated when possible. When a UErrorCode is available, don't check for a NULL return value.
X-SVN-Rev: 23479
2008-02-23 19:15:18 +00:00
George Rhoten
2bc412e598 ICU-6076 Use window failure testing instead of max size testing. This allows you to skip some hash table failures. Hash tables grow by powers of 2.
X-SVN-Rev: 23409
2008-02-10 20:17:14 +00:00
Michael Ow
50b0630a5a ICU-6132 Include memory allocation check in ucol_elm and ucol_res.
X-SVN-Rev: 23249
2008-01-16 20:35:24 +00:00
George Rhoten
1d64a7d5b4 ICU-6125 Mark more data constant.
X-SVN-Rev: 23181
2008-01-08 03:46:30 +00:00
George Rhoten
bebc001574 ICU-6076 Fix a memory leak on really bad failures.
X-SVN-Rev: 23109
2007-12-18 19:07:36 +00:00
George Rhoten
344e2283d7 ICU-6076 Prevent a double mutex lock when the following happens.
ucol_open -> u_cleanup -> ures_open same locale.
Notice that the collator leaked, which contained open resource bundles. The resource bundle API didn't recover very well from this experience, and a double mutex lock happens, which is hard to debug in the test framework.

This change will make it easier to test the -m option, reduce open resources while a collator is running and make it easier to segment the collator for static libraries.

X-SVN-Rev: 23104
2007-12-18 01:19:16 +00:00
George Rhoten
fc532c8ac1 ICU-5743 Stop crashing when the default collator keyword is unsupported. Also add some other code coverage tests.
X-SVN-Rev: 21728
2007-06-13 22:53:28 +00:00
George Rhoten
871ce36286 ICU-5305 Allow ICU to build when U_USING_ICU_NAMESPACE is 0
X-SVN-Rev: 21656
2007-06-07 00:41:21 +00:00
George Rhoten
fad658d66d ICU-5279 Reduce the set of exported functions.
X-SVN-Rev: 21621
2007-06-03 06:08:46 +00:00
George Rhoten
fe98934f24 ICU-5440 Return the correct list of supported locales for collation.
X-SVN-Rev: 20520
2006-10-10 15:44:51 +00:00
George Rhoten
760e4c2a65 ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 20504
2006-10-06 18:08:06 +00:00
George Rhoten
fb9d074a03 ICU-5304 Allow source code to work again without using U_NAMESPACE_USE in public headers
X-SVN-Rev: 20245
2006-09-04 16:53:17 +00:00
George Rhoten
a4663ad545 ICU-5190 Fix ucol_safeClone to properly clone a collator.
X-SVN-Rev: 19629
2006-05-21 17:52:09 +00:00