Commit Graph

4309 Commits

Author SHA1 Message Date
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
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