Commit Graph

3691 Commits

Author SHA1 Message Date
Travis Keep
3caaf7e61a ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37826
2015-08-26 18:18:55 +00:00
George Rhoten
e3e7183663 ICU-11818 Implement PluralRules in fractional RBNF
X-SVN-Rev: 37823
2015-08-26 10:42:17 +00:00
Travis Keep
2860cd48c4 ICU-11740 DecimalFormat refactor.
X-SVN-Rev: 37821
2015-08-25 23:31:01 +00:00
Andy Heninger
57ac300668 ICU-11480 added tests for regex with capture groups that do not participate in match.
X-SVN-Rev: 37816
2015-08-25 20:47:38 +00:00
George Rhoten
e097e1b9ee ICU-8223 Add rule syntax for NaN, infinity and alternate decimal points.
Other issues addressed:
* Some performance enhancements were added for good measure. Creating new RuleBasedNumberFormat objects can take a long time due to all the rule parsing. This was ported from ICU4J.
* I fixed a potential infinite recursion problem when RuleBasedNumberFormat used NumberFormat.createInstance, which could occasionally depend on creating RuleBasedNumberFormat for itself, which was bad. This was ported from ICU4J.
* I fixed a potential memory leak due to lazy initialization of some RBNF data members in a multithreaded environment, which is fine in Java, but it's not okay in C++. We no longer cast away const due to this, which is good.
* There were some compiler warnings and errors found while trying to debug this code on my machine. I fixed those too.

X-SVN-Rev: 37810
2015-08-25 16:55:52 +00:00
Andy Heninger
80a6684a7b ICU-11794 change error handling of CharString::appendInvariantChars()
X-SVN-Rev: 37790
2015-08-20 00:55:03 +00:00
Travis Keep
0a10ba1d7e ICU-11767 Fix brokenbuild.
X-SVN-Rev: 37730
2015-08-07 13:39:05 +00:00
Travis Keep
abb16f16c5 ICU-11767 Try to fix failing test.
X-SVN-Rev: 37728
2015-08-06 20:19:23 +00:00
Travis Keep
8b18741503 ICU-11767 Bound the ICU UnifiedCache.
X-SVN-Rev: 37723
2015-08-05 20:21:14 +00:00
Steven R. Loomis
f87d28cfd2 ICU-11248 merge to trunk: FilteredBreakIteratorBuilder work
* passes rbbi extended tests
* uses <locale en@x-uli=true> in rbbitst.txt,
so added a "known issue" for this when en@ss=standard will suffice.

