Commit Graph

3429 Commits

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