Commit Graph

3476 Commits

Author SHA1 Message Date
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
Scott Russell
37e74533a6 ICU-10334 C vs. J differences when in lenient mode
X-SVN-Rev: 34792
2013-12-18 20:03:44 +00:00
Andy Heninger
095a44d774 ICU-10562 UText problem with shallow clone.
X-SVN-Rev: 34747
2013-12-12 01:04:54 +00:00
Travis Keep
65ecb0b5fa ICU-8464 Change C++ code according to latest API proposal.
X-SVN-Rev: 34712
2013-12-04 22:50:25 +00:00
Travis Keep
5f748fda1a ICU-8464 Fix broken build.
X-SVN-Rev: 34692
2013-11-22 23:23:40 +00:00
Travis Keep
9c65c145ff ICU-8464 Remove dependency between LRUCache and mutex.
X-SVN-Rev: 34691
2013-11-22 23:08:24 +00:00
Travis Keep
32fd3380c0 ICU-8464 Attempt to fix windows broken build.
X-SVN-Rev: 34690
2013-11-22 21:53:59 +00:00
Travis Keep
089a6434ac ICU-8464 Add relative date formatting.
X-SVN-Rev: 34686
2013-11-22 18:26:22 +00:00
Travis Keep
e1a7ad244f ICU-10545 Added test to verify rounding scientific notation works.
X-SVN-Rev: 34660
2013-11-14 18:57:06 +00:00
Travis Keep
9fa0f4299d ICU-10468 Fix applyPattern so that it resets the padding character.
X-SVN-Rev: 34578
2013-10-17 18:44:44 +00:00
Andy Heninger
10dd7ed47b ICU-10463 Regular Expressions, rework debug conditionals to fix build failures on clang, and to somewhat simplify.
X-SVN-Rev: 34565
2013-10-14 22:11:21 +00:00
Andy Heninger
045919648e ICU-10459 Fix segfault in uregex_group() when match is in invalid state.
X-SVN-Rev: 34559
2013-10-11 20:59:39 +00:00
Yoshito Umaoka
2007dc91e7 ICU-10462 ICU4C Intltest to use America/Los_Angeles as the default time zone instead of PST.
X-SVN-Rev: 34556
2013-10-10 23:02:15 +00:00
Travis Keep
12e211c5a3 ICU-10219 Fix rounding in TimeUnitFormat.
X-SVN-Rev: 34550
2013-10-10 21:52:15 +00:00
Travis Keep
18b6e9fc60 ICU-10419 Fix rounding in NumberFormat.
X-SVN-Rev: 34549
2013-10-10 21:49:53 +00:00
Yoshito Umaoka
0d678d3115 ICU-10313 Added Hebrew month value checking for leap year.
X-SVN-Rev: 34539
2013-10-10 17:35:28 +00:00
Steven R. Loomis
380a5608aa ICU-10439 fix sprintf(%s,NULL)
X-SVN-Rev: 34469
2013-09-24 23:40:46 +00:00
Michael Ow
fe11501027 ICU-10037 Update TestCanonicalID test case exclusion list in ICU4C
X-SVN-Rev: 34452
2013-09-23 14:32:20 +00:00
Yoshito Umaoka
53499c0d65 ICU-8449 ICU4C Islamic Umm Al-Qura calendar updates based on Yoshito's review.
X-SVN-Rev: 34446
2013-09-23 05:30:39 +00:00
Steven R. Loomis
4650ca64e3 ICU-7912 commit from review comments (thx)
X-SVN-Rev: 34416
2013-09-20 05:00:30 +00:00
Scott Russell
0107991a84 ICU-10249 review comment updates
X-SVN-Rev: 34410
2013-09-19 22:04:52 +00:00
Michael Ow
e5a9a38924 ICU-10398 Fix uconfig test errors in ICU 52
X-SVN-Rev: 34404
2013-09-19 20:47:22 +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
Andy Heninger
464e89cbe8 ICU-10361 DecimalFormat NumberFormatRegressionTest::Test10361(), force English DecimalFormatSymbols. Review fix from Markus.
X-SVN-Rev: 34388
2013-09-18 22:18:18 +00:00
Steven R. Loomis
358e1ddcd2 ICU-10376 fixup clang warnings
X-SVN-Rev: 34385
2013-09-18 20:08:25 +00:00
Andy Heninger
25bab8fa6f ICU-10361 DecimalFormat, remove number size restrictions that were limiting the ability to format big decimals.
X-SVN-Rev: 34366
2013-09-17 21:56:23 +00:00
Markus Scherer
1442c4ffcd ICU-9740 fix UnicodeString::getTerminatedBuffer() vs. truncated read-only alias
X-SVN-Rev: 34365
2013-09-17 21:44:35 +00:00
Markus Scherer
27e00900c8 ICU-9932 deprecate & disable cloning-into-user-buffer, except keep ucnv_safeClone() intact
X-SVN-Rev: 34359
2013-09-17 19:48:50 +00:00
Travis Keep
a99ea9c138 ICU-9946 Add test for ede case of formatting {0}, {1}, {2}
X-SVN-Rev: 34356
2013-09-17 18:01:18 +00:00
Scott Russell
c42e57a06c ICU-10249 Implement new islamic calendar variants tbla, rgsa
X-SVN-Rev: 34354
2013-09-17 16:55:02 +00:00
Yoshito Umaoka
920dadff8d ICU-10012 Disable EBCDIC Arabic/Hebrew detectors by default. Added APIs to enable/disable each charset and get currently active charsets.
X-SVN-Rev: 34350
2013-09-17 06:57:53 +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
Steven R. Loomis
1f3a6bc750 ICU-9744 add more known issues, fix #include issue, remove unused output parameter.
also, delete trailing whitespace.

