Commit Graph

500 Commits

Author SHA1 Message Date
Markus Scherer
cf9e2b4a9d ICU-8167 reduce number of object allocations in the trie builders
X-SVN-Rev: 29345
2011-01-20 18:55:46 +00:00
Markus Scherer
26161daaab ICU-8167 doc fixes
X-SVN-Rev: 29344
2011-01-20 06:07:42 +00:00
Markus Scherer
fe2355b1a1 ICU-8167 CharsTrieBuilder: change buildCharBuffer() to buildCharSequence(); and test fixes
X-SVN-Rev: 29342
2011-01-20 05:04:29 +00:00
Markus Scherer
4a71f08a6f ICU-8167 CharsTrie and builder improvements parallel with BytesTrie
X-SVN-Rev: 29339
2011-01-20 01:18:26 +00:00
Yoshito Umaoka
c711b870c8 ICU-8057 Skip validating fields internally set by add method in non-leninent mode.
X-SVN-Rev: 29337
2011-01-19 22:40:25 +00:00
Markus Scherer
6ccba41d20 ICU-8167 BytesTrie.next(int) handles negative byte values, and the builder does not share the byte array across clear()
X-SVN-Rev: 29335
2011-01-19 22:05:28 +00:00
Yoshito Umaoka
1d6dad2796 ICU-8258 Changed UnicodeSet constructor to use int code points instead of String pattern in StrnigTokenizer
X-SVN-Rev: 29328
2011-01-17 19:28:30 +00:00
John Emmons
fd2cdc676e ICU-7755 Fix bad fallback
X-SVN-Rev: 29327
2011-01-17 19:24:22 +00:00
John Emmons
d0a2188c95 ICU-7755 Data changes to support removal of hard fallbacks to Gregorian calendar
X-SVN-Rev: 29325
2011-01-17 17:20:52 +00:00
Yoshito Umaoka
79216529f6 ICU-8259 Use JDK StringTokenizer in ICUResourceBundle and VTimeZone
X-SVN-Rev: 29324
2011-01-17 16:50:22 +00:00
Mark Davis
6c1064bb42 ICU-8228 Minor tweaks after feedback from Markus
X-SVN-Rev: 29319
2011-01-15 23:24:26 +00:00
Mark Davis
0cce6961a6 ICU-8167 added another unit test for BytesTrie with more extensive example of usage
X-SVN-Rev: 29318
2011-01-15 23:20:39 +00:00
Yoshito Umaoka
5444245432 ICU-7919 Updated ICU eclipse plug-in build script. These changes will be back merged to 4.4/4.6 stream for Eclipse 3.7 release.
X-SVN-Rev: 29315
2011-01-15 03:38:28 +00:00
Yoshito Umaoka
26ef64e0b4 ICU-8275 Minor style fix
X-SVN-Rev: 29308
2011-01-14 22:15:49 +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
Markus Scherer
352b462d47 ICU-8167 fix BytesTrieBuilder strings array growth
X-SVN-Rev: 29306
2011-01-14 20:01:56 +00:00
Michael Ow
d84ada43c8 ICU-8183 Improve Curreny and CharsetDetection code coverage in ICU4J
X-SVN-Rev: 29305
2011-01-14 18:34:17 +00:00
Markus Scherer
269a3ccecb ICU-8167 simplify & document BytesTrieBuilder API
X-SVN-Rev: 29300
2011-01-14 00:04:51 +00:00
Markus Scherer
14700ed27c ICU-8271 keep UCOL_RUNTIME_VERSION and UCOL_BUILDER_VERSION in sync with ICU4C
X-SVN-Rev: 29291
2011-01-12 22:20:51 +00:00
Mark Davis
7e67c6ed63 ICU-8226 fixed sign on comparison
X-SVN-Rev: 29289
2011-01-11 23:43:54 +00:00
Mark Davis
881d727e96 ICU-8226 Update utilities for cldr.
X-SVN-Rev: 29286
2011-01-11 21:57:03 +00:00
Markus Scherer
339ca27b17 ICU-8167 port UCharsTrieTest to Java
X-SVN-Rev: 29281
2011-01-10 23:53:47 +00:00
Markus Scherer
045c005304 ICU-8167 port BytesTrieTest to Java
X-SVN-Rev: 29279
2011-01-10 21:23:38 +00:00
Markus Scherer
4737659651 ICU-8167 port UCharsTrieBuilder to Java
X-SVN-Rev: 29278
2011-01-07 23:12:08 +00:00
Markus Scherer
9a43f08e82 ICU-8167 port UCharsTrie and BytesTrie::next(string) to Java
X-SVN-Rev: 29276
2011-01-07 05:25:40 +00:00
Markus Scherer
f9815a912b ICU-8167 port BytesTrie::Iterator to Java
X-SVN-Rev: 29274
2011-01-06 22:26:16 +00:00
Markus Scherer
3518ad81e3 ICU-8167 small bug fixes
X-SVN-Rev: 29271
2011-01-06 05:35:02 +00:00
Markus Scherer
be02e1d497 ICU-8167 port BytesTrieBuilder to Java
X-SVN-Rev: 29268
2011-01-06 00:51:39 +00:00
Markus Scherer
3c48ea5432 ICU-8167 rename ByteTrie to BytesTrie, DictTrie to StringTrie, etc.
X-SVN-Rev: 29267
2011-01-05 21:07:31 +00:00
Markus Scherer
beb1e5718e ICU-8105 new data structure for Unicode property names data (pnames.icu formatVersion 2); includes new dictionary-type tries (only ByteTrie runtime for now, see ticket #8167); merge branches/markus/pnames2 -r 29097:29250
X-SVN-Rev: 29253
2010-12-31 18:36:37 +00:00
Yoshito Umaoka
95d0b6a8f9 ICU-8227 Fixed some test failures introduced by earlier changes.
X-SVN-Rev: 29233
2010-12-20 20:25:17 +00:00
Mark Davis
839c21fdad ICU-8227 Changed the internal filter to be a UnicodeSet, making it no longer externally modifiable.
X-SVN-Rev: 29232
2010-12-20 19:53:28 +00:00
Mark Davis
cb1a45d9da ICU-8228 Added the constants. Done before the end of the design review period, but don't anticipate any problems (can back out if needed).
X-SVN-Rev: 29222
2010-12-17 02:38:19 +00:00
Mark Davis
9eac5fb126 ICU-8227 Added another filter test, and fixed problems it exposed
X-SVN-Rev: 29221
2010-12-17 02:22:33 +00:00
Mark Davis
6873ac1d7c ICU-8175 Speedup on codepoints(...)
X-SVN-Rev: 29219
2010-12-16 23:51:08 +00:00
Michael Ow
4c14bbd6aa ICU-8240 Update ICU4J compound text charset for handling continuous buffers
X-SVN-Rev: 29218
2010-12-16 23:36:15 +00:00
Mark Davis
9ffcb85ba1 ICU-8227 Whew, there were lots of problems in the way the old code was done. Now working much better.
X-SVN-Rev: 29207
2010-12-14 07:51:00 +00:00
Mark Davis
e0872406eb ICU-8175 Add some utilities for working with CharSequences. @internal for now.
X-SVN-Rev: 29206
2010-12-14 07:33:40 +00:00
Yoshito Umaoka
3037e36662 ICU-8210 Updated ICU4J versions and data. Moved some timebombs.
X-SVN-Rev: 29187
2010-12-10 21:11:35 +00:00
Yoshito Umaoka
1e3205b869 ICU-8078 Better ULocale/Locale mapping on JRE 7+ using the new Locale APIs.
X-SVN-Rev: 29181
2010-12-09 21:55:20 +00:00
Mark Davis
7ddf792330 ICU-8226 Update tests
X-SVN-Rev: 29177
2010-12-09 18:09:48 +00:00
Michael Ow
65efbb87d7 ICU-7089 Add test for Calendar class time stamp recalculation in ICU4J
X-SVN-Rev: 29165
2010-12-07 23:51:28 +00:00
Michael Ow
6400b375c6 ICU-7089 Recalculate time stamp array if stamp value is going to exceed limit in ICU4J calendar class.
X-SVN-Rev: 29163
2010-12-07 17:30:04 +00:00
Michael Ow
821d71dd85 ICU-7089 Ensure that the time stamp used by ICU4J Calendar class does not exceed the documented limit.
X-SVN-Rev: 29155
2010-12-03 19:31:41 +00:00
Yoshito Umaoka
3357036c2e ICU-8022 Removed readme.html for ICU4J locale SPI. Moved the contents to a new ICU user guide page - http://userguide.icu-project.org/icu4j-locale-service-provider. Updated the old link to locale SPI readme to the new user guide page in the master readme.html.
X-SVN-Rev: 29126
2010-12-01 18:46:48 +00:00
Mark Davis
e1413aed6d ICU-8169 Check the length to prevent exception.
X-SVN-Rev: 29065
2010-11-17 20:29:34 +00:00
Markus Scherer
d92c186953 ICU-8149 Document what getPropertyValueEnum() returns for an unknown value alias
X-SVN-Rev: 29058
2010-11-16 22:17:52 +00:00
Markus Scherer
a7db2b76be ICU-7641 do not refer to a particular (old) version of Unicode
X-SVN-Rev: 29057
2010-11-16 22:03:55 +00:00
Yoshito Umaoka
10fdc15d5d ICU-8022 Replace TAB with SPs
X-SVN-Rev: 29027
2010-11-11 06:38:10 +00:00
Yoshito Umaoka
33e107f735 ICU-8022 API status promotion for 4.6 release. Update APIChangeReport.html.
X-SVN-Rev: 29026
2010-11-11 06:26:13 +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
Andy Heninger
1158571db7 ICU-8147 SpoofChecker.CheckResult, add default constructor
X-SVN-Rev: 29023
2010-11-10 23:24:19 +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
Yoshito Umaoka
cd59883f32 ICU-8126 Added API collection tool. Added a target draftAPIs utilizing the tool to generate draft API report. Fixed some doc issues in SpoofChecker.java.
X-SVN-Rev: 29000
2010-11-04 20:31:27 +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
Yoshito Umaoka
27d3ca72c3 ICU-7954 Add a new API checking availability of currency in the specified date range.
X-SVN-Rev: 28939
2010-10-28 18:28:09 +00:00
Markus Scherer
40b739aa28 ICU-7746 mark protected methods as @internal
X-SVN-Rev: 28917
2010-10-26 21:26:39 +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
Peter Edberg
ec60bed6d5 ICU-7992 J DateTimePatternGenerator, fix matching for weekday name
X-SVN-Rev: 28886
2010-10-20 23:18:55 +00:00
Waleed Oransa
f014a67349 ICU-7488 merge the missing API status Java Doc tags for some ArabicShaping constants into trunk from branches/waleed/7488 -r 28845:28881
X-SVN-Rev: 28882
2010-10-20 10:57:29 +00:00
Yoshito Umaoka
faca047508 ICU-7518 Workaround for 24:00 on a transition day problem. Use 23:59:59.999 as the transition time. iCal VTIMEZONE is not capable to handle such rule. Also a minor bug fix in BasicTimeZone.hasEquivalentTransitions which was found while updating the test case.
X-SVN-Rev: 28879
2010-10-20 06:19:12 +00:00
Jie J. Yang
8f55656334 ICU-7902 TimeUnitFormat uses unlocalized short time units for Greek, icu4j part
X-SVN-Rev: 28871
2010-10-19 08:11:35 +00:00
Andy Heninger
b7261dd097 ICU-8022 ICU4J version moved to 4.6
X-SVN-Rev: 28860
2010-10-19 01:12:18 +00:00
Claire Ho
1c68465ef7 ICU-7850 Replaced the ChoiceFormat example by PluralFormat in MessageFormat.java.
X-SVN-Rev: 28859
2010-10-19 00:36:08 +00:00
Claire Ho
0277fddcb6 ICU-7850 Replaced the ChoiceFormat example by PluralFormat in MessageFormat.java.
X-SVN-Rev: 28858
2010-10-19 00:12:39 +00:00
Michael Ow
9896c58604 ICU-8038 Fix maxBytesPerChar error for UnicodeBig and UnicodeLittle in ICU4J.
X-SVN-Rev: 28849
2010-10-18 16:29:25 +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
Michael Ow
5714200c0d ICU-8038 Fix check for x-* names when getting the icu canonical name.
X-SVN-Rev: 28835
2010-10-14 22:21:16 +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
Michael Ow
228172d527 ICU-6959 Improve code coverage in ICU4J for com.ibm.icu.util.
X-SVN-Rev: 28829
2010-10-14 17:06:37 +00:00
Andy Heninger
24da281d4e ICU-7201 Transliterator threading fixes.
X-SVN-Rev: 28825
2010-10-14 00:28:44 +00:00
Michael Ow
99102b01d2 ICU-8038 Implement UnicodeLittle and UnicodeBig in ICU4J.
X-SVN-Rev: 28818
2010-10-13 20:21:16 +00:00
Yoshito Umaoka
69866a3d5d ICU-8022 Fixing some compiler warnings.
X-SVN-Rev: 28811
2010-10-13 15:18:01 +00:00
Mark Davis
bf2f20ffe9 ICU-8037 added utilities
X-SVN-Rev: 28807
2010-10-13 06:09:18 +00:00
Mark Davis
e83ac112e0 ICU-8036 Fixed supplementary issue.
X-SVN-Rev: 28806
2010-10-13 06:06:49 +00:00
Mark Davis
d10c798d62 ICU-7264 update the constant ranges for CJK, so that the code works correctly. This also handles the change in UCA that it is not CJK *blocks* but CJK *characters* (assigned in those blocks).
X-SVN-Rev: 28777
2010-10-08 17:22:13 +00:00
John Emmons
0b250fd02a ICU-7978 Add getDigitsLocal that returns reference to the digits directly
X-SVN-Rev: 28765
2010-10-06 15:50:16 +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
Yoshito Umaoka
f0aa65c877 ICU-7996 Fixed resource bundle alias resolution problems. Also restored resource alias test cases accidentally disabled before.
X-SVN-Rev: 28749
2010-10-04 19:42:01 +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
Andy Heninger
33a8b6e5a7 ICU-7988 add svn properties to text files as appropriate.
X-SVN-Rev: 28711
2010-09-27 22:31:10 +00:00
Norbert Lindenberg
6c75d439b9 ICU-7772 Use UCharacterDirection instead of ECharacterDirection per Markus's review comments.
X-SVN-Rev: 28695
2010-09-24 22:35:43 +00:00
Yoshito Umaoka
2e1aee8d0a ICU-7724 Code review update - creating a defensive copy of char[] in getDigits().
X-SVN-Rev: 28689
2010-09-23 19:35:29 +00:00
Yoshito Umaoka
6beba077d3 ICU-6325 Removed synchronized keyowrd from _getDisplayName.
X-SVN-Rev: 28688
2010-09-23 18:49:45 +00:00
John Emmons
369c026ca2 ICU-7652 Use StringBuilder instead of StringBuffer
X-SVN-Rev: 28686
2010-09-22 21:45:19 +00:00
Yoshito Umaoka
40d22aabc1 ICU-7793 Clean up import statements.
X-SVN-Rev: 28682
2010-09-22 17:45:36 +00:00