Commit Graph

27914 Commits

Author SHA1 Message Date
Steven R. Loomis
9ab86aaddb ICU-11786 fix FilteredBreakIterator::last()
* last() was defective
* update the test case
* remove the logknownissue

X-SVN-Rev: 37936
2015-09-10 06:00:44 +00:00
Peter Edberg
5d1a2fa6bd ICU-11787 Add support for UNUM_CURRENCY_STANDARD and locale u-ext key -cf- (C)
X-SVN-Rev: 37935
2015-09-10 05:40:20 +00:00
Steven R. Loomis
6b8c10a398 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
2015-09-10 02:39:41 +00:00
Steven R. Loomis
03bf2882a9 ICU-11886 workaround for test failures- disable TestUCAUnsafeBackwards on Windows
X-SVN-Rev: 37932
2015-09-10 02:35:00 +00:00
Steven R. Loomis
9d91ee05db ICU-11826 makeconf.cpp fix for Windows linkage
X-SVN-Rev: 37931
2015-09-10 02:06:33 +00:00
Markus Scherer
0f0c7656d3 ICU-11832 some better error checking based on static code analysis
X-SVN-Rev: 37930
2015-09-10 01:42:34 +00:00
Steven R. Loomis
94fe10c710 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
2015-09-10 01:39:06 +00:00
Peter Edberg
b5fe5f98c4 ICU-11791 Fix leak in FilteredBreakIteratorBuilder::createInstance for "zh", "fi", ... (i.e. failure case)
X-SVN-Rev: 37928
2015-09-10 00:18:11 +00:00
Travis Keep
9c2626faa9 ICU-11887 Deprecate DurationFormat.
X-SVN-Rev: 37926
2015-09-09 20:53:18 +00:00
Craig Cornelius
266f4e8b67 ICU-11805 DecimalFormat missing negative sign in US locale formatToCharacterIterator
X-SVN-Rev: 37925
2015-09-09 20:52:52 +00:00
Markus Scherer
b574c33a88 ICU-11873 fix memory leak in samples/layout/paragraph.cpp class Paragraph
X-SVN-Rev: 37924
2015-09-09 19:44:48 +00:00
Markus Scherer
ea8111fe25 ICU-11447 better SpoofChecker.CheckResult.toString()
X-SVN-Rev: 37923
2015-09-09 19:29:17 +00:00
Markus Scherer
2769a64643 ICU-11863 pkgdata.cpp define & use LocalPipeFilePointer (auto pointer) for popen/pclose
X-SVN-Rev: 37921
2015-09-09 18:47:00 +00:00
Fredrik Roubert
d8a1859b6e 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
2015-09-09 18:42:45 +00:00
Mark Davis
ac4466583f ICU-11721 small fixes
X-SVN-Rev: 37919
2015-09-09 13:27:10 +00:00
Mark Davis
1fc1ceab55 ICU-11447 add toString. Just an override of existing API, so not an API change.
X-SVN-Rev: 37918
2015-09-09 13:14:46 +00:00
Mark Davis
2c7e3cfe4d ICU-11803 fixed (but see comments)
X-SVN-Rev: 37917
2015-09-09 13:04:56 +00:00
Mark Davis
c5396b67a2 ICU-8288 Looks like the code was fixed some time in the past, so just added test.
X-SVN-Rev: 37916
2015-09-09 12:45:06 +00:00
Mark Davis
d81ee368f0 ICU-11544 Made the main changes to bring it up to snuff with the CLDR data.
X-SVN-Rev: 37915
2015-09-09 12:30:26 +00:00
Peter Edberg
cd4634345e ICU-11770 If locale has ss-standard, sentence break iterator uses suppressions data via FilteredBreakIterator
X-SVN-Rev: 37914
2015-09-09 04:05:01 +00:00
Peter Edberg
e4d76d4125 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
2015-09-09 03:55:20 +00:00
Markus Scherer
36ef10c2df ICU-11900 UCharacter use java.lang.Character code point constants & methods, not ICU UTF16
X-SVN-Rev: 37912
2015-09-09 00:13:06 +00:00
Travis Keep
16c1b96f5a ICU-11740 Final sync of C and J copies of data driven tests.
X-SVN-Rev: 37911
2015-09-09 00:10:38 +00:00
Travis Keep
b49ad21ea8 ICU-11740 Final sync of C and J copies of data driven tests.
X-SVN-Rev: 37910
2015-09-09 00:09:32 +00:00
Craig Cornelius
1a6b2975d1 ICU-11808 Missing ArithmeticException when using ICU4J DecimalFormat
X-SVN-Rev: 37909
2015-09-08 23:39:59 +00:00
Michael Ow
1af9647af1 ICU-11869 Update ICU4J test data jar
X-SVN-Rev: 37908
2015-09-08 22:40:45 +00:00
Michael Ow
784e59b2ae ICU-11869 Update jis8 test for edge case
X-SVN-Rev: 37907
2015-09-08 22:37:30 +00:00
Michael Ow
906223c6b1 ICU-11869 Update charset pref list for jis8 in icu4j
X-SVN-Rev: 37906
2015-09-08 22:36:40 +00:00
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
5dc7ebe25b ICU-11773 Withdraw COLON as pattern char, leave support for TIME_SEPARATOR_FIELD (J)
X-SVN-Rev: 37899
2015-09-08 02:21:22 +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
Craig Cornelius
2dfa676385 ICU-11784 Fix DecimalFormat FieldPosition for Field.CURRENCY
X-SVN-Rev: 37887
2015-09-04 21:58:03 +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
1310bace9c ICU-11890 remove some unused non-public ICU4J classes; add TODOs to others that are not used in library code
X-SVN-Rev: 37878
2015-09-03 21:34:50 +00:00
Markus Scherer
1cc38f16e7 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
2015-09-03 20:08:18 +00:00