Commit Graph

3075 Commits

Author SHA1 Message Date
Steven R. Loomis
358e1ddcd2 ICU-10376 fixup clang warnings
X-SVN-Rev: 34385
2013-09-18 20:08:25 +00:00
Peter Edberg
bb7e154629 ICU-10260 Port J LocaleDisplayNamesImpl change for (->[ to C; make similar changes in uloc_getDisplayName
X-SVN-Rev: 34369
2013-09-18 08:33:47 +00:00
Yoshito Umaoka
271e788d65 ICU-9396 Accept NULL pointer with length of 0 in ucol_strcoll and ucol_strcollUTF8. Also added some test case verifying the behavior.
X-SVN-Rev: 34363
2013-09-17 21:08:10 +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
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
7802f4a73b ICU-9744 logKnownIssue and log_knownIssue for ICU4C
X-SVN-Rev: 34335
2013-09-16 22:07:02 +00:00
Markus Scherer
76b93683b4 ICU-10338 test & fix ucol_setReorderCodes({default})
X-SVN-Rev: 34319
2013-09-13 21:21:11 +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
Peter Edberg
30feb0c56b ICU-10039 Per API review: Add consts, add unumsys_getDescription(), improve documentation
X-SVN-Rev: 34283
2013-09-12 04:33:03 +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
Markus Scherer
fbb5f5ba1f ICU-10371 fix assertion in u_strFromUTF8()/u_strFromUTF8WithSub() code
X-SVN-Rev: 34279
2013-09-12 00:02:41 +00:00
Peter Edberg
5a1e66e343 ICU-10039 Add basic C wrapper for NumberingSystem (numsys.h), version 1
X-SVN-Rev: 34268
2013-09-11 05:07:00 +00:00
Steven R. Loomis
b3d29d3d8c ICU-9742 removing tests depending on closed CldrBug:3058
X-SVN-Rev: 34265
2013-09-11 00:51:18 +00:00
Michael Ow
0502015988 ICU-10331 Fix memory leak in data test
X-SVN-Rev: 34260
2013-09-10 17:03:42 +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
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
9a537be436 ICU-10331 move platform dependency out of udatatst.c , other fixes for msys/mingw
X-SVN-Rev: 34192
2013-09-04 22:36:52 +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
9163c9d8be ICU-10243 C, ulocdata_getMeasurementSystem/getPaperSize should get data from supplementalData
X-SVN-Rev: 34065
2013-08-19 22:29:26 +00:00
Michael Ow
93ab4f8add ICU-7912 Fix memory leak in cintltst TestUFormattable
X-SVN-Rev: 34040
2013-08-13 23:32:48 +00:00
Andy Heninger
0061d3a9b7 ICU-10184 umutex.h, change to C++ only, in preparation for build time user mutex support.
X-SVN-Rev: 34029
2013-08-09 19:53:07 +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
Peter Edberg
f4fd91b94f ICU-10244 (C) ulocdata_getLocaleSeparator now returns piece between {0} and {1} in new localeSeparator pattern
X-SVN-Rev: 33906
2013-07-11 07:00:49 +00:00
Steven R. Loomis
85157b3fc4 ICU-7912 final update to apidocs. Also removed references to non-existent kDecimalNumber (from fmtable.h), and cleaned up other docs
X-SVN-Rev: 33905
2013-07-11 00:31:41 +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
2fa49ba635 ICU-7912 add unum_parse and unum_format taking UFormattable (@internal, API proposal to follow)
X-SVN-Rev: 33862
2013-06-27 19:49:55 +00:00
Peter Edberg
b862a59d5e ICU-10195 Fix CLDR_FIELD_NAME[] array so getting localized name for UDATPG_DAY_FIELD works
X-SVN-Rev: 33859
2013-06-27 07:41:56 +00:00
Peter Edberg
75bab825f5 ICU-10070 add more tests
X-SVN-Rev: 33856
2013-06-27 05:47:14 +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
bda778fc0e ICU-10179 Add documentation to TestLocaleStructure explaining that it validates each locale .txt file against the golden structLocale.txt file so that developers know that to fix this test means adding the templates for any new data to structLocale.txt
X-SVN-Rev: 33778
2013-05-30 20:20:17 +00:00
Travis Keep
b957f5c9b3 ICU-10131 Try re-enabling failing test. now that BOM and mime-type are set on test/testdata/te_IN.txt
X-SVN-Rev: 33767
2013-05-28 23:34:14 +00:00
Travis Keep
f3e6ed84be ICU-10131 fix the build.
X-SVN-Rev: 33763
2013-05-28 18:12:43 +00:00
Travis Keep
35808ec6ff ICU-10131 Rebreak the build.
X-SVN-Rev: 33762
2013-05-28 16:10:07 +00:00
Travis Keep
4dea9653dc ICU-10131 Attempt to fix broken build on AIX/solaris.
X-SVN-Rev: 33755
2013-05-25 00:23:05 +00:00
Travis Keep
dec267080d ICU-10131 Added C test to verify that 3 empty set values stop fallback for ures_getStringByKeyWithFallback
X-SVN-Rev: 33749
2013-05-24 18:23:49 +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
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
Markus Scherer
fe3b2a4118 ICU-10081 stable sort via insertion sort with binary search; test it well
X-SVN-Rev: 33588
2013-05-03 22:46:57 +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
a8a20d2b84 ICU-10070 uregion_isEqualTo -> uregion_areEqual, implement using pointer compare
X-SVN-Rev: 33578
2013-05-02 22:04:50 +00:00
Peter Edberg
eea5fa79bb ICU-10070 Misunderstanding, back out r33521
X-SVN-Rev: 33524
2013-04-13 02:54:22 +00:00
Peter Edberg
6b83580f8a ICU-10070 And handle NULl return from uregion_getContainedRegions... while I am at it
X-SVN-Rev: 33522
2013-04-13 00:16:56 +00:00
Peter Edberg
eb89f787b4 ICU-10070 Fix crash due to bug in uenum_next that only affects some compilers
X-SVN-Rev: 33521
2013-04-12 23:48:49 +00:00
Peter Edberg
947bd7d1b6 ICU-10070 Add plain C wrappers for Region class
X-SVN-Rev: 33520
2013-04-12 23:00:51 +00:00
Peter Edberg
8f37e438a6 ICU-10061 Make getDayOfWeekType behave as documented for last weekend day; fix for 1-day weekends
X-SVN-Rev: 33468
2013-03-27 22:44:22 +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
John Emmons
28932c056e ICU-9890 Merge CLDR23 data
X-SVN-Rev: 33355
2013-03-03 21:34:51 +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
Michael Ow
99ce96c383 ICU-9979 Fix some memory leaks in cintltst
X-SVN-Rev: 33332
2013-02-26 16:57:42 +00:00
Michael Ow
d637feebce ICU-9979 Fix some memory clean up errors
X-SVN-Rev: 33320
2013-02-25 19:09:10 +00:00
Peter Edberg
bb1d8b029f ICU-9927 Now that cintltst/citertst.c is updated, add sr_Latn collation with import
X-SVN-Rev: 33287
2013-02-21 01:10:41 +00:00
Markus Scherer
e7d5e5b205 ICU-9927 TestCEValidity & TestSortKeyValidity skip tailorings that import others because the UColTokenParser is not set up to fetch those
X-SVN-Rev: 33286
2013-02-20 23:54:23 +00:00
Peter Edberg
d3bb555dba ICU-9927 Skip RamsRulesTest for collations with import; better error reporting in Test{CE/SortKey}Validity; current coll data for bs, bs_Cyrl, fa_AF
X-SVN-Rev: 33264
2013-02-18 00:11:16 +00:00
Markus Scherer
063c1b0868 ICU-9538 minor sync with Java
X-SVN-Rev: 33261
2013-02-17 23:24:47 +00:00
Peter Edberg
790ff8fe92 ICU-9926 Update info about U_COL_SAFECLONE_BUFFERSIZE test
X-SVN-Rev: 33258
2013-02-17 23:06:24 +00:00
Markus Scherer
ebbc5423ef ICU-9538 add script metadata properties API
X-SVN-Rev: 33255
2013-02-17 00:49:18 +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
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
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
Peter Edberg
6ed22ad2cb ICU-9876 Pre-integrate some CLDR 23 additions/changes (C), part 2c through CLDR r8106
X-SVN-Rev: 33118
2013-02-03 19:10:10 +00:00
Yoshito Umaoka
8d16a6bea1 ICU-9839 Removed temporary workaround in the test code.
X-SVN-Rev: 33110
2013-02-01 07:47:57 +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
Yoshito Umaoka
557da151c7 ICU-9839 Punctuation exemplar type support. Code is added, but not working because of data problem explained in #9845. When data is refreshed next time, the problem should go away.
X-SVN-Rev: 33062
2013-01-18 16:29:02 +00:00
Peter Edberg
cd51c60e10 ICU-9497 Add tests for C date symbol functions
X-SVN-Rev: 33052
2013-01-14 22:23:44 +00:00
Michael Ow
5794bfbf66 ICU-9673 Update EUC-JP mapping to use updated table
X-SVN-Rev: 33039
2013-01-11 19:47:40 +00:00
Scott Russell
6a13a557d5 ICU-9836 C/Java mismatch parsing years with pattern "yyyy" :: fix new test under windows
X-SVN-Rev: 33016
2013-01-05 23:43:54 +00:00
Scott Russell
c17e7e0af6 ICU-9836 C/Java mismatch parsing years with pattern "yyyy" :: fix new test under windows
X-SVN-Rev: 33015
2013-01-05 20:22:19 +00:00
Scott Russell
c54b40f7dc ICU-9836 C/Java mismatch parsing years with pattern "yyyy"
X-SVN-Rev: 33011
2013-01-04 17:16:07 +00:00
Yoshito Umaoka
08223859e3 ICU-9735 Added a C API ucal_getTimeZoneID.
X-SVN-Rev: 33005
2013-01-02 16:58:24 +00:00
Travis Keep
fc3787c545 ICU-9804 Add unit test for fix to ures_getByKeyWithFallback.
X-SVN-Rev: 32986
2012-12-18 17:59:25 +00:00
Michael Ow
ebad01d878 ICU-9687 Propagate the ambiguous alias warning when opening converter
X-SVN-Rev: 32907
2012-11-29 21:38:40 +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
Markus Scherer
96cf03a67d ICU-9759 fix typo, cannonical
X-SVN-Rev: 32871
2012-11-20 23:55:31 +00:00
Steven R. Loomis
795c05a795 ICU-9721 move two timebombs forward - but fix them in #9742
X-SVN-Rev: 32810
2012-11-13 23:09:18 +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
8bb10245f2 ICU-9664 support NUL-terminated strings (indicated via length<0) in U8_NEXT, U16_NEXT, and other such (safe) macros that move forward/take a length
X-SVN-Rev: 32787
2012-11-10 15:31:34 +00:00
Markus Scherer
5ed21eb567 ICU-9713 fix ucol_mergeSortkeys(): return correct length, handle empty levels
X-SVN-Rev: 32779
2012-11-09 01:04:05 +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
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
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
b73ea8b387 ICU-9613 Fix wrong enum name
X-SVN-Rev: 32625
2012-10-12 21:53:41 +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
7cf61c543b ICU-9598 Fix windows build which broke at 32600
X-SVN-Rev: 32610
2012-10-11 21:54:28 +00:00
Travis Keep
bb296a6003 ICU-9598 Respond to Markus' comments on C genderInfo
X-SVN-Rev: 32606
2012-10-11 20:58:56 +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
Markus Scherer
387f7a40fc ICU-9398 fix filename comment
X-SVN-Rev: 32592
2012-10-10 23:19:23 +00:00
Markus Scherer
996422e74c ICU-9398 avoid use of utf8_countTrailBytes[], rewrite/optimize U8_COUNT_TRAIL_BYTES() & U8_NEXT_UNSAFE(), test _UNSAFE macros only with (mostly) well-formed UTF-8 text
X-SVN-Rev: 32574
2012-10-09 05:17:43 +00:00
Scott Russell
d5a9bec7f9 ICU-9403 Calendar should return error for large negative millis out of range in strict mode & fix extended year calculation for large negative millis
X-SVN-Rev: 32554
2012-10-08 20:24:50 +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
Peter Edberg
3e36b67cf7 ICU-9606 Add ucal_getTimeZoneTransitionDate, UTimeZoneTransitionType and tests
X-SVN-Rev: 32545
2012-10-08 00:32:59 +00:00
Markus Scherer
4c68d12d35 ICU-8901 u_formatMessage(unused argument): ignore unused argument, no failure
X-SVN-Rev: 32541
2012-10-07 02:50:40 +00:00
Yoshito Umaoka
f82276faf1 ICU-9567 Merged ucol_strcollUTF8 to trunk.
X-SVN-Rev: 32534
2012-10-05 23:44:00 +00:00
Michael Ow
c0234f263f ICU-9024 Fix tabs in test code
X-SVN-Rev: 32495
2012-10-03 17:07:29 +00:00
Michael Ow
a5d0a7a7d8 ICU-8703 Fix tabs in test code.
X-SVN-Rev: 32494
2012-10-03 17:04:22 +00:00
Dina Sayed
96c93de55b ICU-9024 unit test for Arabic Mathematical Alphabetic Symbols
X-SVN-Rev: 32474
2012-09-30 15:31:46 +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
Dina Sayed
cc746cc8a6 ICU-8703 Unit test for Arabic shaping Shadda handling
X-SVN-Rev: 32431
2012-09-27 13:34:40 +00:00
Steven R. Loomis
d455b9984e ICU-9569 add UDAT_PATTERN and update docs
X-SVN-Rev: 32406
2012-09-19 21:26:41 +00:00
Steven R. Loomis
9fcdf69b9f ICU-9535 merge from r32333
X-SVN-Rev: 32365
2012-09-11 00:22:56 +00:00
Markus Scherer
6876123c0e ICU-9437 update to Unicode 6.2; merge in branches/markus/uni62 r32274
X-SVN-Rev: 32282
2012-08-28 23:37:10 +00:00
John Emmons
276a244c9b ICU-9251 First cut merge of CLDR 22 data
X-SVN-Rev: 32275
2012-08-28 21:56:06 +00:00
Peter Edberg
1b1314e50f ICU-9227 just add tests for fieldDifference fwd/backward on either side of era boundary and across era boundary
X-SVN-Rev: 32263
2012-08-28 05:58:40 +00:00
Peter Edberg
d7a3235efb ICU-9392 japanese calendar minimum era should be 0
X-SVN-Rev: 32253
2012-08-27 23:21:33 +00:00
Maxime Serrano
c64c0299d7 ICU-9353 merge dbbi-tries work into the trunk
X-SVN-Rev: 32184
2012-08-16 23:01:49 +00:00
George Rhoten
e1b9092426 ICU-9469 Improve support for C++11
X-SVN-Rev: 32179
2012-08-15 17:46:17 +00:00
Steven R. Loomis
b68d2f41fb ICU-7197 add API for constructing UEnumerations.
X-SVN-Rev: 32137
2012-08-09 00:04:51 +00:00
George Rhoten
865333dd77 ICU-9457 Fix some compiler warnings.
X-SVN-Rev: 32111
2012-08-05 16:33:16 +00:00
George Rhoten
3d3005cb8a ICU-9457 Fix some compiler warnings.
X-SVN-Rev: 32101
2012-08-03 21:51:00 +00:00
George Rhoten
2f3551a74d ICU-9457 Fix some compiler warnings.
X-SVN-Rev: 32099
2012-08-03 21:16:37 +00:00
George Rhoten
dc75668c05 ICU-9457 Fix some compiler warnings
X-SVN-Rev: 32095
2012-08-03 19:09:42 +00:00
Jennifer Chye
bec84a2a15 ICU-9288 Merge new converter changes into trunk with regenerated data.
X-SVN-Rev: 32080
2012-08-01 20:40:39 +00:00
Steven R. Loomis
cff6206277 ICU-9544 update javadocs around ctst_malloc
X-SVN-Rev: 32055
2012-07-24 17:33:19 +00:00
Debabrata Sengupta
f81fa56468 ICU-8971 fixed parsing inconsistency and corrected few test cases
X-SVN-Rev: 32031
2012-07-09 18:25:45 +00:00
Steven R. Loomis
b15c2bbf3b ICU-9416 fix number formatting for max int digits in fastpath
X-SVN-Rev: 32026
2012-07-06 22:47:27 +00:00
Michael Ow
d62e581e2c ICU-9397 Update some tests in intltest and cintltst to pass without data in 50.0.1
X-SVN-Rev: 31982
2012-06-22 16:48:30 +00:00
Peter Edberg
c63be1f302 ICU-9226 Calendar add +year should always move forward in time; roll year should wrap for eras with real bounds, pin otherwise
X-SVN-Rev: 31966
2012-06-19 05:42:52 +00:00
Steven R. Loomis
43b918a0c8 ICU-9258 merge from branches, performance improvements
X-SVN-Rev: 31881
2012-05-30 00:41:57 +00:00
Andy Heninger
c422b2c5f7 ICU-9328 Tweak conversion test data to steer clear of added characters in some Japanese tables.
X-SVN-Rev: 31827
2012-05-16 22:25:12 +00:00
Yoshito Umaoka
948048b4d2 ICU-9265 Added support for typeless keyword in BCP 47 u extension. Also implemented u extension attributes. The implementation of uloc_forLanguageTag is now equivalent to ICU4J implementation.
X-SVN-Rev: 31816
2012-05-11 21:52:24 +00:00
Michael Ow
bbad39b77a ICU-9232 Update version in ICU4C to 50.0.1 and update time bombs
X-SVN-Rev: 31725
2012-04-18 17:03:06 +00:00
Peter Edberg
eaae5eb353 ICU-9243 fieldDifference positive search should check to INT32_MAX, don't exceed int32 limits in calculations
X-SVN-Rev: 31694
2012-04-09 23:54:14 +00:00
Markus Scherer
8d7428d1b3 ICU-9132 ordinal-plural formatting in C/C++
X-SVN-Rev: 31687
2012-04-07 04:27:27 +00:00
Michael Ow
2e9b4064b7 ICU-9168 Add some more fix for uconfig and header test failures
X-SVN-Rev: 31577
2012-03-02 20:18:40 +00:00
Michael Ow
782387a888 ICU-9168 Fix some uconfig test errors
X-SVN-Rev: 31574
2012-03-02 17:59:56 +00:00
Michael Ow
76444a4b71 ICU-8716 Fix errors in cintltst and intltest when data is missing
X-SVN-Rev: 31552
2012-03-01 05:27:43 +00:00
Peter Edberg
81d48c9c84 ICU-9139 Update ICU version, some copyright dates, readme boilerplate, timebombs
X-SVN-Rev: 31517
2012-02-27 05:33:06 +00:00
Peter Edberg
efc03a774b ICU-9110 C - Name tweaks for consistency with some improvements in J
X-SVN-Rev: 31483
2012-02-22 09:06:12 +00:00
Peter Edberg
733a433be7 ICU-9110 Commit the C tests too
X-SVN-Rev: 31467
2012-02-21 09:19:57 +00:00
Michael Ow
20e8036d10 ICU-8716 Update intltest and cintltst to pass without data in 49
X-SVN-Rev: 31449
2012-02-20 19:13:36 +00:00
Yoshito Umaoka
9d6a55f33d ICU-8916 Calendar APIs supporting options for handling ambiguous wall time (Merged from the work branch to the ICU4C trunk).
X-SVN-Rev: 31421
2012-02-17 23:53:05 +00:00
Andy Heninger
98c2c95256 ICU-6947 implement UREGEX_LITERAL flag.
X-SVN-Rev: 31399
2012-02-15 01:36:12 +00:00
Andy Heninger
c74df646b7 ICU-6947 implement UREGEX_LITERAL flag.
X-SVN-Rev: 31398
2012-02-15 01:30:55 +00:00
Andy Heninger
305adeb146 ICU-8034 Add Number Format field constant definitions.
X-SVN-Rev: 31356
2012-02-10 00:38:34 +00:00
Markus Scherer
bf7701a030 ICU-9014 make hasScript(c, sc) == sc in scx(c)
X-SVN-Rev: 31330
2012-02-06 20:11:22 +00:00
Markus Scherer
8d2ddad36c ICU-9014 and ICU-9015 scx defaults to {sc}, and return that efficiently
X-SVN-Rev: 31327
2012-02-03 23:36:05 +00:00
Michael Ow
ee1b9eaba5 ICU-7964 Update TestNumericCode to pass without data
X-SVN-Rev: 31323
2012-02-03 20:12:17 +00:00
Yoshito Umaoka
1c11ee4838 ICU-7964 Merging ucurr_getNumericCode from the work branch to the trunk.
X-SVN-Rev: 31320
2012-02-03 18:40:03 +00:00
Stuart Gill
bbe524b849 ICU-9095 fix for reorder rules mixed with other rules
X-SVN-Rev: 31311
2012-02-03 00:05:00 +00:00
John Emmons
7742158c72 ICU-9071 Merge data from CLDR release-21-d01
X-SVN-Rev: 31307
2012-02-02 22:53:19 +00:00
Andy Heninger
da5380d926 ICU-8123 Remove utext comparison functions.
X-SVN-Rev: 31277
2012-01-31 01:14:41 +00:00
Markus Scherer
31523429f2 ICU-8995 add new ISO script code Hluw=Anatolian Hieroglyphs
X-SVN-Rev: 31249
2012-01-23 19:51:38 +00:00
Peter Edberg
0ab713c4fb ICU-8959 Add UDAT_YEAR_NAME_FIELD for pattern char 'U', implement format/parse for it (C)
X-SVN-Rev: 31215
2012-01-17 08:06:29 +00:00
Markus Scherer
318d676827 ICU-7973 C: no non-const initializers
X-SVN-Rev: 31138
2011-12-16 07:25:19 +00:00
Markus Scherer
2f70694e7f ICU-9013 deprecate API for Unicode 1.0 character names & ISO comments, remove support & data
X-SVN-Rev: 31125
2011-12-15 21:43:35 +00:00
Markus Scherer
b4ce283bca ICU-7973 make isICUVersionAtLeast() easier to use, add isICUVersionBefore()
X-SVN-Rev: 31122
2011-12-15 17:02:43 +00:00
Markus Scherer
9a3376c379 ICU-9000 use our own implementation of uprv_stricmp() and uprv_strnicmp() to make sure we use language-independent case mappings/comparisons
X-SVN-Rev: 31118
2011-12-15 00:04:40 +00:00
Michael Ow
9f1867ce35 ICU-8716 Update intltest and cintltst to pass without data in 49M2
X-SVN-Rev: 31101
2011-12-12 23:28:25 +00:00
Abhinav Gupta
8bce2a306a ICU-8878 remove non-ASCII characters from C code
X-SVN-Rev: 31082
2011-12-09 21:29:27 +00:00
Markus Scherer
43bb4f2cf4 ICU-8827 Unicode 6.1 update: svn merge branches/markus/uni61 at r31062 into the trunk
X-SVN-Rev: 31071
2011-12-08 22:37:24 +00:00
Umesh Nair
4a6f817e00 ICU-8108 Allowing imports from the same file by suppressing building binaries for imported rules
X-SVN-Rev: 31036
2011-12-06 00:23:46 +00:00
Abhinav Gupta
5373f49d27 ICU-8668 C, C++, restrict script to alphabetic in locale name.
X-SVN-Rev: 31031
2011-12-05 20:15:15 +00:00
Markus Scherer
b19d1bd16a ICU-8915 flag & test for whether signed integer right shift is Arithmetic Shift Right
X-SVN-Rev: 30999
2011-12-01 06:04:35 +00:00
Markus Scherer
67aa69c0f0 ICU-8246 forgot to invoke TestGetEasyToUseInstance()
X-SVN-Rev: 30998
2011-12-01 06:01:05 +00:00
Markus Scherer
3a86b119b0 ICU-8246 add Normalizer2::getNFCInstance(), getNFKDInstance(), ...
X-SVN-Rev: 30994
2011-12-01 00:43:35 +00:00
Markus Scherer
bed105857f ICU-8804 Normalizer2::composePair(a, b) with separation of minYesNo extraData into combines-forward vs. not
X-SVN-Rev: 30982
2011-11-27 20:29:38 +00:00
Markus Scherer
03748b07f1 ICU-8804 Normalizer2::getRawDecomposition(c) with added data in .nrm formatVersion 2
X-SVN-Rev: 30980
2011-11-27 04:44:13 +00:00
Stuart Gill
0ff00f0a40 ICU-8814 test for problem
X-SVN-Rev: 30978
2011-11-23 19:50:11 +00:00
Michael Ow
e144d4ff66 ICU-8936 Add check-exhaustive make target to run the test suite in exhaustive mode
X-SVN-Rev: 30961
2011-11-14 22:33:19 +00:00
John Emmons
42bbabf646 ICU-7605 Change locale ID canonicalization to not use double-underscore IDs
X-SVN-Rev: 30954
2011-11-11 20:29:33 +00:00
Michael Ow
ab32395a4f ICU-8928 Fix how path is found when pkgdata needs icu-config
X-SVN-Rev: 30949
2011-11-10 23:11:19 +00:00
John Emmons
0582c2b646 ICU-7635 Fix memory leak in the testcase
X-SVN-Rev: 30945
2011-11-09 21:12:06 +00:00
John Emmons
2dc5656d64 ICU-7635 Reintroduce testcase in platform neutral fashion
X-SVN-Rev: 30875
2011-10-26 14:39:51 +00:00
John Emmons
aa756a711b ICU-7635 Back out the testcase until it can be made platform neutral
X-SVN-Rev: 30873
2011-10-26 05:02:16 +00:00
John Emmons
f0cc7e958f ICU-7635 Back out the testcase until it can be made platform neutral
X-SVN-Rev: 30869
2011-10-26 03:38:58 +00:00
John Emmons
0ce13a1711 ICU-7635 Modify toString method to handle >>>
X-SVN-Rev: 30868
2011-10-26 02:16:23 +00:00
Michael Ow
df30b2280b ICU-8882 Skip platform dependent message format test on Linux
X-SVN-Rev: 30818
2011-10-13 17:01:32 +00:00
Michael Ow
221aac2de8 ICU-7365 Remove unused old test code.
X-SVN-Rev: 30762
2011-09-30 19:45:51 +00:00
John Emmons
867185c5c7 ICU-8846 Merge CLDRv21M1 data into ICU
X-SVN-Rev: 30755
2011-09-29 21:52:25 +00:00
Steven R. Loomis
737d129645 ICU-8784 commit iSeries porting fixes into trunk
X-SVN-Rev: 30667
2011-09-15 19:34:17 +00:00
Abhinav Gupta
bfb7ec3b44 ICU-8558 added descriptive error to TestOpenVsTestOpenRules.
X-SVN-Rev: 30661
2011-09-15 16:19:03 +00:00
Peter Edberg
ed01311886 ICU-8753 Fix Calendar::add to handle change in UCAL_ZONE_OFFSET
X-SVN-Rev: 30657
2011-09-14 22:33:22 +00:00
Abhinav Gupta
612c7a44b5 ICU-8558 added locale name to error log for TestOpenVsOpenRules.
X-SVN-Rev: 30655
2011-09-14 16:12:36 +00:00
John Emmons
de229aa8da ICU-8423 Use stand-alone script names if possible in uloc_getDisplayScript()
X-SVN-Rev: 30619
2011-09-02 21:58:42 +00:00
Michael Ow
451107e9e3 ICU-8716 Fix some rbbi and number format test so that it will pass without data
X-SVN-Rev: 30598
2011-08-30 19:11:32 +00:00
Steven R. Loomis
349899e8cb ICU-7365 fix broken test from r30570
X-SVN-Rev: 30572
2011-08-23 19:19:40 +00:00
Steven R. Loomis
1e1f8509d8 ICU-8755 interim fix. MessagePattern still needs fixing.
X-SVN-Rev: 30505
2011-08-13 02:45:09 +00:00
Markus Scherer
e31ce99b84 ICU-8575 option for not including utf headers by default; replace uses of deprecated utf_old.h macros
X-SVN-Rev: 30430
2011-07-27 05:53:56 +00:00
Markus Scherer
dc55bc7c66 ICU-8452 fix a couple of Darwin/iPhone platform tests
X-SVN-Rev: 30416
2011-07-25 18:42:17 +00:00
Markus Scherer
9bcc40cf9e ICU-8452 un-autoconf platform.h, move user-configurable settings to uconfig.h, and other changes; from svn merge --reintegrate branches/markus/platformh at r30411
X-SVN-Rev: 30412
2011-07-23 00:10:30 +00:00
Steven R. Loomis
ff960d1f97 ICU-8714 - reimplement r30379 - now passes tests
X-SVN-Rev: 30383
2011-07-18 21:54:42 +00:00
Steven R. Loomis
fd3246217f ICU-8714 backing out r30379 - broke the build
X-SVN-Rev: 30380
2011-07-18 19:51:16 +00:00
Steven R. Loomis
ba3834755c ICU-8714 patches from George
X-SVN-Rev: 30379
2011-07-18 19:13:31 +00:00
Michael Ow
cdd02be3f2 ICU-8716 Update collation and date format test to pass without data
X-SVN-Rev: 30378
2011-07-18 18:09:52 +00:00
John Emmons
ec44df4e86 ICU-8709 Merge CLDR ticket 4038 ( Spanish currency format)
X-SVN-Rev: 30356
2011-07-14 22:31:24 +00:00
John Emmons
a963738287 ICU-8696 Merge CLDR 2.0.1
X-SVN-Rev: 30316
2011-07-12 19:55:07 +00:00
Peter Edberg
f5ccf251ef ICU-8583 Only parse arbitrary currency for calls that can return the found currency (e.g. parseCurrency)
X-SVN-Rev: 30313
2011-07-12 03:22:59 +00:00
Markus Scherer
4abbf7161a ICU-8606 add Normalizer2.getCombiningClass(c)
X-SVN-Rev: 30263
2011-06-30 23:22:17 +00:00
Peter Edberg
1d01381d47 ICU-8593 RuleBasedNumberFormat::format(double,...) should handle NAN
X-SVN-Rev: 30258
2011-06-30 05:43:56 +00:00
Michael Ow
c2bf97eb02 ICU-8602 Fix some compiler warnings.
X-SVN-Rev: 30231
2011-06-24 19:12:33 +00:00
Michael Ow
65629eb419 ICU-8635 Update ICU4C version to 49.0.1 (49M1)
X-SVN-Rev: 30216
2011-06-14 00:00:57 +00:00
Michael Ow
310c23c24e ICU-8578 Apply patch to fix some compiler warnings and related issues
X-SVN-Rev: 30205
2011-06-10 18:56:08 +00:00
Andy Heninger
b8d330e9a7 ICU-8490 Add BreakIterator::refresInputText()
X-SVN-Rev: 30203
2011-06-09 22:49:40 +00:00
Michael Ow
96a2328093 ICU-8569 Terminate the UTF-7 byte buffer with MINUS when flushing
X-SVN-Rev: 30175
2011-06-01 16:25:22 +00:00
Markus Scherer
41c8654d92 ICU-8601 replace C U_INLINE hack with C++ inline, and also rename a few other .c files to .cpp for future UMTX_CHECK replacement
X-SVN-Rev: 30148
2011-05-26 20:05:39 +00:00
Steven R. Loomis
3e401643f6 ICU-8563 test for collation rule builder issue
X-SVN-Rev: 30122
2011-05-16 21:33:50 +00:00
Steven R. Loomis
0d0172d6f1 ICU-8560 platform, asciism in #6109
X-SVN-Rev: 30096
2011-05-11 04:42:01 +00:00
Michael Ow
dc0bdf415e ICU-8553 Ensure cintltst and intltest passes gracefully with warning without data in 4.8
X-SVN-Rev: 30088
2011-05-10 22:01:46 +00:00
Markus Scherer
1f6523a058 ICU-8555 add nine new ISO 15924 script codes from 2010-12-21
X-SVN-Rev: 30085
2011-05-10 20:56:53 +00:00
Stuart Gill
871cc23d57 ICU-8468 changes following code review
X-SVN-Rev: 30074
2011-05-09 23:54:46 +00:00
Peter Edberg
6a8f1e3c60 ICU-8329 Add Khmer dictionary-based word break test case from George Rhoten
X-SVN-Rev: 30062
2011-05-09 09:02:46 +00:00
Andy Heninger
cf26986c13 ICU-8538 Valgrind error fixes in ICU 4.8RC
X-SVN-Rev: 30059
2011-05-09 02:35:48 +00:00
Michael Ow
2a6abd14cf ICU-8006 Update isFixedWidth implementation in ICU4C
X-SVN-Rev: 30052
2011-05-06 21:28:05 +00:00
Yoshito Umaoka
62201ee859 ICU-8428 ICU4C and data version to 4.8. Also moved time bombs.
X-SVN-Rev: 30049
2011-05-06 20:45:10 +00:00
John Emmons
2d4a2ae78f ICU-8489 Merge CLDR release-2-0-d01 into ICU
X-SVN-Rev: 30037
2011-05-05 18:12:27 +00:00
Michael Ow
eb51926653 ICU-8519 Change the keyword buffer size to the capacity.
X-SVN-Rev: 30033
2011-05-05 03:08:32 +00:00
Andy Heninger
ae8896de7f ICU-8524 compiler warning cleanup.
X-SVN-Rev: 30026
2011-05-04 22:34:13 +00:00
Peter Edberg
332037ef5b ICU-6109 & #4942,#3579: Merge changes for lenient number & date parsing from branches/eric/lenient_number_parsing (manually!)
X-SVN-Rev: 30018
2011-05-04 12:23:42 +00:00
Markus Scherer
56b28bd292 ICU-7848 make normalize-append restore the middle string section (the relevant suffix of the first string) when something goes wrong (especially C buffer overflow)
X-SVN-Rev: 30014
2011-05-04 05:50:20 +00:00
Peter Edberg
5d14eefc25 ICU-8467 Add C wrappers for some PluralRules functionality
X-SVN-Rev: 30001
2011-05-03 23:23:26 +00:00
Peter Edberg
b0a2b3ad5c ICU-8470 Oops, fix test name in log message
X-SVN-Rev: 29996
2011-05-03 22:14:49 +00:00
Peter Edberg
3745b313f3 ICU-8470 Add C wrappers for some DateIntervalFormat functionality
X-SVN-Rev: 29988
2011-05-03 19:33:19 +00:00
Michael Ow
2c18392ced ICU-7945 Add BCP47 Unicode attribute test case
X-SVN-Rev: 29986
2011-05-03 17:17:27 +00:00
Steven R. Loomis
b88cd9bca9 ICU-8350 zOS fixes round one
X-SVN-Rev: 29973
2011-05-03 03:40:34 +00:00
Peter Edberg
b4653c9f9f ICU-8397 Add ucal_getFieldDifference, C wrapper for Calendar::fieldDifference(...)
X-SVN-Rev: 29966
2011-05-02 23:42:11 +00:00
Peter Edberg
2fdfe20655 ICU-8237 Add RelativeDateFormat::getDateFormatSymbols, use in udat_getSymbols/countSymbols
X-SVN-Rev: 29964
2011-05-02 23:14:32 +00:00
Steven R. Loomis
8a69ab8bba ICU-8154 update defines and add regression test
X-SVN-Rev: 29925
2011-04-29 17:39:36 +00:00
Steven R. Loomis
5d6b488406 ICU-8493 update test a little.
X-SVN-Rev: 29921
2011-04-29 00:30:37 +00:00
Markus Scherer
d743bb693e ICU-8319 merge MessageFormat 2011q1 work into trunk, from icu/branches/markus/msg48 -r 29400:29882
X-SVN-Rev: 29886
2011-04-25 20:47:32 +00:00
Michael Ow
73c400496f ICU-8482 Close collator, break iterator, and search iterator after use.
X-SVN-Rev: 29877
2011-04-24 23:30:19 +00:00
Yoshito Umaoka
39f9a8686f ICU-8482 Changed the behavior of already broken match boundary condition - not to expand the result match length when 1) the end of CE match is a part of expansion 2) the limit of the CE match is already on a break boundary. Also flipped the behavior of isBreakBoundary, which was actually is*Not*BreakBoundary before.
X-SVN-Rev: 29848
2011-04-22 05:37:46 +00:00
Michael Ow
b33c3a62d0 ICU-7945 Merge BCP47 update in branch into trunk
X-SVN-Rev: 29813
2011-04-17 22:41:14 +00:00
Andy Heninger
8148726df2 ICU-8404 Regular Expressions split(), fix incorrect handling of trailing empty field
X-SVN-Rev: 29801
2011-04-15 00:48:39 +00:00
Stuart Gill
de5faa255e ICU-8468 add cloning of collator reordering information - also added test for duplicate reorder codes
X-SVN-Rev: 29779
2011-04-12 18:23:27 +00:00
Doug Felt
45f8abf19f ICU-8262 reorg code for uloc_getDisplayName, add regression test
X-SVN-Rev: 29760
2011-04-08 20:06:36 +00:00
Peter Edberg
389c986a20 ICU-8445 Fix size of UCOL_CASE_MAX_BUFFER w.r.t UCOL_MAX_BUFFER; fix warning about collResult
X-SVN-Rev: 29756
2011-04-07 18:33:27 +00:00
Michael Ow
10eb036bd2 ICU-8093 Ensure trailing zero is added at end of UChar array
X-SVN-Rev: 29749
2011-04-06 21:45:44 +00:00
Michael Ow
728bcbbc42 ICU-8093 Fix memory corruption error in TestAvailableIsoCodes
X-SVN-Rev: 29747
2011-04-06 18:45:24 +00:00
Dragan Besevic
c00813396a ICU-8093 Add API function call ucurr_isAvailable() and changes for tests and data.
X-SVN-Rev: 29727
2011-04-04 15:00:03 +00:00
Andy Heninger
5481ac737a ICU-8421 uregex error checking fixes.
X-SVN-Rev: 29716
2011-03-31 18:33:28 +00:00
Stuart Gill
a9354cbb6b ICU-8295 API for collation reordering - fix zeroing out of structure
X-SVN-Rev: 29692
2011-03-24 00:09:06 +00:00
Matitiahu Allouche
604bb8f344 ICU-3660 add support for prologue and epilogue
X-SVN-Rev: 29686
2011-03-23 17:26:59 +00:00
Michael Ow
934d73b4ea ICU-8218 Fix symbol value check
X-SVN-Rev: 29683
2011-03-22 16:58:58 +00:00
Yoshito Umaoka
74e7b59d02 ICU-8415 Fixes for usearch_preceding and usearch_last regression bugs. The search test framework to cover usearch_following and usearch_preceding. Corrected and improved the API documentation for usearch_following/usearch_preceding. Merging these updates tested in my work branch to trunk.
X-SVN-Rev: 29681
2011-03-22 03:50:26 +00:00
Steven R. Loomis
a4ca3b3227 ICU-8295 timebomb for breakage in r29671
X-SVN-Rev: 29678
2011-03-22 01:16:48 +00:00
Stuart Gill
b3ba6c0bf3 ICU-8295 API for collation reordering
X-SVN-Rev: 29671
2011-03-18 22:52:30 +00:00
Stuart Gill
a948d36eb2 ICU-8414 remove spurious loop in test code
X-SVN-Rev: 29661
2011-03-16 17:58:55 +00:00
John Emmons
40f80afaaa ICU-8424 Merge current CLDR trunk to 4.8M1 as CLDR 1.9.9
X-SVN-Rev: 29637
2011-03-12 14:57:18 +00:00
Michael Ow
09e5025ee1 ICU-3660 Revert 29596 until after 4.7.1
X-SVN-Rev: 29601
2011-03-10 18:28:50 +00:00
Matitiahu Allouche
cd4a7ba1c6 ICU-3660 add support for prologue and epilogue
X-SVN-Rev: 29596
2011-03-10 12:47:13 +00:00
Steven R. Loomis
d4b01a15b9 ICU-8363 cleanup test (remove warnings)
X-SVN-Rev: 29569
2011-03-08 03:15:57 +00:00