X-SVN-Rev: 34347
2013-09-17 06:26:26 +00:00
Steven R. Loomis
76fce4a987 ICU-9744 remove timebomb code, update docs for logKnownIssue and log_knownIssue
X-SVN-Rev: 34341
2013-09-17 00:55:39 +00:00
Steven R. Loomis
dcd43f9055 ICU-9744 improve logknownissue
X-SVN-Rev: 34340
2013-09-17 00:21:47 +00:00
Steven R. Loomis
7802f4a73b ICU-9744 logKnownIssue and log_knownIssue for ICU4C
X-SVN-Rev: 34335
2013-09-16 22:07:02 +00:00
Scott Russell
0e7c0d8716 ICU-10261 give DateFormat more granular leniency control (fix memory leak in test)
X-SVN-Rev: 34334
2013-09-16 21:57:44 +00:00
Scott Russell
570986cb96 ICU-10261 give DateFormat more granular leniency control (fix failing test on non-Windows platform)
X-SVN-Rev: 34329
2013-09-16 14:29:41 +00:00
Scott Russell
e22e451cd8 ICU-10261 give DateFormat more granular leniency control (updated tests didn't get committed)
X-SVN-Rev: 34328
2013-09-16 13:43:10 +00:00
Markus Scherer
86472cec4b ICU-10277 disable Basque (eu) test case: there is no Basque collation data, it falls back to the default locale, that makes the test flaky
X-SVN-Rev: 34321
2013-09-13 22:43:09 +00:00
Steven R. Loomis
e46f248a50 ICU-10357 fix from review comment
X-SVN-Rev: 34312
2013-09-13 18:38:36 +00:00
Markus Scherer
59b210409f ICU-9915 add comment about test case
X-SVN-Rev: 34309
2013-09-13 17:09:57 +00:00
Steven R. Loomis
625aaa18c7 ICU-10379 IBM i - make tests run without any special options, update readme
X-SVN-Rev: 34300
2013-09-13 05:48:16 +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
Jonathan Lai
5bc9c3dcdb ICU-10379 add missing #include <stdio.h>
X-SVN-Rev: 34295
2013-09-12 23:54:19 +00:00
Peter Edberg
ce1c10fd51 ICU-10378 (C) Support skeleton meta-character 'J' in DateTimePatternGenerator
X-SVN-Rev: 34292
2013-09-12 22:49:07 +00:00
Markus Scherer
308b16079b ICU-7392 DecimalFormatSymbols::createWithLastResortData(UErrorCode), and clean up the real initialize() for supplementary digits and memory management
X-SVN-Rev: 34288
2013-09-12 20:33:29 +00:00
Andy Heninger
5b0592af79 ICU-10273 Investigate Sparc test failure.
X-SVN-Rev: 34286
2013-09-12 17:16:52 +00:00
Steven R. Loomis
bbc0a17a8e ICU-10379 fixes for IBM i - ambiguous types
X-SVN-Rev: 34285
2013-09-12 06:29:39 +00:00
Steven R. Loomis
b258b9a07b ICU-10273 fix compilation failure in test- need LL for long long
X-SVN-Rev: 34284
2013-09-12 05:49:49 +00:00
Steven R. Loomis
fd0e17c682 ICU-10379 fixes for IBM i - asciism, fix some test cases
X-SVN-Rev: 34281
2013-09-12 01:27:29 +00:00
Andy Heninger
8abaebe06e ICU-10273 DecimalFormat::getFixedDecimal(), improved handling of rounding, overflow.
X-SVN-Rev: 34280
2013-09-12 01:00:04 +00:00
Markus Scherer
fb38bbbee8 ICU-10273 support plurals with decimals in MessageFormat and PluralFormat (ported from Java r34087 & r34276)
X-SVN-Rev: 34277
2013-09-11 23:32:37 +00:00
Michael Ow
6bef61a350 ICU-10161 Delete number format after use
X-SVN-Rev: 34269
2013-09-11 17:49:34 +00:00
Andy Heninger
90522bf7b1 ICU-10273 add DecimalFormat::getFixedDecimal(Formattable &)
X-SVN-Rev: 34267
2013-09-11 01:17:28 +00:00
Michael Ow
90fd46df00 ICU-10345 Call adoptInstead instead of orphan to avoid memory leak
X-SVN-Rev: 34264
2013-09-11 00:03:06 +00:00
Peter Edberg
33c679b135 ICU-10065 Delete redundant LOW_K row in dtTypes[]
X-SVN-Rev: 34262
2013-09-10 21:29:14 +00:00
Peter Edberg
a6e8bf3f32 ICU-10065 Better sanity checks and error logging in testAllFieldPatterns
X-SVN-Rev: 34261
2013-09-10 20:34:57 +00:00
Peter Edberg
ebea161b11 ICU-10065 In DateTimePatternGenerator, add support for pattern chars K,O,X,x, adjust support for V
X-SVN-Rev: 34256
2013-09-10 07:51:38 +00:00
John Emmons
a869b0d483 ICU-10335 Merge completed CLDR24 branch into trunk.
X-SVN-Rev: 34238
2013-09-07 20:46:42 +00:00
Andy Heninger
4d9fad13ef ICU-10273 Plural Rules Fixed Decimal, improve handling of NaN and Infinity
X-SVN-Rev: 34225
2013-09-06 20:02:42 +00:00
Andy Heninger
7b3b75a525 ICU-10273 Plural Rules, add DecimalFormat::getFixedDecimal(). Work in progress.
X-SVN-Rev: 34204
2013-09-05 23:28:28 +00:00
Peter Edberg
bcfcd53be9 ICU-10161 trimMarksFromAffix must trim all marks; update "ar" number patterns to latest
X-SVN-Rev: 34203
2013-09-05 22:13:07 +00:00
Steven R. Loomis
e5fac0714c ICU-10345 make formatting of a Formattable currency thread safe.. by cloning. makes unum_formatDoubleCurrency also slow.
X-SVN-Rev: 34200
2013-09-05 05:32:56 +00:00
Steven R. Loomis
7a9480becc ICU-10357 only show 'are you missing data' once
X-SVN-Rev: 34197
2013-09-05 03:55:29 +00:00
Peter Edberg
8997c77684 ICU-10161 Now compareSimpleAffix ignores LRM/RLM/ALM in affix or text when comparing them;
and pre-integrate some CLDR 24 number symbol & pattern changes so tests will match the new data.

X-SVN-Rev: 34186
2013-09-04 10:46:03 +00:00
Andy Heninger
003c35c1d9 ICU-10273 Plural Rules, add DecimalFormat::getFixedDecimal(). Work in progress.
X-SVN-Rev: 34176
2013-09-04 01:07:35 +00:00
Markus Scherer
e77aa2a82f ICU-10142 BidiCharacterTest.txt field 0 is always a code point string
X-SVN-Rev: 34151
2013-08-30 20:27:29 +00:00
Markus Scherer
90b538ae3f ICU-10142 implement Unicode 6.3 bidi algorithm additions: merge icu/branches/mati/uba63 into trunk, merge new test for BidiCharacterTest.txt into bidiconf.cpp
X-SVN-Rev: 34147
2013-08-30 16:32:45 +00:00
Peter Edberg
b6dcdfcd25 ICU-10176 No line break in $SY $HL; update tests accordingly
X-SVN-Rev: 34142
2013-08-30 05:51:27 +00:00
Travis Keep
7f3d307ef8 ICU-10274 Rollback TimePeriod additions, but leave in changes to listformatter for Mark's more generic units API.
X-SVN-Rev: 34135
2013-08-29 23:45:48 +00:00
Andy Heninger
6ddf597269 ICU-10273 fix bug in plural rules parser, caused failure of CompactDecimalFormatTest
X-SVN-Rev: 34111
2013-08-29 00:50:50 +00:00
Andy Heninger
4dc67e0203 ICU-10273 New plural rule syntax. Changes merged from development branch. With this checkin, Plural rule data is back in synch between ICU4C, ICU4J and CLDR trunk.
X-SVN-Rev: 34103
2013-08-28 20:51:44 +00:00
Yoshito Umaoka
b0eaf25682 ICU-9526 Fixed a parsing problem with custom monetary gouping separator. Fixed some bad coding style. Added a test case for testing custom symbols.
X-SVN-Rev: 34069
2013-08-20 20:51:31 +00:00
Michael Ow
7b22c02d86 ICU-8449 Remove calendar instances after test
X-SVN-Rev: 34061
2013-08-17 19:37:46 +00:00
Andy Heninger
c3b0565eea ICU-8449 fix broken build from earlier checkin.
X-SVN-Rev: 34054
2013-08-16 18:10:31 +00:00
Scott Russell
e715efb8e8 ICU-8449 Add Um al-Qura Hijri Calendar Support
X-SVN-Rev: 34053
2013-08-16 17:09:51 +00:00
Travis Keep
41b7ee189d ICU-10258 Parse different variations of '+' and '-' when isLenient is set in C++.
X-SVN-Rev: 33989
2013-07-25 17:58:37 +00:00
Travis Keep
ecd7ea193b ICU-10274 Add compound duration formatting for C++
X-SVN-Rev: 33986
2013-07-25 16:36:25 +00:00
Peter Edberg
958d9edc45 ICU-10222 (C) Update 2 more tests to match new plural rules
X-SVN-Rev: 33964
2013-07-23 18:21:02 +00:00
Andy Heninger
f4e36c9c98 ICU-10253 Plural Rule, support for new syntax for fractional rules. Merge from development branch.
X-SVN-Rev: 33958
2013-07-22 23:57:17 +00:00
Peter Edberg
b8f66e90c3 ICU-10222 (C) Update some plural test cases, add better error logging
X-SVN-Rev: 33933
2013-07-18 01:31:13 +00:00
Travis Keep
38eb17d4d0 ICU-10222 Fix failing tests in NumberFormatTest.
X-SVN-Rev: 33916
2013-07-11 20:49:11 +00:00
Yoshito Umaoka
b0595e1051 ICU-10222 Reverted r33902, but updated the locale used for testing from 'ru' to 'uk'. The test case was originally written for the rule set formerly shared by 'ru' and 'uk', but the rule for 'ru' had been changed. After the new syntax for fractional plural is once supported in ICU4C, then the test case should pass successfully with locale 'uk'.
X-SVN-Rev: 33915
2013-07-11 19:13:13 +00:00
Travis Keep
057a643216 ICU-10222 Fix CompactDecimalFormat tests for serbian to match new plural rules.
X-SVN-Rev: 33910
2013-07-11 17:19:48 +00:00
Travis Keep
d17fb7ead0 ICU-10222 Fix failing test for MessageFormat because the plural rules for russian changed.
X-SVN-Rev: 33902
2013-07-10 20:52:00 +00:00
Steven R. Loomis
bfdba0df96 ICU-9583 show test summary at end of make. Apropos when the trunk is broken..
X-SVN-Rev: 33895
2013-07-09 01:16:33 +00:00
Peter Edberg
09ac4ef907 ICU-10222 (C) Integrate CLDR data snapshot for ICU 52.0.1; add calendar types
X-SVN-Rev: 33890
2013-07-08 06:51:38 +00:00
Steven R. Loomis
d5d6cc5ff8 ICU-7912 fix breakage
X-SVN-Rev: 33853
2013-06-26 15:27:41 +00:00
Steven R. Loomis
ae061ff78f ICU-7912 C wrapper for Formattable - UFormattable
X-SVN-Rev: 33849
2013-06-26 06:31:09 +00:00
Andy Heninger
20016a58db ICU-9719 Regular Expressions, add loop breaking to unbounded {min, max} loops.
X-SVN-Rev: 33848
2013-06-26 00:27:11 +00:00
Travis Keep
f28544ab1b ICU-10069 Attempt to fix broken build.
X-SVN-Rev: 33843
2013-06-24 18:05:38 +00:00
Travis Keep
1f6c4dab6b ICU-10069 Attempt to fix broken build.
X-SVN-Rev: 33842
2013-06-24 17:19:09 +00:00
Travis Keep
2830139ec2 ICU-10069 Attempt fo fix broken build.
X-SVN-Rev: 33841
2013-06-21 00:33:41 +00:00
Steven R. Loomis
2116c12c20 ICU-10069 improve error messages"
X-SVN-Rev: 33839
2013-06-20 22:20:51 +00:00
Steven R. Loomis
2c6bc98b14 ICU-10069 improve error messages, add commented-out case that passes on solaris and fails on others
X-SVN-Rev: 33838
2013-06-20 22:09:42 +00:00
Steven R. Loomis
04e47d76cc ICU-10231 add -u option to intltest, force utf-8 output
X-SVN-Rev: 33837
2013-06-20 22:05:51 +00:00
Andy Heninger
5ea9cb88a5 ICU-9936 Decimal Format, auto-enable SignificantDigitsUsed when setting significant digits.
X-SVN-Rev: 33833
2013-06-17 18:49:28 +00:00
Andy Heninger
ac982cb8f8 ICU-5901 RBBI.getRuleStatus(), hoist to BreakIterator from RuleBasedBreakIterator
X-SVN-Rev: 33830
2013-06-14 00:47:11 +00:00
Travis Keep
6676337f3e ICU-10069 Take into account compatible currency symbols, e.g half-width and full width yen symbol when parsing currencies in C++. Currency equivalence relation is hard-coded for now.
X-SVN-Rev: 33825
2013-06-13 18:38:53 +00:00
Yoshito Umaoka
434a94ec4d ICU-10209 Fixed odd TimeType problem with ZONE_ID, ZONE_ID_SHORT and EXEMPLAR_LOCATION in TimeZoneFormat#format. Also added generic TimeZoneFormat test cases.
X-SVN-Rev: 33819
2013-06-12 20:56:06 +00:00
Andy Heninger
ae87a3acc2 ICU-10051 Mutexes: introduce UInitOnce; remove UMTX_CHECK; replace all uses of UMTX_CHECK. All the directories this time.
X-SVN-Rev: 33788
2013-06-01 03:37:16 +00:00
Travis Keep
21ed20e983 ICU-10045 Fix again so that zero shows as 0 not 0.0
X-SVN-Rev: 33751
2013-05-24 22:45:48 +00:00
Peter Edberg
ec6a2c8696 ICU-10186 Need special numeric era format/parse for dangi too (C)
X-SVN-Rev: 33734
2013-05-23 01:28:21 +00:00
Yoshito Umaoka
7e0d7fa479 ICU-10148 TZ database/Windows zone ID mapping APIs.
X-SVN-Rev: 33726
2013-05-22 20:33:30 +00:00
Peter Edberg
20ae926194 ICU-10120 Copy fix #9983 (for word ubrk_previous infinite loop) to word_POSIX too
X-SVN-Rev: 33682
2013-05-19 06:36:13 +00:00
Michael Ow
1ba5235ef5 ICU-10169 Fix redefinition of macro on os390 in simplethread test code
X-SVN-Rev: 33681
2013-05-18 00:59:21 +00:00
Markus Scherer
2982958b06 ICU-10128 update ICU to Unicode 6.3 beta (merge from branches/markus/uni63 at r33661)
X-SVN-Rev: 33662
2013-05-15 21:51:04 +00:00
Michael Ow
4b966aacc4 ICU-10083 Update version number to 52.0.1 and update timebombs
X-SVN-Rev: 33604
2013-05-07 19:53:34 +00:00
Yoshito Umaoka
1551c65468 ICU-10098 Fixed LCID to posix-style locale ID mapping problem. The fix required to change the internal LCID mapping function interface, and resolved a threading issue in uloc_getLocaleForLCID() and some other internal implementation problems in Win32DateFormat/Win32NumberFormat.
X-SVN-Rev: 33586
2013-05-03 21:36:03 +00:00
Peter Edberg
79b8f74642 ICU-9984 For DTPG, Y in skeleton should produce Y in pattern
X-SVN-Rev: 33562
2013-04-29 22:10:29 +00:00
Travis Keep
77f8f1e2c2 ICU-10045 Change UNICODE_STRING_SIMPLE to a UnicodeString constructor in an attempt to fix broken builds.
X-SVN-Rev: 33489
2013-04-03 21:18:45 +00:00
Travis Keep
41bb29f532 ICU-10045 Fix number of significant digits with 0.
X-SVN-Rev: 33487
2013-04-03 20:11:01 +00:00
Travis Keep
6125cf2eff ICU-10045 Formatting with significant digits to work correctly with 0 in C++
X-SVN-Rev: 33485
2013-04-02 22:01:33 +00:00
Travis Keep
7e89728836 ICU-9914 ICU4C DateIntervalFormat to handle 2 year vs. 4 year formats.
X-SVN-Rev: 33453
2013-03-21 17:25:43 +00:00
Andy Heninger
1f65c0e70a ICU-10048 Compiler warning cleanup.
X-SVN-Rev: 33445
2013-03-21 05:48:52 +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
Michael Ow
0990f9bd02 ICU-10013 Fix some no data test error and memory leaks
X-SVN-Rev: 33424
2013-03-14 17:14:52 +00:00
Steven R. Loomis
a7758d2cd5 ICU-10030 fix crasher when no subregions, also err check, and modernize test infrastructure
X-SVN-Rev: 33401
2013-03-08 19:23:41 +00:00
Yoshito Umaoka
260c82c874 ICU-9732 Update tzdata in ICU4C trunk to 2013a
X-SVN-Rev: 33389
2013-03-07 02:57:53 +00:00
Peter Edberg
bc29c28e46 ICU-9965 Don't skip availableFormats items from non-root locales if conflict only due to basePattern (C)
X-SVN-Rev: 33360
2013-03-04 11:10:20 +00:00
Andy Heninger
0fb049e787 ICU-9983 Fix inconsistent forward and reverse RBBI word break rules when a dictionary character is followed by an extend char.
X-SVN-Rev: 33351
2013-03-01 00:26:35 +00:00
Peter Edberg
7f06ea3bbf ICU-9975 Update test for new expected result, remove timebomb
X-SVN-Rev: 33350
2013-02-28 22:56:34 +00:00
Michael Ow
c7fe946b72 ICU-9721 Change version number to 51.1 and update timebombs
X-SVN-Rev: 33347
2013-02-27 21:34:41 +00:00
John Emmons
0f90af1342 ICU-9878 Use just the CLDR language code list instead of the whole ISO639
X-SVN-Rev: 33337
2013-02-27 13:44:20 +00:00
John Emmons
f267d1e3dd ICU-9878 Update LANGUAGES and COUNTRIES list with current ISO/CLDR tables
X-SVN-Rev: 33336
2013-02-27 04:33:58 +00:00
Michael Ow
e31422e17e ICU-9721 Fix errors found and fixed by icu-svnprops-check.py in ICU4C
X-SVN-Rev: 33326
2013-02-25 23:23:33 +00:00
Peter Edberg
57367832e2 ICU-9925 Update time-bomb comment to refer to new ticket #9975 for it
X-SVN-Rev: 33315
2013-02-24 19:30:14 +00:00
Peter Edberg
73f831cc03 ICU-9967 Move timebomb test to better location, print more info for cal limit test failures
X-SVN-Rev: 33313
2013-02-23 22:36:49 +00:00
Michael Ow
d0ef650ea4 ICU-9721 Fix some uconfig test failures
X-SVN-Rev: 33311
2013-02-23 16:40:06 +00:00
Peter Edberg
40d1216e5e ICU-9967 Timebomb some test values for Dangi cal limits test, to be fixed with #9972
X-SVN-Rev: 33310
2013-02-23 01:38:04 +00:00
Michael Ow
795b21007f ICU-9802 Fix no data cintltst and intltest failures
X-SVN-Rev: 33302
2013-02-22 03:24:01 +00:00
Markus Scherer
9452d9ed08 ICU-9880 g++ does not seem to allow a class pointer field whose type is from an anonymous namespace
X-SVN-Rev: 33277
2013-02-20 20:57:54 +00:00
Peter Edberg
7aeeab19e9 ICU-9925 Pick up the non-gregorian date format fixes from CLDR 8218 (C)
X-SVN-Rev: 33273
2013-02-19 19:52:15 +00:00
Peter Edberg
47c5a5aa61 ICU-9616 Add DangiCalendar & tests, port from J to C
X-SVN-Rev: 33267
2013-02-18 23:36:57 +00:00
Markus Scherer
ebbc5423ef ICU-9538 add script metadata properties API
X-SVN-Rev: 33255
2013-02-17 00:49:18 +00:00
Markus Scherer
dba8bad06b ICU-9602 tell ICU4J to ignore conversion test data for good one-way mappings
X-SVN-Rev: 33249
2013-02-16 00:16:09 +00:00
Markus Scherer
f5cd9984c6 ICU-9880 add ImmutableIndex, replace Chinese hacks and support zhuyin, handle index characters with multiple primary weights, lazy-create rarely-used objects, bug fixes, port other improvements from Java
X-SVN-Rev: 33245
2013-02-15 22:11:33 +00:00
Andy Heninger
915f2365a3 ICU-9077 Fix failing test rbbi/RBBITest/TestExtended
X-SVN-Rev: 33234
2013-02-15 08:14:10 +00:00
Andy Heninger
c68b5d9d38 ICU-9077 Enhancements to break iteration tests.
X-SVN-Rev: 33233
2013-02-15 07:17:59 +00:00
Andy Heninger
c437359b7f ICU-9077 RBBI test enhancements.
X-SVN-Rev: 33232
2013-02-15 02:13:58 +00:00
Travis Keep
e391bd75da ICU-9919 Add LocalPointer to test.
X-SVN-Rev: 33223
2013-02-14 20:29:16 +00:00
Peter Edberg
cd49c23616 ICU-9925 CLDR 23 pre-integration part 3, batch 3 (C)
X-SVN-Rev: 33217
2013-02-14 09:51:25 +00:00
Peter Edberg
08fb2eacd2 ICU-9925 CLDR 23 pre-integration part 3, batch 2 (C)
X-SVN-Rev: 33202
2013-02-13 13:26:23 +00:00
Travis Keep
003a138300 ICU-9919 Add test that DateIntervalFormat.setDateIntervalInfo does not corrup the cache.
X-SVN-Rev: 33198
2013-02-12 22:51:17 +00:00
Travis Keep
0c74014256 ICU-9919 Add check for failure in testSetIntervalPatternNoSideEffect
X-SVN-Rev: 33197
2013-02-12 21:44:42 +00:00
Peter Edberg
bf5a321da8 ICU-9925 CLDR 23 pre-integration part 3, batch 1 (C)
X-SVN-Rev: 33196
2013-02-12 21:00:17 +00:00
Travis Keep
b9243a0522 ICU-9919 Add test to ensure that DateIntervalInfo.setIntervalPattern has no unwanted side effects.
X-SVN-Rev: 33194
2013-02-12 19:47:49 +00:00
Michael Ow
e33bccf0e8 ICU-9655 Consolidate test code
X-SVN-Rev: 33193
2013-02-12 06:46:51 +00:00
Andy Heninger
e06001f2d0 ICU-9440 spoof checker, merge updates from branch.
X-SVN-Rev: 33162
2013-02-11 04:51:14 +00:00
Yoshito Umaoka
87158d4fba ICU-9867 New time zone pattern letters/types support for CLDR 23/ICU 51.
X-SVN-Rev: 33159
2013-02-11 00:23:55 +00:00
Andy Heninger
686c8d47f9 ICU-9842 AlphabeticIndex: add constructor taking a collator.
X-SVN-Rev: 33148
2013-02-09 01:07:41 +00:00
John Emmons
96f4a704b2 ICU-9889 Implement scaling for decimalFormat
X-SVN-Rev: 33138
2013-02-07 19:48:29 +00:00
Michael Ow
2724d7c5cc ICU-9802 Fix failures in running cintltst and intltest without data
X-SVN-Rev: 33089
2013-01-29 01:51:53 +00:00
Peter Edberg
b2d677bb65 ICU-9876 Pre-integrate some CLDR 23 additions/changes, part 2 (C)
X-SVN-Rev: 33077
2013-01-26 01:14:35 +00:00
John Emmons
734cb70cc4 ICU-8451 Fix memory leaks in region implementation
X-SVN-Rev: 33054
2013-01-15 23:53:27 +00:00
John Emmons
49f6a2cd7c ICU-8451 Clean up region test - fails build on some platforms
X-SVN-Rev: 33050
2013-01-14 19:32:39 +00:00
John Emmons
aad0b5d0f3 ICU-8451 Add region objects to Makefiles - remove one unnecessary line in region.cpp
X-SVN-Rev: 33049
2013-01-14 19:06:31 +00:00
John Emmons
013c6db432 ICU-8451 Initial port - Region APIs from Java to C++
X-SVN-Rev: 33048
2013-01-14 18:37:56 +00:00
Peter Edberg
54098be451 ICU-9497 Add support for short weekday names: format, parse, get/set symbols (C)
X-SVN-Rev: 33047
2013-01-14 04:48:51 +00:00
Peter Edberg
93632b56f2 ICU-9781 Parsing fractional seconds should truncate (not round) to 3 places (C)
X-SVN-Rev: 33044
2013-01-13 18:54:09 +00:00
Peter Edberg
3d5799a284 ICU-9840 Pre-integrate some CLDR 23 additions/changes (C)
X-SVN-Rev: 33033
2013-01-10 17:58:47 +00:00
Scott Russell
ce9b84ec38 ICU-9836 C/Java mismatch parsing years with pattern "yyyy"
X-SVN-Rev: 33014
2013-01-05 18:39:23 +00:00
Yoshito Umaoka
531924c9b4 ICU-9733 Use primary zone data (formerly singleCountries) for generic location names in ICU4C. This includes metaZones.txt generated from cldrbug:5439 changes (CLDR svn revision 8008).
X-SVN-Rev: 33012
2013-01-04 22:26:42 +00:00
Yoshito Umaoka
162a3e851a ICU-9573 Added namespace to resolve a build issue.
X-SVN-Rev: 32997
2012-12-19 23:14:21 +00:00
Yoshito Umaoka
cecef8ed3d ICU-9573 A fix for compilation problem.
X-SVN-Rev: 32995
2012-12-19 18:48:41 +00:00
Yoshito Umaoka
7586fcf7d4 ICU-9573 Removing Boyer-Moore string search implementation. CollData has moved from i18n package to intltest.
X-SVN-Rev: 32994
2012-12-19 05:12:25 +00:00
Michael Ow
a2b57cea30 ICU-9802 Fix failures in running intltest without data
X-SVN-Rev: 32981
2012-12-17 16:23:38 +00:00
Markus Scherer
e1f1427f84 ICU-9789 ++enum requires cast
X-SVN-Rev: 32964
2012-12-14 17:10:15 +00:00
Markus Scherer
af439c67de ICU-9789 lenient date/time parsing: accept missing or added trailing dot after non-numeric fields; refactor isNumeric() logic
X-SVN-Rev: 32962
2012-12-14 06:35:11 +00:00
Steven R. Loomis
71946b5544 ICU-9655 make enumset test a real test, not just printfs
X-SVN-Rev: 32936
2012-12-10 19:18:04 +00:00
Steven R. Loomis
736010a456 ICU-9655 move enumset test
X-SVN-Rev: 32934
2012-12-07 00:26:50 +00:00
Michael Ow
1d717e307f ICU-9543 Fix uconfig test failure
X-SVN-Rev: 32921
2012-12-04 23:19:40 +00:00
Steven R. Loomis
9994b1fe03 ICU-9677 fix affixes-ignored-for-parse - check in handleChanged() instead of relying on input function
X-SVN-Rev: 32918
2012-12-04 21:33:15 +00:00
Steven R. Loomis
bc81e5f281 ICU-9780 calculate fastpath for parsing side separately, also allow grouping sep in nonlenient intonly mode
X-SVN-Rev: 32917
2012-12-04 20:33:19 +00:00
Steven R. Loomis
4297072ccd ICU-9714 now builds clean on IBM i- fix some test cases for ASCIIsms, fix formattable buffer size
X-SVN-Rev: 32905
2012-11-29 01:09:50 +00:00
Travis Keep
34fdf50b05 ICU-9625 Change C++ ListFormatter to use ICU data instead of hard-coded data.
X-SVN-Rev: 32837
2012-11-15 18:15:37 +00:00
Michael Ow
e376e476af ICU-9543 Add compactdecimalformat information to MSVC project files
X-SVN-Rev: 32832
2012-11-14 23:02:46 +00:00
Travis Keep
9307d96277 ICU-9543 Use scientific notation in tests for constants >= 1E9
X-SVN-Rev: 32829
2012-11-14 21:49:39 +00:00
Travis Keep
0c1eb43e1f ICU-9543 Change numbers to floating point in tests.
X-SVN-Rev: 32824
2012-11-14 19:42:16 +00:00
Travis Keep
161183009a ICU-9543 C++ CompactDecimalFormat moved to trunk.
X-SVN-Rev: 32819
2012-11-14 18:49:38 +00:00
Markus Scherer
bc31ae8173 ICU-9662 add & test & use U8_GET_OR_FFFD(), U8_NEXT_OR_FFFD(), U8_PREV_OR_FFFD()
X-SVN-Rev: 32796
2012-11-11 06:14:18 +00:00
Markus Scherer
2b38252e75 ICU-9728 do not automatically define UChar=char16_t because that makes C++ APIs incompatible with application code that was compiled without char16_t; define UChar=UCHAR_TYPE if that is #defined; change U_STRING_DECL to sometimes create a pointer, not array, so that we can cast the UTF-16 string literal type
X-SVN-Rev: 32780
2012-11-09 17:57:46 +00:00
Markus Scherer
9f22b7cb11 ICU-9679 fix Clang 3.1 compiler warnings, all in test code, mostly adding integers to string literals
X-SVN-Rev: 32778
2012-11-09 00:09:28 +00:00
Markus Scherer
22a342a545 ICU-9689 UObject::getDynamicClassID() const { return NULL; } and remove UOBJECT_DEFINE_NO_RTTI_IMPLEMENTATION -> easier to create new class hierarchies
X-SVN-Rev: 32776
2012-11-08 23:31:20 +00:00
Travis Keep
69d9432ee2 ICU-9725 C GenderInfo must handle single item lists correctly by returning the gender of the sole item.
X-SVN-Rev: 32761
2012-11-06 19:29:54 +00:00
Steven R. Loomis
899e8cf57c ICU-9711 fix makefile and another test for OS/400
X-SVN-Rev: 32743
2012-11-02 20:16:27 +00:00
Michael Ow
f8365c92da ICU-9397 Update tests to pass without data in ICU 50 RC
X-SVN-Rev: 32680
2012-10-19 20:09:53 +00:00
John Emmons
340b47c297 ICU-9676 Merge CLDR release-22-1-d01
X-SVN-Rev: 32666
2012-10-19 03:36:01 +00:00
Peter Edberg
cce314dc85 ICU-9581 Handle uconfig.h variations: fix errors and some of the old warnings
X-SVN-Rev: 32659
2012-10-18 19:51:28 +00:00
Michael Ow
baf198dec3 ICU-9581 Fix some memory leaks in cintltst and intltest
X-SVN-Rev: 32642
2012-10-16 16:01:17 +00:00
Peter Edberg
553bcf0b33 ICU-9656 Change RelativeDateFormat to keep 2 patterns (not formatters), and for fmt/parse glue them (with substitutions) and apply to single formatter
X-SVN-Rev: 32638
2012-10-15 23:32:31 +00:00
Michael Ow
e0d218d5b6 ICU-9613 Remove myEnum:: prefix
X-SVN-Rev: 32626
2012-10-12 22:47:38 +00:00
Michael Ow
799a603abc ICU-9613 Merge from branch to trunk
X-SVN-Rev: 32622
2012-10-12 19:52:43 +00:00
Peter Edberg
adc6f41d0e ICU-9581 Update ICU version to 50.1, update timebombs for #9156,#9490,#8982,ccldrbug3058
X-SVN-Rev: 32616
2012-10-12 03:19:08 +00:00
Travis Keep
dd506783e6 ICU-9598 Respond to Markus' comments on C GenderInfo
X-SVN-Rev: 32600
2012-10-11 18:52:55 +00:00
Peter Edberg
4e08dc21bb ICU-9303 Finish LocaleDisplayNamesImpl & add test
X-SVN-Rev: 32575
2012-10-09 12:45:54 +00:00
Markus Scherer
7239810394 ICU-9631 add, fix, deprecate DateFormat skeleton constants, parallel to Java ticket #9375
X-SVN-Rev: 32572
2012-10-09 04:50:45 +00:00
Peter Edberg
b6053b4240 ICU-9633 Adapt date fmt display context APIs to tentative new UDisplayContext
X-SVN-Rev: 32549
2012-10-08 16:52:35 +00:00
Markus Scherer
dd8f01c15e ICU-9194 test Calendar::getKeywordValuesForLocale(), in ulist_next_keyword_value() set *resultLength, add further enumeration default implementations & shortcuts
X-SVN-Rev: 32543
2012-10-07 04:52:16 +00:00
Andy Heninger
f20e0f454a ICU-9598 Tweaks to visual studio project files for gender info
X-SVN-Rev: 32542
2012-10-07 04:00:17 +00:00
Markus Scherer
49d407d984 ICU-9294 test & fix MessageFormat::getFormatNames()
X-SVN-Rev: 32540
2012-10-07 01:27:19 +00:00
Markus Scherer
345df05de0 ICU-9598 add new *gender* files to .vcxproj
X-SVN-Rev: 32538
2012-10-07 00:35:07 +00:00
Travis Keep
f7cefb19f1 ICU-9598 Applied same comments markus had on C++ CompactDecimalFormatTest to the C++ GenderInfoTest.
X-SVN-Rev: 32532
2012-10-05 21:48:40 +00:00
Andy Heninger
803ac8f33c ICU-9461 Mutex Implementation Rework, merge from devel branch.
X-SVN-Rev: 32530
2012-10-05 21:22:02 +00:00
Travis Keep
5786467fb0 ICU-9598 C/C++ implementation of GenderInfo.
X-SVN-Rev: 32527
2012-10-05 19:02:05 +00:00
Roozbeh Pournader
322682119a ICU-8952 fixed the algorithm for Persian Calendar and heavily refactored
X-SVN-Rev: 32498
2012-10-03 22:26:05 +00:00
Michael Ow
b56dee8547 ICU-9397 Update tests in intltest to pass without data
X-SVN-Rev: 32489
2012-10-02 22:11:31 +00:00
Dina Sayed
7dfc9d289a ICU-9473 unit test for Arabic shaping is not thread safe
X-SVN-Rev: 32461
2012-09-28 16:43:12 +00:00
Steven R. Loomis
6eef7bff7b ICU-9596 cleanup U_NO_DEFAULT_INCLUDE_UTF_HEADERS - use utf_old.h in tests when needed
X-SVN-Rev: 32440
2012-09-27 18:52:04 +00:00
Markus Scherer
ed360ffa61 ICU-9514 final UCA 6.2 UCARules.txt, adjust test code
X-SVN-Rev: 32416
2012-09-21 20:31:11 +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
Michael Ow
2c52355d1b ICU-9581 Fix some memory leaks in the intltest test code
X-SVN-Rev: 32393
2012-09-17 17:53:25 +00:00
Yoshito Umaoka
35f8e12864 ICU-9572 A couple of more exclusion code points in bmMonkeyTest in addition to r32203.
X-SVN-Rev: 32378
2012-09-13 17:47:18 +00:00
Umesh Nair
fbbb603da6 ICU-9568 Adding test case with a pattern with out-of-order placeholders.
X-SVN-Rev: 32376
2012-09-12 00:14:25 +00:00
Yoshito Umaoka
f6b1112128 ICU-9381 Shorten time zone generic location name per cldrbug:4897. Imported the CLDR trunk data including fixes necessary for this.
X-SVN-Rev: 32368
2012-09-11 15:28:29 +00:00