X-SVN-Rev: 37721
2015-08-05 00:03:18 +00:00
Steven R. Loomis
8945010819 ICU-11248 improve organization of sources within project files
X-SVN-Rev: 37718
2015-08-04 22:22:15 +00:00
Steven R. Loomis
5816851466 ICU-11689 add assertEquals(double..)
X-SVN-Rev: 37705
2015-07-30 22:45:39 +00:00
Michael Ow
73e9defb72 ICU-11628 Fix some no data test failures
X-SVN-Rev: 37633
2015-06-30 23:45:58 +00:00
Michael Ow
58fd505a84 ICU-11628 Fix uconfig test failures
X-SVN-Rev: 37631
2015-06-30 17:20:55 +00:00
Peter Edberg
b64eeb479d ICU-11628 C, update MeasureUnit interfaces and tests for new units in CLDR 27/28
X-SVN-Rev: 37626
2015-06-28 03:26:33 +00:00
Peter Edberg
4cdffbd453 ICU-11708 CompactDecimaFormat should override and implement several more format methods
X-SVN-Rev: 37611
2015-06-23 17:33:03 +00:00
Markus Scherer
f99546419f ICU-11711 better memory management in GenrbImporter::getRules() using string class & auto pointers
X-SVN-Rev: 37575
2015-06-16 11:23:04 +00:00
Travis Keep
128d05a024 ICU-11731 Fix number format data driven tests to show test failures in test summary.
X-SVN-Rev: 37559
2015-06-15 17:33:23 +00:00
John Emmons
75ed4ce808 ICU-11728 First cut CLDR 28 data integration
X-SVN-Rev: 37524
2015-06-10 18:38:06 +00:00
Travis Keep
9672f10d99 ICU-10458 Add more data driven tests for parsing currency.
X-SVN-Rev: 37507
2015-06-09 18:01:13 +00:00
Travis Keep
df332d3722 ICU-10458 Keep data driven tests in sync.
X-SVN-Rev: 37496
2015-06-03 17:10:45 +00:00
Travis Keep
0d6a4006f0 ICU-11692 Fix broken build.
X-SVN-Rev: 37478
2015-05-29 22:17:52 +00:00
Markus Scherer
fc290db4c1 ICU-11574 near-final Unicode 8 data with new block API constants, code adjustments & fixes; svn merge --reintegrate branches/markus/uni80
X-SVN-Rev: 37473
2015-05-28 23:16:00 +00:00
Travis Keep
2cbff1ac8b ICU-11713 Ensure that what getGroupingSize() returns doesn't change just because grouping is enabled.
X-SVN-Rev: 37472
2015-05-28 22:45:45 +00:00
Travis Keep
762078d2f1 ICU-11692 Add DecimalFormat data driven tests.
X-SVN-Rev: 37471
2015-05-28 20:09:43 +00:00
Markus Scherer
f7e715daee ICU-10086 move & swap for UnicodeString, LocalPointer, LocalArray
X-SVN-Rev: 37469
2015-05-28 17:03:45 +00:00
Yoshito Umaoka
b8d76f6ade ICU-11677 Added a couple of test cases parsing abutting numeric date field patterns including quarter - Qyy and QQyy in TestQuarters(). ICU4C did not have the parsing problem reported by #11677, but I want to add some test cases matchnig the ones added in ICU4J side.
X-SVN-Rev: 37453
2015-05-19 21:25:21 +00:00
Andy Heninger
4d4ee85673 ICU-11659 Remove remnants of ICU_USE_THREADS
X-SVN-Rev: 37415
2015-04-30 01:10:04 +00:00
Yoshito Umaoka
e49f68ebab ICU-11630 tzdata2015d to ICU4C
X-SVN-Rev: 37399
2015-04-24 23:45:28 +00:00
Andy Heninger
4651204fb5 ICU-11643 Several threading test cleanups.
X-SVN-Rev: 37395
2015-04-23 23:59:24 +00:00
George Rhoten
5c4fe2e90a ICU-4243 Fix RBNF ordinal parsing testing. This has worked for a while now.
X-SVN-Rev: 37386
2015-04-23 08:19:47 +00:00
Travis Keep
4a51a2f421 ICU-11652 Change default padding character from astricks 0x002A to space 0x0020
X-SVN-Rev: 37378
2015-04-22 21:54:15 +00:00
Andy Heninger
ae678d796b ICU-11609 add svn:eol-style property to vcxproj files.
X-SVN-Rev: 37364
2015-04-17 21:25:48 +00:00
Andy Heninger
67535f4a55 ICU-11603 Transliterator thread safety fixes.
X-SVN-Rev: 37342
2015-04-15 22:43:15 +00:00
Markus Scherer
1d4b6a6ec7 ICU-11551 new UNISTR_OBJECT_SIZE=64 for 27 UChars stored internally on 64-bit machine
X-SVN-Rev: 37339
2015-04-15 18:49:55 +00:00
Michael Ow
2da5d16d40 ICU-11630 Update tzdata in ICU4C to 2015c
X-SVN-Rev: 37335
2015-04-14 21:24:11 +00:00
Yoshito Umaoka
8e8e3375f3 ICU-11315 tzdata2015b updates in ICU4C.
X-SVN-Rev: 37266
2015-03-24 22:33:38 +00:00
Michael Ow
8d7401bce4 ICU-11583 Fix string literal error
X-SVN-Rev: 37244
2015-03-18 02:45:56 +00:00
Travis Keep
210b877adc ICU-11583 Port Mark's JAVA fixes to C++
X-SVN-Rev: 37243
2015-03-17 19:09:11 +00:00
Michael Ow
9401ac86a0 ICU-11433 Fix some no data test failures
X-SVN-Rev: 37219
2015-03-11 21:09:25 +00:00
John Emmons
368eb4bb16 ICU-11555 Integrate CLDR 27 data
X-SVN-Rev: 37169
2015-03-06 22:58:33 +00:00
Markus Scherer
47746a9b20 ICU-11392 make readLine() easier to use
X-SVN-Rev: 37160
2015-03-06 20:55:19 +00:00
Yoshito Umaoka
3195f25068 ICU-11358 Separate host time zone detection code from the default time zone initialization code and make it public API as TimeZone::detectHostTimeZone().
X-SVN-Rev: 37148
2015-03-05 06:34:51 +00:00
Peter Edberg
017cf9d232 ICU-10936 C: Add extensive tests for umalqura conversion accuracy
X-SVN-Rev: 37139
2015-03-05 01:06:31 +00:00
Peter Edberg
3076cb2149 ICU-11510 C: Support narrow AM/PM "aaaaa" for date format and parse
X-SVN-Rev: 37124
2015-03-04 05:43:28 +00:00
Peter Edberg
c77f9b24c8 ICU-10141 Add UErrorCode param to Region methods that return StringEnumeration*
X-SVN-Rev: 37123
2015-03-04 01:40:44 +00:00
Andy Heninger
1c9d614184 ICU-11547 Locale::getBaseName(), remove lazy init, fixes thread safety problem.
X-SVN-Rev: 37117
2015-03-03 23:50:43 +00:00
Markus Scherer
d03f32e29d ICU-11392 data-driven collation test: failed Collator creation skips over its test cases then continues testing
X-SVN-Rev: 37112
2015-03-03 19:38:29 +00:00
George Rhoten
54930e302a ICU-11532 Infinite loop while parsing an RBNF rule with plural format
X-SVN-Rev: 37105
2015-03-02 03:20:51 +00:00
Markus Scherer
7f6179f106 ICU-11535 make tests pass with only warnings when UCONFIG_ONLY_HTML_CONVERSION
X-SVN-Rev: 37088
2015-02-27 02:24:05 +00:00
Andy Heninger
d96fea9eb6 ICU-11123 promote RegexMatcher::find(UErrorCode &) to public API
X-SVN-Rev: 37073
2015-02-26 02:34:20 +00:00
Andy Heninger
74157ec338 ICU-11446 Spoof Checker data update: use MA table only.
X-SVN-Rev: 37071
2015-02-26 01:38:14 +00:00
Peter Edberg
43f62124cd ICU-9379 C: Update BreakIterator createInstance to handle linebreak variant files; update tests
X-SVN-Rev: 37059
2015-02-24 22:37:10 +00:00
Peter Edberg
77775f1b2d ICU-10761 C: pre-integrate changes per cldrbug 8048: to use 'r' in chinese calendar formats
X-SVN-Rev: 37054
2015-02-23 16:47:52 +00:00
Andy Heninger
ec3f77f878 ICU-5312 Regular Expressions Named Capture.
X-SVN-Rev: 37040
2015-02-18 23:56:19 +00:00
Michael Ow
da811f1dfe ICU-11433 Fix memory leak in numberformat test
X-SVN-Rev: 37038
2015-02-18 18:29:04 +00:00
Travis Keep
06223fc789 ICU-11524 Fix inconsistency between fastpath and slowpath for when maxIntDigit = 0.
X-SVN-Rev: 37026
2015-02-12 21:45:27 +00:00
Yoshito Umaoka
9828703fe3 ICU-11315 tzdata2015a updates in ICU4C.
X-SVN-Rev: 37006
2015-02-03 23:55:39 +00:00
Andy Heninger
22c8c94d14 ICU-11469 Regular Expressions, remove old tech preview functions.
X-SVN-Rev: 36953
2015-01-14 00:03:29 +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
Markus Scherer
590a85cbf1 ICU-11448 collation common tertiary weights for normal Hiragana, change builder to cope with below-common tertiary weights
X-SVN-Rev: 36906
2014-12-27 00:38:34 +00:00
Andy Heninger
b3c29ef95e ICU-11428 Various compiler warning fixes.
X-SVN-Rev: 36903
2014-12-19 23:41:18 +00:00
Fredrik Roubert
17b8600e8e ICU-11018 Support CLDR time separator (ICU4C)
This change will treat the ':' character in patterns as a symbol
(instead of as a literal) and if the Locale defines timeSeparator then
use that character instead when formatting and accept both when parsing.

