Commit Graph

50 Commits

Author SHA1 Message Date
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
George Rhoten
3893bd1ab2 ICU-5190 Decrease size of collator. Performance isn't addressed, but it helps to reduce what to look at for cloning.
X-SVN-Rev: 19625
2006-05-15 05:08:49 +00:00
George Rhoten
8a9efb0f0f ICU-4703 ucol_openRules shouldn't use destination preflighting buffer rules on source strings.
X-SVN-Rev: 19485
2006-03-30 09:40:21 +00:00
George Rhoten
0ba4bdac5d ICU-4703 Don't crash when bad arguments are given.
X-SVN-Rev: 19480
2006-03-30 08:57:44 +00:00
Vladimir Weinstein
91ca58210c ICU-4395 Collation status should not reflect default value lookup status
X-SVN-Rev: 18210
2005-07-12 06:20:06 +00:00
Vladimir Weinstein
ad53822131 ICU-4355 remove dependency of ucol.cpp on ures
X-SVN-Rev: 18167
2005-07-07 22:12:43 +00:00
Ram Viswanadha
5cdd61a345 ICU-4450 synch data with CLDR 1.3-alpha
X-SVN-Rev: 17369
2005-03-22 01:25:51 +00:00
Eric Mader
41ca4f63ee ICU-4428 update copyright notices for ICU 3.3.
X-SVN-Rev: 17296
2005-03-08 22:49:59 +00:00
George Rhoten
7948649d33 ICU-4092 Move debugging code
X-SVN-Rev: 17098
2005-01-07 19:06:24 +00:00
George Rhoten
6670e0cbb9 ICU-4092 #if 0 dead debugging code
X-SVN-Rev: 17097
2005-01-07 18:45:15 +00:00
George Rhoten
a91af43a2d ICU-4281 Mostly split collation so that the runtime doesn't depend on service
registration, resource bundles, collation building/loading and collation meta information.
ucol_close still depends on ures_close, but it's better than before.

X-SVN-Rev: 16933
2004-12-09 04:23:42 +00:00