Commit Graph

20271 Commits

Author SHA1 Message Date
Michael Ow
7647eff8f5 ICU-11744 Ensure that array is initialized correctly
X-SVN-Rev: 37700
2015-07-28 17:29:43 +00:00
Steven R. Loomis
016486aad1 ICU-11790 fix to resource leaks on error conditions
(Corrected bad previous checkin)

X-SVN-Rev: 37698
2015-07-27 22:20:39 +00:00
Steven R. Loomis
8fc8498655 ICU-11790 fix to resource leaks on error conditions
X-SVN-Rev: 37697
2015-07-27 22:05:52 +00:00
Steven R. Loomis
9edacf9fa9 ICU-11771 move FilteredBreakIterator from i18n to common
X-SVN-Rev: 37676
2015-07-16 21:02:06 +00:00
Steven R. Loomis
77cd9e6aa4 ICU-11763 turn icuplugs off by default
add "--enable-plugins" to configure, and also "UCONFIG_ENABLE_PLUGINS".
These are disabled by default.

Also, start splitting out acinclude.m4 content to source/config/m4/..

X-SVN-Rev: 37675
2015-07-16 18:13:02 +00:00
Andy Heninger
87da174aa0 ICU-11776 Thread safety fixes in data loading.
X-SVN-Rev: 37670
2015-07-15 22:09:25 +00:00
Markus Scherer
9dbf370b21 ICU-11599 simplify preprocessor conditions for U_HAVE_CLANG_ATOMICS
X-SVN-Rev: 37667
2015-07-15 20:04:11 +00:00
Markus Scherer
3fafa669d7 ICU-11761 init fStringsForm with named constant
X-SVN-Rev: 37657
2015-07-08 23:14:47 +00:00
Markus Scherer
f527e0b536 ICU-11761 stringSet strings are unique
X-SVN-Rev: 37656
2015-07-08 22:37:20 +00:00
Markus Scherer
459c8d0e81 ICU-11761 reslist.cpp force explicit UnicodeString constructors, like other genrb .cpp files
X-SVN-Rev: 37655
2015-07-08 22:24:54 +00:00
Markus Scherer
c1f7be3ffe ICU-11761 bug fix: always begin 16BitUnits[] with a 0 for empty resources, see uresdata.h (was almost always true before r37644)
X-SVN-Rev: 37654
2015-07-08 22:07:52 +00:00
Markus Scherer
5d7b60d863 ICU-11761 include assert.h
X-SVN-Rev: 37653
2015-07-08 18:17:53 +00:00
Markus Scherer
f87b2c9b3c ICU-11761 share equal strings even if they need explicit length; more generic root resource for flexibility (experiment with more work on pool bundles)
X-SVN-Rev: 37649
2015-07-07 18:50:21 +00:00
Markus Scherer
18e27b35d6 ICU-11761 more readable pool bundle usage & string compacting
X-SVN-Rev: 37645
2015-07-03 17:09:17 +00:00
Markus Scherer
a1348758c1 ICU-11761 simpler memory management with UnicodeString & LocalArray
X-SVN-Rev: 37644
2015-07-03 02:12:17 +00:00
Markus Scherer
9312cb2d1a ICU-11761 SResource virtual dispatch for preflighting & writing resources; C++ify some of SRBRoot
X-SVN-Rev: 37643
2015-07-02 23:51:09 +00:00
Steven R. Loomis
1c7655266b ICU-11628 commit README
X-SVN-Rev: 37636
2015-07-01 17:24:41 +00:00
Steven R. Loomis
52f5e589a2 ICU-11628 commit API change report
X-SVN-Rev: 37635
2015-07-01 17: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
Michael Ow
58fd505a84 ICU-11628 Fix uconfig test failures
X-SVN-Rev: 37631
2015-06-30 17:20:55 +00:00
Andy Heninger
d3301c325e ICU-11754 remove gcc version test for noexcept.
X-SVN-Rev: 37630
2015-06-29 18:15:44 +00:00
Markus Scherer
b053a38555 ICU-11613 un-document that a UnicodeString is memmovable, see ticket discussion
X-SVN-Rev: 37627
2015-06-28 11:20:51 +00:00
Peter Edberg
b64eeb479d ICU-11628 C, update MeasureUnit interfaces and tests for new units in CLDR 27/28
X-SVN-Rev: 37626
2015-06-28 03:26:33 +00:00
Andy Heninger
8a163f878d ICU-11754 C++03 build errors.
X-SVN-Rev: 37624
2015-06-27 00:02:59 +00:00
Andy Heninger
59a70fdd6e ICU-11751 Fix Windows build problem with revised reslist.cpp, again.
X-SVN-Rev: 37622
2015-06-24 23:21:11 +00:00
Andy Heninger
0f9cf08e1c ICU-11751 Fix Windows build problem with revised reslist.cpp
X-SVN-Rev: 37621
2015-06-24 22:13:11 +00:00
Peter Edberg
f86d3f28c5 ICU-11706 Fix memory leak when DateIntervalFormat::setDateIntervalInfo is called
X-SVN-Rev: 37620
2015-06-24 21:43:08 +00:00
Markus Scherer
62e756505c ICU-11751 polymorphic TableResource, ArrayResource, IntResource, IntVectorResource, BinaryResource
X-SVN-Rev: 37619
2015-06-24 20:15:08 +00:00
Markus Scherer
43c47b5685 ICU-11751 change genrb.c to .cpp, polymorphic StringResource & AliasResource with UnicodeString
X-SVN-Rev: 37618
2015-06-24 09:11:42 +00:00
Peter Edberg
52acc7a249 ICU-11706 (and #11726) more code cleanup (rolling in from J)
X-SVN-Rev: 37617
2015-06-24 08:03:16 +00:00
Peter Edberg
656838dbad ICU-11706 (and #11726) Improve documentation, code cleanup
X-SVN-Rev: 37616
2015-06-24 07:59:38 +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
Peter Edberg
4cdffbd453 ICU-11708 CompactDecimaFormat should override and implement several more format methods
X-SVN-Rev: 37611
2015-06-23 17:33:03 +00:00
Markus Scherer
cfe9e72aec ICU-11751 change genrb reslist.c & wrtjava.c to C++ (mostly just .c to .cpp)
X-SVN-Rev: 37610
2015-06-23 07:07:27 +00:00
Peter Edberg
2ae320dbdf ICU-11673 Add new Japanese name for Georgia to cjdict
X-SVN-Rev: 37608
2015-06-23 02:09:49 +00:00
Peter Edberg
d88c68d067 ICU-11688 Add Thai words for "update" and "event" to dictionary
X-SVN-Rev: 37606
2015-06-23 00:44:09 +00:00
Markus Scherer
3d77fc18b8 ICU-11317 split out a new doAppend() from the more general doReplace(), each optimizing for different cases
X-SVN-Rev: 37601
2015-06-18 14:09:54 +00:00
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
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
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
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
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
9672f10d99 ICU-10458 Add more data driven tests for parsing currency.
X-SVN-Rev: 37507
2015-06-09 18:01:13 +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
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
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
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
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
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
Michael Ow
a6e72d95ee ICU-11628 Update version number to 56.0.1 in icu data
X-SVN-Rev: 37431
2015-05-11 21:42:59 +00:00
Michael Ow
e2f00eff23 ICU-11578 Set the default value of U_USE_USRDATA to 0
X-SVN-Rev: 37420
2015-05-04 19:11:04 +00:00
Andy Heninger
4d4ee85673 ICU-11659 Remove remnants of ICU_USE_THREADS
X-SVN-Rev: 37415
2015-04-30 01:10:04 +00:00
Andy Heninger
da04970a07 ICU-11603 BreakTransliterator thread safety changes, use LocalPointer and Mutex classes.
X-SVN-Rev: 37414
2015-04-29 23:18:32 +00:00
Yoshito Umaoka
e49f68ebab ICU-11630 tzdata2015d to ICU4C
X-SVN-Rev: 37399
2015-04-24 23:45:28 +00:00
Andy Heninger
4651204fb5 ICU-11643 Several threading test cleanups.
X-SVN-Rev: 37395
2015-04-23 23:59:24 +00:00
Andy Heninger
673942389f ICU-11654 Remove test/threadtest. Obsolete, abandoned code.
X-SVN-Rev: 37392
2015-04-23 21:39:31 +00:00
George Rhoten
e1c9c699b9 ICU-11564 Delete a stale cast and comment.
X-SVN-Rev: 37388
2015-04-23 17:14:52 +00:00
George Rhoten
e7b812f712 ICU-11564 Improve the thread safety of RBNF.
The recursion count is now a method argument instead of a data member.
Setting the DecimalFormatSymbols no longer reparses the rules, but it just sets a new version of DecimalFormatSymbols instead.

X-SVN-Rev: 37387
2015-04-23 16:13:46 +00:00
George Rhoten
5c4fe2e90a ICU-4243 Fix RBNF ordinal parsing testing. This has worked for a while now.
X-SVN-Rev: 37386
2015-04-23 08:19:47 +00:00
George Rhoten
9fd5294a9b ICU-10830 Fix build failure due to using trunk data from CLDR.
X-SVN-Rev: 37384
2015-04-23 07:55:14 +00:00
George Rhoten
a649861ff9 ICU-10830 RBNF locale aliases need fixing
X-SVN-Rev: 37382
2015-04-23 07:13:31 +00:00
Travis Keep
4a51a2f421 ICU-11652 Change default padding character from astricks 0x002A to space 0x0020
X-SVN-Rev: 37378
2015-04-22 21:54:15 +00:00
Andy Heninger
928da728d6 ICU-11633 remove U_ALIGN_CODE
X-SVN-Rev: 37369
2015-04-20 22:15:04 +00:00
Andy Heninger
6a4799e345 ICU-11608 remove lines with $ svn keywords
X-SVN-Rev: 37367
2015-04-20 20:43:56 +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
Steven R. Loomis
90b2bf6959 ICU-11642 add -q options to gencfu,gencnval,gendict,makeconv,genbrk
X-SVN-Rev: 37343
2015-04-16 15:22:30 +00:00
Andy Heninger
67535f4a55 ICU-11603 Transliterator thread safety fixes.
X-SVN-Rev: 37342
2015-04-15 22:43:15 +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
Yoshito Umaoka
06b454e611 ICU-11628 Updated ICU4C version to 56.0.1.
X-SVN-Rev: 37337
2015-04-15 16:41:07 +00:00
Michael Ow
2da5d16d40 ICU-11630 Update tzdata in ICU4C to 2015c
X-SVN-Rev: 37335
2015-04-14 21:24:11 +00:00
Andy Heninger
85f3da6213 ICU-11638 Improve RegexMatcher::group() API docs.
X-SVN-Rev: 37327
2015-04-13 21:59:04 +00:00
Andy Heninger
d3301f2a4e ICU-11599 Adjust atomic ops code to be more compatible with thread sanitizer tools.
X-SVN-Rev: 37326
2015-04-09 23:16:55 +00:00
Michael Ow
c9a8c21d51 ICU-11595 Merge CLDR update to trunk
X-SVN-Rev: 37293
2015-03-27 17:25:30 +00:00