It will also define the '.' as an alternate time separator, that will be
accepted when parsing in lenient mode.

This is one character more strict than before, when in lenient mode also
the '-' was accepted as time separator instead of ':'.

R=rocketman@google.com

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

X-SVN-Rev: 36897
2014-12-19 07:19:41 +00:00
Andy Heninger
c356adbd4e ICU-11439 Another stab at portability in NumberFormatTest::TestDoubleLimit11439().
X-SVN-Rev: 36895
2014-12-19 01:11:01 +00:00
Andy Heninger
a1d3e7d662 ICU-11439 Improve portability of DecimalFormat::getFixedDecimal().
X-SVN-Rev: 36894
2014-12-19 00:22:05 +00:00
Andy Heninger
ff85125d2f ICU-11439 Improve portability of DecimalFormat::getFixedDecimal().
X-SVN-Rev: 36893
2014-12-18 22:46:45 +00:00
Michael Ow
f61f05e5f5 ICU-11313 Fix some no data test failures
X-SVN-Rev: 36865
2014-12-12 04:34:51 +00:00
Steven R. Loomis
2480631b1c ICU-10774 (review) add documentation of what a test is doing
X-SVN-Rev: 36864
2014-12-11 23:15:57 +00:00
Travis Keep
25e6c69308 ICU-11313 Remove compiler warnings from ICU C++ build.
X-SVN-Rev: 36859
2014-12-11 18:06:28 +00:00
Markus Scherer
030eff56d3 ICU-10829 simplify U+FFFE collation: U+FFFE use common non-primary weights, adjust code for that, test order of U+FFFE equivalent to ucol_mergeSortkeys() but not necessarily same sort keys, omit case level if lowerFirst and only common weights
X-SVN-Rev: 36856
2014-12-11 17:04:32 +00:00
John Emmons
ad5308aa12 ICU-11417 CLDR 27 data integration for ICU55M1
X-SVN-Rev: 36850
2014-12-11 16:10:49 +00:00
Steven R. Loomis
d88d618181 ICU-10774 remove a stray logln
X-SVN-Rev: 36849
2014-12-10 23:20:41 +00:00
Yoshito Umaoka
b063be0077 ICU-11415 Fixed a locale display name issue with a currency keyword.
X-SVN-Rev: 36839
2014-12-10 09:00:53 +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
Michael Ow
22c2fcc8b2 ICU-11365 Fix INT32_MAX and INT32_MIN build error on HP-UX
X-SVN-Rev: 36831
2014-12-09 19:38:39 +00:00
Andy Heninger
dacaa0d337 ICU-11390 Remove static objects from intltest ThreadSafeFormat.
X-SVN-Rev: 36829
2014-12-09 01:27:53 +00:00
Travis Keep
e3ab387f40 ICU-11383 Attempt to fix broken build.
X-SVN-Rev: 36828
2014-12-09 00:48:08 +00:00
Travis Keep
59a03bbc9b ICU-11383 Remove ScientificFormatHelper C++
X-SVN-Rev: 36826
2014-12-08 23:25:27 +00:00
Travis Keep
00c6bb79bf ICU-11295 Fix getNumberFormatForField so that it returns either a valid pointer or NULL.
X-SVN-Rev: 36822
2014-12-08 19:35:38 +00:00
Travis Keep
79964e6bc7 ICU-11303 Bring MeasureFormat per unit formatting out of tech preview.
X-SVN-Rev: 36813
2014-12-05 20:52:28 +00:00
Travis Keep
a6bc072149 ICU-11401 Reduce cache keyspace by caching only the components of DateFormat by locale rather than actual DateFormat objects.
X-SVN-Rev: 36811
2014-12-05 18:15:35 +00:00
Andy Heninger
9d54e5711e ICU-11406 RBBITest/TestUnicodeFiles, remove inadvertant C++11-ism
X-SVN-Rev: 36807
2014-12-04 21:46:01 +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
Andy Heninger
8e27cbf59d ICU-11406 RBBITest/TestUnicodeFiles, improve known issue detection.
X-SVN-Rev: 36804
2014-12-03 23:43:47 +00:00
Andy Heninger
63758dca88 ICU-11371 Improved checking of regular expression pattern size limits.
X-SVN-Rev: 36801
2014-12-02 21:58:18 +00:00
Andy Heninger
f9c67eb71e ICU-11374 Regular Expression, improve checking of integer overflow.
X-SVN-Rev: 36790
2014-12-02 01:32:49 +00:00
Markus Scherer
9edbbecb24 ICU-11339 add & use LocalPointer(p, errorCode) and adoptInsteadAndCheckErrorCode(p, errorCode)
X-SVN-Rev: 36757
2014-11-20 00:27:17 +00:00
Travis Keep
89e667b0ea ICU-10952 Attempt to fix broken build.
X-SVN-Rev: 36747
2014-11-18 16:48:37 +00:00
Travis Keep
6a15548b08 ICU-10952 Introduce ScientificNumberFormatter.
X-SVN-Rev: 36746
2014-11-18 00:55:15 +00:00
Travis Keep
4860c7e5b7 ICU-11139 Add JAVA DateFormat factory methods to C++
X-SVN-Rev: 36745
2014-11-18 00:43:49 +00:00
Yoshito Umaoka
e4be0cb54e ICU-11315 tzdata2014j updates in ICU4C.
X-SVN-Rev: 36718
2014-11-11 19:08:28 +00:00
Yoshito Umaoka
3bbb5f70cb ICU-11315 tzdata2014i updates in ICU4C.
X-SVN-Rev: 36693
2014-10-24 05:17:44 +00:00
Steven R. Loomis
547757ebe9 ICU-11325 fix operator==. Also, re-enable French.
X-SVN-Rev: 36672
2014-10-11 00:22:06 +00:00
Yoshito Umaoka
a573b068a2 ICU-10898 tzdata2014h updates in ICU4C
X-SVN-Rev: 36592
2014-09-26 20:09:39 +00:00
Matitiahu Allouche
00aa5b56c4 ICU-11298 fix crash happening when the first non-comment line in BidiTest.txt is ill formed. Method printErrorLine seeks to print paraLevelName, which has not been initialized and is NULL.
The fix is to initialize paraLevelName to "N/A" at the beginning of method TestBidiTest().

