Commit Graph

7007 Commits

Author SHA1 Message Date
Andy Heninger
8dba7301b7 ICU-11554 Fix regex bug with look-behind matching & UTF-8 input.
X-SVN-Rev: 38056
2015-10-09 20:01:46 +00:00
Andy Heninger
5f297b7ad2 ICU-11856 Intltest messages, use system codepage conversion.
X-SVN-Rev: 38055
2015-10-09 18:14:23 +00:00
Andy Heninger
0464cceedf ICU-11857 Add CStr class for easier UnicodeString to char * conversions.
X-SVN-Rev: 38054
2015-10-09 17:53:44 +00:00
Andy Heninger
9b8403900a ICU-11507 Regex, fix problem with backrefs of unpaired surrogates.
X-SVN-Rev: 38038
2015-10-06 23:59:28 +00:00
Andy Heninger
1c869c6791 ICU-11657 Synchronize intltest message output.
X-SVN-Rev: 38036
2015-10-06 23:13:49 +00:00
Michael Ow
04b5b54998 ICU-11869 Update 2022 code in ICU4C
X-SVN-Rev: 38014
2015-09-23 20:49:25 +00:00
Peter Edberg
10053e8a55 ICU-11929 (C) Rename MeasureUnit methods createGeneric, createRevolution
X-SVN-Rev: 38009
2015-09-23 18:32:26 +00:00
Markus Scherer
436f13cb31 ICU-11917 ICU 56 dependencies updates
X-SVN-Rev: 37995
2015-09-22 21:52:06 +00:00
Michael Ow
0f3551c762 ICU-11917 Check in some uconfig test error fixes
X-SVN-Rev: 37986
2015-09-22 16:24:52 +00:00
Michael Ow
fdd235d5e5 ICU-11917 Fix no data test errors in ICU4C 56
X-SVN-Rev: 37981
2015-09-22 04:02:11 +00:00
Scott Russell
c179cf974c ICU-11572 API proposal updates for approved constants
X-SVN-Rev: 37961
2015-09-16 00:14:58 +00:00
Steven R. Loomis
39f7040439 ICU-11886 unsafe-backward set, review comments
. remove #if 0's and stray comments
. cleanup UnicodeSet docs (deserialize does not freeze)
. remove dead code in collationdatareader.cpp

X-SVN-Rev: 37960
2015-09-15 21:42:56 +00:00
Markus Scherer
536f59d246 ICU-11886 simple test case for the UnicodeSet.toPattern() problem, to be fixed with ticket #11891
X-SVN-Rev: 37954
2015-09-14 23:22:05 +00:00
Peter Edberg
525a00b02e ICU-11750 Improve comments again
X-SVN-Rev: 37951
2015-09-13 18:58:19 +00:00
Peter Edberg
ae7f45d5c1 ICU-11750 For Indic search: Allow match end at normalization boundary in middle of grapheme cluster
X-SVN-Rev: 37949
2015-09-13 07:43:51 +00:00
Markus Scherer
69543d559e ICU-11016 add support for minimum grouping digits (technology preview, not using CLDR data yet)
X-SVN-Rev: 37946
2015-09-11 19:18:00 +00:00
Steven R. Loomis
98f5987b43 ICU-11248 use '@ss=' and not x-uli
remove an old test hack.

X-SVN-Rev: 37940
2015-09-10 07:00:30 +00:00
Steven R. Loomis
9ab86aaddb ICU-11786 fix FilteredBreakIterator::last()
* last() was defective
* update the test case
* remove the logknownissue

X-SVN-Rev: 37936
2015-09-10 06:00:44 +00:00
Peter Edberg
5d1a2fa6bd ICU-11787 Add support for UNUM_CURRENCY_STANDARD and locale u-ext key -cf- (C)
X-SVN-Rev: 37935
2015-09-10 05:40:20 +00:00
Steven R. Loomis
03bf2882a9 ICU-11886 workaround for test failures- disable TestUCAUnsafeBackwards on Windows
X-SVN-Rev: 37932
2015-09-10 02:35:00 +00:00
Steven R. Loomis
94fe10c710 ICU-11886 Speed up ucol_open by 21%
* implement a deserialize constructor for UnicodeSet
 * add test cases for same
* add a generator (`gencolusb`) which can build `source/i18n/collunsafe.h`
* Note that for bootstrapping `collunsafe.h` can be truncated (zero length).

