Commit Graph

152 Commits

Author SHA1 Message Date
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Fredrik Roubert
7f4b8d106b ICU-12012 Replace all sizeof p / sizeof *p with UPRV_LENGTHOF().
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/285520043 .

X-SVN-Rev: 38337
2016-02-23 10:40:09 +00:00
Markus Scherer
a9d7c3e4bd ICU-11449 reorder single scripts not groups, scripts/groups can start on top-16-bit boundaries, data formatVersion 5 for new scripts data and optional reorderRanges appended to reorderCodes
X-SVN-Rev: 36924
2015-01-07 03:37:11 +00:00
Steven R. Loomis
7e6c572256 ICU-10774 fix a knownissue: Collator::getAvailableLocales calculation.
Also, replace uhash_nextElement's parameter "-1" with UHASH_FIRST for clarity.
Also, improve service registration debugging code

X-SVN-Rev: 36836
2014-12-09 23:54:56 +00:00
Markus Scherer
326e9592dc ICU-10823 add ures_openNoDefault() and use it from collation data loader and BreakIterator; refactor ures_openXyz() for code sharing
X-SVN-Rev: 36806
2014-12-04 21:11:26 +00:00
Michael Ow
7e3befc1a6 ICU-10992 Ensure ICU4C 54 test suite passes without data
X-SVN-Rev: 36516
2014-09-15 21:51:57 +00:00
Steven R. Loomis
7594250cc5 ICU-7653 changed uprv_lengthof to UPRV_LENGTHOF, also added apidoc
X-SVN-Rev: 36275
2014-08-28 22:13:45 +00:00
Tom Zhang
ee1f29b584 ICU-7653 move LENGTHOF(array) to common, internal header
X-SVN-Rev: 36265
2014-08-28 14:55:34 +00:00
Markus Scherer
725657cd3d ICU-10477 drop already-marginal support for ULOC_REQUESTED_LOCALE
X-SVN-Rev: 36252
2014-08-27 21:27:37 +00:00
Markus Scherer
37c7676f5e ICU-10912 create Collator from binary: support length<0 again, and document that the base collator is required (see ticket #10517)
X-SVN-Rev: 36021
2014-07-10 22:17:20 +00:00
Michael Ow
b1de9c0f30 ICU-10842 Fix header test failures, fix no data test errors, and update file properties
X-SVN-Rev: 35982
2014-07-02 05:09:05 +00:00
Markus Scherer
da533923a2 ICU-8260 support all collation-related keywords in Collator::createInstance()
X-SVN-Rev: 35762
2014-05-27 18:50:10 +00:00
Markus Scherer
da7170882b ICU-10636 make -w tests work without collation rule strings, and without big5han and gb2312han
X-SVN-Rev: 35558
2014-04-01 19:59:27 +00:00
John Emmons
7525392d15 ICU-10745 Merge CLDR25 data into trunk
X-SVN-Rev: 35429
2014-03-12 04:34:00 +00:00
Markus Scherer
c9cda28161 ICU-10738 CollationAPITest/TestVariableTopSetting use the root collator, fails with en_US_POSIX
X-SVN-Rev: 35381
2014-03-07 17:31:39 +00:00
Markus Scherer
e977c057a9 ICU-9101 merge branches/markus/collv2@35225 into the trunk
X-SVN-Rev: 35227
2014-02-25 21:21:49 +00:00
Michael Ow
4835d5705a ICU-10398 Ensure cintltst and intltest passes without data
X-SVN-Rev: 34398
2013-09-19 02:32:57 +00:00
Steven R. Loomis
f0dd9e78dc ICU-10379 fixes for IBM i - passes all tests!
X-SVN-Rev: 34348
2013-09-17 06:31:09 +00:00
Markus Scherer
59b210409f ICU-9915 add comment about test case
X-SVN-Rev: 34309
2013-09-13 17:09:57 +00:00
Markus Scherer
9ef3145fbc ICU-9915 do not mask off the continuation bits and then later test this masked CE value for isContinuation()
X-SVN-Rev: 34298
2013-09-13 03:07:39 +00:00
Andy Heninger
ae4350661b ICU-10048 Fix some compiler warnings in ICU4C.
X-SVN-Rev: 33444
2013-03-21 01:42:01 +00:00
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