Commit Graph

4331 Commits

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