Commit Graph

129 Commits

Author SHA1 Message Date
Markus Scherer
44d515a063 ICU-9556 CollationKey with internal array; cleaner more understandable ByteSink code and usage in calcSortKey
X-SVN-Rev: 32408
2012-09-19 23:41:47 +00:00
Markus Scherer
9107a7bb38 ICU-9460 also remove TestCollator::safeClone()
X-SVN-Rev: 32135
2012-08-08 23:50:47 +00:00
Markus Scherer
da6c36d287 ICU-9346 C++ Collator API cleanup, fix safeClone() bug (setRuleStringFromCollator() on the result), fix polymorphic operator==(), move some method implementations into the base class
X-SVN-Rev: 32100
2012-08-03 21:49:28 +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
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
Peter Edberg
0cc2fd091f ICU-8046 CLDR 1.9 integration pass 1, update tests
X-SVN-Rev: 28867
2010-10-19 03:31:50 +00:00
Markus Scherer
b5e1330176 ICU-7264 merge Unicode 6.0 into trunk from branches/markus/uni60 -r 28339:28657
X-SVN-Rev: 28661
2010-09-21 00:12:49 +00:00
John Emmons
72d8a8f889 ICU-7734 Merge CLDR 1.9M1 data into ICU
X-SVN-Rev: 28169
2010-06-10 17:54:04 +00:00
Steven R. Loomis
a1ea70071b ICU-7708 compiler warnings for 4.5.1 (batch 1)
X-SVN-Rev: 28103
2010-05-25 22:17:12 +00:00
Markus Scherer
1dbea6f001 ICU-7245 implement C++ public smart pointers; LocalPointer, LocalArray, LocalUConverterPointer etc.
X-SVN-Rev: 26904
2009-11-14 00:36:06 +00:00
Markus Scherer
66b63f9c48 ICU-7084 Unicode 5.2: merge -r 26464:26890 branches/markus/uni52 into trunk, and a little cleanup (C++)
X-SVN-Rev: 26898
2009-11-13 19:25:21 +00:00
Michael Ow
0ea3b2f2ca ICU-6991 Fix memory leaks in currpinf, uspoof, and some test in intltest.
X-SVN-Rev: 26658
2009-09-21 02:10:54 +00:00
John Vu
d617aa5932 ICU-6991 Code coverage for missing functions in NumberingSystem and Collator.
X-SVN-Rev: 26606
2009-09-04 22:14:57 +00:00
Michael Ow
6b1f9ef27c ICU-6905 Make intltest pass without any data.
X-SVN-Rev: 26096
2009-06-12 19:34:21 +00:00
Steven R. Loomis
9eb9dd4c83 ICU-6799 fix many warnings, improve tests
X-SVN-Rev: 25772
2009-04-15 01:57:02 +00:00
Markus Scherer
555b233fa9 ICU-6729 test compare(UCharIterator)
X-SVN-Rev: 25597
2009-03-16 23:05:22 +00:00
Markus Scherer
ab81668cd3 ICU-6729 add Collator::compare(UCharIterator) and Collator::compareUTF8(StringPiece)
X-SVN-Rev: 25585
2009-03-13 23:38:43 +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
71bf003171 ICU-5696 Unicode 5.1 Update
X-SVN-Rev: 23761
2008-04-04 22:47:43 +00:00
George Rhoten
7ecc972c39 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: 23107
2007-12-18 01:31:11 +00:00
Eric Mader
6a6f3feb6b ICU-5871 Fix crashes found running intltest w/o ICU data.
X-SVN-Rev: 22477
2007-08-23 01:19:39 +00:00
George Rhoten
9901edb69b ICU-5410 Improve code coverage
X-SVN-Rev: 20665
2006-11-15 22:36:22 +00:00
George Rhoten
75c157f092 ICU-5473 Allow this test to pass on machines set to the French locale.
X-SVN-Rev: 20637
2006-11-07 16:48:11 +00:00
George Rhoten
0545ba7212 ICU-5426 Reduce the size of intltest
X-SVN-Rev: 20422
2006-09-28 08:36:49 +00:00
George Rhoten
06ab467b86 ICU-5161 Fix some memory leaks.
X-SVN-Rev: 20026
2006-08-11 02:48:23 +00:00
Ram Viswanadha
40bba85d33 ICU-5201 add test case
X-SVN-Rev: 20014
2006-08-09 22:16:47 +00:00
Vladimir Weinstein
9662753980 ICU-5231 Update UCA 5.0 version values
X-SVN-Rev: 19729
2006-06-16 05:46:38 +00:00
George Rhoten
b29549eef4 ICU-5143 Make sure that proper ownership rules of the RuleBasedCollator are followed.
Do deep copying where needed.
Don't dereference NULL on failure to create rule string.
Initialize all member variables.
Consolidate copy and pasted code.

