Commit Graph

170 Commits

Author SHA1 Message Date
Stuart Gill
b668e88639 ICU-8914 extra Java documentation for collation reordering
X-SVN-Rev: 31013
2011-12-02 22:11:29 +00:00
Stuart Gill
c3409e4285 ICU-8914 extra Java documentation for collation reordering
X-SVN-Rev: 31003
2011-12-01 23:16:58 +00:00
Markus Scherer
c50c6a20d7 ICU-8942 straggler fixes, parallel with C++
X-SVN-Rev: 30995
2011-12-01 00:55:29 +00:00
Markus Scherer
c267b157f0 ICU-8942 use smaller/simpler FCD data rather than building an FCD trie
X-SVN-Rev: 30986
2011-11-28 23:04:28 +00:00
Yoshito Umaoka
9ba9b4ad4e ICU-8345 Freezable implementation in TimeZone and its subclasses.
X-SVN-Rev: 30962
2011-11-15 14:57:18 +00:00
Abhinav Gupta
8c6de437fc ICU-8854 Check for oddness that won't work for negative numbers.
X-SVN-Rev: 30928
2011-11-04 15:19:31 +00:00
Abhinav Gupta
23d796e394 ICU-8854 Inner class does not use embedded reference to creator. Should be static inner class.
X-SVN-Rev: 30926
2011-11-04 15:19:11 +00:00
Abhinav Gupta
049feaf0a2 ICU-8854 Class defines or inherits equals() but not hashCode().
X-SVN-Rev: 30925
2011-11-04 15:18:39 +00:00
Abhinav Gupta
698b723ba9 ICU-8854 Dead store to local variable.
X-SVN-Rev: 30923
2011-11-04 15:17:52 +00:00
Abhinav Gupta
1efa6d411f ICU-8854 bitwise and/or of signed byte value.
Values loaded from a byte array are sign extended to 32-bits before any
bitwise operations are performed. Should &-down back to one-byte.

X-SVN-Rev: 30862
2011-10-24 19:24:08 +00:00
Abhinav Gupta
87f031cd34 ICU-8854 use of inefficient Number constructors. Use valueOf.
X-SVN-Rev: 30856
2011-10-24 19:14:19 +00:00
Yoshito Umaoka
02bf9dd68a ICU-8649 Integrating JCite and embedding coding example in the ICU4J API reference doc.
X-SVN-Rev: 30841
2011-10-17 21:10:07 +00:00
Yoshito Umaoka
504e04477a ICU-8856 Organized import statements
X-SVN-Rev: 30788
2011-10-04 14:38:02 +00:00
Steven R. Loomis
f2dea4dba1 ICU-8855 undo bad commit r30752
X-SVN-Rev: 30753
2011-09-29 20:18:13 +00:00
Abhinav Gupta
27cdc577c8 ICU-8855 utf-8 file properties for icu4j (with copyright updates).
X-SVN-Rev: 30752
2011-09-29 19:44:32 +00:00
Abhinav Gupta
c9b90e11db ICU-8268 dead store to local variable.
A value is assigned to a local variable but never read again.

Signed-off-by: Abhinav Gupta <abhinavg@ca.ibm.com>

