Commit Graph

20286 Commits

Author SHA1 Message Date
George Rhoten
35aa7a6339 ICU-5794 Prevent an infinite loop.
X-SVN-Rev: 23153
2008-01-02 21:00:31 +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
George Rhoten
8a5b6a411b ICU-6116 Readd LocaleAliasTest
X-SVN-Rev: 23151
2008-01-02 20:39:11 +00:00
Yoshito Umaoka
d5307ba937 ICU-5970 Merging tzdata 2007k into ICU4C trunk, with one necessary test data update.
X-SVN-Rev: 23150
2008-01-02 20:37:12 +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
Michael Ow
3fb75dd27a ICU-6101 Use hasNext to check for end of iterator.
X-SVN-Rev: 23144
2007-12-31 20:25:48 +00:00
George Rhoten
85832f0f2d ICU-6112 Don't export private symbols, and bind the symbols locally on
Solaris.

X-SVN-Rev: 23142
2007-12-30 00:26:21 +00:00
George Rhoten
8081ce1d2b ICU-5794 Various fixes for the following items.
1) Pass the locale on for the PluralFormat constructor
2) Perform normal ICU error code handling so that parse errors aren't discarded.
3) Remove more C++ static initialization.
4) Remove spaces from test names so that they can be called from the command line.
5) Fix various compiler warnings.

X-SVN-Rev: 23141
2007-12-29 05:51:50 +00:00
George Rhoten
6261370a47 ICU-5936 Version change and compiler name update.
X-SVN-Rev: 23140
2007-12-28 23:52:45 +00:00
George Rhoten
d89d165bfd ICU-6112 Make ucol_contractionEndCP more like ucol_unsafeCP
X-SVN-Rev: 23139
2007-12-28 21:16:45 +00:00
George Rhoten
012debec5d ICU-6112 Minor performance enhancement for strcoll with strings that have common prefixes. Turn a few constants into real constants. The more common switch cases should be checked sooner (surrogates aren't that common as shown by collperf). Move ucol_cloneBinary closer to the other clone methods for legibility reasons.
X-SVN-Rev: 23138
2007-12-28 20:08:41 +00:00
George Rhoten
da6bcd2c16 ICU-6112 Reset a converter about 20% faster. This is helpful when converting many small strings. In the overall scheme of things, it's not that significant since a reset is generally quick.
X-SVN-Rev: 23137
2007-12-28 19:59:17 +00:00
George Rhoten
10611e82fd ICU-6004 More white space changes for easier code review. Unify indentation to the standard 4 spaces.
X-SVN-Rev: 23136
2007-12-26 21:45:18 +00:00
George Rhoten
ce9333ff8e ICU-6004 More white space changes for easier code review. Unify indentation to the standard 4 spaces.
X-SVN-Rev: 23135
2007-12-26 21:44:39 +00:00
George Rhoten
3918c4f055 ICU-6004 More white space changes for easier code review. Unify indentation to the standard 4 spaces.
X-SVN-Rev: 23134
2007-12-26 21:37:40 +00:00
George Rhoten
95265fc6ec ICU-6024 Handle memory failure a little better.
X-SVN-Rev: 23133
2007-12-26 19:55:00 +00:00
George Rhoten
28d188c581 ICU-6024 Update comments to reflect new implementation.
X-SVN-Rev: 23132
2007-12-26 19:38:01 +00:00
George Rhoten
e3b500cb29 ICU-6024 Update comments to reflect new implementation.
X-SVN-Rev: 23131
2007-12-26 19:34:45 +00:00
George Rhoten
021daf4b4a ICU-6004 More white space changes for easier code review. Unify indentation to the standard 4 spaces.
X-SVN-Rev: 23130
2007-12-26 19:27:43 +00:00
George Rhoten
f53704dfc4 ICU-6004 Remove tabs from source code for easier code review.
X-SVN-Rev: 23129
2007-12-26 18:50:17 +00:00
Claire Ho
ff531c3e87 ICU-6110 renamed variables.
X-SVN-Rev: 23128
2007-12-22 06:29:24 +00:00
Claire Ho
368dcc71a7 ICU-6110 1. Fixed the date/time order issue. 2. Added more test cases.
X-SVN-Rev: 23127
2007-12-22 05:30:33 +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
Michael Ow
326689f2cb ICU-6101 Fix Lenient UTF8 issue and add test for new supplemental character checking code.
X-SVN-Rev: 23122
2007-12-21 00:08:12 +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
Michael Ow
f2a8d7dd61 ICU-6101 Move the setting of variable from inside a macro call to outside.
X-SVN-Rev: 23116
2007-12-20 19:22:58 +00:00
Michael Ow
20a3dfbb35 ICU-6101 Remove redundant character iterator position test.
X-SVN-Rev: 23115
2007-12-20 17:35:04 +00:00
Michael Ow
50269e4bb7 ICU-6101 Add check for surrogate pair during test for discontiguous contraction.
X-SVN-Rev: 23114
2007-12-19 23:37:23 +00:00
George Rhoten
cc84d97266 ICU-6103 Don't use C++ static initialization
X-SVN-Rev: 23113
2007-12-19 22:39:09 +00:00
Claire Ho
f6900ac943 ICU-5794 Fixed static initialization problem.
X-SVN-Rev: 23111
2007-12-19 05:25:09 +00:00
Mark Davis
7347bcee9c ICU-5909 lenient number formatting, with tests
X-SVN-Rev: 23110
2007-12-18 23:04:19 +00:00
George Rhoten
bebc001574 ICU-6076 Fix a memory leak on really bad failures.
X-SVN-Rev: 23109
2007-12-18 19:07:36 +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
George Rhoten
7ecc972c39 ICU-6076 Prevent a double mutex lock when the following happens.
ucol_open -> u_cleanup -> ures_open same locale.
Notice that the collator leaked, which contained open resource bundles. The resource bundle API didn't recover very well from this experience, and a double mutex lock happens, which is hard to debug in the test framework.

This change will make it easier to test the -m option, reduce open resources while a collator is running and make it easier to segment the collator for static libraries.

X-SVN-Rev: 23107
2007-12-18 01:31:11 +00:00
George Rhoten
344e2283d7 ICU-6076 Prevent a double mutex lock when the following happens.
ucol_open -> u_cleanup -> ures_open same locale.
Notice that the collator leaked, which contained open resource bundles. The resource bundle API didn't recover very well from this experience, and a double mutex lock happens, which is hard to debug in the test framework.

This change will make it easier to test the -m option, reduce open resources while a collator is running and make it easier to segment the collator for static libraries.

X-SVN-Rev: 23104
2007-12-18 01:19:16 +00:00
George Rhoten
5bb343c749 ICU-5955 Better bit packing of the hash table as reported by Purify.
X-SVN-Rev: 23102
2007-12-17 22:12:44 +00:00
George Rhoten
075829e0f3 ICU-5794 Fix for HP-UX, which didn't like objects declared in an array like
this.

X-SVN-Rev: 23101
2007-12-17 21:10:47 +00:00
George Rhoten
1f17b06512 ICU-5794 Fixes for Windows, build configuration and other issues.
X-SVN-Rev: 23100
2007-12-17 20:07:37 +00:00
George Rhoten
682f94570c ICU-5794 Fixes for HP-UX
X-SVN-Rev: 23099
2007-12-17 19:35:31 +00:00
George Rhoten
dc0166c6ae ICU-5794 Fixes for Windows, build configuration and other issues.
X-SVN-Rev: 23098
2007-12-17 19:30:03 +00:00