Commit Graph

3070 Commits

Author SHA1 Message Date
Steven R. Loomis
20f11347f7 ICU-12652 fix for null termination in uloc_acceptLanguageFromHTTP
X-SVN-Rev: 39109
2016-08-31 14:53:53 +00:00
Shawn Steele
326552aa72 ICU-12087 - merge updates to use VS2015
X-SVN-Rev: 39085
2016-08-24 20:52:23 +00:00
Yoshito Umaoka
8a5b579dd2 ICU-12671 Fixed a problem in uloc_toLanguageTag. When LDML attribute is used withtout LDML keywords, the function did not prodce -u- at the right place. This change fixed the LDML attribute handling. The test cases in the ticket were integrated to cintltst.
X-SVN-Rev: 39076
2016-08-19 23:29:17 +00:00
Andy Heninger
6083d859ba ICU-12570 remove undefined behaviors from cintltst. Mostly signed integer overflow.
X-SVN-Rev: 39042
2016-08-12 00:27:46 +00:00
Peter Edberg
b45dac8cfc ICU-12455 Integrate early CLDR 30 data for ICU4C 58m1
X-SVN-Rev: 38905
2016-06-30 23:41:56 +00:00
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Shane Carr
c10eeb4358 ICU-12534 Optimizing currency spacing data loading (C++)
X-SVN-Rev: 38826
2016-06-10 21:49:00 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Markus Scherer
5e69db5c2f ICU-12526 integrate Unicode 9 beta
X-SVN-Rev: 38753
2016-05-19 22:48:18 +00:00
Markus Scherer
997ed6a7cd ICU-11764 8 new script codes for Unicode 9 & CLDR 29
X-SVN-Rev: 38608
2016-04-08 22:23:30 +00:00
Peter Edberg
b17967ca58 ICU-12072 C, oops, correctly disable the tests currently missing data
X-SVN-Rev: 38482
2016-03-04 06:28:56 +00:00
Peter Edberg
eddf3c7f4c ICU-12072 C, Updates per review comments
X-SVN-Rev: 38481
2016-03-04 05:54:01 +00:00
John Emmons
f9d2462f3c ICU-12185 Fix LDML2ICUConversion of cashDigits/cashRounding
X-SVN-Rev: 38389
2016-02-26 22:51:31 +00:00
Andy Heninger
9d9256f3b7 ICU-12081 Initial implementation Emoji break rules and a new RBBI monkey test.
X-SVN-Rev: 38387
2016-02-26 21:58:26 +00:00
Michael Ow
6a32e3f591 ICU-12139 Fix uconfig test errors for 57
X-SVN-Rev: 38383
2016-02-26 18:51:13 +00:00
Fredrik Roubert
f34de568c4 ICU-12012 Replace irregular sizeof expressions with UPRV_LENGTHOF().
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/286430043 .

X-SVN-Rev: 38378
2016-02-26 11:21:55 +00:00
kazède king
f713c0687c ICU-11872 new time formatting pattern chars b/B
Merging from the branch.

X-SVN-Rev: 38370
2016-02-25 19:51:53 +00:00
Fredrik Roubert
f75e591321 ICU-12012 Replace all sizeof p / U_SIZEOF_... with UPRV_LENGTHOF().
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/291740043 .

X-SVN-Rev: 38349
2016-02-24 22:52:29 +00:00
Fredrik Roubert
ebc0f5b22a ICU-12012 Replace all sizeof p / sizeof T with UPRV_LENGTHOF().
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/288320043 .

X-SVN-Rev: 38347
2016-02-24 21:48:56 +00:00
Fredrik Roubert
7f4b8d106b ICU-12012 Replace all sizeof p / sizeof *p with UPRV_LENGTHOF().
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/285520043 .