X-SVN-Rev: 36564
2014-09-23 20:29:55 +00:00
Andy Heninger
afe9d5350e ICU-11262 Spoof check data refresh.
X-SVN-Rev: 36553
2014-09-17 23:27:40 +00:00
Markus Scherer
58e51c0892 ICU-10999 avoid giving \uhhhh to the C++ compiler
X-SVN-Rev: 36517
2014-09-16 06:07:06 +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
Markus Scherer
981f1e0231 ICU-10551 not U+%06X but U+%04X
X-SVN-Rev: 36513
2014-09-15 20:28:44 +00:00
Michael Ow
b927a043f8 ICU-10551 Fix error message print out of codepoints
X-SVN-Rev: 36510
2014-09-15 19:06:18 +00:00
Travis Keep
5ede5c1dc6 ICU-10999 Mark Davis' review comments applied to C++
X-SVN-Rev: 36507
2014-09-15 18:59:23 +00:00
Steven R. Loomis
58f8e44c7d ICU-10981 round of uconfig.h fixes
X-SVN-Rev: 36491
2014-09-13 00:53:06 +00:00
Markus Scherer
c07492e9ad ICU-10992 only warning with -w when a collator cannot be built from rules (eg with import)
X-SVN-Rev: 36490
2014-09-12 23:14:25 +00:00
Travis Keep
7a23d34cd0 ICU-11250 Markus' review comments
X-SVN-Rev: 36488
2014-09-12 18:26:57 +00:00
Travis Keep
47e7649b14 ICU-11009 Remove unnecessary comment.
X-SVN-Rev: 36470
2014-09-11 19:34:20 +00:00
Travis Keep
888838e2e5 ICU-11009 Address Andy's review comments.
X-SVN-Rev: 36469
2014-09-11 19:21:33 +00:00
Travis Keep
0951252dad ICU-11250 Add tests for QuantityFormatter add test for SimplePatternFormatter::getPatternWithNoPlaceholders.
X-SVN-Rev: 36468
2014-09-11 19:09:54 +00:00
Steven R. Loomis
4345b76644 ICU-10881 merge from branch - conservative fixes to some warnings
X-SVN-Rev: 36449
2014-09-11 05:25:13 +00:00
Michael Ow
62c4c3530d ICU-10551 Update test to check non-ignorable code points and fix comments
X-SVN-Rev: 36443
2014-09-10 23:23:56 +00:00
Travis Keep
c794caf7d4 ICU-10999 Add per unit measure formatting.
X-SVN-Rev: 36441
2014-09-10 20:06:52 +00:00
Scott Russell
38c650b526 ICU-10993 fix non-ascii characters
X-SVN-Rev: 36428
2014-09-10 13:59:41 +00:00
Peter Edberg
834e67c893 ICU-10695 (C) Update/expand UMALQURA_MONTHLENGTH, handleComputeMonthStart fix for tbla and month not in 0..11
X-SVN-Rev: 36405
2014-09-09 10:27:39 +00:00
Markus Scherer
0f78abc7ee ICU-9644 re-hardcode some normalization data: nfc.nrm
X-SVN-Rev: 36384
2014-09-08 03:05:56 +00:00
Peter Edberg
92a7528223 ICU-11173 CLDR tags/release-26-d03 into ICU4C trunk, remove logKnownIssue 11219, fix test for cldrbug:7868
X-SVN-Rev: 36377
2014-09-06 06:15:08 +00:00
Travis Keep
eed7616070 ICU-11223 Remove unused data structure from RelativeDateTimeFormatterTest
X-SVN-Rev: 36365
2014-09-05 20:52:55 +00:00
Peter Edberg
153bf506f0 ICU-10968 Add UDISPCTX_TYPE_DISPLAY_LENGTH and values for it, implement support (C)
X-SVN-Rev: 36352
2014-09-05 04:54:53 +00:00
Andy Heninger
f626431e29 ICU-11233 Remove U_FINAL for classes we subclass. Produces bad code.
X-SVN-Rev: 36346
2014-09-04 18:58:17 +00:00
Travis Keep
48ba0efa1e ICU-11221 Add new MeasureUnits to ICU.
X-SVN-Rev: 36335
2014-09-03 21:08:45 +00:00
Yoshito Umaoka
5810783fea ICU-10898 tzdata2014g updates in ICU4C
X-SVN-Rev: 36329
2014-09-03 15:46:07 +00:00
Peter Edberg
1b8eb15e1a ICU-11173 CLDR tags/release-26-d01 into ICU4C trunk with related test & lib code updates
X-SVN-Rev: 36313
2014-09-02 23:18:20 +00:00
Scott Russell
867e55f0cb ICU-10970 Support required decimal point
X-SVN-Rev: 36300
2014-08-30 21:53:10 +00:00
Markus Scherer
f81a01e01b ICU-10883 UTS 46 toUnicode set error for empty label including just xn--
X-SVN-Rev: 36297
2014-08-29 23:07:42 +00:00
Markus Scherer
8f69b6c53d ICU-7653 change a few straggler LENGTHOFs
X-SVN-Rev: 36277
2014-08-28 23:20:12 +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
Markus Scherer
53dcbe6141 ICU-10736 Locale.isRightToLeft(), uloc_isRightToLeft(locale)
X-SVN-Rev: 36269
2014-08-28 18:28:30 +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
Andy Heninger
f2dfa7422e ICU-10815 Fix for uregex_findNext() not setting U_REGEX_STOPPED_BY_CALLER
X-SVN-Rev: 36260
2014-08-28 01:19:29 +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
Travis Keep
9c4a5db353 ICU-11075 Remove dead code including LRUCache and tests and sharedptr.h
X-SVN-Rev: 36226
2014-08-21 21:02:57 +00:00
Travis Keep
d9af7aa3db ICU-10802 Attempt to fix broken build.
X-SVN-Rev: 36215
2014-08-20 23:19:14 +00:00
Travis Keep
f335b55bdf ICU-10802 Merge branch tkeep/10802andy into trunk.
X-SVN-Rev: 36214
2014-08-20 21:46:02 +00:00
George Rhoten
e79ae82c7d ICU-11064 The approved ICU syntax has )$ being the end of the plural rule substitution.
X-SVN-Rev: 36208
2014-08-20 18:52:57 +00:00
George Rhoten
912521e5cf ICU-11064 Fix a roundtripping problem when the fractional part is non-zero.
X-SVN-Rev: 36203
2014-08-19 17:13:07 +00:00
Michael Ow
9a4ae3b440 ICU-10551 Make ICU converter callbacks ignore default ignorable code points
X-SVN-Rev: 36199
2014-08-18 21:26:34 +00:00
George Rhoten
eda8266715 ICU-11064 Add syntax for PluralFormat in RBNF
X-SVN-Rev: 36197
2014-08-18 20:47:36 +00:00
Steven R. Loomis
e3dc3bc456 ICU-10347 add U_FINAL and U_OVERRIDE for C++11 "final" and "override".
Added them to several "not for subclassing" classes.
Some exceptions:
* Commented out U_FINAL where there's an internal override needed.
* For tests, added "#define U_FINAL" at the top to disable this.
#defined to null for Doxygen.