X-SVN-Rev: 30725
2011-09-27 19:50:19 +00:00
Yoshito Umaoka
2ae8b05602 ICU-8630 Category locale support for Java 7 conformance.
X-SVN-Rev: 30487
2011-08-11 19:53:36 +00:00
Mark Davis
d56fad92d0 ICU-8522 Now using the new special labels, tests passing.
X-SVN-Rev: 30325
2011-07-13 04:12:10 +00:00
Yoshito Umaoka
53aae67b42 ICU-8624 Fixed a collation key copression problem. A tertiary key value was incorrect with a long string when case first option is enabled.
X-SVN-Rev: 30219
2011-06-20 14:39:30 +00:00
Dragan Besevic
b22717a642 ICU-8484 fix the problem with infinite loop with surrogates for collation
X-SVN-Rev: 30184
2011-06-02 19:56:42 +00:00
Markus Scherer
bcfcfcbd18 ICU-8563 do not right-shift a 32-bit integer by 32 bits
X-SVN-Rev: 30127
2011-05-16 23:18:47 +00:00
Stuart Gill
77ae8b924e ICU-8295 fix method visibility - public to private
X-SVN-Rev: 30087
2011-05-10 21:37:01 +00:00
Stuart Gill
256fbc6f64 ICU-8295 changes based on code review
X-SVN-Rev: 30076
2011-05-10 00:14:12 +00:00
Markus Scherer
1f6e7fb0a6 ICU-8491 remove UCharacterProperty.isRuleWhiteSpace(c)
X-SVN-Rev: 29890
2011-04-26 00:13:48 +00:00
Stuart Gill
68a2af94ca ICU-8243 make frozen collator be threadsafe, some javadoc changes, and tests
X-SVN-Rev: 29770
2011-04-11 17:39:44 +00:00
Stuart Gill
24eda0204f ICU-8243 collation freezing
X-SVN-Rev: 29698
2011-03-25 22:58:01 +00:00
Stuart Gill
45dd32ab8a ICU-8295 API for collation reordering
X-SVN-Rev: 29672
2011-03-18 23:12:00 +00:00
Michael Ow
ec73e56a76 ICU-8411 Remove non-ascii character from ICU4J source files.
X-SVN-Rev: 29660
2011-03-16 01:51:30 +00:00
Markus Scherer
c2616a41fd ICU-8391 StringSearch() constructors ensure the FCD data is initialized
X-SVN-Rev: 29534
2011-03-03 23:37:41 +00:00
Yoshito Umaoka
084688bd14 ICU-8278 Added another TimeZone.getAvailableIDs to support canonical/canonical location zone iteration. The fix for ticket#8349 Etc/Unknown problem was also done at the same time.
X-SVN-Rev: 29499
2011-03-01 18:31:43 +00:00
Peter Edberg
6b7bfaa8cc ICU-8290 (1) in CollationElementIterator next/previous, add iteration when an
ignorable element is produced from Hangul expansion so it loops again to process
the first jamo from the expansion before returning; (2) in nextHangul/previousHangul,
test m_isJamoSpecial_ for the CE Iterator's collator, not the UCA collator (which
alays has it false, so we never got jamo tailoring); set up m_bufferOffset_ for the
Hangul expansion so we get correct offsets for it.

