Commit Graph

20288 Commits

Author SHA1 Message Date
Michael Ow
623c907a81 ICU-11869 Update charset pref order for jis8
X-SVN-Rev: 37905
2015-09-08 22:35:02 +00:00
Markus Scherer
d42e632251 ICU-11830 genrb.cpp: use CharString for pool file name & current file name; use LocalPointer for newPoolBundle; use UErrorCode reference not pointer
X-SVN-Rev: 37904
2015-09-08 21:44:49 +00:00
Markus Scherer
436d5a6ddc ICU-11829 change derb.c to .cpp; use CharString & UnicodeString for building strings; remove unused converter variable; use UPRV_LENGTHOF()
X-SVN-Rev: 37903
2015-09-08 21:08:55 +00:00
Markus Scherer
f9b98d9b6f ICU-11826 makeconv main() use CharString for outFileName; change from .c to .cpp; CharString add lastIndexOf(char) and ensureEndsWithFileSeparator()
X-SVN-Rev: 37902
2015-09-08 19:54:38 +00:00
Peter Edberg
7e03903fd5 ICU-11773 Improve test, fix typo (C)
X-SVN-Rev: 37900
2015-09-08 02:25:24 +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
8fb97395f8 ICU-11860 separate init-once of uspoof statics (for most functions) from init-once of uspoof default data (only for uspoof_open()); gencfu calls uspoof_openFromSource() for building the default data, so uspoof_openFromSource() must not require that default data
X-SVN-Rev: 37897
2015-09-07 01:48:29 +00:00
Markus Scherer
1e736e034b ICU-11704 better/simpler memory management in toolutil/pkg_icu.cpp writePackageDatFile()
X-SVN-Rev: 37896
2015-09-07 01:32:31 +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
Markus Scherer
a45bac77fe ICU-11765 fix utrans_stripRules() source overruns from a comment or an escape at the end of the source string; make U8_SET_CP_LIMIT() work with index after NUL terminator, consistent with U16_SET_CP_LIMIT(), although strictly speaking this behavior is undefined
X-SVN-Rev: 37889
2015-09-04 23:45:19 +00:00
Jungshik Shin
49eb03845c ICU-11867 fix "virtual functions hidden" warning in windtfmt/winnmfmt
X-SVN-Rev: 37886
2015-09-04 20:17:30 +00:00
Jungshik Shin
083ac0c904 ICU-11866 remove refrences to StringThreadTest (friend lines)
X-SVN-Rev: 37884
2015-09-04 19:07:56 +00:00
Markus Scherer
0bdc5dd937 ICU-11774 toolutil Package use uprv_free & LocalMemory, not free()
X-SVN-Rev: 37883
2015-09-04 18:59:17 +00:00
Markus Scherer
b4b5fc8392 ICU-11831 u_parseArgs() reset option->doesOccur in case of error
X-SVN-Rev: 37882
2015-09-04 18:38:25 +00:00
Markus Scherer
94243c69c0 ICU-7303 deprecate old normalization APIs that have Normalizer2 replacements
X-SVN-Rev: 37873
2015-09-03 16:12:20 +00:00
John Emmons
9966a55639 ICU-11846 CLDR 28 data integration (d05)
X-SVN-Rev: 37868
2015-09-02 22:59:08 +00:00
Travis Keep
b7d18e518c ICU-11780 Reduce heap size for caching date formatters.
X-SVN-Rev: 37860
2015-09-01 20:13:27 +00:00
John Emmons
e5baa4deda ICU-11846 CLDR 28 data integration (d04)
X-SVN-Rev: 37854
2015-08-31 21:32:04 +00:00
Michael Ow
6e443bfc40 ICU-11810 Ensure delete of language tag pointer
X-SVN-Rev: 37853
2015-08-31 19:12:34 +00:00
Michael Ow
8a6d11ed90 ICU-11811 Delete pointer on error
X-SVN-Rev: 37852
2015-08-31 19:03:13 +00:00
Michael Ow
d3a1c40213 ICU-11828 Add check for null pointer
X-SVN-Rev: 37851
2015-08-31 18:59:01 +00:00
John Emmons
3506c79716 ICU-11846 Fix memory leak in modified Region code
X-SVN-Rev: 37849
2015-08-29 03:08:44 +00:00
Travis Keep
dd0466cdad ICU-11740 Add documentation to DecimalFormatImpl class.
X-SVN-Rev: 37848
2015-08-28 23:23:38 +00:00
John Emmons
87fd2e76a6 ICU-11846 CLDR 28 data integration (d03)
X-SVN-Rev: 37844
2015-08-28 20:52:59 +00:00
Travis Keep
bc33f20e3c ICU-11740 Add more tests to prove that this change resolves other tickets.
X-SVN-Rev: 37843
2015-08-28 18:38:37 +00:00
Steven R. Loomis
8e2b2d1250 ICU-11827 icu-config: do not add date to the script
X-SVN-Rev: 37841
2015-08-27 21:54:51 +00:00
John Emmons
17e2790359 ICU-11846 CLDR 28 data integration
X-SVN-Rev: 37837
2015-08-27 20:57:14 +00:00
John Emmons
01e0c332a5 ICU-11846 CLDR 28 data integration
X-SVN-Rev: 37836
2015-08-27 20:23:27 +00:00
Travis Keep
e837bd4f7f ICU-11868 Add test that was failing with the legacy DecimalFormat code.
X-SVN-Rev: 37835
2015-08-27 18:03:18 +00:00
Steven R. Loomis
ab0168470b ICU-11740 divide by zero fix (!)
X-SVN-Rev: 37834
2015-08-27 00:25:12 +00:00
Steven R. Loomis
6abcab0f43 ICU-11740 template fix for MSVC
X-SVN-Rev: 37833
2015-08-27 00:14:12 +00:00
Travis Keep
b7cf3ca31c ICU-11740 Disallow copy and assign on VisibleDigitsWithExponent enable data driven tests that were known to fail with the legacy DecimalFormat code but pass with the new DecimalFormat code.
X-SVN-Rev: 37832
2015-08-26 21:15:37 +00:00
Travis Keep
f1bd63c26d ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37827
2015-08-26 19:13:28 +00:00
Travis Keep
3caaf7e61a ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37826
2015-08-26 18:18:55 +00:00
Travis Keep
3b9279d715 ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37825
2015-08-26 17:43:02 +00:00
George Rhoten
e3e7183663 ICU-11818 Implement PluralRules in fractional RBNF
X-SVN-Rev: 37823
2015-08-26 10:42:17 +00:00
Travis Keep
896009e9da ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37822
2015-08-26 00:28:27 +00:00
Travis Keep
2860cd48c4 ICU-11740 DecimalFormat refactor.
X-SVN-Rev: 37821
2015-08-25 23:31:01 +00:00
Andy Heninger
57ac300668 ICU-11480 added tests for regex with capture groups that do not participate in match.
X-SVN-Rev: 37816
2015-08-25 20:47:38 +00:00
George Rhoten
7fcc6e5165 ICU-8223 Fix a compiler issue from the last change.
X-SVN-Rev: 37811
2015-08-25 17:43:22 +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
38d07de467 ICU-11031 cache spoof check data (ICU4C).
X-SVN-Rev: 37793
2015-08-21 01:23:29 +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
Travis Keep
03eab980da ICU-11779 Fix parameter names in documentation.
X-SVN-Rev: 37774
2015-08-13 22:46:04 +00:00