Commit Graph

5485 Commits

Author SHA1 Message Date
John Emmons
01e0c332a5 ICU-11846 CLDR 28 data integration
X-SVN-Rev: 37836
2015-08-27 20:23:27 +00:00
Travis Keep
2860cd48c4 ICU-11740 DecimalFormat refactor.
X-SVN-Rev: 37821
2015-08-25 23:31:01 +00:00
George Rhoten
e097e1b9ee ICU-8223 Add rule syntax for NaN, infinity and alternate decimal points.
Other issues addressed:
* Some performance enhancements were added for good measure. Creating new RuleBasedNumberFormat objects can take a long time due to all the rule parsing. This was ported from ICU4J.
* I fixed a potential infinite recursion problem when RuleBasedNumberFormat used NumberFormat.createInstance, which could occasionally depend on creating RuleBasedNumberFormat for itself, which was bad. This was ported from ICU4J.
* I fixed a potential memory leak due to lazy initialization of some RBNF data members in a multithreaded environment, which is fine in Java, but it's not okay in C++. We no longer cast away const due to this, which is good.
* There were some compiler warnings and errors found while trying to debug this code on my machine. I fixed those too.

X-SVN-Rev: 37810
2015-08-25 16:55:52 +00:00
Markus Scherer
0dc9a5eda5 ICU-11537 fix .res formatVersion check
X-SVN-Rev: 37795
2015-08-21 20:50:48 +00:00
Andy Heninger
60dcad0436 ICU-11794 add uprv_isInvariantUnicodeString(), as requested by Markus
X-SVN-Rev: 37794
2015-08-21 17:32:53 +00:00
Andy Heninger
80a6684a7b ICU-11794 change error handling of CharString::appendInvariantChars()
X-SVN-Rev: 37790
2015-08-20 00:55:03 +00:00
Markus Scherer
36e5d9e75f ICU-11537 move shared resource bundle string values to pool.res, .res formatVersion 3; merge --integrate from dev branch, plus make toolutil/pkgitems.cpp set poolBundleStrings so that icupkg can check dependencies
X-SVN-Rev: 37731
2015-08-07 18:44:38 +00:00
Travis Keep
8b18741503 ICU-11767 Bound the ICU UnifiedCache.
X-SVN-Rev: 37723
2015-08-05 20:21:14 +00:00
Steven R. Loomis
f87d28cfd2 ICU-11248 merge to trunk: FilteredBreakIteratorBuilder work
* passes rbbi extended tests
* uses <locale en@x-uli=true> in rbbitst.txt,
so added a "known issue" for this when en@ss=standard will suffice.

X-SVN-Rev: 37721
2015-08-05 00:03:18 +00:00
Michael Ow
5c9e64e2d4 ICU-11759 Remove unused constant
X-SVN-Rev: 37702
2015-07-28 17:53:12 +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
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
Andy Heninger
8a163f878d ICU-11754 C++03 build errors.
X-SVN-Rev: 37624
2015-06-27 00:02:59 +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
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
Markus Scherer
7c3234e250 ICU-11574 Unicode 8.0 final data
X-SVN-Rev: 37548
2015-06-12 11:10:10 +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
Michael Ow
1c3c68f43e ICU-11696 Fix converter name with x- prefix checking
X-SVN-Rev: 37486
2015-06-01 23:33:28 +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
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
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
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
Andy Heninger
7cb3f9c24c ICU-10687 Break Engine Factory, simplify synchronization.
X-SVN-Rev: 37440
2015-05-14 21:54:53 +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
928da728d6 ICU-11633 remove U_ALIGN_CODE
X-SVN-Rev: 37369
2015-04-20 22:15:04 +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
Yoshito Umaoka
06b454e611 ICU-11628 Updated ICU4C version to 56.0.1.
X-SVN-Rev: 37337
2015-04-15 16:41:07 +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
e3edac231a ICU-11433 Update copyright string
X-SVN-Rev: 37248
2015-03-18 16:57:46 +00:00
Andy Heninger
f4740d75da ICU-11579 Fix signed integer overflow in uresbund.cpp
X-SVN-Rev: 37217
2015-03-11 20:43:07 +00:00
Peter Edberg
6d54ab4174 ICU-11549 Review comments: Better param checks/docs; use UnicodeStrings[] stack array for small stringCount
X-SVN-Rev: 37192
2015-03-09 06:17:19 +00:00
Michael Ow
9e8e68130e ICU-11451 Add overflow fix
X-SVN-Rev: 37162
2015-03-06 21:03:04 +00:00
Peter Edberg
b9cb51bf9c ICU-11433 BRS, update urename.h
X-SVN-Rev: 37151
2015-03-05 22:22:38 +00:00
Michael Ow
58f2ae9360 ICU-11433 Update version number to 55.1
X-SVN-Rev: 37147
2015-03-05 06:32:53 +00:00
Jungshik Shin
19e759df57 ICU-11033 support chrome native client as a platform
X-SVN-Rev: 37140
2015-03-05 01:11:14 +00:00
Andy Heninger
a9189431e8 ICU-11547 Locale::getBaseName(), use uprv_strdup() (review comment).
X-SVN-Rev: 37138
2015-03-05 00:51:11 +00:00
Markus Scherer
4c236b4a47 ICU-11562 missed a sentence
X-SVN-Rev: 37137
2015-03-04 22:31:07 +00:00
Markus Scherer
05a29b34c9 ICU-11562 improve script code API docs
X-SVN-Rev: 37135
2015-03-04 22:23:14 +00:00