X-SVN-Rev: 29494
2011-03-01 06:21:34 +00:00
Stuart Gill
ff9448fe98 ICU-8277 change interpretation of Zzzz in the collation reordering codes
X-SVN-Rev: 29365
2011-01-27 20:56:28 +00:00
Yoshito Umaoka
19266897b3 ICU-8275 Build script to add full locale name list file in each resource path. The file name was changed from res_index.txt to fullLocaleNames.lst to avoid confusion (not quite matching res_index.res). Added a config property for disabling resource file scan to build full name locale list, which allow us to test the code path easily.
X-SVN-Rev: 29307
2011-01-14 21:35:42 +00:00
Mark Davis
7ddf792330 ICU-8226 Update tests
X-SVN-Rev: 29177
2010-12-09 18:09:48 +00:00
Stuart Gill
469d4035bd ICU-3984 changes in response to code review
X-SVN-Rev: 29024
2010-11-11 02:11:46 +00:00
Mark Davis
4f230023d0 ICU-8142 fix the synchronization
X-SVN-Rev: 29021
2010-11-10 21:43:35 +00:00
Stuart Gill
0e5b74b849 ICU-3984 collation reordering complete
X-SVN-Rev: 29020
2010-11-10 02:35:21 +00:00
Stuart Gill
0e27c3ea13 ICU-3984 collation reordering checkpoint - still needs more tests and name change from script to reorder
X-SVN-Rev: 29018
2010-11-09 02:58:38 +00:00
Stuart Gill
bae3e7a74a ICU-3984 update the data - generated with recent ICU4C
X-SVN-Rev: 29016
2010-11-08 21:33:11 +00:00
Stuart Gill
1fac4c690b ICU-3984 initial commit of the collation reordering
X-SVN-Rev: 29015
2010-11-08 18:57:42 +00:00
Yoshito Umaoka
5af2364f93 ICU-8022 Removed unnecessary @SuppressWarning annotations.
X-SVN-Rev: 29014
2010-11-08 18:34:37 +00:00
Yoshito Umaoka
4954ca812f ICU-8120 Updated build scripts and eclipse workspace settings to use UTF-8 for java source files.
X-SVN-Rev: 29013
2010-11-08 15:11:14 +00:00
Umesh Nair
86ce28acfb ICU-7023 Supporting collation import syntax in ICU4J
X-SVN-Rev: 28970
2010-11-01 23:54:10 +00:00
Mark Davis
5f80f97863 ICU-7869 Added two tables to correspond to pinyin changes, with hack to pick.
X-SVN-Rev: 28943
2010-10-28 19:21:12 +00:00
Markus Scherer
f6fb60ff6f ICU-7264 fix weight allocation and align sort key constants with C++
X-SVN-Rev: 28908
2010-10-25 23:02:08 +00:00
Mark Davis
4f9ae7991e ICU-7869 Added test that first script characters are actually the first ones.
X-SVN-Rev: 28905
2010-10-25 21:40:48 +00:00
Mark Davis
7e7750a459 ICU-7869 Fix missing labels
X-SVN-Rev: 28904
2010-10-25 21:08:56 +00:00
Markus Scherer
e6751083f6 ICU-7264 fix binary search and avoid IndexOutOfBoundsException from ArrayList.get(limit=size())
X-SVN-Rev: 28903
2010-10-25 18:40:00 +00:00
Markus Scherer
acafffb5d9 ICU-7264 Latin-1 special can result in CE_NOT_FOUND_; fall back to UCA, leave TODO to avoid this in the builder
X-SVN-Rev: 28897
2010-10-24 18:45:46 +00:00
Markus Scherer
3658544cc1 ICU-7264 unpaired surrogates are not ignorable any more; fix code for discontiguous contractions to look at combining classes of code *points*
X-SVN-Rev: 28895
2010-10-22 21:53:45 +00:00
Markus Scherer
8ebdd745da ICU-7264 adjust AlphabeticIndex.getFirstScriptCharacters() for Unicode 6.0: add first characters for Batak, Brahmi, Mandaic; see http://unicode.org/charts/collation/
X-SVN-Rev: 28894
2010-10-21 23:59:18 +00:00
Markus Scherer
da8a555a3e ICU-7264 noncharacters are not ignorable any more
X-SVN-Rev: 28890
2010-10-21 17:36:57 +00:00
Claire Ho
1d26b82ea8 ICU-7223 invlide range for handling expansions in CollationParsedRuleBuilder.
X-SVN-Rev: 28841
2010-10-15 22:25:56 +00:00
Yoshito Umaoka
8ec88d6f48 ICU-8017 Updated MANIFEST.MF in ICU runtime library jar files to make them OSGi bundles.
X-SVN-Rev: 28831
2010-10-14 19:15:38 +00:00
Yoshito Umaoka
f9339035e4 ICU-8010 Make Collator.getAvailableLocales work when the class is loaded by the system classloader.
X-SVN-Rev: 28754
2010-10-04 20:50:06 +00:00
Andy Heninger
b38c190914 ICU-7989 Remove non-ASCII chars from ICU4J sources.
X-SVN-Rev: 28712
2010-09-27 23:13:38 +00:00
Yoshito Umaoka
40d22aabc1 ICU-7793 Clean up import statements.
X-SVN-Rev: 28682
2010-09-22 17:45:36 +00:00
Markus Scherer
114432eec8 ICU-7264 merge Unicode 6.0 into trunk from branches/markus/uni60 -r 28341:28656
X-SVN-Rev: 28662
2010-09-21 00:32:21 +00:00
Yoshito Umaoka
d234932deb ICU-7793 Fixed all compiler warnings on JDK6 and Eclipse 3.6.
X-SVN-Rev: 28600
2010-09-09 22:29:17 +00:00
Mark Davis
b40fd1a2eb ICU-7869 add convenience method with Locale
X-SVN-Rev: 28568
2010-09-01 18:18:10 +00:00
Mark Davis
38eaa30361 ICU-7869 made name changes as per discussions with Andy, Markus
X-SVN-Rev: 28556
2010-08-30 20:28:15 +00:00
Mark Davis
d6213d77c7 ICU-7869 figured out how to do the pinyin buckets with complete sync to the getIndex bucket. Many deadends along the way, but it now works. Also added more comments.
X-SVN-Rev: 28541
2010-08-29 01:10:49 +00:00
Mark Davis
fe40416511 ICU-7869 added getBucketIndex and a test. It doesn't quite work right yet, but checking in so that Andy can look at it.
X-SVN-Rev: 28540
2010-08-28 01:15:48 +00:00
Mark Davis
c91d109999 ICU-7869 fixed labels to match buckets; fixed names to align with Andy's code; added tests for expected flow labels.
X-SVN-Rev: 28538
2010-08-27 23:46:45 +00:00
Mark Davis
8717b90914 ICU-7869 Escaped the unicode; moved hacks to the end of the file; some minor cleanup
X-SVN-Rev: 28529
2010-08-25 21:20:07 +00:00
Mark Davis
804efbcf22 ICU-7869 Add Markus's fix
X-SVN-Rev: 28523
2010-08-25 18:22:58 +00:00
Mark Davis
c29b6e289f ICU-7869 Hard-code first characters in script.
X-SVN-Rev: 28519
2010-08-24 22:29:52 +00:00
Mark Davis
0d8df23f3b ICU-7869 Made the value not be comparable. Added hack for pinyin support. Minor change to Differ for type-safety.
X-SVN-Rev: 28517
2010-08-24 03:34:55 +00:00
Mark Davis
0f19b5ee8c ICU-7869 Cleaned up names according to discussion.
X-SVN-Rev: 28509
2010-08-22 00:43:36 +00:00
Mark Davis
000d3bbf9d ICU-7869 Made lazy-evaluated arguments; still a bit more cleanup to come.
X-SVN-Rev: 28507
2010-08-21 01:15:43 +00:00
Mark Davis
8b0fd59d96 ICU-7869 Changed name, javadocs in response to feedback
X-SVN-Rev: 28460
2010-08-13 16:30:28 +00:00
Mark Davis
acb23c4a13 ICU-7869 Revised the API based on discussions.
X-SVN-Rev: 28451
2010-08-12 03:25:53 +00:00
Mark Davis
7778b300d7 ICU-7869 Expanded tests and fixed problems found.
X-SVN-Rev: 28426
2010-08-06 23:05:24 +00:00
Mark Davis
1a23022dfb ICU-7869 Fixed test and code to speed up: test only checks main locales for now, code takes shortcut for first chars in script.
X-SVN-Rev: 28424
2010-08-06 16:22:11 +00:00
Mark Davis
51a09b3be2 ICU-7869 Add API as per initial design
X-SVN-Rev: 28422
2010-08-05 22:26:27 +00:00
Umesh Nair
f519d51352 ICU-7865 Wiring up IndexCharacters class with CLDR data; part of this is merged from the branch umesh/index-characters-100730
X-SVN-Rev: 28409
2010-08-04 16:42:37 +00:00
Yoshito Umaoka
4b9a795621 ICU-7585 Suppress fallthrough warning in CollationRuleParser.java.
X-SVN-Rev: 28236
2010-06-21 16:01:23 +00:00
Umesh Nair
3e24713df1 ICU-7015 Compact collation syntax (lists and ranges): svn merge -r 27727:28181 icu4j/branches/umesh/collation
X-SVN-Rev: 28192
2010-06-14 23:39:34 +00:00
Yoshito Umaoka
014a18e855 ICU-6994 ICU4J build targets to generate *-src.jar which contain only .java source files as well as ICU4J source package archive in .tgz. Also some updates in release target: new target 'release' to build all download files with version string. Old target 'releaseJar' was deleted.
X-SVN-Rev: 28174
2010-06-11 17:02:51 +00:00
Markus Scherer
64b9da144e ICU-7686 initialize FCD only when the collator needs it (Java)
X-SVN-Rev: 28138
2010-06-04 22:23:41 +00:00
Yoshito Umaoka
8251996bb7 ICU-7603 Migrating Hashtable to HashMap.
X-SVN-Rev: 27906
2010-04-06 22:44:04 +00:00
Yoshito Umaoka
3b456d2c67 ICU-7603 Migrating Vector to List.
X-SVN-Rev: 27905
2010-04-06 19:08:45 +00:00
Yoshito Umaoka
8608868c5f ICU-7360 Fixed missing API status tag problem except ArabicShaping constants.
X-SVN-Rev: 27747
2010-03-02 21:56:35 +00:00
Yoshito Umaoka
ecc6d768d2 ICU-7101 Organized imports for 4.4 release. Replaced tabs with spaces.
X-SVN-Rev: 27733
2010-03-02 07:02:47 +00:00
Umesh Nair
951011c3e0 ICU-7015 Adding compact collation tailoring syntax to icu4j
X-SVN-Rev: 27686
2010-02-25 22:50:04 +00:00
Markus Scherer
aa4f67d150 ICU-7273 make Normalizer2.getInstance() not throw an IOException
X-SVN-Rev: 27595
2010-02-18 22:50:46 +00:00
Markus Scherer
145e7fde07 ICU-7273 remove now-unused old FCD NormalizerImpl code
X-SVN-Rev: 27523
2010-02-09 22:47:29 +00:00
Markus Scherer
081917dedf ICU-7273 remove now-unused old NormalizerImpl code
X-SVN-Rev: 27506
2010-02-06 07:43:33 +00:00
Markus Scherer
f90578937a ICU-7273 remove old NormalizerImpl.getDecomposition()
X-SVN-Rev: 27504
2010-02-05 22:36:34 +00:00
Doug Felt
635a36de58 ICU-7389 icu tags, doc cleanup
X-SVN-Rev: 27430
2010-01-28 03:14:00 +00:00
Yoshito Umaoka
72b20e8947 ICU-7381 Replacing StringBuffer with StringBuilder in ICU4J runtime library implementation code.
X-SVN-Rev: 27424
2010-01-27 03:09:08 +00:00
Yoshito Umaoka
fe08b461c7 ICU-7035 Fixed missing/incorrect API status tag problems in several files.
X-SVN-Rev: 27383
2010-01-22 21:29:51 +00:00
Yoshito Umaoka
21c14b4470 ICU-7035 API comment clean up. Removed unnecessary @internal tags and fixed wrong @internal tag usages.
X-SVN-Rev: 27373
2010-01-22 02:42:33 +00:00
Yoshito Umaoka
937bf876d3 ICU-7035 Freezable methods' API status to 4.4 in GlobalizationPreferences.
X-SVN-Rev: 27338
2010-01-19 23:16:56 +00:00
Yoshito Umaoka
a64f51c603 ICU-7035 Updated API status comment for compareTo to @stable 4.4
X-SVN-Rev: 27332
2010-01-19 22:36:13 +00:00
Yoshito Umaoka
07c1c262c7 ICU-7305 Updating API draft status. Refresh the API change report with the updates.
X-SVN-Rev: 27327
2010-01-19 19:19:33 +00:00
Claire Ho
ccb5efefb0 ICU-7240 Fixed collation test failures after UUCS5.2 upgrade.
X-SVN-Rev: 26962
2009-11-21 00:37:52 +00:00
Yoshito Umaoka
ea7d49c696 ICU-7027 Fixed some compiler warnings.
X-SVN-Rev: 26741
2009-10-05 21:16:36 +00:00
Yoshito Umaoka
6d08d7a36f ICU-7030 Generics support in Freezable. Some other co-variant return type support. Merging changes done in the branch to the trunk.
X-SVN-Rev: 26699
2009-09-29 21:28:39 +00:00
Mark Davis
85f0ecb659 ICU-7139 fix index constructor, etc.
X-SVN-Rev: 26617
2009-09-10 17:57:19 +00:00