Commit Graph

19056 Commits

Author SHA1 Message Date
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
1c02705b8f ICU-9822 fix U_STRING_INIT string length
X-SVN-Rev: 35228
2014-02-25 22:56:51 +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
5877fc6542 ICU-10630 Add Thai words for "application" and "tag" to thaidict.txt
X-SVN-Rev: 35213
2014-02-24 19:34:40 +00:00
Peter Edberg
7ebe390ea6 ICU-10691 Add 23 city names (mostly from exemplar city data) to thaidict.txt
X-SVN-Rev: 35211
2014-02-24 16:39:00 +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
5b67287476 ICU-10706 Fix Windows build problem with string literals.
X-SVN-Rev: 35168
2014-02-19 06:59:00 +00:00
Andy Heninger
8525e6bd47 ICU-10706 Spoof Check data update.
X-SVN-Rev: 35164
2014-02-19 01:07:32 +00:00
Michael Ow
8304daf4d7 ICU-10711 Fix pds dataset data builds on zos
X-SVN-Rev: 35152
2014-02-18 06:21:37 +00:00
Travis Keep
b9c4a1ec76 ICU-10640 Improve documentation.
X-SVN-Rev: 35147
2014-02-16 07:36:36 +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
1d1172e466 ICU-10700 Document that relevant registerXXX() method must be called at application startup and unregister() methods must be called at application shutdown.
X-SVN-Rev: 35129
2014-02-12 23:37:47 +00:00
Travis Keep
abbae79212 ICU-10640 Change MeasureFormat::adoptNumberFormat to adhere to ICU users' guide.
X-SVN-Rev: 35117
2014-02-10 22:55:18 +00:00
Travis Keep
8f7065db65 ICU-10640 Fix memory leak in adoptNumberFormat code.
X-SVN-Rev: 35116
2014-02-10 22:52:01 +00:00
Andy Heninger
059f862c4a ICU-10015 Dictionary Break, sync between ICU4C & J. Most changes for this ticket are in ICU4J.
X-SVN-Rev: 35115
2014-02-10 20:12:03 +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
Peter Edberg
401daae867 ICU-10633 Implement context-sensitive number formatting (currently just for RBNF)
X-SVN-Rev: 35095
2014-02-06 09:41:17 +00:00
Peter Edberg
1eea3529b2 ICU-10676 Also update the unum_open documentation for available styles
X-SVN-Rev: 35094
2014-02-06 07:17:07 +00:00
Peter Edberg
67551b09e9 ICU-10676 unum_open should support UNUM_CURRENCY_ISO, UNUM_CURRENCY_PLURAL styles
X-SVN-Rev: 35093
2014-02-06 06:31: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
Scott Russell
c7519ed407 ICU-10660 add back removed comments to fix missing sample code in ICU4C API doc
X-SVN-Rev: 35084
2014-02-05 18:07:53 +00:00
Travis Keep
ab9706155a ICU-10640 Attempt to fix broken build.
X-SVN-Rev: 35073
2014-02-04 02:16:23 +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
Steven R. Loomis
a4074397ec ICU-10669 reinstate parallel CLDR-to-ICU build
X-SVN-Rev: 35031
2014-01-30 01:42:28 +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
1f93b4c481 ICU-10646 Attempt to fix broken build.
X-SVN-Rev: 35019
2014-01-29 05:52:11 +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
George Rhoten
4397b041e3 ICU-10622 Fix warnings and errors when DEBUG is accidentally defined.
X-SVN-Rev: 35007
2014-01-28 04:25:46 +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
Yoshito Umaoka
48c55b449e ICU-10653 Fixed a thread safety problem in SimpleDateFormat.
X-SVN-Rev: 34992
2014-01-27 14:53:26 +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
Andy Heninger
1c67f2b859 ICU-10644 Add missing #include of platform.h
X-SVN-Rev: 34968
2014-01-22 19:05:23 +00:00
Peter Edberg
1223df27e0 ICU-10483 Further #ifndef U_HIDE_XXX adjustments from running hdrtst
X-SVN-Rev: 34966
2014-01-22 07:27:50 +00:00
Peter Edberg
ebb200b1e4 ICU-10483 Update #ifndef U_HIDE_XXX guards for 53m1
X-SVN-Rev: 34965
2014-01-22 04:27:50 +00:00
Scott Russell
3059ac945f ICU-10650 53m1 BRS task - updates for non-ascii code in C
X-SVN-Rev: 34953
2014-01-21 20:58:03 +00:00
Steven R. Loomis
0580e9e8ee ICU-10650 remove nbsp (!) that were preventing proper parsing of the @draft tag
X-SVN-Rev: 34949
2014-01-21 18:26:44 +00:00
Scott Russell
3fa1319cc4 ICU-10650 53m1 BRS task - updates for svn properties
X-SVN-Rev: 34946
2014-01-21 04:04:40 +00:00
Peter Edberg
b11fbe7b7f ICU-10483 Update urename.h for 53m1
X-SVN-Rev: 34937
2014-01-20 21:35:40 +00:00
Matitiahu Allouche
11bda31f78 ICU-10647 fixes to UBA implementation to make it behave exactly like the reference implementations even for all the known weird cases.
X-SVN-Rev: 34934
2014-01-19 22:04:33 +00:00
Travis Keep
281cbf5106 ICU-8464 Implement more changes from Markus' code review.
X-SVN-Rev: 34929
2014-01-17 23:11:22 +00:00
Markus Scherer
1a8fa006ec ICU-10483 update intra-ICU4C dependencies
X-SVN-Rev: 34925
2014-01-17 21:39:13 +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
Peter Edberg
2bf11e889d ICU-10628 Use (const DateFormat*)fmt in udat_getContext, (const NumberFormat*)fmt in unum_getContext
X-SVN-Rev: 34916
2014-01-16 22:46:04 +00:00
Travis Keep
f2738c9787 ICU-10468 andy's review comments.
X-SVN-Rev: 34914
2014-01-16 21:32:53 +00:00
Peter Edberg
93ac2bd3b5 ICU-10585 Review fixes: Improve arg check, then don't skip res.setTo for preflight case
X-SVN-Rev: 34906
2014-01-15 23:44:01 +00:00
Peter Edberg
541a0405a7 ICU-10628 udat_getContext should use const UDateFormat*
X-SVN-Rev: 34904
2014-01-15 20:55:04 +00:00
Peter Edberg
ee25f053a6 ICU-10574 Add basic C sanity check too
X-SVN-Rev: 34900
2014-01-15 09:31:11 +00:00
Peter Edberg
4c8984f5cb ICU-10574 initialize fCapitalizationContext in default constructor
X-SVN-Rev: 34897
2014-01-15 08:34:01 +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
Peter Edberg
1865fa1670 ICU-10574 part 1, just API and setContext/getContext implementation
X-SVN-Rev: 34886
2014-01-14 07:31:30 +00:00
Peter Edberg
df7d845995 ICU-10585 Add utrans_toRules, utrans_getSourceSet
X-SVN-Rev: 34882
2014-01-13 07:27:02 +00:00
Peter Edberg
9cf4a2acd5 ICU-10591 Hoist setContext from SimpleDateFormat/RelativeDateFormat to DateFormat
X-SVN-Rev: 34881
2014-01-12 05:23:30 +00:00
Peter Edberg
b6f141239f ICU-10623 Integrated data generated from CLDR 25-M1, but skipped new data in data/coll/
X-SVN-Rev: 34878
2014-01-11 22:23:57 +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
8067293d35 ICU-10043 ignore the genrb --omitCollationRules flag while importing rules
X-SVN-Rev: 34874
2014-01-11 00:28:53 +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
9dd53d288d ICU-10499 fix compile error with gcc.
X-SVN-Rev: 34872
2014-01-10 22:51:31 +00:00
Markus Scherer
ed3bb51647 ICU-10499 genrb use explicit UnicodeString constructors
X-SVN-Rev: 34867
2014-01-10 21:41:03 +00:00
Andy Heninger
181351be76 ICU-10624 Swat clang compile warnings.
X-SVN-Rev: 34863
2014-01-10 19:49:32 +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
2b6a24aebc ICU-10624 Fix windows build error introduced with earlier compile warning fix.
X-SVN-Rev: 34859
2014-01-10 18:14:31 +00:00
Yoshito Umaoka
13c6750194 ICU-10583 Fixed a minor problem in illegal lead byte handling in the UTF-8 charset recognizer.
X-SVN-Rev: 34856
2014-01-10 16:10:57 +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
Peter Edberg
41bc8fd78a ICU-10609 Integrate changes from CLDR r9632 except for collation,brkitr
X-SVN-Rev: 34851
2014-01-09 22:59:37 +00:00
Michael Ow
6215a95183 ICU-10617 Fix library suffix macro definition
X-SVN-Rev: 34845
2014-01-09 19:18:40 +00:00
Markus Scherer
e38cc9f41b ICU-10549 collperf2 also test sorting & binary search
X-SVN-Rev: 34836
2014-01-08 00:39:04 +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
Michael Ow
6beb32f883 ICU-10548 Use hyphen when setting cl options on Cygwin MSVC builds
X-SVN-Rev: 34821
2013-12-31 20:51:27 +00:00
Michael Ow
aaca304356 ICU-10537 Avoid rerunning pkgdata tool when building data
X-SVN-Rev: 34820
2013-12-26 21:28:59 +00:00
Markus Scherer
e6656c9e8a ICU-10535 toolutil/package.cpp: NUL-terminate pkgPrefix
X-SVN-Rev: 34818
2013-12-23 17:02:59 +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
Peter Edberg
f354adb8f6 ICU-10609 Roll in most of the data changes from CLDR r9586 (CLDR 25 pre-m1)
X-SVN-Rev: 34814
2013-12-23 04:52:51 +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
Travis Keep
4cad0847c5 ICU-8464 Make formatting relative dates with quantity more efficient by preprocessing the pattern strings. Saves 650ns per format.
X-SVN-Rev: 34784
2013-12-17 21:02:16 +00:00
Yoshito Umaoka
2b978e596d ICU-10549 Updates in the performance test case collperf2.
X-SVN-Rev: 34773
2013-12-16 16:09:05 +00:00
Michael Ow
477564f6d6 ICU-10557 Use U_NAMESPACE_USE where needed
X-SVN-Rev: 34756
2013-12-12 19:25:46 +00:00
Peter Edberg
2a0fd5c83d ICU-10593 Add "บลูทูธ" ("Bluetooth") to Thai break dictionary
X-SVN-Rev: 34752
2013-12-12 03:46:15 +00:00
Steven R. Loomis
fb848db545 ICU-10502 revert bad commit of pkg_genc.c
X-SVN-Rev: 34750
2013-12-12 03:14:23 +00:00
Steven R. Loomis
f0608be95d ICU-10502 reinstate updated config.guess and config.sub as per ICU-9779
X-SVN-Rev: 34749
2013-12-12 03:11:18 +00:00
Peter Edberg
5e491553d2 ICU-10571 Add 11 region names in Japanese to cjdict
X-SVN-Rev: 34748
2013-12-12 02:55:47 +00:00
Andy Heninger
095a44d774 ICU-10562 UText problem with shallow clone.
X-SVN-Rev: 34747
2013-12-12 01:04:54 +00:00
Steven R. Loomis
be63df401e ICU-6102 do not include system libraries in icu-config --ldflags
X-SVN-Rev: 34745
2013-12-12 00:25:57 +00:00
Michael Ow
a4485aaf71 ICU-10557 Fix namespace build issue
X-SVN-Rev: 34744
2013-12-11 23:44:06 +00:00
Yoshito Umaoka
5b27505480 ICU-10595 A test case reproducing ucol_nextSortKeyPart problem reported by #10595. For now, the test case is marked as a 'known issue'.
X-SVN-Rev: 34743
2013-12-11 22:01:45 +00:00
Andy Heninger
fab919477c ICU-10559 Fix C++ compilation errors with U_OVERRIDE_CXX_ALLOCATION=0
X-SVN-Rev: 34736
2013-12-10 23:03:48 +00:00
Yoshito Umaoka
ccb835e2b5 ICU-10549 Fixed some problems in test case description in collperf2.
X-SVN-Rev: 34734
2013-12-10 19:34:34 +00:00