X-SVN-Rev: 19509
2006-04-02 19:07:50 +00:00
Vladimir Weinstein
1b99fba442 ICU-4350 Update collation builder and runtime version (changes due to UCA 4.1)
X-SVN-Rev: 18043
2005-06-24 23:09:31 +00:00
Eric Mader
5dc3d7c9d4 ICU-4561 Update copyright notices for ICU 3.4
X-SVN-Rev: 17822
2005-06-07 23:38:09 +00:00
Vladimir Weinstein
67be180f3d ICU-4350 Update intltest with UCA 4.1 changes
X-SVN-Rev: 17624
2005-05-19 06:46:30 +00:00
George Rhoten
937bd376ff ICU-3004 An AIX machine set to the tr_TR locale complains bitterly about some "builtin" functions defined in stdlib.h.
Include it in fewer places so that fewer warnings appear, and make sure that it's more difficult to accidentally use the C malloc and free.

X-SVN-Rev: 16912
2004-12-03 20:22:01 +00:00
George Rhoten
94a92cdceb ICU-3938 Add CLDR changes for English.
X-SVN-Rev: 16465
2004-10-13 00:44:55 +00:00
Steven R. Loomis
164b735f3f ICU-3938 CLDR 1.2 test updates
X-SVN-Rev: 16384
2004-10-01 21:07:02 +00:00
Ram Viswanadha
15bd863941 ICU-3925 various fixes
X-SVN-Rev: 16159
2004-08-13 20:34:31 +00:00
Ram Viswanadha
e094aa0975 ICU-3100 fix failure on cygwin ... just add a cast to UnicodeString constructor
X-SVN-Rev: 15696
2004-06-03 22:50:39 +00:00
Ram Viswanadha
6215c57675 ICU-3100 fix failure on cygwin ... just add a cast to UnicodeString constructor
X-SVN-Rev: 15695
2004-06-03 22:50:09 +00:00
Vladimir Weinstein
4c96e76b8f ICU-3100 redo getContractions after a review. Add tests for getContractions and getUnsafeSet
X-SVN-Rev: 15683
2004-06-03 19:26:16 +00:00
Eric Mader
004268d484 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15414
2004-05-19 21:36:51 +00:00
Vladimir Weinstein
1286cc7796 ICU-3515 collation API tests updated with new collation version numbers
X-SVN-Rev: 14349
2004-01-16 07:12:16 +00:00
George Rhoten
5589cb7bf5 ICU-3222 Fix some compiler warnings.
X-SVN-Rev: 14338
2004-01-16 00:59:24 +00:00
Vladimir Weinstein
937e0d7702 ICU-3461 fixed tests to reflect collation changes
X-SVN-Rev: 14163
2003-12-17 21:04:12 +00:00
Markus Scherer
6a4d576318 ICU-3403 cut out @obsolete ICU 2.8 APIs
X-SVN-Rev: 13769
2003-11-19 21:37:56 +00:00
Vladimir Weinstein
3943da5755 ICU-2458 Update tests according to the new UCA data file
X-SVN-Rev: 12922
2003-08-23 01:46:02 +00:00
George Rhoten
6c952cb83d ICU-3053 Porting changes for MPRAS
X-SVN-Rev: 12552
2003-06-23 23:16:10 +00:00
George Rhoten
29ba78262c ICU-2699 Fix some compiler warnings.
X-SVN-Rev: 12487
2003-06-12 01:37:25 +00:00
Vladimir Weinstein
7931ebe661 ICU-2590 increase function coverage
X-SVN-Rev: 12442
2003-06-11 01:01:40 +00:00
George Rhoten
92842673da ICU-2699 Fix some compiler warnings.
X-SVN-Rev: 12376
2003-06-09 04:57:01 +00:00
Vladimir Weinstein
4df42a86bb ICU-2840 tests shouldn't crash if there is no data
X-SVN-Rev: 12340
2003-06-06 04:54:34 +00:00
George Rhoten
64823cae01 ICU-2699 Fix some compiler warnings
X-SVN-Rev: 12236
2003-06-02 23:34:58 +00:00