]>
granicus.if.org Git - icu/log
Steven R. Loomis [Thu, 10 Sep 2015 06:00:44 +0000 (06:00 +0000)]
ICU-11786 fix FilteredBreakIterator::last()
* last() was defective
* update the test case
* remove the logknownissue
X-SVN-Rev: 37936
Peter Edberg [Thu, 10 Sep 2015 05:40:20 +0000 (05:40 +0000)]
ICU-11787 Add support for UNUM_CURRENCY_STANDARD and locale u-ext key -cf- (C)
X-SVN-Rev: 37935
Steven R. Loomis [Thu, 10 Sep 2015 02:39:41 +0000 (02:39 +0000)]
ICU-11826 fix makeconv linkage change that broke on non-Windows
You can please some of the platforms some of the timeā¦
X-SVN-Rev: 37933
Steven R. Loomis [Thu, 10 Sep 2015 02:35:00 +0000 (02:35 +0000)]
ICU-11886 workaround for test failures- disable TestUCAUnsafeBackwards on Windows
X-SVN-Rev: 37932
Steven R. Loomis [Thu, 10 Sep 2015 02:06:33 +0000 (02:06 +0000)]
ICU-11826 makeconf.cpp fix for Windows linkage
X-SVN-Rev: 37931
Markus Scherer [Thu, 10 Sep 2015 01:42:34 +0000 (01:42 +0000)]
ICU-11832 some better error checking based on static code analysis
X-SVN-Rev: 37930
Steven R. Loomis [Thu, 10 Sep 2015 01:39:06 +0000 (01:39 +0000)]
ICU-11886 Speed up ucol_open by 21%
* implement a deserialize constructor for UnicodeSet
* add test cases for same
* add a generator (`gencolusb`) which can build `source/i18n/collunsafe.h`
* Note that for bootstrapping `collunsafe.h` can be truncated (zero length).
X-SVN-Rev: 37929
Peter Edberg [Thu, 10 Sep 2015 00:18:11 +0000 (00:18 +0000)]
ICU-11791 Fix leak in FilteredBreakIteratorBuilder::createInstance for "zh", "fi", ... (i.e. failure case)
X-SVN-Rev: 37928
Travis Keep [Wed, 9 Sep 2015 20:53:18 +0000 (20:53 +0000)]
ICU-11887 Deprecate DurationFormat.
X-SVN-Rev: 37926
Craig Cornelius [Wed, 9 Sep 2015 20:52:52 +0000 (20:52 +0000)]
ICU-11805 DecimalFormat missing negative sign in US locale formatToCharacterIterator
X-SVN-Rev: 37925
Markus Scherer [Wed, 9 Sep 2015 19:44:48 +0000 (19:44 +0000)]
ICU-11873 fix memory leak in samples/layout/paragraph.cpp class Paragraph
X-SVN-Rev: 37924
Markus Scherer [Wed, 9 Sep 2015 19:29:17 +0000 (19:29 +0000)]
ICU-11447 better SpoofChecker.CheckResult.toString()
X-SVN-Rev: 37923
Markus Scherer [Wed, 9 Sep 2015 18:47:00 +0000 (18:47 +0000)]
ICU-11863 pkgdata.cpp define & use LocalPipeFilePointer (auto pointer) for popen/pclose
X-SVN-Rev: 37921
Fredrik Roubert [Wed, 9 Sep 2015 18:42:45 +0000 (18:42 +0000)]
ICU-11783 Remove use of class loaders in resource loading caches.
There is currently no known use-case where this code that is being
removed solves a real problem, but it causes problems in Android when
ICU4J is being initialized using one class loader but then called using
another class loader.
R=markus.icu@gmail.com, yoshito_umaoka@us.ibm.com
Review URL: https://codereview.appspot.com/
260600044 .
X-SVN-Rev: 37920
Mark Davis [Wed, 9 Sep 2015 13:27:10 +0000 (13:27 +0000)]
ICU-11721 small fixes
X-SVN-Rev: 37919
Mark Davis [Wed, 9 Sep 2015 13:14:46 +0000 (13:14 +0000)]
ICU-11447 add toString. Just an override of existing API, so not an API change.
X-SVN-Rev: 37918
Mark Davis [Wed, 9 Sep 2015 13:04:56 +0000 (13:04 +0000)]
ICU-11803 fixed (but see comments)
X-SVN-Rev: 37917
Mark Davis [Wed, 9 Sep 2015 12:45:06 +0000 (12:45 +0000)]
ICU-8288 Looks like the code was fixed some time in the past, so just added test.
X-SVN-Rev: 37916
Mark Davis [Wed, 9 Sep 2015 12:30:26 +0000 (12:30 +0000)]
ICU-11544 Made the main changes to bring it up to snuff with the CLDR data.
X-SVN-Rev: 37915
Peter Edberg [Wed, 9 Sep 2015 04:05:01 +0000 (04:05 +0000)]
ICU-11770 If locale has ss-standard, sentence break iterator uses suppressions data via FilteredBreakIterator
X-SVN-Rev: 37914
Peter Edberg [Wed, 9 Sep 2015 03:55:20 +0000 (03:55 +0000)]
ICU-11786 Terminate internalNext/Prev when we reach text limit, not just at UBRK_DONE, so more tests for #11770 can pass
X-SVN-Rev: 37913
Markus Scherer [Wed, 9 Sep 2015 00:13:06 +0000 (00:13 +0000)]
ICU-11900 UCharacter use java.lang.Character code point constants & methods, not ICU UTF16
X-SVN-Rev: 37912
Travis Keep [Wed, 9 Sep 2015 00:10:38 +0000 (00:10 +0000)]
ICU-11740 Final sync of C and J copies of data driven tests.
X-SVN-Rev: 37911
Travis Keep [Wed, 9 Sep 2015 00:09:32 +0000 (00:09 +0000)]
ICU-11740 Final sync of C and J copies of data driven tests.
X-SVN-Rev: 37910
Craig Cornelius [Tue, 8 Sep 2015 23:39:59 +0000 (23:39 +0000)]
ICU-11808 Missing ArithmeticException when using ICU4J DecimalFormat
X-SVN-Rev: 37909
Michael Ow [Tue, 8 Sep 2015 22:40:45 +0000 (22:40 +0000)]
ICU-11869 Update ICU4J test data jar
X-SVN-Rev: 37908
Michael Ow [Tue, 8 Sep 2015 22:37:30 +0000 (22:37 +0000)]
ICU-11869 Update jis8 test for edge case
X-SVN-Rev: 37907
Michael Ow [Tue, 8 Sep 2015 22:36:40 +0000 (22:36 +0000)]
ICU-11869 Update charset pref list for jis8 in icu4j
X-SVN-Rev: 37906
Michael Ow [Tue, 8 Sep 2015 22:35:02 +0000 (22:35 +0000)]
ICU-11869 Update charset pref order for jis8
X-SVN-Rev: 37905
Markus Scherer [Tue, 8 Sep 2015 21:44:49 +0000 (21:44 +0000)]
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
Markus Scherer [Tue, 8 Sep 2015 21:08:55 +0000 (21:08 +0000)]
ICU-11829 change derb.c to .cpp; use CharString & UnicodeString for building strings; remove unused converter variable; use UPRV_LENGTHOF()
X-SVN-Rev: 37903
Markus Scherer [Tue, 8 Sep 2015 19:54:38 +0000 (19:54 +0000)]
ICU-11826 makeconv main() use CharString for outFileName; change from .c to .cpp; CharString add lastIndexOf(char) and ensureEndsWithFileSeparator()
X-SVN-Rev: 37902
Peter Edberg [Tue, 8 Sep 2015 02:25:24 +0000 (02:25 +0000)]
ICU-11773 Improve test, fix typo (C)
X-SVN-Rev: 37900
Peter Edberg [Tue, 8 Sep 2015 02:21:22 +0000 (02:21 +0000)]
ICU-11773 Withdraw COLON as pattern char, leave support for TIME_SEPARATOR_FIELD (J)
X-SVN-Rev: 37899
Peter Edberg [Mon, 7 Sep 2015 22:39:49 +0000 (22:39 +0000)]
ICU-11773 Withdraw COLON as pattern char, leave support for UDAT_TIME_SEPARATOR_FIELD (C)
X-SVN-Rev: 37898
Markus Scherer [Mon, 7 Sep 2015 01:48:29 +0000 (01:48 +0000)]
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
Markus Scherer [Mon, 7 Sep 2015 01:32:31 +0000 (01:32 +0000)]
ICU-11704 better/simpler memory management in toolutil/pkg_icu.cpp writePackageDatFile()
X-SVN-Rev: 37896
Markus Scherer [Mon, 7 Sep 2015 01:18:49 +0000 (01:18 +0000)]
ICU-11860 uspoof_openFromSource() initializes static variables; isolate test code for uspoof_openFromSource() so that initialization can be tested
X-SVN-Rev: 37895
Markus Scherer [Mon, 7 Sep 2015 00:38:38 +0000 (00:38 +0000)]
ICU-11765 fix u_charsToUChars() string length and make its destination buffer large enough
X-SVN-Rev: 37894
Markus Scherer [Mon, 7 Sep 2015 00:27:33 +0000 (00:27 +0000)]
ICU-11765 fix string length in udatpg_test.c TestUsage()
X-SVN-Rev: 37893
Markus Scherer [Sat, 5 Sep 2015 19:25:38 +0000 (19:25 +0000)]
ICU-11765 NUL-terminate a uenumtst.c test string
X-SVN-Rev: 37892
Markus Scherer [Sat, 5 Sep 2015 19:17:55 +0000 (19:17 +0000)]
ICU-11765 fix custrtst.c TestCountChar32(): need to use NUL-terminated buffer when testing NUL termination, not unterminated string
X-SVN-Rev: 37891
Markus Scherer [Fri, 4 Sep 2015 23:45:19 +0000 (23:45 +0000)]
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
Craig Cornelius [Fri, 4 Sep 2015 21:58:03 +0000 (21:58 +0000)]
ICU-11784 Fix DecimalFormat FieldPosition for Field.CURRENCY
X-SVN-Rev: 37887
Jungshik Shin [Fri, 4 Sep 2015 20:17:30 +0000 (20:17 +0000)]
ICU-11867 fix "virtual functions hidden" warning in windtfmt/winnmfmt
X-SVN-Rev: 37886
Jungshik Shin [Fri, 4 Sep 2015 19:07:56 +0000 (19:07 +0000)]
ICU-11866 remove refrences to StringThreadTest (friend lines)
X-SVN-Rev: 37884
Markus Scherer [Fri, 4 Sep 2015 18:59:17 +0000 (18:59 +0000)]
ICU-11774 toolutil Package use uprv_free & LocalMemory, not free()
X-SVN-Rev: 37883
Markus Scherer [Fri, 4 Sep 2015 18:38:25 +0000 (18:38 +0000)]
ICU-11831 u_parseArgs() reset option->doesOccur in case of error
X-SVN-Rev: 37882
Markus Scherer [Thu, 3 Sep 2015 21:34:50 +0000 (21:34 +0000)]
ICU-11890 remove some unused non-public ICU4J classes; add TODOs to others that are not used in library code
X-SVN-Rev: 37878
Markus Scherer [Thu, 3 Sep 2015 20:08:18 +0000 (20:08 +0000)]
ICU-11879 ZoneNamesImpl.find() add zone names already loaded for formatting into parsing trie, and try to match again, before loading every known zone name
X-SVN-Rev: 37877
Markus Scherer [Thu, 3 Sep 2015 18:08:16 +0000 (18:08 +0000)]
ICU-11879 DateFormatSymbols.getZoneStrings() use new, fast, public-@internal TimeZoneNames methods for getting multiple display names
X-SVN-Rev: 37876
Markus Scherer [Thu, 3 Sep 2015 16:24:55 +0000 (16:24 +0000)]
ICU-11842 RBC: lazy-init the rules string
X-SVN-Rev: 37875
Markus Scherer [Thu, 3 Sep 2015 16:12:57 +0000 (16:12 +0000)]
ICU-7303 align Normalizer deprecation notice with pre-existing C/C++ notice
X-SVN-Rev: 37874
Markus Scherer [Thu, 3 Sep 2015 16:12:20 +0000 (16:12 +0000)]
ICU-7303 deprecate old normalization APIs that have Normalizer2 replacements
X-SVN-Rev: 37873
Markus Scherer [Wed, 2 Sep 2015 23:48:25 +0000 (23:48 +0000)]
ICU-7303 deprecate old normalization APIs that have Normalizer2 replacements
X-SVN-Rev: 37872
John Emmons [Wed, 2 Sep 2015 22:59:20 +0000 (22:59 +0000)]
ICU-11846 CLDR 28 data integration (d05)
X-SVN-Rev: 37869
John Emmons [Wed, 2 Sep 2015 22:59:08 +0000 (22:59 +0000)]
ICU-11846 CLDR 28 data integration (d05)
X-SVN-Rev: 37868
Markus Scherer [Wed, 2 Sep 2015 22:28:49 +0000 (22:28 +0000)]
ICU-11875 make class UFormat @stable
X-SVN-Rev: 37867
Scott Russell [Wed, 2 Sep 2015 15:31:55 +0000 (15:31 +0000)]
ICU-10988 Support v8 JavaDoc API
X-SVN-Rev: 37866
Markus Scherer [Wed, 2 Sep 2015 02:08:44 +0000 (02:08 +0000)]
ICU-11879 change to child-first resource enumeration: avoid deserializing overridden resource values
X-SVN-Rev: 37865
Markus Scherer [Tue, 1 Sep 2015 22:55:46 +0000 (22:55 +0000)]
ICU-11879 change new @internal TimeZoneNames.getDisplayNames() from returning String[] to writing to String[] with offset; also mark as @deprecated as well
X-SVN-Rev: 37863
Travis Keep [Tue, 1 Sep 2015 20:13:27 +0000 (20:13 +0000)]
ICU-11780 Reduce heap size for caching date formatters.
X-SVN-Rev: 37860
Markus Scherer [Tue, 1 Sep 2015 04:18:01 +0000 (04:18 +0000)]
ICU-11879 efficient enumeration of time zone names rather than fetching each name with fallback; build most of time zone names trie only when needed for parsing
X-SVN-Rev: 37859
John Emmons [Mon, 31 Aug 2015 21:32:17 +0000 (21:32 +0000)]
ICU-11846 CLDR 28 data integration (d04)
X-SVN-Rev: 37855
John Emmons [Mon, 31 Aug 2015 21:32:04 +0000 (21:32 +0000)]
ICU-11846 CLDR 28 data integration (d04)
X-SVN-Rev: 37854
Michael Ow [Mon, 31 Aug 2015 19:12:34 +0000 (19:12 +0000)]
ICU-11810 Ensure delete of language tag pointer
X-SVN-Rev: 37853
Michael Ow [Mon, 31 Aug 2015 19:03:13 +0000 (19:03 +0000)]
ICU-11811 Delete pointer on error
X-SVN-Rev: 37852
Michael Ow [Mon, 31 Aug 2015 18:59:01 +0000 (18:59 +0000)]
ICU-11828 Add check for null pointer
X-SVN-Rev: 37851
John Emmons [Sat, 29 Aug 2015 03:08:44 +0000 (03:08 +0000)]
ICU-11846 Fix memory leak in modified Region code
X-SVN-Rev: 37849
Travis Keep [Fri, 28 Aug 2015 23:23:38 +0000 (23:23 +0000)]
ICU-11740 Add documentation to DecimalFormatImpl class.
X-SVN-Rev: 37848
John Emmons [Fri, 28 Aug 2015 20:53:10 +0000 (20:53 +0000)]
ICU-11846 CLDR 28 data integration (d03)
X-SVN-Rev: 37845
John Emmons [Fri, 28 Aug 2015 20:52:59 +0000 (20:52 +0000)]
ICU-11846 CLDR 28 data integration (d03)
X-SVN-Rev: 37844
Travis Keep [Fri, 28 Aug 2015 18:38:37 +0000 (18:38 +0000)]
ICU-11740 Add more tests to prove that this change resolves other tickets.
X-SVN-Rev: 37843
George Rhoten [Fri, 28 Aug 2015 18:14:04 +0000 (18:14 +0000)]
ICU-11653 Add more test cases for rounding in RBNF.
X-SVN-Rev: 37842
Steven R. Loomis [Thu, 27 Aug 2015 21:54:51 +0000 (21:54 +0000)]
ICU-11827 icu-config: do not add date to the script
X-SVN-Rev: 37841
John Emmons [Thu, 27 Aug 2015 21:04:13 +0000 (21:04 +0000)]
ICU-11846 CLDR 28 data integration
X-SVN-Rev: 37838
John Emmons [Thu, 27 Aug 2015 20:57:14 +0000 (20:57 +0000)]
ICU-11846 CLDR 28 data integration
X-SVN-Rev: 37837
John Emmons [Thu, 27 Aug 2015 20:23:27 +0000 (20:23 +0000)]
ICU-11846 CLDR 28 data integration
X-SVN-Rev: 37836
Travis Keep [Thu, 27 Aug 2015 18:03:18 +0000 (18:03 +0000)]
ICU-11868 Add test that was failing with the legacy DecimalFormat code.
X-SVN-Rev: 37835
Steven R. Loomis [Thu, 27 Aug 2015 00:25:12 +0000 (00:25 +0000)]
ICU-11740 divide by zero fix (!)
X-SVN-Rev: 37834
Steven R. Loomis [Thu, 27 Aug 2015 00:14:12 +0000 (00:14 +0000)]
ICU-11740 template fix for MSVC
X-SVN-Rev: 37833
Travis Keep [Wed, 26 Aug 2015 21:15:37 +0000 (21:15 +0000)]
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
Travis Keep [Wed, 26 Aug 2015 19:13:28 +0000 (19:13 +0000)]
ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37827
Travis Keep [Wed, 26 Aug 2015 18:18:55 +0000 (18:18 +0000)]
ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37826
Travis Keep [Wed, 26 Aug 2015 17:43:02 +0000 (17:43 +0000)]
ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37825
George Rhoten [Wed, 26 Aug 2015 10:42:45 +0000 (10:42 +0000)]
ICU-11818 Implement PluralRules in fractional RBNF
X-SVN-Rev: 37824
George Rhoten [Wed, 26 Aug 2015 10:42:17 +0000 (10:42 +0000)]
ICU-11818 Implement PluralRules in fractional RBNF
X-SVN-Rev: 37823
Travis Keep [Wed, 26 Aug 2015 00:28:27 +0000 (00:28 +0000)]
ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37822
Travis Keep [Tue, 25 Aug 2015 23:31:01 +0000 (23:31 +0000)]
ICU-11740 DecimalFormat refactor.
X-SVN-Rev: 37821
Andy Heninger [Tue, 25 Aug 2015 20:47:38 +0000 (20:47 +0000)]
ICU-11480 added tests for regex with capture groups that do not participate in match.
X-SVN-Rev: 37816
Yoshito Umaoka [Tue, 25 Aug 2015 19:37:01 +0000 (19:37 +0000)]
ICU-11760 Fixed a build error with Java 5 runtime.
X-SVN-Rev: 37813
George Rhoten [Tue, 25 Aug 2015 19:33:18 +0000 (19:33 +0000)]
ICU-11653 Override roundingMode API from the NumberFormat superclass so that it doesn't throw an exception.
X-SVN-Rev: 37812
George Rhoten [Tue, 25 Aug 2015 17:43:22 +0000 (17:43 +0000)]
ICU-8223 Fix a compiler issue from the last change.
X-SVN-Rev: 37811
George Rhoten [Tue, 25 Aug 2015 16:55:52 +0000 (16:55 +0000)]
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
Markus Scherer [Mon, 24 Aug 2015 20:30:44 +0000 (20:30 +0000)]
ICU-11004 bulk-read data from ByteBuffer; read .res key strings up front into byte[] for faster lookup
X-SVN-Rev: 37806
Markus Scherer [Fri, 21 Aug 2015 21:06:38 +0000 (21:06 +0000)]
ICU-11537 fix .res formatVersion check
X-SVN-Rev: 37796
Markus Scherer [Fri, 21 Aug 2015 20:50:48 +0000 (20:50 +0000)]
ICU-11537 fix .res formatVersion check
X-SVN-Rev: 37795
Andy Heninger [Fri, 21 Aug 2015 17:32:53 +0000 (17:32 +0000)]
ICU-11794 add uprv_isInvariantUnicodeString(), as requested by Markus
X-SVN-Rev: 37794
Andy Heninger [Fri, 21 Aug 2015 01:23:29 +0000 (01:23 +0000)]
ICU-11031 cache spoof check data (ICU4C).
X-SVN-Rev: 37793
Andy Heninger [Thu, 20 Aug 2015 00:55:03 +0000 (00:55 +0000)]
ICU-11794 change error handling of CharString::appendInvariantChars()
X-SVN-Rev: 37790