X-SVN-Rev: 37929
2015-09-10 01:39:06 +00:00
Peter Edberg
cd4634345e ICU-11770 If locale has ss-standard, sentence break iterator uses suppressions data via FilteredBreakIterator
X-SVN-Rev: 37914
2015-09-09 04:05:01 +00:00
Travis Keep
b49ad21ea8 ICU-11740 Final sync of C and J copies of data driven tests.
X-SVN-Rev: 37910
2015-09-09 00:09:32 +00:00
Michael Ow
784e59b2ae ICU-11869 Update jis8 test for edge case
X-SVN-Rev: 37907
2015-09-08 22:37:30 +00:00
Peter Edberg
7e03903fd5 ICU-11773 Improve test, fix typo (C)
X-SVN-Rev: 37900
2015-09-08 02:25:24 +00:00
Peter Edberg
49d4ab5ee6 ICU-11773 Withdraw COLON as pattern char, leave support for UDAT_TIME_SEPARATOR_FIELD (C)
X-SVN-Rev: 37898
2015-09-07 22:39:49 +00:00
Markus Scherer
a97583a817 ICU-11860 uspoof_openFromSource() initializes static variables; isolate test code for uspoof_openFromSource() so that initialization can be tested
X-SVN-Rev: 37895
2015-09-07 01:18:49 +00:00
Markus Scherer
cd67ec8ed6 ICU-11765 fix u_charsToUChars() string length and make its destination buffer large enough
X-SVN-Rev: 37894
2015-09-07 00:38:38 +00:00
Markus Scherer
079f95c9a9 ICU-11765 fix string length in udatpg_test.c TestUsage()
X-SVN-Rev: 37893
2015-09-07 00:27:33 +00:00
Markus Scherer
1dc53cb9cf ICU-11765 NUL-terminate a uenumtst.c test string
X-SVN-Rev: 37892
2015-09-05 19:25:38 +00:00
Markus Scherer
fb1f737cc7 ICU-11765 fix custrtst.c TestCountChar32(): need to use NUL-terminated buffer when testing NUL termination, not unterminated string
X-SVN-Rev: 37891
2015-09-05 19:17:55 +00:00
Travis Keep
bc33f20e3c ICU-11740 Add more tests to prove that this change resolves other tickets.
X-SVN-Rev: 37843
2015-08-28 18:38:37 +00:00
John Emmons
01e0c332a5 ICU-11846 CLDR 28 data integration
X-SVN-Rev: 37836
2015-08-27 20:23:27 +00:00
Travis Keep
e837bd4f7f ICU-11868 Add test that was failing with the legacy DecimalFormat code.
X-SVN-Rev: 37835
2015-08-27 18:03:18 +00:00
Steven R. Loomis
ab0168470b ICU-11740 divide by zero fix (!)
X-SVN-Rev: 37834
2015-08-27 00:25:12 +00:00
Travis Keep
b7cf3ca31c ICU-11740 Disallow copy and assign on VisibleDigitsWithExponent enable data driven tests that were known to fail with the legacy DecimalFormat code but pass with the new DecimalFormat code.
X-SVN-Rev: 37832
2015-08-26 21:15:37 +00:00
Travis Keep
f1bd63c26d ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37827
2015-08-26 19:13:28 +00:00
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
Steven R. Loomis
9edacf9fa9 ICU-11771 move FilteredBreakIterator from i18n to common
X-SVN-Rev: 37676
2015-07-16 21:02:06 +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
a8325d335c ICU-11706 (and #11726) Fix DateIntervalFormat handling of (1) skeletons with seconds, (2) FieldPosition
X-SVN-Rev: 37613
2015-06-23 22:07:03 +00:00
Peter Edberg
15ee90b9a3 ICU-11693 C support for CompactDecimalFormat, via UNumberFormatStyle additions
X-SVN-Rev: 37612
2015-06-23 18:09:52 +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
Peter Edberg
2ae320dbdf ICU-11673 Add new Japanese name for Georgia to cjdict
X-SVN-Rev: 37608
2015-06-23 02:09:49 +00:00
Peter Edberg
d88c68d067 ICU-11688 Add Thai words for "update" and "event" to dictionary
X-SVN-Rev: 37606
2015-06-23 00:44:09 +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
Markus Scherer
7c3234e250 ICU-11574 Unicode 8.0 final data
X-SVN-Rev: 37548
2015-06-12 11:10:10 +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
5b1be7f0d4 ICU-11692 Keep test data files in sync.
X-SVN-Rev: 37480
2015-05-29 23:58:03 +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
47a3db9eb6 ICU-11602 Fixed a wrong condition used for detecting keyword without value in uloc internal function for parsing keywords. TestKeywordVariants was updated to include a case hitting the code path. The test code was also updated to handle error status. A follow up ticket #11690 was created for recording some issues with the test case found in this time.
X-SVN-Rev: 37454
2015-05-20 23:44:16 +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
b5ec74bd3b ICU-11665 Inconsistent word break of Japanese text.
X-SVN-Rev: 37448
2015-05-16 01:05:26 +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
Andy Heninger
673942389f ICU-11654 Remove test/threadtest. Obsolete, abandoned code.
X-SVN-Rev: 37392
2015-04-23 21:39:31 +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
Michael Ow
c9a8c21d51 ICU-11595 Merge CLDR update to trunk
X-SVN-Rev: 37293
2015-03-27 17:25:30 +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
Michael Ow
cdb730c5a9 ICU-11433 Add fix for header test
X-SVN-Rev: 37212
2015-03-11 17:57:36 +00:00
Markus Scherer
e9b2b3cc3f ICU-11433 add two new C wrapper files
X-SVN-Rev: 37196
2015-03-09 22:50:15 +00:00
John Emmons
26a401e17a ICU-10750 Remove obsolete files from source/data/xml
X-SVN-Rev: 37187
2015-03-07 16:06:51 +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
Steven R. Loomis
745a7b47b7 ICU-11450 Remove LEFontInstance::getFontTable(LETag)
X-SVN-Rev: 37144
2015-03-05 06:18:56 +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
00038112bb ICU-11019 C: Add Thai words for "browser" and "post" to dictionary
X-SVN-Rev: 37126
2015-03-04 07:11:04 +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
Peter Edberg
50e67ce345 ICU-11553 Add C wrapper for FieldPositionIterator & 2 udat_formatX calls to use it
X-SVN-Rev: 37118
2015-03-04 00:11:53 +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
Peter Edberg
27aa5a1e57 ICU-11549 tabs -> spaces
X-SVN-Rev: 37114
2015-03-03 20:26:16 +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
Peter Edberg
944392834b ICU-11549 Add C wrapper for ListFormatter
X-SVN-Rev: 37110
2015-03-03 19:00:52 +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
Andy Heninger
fb24cef93d ICU-11538 Remove gHeapInUse flag.
X-SVN-Rev: 37097
2015-02-27 23:01:33 +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
Markus Scherer
7115587929 ICU-11535 test genrb -e with UTF-16BE not ISCII
X-SVN-Rev: 37082
2015-02-26 22:48:16 +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
Yoshito Umaoka
ebe09a9e69 ICU-11294 Changed SimpleDateFormat and other implementation to reduce malloc calls for common date formatting/parsing operations.
X-SVN-Rev: 37064
2015-02-25 03:24:19 +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
Andy Heninger
ce09d8a4bc ICU-11393 Regex, add pattern chars R v and h
X-SVN-Rev: 37057
2015-02-24 00:24:59 +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
Michael Ow
2755dcda5e ICU-11523 Fix invalid input check in udat_parseCalendar
X-SVN-Rev: 37023
2015-02-11 22:23:13 +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
Yoshito Umaoka
7d77ae9c9b ICU-11427 Forcing GMT to be used in TestOverrideNumberFormat to make environment test work without test failures.
X-SVN-Rev: 36941
2015-01-12 16:34:01 +00:00
Yoshito Umaoka
6e3b21d3c5 ICU-11454 Made TestOverrideNumberFormat run properly.
X-SVN-Rev: 36940
2015-01-12 15:51:02 +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
Yoshito Umaoka
cbe7c4983b ICU-11466 Added a word break test case for Hangul, starting with Latin text. Such case did not work well with ICU4J 52, but works fine with other ICU versions.
X-SVN-Rev: 36915
2015-01-06 18:57:38 +00:00
Markus Scherer
166f80aacd ICU-11448 move CollationBaseDataBuilder out of the runtime library: only used from genuca
X-SVN-Rev: 36908
2014-12-27 01:00:36 +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
Andy Heninger
67f2494005 ICU-11454 cdattst/TestOverrideNumberFormat, fix Windows build failure w previouos change.
X-SVN-Rev: 36902
2014-12-19 22:10:05 +00:00
Andy Heninger
5805449990 ICU-11454 cdattst/TestOverrideNumberFormat, re-enable accidentaly skipped tests, set known issue for resulting problem.
X-SVN-Rev: 36901
2014-12-19 21:03:23 +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
John Emmons
0d0a369333 ICU-11060 Fix naming convention for @alt values from CLDR
X-SVN-Rev: 36886
2014-12-17 23:25:39 +00:00
Markus Scherer
3a08f3d29c ICU-11313 scientificformathelper -> scientificnumberformatter
X-SVN-Rev: 36871
2014-12-15 23:14:27 +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
Michael Ow
2361aa8c1d ICU-11313 Fix for header test for 55m1
X-SVN-Rev: 36848
2014-12-10 22:21:21 +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
bbcade5d41 ICU-11360 Remove statement to include platform config file in letest makefile
X-SVN-Rev: 36833
2014-12-09 22:10:45 +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
Andy Heninger
63771018b6 ICU-11414 uspoof, fix Visual Studio compile problems.
X-SVN-Rev: 36824
2014-12-08 22:40:31 +00:00
Andy Heninger
40271c5742 ICU-11414 uspoof, freeze the recommended and inclusion sets.
X-SVN-Rev: 36823
2014-12-08 19:56:43 +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
b3bd196383 ICU-11373 Regex, check for integer overflow in maxMatchLength computation.
X-SVN-Rev: 36794
2014-12-02 19:24:31 +00:00
Andy Heninger
c9b7734a0e ICU-11373 disable prematurely checked in test case.
X-SVN-Rev: 36793
2014-12-02 17:10:04 +00:00
Andy Heninger
2e6a8c568c ICU-11374 Regular Expression, improve checking of integer overflow.
X-SVN-Rev: 36792
2014-12-02 17:05:27 +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
3cdd2bafe2 ICU-11388 regression test from Java
X-SVN-Rev: 36782
2014-11-30 19:56:32 +00:00
Yoshito Umaoka
281d4de237 ICU-11293 Added udat_formatCalendar allowing C API user to specify a calendar as a parameter.
X-SVN-Rev: 36777
2014-11-25 04:34:58 +00:00
Yoshito Umaoka
605d7dd578 ICU-11216 Removed language code 'wen' from the LCID mapping table. MS uses 'hsb' (and 'dsb') in the latest LCID reference document, but 'wen' is not used.
X-SVN-Rev: 36770
2014-11-21 23:53:20 +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
Markus Scherer
5d211663e6 ICU-11375 ICU root collation: remove Cyrillic contractions
X-SVN-Rev: 36735
2014-11-17 00:41:41 +00:00
Andy Heninger
f5d14979c6 ICU-11369 Regex, fix incorrect optimization of patterns with a zero length quantifier {0}
X-SVN-Rev: 36727
2014-11-12 23:42:14 +00:00
Andy Heninger
9db433b745 ICU-11370 Regex, add missing range check of length of a look-behind expression.
X-SVN-Rev: 36724
2014-11-12 23:10:21 +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
Michael Ow
44dd80171a ICU-11277 Fix memory leak in numberformat test
X-SVN-Rev: 36547
2014-09-17 20:31:45 +00:00
Steven R. Loomis
9a6f69ef42 ICU-10992 fix memory leak
X-SVN-Rev: 36539
2014-09-16 23:46:35 +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
6de697904d ICU-10980 Update pre-VS2010 project files to VS2010
X-SVN-Rev: 36511
2014-09-15 19:09:21 +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
a5f8e458af ICU-10981 disable this test under more situations
X-SVN-Rev: 36492
2014-09-13 04:22:36 +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
Markus Scherer
a3df75f151 ICU-11258 adjust dependencies, pull charstr & unistr_core into the platform group, fix some code
X-SVN-Rev: 36485
2014-09-12 00:11:47 +00:00
John Emmons
8716672a2d ICU-11251 Last minute CLDR data changes
X-SVN-Rev: 36475
2014-09-11 22:25:12 +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
Yoshito Umaoka
04df1aa651 ICU-8951 Fixed a typo in a comment.
X-SVN-Rev: 36460
2014-09-11 14:55:53 +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