Commit Graph

4624 Commits

Author SHA1 Message Date
Claire Ho
fdd59fbd07 ICU-5105 perfromance improvement for simple somparison.
X-SVN-Rev: 24208
2008-06-17 18:38:37 +00:00
Xiaomei Ji
4161c1b221 ICU-6157 sync after C++ review and remove exception from signature
X-SVN-Rev: 24206
2008-06-17 05:10:33 +00:00
John Emmons
7f5016dd78 ICU-5219 Dutch IJ Titlecasing
X-SVN-Rev: 24181
2008-06-14 02:38:08 +00:00
Yoshito Umaoka
f06268c175 ICU-6289 Resovled compiler warnings in Eclipse plug-in build. Updated license files. Add new tests in the Eclipse plug-in unit test.
X-SVN-Rev: 24176
2008-06-13 20:06:16 +00:00
Michael Ow
ea01edb0ea ICU-6319 Correct handling of spaces for Thai line break iterator and add test.
X-SVN-Rev: 24173
2008-06-13 19:21:12 +00:00
Yoshito Umaoka
266e647298 ICU-6348 Fixed a line accidentally commented out in the previous change.
X-SVN-Rev: 24170
2008-06-13 16:06:19 +00:00
Yoshito Umaoka
9985e52f02 ICU-6348 Enabled some APIs currently disabled for ICU4J Eclipse plug-in by making the implementation work on Foundation 1.0 environment.
X-SVN-Rev: 24169
2008-06-13 15:46:27 +00:00
Yoshito Umaoka
8d4d78dfdb ICU-6281 Merging the transliterator data changes from C to J.
X-SVN-Rev: 24165
2008-06-12 21:27:52 +00:00
Michael Ow
366a08794d ICU-2147 Disable SCSU and BOCU-1 in CharsetICU.java to not break trunk while debugging some test failures.
X-SVN-Rev: 24154
2008-06-11 21:28:03 +00:00
Michael Ow
0675da9bcd ICU-6319 Correct while statement to make results consistent with ICU4C.
X-SVN-Rev: 24147
2008-06-11 03:27:31 +00:00
Peter Edberg
2d45d7be53 ICU-6281 add TestHalfwidthFullwidth()
X-SVN-Rev: 24146
2008-06-11 03:20:42 +00:00
Claire Ho
90da026c87 ICU-6341 Wrong 'best pattern' for narrow date format.
X-SVN-Rev: 24144
2008-06-10 21:57:27 +00:00
Kedar Rajwade
f362efe4ed ICU-2147 Added SCSU and BOCU-1 converters
X-SVN-Rev: 24142
2008-06-10 19:58:20 +00:00
Kedar Rajwade
fac1ab82dc ICU-2147 SCSU and BOCU-1 converters
X-SVN-Rev: 24141
2008-06-10 18:35:57 +00:00
Yoshito Umaoka
15147e41b0 ICU-6037 Tightened currency code check in Currency#getInstance(String). Now it only accepts 3-letter alpha code.
X-SVN-Rev: 24136
2008-06-10 03:52:36 +00:00
Yoshito Umaoka
c9e080cf8a ICU-6313 Replaced the deprecated normalizer modes with the valid ones in the API doc for setMode.
X-SVN-Rev: 24135
2008-06-10 02:32:23 +00:00
Yoshito Umaoka
a9cda2f6df ICU-6258 Fixed the description for the keyword separator character from comma to semicolon.
X-SVN-Rev: 24134
2008-06-10 02:23:33 +00:00
Yoshito Umaoka
8d30278a2a ICU-5966 Resolved some Eclipse compiler warnings in serializable abstract classes, detected by Eclipse 3.4.
X-SVN-Rev: 24128
2008-06-09 17:40:16 +00:00
Yoshito Umaoka
ddfebd79a2 ICU-5976 Added TestICUEquivalent to NumberFormatTest. Cleaned up SPI configuration file and code. Changed NumberFormatProviderICU to return NumberFormatICU, not DecimalFormatICU by default.
X-SVN-Rev: 24127
2008-06-09 17:21:10 +00:00
John Emmons
2fa2db21f7 ICU-6256 Integrate 1.6 data - 2nd run
X-SVN-Rev: 24125
2008-06-07 21:18:06 +00:00
Yoshito Umaoka
3bb3a27338 ICU-5976 Supplied setters in DecimalFormatSymbolsICU. Added more test cases.
X-SVN-Rev: 24123
2008-06-06 22:33:07 +00:00
Yoshito Umaoka
ef6684309b ICU-5976 Fixed some bugs in TimeZoneNameProviderICU and updated the test case.
X-SVN-Rev: 24115
2008-06-06 15:37:03 +00:00
Jason Spieth
bbb5eb7cf5 ICU-2826 ICU4J implementation changes
X-SVN-Rev: 24112
2008-06-05 20:14:36 +00:00
Yoshito Umaoka
e8fe1827f0 ICU-6321 Fix timezone display name problem for J
X-SVN-Rev: 24111
2008-06-05 20:03:58 +00:00
Yoshito Umaoka
885290e875 ICU-5976 Added some more test cases. Add more configuration options for ICU SPI implementation. Changed the way to populate available locales.
X-SVN-Rev: 24109
2008-06-05 04:41:09 +00:00
Yoshito Umaoka
e56b3c7948 ICU-5976 Added setDigit for JDK Locale th_TH_TH support in the DateFormat SPI.
X-SVN-Rev: 24108
2008-06-05 04:39:51 +00:00
Michael Ow
e337ab8678 ICU-6300 Set the max bytes per char for UTF16 to 4 to make it consistent with the specs.
X-SVN-Rev: 24105
2008-06-04 17:49:37 +00:00
Yoshito Umaoka
fc6eab0cd7 ICU-5976 Updated build files and project files. Added TestGetInstance for all service provider classes. Some bug fixes.
X-SVN-Rev: 24104
2008-06-04 03:58:31 +00:00
Michael Ow
534b14f417 ICU-6266 Remove utf8friendly code in ICU4J sense it is not needed and add additional test to improve code coverage.
X-SVN-Rev: 24100
2008-06-03 20:24:33 +00:00
Michael Ow
7606da8922 ICU-6266 Port over test from ICU4C for test* charsets to improve code coverage. Fix minor replayArray issue in CharsetEncoderICU and other issues.
X-SVN-Rev: 24095
2008-06-02 18:42:08 +00:00
Yoshito Umaoka
08f16fb9f7 ICU-2826 Fixed some Eclipse compiler warnings.
X-SVN-Rev: 24071
2008-05-29 18:50:34 +00:00
Yoshito Umaoka
2fe984e3ce ICU-6157 Consolidated skeleton pattern definitions. Cleaned up Javadoc comments for new APIs. Fix Java 1.3/Foundation 1.0 env issues and etc.
X-SVN-Rev: 24070
2008-05-29 18:37:14 +00:00
Yoshito Umaoka
8bcaa88f1e ICU-6157 Corrected svn properties for new files. Added conditional compilation comments to build ICU4J on Java 1.3/Foundation 1.0 environment without errors.
X-SVN-Rev: 24068
2008-05-29 14:10:11 +00:00
Xiaomei Ji
c1a5e8a58b ICU-6157 merge from branch
X-SVN-Rev: 24061
2008-05-28 22:46:34 +00:00
Xiaomei Ji
032cdeb4fb ICU-6157 merge from branch
X-SVN-Rev: 24060
2008-05-28 22:46:18 +00:00
Xiaomei Ji
3f4701f0c8 ICU-6157 merge from branch
X-SVN-Rev: 24059
2008-05-28 22:46:00 +00:00
Yoshito Umaoka
779c4bfa7c ICU-6289 Replacing TABs with SPs. Fix some Javadoc comments.
X-SVN-Rev: 24058
2008-05-28 22:45:52 +00:00
Xiaomei Ji
13e1ff80fe ICU-6157 merge from branch
X-SVN-Rev: 24057
2008-05-28 22:45:48 +00:00
Xiaomei Ji
ae6d1cd11b ICU-6157 merge from branch
X-SVN-Rev: 24056
2008-05-28 22:45:28 +00:00
Xiaomei Ji
5d4fddea88 ICU-6157 merge from branch
X-SVN-Rev: 24055
2008-05-28 22:45:16 +00:00
Xiaomei Ji
b572101967 ICU-6157 merge from branch
X-SVN-Rev: 24054
2008-05-28 22:45:05 +00:00
Xiaomei Ji
0d12495d32 ICU-6157 merge from branch
X-SVN-Rev: 24053
2008-05-28 22:44:54 +00:00
Xiaomei Ji
9517c0f366 ICU-6157 merge from branch
X-SVN-Rev: 24052
2008-05-28 22:44:39 +00:00
Jason Spieth
4b09c0d1f0 ICU-2826 Java API signature changes
X-SVN-Rev: 24048
2008-05-28 21:35:57 +00:00
David Bertoni
3cdb54b89d ICU-6124 Removed unused code.
X-SVN-Rev: 24047
2008-05-28 21:24:27 +00:00
Yoshito Umaoka
40bba654bc ICU-5450 Removed com.ibm.icu.impl.ICULocaleData which is no longer used. Updated the resource bundle performance tset cases to call Java ResourceBundle directly.
X-SVN-Rev: 24044
2008-05-28 20:58:52 +00:00
Yoshito Umaoka
b76fae675a ICU-6289 Updated readme.html for d02 release.
X-SVN-Rev: 24034
2008-05-28 19:46:06 +00:00
Yoshito Umaoka
10696e3cba ICU-6304 Added conditional compilation comments for supporting Java 13/Foundation 1.0 execution environment.
X-SVN-Rev: 24033
2008-05-28 19:32:09 +00:00
Yoshito Umaoka
17c21e2b02 ICU-6303 Added serialization test cases. Fixed some serialization bugs in TimeUnitFormat.
X-SVN-Rev: 24030
2008-05-28 16:43:51 +00:00
Yoshito Umaoka
05ca2e6ca8 ICU-6304 Fixed test failures. Added @provisional to new draft APIs.
X-SVN-Rev: 24025
2008-05-28 15:36:15 +00:00
Yoshito Umaoka
4e07949308 ICU-6124 Commented out an unused local variable and fixed API status comments.
X-SVN-Rev: 24024
2008-05-28 15:02:34 +00:00
Yoshito Umaoka
dbf59a6fe1 ICU-6266 Commented out an unused local variable.
X-SVN-Rev: 24023
2008-05-28 14:52:07 +00:00
Yoshito Umaoka
dcbcc2b320 ICU-6303 Resolved some Eclipse IDE warnings and updated comments.
X-SVN-Rev: 24022
2008-05-28 14:48:33 +00:00
Yoshito Umaoka
7b5b6822ac ICU-6303 Fixed a compilation error.
X-SVN-Rev: 24021
2008-05-28 14:38:47 +00:00
Markus Scherer
e47ee99cf1 ICU-6304 DateFormat convenience factories wrapping DateTimePatternGenerator, and skeleton constants
X-SVN-Rev: 24017
2008-05-28 11:37:22 +00:00
Mark Davis
f7e34e19be ICU-6303 initial checkin
X-SVN-Rev: 24016
2008-05-28 06:50:33 +00:00
Mark Davis
9d6234899d ICU-6303 initial checkin
X-SVN-Rev: 24015
2008-05-28 06:50:14 +00:00
Yoshito Umaoka
89523a2fb6 ICU-6289 Promoted timezone transition/rule based timezone/iCal timezone APIs to @stable to make them consistent with ICU4C.
X-SVN-Rev: 24008
2008-05-28 03:50:05 +00:00
Michael Ow
6eed22616f ICU-6298 Update clover setup for 2.x. Clover version > 2.x will not work.
X-SVN-Rev: 23996
2008-05-27 18:23:23 +00:00
Michael Ow
78f8242149 ICU-6266 Port over from ICU4C code for conversion file version 5.x support in ICU4J and fix minor getUnicodeSet issues for better code coverage of charset.
X-SVN-Rev: 23995
2008-05-27 17:50:41 +00:00
Yoshito Umaoka
0ee6d80a5b ICU-5970 2008c into ICU4J trunk
X-SVN-Rev: 23994
2008-05-27 17:13:48 +00:00
David Bertoni
689588d9be ICU-6124 Java implementation.
X-SVN-Rev: 23991
2008-05-27 16:28:52 +00:00
Yoshito Umaoka
df8f316f7d ICU-6302 Added some test cases.
X-SVN-Rev: 23988
2008-05-27 14:10:48 +00:00
Yoshito Umaoka
1be9076947 ICU-6302 Fixed default calendar prolem for Thai locale. Ported the change in getFunctionalEquivalent in ICUResourceBundle from C to support the option to append default keyword.
X-SVN-Rev: 23980
2008-05-23 19:15:33 +00:00
Yoshito Umaoka
98f14bc209 ICU-5966 Resolve some Elipse warnings.
X-SVN-Rev: 23978
2008-05-23 16:25:49 +00:00
Yoshito Umaoka
905f90890e ICU-6289 Remove public from CharsetHZ's class declaration. The class should be package private.
X-SVN-Rev: 23974
2008-05-22 18:03:25 +00:00
Peter Edberg
3d6e7a565d ICU-6291 Fix RangeConstraint.isFulfilled for 'not' & non-integers, from CLDR tests
X-SVN-Rev: 23969
2008-05-22 06:39:44 +00:00
Yoshito Umaoka
fcb36cddb5 ICU-6289 Fixed module jar build problem.
X-SVN-Rev: 23966
2008-05-22 03:41:41 +00:00
Peter Edberg
70f7c99eab ICU-6291 Update documentation, switch param name back to n
X-SVN-Rev: 23958
2008-05-21 21:32:40 +00:00
Peter Edberg
7e08c7ee16 ICU-6291 Extend PluralRules for decimal fractions - add within relation, change select(long) to use double
X-SVN-Rev: 23956
2008-05-21 21:04:30 +00:00
Yoshito Umaoka
96c50fae3b ICU-6289 Updated the license files. Also removed unused manifest stub files.
X-SVN-Rev: 23955
2008-05-21 20:24:44 +00:00
Jason Spieth
4c07d220fd ICU-5450 Better TestDataElements_testtypes.java
X-SVN-Rev: 23953
2008-05-21 19:48:13 +00:00
Yoshito Umaoka
cfdf237bb2 ICU-6289 Updating API status for 4.0 release.
X-SVN-Rev: 23952
2008-05-21 19:17:56 +00:00
Yoshito Umaoka
f272fab948 ICU-6289 Updating readme.html for d01
X-SVN-Rev: 23950
2008-05-21 16:31:29 +00:00
Jason Spieth
d351db9e12 ICU-2826 getInstance(locale, date) added to Currency.java
X-SVN-Rev: 23947
2008-05-20 22:17:26 +00:00
Jason Spieth
246309a371 ICU-5450 Removed ICUListResourceBundle from ICU4J
X-SVN-Rev: 23943
2008-05-20 17:00:36 +00:00
Matitiahu Allouche
e150c00519 ICU-6032 restore ##header to J2SE15 (was erroneously back-versioned in my previous commit)
X-SVN-Rev: 23942
2008-05-20 13:46:56 +00:00
Matitiahu Allouche
0656d9b196 ICU-6032 add test case for multiple paragraphs with default para level
X-SVN-Rev: 23941
2008-05-20 13:37:33 +00:00
Matitiahu Allouche
74b3a9326c ICU-6032 fix case for multiple paragraphs with default paragraph level
X-SVN-Rev: 23940
2008-05-20 13:28:38 +00:00
Yoshito Umaoka
41114fd46d ICU-5976 Checking in the Eclipse project files for the ICU4J locale service provider project.
X-SVN-Rev: 23938
2008-05-20 03:22:42 +00:00
Yoshito Umaoka
2cdf83d13a ICU-5976 Updated build.xml to include ICU license file and ICU standard style MANIFEST.MF in the locale SPI jar. Also check if the Java SDK version is 6.
X-SVN-Rev: 23937
2008-05-20 02:47:55 +00:00
Yoshito Umaoka
5f1380c98a ICU-5976 Implemented formatToCharacterIterator in Date/DecimalFormat wrapper classes. Also fixed a DecimalFormatICU construction problem.
X-SVN-Rev: 23936
2008-05-19 21:34:19 +00:00
Yoshito Umaoka
f9dc77a7a3 ICU-6098 Update ICU4J version to 4.0. Update ICU4J data version to 40. Also bump timebombed test cases.
X-SVN-Rev: 23935
2008-05-19 21:33:02 +00:00
Matitiahu Allouche
95b3318b26 ICU-3916 fix the bug (doc change only) for ICU4J.
X-SVN-Rev: 23929
2008-05-19 09:04:12 +00:00
Yoshito Umaoka
a416f79140 ICU-6256 Fix some GMT format problems revealed by the new locale data.
X-SVN-Rev: 23914
2008-05-16 19:21:47 +00:00
Andrew J Macheret
df27373dc7 ICU-4363 added a new performance test (for BreakIterator) and made a trivial change to converter performance test
X-SVN-Rev: 23913
2008-05-16 19:04:43 +00:00
John Emmons
4bcec0aa15 ICU-6256 CLDR 1.6 integration - 1st snapshot
X-SVN-Rev: 23912
2008-05-16 15:31:21 +00:00
Yoshito Umaoka
9afa5e881a ICU-5976 Initial implementation of the ICU locale service provider for Java 6.
X-SVN-Rev: 23909
2008-05-16 04:03:15 +00:00
Yoshito Umaoka
360b233d69 ICU-5976 Removed final keyword from DecimalFormatSymbols class declaration, so we can subclass DecimalFormatSymbols. JDK DecimalFormatSymbols is also not a final class.
X-SVN-Rev: 23908
2008-05-16 04:01:49 +00:00
Michael Ow
c50c15f722 ICU-6266 Improve the code coverage for mbcs, 88591, decodericu, encodericu, and providericu. Make getJavaCanonicalName public but label it for internal use only.
X-SVN-Rev: 23904
2008-05-15 15:46:14 +00:00
Yoshito Umaoka
aa6c7a15d4 ICU-6280 Fixed ICUResourceBundle.getAvailableLocales to include locales converted from ICU canonical locales with scripts.
X-SVN-Rev: 23895
2008-05-14 19:53:58 +00:00
David Bertoni
7720d061c3 ICU-6228 Java implementation complete.
X-SVN-Rev: 23894
2008-05-14 18:08:38 +00:00
Kedar Rajwade
f7b5f6d537 ICU-6143 Fix TestGetUnicodeSet function to include error messages
X-SVN-Rev: 23892
2008-05-14 16:52:06 +00:00
Kedar Rajwade
66d6c63504 ICU-6143 Fix extGetUnicodeSetString function to include composite characters in UnicodeSet
X-SVN-Rev: 23891
2008-05-14 16:48:08 +00:00
Kedar Rajwade
068f886081 ICU-6143 Modified the value of ROUNDTRIP_SET
X-SVN-Rev: 23890
2008-05-14 16:41:43 +00:00
Michael Ow
b4d07f8bcd ICU-6266 Rewrite loops to provide better code coverage in Charset88591.
X-SVN-Rev: 23885
2008-05-13 14:32:50 +00:00
Michael Ow
a66223e29f ICU-6266 Improve the code coverage for Charset ASCII and UTF-7.
X-SVN-Rev: 23884
2008-05-13 13:39:37 +00:00
Michael Ow
a20697ab70 ICU-6266 Improve ISO-2022 code coverage with error simulating data driven tests and over flow buffer tests.
X-SVN-Rev: 23883
2008-05-12 22:33:00 +00:00
Yoshito Umaoka
8561cde027 ICU-6273 Added set/getRoundingMode in NumberFormat to make it compatible with JDK.
X-SVN-Rev: 23882
2008-05-12 19:22:01 +00:00
Michael Ow
5cf82cdf66 ICU-6266 Remove duplicate methods and improve code coverage for Charset ISO2022.
X-SVN-Rev: 23881
2008-05-12 02:24:54 +00:00
Michael Ow
8302597ac7 ICU-6266 Improve code coverage for Charset HZ.
X-SVN-Rev: 23879
2008-05-09 21:47:13 +00:00
Michael Ow
1597eb0479 ICU-6266 Add to data driven test to improve code coverage.
X-SVN-Rev: 23877
2008-05-08 21:33:49 +00:00
Andy Heninger
672be8cef5 ICU-5936 update Java data jar generation instructions in the readme
X-SVN-Rev: 23870
2008-05-02 23:46:07 +00:00
Michael Ow
14f3c565cf ICU-6265 Check for Mac OS X instead of vendor of JVM to set the correct Java System Property.
X-SVN-Rev: 23862
2008-05-01 18:54:47 +00:00
Michael Ow
7ba0cc4b3e ICU-6265 Add build condition property for Mac so that test will run correctly.
X-SVN-Rev: 23861
2008-05-01 18:12:30 +00:00
Michael Ow
ae9a862ac3 ICU-6265 Update the alias table to include new aliases for Mac.
X-SVN-Rev: 23860
2008-05-01 16:48:58 +00:00
Eric Mader
f74dcc0253 ICU-6229 detect buffer overflow in ISO-2022; improve confidence calculation; add buffer overflow tests.
X-SVN-Rev: 23853
2008-04-30 18:23:32 +00:00
Andy Heninger
835532c572 ICU-6264 multi-threading failure of UCharacter.getName()
X-SVN-Rev: 23850
2008-04-29 18:02:27 +00:00
Steven R. Loomis
5f3f1610b5 ICU-3084 update test data with testcase for #3084 and #4447 from ICU4C milestone:3.9.3 trunk r23835
X-SVN-Rev: 23836
2008-04-25 07:48:14 +00:00
Michael Ow
eb0d795802 ICU-6140 Port over ICU4C changes of detecting Hiragana and Katakana common code points to ICU4J. Add test case to test suite.
X-SVN-Rev: 23816
2008-04-21 20:52:51 +00:00
Yoshito Umaoka
2f93b164db ICU-6216 Fix a test data problem. Also made a minor change to keep the J code synchronized with C.
X-SVN-Rev: 23781
2008-04-10 03:44:17 +00:00
Yoshito Umaoka
b4178cea4e ICU-6098 Update ICU4J version to 3.9.3
X-SVN-Rev: 23777
2008-04-09 20:21:57 +00:00
Yoshito Umaoka
4b2b264cbf ICU-5840 Misc. clean ups. Changed minimum year in IslamicCalendar to 1, because the current implementation has a problem with negative years.
X-SVN-Rev: 23774
2008-04-09 04:27:53 +00:00
Yoshito Umaoka
1cf3e685ad ICU-5696 Modified a couple of source files to keep Java backward compatibility.
X-SVN-Rev: 23772
2008-04-08 15:30:03 +00:00
Yoshito Umaoka
f96abbae7b ICU-6216 Fixed a VTIMEZONE parsing problem. When only one RRULE is applicable in future, VTIMEZONE parser must normalize the rule when constructing a RuleBasedTimeZone. Some complex test cases for verifying the problem were added.
X-SVN-Rev: 23769
2008-04-07 20:12:32 +00:00
Yoshito Umaoka
20effe0438 ICU-5696 Removed redundant code in the recent change.
X-SVN-Rev: 23766
2008-04-07 14:47:07 +00:00
Andy Heninger
882592e0d4 ICU-5696 refresh ICU4J Data Jars from ICU4C Trunk w/ 5.1 updates.
X-SVN-Rev: 23765
2008-04-05 00:51:11 +00:00
Andy Heninger
39ff2eff25 ICU-5696 Unicode 5.1 Update
X-SVN-Rev: 23763
2008-04-04 23:55:41 +00:00
Yoshito Umaoka
e177926dd6 ICU-5966 Fixed further Java compiler warning problems. Changed the ICU4J Eclipse project file to ignore deprecated API references.
X-SVN-Rev: 23757
2008-04-04 20:08:00 +00:00
Michael Ow
ed1c32ed62 ICU-6143 Fix spacing issues to improve readability.
X-SVN-Rev: 23751
2008-04-04 17:58:48 +00:00
Michael Ow
727a414363 ICU-6143 Clean up API comment for getUnicodeSet().
X-SVN-Rev: 23750
2008-04-04 17:42:35 +00:00
Michael Ow
6362c5bde2 ICU-6144 Fix API comments for callbacks.
X-SVN-Rev: 23748
2008-04-04 16:51:23 +00:00
Yoshito Umaoka
0c93b2807d ICU-5966 Fixed many warnings reported by Eclipse JDT.
X-SVN-Rev: 23745
2008-04-04 04:03:58 +00:00
Yoshito Umaoka
5d7da658df ICU-5966 Fix some compiler warnings for eclipse plug-in build.
X-SVN-Rev: 23742
2008-04-03 19:34:21 +00:00
Yoshito Umaoka
0310cad594 ICU-6121 Merging changes for Eclipse 3.4 to trunk
X-SVN-Rev: 23740
2008-04-03 16:50:30 +00:00
Michael Ow
f449a2bc14 ICU-5580 Get javaCanonicalName based on current JVM and reenable test.
X-SVN-Rev: 23724
2008-04-01 23:54:53 +00:00
Kedar Rajwade
dc4b395371 ICU-6143 getUnicodeSet API merged from icu4j/branches/krajwade/GetUnicodeSet-Test [23632:23722]
X-SVN-Rev: 23723
2008-04-01 19:49:22 +00:00
Michael Ow
b878ede950 ICU-5580 Comment out new test causing failure.
X-SVN-Rev: 23720
2008-04-01 15:54:27 +00:00
Michael Ow
abd7539f7f ICU-5580 Update alias table to resolve problem with java canonical names and add test to ICU4J.
X-SVN-Rev: 23716
2008-03-31 22:13:59 +00:00
Andrew J Macheret
a8fa35fe9c ICU-5925 added the option of running a build without mangling by using an environmental variable
X-SVN-Rev: 23708
2008-03-28 21:34:16 +00:00
Michael Ow
277f051c40 ICU-6230 Change the ordering when getting the icuCanonicalName.
X-SVN-Rev: 23689
2008-03-27 17:40:47 +00:00
Yoshito Umaoka
eb79637f63 ICU-5970 2008b into ICU4J trunk
X-SVN-Rev: 23679
2008-03-25 21:08:58 +00:00
Yoshito Umaoka
5cca441f62 ICU-5561 Updated canonical ID mapping table creation to support the case - new canonical ID in Olson tzdata, which replaces previous canonical ID, but CLDR does not have the alias info. This problem was found while working on tzdata2008b integration. Asia/Ho_Chi_Minh and Asia/Kolkata were added and Aisa/Saigon and Asia/Calcutta were moved to backward file as links.
X-SVN-Rev: 23677
2008-03-25 20:48:12 +00:00
Yoshito Umaoka
0aba053c84 ICU-6178 Deprecate getDateFormatBundle which no longer works properly. Also deprecate initializeData(ULocale,CalendarData) which was accidentally marked as @stable before.
X-SVN-Rev: 23669
2008-03-25 04:05:13 +00:00
Yoshito Umaoka
417fa600ff ICU-4571 Fix a JavaDoc problem in CECalendar.
X-SVN-Rev: 23668
2008-03-25 04:00:30 +00:00
Yoshito Umaoka
72a8672671 ICU-4571 Synchronized the change done in ICU4C. Calendar keyword ethiopic-amete-alem to specify EthiopicCalendar in Amete Alem era mode. Also duplicated the test case for Amete Alem mode with Era/Year modified.
X-SVN-Rev: 23667
2008-03-25 02:14:51 +00:00
Michael Ow
308a2aa0b5 ICU-4486 Update ISCII converter to treat Letter RRA as specified by ISCII.
X-SVN-Rev: 23660
2008-03-24 17:11:10 +00:00
Yoshito Umaoka
529a31fb6b ICU-4571 Fixed some problems in Coptic/Ethiopic implementation found while working on ICU4C port. Synchronized J implementation with C, including some internal design changes. Clean up the source files and removed unused code.
X-SVN-Rev: 23658
2008-03-22 03:11:03 +00:00
Yoshito Umaoka
c86b19e6bf ICU-5970 Synchronize ICU4J data with ICU4C, including tzdata 2008a
X-SVN-Rev: 23607
2008-03-17 19:53:05 +00:00
Michael Ow
3287b56dd6 ICU-6198 Port to ICU4J from ICU4C security fix for HZ and ISO2022 converter.
X-SVN-Rev: 23606
2008-03-17 19:38:07 +00:00
Michael Ow
16b6039c79 ICU-6144 Fix java doc warning.
X-SVN-Rev: 23603
2008-03-17 05:56:26 +00:00
Yoshito Umaoka
ff9f62af6e ICU-6098 Updated ICU4J version to 3.9.2. Also updated some timebombs.
X-SVN-Rev: 23602
2008-03-17 05:53:53 +00:00
Yoshito Umaoka
bf3fb8edc4 ICU-5840 Enabled calendar limit test for all calendars. Fixed some bugs in IndianCalendar, CopticCalendar and EthiopicCalendar. Calculating actual min/max value of WEEK_OF_MONTH, not using hardcoded values.
X-SVN-Rev: 23601
2008-03-17 05:20:04 +00:00
Eric Mader
904936dcc9 ICU-6197 add more language codes.
X-SVN-Rev: 23590
2008-03-14 04:48:38 +00:00
Eric Mader
71c9e0f7fb ICU-6195 don't generate ligatures for characters with the FullCompositionExclusion property set to TRUE.
X-SVN-Rev: 23584
2008-03-13 18:20:13 +00:00
Yoshito Umaoka
1e0eb434bc ICU-5975 Merging Java TimeZone integration work from Yoshito's work branch to the trunk.
X-SVN-Rev: 23554
2008-03-11 07:18:16 +00:00
Yoshito Umaoka
dfb24acbcb ICU-5982 Using weak referenced cache in ICUResourceBundle implementation to avoid multiple resource instances being created for the same resource in short period of time.
X-SVN-Rev: 23533
2008-03-06 22:18:56 +00:00
Michael Ow
c620dc4e1e ICU-6137 Fixing flushing of CharsetISO2022. Check for errorbuffer when encoding.
X-SVN-Rev: 23532
2008-03-06 05:07:12 +00:00
Michael Ow
74c56879f0 ICU-6137 Enable ISO2022, fix certain errors in MBCS related to ISO2022, fix the flushing usage in the TestConversion class.
X-SVN-Rev: 23530
2008-03-05 18:48:50 +00:00
Michael Ow
46c48c1de5 ICU-6144 Fix Callback escape method. Add setCallback method to allow for specifying error code and context.
X-SVN-Rev: 23529
2008-03-05 17:48:28 +00:00
Michael Ow
a964f2103f ICU-6137 Fix missing variable declaration.
X-SVN-Rev: 23516
2008-03-03 18:03:35 +00:00
Michael Ow
2d22e081d3 ICU-6137 Ensure usigned byte values are non-negative when used as array index. Add missing cases in switch statement.
X-SVN-Rev: 23515
2008-03-03 17:25:03 +00:00
Michael Ow
2ba72606de ICU-6137 Add method to reset the state correctly.
X-SVN-Rev: 23510
2008-02-28 18:03:36 +00:00
Michael Ow
cb0eebddd9 ICU-6144 Fix the callback method to use the correct source and target.
X-SVN-Rev: 23509
2008-02-28 18:01:28 +00:00
Yoshito Umaoka
90d8087475 ICU-5982 Remove the RB caching code which is currently disabled. With the RB caching code enabled, some test cases will fail. Also, there are some other issues - the code won't compile on Java 1.3/1.4, the HashMap is not synchronized, so it's not thread safe. So I once remove the code once and work on the caching code in a branch.
X-SVN-Rev: 23505
2008-02-28 05:55:02 +00:00
Michael Ow
ecc85973fe ICU-6137 Add CharsetISO2022 to ICU4J and fix methods in MBCS that ISO2022 depends on. Still need to fix minor bugs with encoding errors.
X-SVN-Rev: 23491
2008-02-27 17:50:39 +00:00
Michael Ow
b6df9c649e ICU-6144 Add new methods to specify callback on malform and unmapple errors.
X-SVN-Rev: 23490
2008-02-27 17:48:58 +00:00
Michael Ow
262b4e1c8d ICU-6144 Use the escape callback when specified in conversion.txt.
X-SVN-Rev: 23489
2008-02-27 17:47:30 +00:00
Michael Ow
acb8a7f7c0 ICU-6144 Change to public API and add escape callback.
X-SVN-Rev: 23488
2008-02-27 17:46:00 +00:00
George Rhoten
c905bdfa76 ICU-6128 Fields needed by subclasses should be package private, not protected.
X-SVN-Rev: 23480
2008-02-23 19:59:38 +00:00
Andrew J Macheret
649179dc38 ICU-5982 reverting a change that wasn't supposed to get commited
X-SVN-Rev: 23475
2008-02-23 00:36:26 +00:00
Andrew J Macheret
f199458851 ICU-5982 renaming the file from *boundle* to *bundle*
X-SVN-Rev: 23474
2008-02-23 00:35:00 +00:00
Andrew J Macheret
7a6d989a68 ICU-5982 performance-related changes to uresourcebundle and friends
X-SVN-Rev: 23473
2008-02-23 00:34:20 +00:00
Michael Ow
6c31185d0d ICU-6137 Add _MBCSToUnicodeWithOffsets and _MBCSFromUnicodeWithOffsets because ISO2022 depend on these methods.
X-SVN-Rev: 23471
2008-02-21 17:13:33 +00:00
Michael Ow
4b28543181 ICU-6190 Add ending 0 value in validityTable[].
X-SVN-Rev: 23468
2008-02-20 17:57:05 +00:00
Yoshito Umaoka
7511552a11 ICU-5385 Move UnicodeSet initialization in ThaiBreakIterator into static initializer block.
X-SVN-Rev: 23419
2008-02-13 16:56:21 +00:00
Michael Ow
029ac2db29 ICU-6137 Fix bug with getting icu canonical name when using x-****.
X-SVN-Rev: 23412
2008-02-12 00:25:48 +00:00
Michael Ow
4daa54728a ICU-6137 Move new static methods to CharsetISO2022 and make certain static methods and variables package viewable.
X-SVN-Rev: 23411
2008-02-11 23:24:36 +00:00
Michael Ow
90412e106d ICU-6137 Add static method in CharsetMBCS used in ISO2022.
X-SVN-Rev: 23404
2008-02-09 00:10:25 +00:00
Andrew J Macheret
94d8d2e54c ICU-5561 Fixed compatability issue with all javas below 1.5.0 (parseBoolean was added it java 1.5.0)
X-SVN-Rev: 23358
2008-02-06 23:03:48 +00:00
Yoshito Umaoka
88193c9aaf ICU-5561 Added getCanonicalID(String, boolean[]) to return if the parsed ID is a system timezone ID or not.
X-SVN-Rev: 23352
2008-02-05 16:28:46 +00:00
Michael Ow
b417359db4 ICU-6151 Shorten and fix test for overflow buffer detection.
X-SVN-Rev: 23343
2008-02-01 17:54:38 +00:00
Michael Ow
0cd1f0abc8 ICU-5385 Remove debugging statements.
X-SVN-Rev: 23338
2008-01-31 20:23:06 +00:00
Michael Ow
8da573a757 ICU-6151 Add test case for overflow buffer in Charset UTF7.
X-SVN-Rev: 23337
2008-01-31 18:23:57 +00:00
Michael Ow
a6bbaa8d8e ICU-5385 Allow proper thai locale when creating thai break iterator and use word size to check for valid range.
X-SVN-Rev: 23335
2008-01-31 07:09:48 +00:00
Michael Ow
c6c91a3379 ICU-5385 Add proper access control to inner class and fields. Fix tabbing issues.
X-SVN-Rev: 23333
2008-01-30 05:19:52 +00:00
Michael Ow
0df2188898 ICU-5385 Remove obsolete th.brk dictionary file.
X-SVN-Rev: 23332
2008-01-30 03:02:52 +00:00
Michael Ow
92620318f6 ICU-5684 Fix SimpleDateFormat test failure.
X-SVN-Rev: 23314
2008-01-25 04:01:20 +00:00
Michael Ow
2701452769 ICU-5684 Update SimpleDateFormat api doc and add test case for 'Y' and 'e'.
X-SVN-Rev: 23306
2008-01-24 21:58:44 +00:00
Yoshito Umaoka
2eb231b197 ICU-6100 Resolved the calendar type selection problem in DateFormatSymbols constructors. Added a test case for verifying the fix. Also modified SimpleDateFormat to prevent IndexOutOfBoundsException. The problem was found by the new test case. The problem was reproduced when calendar type and symbols are different.
X-SVN-Rev: 23302
2008-01-24 05:16:37 +00:00
Yoshito Umaoka
e275af454a ICU-5561 Cleaned up the test case of getCanonicalID. Removed obsolete code in ZoneMeta.
X-SVN-Rev: 23298
2008-01-23 23:42:35 +00:00
Andrew J Macheret
1e2507b06c ICU-5491 fixed a problem with jdk1.3.1 (i hope)
X-SVN-Rev: 23290
2008-01-22 21:11:40 +00:00
Michael Ow
32d24c4fca ICU-6151 Add out of bound check for target CharBuffer in decodeLoop.
X-SVN-Rev: 23283
2008-01-21 22:53:55 +00:00
Yoshito Umaoka
06b6c7f668 ICU-5561 Added a new API TimeZone#getCanonicalID and its test case in ICU4J. Also cleaned up some code in ZoneMeta related to the new API implementation.
X-SVN-Rev: 23279
2008-01-21 20:07:15 +00:00
Yoshito Umaoka
cd54ac79e7 ICU-6148 Promoted getString() to @draft. Fixed and updated the code samples in JavaDoc, with getString().
X-SVN-Rev: 23250
2008-01-16 21:58:41 +00:00
Andrew J Macheret
d6d5a2e31d ICU-6117 Moved UTF32BE, UTF32LE, UTF16BE, UTF16LE, and CESU8 into their own individual .java files
X-SVN-Rev: 23247
2008-01-16 19:00:06 +00:00
Yoshito Umaoka
2363fc3235 ICU-5160 Added a test case for verifying the threading problem resolved by this ticket.
X-SVN-Rev: 23238
2008-01-15 18:36:50 +00:00
Yoshito Umaoka
6bbf2b68e5 ICU-5160 Changed from synchronized(buffer) to synchronized(this). When buffer is re-allocated, synchronized(buffer) may not work properly.
X-SVN-Rev: 23237
2008-01-15 18:35:48 +00:00
Andrew J Macheret
5d4a3a7589 ICU-6117 Whoops, created some problems, so I made them ok. Also changed some underflow-overflow checks around for the sake of performance, and reverted a test that I shouldn't have changed some time ago.
X-SVN-Rev: 23232
2008-01-14 21:50:17 +00:00
Andrew J Macheret
35ec4512fc ICU-6117 Synched up my changes in CharsetUTF16 and 32, put the BE and LE stub classes into the parent class files in the same way CharsetUTF8 and CharsetCESU8 are done, added old fromUnicodeStatus behavior in the encoders, and put back @author tags
X-SVN-Rev: 23231
2008-01-14 20:36:10 +00:00
Andrew J Macheret
c5e68bd1f8 ICU-5491 put back functionality for negative multipliers, fixed up some code to handle them correctly, and added tests.
X-SVN-Rev: 23229
2008-01-14 20:25:22 +00:00
Yoshito Umaoka
70939d3152 ICU-4943 Added some constructors in ChineseCalendar to make it consistent with other Calendar implementation class.
X-SVN-Rev: 23219
2008-01-14 15:27:46 +00:00
Yoshito Umaoka
849c401c9b ICU-5698 Set maximum limit for digits used for creating BigInteger/BigDecimal in DecimalFormat to prevent the parse method to trigger OutOfMemoryException. Also added test case for some extreme cases.
X-SVN-Rev: 23216
2008-01-12 07:45:14 +00:00
Andrew J Macheret
8efc03e857 ICU-6128 got rid of some java 5+ syntax (foreach)
X-SVN-Rev: 23203
2008-01-10 23:02:56 +00:00
Andrew J Macheret
1688a41eb1 ICU-6128 cleaned up some hz stuff -- more was ported than i realized
X-SVN-Rev: 23202
2008-01-10 20:20:05 +00:00
Andrew J Macheret
ef23eaf578 ICU-6128 ported HZ and a test for it from icu4c. had to port some stuff from converter extensions as well. also accidently code-formatted all of CharsetMBCS *runs and screams*
X-SVN-Rev: 23201
2008-01-10 02:37:02 +00:00
Yoshito Umaoka
b0900e7924 ICU-6089 Support FieldPosition created with DateFormat.Field in SimpleDateFormat.format properly. Also added test cases for verifying the behavior.
X-SVN-Rev: 23184
2008-01-08 22:50:46 +00:00
George Rhoten
88117f9c2f ICU-6126 Handle STROKE and PINYIN variants more consistently.
X-SVN-Rev: 23180
2008-01-08 00:42:19 +00:00
Steven R. Loomis
36eaa60b6c ICU-6018 fix RelativeDate for Java, update DataDrivenFormatTest and test data
X-SVN-Rev: 23176
2008-01-05 01:05:53 +00:00
Andrew J Macheret
ef074de118 ICU-6117 I oopsed and flipped the behavior of the encoder for writing of BOMs when making my changes, so I flipped that back (so that UTF-32 now outputs a BOM and BE and LE do not). Also changed the names of some of the booleans (flipping them to reflect the name change where necessary) and took out calls to implReset in the constructors.
X-SVN-Rev: 23168
2008-01-04 02:36:22 +00:00