X-SVN-Rev: 38337
2016-02-23 10:40:09 +00:00
John Emmons
3af6ddd9d8 ICU-12170 Merge data from CLDR release-29-beta1
X-SVN-Rev: 38332
2016-02-23 02:26:57 +00:00
Peter Edberg
8c643b3395 ICU-12085 Update C TestToUnicodeLocaleType/TestToLegacyType for "rg"
X-SVN-Rev: 38315
2016-02-16 19:51:26 +00:00
Peter Edberg
086ee675a8 ICU-12085 manually integrate branch > trunk (had network problems committing updated branch)
X-SVN-Rev: 38311
2016-02-15 17:58:23 +00:00
John Emmons
f7d261ebbc ICU-12091 Merge preliminary CLDR 29 data for 57m1
X-SVN-Rev: 38287
2016-02-05 04:12:07 +00:00
Peter Edberg
b15fd37fa9 ICU-12072 Flesh out tests for ureldatefmt_ APIs
X-SVN-Rev: 38192
2016-01-22 21:37:44 +00:00
Peter Edberg
50ea6cb008 ICU-12072 RelativeDateTimeFormatter: Improve C++ format API, add plain C API (part 1, structure)
X-SVN-Rev: 38189
2016-01-22 07:20:54 +00:00
Michael Ow
a47a3679ac ICU-11979 Fix max char size for iso-2022-kr in icu4c
X-SVN-Rev: 38086
2015-11-17 23:08: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
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
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
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
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
John Emmons
01e0c332a5 ICU-11846 CLDR 28 data integration
X-SVN-Rev: 37836
2015-08-27 20:23:27 +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
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
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
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
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
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
ae678d796b ICU-11609 add svn:eol-style property to vcxproj files.
X-SVN-Rev: 37364
2015-04-17 21:25:48 +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
9401ac86a0 ICU-11433 Fix some no data test failures
X-SVN-Rev: 37219
2015-03-11 21:09:25 +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
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
Peter Edberg
27aa5a1e57 ICU-11549 tabs -> spaces
X-SVN-Rev: 37114
2015-03-03 20:26:16 +00:00
Peter Edberg
944392834b ICU-11549 Add C wrapper for ListFormatter
X-SVN-Rev: 37110
2015-03-03 19:00:52 +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
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
Andy Heninger
ec3f77f878 ICU-5312 Regular Expressions Named Capture.
X-SVN-Rev: 37040
2015-02-18 23:56:19 +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
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
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
John Emmons
ad5308aa12 ICU-11417 CLDR 27 data integration for ICU55M1
X-SVN-Rev: 36850
2014-12-11 16:10:49 +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
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
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
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
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
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
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
John Emmons
8716672a2d ICU-11251 Last minute CLDR data changes
X-SVN-Rev: 36475
2014-09-11 22:25:12 +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
Peter Edberg
e46b2b3c83 ICU-9385 DateFormatSymbols/udat getters/setters for yearNames, zodiacNames (C)
X-SVN-Rev: 36386
2014-09-08 04:52:23 +00:00
Markus Scherer
0f78abc7ee ICU-9644 re-hardcode some normalization data: nfc.nrm
X-SVN-Rev: 36384
2014-09-08 03:05:56 +00:00
Peter Edberg
300e531736 ICU-10995 Delete old fNegPrefixPattern before creating new one by prepending minus to fPosPrefixPattern
X-SVN-Rev: 36382
2014-09-07 20:01:55 +00:00
Andy Heninger
746aadf44a ICU-10942 Time Zone data loading, merge from branch.
X-SVN-Rev: 36342
2014-09-04 01:07:38 +00:00
Yoshito Umaoka
8885f1ef78 ICU-8951 BCP 47 key/type converter APIs merged from the work branch.
X-SVN-Rev: 36320
2014-09-03 04:42:21 +00:00
Peter Edberg
1b8eb15e1a ICU-11173 CLDR tags/release-26-d01 into ICU4C trunk with related test & lib code updates
X-SVN-Rev: 36313
2014-09-02 23:18:20 +00:00
Yoshito Umaoka
23c9cdafbc ICU-11054 Fixed ubidi_setPara crash issue caused by wrong memory allocation size check. Added a simple test case which reproduced the problem.
X-SVN-Rev: 36304
2014-09-02 18:41:21 +00:00
Markus Scherer
b422082fab ICU-10889 test & fix u_charFromName(U_EXTENDED_CHAR_NAME) underflow crash
X-SVN-Rev: 36293
2014-08-29 21:31:07 +00:00
Markus Scherer
e353b8e897 ICU-10751 uscript_getCode(locale) use likely subtags not LocaleScript locale data
X-SVN-Rev: 36280
2014-08-28 23:51:38 +00:00
Markus Scherer
8f69b6c53d ICU-7653 change a few straggler LENGTHOFs
X-SVN-Rev: 36277
2014-08-28 23:20:12 +00:00
Steven R. Loomis
7594250cc5 ICU-7653 changed uprv_lengthof to UPRV_LENGTHOF, also added apidoc
X-SVN-Rev: 36275
2014-08-28 22:13:45 +00:00
Markus Scherer
53dcbe6141 ICU-10736 Locale.isRightToLeft(), uloc_isRightToLeft(locale)
X-SVN-Rev: 36269
2014-08-28 18:28:30 +00:00
Tom Zhang
ee1f29b584 ICU-7653 move LENGTHOF(array) to common, internal header
X-SVN-Rev: 36265
2014-08-28 14:55:34 +00:00