Commit Graph

27643 Commits

Author SHA1 Message Date
Markus Scherer
c1d22365ce ICU-11613 document that a UnicodeString is memmovable
X-SVN-Rev: 37600
2015-06-18 12:30:03 +00:00
Markus Scherer
7f8d3dfe07 ICU-10119 better document aliasing vs. copy/move/RVO
X-SVN-Rev: 37599
2015-06-18 12:19:20 +00:00
Michael Ow
f32fcafadd ICU-11732 Increase buffer size to avoid overflow
X-SVN-Rev: 37580
2015-06-16 18:31:19 +00:00
Markus Scherer
344357d3f6 ICU-11720 better memory management in genrb parseBinary() using auto pointers
X-SVN-Rev: 37577
2015-06-16 13:14:14 +00:00
Markus Scherer
5b21336927 ICU-11719 better memory management in genrb parseImport() using string class & auto pointers
X-SVN-Rev: 37576
2015-06-16 12:34:36 +00:00
Markus Scherer
f99546419f ICU-11711 better memory management in GenrbImporter::getRules() using string class & auto pointers
X-SVN-Rev: 37575
2015-06-16 11:23:04 +00:00
Michael Ow
27098218c3 ICU-11630 Update tzdata in ICU4J to 2015e
X-SVN-Rev: 37572
2015-06-15 23:17:37 +00:00
Michael Ow
84fc5ef227 ICU-11630 Update tzdata in ICU4C to 2015e
X-SVN-Rev: 37571
2015-06-15 23:16:58 +00:00
Travis Keep
128d05a024 ICU-11731 Fix number format data driven tests to show test failures in test summary.
X-SVN-Rev: 37559
2015-06-15 17:33:23 +00:00
Markus Scherer
c37aa4a6ab ICU-11574 Unicode 8.0 final data
X-SVN-Rev: 37549
2015-06-12 11:10:47 +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
John Emmons
c9e710c42b ICU-11728 First cut CLDR 28 data integration
X-SVN-Rev: 37523
2015-06-10 18:20:27 +00:00
Fredrik Roubert
1b083389a4 ICU-11734 Bugfix: RelativeDateTimeFormatter with U_HIDE_DRAFT_API.
RelativeDateTimeFormatter has a member of type
UDateRelativeDateTimeFormatterStyle, so this type must be declared even
when setting U_HIDE_DRAFT_API, but it must then have a dummy enum value,
for empty enum declarations are not valid.

X-SVN-Rev: 37520
2015-06-10 17:21:08 +00:00
Fredrik Roubert
0b407a667b ICU-11730 Bugfix: UNumberFormatAttributeValue with U_HIDE_INTERNAL_API.
DecimalFormat has a member of type UNumberFormatAttributeValue, so this
type must be declared even when setting U_HIDE_INTERNAL_API, but it must
then have a dummy enum value, for empty enum declarations are not valid.

