Commit Graph

82 Commits

Author SHA1 Message Date
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