Commit Graph

4715 Commits

Author SHA1 Message Date
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
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
Yoshito Umaoka
8cab864a11 ICU-5895 Do not modify TimeZone instance originally used by Calendar instance in Dateformat when parse(String, ParsePosition) is called.
X-SVN-Rev: 22686
2007-09-14 19:54:33 +00:00
Steven R. Loomis
b39cfd087a ICU-5933 icu4j demo launcher
X-SVN-Rev: 22685
2007-09-14 07:06:30 +00:00
Steven R. Loomis
b9384ca1ea ICU-5933 icu4j demos
X-SVN-Rev: 22684
2007-09-14 06:22:51 +00:00
Yoshito Umaoka
546faac4ab ICU-5801 Added a warning for ICU4J charset converter problems in readme.html for 3.8 release.
X-SVN-Rev: 22681
2007-09-14 04:04:27 +00:00
Yoshito Umaoka
1fb3fb2d12 ICU-5801 Update readme.html to put link to the user guide about the time zone formatting issue. The previous description was incorrect because of yet another bug.
X-SVN-Rev: 22678
2007-09-14 03:06:52 +00:00
Mark Davis
76f46c65b8 ICU-5934 Fixed problem with parsing VVVV and V in ICU4J -- ICU4C needs to be looked at.
X-SVN-Rev: 22675
2007-09-14 02:22:35 +00:00
Yoshito Umaoka
40338469c8 ICU-5801 Retract the description for Bidi/TestCompatibility test failure on Java 1.4/1.4.1
X-SVN-Rev: 22663
2007-09-12 21:07:11 +00:00
Yoshito Umaoka
961536a548 ICU-5928 Skip Bidi/TestCompatibility on Java 1.4/1.4.1 runtime env, which is known to fail.
X-SVN-Rev: 22662
2007-09-12 20:21:42 +00:00
Yoshito Umaoka
c9d43a6db5 ICU-5801 Update readme to address the timezone format roundtrip problem and the know Bidi test failure on Java 1.4/1.4.1.
X-SVN-Rev: 22661
2007-09-12 19:12:00 +00:00
Yoshito Umaoka
4ef26b7d1a ICU-5926 Chanced debug arg name from U_RBBIDEBUG to rbbi
X-SVN-Rev: 22659
2007-09-12 17:41:41 +00:00
Yoshito Umaoka
6afc33010b ICU-5926 RBBI debug code to use ICUDebug rather than directly calling System.getProperty to avoid SecurityException under Java security manager enabled.
X-SVN-Rev: 22658
2007-09-12 17:30:35 +00:00
Yoshito Umaoka
c55353ce37 ICU-5801 Update readme.html for 3.8 GA
X-SVN-Rev: 22653
2007-09-10 21:13:27 +00:00
Yoshito Umaoka
2bdecbda7a ICU-5801 Use -Xdisableexcessivegc option for running the ICU unit test on IBM Java 5 or later versions. If excessivegc is enabled, the JVM may throw OOM even before the heap usage does not reach to the limit.
X-SVN-Rev: 22651
2007-09-10 20:30:58 +00:00
Yoshito Umaoka
0203947f88 ICU-5801 Update the previous fix. ICU build server actually use moduleCheck, not secureCheck. Set the JVM arguments required for testing in moduleCheck too.
X-SVN-Rev: 22649
2007-09-10 19:39:45 +00:00
Yoshito Umaoka
2db1af71bc ICU-5801 Set Java initial/max heap size in secureCheck target to prevent OOM error.
X-SVN-Rev: 22647
2007-09-10 18:27:48 +00:00
Yoshito Umaoka
67a4d353ab ICU-5910 Disable an invalid time zone name test case in DateFormatTest.
X-SVN-Rev: 22643
2007-09-07 21:40:16 +00:00
Yoshito Umaoka
be95ba0320 ICU-5921 Fix JavaDoc problem in Coptic/EhiopicCalendar.
X-SVN-Rev: 22642
2007-09-07 17:29:36 +00:00
Eric Mader
0de2ebba01 ICU-5376 changes for unsigned comparisons.
X-SVN-Rev: 22639
2007-09-07 00:22:19 +00:00
Michael Ow
94a0188571 ICU-5915 Initailize UConverterData objects in the constructor.
X-SVN-Rev: 22637
2007-09-06 20:41:13 +00:00
Michael Ow
17bca61824 ICU-5915 Initialize extraInfo after creating the object.
X-SVN-Rev: 22632
2007-09-06 16:47:35 +00:00
Michael Ow
15c6415f99 ICU-5915 Added a method to initialize the UConverterData object to implement an easier way to reset the converter.
X-SVN-Rev: 22631
2007-09-06 16:46:29 +00:00
Yoshito Umaoka
f7286f7ed6 ICU-5887 Workaround for Java 6 adaptive compiler bug on Solaris/Linux
X-SVN-Rev: 22628
2007-09-06 04:01:16 +00:00
Yoshito Umaoka
f8848054f4 ICU-5917 Fixed OlsonTimeZone#useDaylightTime implementation problem. The API may return true after setRawOffset is called, even the zone did not observe DST originally.
X-SVN-Rev: 22626
2007-09-05 22:52:35 +00:00
Yoshito Umaoka
f3bca244c8 ICU-5596 Revert the changes in CharsetRecog_mbcs.java. The changes were actually not related to the problem reported by the ticket.
X-SVN-Rev: 22625
2007-09-05 21:02:13 +00:00
Yoshito Umaoka
bf42965a08 ICU-5910 Skip creating SimpleTimeZone instance for getting LONG_GENERIC time zone name
X-SVN-Rev: 22624
2007-09-05 20:15:37 +00:00
Michael Ow
24c425e472 ICU-5915 Add line to set the isFirstBuffer variable to true when the implreset() is called for the encoder.
X-SVN-Rev: 22623
2007-09-05 18:56:40 +00:00
John Emmons
7813074e53 ICU-5910 Force use of standard string when DST not observed
X-SVN-Rev: 22621
2007-09-05 18:47:38 +00:00
Andy Heninger
7feae9ed00 ICU-5553 fix error in Javadoc for BreakIterator
X-SVN-Rev: 22619
2007-09-05 15:11:19 +00:00
Andy Heninger
0c009db85e ICU-5596 fix array index out of bounds crash in charset detection with very short input data.
X-SVN-Rev: 22615
2007-09-04 04:28:59 +00:00
George Rhoten
73d37b3412 ICU-5905 Fix svn:executable and svn newline properties
X-SVN-Rev: 22613
2007-09-01 21:32:23 +00:00
Yoshito Umaoka
42a49646a4 ICU-5888 Removed unnecessary //##header J2SE15, because this source does not require any conditional compilation.
X-SVN-Rev: 22606
2007-08-31 19:23:34 +00:00
Yoshito Umaoka
a516a115d0 ICU-5902 Disable warnings in DateFormat/DurationFormat serialization test for 3.8 release.
X-SVN-Rev: 22597
2007-08-31 06:38:27 +00:00
Yoshito Umaoka
d1a8c32ebf ICU-3870 Delete out of date RBBI demo from ICU4J source tree.
X-SVN-Rev: 22595
2007-08-31 05:30:24 +00:00
Yoshito Umaoka
67f7fdba7e ICU-5885 Set timebomb to actual limit tests for Buddhist/Taiwan calendar.
X-SVN-Rev: 22593
2007-08-31 05:02:01 +00:00
Yoshito Umaoka
465d0173b0 ICU-5801 Fixed a couple of module build test target to copy test data to resolve some warnings.
X-SVN-Rev: 22591
2007-08-31 04:45:13 +00:00
Steven R. Loomis
ac3e34cd94 ICU-5886 change exception
X-SVN-Rev: 22590
2007-08-31 02:36:34 +00:00
Steven R. Loomis
ac9322b84c ICU-5886 error msg improvement
X-SVN-Rev: 22589
2007-08-31 02:33:36 +00:00
Steven R. Loomis
0e5530bc47 ICU-5886 fix loading under security manager
X-SVN-Rev: 22588
2007-08-31 01:02:05 +00:00
Andy Heninger
b5fe986e6c ICU-4528 fix small error in RuleBasedCollator javadoc.
X-SVN-Rev: 22587
2007-08-31 00:30:00 +00:00
Yoshito Umaoka
b52aef453e ICU-5801 Revert work-in-progess version of SimpleDateFormat.java accidentally checked in by the previous code submission
X-SVN-Rev: 22585
2007-08-31 00:01:02 +00:00
Yoshito Umaoka
38287b8906 ICU-5801 Update readme.html for ICU4J 3.8 d02.
X-SVN-Rev: 22584
2007-08-30 23:51:41 +00:00
Mark Davis
4d90d4301b ICU-5888 change test based on ICU core meeting today
X-SVN-Rev: 22574
2007-08-30 00:49:17 +00:00
Yoshito Umaoka
b696e36f7b ICU-5895 Fix a timezone string parsing problem in SimpleDateFormat. When zone string is DateFormatSymbols.TIMEZONE_XXXX_STANDARD or TIMEZONE_XXXX_DAYLIGHT, parsed time zone was not set in the calendar by parse method.
X-SVN-Rev: 22572
2007-08-29 21:38:34 +00:00
Yoshito Umaoka
f348dd22ee ICU-5888 Fix compile error caused by the use of Java 5 syntax.
X-SVN-Rev: 22568
2007-08-29 19:07:17 +00:00
Yoshito Umaoka
42188d3e3d ICU-5892 Delete UnicodeChart demo from trunk. This demo code is not completed and we have no plan to finish it.
X-SVN-Rev: 22566
2007-08-29 18:45:17 +00:00
Mark Davis
70f1c626eb ICU-5888 added test of roundtrip failures
X-SVN-Rev: 22557
2007-08-28 23:16:50 +00:00
Yoshito Umaoka
7f56576bad ICU-5801 Escape non-ASCII character in the test code.
X-SVN-Rev: 22554
2007-08-28 19:21:21 +00:00
Yoshito Umaoka
b7ce82e4c3 ICU-5801 Disable ChineceCalendar TestLimits for now.
X-SVN-Rev: 22547
2007-08-27 21:35:36 +00:00
Yoshito Umaoka
ee3e82bc2c ICU-5464 Fixed eclipse icu4j plug-in fragment (icu-jse4.jar) build problems.
X-SVN-Rev: 22546
2007-08-27 19:11:51 +00:00
Steven R. Loomis
bfd46df766 ICU-3487 error checking on duration
X-SVN-Rev: 22544
2007-08-27 15:41:50 +00:00
Yoshito Umaoka
df2e2f7f9c ICU-5445 Workaround for double precision problem. Some platforms still reported test failure because of the precision problem.
X-SVN-Rev: 22543
2007-08-27 15:16:49 +00:00
Yoshito Umaoka
b24150a474 ICU-5801 Add 3.8 API report file and update the API change report for 3.8 release.
X-SVN-Rev: 22538
2007-08-27 03:23:55 +00:00
Yoshito Umaoka
8ed516328f ICU-5780 Resolve ICU javadoc warnings. Changed DateFormatSymbols#MetazoneInfo from protected to package private.
X-SVN-Rev: 22537
2007-08-27 03:10:46 +00:00
Yoshito Umaoka
ffeae6459e ICU-5445 Workaround for double precision problem introduced by the change set#21566.
X-SVN-Rev: 22536
2007-08-27 02:40:22 +00:00
Yoshito Umaoka
7c81953e5f ICU-5494 Avoid to create new Boolean objects.
X-SVN-Rev: 22535
2007-08-27 02:28:28 +00:00
Doug Felt
84e970b943 ICU-5873 Factor out references to data jar, fix IndexGenerator to deal with missing dirs
X-SVN-Rev: 22530
2007-08-25 01:15:23 +00:00
Doug Felt
6d09765c4f ICU-5872 make UResourceBundle static factories obey spec on null values
X-SVN-Rev: 22529
2007-08-25 01:03:39 +00:00
Yoshito Umaoka
aa77d09e89 ICU-5861 Disable localized GMT offset format, because the parser code is not ready. Updated the test cases.
X-SVN-Rev: 22527
2007-08-24 21:15:29 +00:00
Yoshito Umaoka
7994f9a169 ICU-5006 Fixed Java1.3 compile errors introduced by the previous change.
X-SVN-Rev: 22520
2007-08-24 18:49:56 +00:00
Yoshito Umaoka
5b7c009173 ICU-5160 Added synchronized block to protect buffer. Needs better fix later.
X-SVN-Rev: 22519
2007-08-24 18:47:22 +00:00
Steven R. Loomis
9257c557bd ICU-4659 remove a comment
X-SVN-Rev: 22518
2007-08-24 18:42:04 +00:00
Steven R. Loomis
68fe12cf76 ICU-3279 fix year jump when WOY is used.
X-SVN-Rev: 22517
2007-08-24 18:01:40 +00:00
Steven R. Loomis
ccceb4f4a8 ICU-3487 duration (handle milliseconds)
X-SVN-Rev: 22512
2007-08-24 16:34:29 +00:00
Yoshito Umaoka
34a9e2cad8 ICU-5861 Added temporary fix in ZoneMeta#displayFallback to avoid a problem in UResourceBundle loadingStatus.
X-SVN-Rev: 22505
2007-08-24 08:18:54 +00:00
Steven R. Loomis
281135ffbb ICU-5006 regresion test, getshortmonths
X-SVN-Rev: 22502
2007-08-24 03:58:01 +00:00
Yoshito Umaoka
21835d3da1 ICU-5862 Run the ant target resources after manual build. It looks 'cleanr after' is not sufficient for some reason.
X-SVN-Rev: 22501
2007-08-24 03:28:43 +00:00
Steven R. Loomis
0d1388172a ICU-3474 serialization fix for icu4j calendar
X-SVN-Rev: 22500
2007-08-24 00:17:00 +00:00
Yoshito Umaoka
d65632d32e ICU-2895 Fix Java 1.3/1.4 compile error introduced by the change set 22492
X-SVN-Rev: 22498
2007-08-23 23:03:39 +00:00
Yoshito Umaoka
bc24e7af5e ICU-5801 Do not print stack trace for handled exception.
X-SVN-Rev: 22497
2007-08-23 22:41:25 +00:00
Steven R. Loomis
be658a09ef ICU-3282 added regression test for japanese date parsing bug
X-SVN-Rev: 22495
2007-08-23 22:11:25 +00:00
John Emmons
2ab7469030 ICU-5861 Implement new timezone fields per tr35 and commonlyUsed
X-SVN-Rev: 22494
2007-08-23 20:48:02 +00:00
Steven R. Loomis
b0fa382730 ICU-2895 relative dates 4 j
X-SVN-Rev: 22492
2007-08-23 20:13:50 +00:00
Yoshito Umaoka
c8745e4164 ICU-5862 Added External Tool launchers for running intSrc/normSrc to the eclipse project. Also, stop running target 'resources' in the manual build event.
X-SVN-Rev: 22491
2007-08-23 19:53:48 +00:00
Yoshito Umaoka
83ca3fe277 ICU-5550 Fixed Accept-Language parser problem in GlobalizationPreferences. The improved parser is implemented as ULocale package local method and replaces existing implementation in ULocale/GlobalizationPrefrences. Also, removed conditional compilation code from GlobalizationPreferneces.
X-SVN-Rev: 22487
2007-08-23 06:59:30 +00:00
Andrew J Macheret
1920c48674 ICU-5859 inserted andy's code into TestConverter with slight modifications (with jdk5, you can only call encoder.flush once). Also fixed the bug in CharsetMBCS that was causing TestFromUnicode[67] to fail with the new test code.
X-SVN-Rev: 22478
2007-08-23 01:26:31 +00:00
Yoshito Umaoka
f62fc33cd7 ICU-5862 Changed the build script to combine JVM args for running tests. ANT jvmarg element with empty string did not work well on some platforms and caused an error on Java13 env.
X-SVN-Rev: 22474
2007-08-22 21:55:39 +00:00
Yoshito Umaoka
cb742a0986 ICU-5464 Merged Eclipse build targets from ICU4J 3.6.1 to 3.8 stream. Updated build targets for better preprocessor invocation.
X-SVN-Rev: 22470
2007-08-22 08:28:38 +00:00
Yoshito Umaoka
e6d880091f ICU-5769 Merge Olson 2007g data into ICU4J
X-SVN-Rev: 22465
2007-08-22 03:17:02 +00:00
Andrew J Macheret
e814cdd131 ICU-5445 reversed the changes of Changeset 22440 except for com/ibm/icu/dev/test/serializable/FormatTests.java ... everything should be as it was before Changeset 22440 except for that one file.
X-SVN-Rev: 22460
2007-08-21 21:59:48 +00:00
Doug Felt
f82449e027 ICU-5867 look up holiday data from right place
X-SVN-Rev: 22459
2007-08-21 21:54:52 +00:00
Yoshito Umaoka
b779b1125b ICU-5445 Patched a problem which was revealed by the Andrew's bug fix in DateFormat CompatibilityTest
X-SVN-Rev: 22450
2007-08-21 07:54:36 +00:00
George Rhoten
032bf4b1f2 ICU-5739 Readd some important documentation and formatting.
Simplify some encoding methods.