X-SVN-Rev: 37519
2015-06-10 17:20:24 +00:00
John Emmons
9485d0d907 ICU-11737 Prevent fallback to the wide form where it shouldn't. Short form should be the defualt per CLDR
X-SVN-Rev: 37516
2015-06-09 21:26:01 +00:00
John Emmons
eed4d9c2a1 ICU-11737 Units shouldn't fall back from short to wide
X-SVN-Rev: 37512
2015-06-09 19:07:53 +00:00
Travis Keep
68597cddb7 ICU-10458 Add more data driven tests for parsing currency.
X-SVN-Rev: 37508
2015-06-09 18:02:40 +00:00
Travis Keep
9672f10d99 ICU-10458 Add more data driven tests for parsing currency.
X-SVN-Rev: 37507
2015-06-09 18:01:13 +00:00
Yoshito Umaoka
ed1f16a6b7 ICU-11733 Check null for ICU DateFormatSymbols wrapped by DateFormatSymbolsICU. So DateFormatSymbols.clone() no longer cause NPE even an instance is not fully initialized.
X-SVN-Rev: 37501
2015-06-05 18:45:59 +00:00
Yoshito Umaoka
bcdb602582 ICU-11692 Fixed a compilation error with Java runtime version 5 - replacing String#isEmpty() with String#length() == 0
X-SVN-Rev: 37500
2015-06-05 16:35:12 +00:00
Michael Ow
390e7a5080 ICU-11715 Fix ICU data build issue on HPUX ia64 using aCC
X-SVN-Rev: 37499
2015-06-04 20:31:02 +00:00
Markus Scherer
884da1b2a9 ICU-10086 change non-member swap functions, use in-class definition of friend function; prevent self assignment of UnicodeString stack buffer (harmless but causes warnings)
X-SVN-Rev: 37498
2015-06-04 00:16:09 +00:00
Travis Keep
df332d3722 ICU-10458 Keep data driven tests in sync.
X-SVN-Rev: 37496
2015-06-03 17:10:45 +00:00
Travis Keep
a1dcd14c0d ICU-10458 More data driven tests for parsing.
X-SVN-Rev: 37494
2015-06-03 16:41:42 +00:00
Michael Ow
1c3c68f43e ICU-11696 Fix converter name with x- prefix checking
X-SVN-Rev: 37486
2015-06-01 23:33:28 +00:00
Michael Ow
519c6be02d ICU-11528 Apply patch to fix build issues with AIX and GCC
X-SVN-Rev: 37485
2015-06-01 23:29:27 +00:00
Travis Keep
7b7a214307 ICU-11692 DecimalFormat data driven tests for JAVA.
X-SVN-Rev: 37484
2015-06-01 20:28:39 +00:00
Michael Ow
85b06c4845 ICU-11694 Fix memory leak when parsing flag file
X-SVN-Rev: 37482
2015-06-01 20:01:33 +00:00
Travis Keep
5b1be7f0d4 ICU-11692 Keep test data files in sync.
X-SVN-Rev: 37480
2015-05-29 23:58:03 +00:00
Markus Scherer
ad59d20e18 ICU-11620 remove checks for U_COMMON_IMPLEMENTATION that seem unnecessary
X-SVN-Rev: 37479
2015-05-29 22:33:55 +00:00
Travis Keep
0d6a4006f0 ICU-11692 Fix broken build.
X-SVN-Rev: 37478
2015-05-29 22:17:52 +00:00
Markus Scherer
7bd5656680 ICU-11610 rename usearch hash() to hashFromCE32(), improve implementation
X-SVN-Rev: 37477
2015-05-29 21:51:00 +00:00
Markus Scherer
2ad94b4e93 ICU-11601 UConverterSharedData: add isReferenceCounted, stop checking for special referenceCounter=~0 value outside mutex to make thread sanitizer happy, remove long-unused table pointer field, add & use initializer macro
X-SVN-Rev: 37476
2015-05-29 19:33:24 +00:00
Travis Keep
67134a6313 ICU-11713 Yoshito's review comments.
X-SVN-Rev: 37475
2015-05-29 17:14:02 +00:00
Markus Scherer
88e2877fd6 ICU-11574 near-final Unicode 8 data with new block API constants, code adjustments & fixes; svn merge --reintegrate branches/markus/uni80; plus Java port of C++ r37450 spoof data d6 update
X-SVN-Rev: 37474
2015-05-28 23:17:23 +00:00
Markus Scherer
fc290db4c1 ICU-11574 near-final Unicode 8 data with new block API constants, code adjustments & fixes; svn merge --reintegrate branches/markus/uni80
X-SVN-Rev: 37473
2015-05-28 23:16:00 +00:00
Travis Keep
2cbff1ac8b ICU-11713 Ensure that what getGroupingSize() returns doesn't change just because grouping is enabled.
X-SVN-Rev: 37472
2015-05-28 22:45:45 +00:00
Travis Keep
762078d2f1 ICU-11692 Add DecimalFormat data driven tests.
X-SVN-Rev: 37471
2015-05-28 20:09:43 +00:00
Markus Scherer
e70b441290 ICU-10086 prevent warning or error from g++ -pedantic for extra semicolon after non-member function definition in U_DEFINE_LOCAL_OPEN_POINTER
X-SVN-Rev: 37470
2015-05-28 18:57:35 +00:00
Markus Scherer
f7e715daee ICU-10086 move & swap for UnicodeString, LocalPointer, LocalArray
X-SVN-Rev: 37469
2015-05-28 17:03:45 +00:00
Yoshito Umaoka
475ba73f13 ICU-11697 SimpleCache thread safety - changed cacheRef to volatile.
X-SVN-Rev: 37468
2015-05-28 06:47:50 +00:00
Yoshito Umaoka
238b3c38a5 ICU-11703 Fixed a potential memory leak in language tag parser implementation.
X-SVN-Rev: 37467
2015-05-28 06:29:16 +00:00
Yoshito Umaoka
47a3db9eb6 ICU-11602 Fixed a wrong condition used for detecting keyword without value in uloc internal function for parsing keywords. TestKeywordVariants was updated to include a case hitting the code path. The test code was also updated to handle error status. A follow up ticket #11690 was created for recording some issues with the test case found in this time.
X-SVN-Rev: 37454
2015-05-20 23:44:16 +00:00
Yoshito Umaoka
b8d76f6ade ICU-11677 Added a couple of test cases parsing abutting numeric date field patterns including quarter - Qyy and QQyy in TestQuarters(). ICU4C did not have the parsing problem reported by #11677, but I want to add some test cases matchnig the ones added in ICU4J side.
X-SVN-Rev: 37453
2015-05-19 21:25:21 +00:00
Yoshito Umaoka
c6581d9c2f ICU-11677 Fixed numeric field detection method to return true for pattern Q up to two letters. The pattern letters constant were updated to match the corresponding C implementation (DateFormatSymbols:isNumericField(UDateFormatField,int32_t)). Uncommented TestQuarters which was commented previously for some reasons, and added the problematic abutting patterns - Qyy and QQyy in the test data.
X-SVN-Rev: 37452
2015-05-19 21:25:08 +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
7cb3f9c24c ICU-10687 Break Engine Factory, simplify synchronization.
X-SVN-Rev: 37440
2015-05-14 21:54:53 +00:00
Andy Heninger
6772f79425 ICU-11670 Fix incorrect API doc for class TimeZone.
X-SVN-Rev: 37439
2015-05-14 18:40:12 +00:00
Andy Heninger
38aa1901a6 ICU-11663 Remove obsolete file brkitr/line_ja.txt
X-SVN-Rev: 37438
2015-05-14 18:22:28 +00:00