X-SVN-Rev: 36177
2014-08-16 01:30:43 +00:00
Markus Scherer
ec55298e96 ICU-11042 Han radical-stroke order data in the root collator instead of CJK tailorings, adjusted code & tests (merged from branches/markus/rootunihan)
X-SVN-Rev: 36162
2014-08-14 18:47:27 +00:00
Andy Heninger
1ba1ec3b83 ICU-11049 regular expressions, use same logic in UText and (UChar *) code paths when checking limit of potential match start positions.
X-SVN-Rev: 36161
2014-08-14 17:44:05 +00:00
Yoshito Umaoka
37d4e68cd4 ICU-10898 Updated tzdbNames.txt based on tzdata2014f.
X-SVN-Rev: 36144
2014-08-12 16:37:22 +00:00
Yoshito Umaoka
0de2d6e411 ICU-10898 tzdata2014f updates to ICU4C
X-SVN-Rev: 36138
2014-08-11 21:07:03 +00:00
Andy Heninger
e03585d7cf ICU-11049 fix regex find() memory overrun.
X-SVN-Rev: 36124
2014-08-06 21:49:08 +00:00
Andy Heninger
96835f80a5 ICU-10948 Condition Variables, merged from development branch.
X-SVN-Rev: 36101
2014-07-29 23:18:47 +00:00
Tom Zhang
26063a3454 ICU-10320 API for getting/setting number format override in date formatting
X-SVN-Rev: 36097
2014-07-29 18:42:07 +00:00
Yoshito Umaoka
ae3f6f13a4 ICU-10934 The tz database abbreviation support in ICU4C
X-SVN-Rev: 36080
2014-07-23 21:51:09 +00:00
Travis Keep
133a0ebab9 ICU-11009 Fix C NumberFormatSpecification tests.
X-SVN-Rev: 36066
2014-07-18 23:21:55 +00:00
Yoshito Umaoka
ab078968c6 ICU-11009 Added numfmtspectest.cpp in VC project file.
X-SVN-Rev: 36065
2014-07-18 22:44:57 +00:00
Travis Keep
46c66e0ddb ICU-11009 Add number format specification conformance tests to ICU4C
X-SVN-Rev: 36061
2014-07-18 21:05:06 +00:00
Travis Keep
fea6dbb22f ICU-10864 DecimalFormat::getGroupingSize() to return 0 when grouping isn't being used.
X-SVN-Rev: 36028
2014-07-15 18:18:39 +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
Markus Scherer
9bc6f268fb ICU-10998 collation reorder others=Zzzz, recognize only others = reset
X-SVN-Rev: 36017
2014-07-09 22:53:09 +00:00
Markus Scherer
2e958e2bab ICU-8082 private collation type: do not build binary and do not list as an available keyword value
X-SVN-Rev: 36011
2014-07-08 17:44:53 +00:00
Andy Heninger
4de6a9f525 ICU-10983 Add failure checks to utext_clone().
X-SVN-Rev: 35985
2014-07-02 19:15:28 +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
Steven R. Loomis
a3433c4d45 ICU-10977 remove stray #if DEBUG from a few more files
X-SVN-Rev: 35948
2014-06-25 21:59:55 +00:00
Travis Keep
2b11611919 ICU-10046 Roubert's review comments.
X-SVN-Rev: 35880
2014-06-17 14:24:40 +00:00
Travis Keep
b323fa2b8f ICU-10046 Andy's review comments.
X-SVN-Rev: 35876
2014-06-13 16:40:17 +00:00
Scott Russell
0711da6b18 ICU-10906 prevent SimpleDateFormat from trying to parse when ParsePosition is less than 0
X-SVN-Rev: 35874
2014-06-13 14:36:05 +00:00
Tom Zhang
985f42b752 ICU-10344 add new field & factory method for currency CASH/STANDARD Usage
X-SVN-Rev: 35873
2014-06-12 21:40:34 +00:00
Travis Keep
81e264fb42 ICU-10884 Apply API proposal from 11 Jun ICU meeting.
X-SVN-Rev: 35861
2014-06-11 18:31:47 +00:00
Markus Scherer
48733704d2 ICU-10821 UCD 7.0 final data
X-SVN-Rev: 35838
2014-06-09 21:15:23 +00:00
Yoshito Umaoka
590179178a ICU-10937 A quick test patch - just moving the test data date. We may revise the fix later.
X-SVN-Rev: 35803
2014-06-04 16:34:23 +00:00
Travis Keep
e09358e9fb ICU-10778 Add test to ensure that MeasureUnit is backward compatible with ICU 53.1
X-SVN-Rev: 35784
2014-05-30 21:27:06 +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
Travis Keep
3d1c1bb07a ICU-10884 Add abbreviated relative date format support.
X-SVN-Rev: 35744
2014-05-22 22:46:53 +00:00
Andy Heninger
f71b9053d2 ICU-8550 Dictionary Break Iterator, fixes to work with UTF-8 text.
X-SVN-Rev: 35724
2014-05-17 00:44:39 +00:00
Scott Russell
68c893b2f1 ICU-10855 fix handling of partial match leniency to not falsely pass literals that should fail
X-SVN-Rev: 35720
2014-05-16 17:38:08 +00:00
Michael Ow
3745c93568 ICU-10898 tzdata 2014c to ICU4C
X-SVN-Rev: 35711
2014-05-14 01:19:16 +00:00
Andy Heninger
a45f7faf63 ICU-10835 Improve performance of case insensitive find operations.
X-SVN-Rev: 35683
2014-05-02 22:51:53 +00:00
Travis Keep
fd676bb762 ICU-10046 insetMarkup()->insertMarkup().
X-SVN-Rev: 35666
2014-04-30 20:15:10 +00:00
George Rhoten
9360e089b0 ICU-1859 Fix memory leak.
X-SVN-Rev: 35662
2014-04-30 02:09:50 +00:00
George Rhoten
cd1202bbef ICU-1859 Fix a compiler error on AIX.
X-SVN-Rev: 35660
2014-04-29 21:34:42 +00:00
George Rhoten
cbc44d1d51 ICU-1859 Fix a compiler error on AIX.
X-SVN-Rev: 35659
2014-04-29 20:35:27 +00:00
George Rhoten
37cbf3a611 ICU-1859 All RBNF rules parse now. All spellout values roundtrip. Lenient roundtripping is still an issue.
X-SVN-Rev: 35658
2014-04-29 18:29:12 +00:00
Andy Heninger
0a9c28990a ICU-10861 Fix several ICU4C compile warnings.
X-SVN-Rev: 35650
2014-04-24 00:33:39 +00:00
Markus Scherer
567aebade1 ICU-10821 Unicode 7.0 in trunk, from branches/markus/uni70@35631
X-SVN-Rev: 35632
2014-04-14 22:30:09 +00:00
Yoshito Umaoka
1d90a2e031 ICU-10816 Added a test case of DateFormat parse leniency setter/getter APIs.
X-SVN-Rev: 35627
2014-04-14 19:58:40 +00:00
Travis Keep
93559e74a8 ICU-10046 Expose Exponent Multiplication Symbol. ScientificFormatHelper class to recognize variants of the plus and minus sign.
X-SVN-Rev: 35614
2014-04-10 18:13:29 +00:00
Travis Keep
1ec6826469 ICU-10046 Attempt to fix broken build.
X-SVN-Rev: 35613
2014-04-09 23:56:42 +00:00
Travis Keep
7ed712add5 ICU-10046 Introduce ScientificFormatHelper class.
X-SVN-Rev: 35612
2014-04-09 23:00:45 +00:00
Travis Keep
c5fcd47b4f ICU-10793 Add optimization to ListFormatter.
X-SVN-Rev: 35579
2014-04-02 21:43:11 +00:00
Travis Keep
bb63aa3994 ICU-10758 Attempt to fix broken build.
X-SVN-Rev: 35570
2014-04-02 16:46:23 +00:00
Travis Keep
72a92fadc1 ICU-10758 Attempt to fix broken build.
X-SVN-Rev: 35569
2014-04-02 16:21:14 +00:00
Travis Keep
fa5b13bee3 ICU-10758 Attempt to fix broken build.
X-SVN-Rev: 35568
2014-04-01 23:57:16 +00:00
Travis Keep
fe24e76026 ICU-10758 Enable fastpath for DecimalFormat when grouping is turned on as long as no grouping separators need to be inserted.
X-SVN-Rev: 35560
2014-04-01 20:41:15 +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
Michael Ow
3daf54af40 ICU-10740 Fix uconfig test errors
X-SVN-Rev: 35480
2014-03-15 06:08:42 +00:00
Michael Ow
c70512bdfe ICU-10786 Ensure ICU 53 passes without data
X-SVN-Rev: 35462
2014-03-13 21:28:24 +00:00
Michael Ow
21d28f0945 ICU-10286 Add uconfig option in test code for filtered break iterator
X-SVN-Rev: 35448
2014-03-12 22:56:39 +00:00
John Emmons
7525392d15 ICU-10745 Merge CLDR25 data into trunk
X-SVN-Rev: 35429
2014-03-12 04:34:00 +00:00
Travis Keep
83f8bc77b2 ICU-10640 Fix misspelled word in comments. Add TODO to revisit how we dtermine if two MeasureUnit references mean the same unit.
X-SVN-Rev: 35421
2014-03-11 23:33:52 +00:00
Travis Keep
55daa14907 ICU-10640 Changes from Markus' review.
X-SVN-Rev: 35404
2014-03-11 17:40:23 +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
Steven R. Loomis
7b0172a8aa ICU-10272 fix break on Windows
X-SVN-Rev: 35378
2014-03-07 01:01:49 +00:00
Steven R. Loomis
c866020da6 ICU-10272 the clang workaround was only *mostly* harmless. Disable it under Windows. Fix: typeinfo(82): error C2874: using-declaration causes a multiple declaration of 'type_info'
X-SVN-Rev: 35375
2014-03-07 00:30:23 +00:00
Steven R. Loomis
4aa1d95ce1 ICU-10286 platform fix
X-SVN-Rev: 35367
2014-03-06 19:40:33 +00:00
Steven R. Loomis
bd3131899f ICU-10272 clang workaround
X-SVN-Rev: 35366
2014-03-06 19:39:41 +00:00
Steven R. Loomis
f4fe9b638e ICU-10286 load suppression data from locales. For now, only test English because it is already in.
X-SVN-Rev: 35359
2014-03-06 12:51:31 +00:00
Steven R. Loomis
bbe5a9e0d8 ICU-10286 Check in filtered break behavior. Does not load bundles yet. Also fixes to locbased and brkiter ( no way for subclasses to set locale id )
X-SVN-Rev: 35357
2014-03-06 11:21:15 +00:00
Steven R. Loomis
bf0d5601c2 ICU-10756 fix stray 'x'
X-SVN-Rev: 35356
2014-03-06 10:32:21 +00:00
Peter Edberg
5241507312 ICU-10637 Format/parse using 'r', C part 2 (add tests, clean up islamic delta calculation)
X-SVN-Rev: 35355
2014-03-06 09:47:25 +00:00
Steven R. Loomis
f38544a2a6 ICU-10756 regression tests added for case where setGroupingUsed didn't call handleChanged() and thus the fastpath status would be incorrect. Fixed by overriding three functions in DecimalFormat but delegating to NumberFormat. The other two functions don't affect fastpath, but are overridden for future changes where they might.
X-SVN-Rev: 35351
2014-03-06 00:12:57 +00:00
Peter Edberg
30e8bc452d ICU-10637 Format/parse using 'r' related gregorian year, C changes part 1 (still need correct num fmt & tests)
X-SVN-Rev: 35341
2014-03-05 11:51:05 +00:00
Scott Russell
8791b26095 ICU-10625 address data checks in DateFormatTest::TestDateFormatLeniency not checking expected results
X-SVN-Rev: 35340
2014-03-05 00:52:30 +00:00
Scott Russell
246f3a9162 ICU-10336 really fix test
X-SVN-Rev: 35321
2014-03-04 16:09:19 +00:00
Scott Russell
11b2ef55b3 ICU-10336 fix test
X-SVN-Rev: 35320
2014-03-04 15:15:12 +00:00
Scott Russell
eb0fd12224 ICU-10336 add leniency controls for lenient like behavior
X-SVN-Rev: 35319
2014-03-04 14:40:36 +00:00
Peter Edberg
2a5e2e4810 ICU-10730 Just add tests verifying correct behavior for U in skeleton (C)
X-SVN-Rev: 35315
2014-03-04 08:46:17 +00:00
Peter Edberg
24a8cc84f4 ICU-5186 Make DecimalFormat::operator== much more complete
X-SVN-Rev: 35312
2014-03-04 05:54:16 +00:00
Peter Edberg
27cfaed4d8 ICU-10681 Lazily get and cache BreakIterator for titlecasing; lazily get contextTransform info if possible (C)
X-SVN-Rev: 35287
2014-03-02 00:44:35 +00:00
Markus Scherer
78b241a52b ICU-9959 test that RBC forbids rules with a before-reset followed by a stronger relation
X-SVN-Rev: 35263
2014-02-28 20:15:58 +00:00
Markus Scherer
a2a0fa000d ICU-8070 Check that the rule parser handles a comment without terminating end-of-line
X-SVN-Rev: 35257
2014-02-27 22:52:07 +00:00
Andy Heninger
d6cca740f2 ICU-10673 AnyTransliterator thread safety test, fix build failure on AIX.
X-SVN-Rev: 35255
2014-02-27 20:57:51 +00:00
Andy Heninger
52b3ba1caa ICU-10673 AnyTransliterator thread safety fix.
X-SVN-Rev: 35248
2014-02-27 18:45:32 +00:00
Markus Scherer
1ee6b71f6c ICU-10723 delete C++ RandomCollatorTest
X-SVN-Rev: 35238
2014-02-26 19:33:44 +00:00
Markus Scherer
6177c58d7f ICU-9156 collv2 fixed some known search test failures
X-SVN-Rev: 35234
2014-02-26 00:11:22 +00:00
Yoshito Umaoka
f7f73fe88d ICU-10544 Fixed some implementation problems in Calendar::add. When adding day or larger field results wall time falls into non-existing time slot created by DST transition, the implementation honors the current skipped wall time option.
X-SVN-Rev: 35231
2014-02-25 23:50:35 +00:00
Markus Scherer
c2ba26e8ba ICU-10472 build genrb, uconv, toolutil but not test suites with explicit UnicodeString constructors
X-SVN-Rev: 35230
2014-02-25 23:49:53 +00:00
Markus Scherer
50a883201d ICU-9101 fix test memory leak
X-SVN-Rev: 35229
2014-02-25 23:20:31 +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
Peter Edberg
9596efb7f4 ICU-10712 Integrate non-collation, non-BCP47 data from CLDR trunk@9766
X-SVN-Rev: 35208
2014-02-24 07:17:41 +00:00
Yoshito Umaoka
cfd57abf79 ICU-10601 Added UNUM_CURRENCY_ACCOUNTING to ICU4C NumberFormat.
X-SVN-Rev: 35198
2014-02-22 00:16:56 +00:00
Travis Keep
e3e20601c0 ICU-10547 Remove extra code from tests added there to help me debug.
X-SVN-Rev: 35197
2014-02-21 22:34:29 +00:00
Travis Keep
fcde5a4621 ICU-10547 Format -0.0 as a negative when using scientific notation.
X-SVN-Rev: 35196
2014-02-21 20:41:39 +00:00
Travis Keep
7fb4b7bcf6 ICU-10640 Fix various bugs around duration formatting e.g 3:45:23
X-SVN-Rev: 35186
2014-02-20 22:41:13 +00:00
Andy Heninger
c4f6c43b86 ICU-10706 Spoof Check, bug fix & test for Identifier Restriction Level; update spoof checker one time initialization.
X-SVN-Rev: 35175
2014-02-19 23:53:30 +00:00
Andy Heninger
8525e6bd47 ICU-10706 Spoof Check data update.
X-SVN-Rev: 35164
2014-02-19 01:07:32 +00:00
Travis Keep
fd530319e6 ICU-10640 In MeasureFormat, use adopted NumberFormat on last measure only; use integer numberformats on the rest.
X-SVN-Rev: 35146
2014-02-16 02:10:51 +00:00
Travis Keep
53ababf5a7 ICU-10461 Make NumberFormat::createInstance() and PluralRules::forLocale() 10X faster than before for most common types. Provide internal createSharedInstance() for NumberFormat and SharedFormat for internal use that is 2 orders of magnitude faster than before.
X-SVN-Rev: 35114
2014-02-10 19:13:50 +00:00
Travis Keep
897a4241a5 ICU-10682 Fix memory leak in trunk.
X-SVN-Rev: 35087
2014-02-06 00:44:13 +00:00
Travis Keep
25c7ba8e57 ICU-10682 Fix clone, copy constructor, and assignment operator in RulesBasedNumberFormat.
X-SVN-Rev: 35085
2014-02-06 00:34:24 +00:00
Travis Keep
0a42d4959f ICU-10640 Add C++ MeasureFormat API.
X-SVN-Rev: 35069
2014-02-04 00:29:17 +00:00
Travis Keep
995b68f085 ICU-10646 Improve test readability.
X-SVN-Rev: 35036
2014-01-30 16:55:02 +00:00
Travis Keep
a6d90fc75a ICU-10646 Add test for 2 and 3 arg versions of format. Add test for if appendTo is not empty.
X-SVN-Rev: 35028
2014-01-29 23:11:43 +00:00
Travis Keep
844d4e860b ICU-10646 Tempalte->SimplePatternFormatter. evaluate -> format
X-SVN-Rev: 35027
2014-01-29 22:57:06 +00:00
Travis Keep
92c280f8fc ICU-10646 Attempt to fix broken build.
X-SVN-Rev: 35022
2014-01-29 13:54:28 +00:00
Travis Keep
d4ec281c99 ICU-10646 Introduce Template class and change ListFormatter to use it. Introduce QuantityFormatter class and change RelativeDateTimeFormatter to use it.
X-SVN-Rev: 35018
2014-01-29 05:08:55 +00:00
Yoshito Umaoka
2c56459ce6 ICU-10577 Added a test case in ICU4C to check if the calendar factory method uses locale's region to initialize week data. ICU4C library code is working fine, so no changes in the library code.
X-SVN-Rev: 35002
2014-01-27 21:56:47 +00:00
Markus Scherer
33db481060 ICU-10639 detect the empty label before the ASCII dot in a domain name that contains nothing else
X-SVN-Rev: 34987
2014-01-24 02:40:16 +00:00
Michael Ow
4e806c800e ICU-10483 Fix no data test errors in ICU4C 53m1
X-SVN-Rev: 34979
2014-01-22 21:20:24 +00:00
Travis Keep
dc1b469069 ICU-10219 Added test for 1 minute, 1.0 minutes, 1.01 minutes.
X-SVN-Rev: 34918
2014-01-16 22:58:52 +00:00
Travis Keep
f56a9be8fd ICU-8464 Implement Andy's comments.
X-SVN-Rev: 34891
2014-01-14 22:39:13 +00:00
Scott Russell
c7677154e6 ICU-10619 Improve usability of DateFormat's leniency control & promote BooleanAttribute control to draft for v53
X-SVN-Rev: 34888
2014-01-14 17:26:35 +00:00
Travis Keep
132ff6d742 ICU-8464 Add Suggested changes from Markus.
X-SVN-Rev: 34875
2014-01-11 00:30:39 +00:00
Markus Scherer
90b6b64024 ICU-10561 ZoneMeta methods must check for bogus input strings
X-SVN-Rev: 34873
2014-01-10 23:14:14 +00:00
Andy Heninger
cabbcecf5c ICU-10624 Swat clang compile warnings.
X-SVN-Rev: 34861
2014-01-10 19:20:16 +00:00
Andy Heninger
301814f85f ICU-10624 Compiler warning cleanups, continued.
X-SVN-Rev: 34855
2014-01-10 08:35:00 +00:00
Andy Heninger
1996008111 ICU-10624 Swat clang compile warnings. More fixes to come.
X-SVN-Rev: 34854
2014-01-10 02:24:54 +00:00
Yoshito Umaoka
c3711bd5bf ICU-10434 tzdata2013i to ICU4C, including metazone mapping updates (cldrbug:6893), windows tz mapping updates (cldrbug:6894), make file changes (tzdata2013i removed tz files - solar87/88/89) and a test case update.
X-SVN-Rev: 34828
2014-01-03 23:12:22 +00:00
Peter Edberg
908bae8ff8 ICU-10609 Fix test failures only found in clean build, missed in incremental build (hmm)
X-SVN-Rev: 34816
2013-12-23 06:07:15 +00:00
Scott Russell
cfea276a2b ICU-10334 C vs. J differences when in lenient mode (remove windows specific debug code)
X-SVN-Rev: 34793
2013-12-18 20:48:43 +00:00