Commit Graph

149 Commits

Author SHA1 Message Date
Markus Scherer
ca65e1c41e ICU-9460 deprecate Collator::safeClone() and default-implement it in the base class
X-SVN-Rev: 32127
2012-08-08 21:03:52 +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
Jungshik Shin
4934b397a8 ICU-8343 fix build errors in Visual Studio when exception is disabled
X-SVN-Rev: 32010
2012-06-28 23:28:00 +00:00
Steven R. Loomis
f0eb1ff995 ICU-8157 remove U_EXPORT2 and add ifdef no internal
X-SVN-Rev: 31444
2012-02-19 09:14:56 +00:00
Steven R. Loomis
5824cdd742 ICU-8157 commit from branch
X-SVN-Rev: 31439
2012-02-19 06:39:16 +00:00
Steven R. Loomis
eec528c85f ICU-8157 commit from branch
X-SVN-Rev: 31434
2012-02-18 23:10:51 +00:00
Markus Scherer
9f7d74001c ICU-8605 document & test ICU4C dependencies, remove cycles, reduce some deps; merged from branches/markus/depstest -r 30155:30193
X-SVN-Rev: 30194
2011-06-03 05:23:57 +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
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
Steven R. Loomis
6a5f83ff80 ICU-3984 fix mismatched const int in r28999
X-SVN-Rev: 29003
2010-11-04 22:36:25 +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
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
f6a04770ff ICU-7455 use compiler RTTI; stop adding poor mans RTTI to new class hierarchies
X-SVN-Rev: 28075
2010-05-19 17:29:33 +00:00
Claire Ho
9efbecd983 ICU-6799 Fixed warnings for collation.
X-SVN-Rev: 25871
2009-04-22 23:10:07 +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
9cb51f2e5d ICU-6132 Add proper checking of pointer before dereferencing in timezone and tblcoll.
X-SVN-Rev: 23244
2008-01-16 17:13:11 +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
Eric Mader
bb4a371fdb ICU-5805 Update copyright notices for ICU 3.8
X-SVN-Rev: 22167
2007-07-27 03:12:12 +00:00
George Rhoten
6cc5994f9f ICU-5279 Hide more internal API.
X-SVN-Rev: 21687
2007-06-11 02:32:47 +00:00
Steven R. Loomis
83c6d252dc ICU-5270 don't crash when no data present
X-SVN-Rev: 19876
2006-07-21 22:01:55 +00:00
George Rhoten
7a50d6f62d ICU-5161 Fix Purify/valgrind warnings about reading uninitialized memory.
X-SVN-Rev: 19552
2006-04-15 08:07:30 +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
acdf5b9f54 ICU-4587 fix for C++ wrappers for ucol_cloneBinary and ucol_openBinary
X-SVN-Rev: 18069
2005-06-28 16:35:28 +00:00
Vladimir Weinstein
1e4e3fb4f3 ICU-4587 add C++ wrappers for ucol_cloneBinary and ucol_openBinary
X-SVN-Rev: 17909
2005-06-16 20:08:56 +00:00
George Rhoten
f3229bc8ac ICU-4225 Better character escaping
X-SVN-Rev: 16868
2004-11-15 23:03:53 +00:00
Andy Heninger
9f6f294e5f ICU-4225 remove non-ascii characters from source code
X-SVN-Rev: 16835
2004-11-12 01:11:27 +00:00
Eric Mader
1e856ba7a2 ICU-4179 update copyright notices for ICU 3.2
X-SVN-Rev: 16683
2004-10-29 23:42:49 +00:00
George Rhoten
9fe39e1c8c ICU-3805 Break putil.h/utypes.h header file dependancy loop
X-SVN-Rev: 16529
2004-10-18 02:43:33 +00:00
George Rhoten
592ed13f9a ICU-4084 Make sure that ures_* is used instead of the slower ResourceBundle.
X-SVN-Rev: 16251
2004-09-03 15:24:16 +00:00
George Rhoten
8e7a34ec49 ICU-3221 Fix AIX linker warnings, and reduce amount of private static class data being exported (some mainframes have minor issues with that)
X-SVN-Rev: 13337
2003-10-07 15:49:47 +00:00
George Rhoten
e718691833 ICU-3221 Fix AIX linker warnings.
X-SVN-Rev: 12985
2003-08-29 18:29:26 +00:00
Vladimir Weinstein
752e44d7d9 ICU-2840 tests shouldn't crash if there is no data
X-SVN-Rev: 12342
2003-06-06 05:05:22 +00:00
Alan Liu
de95737116 ICU-2959 update copyright dates to include 2003
X-SVN-Rev: 12253
2003-06-03 20:58:22 +00:00
Vladimir Weinstein
7ec7853f1e ICU-2699 more gcc warnings fixes
X-SVN-Rev: 11958
2003-05-15 23:20:11 +00:00
Doug Felt
399b051326 ICU-2755 add ucol_open_internal
X-SVN-Rev: 11846
2003-05-08 22:21:05 +00:00
Doug Felt
556c72cc54 ICU-2755 fixed RuleBasedCollator clone/cc operations to handle aliasing cases,
added additional tests for getLocale of registered collators, misc fixes to ICUService,
StringSearch, ucollator to support changes.

X-SVN-Rev: 11786
2003-05-02 22:17:14 +00:00
Vladimir Weinstein
2fe0072a9d ICU-2222 introduce overloads for functions that used old C++ enums. Deprecate C++ enum using functions.
X-SVN-Rev: 11755
2003-05-01 17:43:01 +00:00
Markus Scherer
8c1740d468 ICU-2710 remove @obsolete ICU 2.6 and earlier code
X-SVN-Rev: 11749
2003-05-01 01:51:51 +00:00
Vladimir Weinstein
6569f131ac ICU-2851 initial implementation of ucol_equals (not yet complete, need to analyze rules)
X-SVN-Rev: 11746
2003-05-01 00:57:27 +00:00
Doug Felt
09bd2b2b11 ICU-2755 service registration for collation
X-SVN-Rev: 11722
2003-04-28 21:13:14 +00:00
GCL Shanghai
2de3bade18 ICU-2222 fix breaking changes
X-SVN-Rev: 11357
2003-03-19 13:21:51 +00:00
GCL Shanghai
513a23fdae ICU-2222 Deprecate C++ enums that duplicate C enums
X-SVN-Rev: 11137
2003-02-21 08:32:22 +00:00
Markus Scherer
3d38617bdc ICU-2248 modularize icu, allow parts to not be built
X-SVN-Rev: 9900
2002-09-20 01:54:48 +00:00
Vladimir Weinstein
150ad44972 ICU-1433 getTailoredSet C/C++ return all the canonically equivalent sequences. Also added tests
X-SVN-Rev: 9867
2002-09-17 06:27:51 +00:00
Vladimir Weinstein
8238930139 ICU-1433 getTailoredSet C/C++ take 1
X-SVN-Rev: 9837
2002-09-04 06:08:04 +00:00
George Rhoten
d7e0797b2c ICU-2085 #ifdef out deprecated code
X-SVN-Rev: 9756
2002-08-21 19:12:24 +00:00