Commit Graph

4357 Commits

Author SHA1 Message Date
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
Andrew J Macheret
5cd61ec504 ICU-6117 Reverted one test for UTF-32 that I was wrong to change, and commented others I have changed. Also fixed a warning in the new TestSurrogateBehavior test.
X-SVN-Rev: 23167
2008-01-04 02:26:00 +00:00
Michael Ow
f404915fab ICU-5385 Use thaidict.ctd when creating thai break iterator and update corresponding test.
X-SVN-Rev: 23161
2008-01-03 18:48:06 +00:00
Yoshito Umaoka
e221b8c263 ICU-5970 Merging tzdata 2007k into ICU4J trunk, with one necessary test data update. Also fixed a test code bug in DateFormatTest revealed by the Argentina test data update included in 2007k.
X-SVN-Rev: 23152
2008-01-02 20:45:51 +00:00
Yoshito Umaoka
43b8cebba1 ICU-6115 Generate expected year duration for a test case
X-SVN-Rev: 23149
2008-01-02 20:26:42 +00:00
Mark Davis
cd13afefe9 ICU-6114 fixed return type
X-SVN-Rev: 23148
2008-01-02 19:58:55 +00:00
Michael Ow
074cefbf81 ICU-5385 Enable the usage of the new compact trie dictionary.
X-SVN-Rev: 23147
2008-01-02 19:12:41 +00:00
Michael Ow
b58d931e17 ICU-5385 Port over the compact trie dictionary and thai break iterator code from ICU4C.
X-SVN-Rev: 23146
2008-01-02 19:04:12 +00:00
Mark Davis
18c7c33675 ICU-6114 fixed return type
X-SVN-Rev: 23145
2008-01-02 18:51:38 +00:00
Mark Davis
5efc603633 ICU-6106 Fixed ordering of date/time elements, added tests
X-SVN-Rev: 23126
2007-12-21 21:24:42 +00:00
Mark Davis
32aa9a41a4 ICU-5909 Changed file to UTF-8 in eclipse
X-SVN-Rev: 23125
2007-12-21 21:23:07 +00:00
Andrew J Macheret
8d8fd49e0a ICU-6087 changed target izutzucheck to move instead of copy-delete
X-SVN-Rev: 23124
2007-12-21 01:29:52 +00:00
Andrew J Macheret
c4e2d25065 ICU-6107 a lot of encoding fixes for surrogate handling, decoding fixes to use toULength and toUBytesArray correctly, a big refactoring job on UTF-16 and UTF-32, and a little refactoring and minor stuff spread around here and there
X-SVN-Rev: 23123
2007-12-21 01:28:06 +00:00
Mark Davis
cd418afef7 ICU-6106 first pass at fixing problems
X-SVN-Rev: 23121
2007-12-20 22:07:31 +00:00
Mark Davis
c0332cefbe ICU-5909 fine-tuned to fix a couple of tests
X-SVN-Rev: 23120
2007-12-20 21:57:32 +00:00
Andrew J Macheret
1110ccfbde ICU-6105 whoops, i changed too much, this change (in decodeLoop) will be added in a different ticket
X-SVN-Rev: 23118
2007-12-20 20:04:52 +00:00
Andrew J Macheret
f6495c30e3 ICU-6105 modified implOnMalformedInput and implOnUnmappableCharacter to fix a double substitution issue once and for all, and also a little harmless refactoring.
X-SVN-Rev: 23117
2007-12-20 19:58:19 +00:00
Mark Davis
7347bcee9c ICU-5909 lenient number formatting, with tests
X-SVN-Rev: 23110
2007-12-18 23:04:19 +00:00
Yoshito Umaoka
bf5cdffd03 ICU-6086 Adjust JVM heap size for test execution. Re-enabled -Xdisableexcessivegc for IBM Java on AIX.
X-SVN-Rev: 23108
2007-12-18 08:16:34 +00:00
Yoshito Umaoka
33645d3af2 ICU-6086 Adjust JVM heap size for test execution.
X-SVN-Rev: 23097
2007-12-17 18:47:16 +00:00
Yoshito Umaoka
a1eb6975ae ICU-6086 Updated ICU data using ICU4C trunk r23084. Also updated ICU data version string from 38 to 39.
X-SVN-Rev: 23085
2007-12-14 06:16:07 +00:00
Yoshito Umaoka
5d0a438ef5 ICU-6086 Updated ICU plug-ins' MANIFEST.MF to support version number 3.9.1.
X-SVN-Rev: 23069
2007-12-11 23:15:57 +00:00
Yoshito Umaoka
1e9d30b842 ICU-6086 Updated ICU version number to 3.9.1 except data version. Updated existing timebombs which still do not work properly.
X-SVN-Rev: 23066
2007-12-11 22:33:01 +00:00
Andrew J Macheret
11008266dc ICU-6087 Fixed tonsastuff (logging, icu4j 3.8 issue, etc).
X-SVN-Rev: 23065
2007-12-11 22:10:16 +00:00
Yoshito Umaoka
3836869c19 ICU-6042 Merging changes in maint-3-8 back to trunk. The fix isolates ICU data version number from API report version number.
X-SVN-Rev: 23064
2007-12-11 22:06:28 +00:00
Yoshito Umaoka
0d216c877d ICU-6042 Merging a bug fix in build.xml from maint-3-8. Adding 3.8.1 API report file.
X-SVN-Rev: 23062
2007-12-11 21:24:55 +00:00
Yoshito Umaoka
0a1c092214 ICU-5990 Fixed some JavaDoc errors
X-SVN-Rev: 23045
2007-12-07 21:48:00 +00:00
Michael Ow
9158081b0e ICU-5385 Update the thai dictionary in ICU4J. Add break iterator test for updated thai dictionary.
X-SVN-Rev: 23037
2007-12-06 22:59:45 +00:00
Yoshito Umaoka
cab4e713a2 ICU-6047 Merging the latest ICU data into ICU4J including test data.
X-SVN-Rev: 23026
2007-12-05 22:48:39 +00:00
John Emmons
69645b44fd ICU-6047 Integrate data change from CLDR 1566
X-SVN-Rev: 23016
2007-12-05 04:41:02 +00:00
Yoshito Umaoka
efa4c79d45 ICU-5990 Re-enabled DateFormatRoundTripTest with a minor change required for supporting time zone formatting/parsing before 1970.
X-SVN-Rev: 22997
2007-11-30 21:49:57 +00:00
John Emmons
8fafa9c595 ICU-6047 Integrate CLDR 1.5.1 data
X-SVN-Rev: 22991
2007-11-30 14:46:53 +00:00
Claire Ho
b8b21883e8 ICU-6026 FCD broken in VI/RO sort.
X-SVN-Rev: 22989
2007-11-30 06:05:44 +00:00
Andrew J Macheret
d1599f4771 ICU-6039 Fixed! Along with removing a redundant operation from CharsetUTF8 and adding a porting a new test from icu4c to icu4j.
X-SVN-Rev: 22973
2007-11-27 23:29:02 +00:00
Yoshito Umaoka
8cd61ae501 ICU-5990 metazoneInfo.res support. Fixed a bug for detecting daylight saving time amount. Updated icudata.jar to include metazoneInfo.res.
X-SVN-Rev: 22968
2007-11-27 07:48:45 +00:00
Yoshito Umaoka
12aea479ca ICU-5990 Fix a test case bug. Also some minor trivial improvements.
X-SVN-Rev: 22963
2007-11-27 00:32:33 +00:00
Yoshito Umaoka
c07f6c1836 ICU-5990 Merging all of time zone formatting/parsing related changes from my work branch. This submission actually includes various bug fixes including - #5812, #5883, #5893, #5895, #5920, #5934(updated), #5945, #5963, #5967(updated)
X-SVN-Rev: 22946
2007-11-16 20:40:45 +00:00
George Rhoten
3b2078c22c ICU-6010 ISO-3166 update. Remove private use code.
X-SVN-Rev: 22913
2007-11-12 20:43:36 +00:00
George Rhoten
6d8293d7af ICU-6010 ISO-3166 update
X-SVN-Rev: 22883
2007-11-04 00:02:07 +00:00
Michael Ow
10e4ce4882 ICU-4279 Add test case to search for NFD and NFC.
X-SVN-Rev: 22872
2007-10-30 16:52:58 +00:00
Michael Ow
478963ad35 ICU-5950 Add internal character breakiterator for boundary checking and if no breakiterator is given during the object creation, null is used for breakiterator. Also, a test case is added.
X-SVN-Rev: 22871
2007-10-30 16:20:41 +00:00
Eric Mader
e644485303 ICU-5902 Temporary fix for changing DST rules: use a fixed date.
X-SVN-Rev: 22870
2007-10-30 00:21:02 +00:00
Eric Mader
0f173acc89 ICU-5810 use canned DecimalFormatSymbols, generate DecimalFormat and NumberFormat objects using them.
X-SVN-Rev: 22862
2007-10-26 23:41:31 +00:00
George Rhoten
2acc63bddc ICU-5952 Deprecated YU maps to RS in CLDR. ICU4C doesn't do deprecated code remapping. The next update of CLDR includes the history of deprecated region codes.
X-SVN-Rev: 22860
2007-10-26 16:18:40 +00:00
Eric Mader
29af359e59 ICU-5902 Set actualLocale and validLocale. Otherwise serialized objects loose locale.
X-SVN-Rev: 22844
2007-10-23 19:53:10 +00:00
Eric Mader
f021aaedc6 ICU-5902 remove unused import.
X-SVN-Rev: 22843
2007-10-23 19:48:57 +00:00
Michael Ow
f944803a97 ICU-5024 Change test to use SearchTest structure.
X-SVN-Rev: 22842
2007-10-23 19:46:24 +00:00
Eric Mader
aaea9c011b ICU-5902 Add canned patterns to DateFormat test objects, add canned month names, short month names to all DateFormat and DateFormatSymbols sublcass test objects.
X-SVN-Rev: 22841
2007-10-23 19:46:00 +00:00
Michael Ow
55aa34b9ef ICU-5024 Add fix for diactric match error and test case.
X-SVN-Rev: 22837
2007-10-23 18:27:28 +00:00
Michael Ow
efb2f61134 ICU-3536 Fixed the comparison of signed integers to unsigned integers in getCE().
X-SVN-Rev: 22832
2007-10-22 22:27:22 +00:00
Michael Ow
1fa77199ea ICU-4038 Added the fix on ICU4C to ICU4J StringSearch.
X-SVN-Rev: 22825
2007-10-19 21:16:06 +00:00
John Emmons
59dec4074d ICU-5970 Updated data jar for Olson 2007h metazone changes
X-SVN-Rev: 22768
2007-10-10 18:20:17 +00:00
John Emmons
90450a450a ICU-5965 Metazone transition times now use GMT, not wall time
X-SVN-Rev: 22763
2007-10-09 19:51:44 +00:00
Yoshito Umaoka
c59374b3ac ICU-5986 Replace deprecated Date constructor which takes local time field values with another which takes long time in the test data. With the previous version, actual Date value may not be in PST, because it may be loaded before the test framework code update the default JVM time zone.
X-SVN-Rev: 22761
2007-10-09 18:18:40 +00:00
Yoshito Umaoka
617d19f9e9 ICU-5945 Support second part in TimeZone GMT format. Re-enabled localized GMT format support. Added GMTFormat class which does long TimeZone GMT formatting and parsing and use it from SimpleDateFormat. Updated TimeZone#getTimeZone to take custom ID with offset including seconds.
X-SVN-Rev: 22760
2007-10-09 15:46:54 +00:00
George Rhoten
7debad8612 ICU-5941 Fix out of date URLs
X-SVN-Rev: 22755
2007-10-09 08:43:20 +00:00
Matitiahu Allouche
bfd98afd13 ICU-5961 add test case for compatibility with java.text.Bidi
X-SVN-Rev: 22736
2007-10-02 09:04:04 +00:00
Matitiahu Allouche
ae8b728221 ICU-5961 fix incompatibility with java.text.Bidi
X-SVN-Rev: 22735
2007-10-02 08:55:30 +00:00
Yoshito Umaoka
0033fed8e3 ICU-5970 Merging tzdata 2007h to ICU4J trunk. Also merging CLDR metazone data updates.
X-SVN-Rev: 22730
2007-10-02 03:34:59 +00:00
Yoshito Umaoka
40ef34a7d8 ICU-5971 Fix a test failure in TestFebruary. The test for Olson time zone America/Sao_Paulo is no longer valid with tzdata 2007h
X-SVN-Rev: 22729
2007-10-02 03:32:59 +00:00
Yoshito Umaoka
e1c120cd67 ICU-5965 Set time bomb to TestDateFormatRoundTrip. The test case is currently broken because of TimeZone formatting changes and needs some changes when TimeZone formatting issues are resolved.
X-SVN-Rev: 22728
2007-10-02 03:30:42 +00:00
Yoshito Umaoka
651bcdb057 ICU-5967 Add time-text round trip test case for all time zone format patterns. The test case checks time around transitions for all available time zones.
X-SVN-Rev: 22719
2007-09-28 14:37:50 +00:00
George Rhoten
63c858f9cb ICU-5966 Fix some Eclipse warnings.
X-SVN-Rev: 22717
2007-09-28 02:31:14 +00:00
Michael Ow
a9c9d8cde6 ICU-5949 Default to UTF32BE when no BOM is given.
X-SVN-Rev: 22710
2007-09-21 18:51:18 +00:00
Steven R. Loomis
257382d11f ICU-5952 currency for sr_YU fails
X-SVN-Rev: 22705
2007-09-20 16:14:14 +00:00
Yoshito Umaoka
103b841f7d ICU-5937 Correct API status versions, which were incorrectly updated in 3.8 release.
X-SVN-Rev: 22691
2007-09-17 17:16:23 +00:00
Yoshito Umaoka
20eb5d1d93 ICU-5895 Update the previous change. Just save the TimeZone currently used and skip cloning Calendar instance.
X-SVN-Rev: 22688
2007-09-14 21:27:16 +00:00
Steven R. Loomis
8697a2c840 ICU-5935 don't build duration data twice
X-SVN-Rev: 22687
2007-09-14 21:22:19 +00:00