Commit Graph

24 Commits

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