X-SVN-Rev: 22449
2007-08-21 06:40:17 +00:00
George Rhoten
bf5ecff090 ICU-5854 Use standard ICU4J indentation, and fix some Eclipse warnings.
X-SVN-Rev: 22448
2007-08-21 05:41:14 +00:00
Steven R. Loomis
8532d3274e ICU-5854 some random codepage -> ascii
X-SVN-Rev: 22447
2007-08-21 05:20:10 +00:00
Yoshito Umaoka
6071e89e36 ICU-5862 Fixed a TYPO - WARINNG
X-SVN-Rev: 22445
2007-08-21 03:11:38 +00:00
George Rhoten
bcf05ee225 ICU-5857 Fix ICU4J file properties in svn
X-SVN-Rev: 22444
2007-08-21 03:03:08 +00:00
Andrew J Macheret
044ccb368f ICU-5445 set the header back
X-SVN-Rev: 22441
2007-08-21 01:46:28 +00:00
Andrew J Macheret
2bcce680c9 ICU-5445 Fixed ~20 unused variable compiler warnings
X-SVN-Rev: 22440
2007-08-21 01:05:50 +00:00
Andrew J Macheret
42b1079c7d ICU-5849 Removed the reflection, replaced with preprocessor tags
X-SVN-Rev: 22438
2007-08-21 00:40:38 +00:00
Andrew J Macheret
e2d5b5d1be ICU-5849 Oops wrong file
X-SVN-Rev: 22437
2007-08-21 00:40:13 +00:00
Andrew J Macheret
d47fe80f02 ICU-5849 Removed the reflection, replaced with preprocessor tags
X-SVN-Rev: 22436
2007-08-21 00:38:28 +00:00
Andrew J Macheret
41d27351e7 ICU-5849 Removed the reflection, replaced with preprocessor tags
X-SVN-Rev: 22435
2007-08-21 00:38:03 +00:00
Steven R. Loomis
f65bd97954 ICU-5857 rename ICU4J -> icu4j
X-SVN-Rev: 22434
2007-08-20 23:37:31 +00:00
Steven R. Loomis
1bf9b0c124 ICU-5857 rename
X-SVN-Rev: 22433
2007-08-20 23:36:20 +00:00
Doug Felt
904a282d6c ICU-5854 add test for collator thread safety
X-SVN-Rev: 22432
2007-08-20 23:08:12 +00:00
Steven R. Loomis
eed27eff1b ICU-3487 fix for changed newDuration behavior
X-SVN-Rev: 22431
2007-08-20 22:44:35 +00:00
Yoshito Umaoka
30785c67a8 ICU-5862 Updated CodeMangler to accept defined() command and to support OR condition. Also cleaned up the build.xml to support multiple versions of Java build environment. Conditional source codes are now marked as J2SE15 by the CodeMangler tool.
X-SVN-Rev: 22430
2007-08-20 22:17:50 +00:00
Markus Scherer
132489e847 ICU-5609 add Hangul type boundaries for UCHAR_HANGUL_SYLLABLE_TYPE; fix UCharacter.getPropertyValueName() for lccc and tccc; replace test hacks and time bombs
X-SVN-Rev: 22429
2007-08-20 21:27:51 +00:00
Andy Heninger
a30bdfe2a5 ICU-5875 lowercase some icu4j dir names
X-SVN-Rev: 22423
2007-08-19 19:45:06 +00:00
Doug Felt
065cbd88e5 ICU-5854 cloned collator not thread safe - fix
X-SVN-Rev: 22420
2007-08-18 00:50:04 +00:00
Steven R. Loomis
6de3ab2b51 ICU-3487 support running under java 1.4
X-SVN-Rev: 22418
2007-08-17 20:52:55 +00:00
Yoshito Umaoka
a439b9f7f6 ICU-4567 Merged Before Minguo support in TaiwanCalendar from ICU4C to ICU4J. Changed GregorianCalendar subclasses to use a Gregorian year in EXTENDED_YEAR field. Also clean up GregorianCalendar subclasses to remove unnecessary override methods.
X-SVN-Rev: 22416
2007-08-17 04:05:08 +00:00
Steven R. Loomis
96d422e5ab ICU-3487 add javax.xml.datasource.Duration as a formattable object
X-SVN-Rev: 22413
2007-08-17 01:18:00 +00:00
Markus Scherer
14200e84ea ICU-5850 fix Bidi_Mirroring according to Unicode Corrigendum #6
X-SVN-Rev: 22410
2007-08-16 21:52:38 +00:00
Doug Felt
9eac72d4e8 ICU-5850 update ubidi.icu and add tests to check reversion of mirrored property
X-SVN-Rev: 22409
2007-08-16 21:13:45 +00:00
Andrew J Macheret
0a47d5ea22 ICU-5844 Removed an unnecessary import that caused a warning.
X-SVN-Rev: 22408
2007-08-16 20:58:17 +00:00
Andrew J Macheret
221cdc6607 ICU-5842 Refactored a variable
X-SVN-Rev: 22407
2007-08-16 20:57:24 +00:00
Andrew J Macheret
d0fc4c8217 ICU-5843 Enabled all tests
X-SVN-Rev: 22406
2007-08-16 20:55:15 +00:00
Andrew J Macheret
609f6ae81f ICU-5844 Made BOMFreeReader a static inner class
X-SVN-Rev: 22405
2007-08-16 20:53:00 +00:00
Andrew J Macheret
b7bd8df07b ICU-5849 Replaced Integer.valueOf with new Integer (for older JDKs) and replaced String.class with CharSequence.class
X-SVN-Rev: 22404
2007-08-16 20:51:21 +00:00
Matitiahu Allouche
b5e73159e4 ICU-5489 a few improvements to Javadoc
X-SVN-Rev: 22399
2007-08-16 13:40:19 +00:00
Andrew J Macheret
d8dd6ad36a ICU-5851 Replaced usage of sun.io.CharToByteConverter with java.nio.CharsetEncoder in the setup portion
X-SVN-Rev: 22397
2007-08-15 23:19:26 +00:00
Andrew J Macheret
eb3becec62 ICU-5842 Fixed the copyright badge
X-SVN-Rev: 22396
2007-08-15 23:06:45 +00:00
Andrew J Macheret
bcef399a3d ICU-4731 Changed 'new BigInteger("0")' to 'BigInteger.ZERO'
X-SVN-Rev: 22395
2007-08-15 23:04:17 +00:00
Yoshito Umaoka
6313be5b20 ICU-5551 Do not need to cast super.clone() to SimpleTimeZone in SimpleTimeZone#clone()
X-SVN-Rev: 22393
2007-08-15 20:06:54 +00:00
Yoshito Umaoka
97c6b04e4a ICU-5649 Put @deprecated comment back to @internal items
X-SVN-Rev: 22392
2007-08-15 19:33:46 +00:00
Yoshito Umaoka
6b940caff6 ICU-4731 Fixed BigInteger 0 format problem
X-SVN-Rev: 22391
2007-08-15 19:20:11 +00:00
Andrew J Macheret
e7a74b9ced ICU-5849 Added reflection to fix issues with JDK6 and sun.text.Normalizer
X-SVN-Rev: 22390
2007-08-15 18:41:30 +00:00
Andrew J Macheret
1a1b0470c6 ICU-5844 Added functionality for multi-threaded tests and initialization
X-SVN-Rev: 22389
2007-08-15 18:16:23 +00:00
Andrew J Macheret
40d7c323bd ICU-5842 Fixed a multithreading issue
X-SVN-Rev: 22388
2007-08-15 18:15:03 +00:00
Andrew J Macheret
a4a300fd9f ICU-5843 Fixed a multithreading issue
X-SVN-Rev: 22387
2007-08-15 18:14:38 +00:00
Yoshito Umaoka
000977219d ICU-5551 Changed clone() implementation not to call its constructor
X-SVN-Rev: 22386
2007-08-15 17:27:56 +00:00
George Rhoten
a23be3710f ICU-5445 Fix some Eclipse warnings.
X-SVN-Rev: 22384
2007-08-14 20:50:53 +00:00
George Rhoten
e3bfd984cf ICU-5410 Improve code coverage by removing dead code.
X-SVN-Rev: 22381
2007-08-14 20:06:10 +00:00
Yoshito Umaoka
6e071a5cc9 ICU-5466 Fix ChineseCalendar#toString() crash problem
X-SVN-Rev: 22377
2007-08-14 17:38:23 +00:00
Andrew J Macheret
e0701bc89e ICU-5844 Updated to work for icu4j 3.8 (and for those that compare versions, to compare 3.8 to 3.6)
X-SVN-Rev: 22375
2007-08-13 23:20:09 +00:00
Andrew J Macheret
b7c47a899f ICU-5738 Renamed the converter performance test to be more like the other perf tests
X-SVN-Rev: 22374
2007-08-13 23:12:40 +00:00
Andrew J Macheret
1d44db6fb8 ICU-5843 Performance test for DecimalFormat
X-SVN-Rev: 22373
2007-08-13 23:11:25 +00:00
Andrew J Macheret
5f3f7eeea8 ICU-5842 Performance test for SimpleDateFormat
X-SVN-Rev: 22372
2007-08-13 23:10:47 +00:00
Yoshito Umaoka
b2b7e4e1b9 ICU-3704 Fix some calendar limit issues in various calendars. Also added a new commont test case for testing theoretical limits and included limit test cases for all calendars (some are timebombed for now).
X-SVN-Rev: 22370
2007-08-13 21:49:13 +00:00
Yoshito Umaoka
a514749bb2 ICU-4408 Change EXTENDED_YEAR used by BuddhistCalendar to use Gregorian year, like other GregorianCalendar subclasses, so it can handle leap years properly.
X-SVN-Rev: 22368
2007-08-13 21:20:52 +00:00
Steven R. Loomis
cd4313d171 ICU-4567 updated test data
X-SVN-Rev: 22367
2007-08-13 20:54:48 +00:00
Steven R. Loomis
8c862fa548 ICU-4567 data driven fmt test for J
X-SVN-Rev: 22365
2007-08-13 19:21:16 +00:00
Doug Felt
e1e81dcdd6 ICU-5838 fix typos in docs
X-SVN-Rev: 22364
2007-08-13 18:33:07 +00:00
Yoshito Umaoka
0bcad795c8 ICU-4567 Fix a compile error
X-SVN-Rev: 22362
2007-08-13 15:16:32 +00:00
Steven R. Loomis
7849815922 ICU-4567 DataDrivenCalendarTest for J
X-SVN-Rev: 22348
2007-08-10 22:08:56 +00:00
John Emmons
8f9581565f ICU-4321 Fix German number spellout rules
X-SVN-Rev: 22346
2007-08-10 19:27:36 +00:00
John Emmons
fd17626413 ICU-5104 Fix Portuguese number spellout rules
X-SVN-Rev: 22343
2007-08-10 16:53:39 +00:00
John Emmons
3a66e3ebd8 ICU-4930 Fix number spellout for Italian
X-SVN-Rev: 22330
2007-08-09 20:30:02 +00:00
Eric Mader
e24fdaf785 ICU-4758 Use tava.text.MessageFormat instead of com.ibm.icu.text.MessageFormat so the tool doesn't depend on all of ICU4J.
X-SVN-Rev: 22326
2007-08-09 00:58:32 +00:00
Yoshito Umaoka
35a19cf658 ICU-5454 Fixed getID problem in VTimeZone and updated the test case.
X-SVN-Rev: 22310
2007-08-08 00:45:02 +00:00
Steven R. Loomis
c7013ddaf0 ICU-3487 duration fix for serialization test
X-SVN-Rev: 22309
2007-08-07 23:23:27 +00:00