Commit Graph

20219 Commits

Author SHA1 Message Date
Eric Mader
2ec39c5999 ICU-6104 update stale copyright notice.
X-SVN-Rev: 23193
2008-01-09 20:18:29 +00:00
Eric Mader
f79c045066 ICU-6118 update stale copyright date.
X-SVN-Rev: 23192
2008-01-09 20:17:07 +00:00
Eric Mader
44edf66fe6 ICU-6013 can't mix declarations and code in C.
X-SVN-Rev: 23191
2008-01-09 18:20:25 +00:00
Michael Ow
97a208abfe ICU-6132 Check for null pointer in clone() before dereferencing.
X-SVN-Rev: 23190
2008-01-09 17:30:59 +00:00
Michael Ow
08c3d75a2c ICU-6132 Check for ICULocaleService null pointer after getService call.
X-SVN-Rev: 23189
2008-01-09 05:42:43 +00:00
Michael Ow
1d33bc7268 ICU-6132 Check for null pointer in AnyTransliterator constructors.
X-SVN-Rev: 23188
2008-01-09 04:40:16 +00:00
Eric Mader
eeaec865a4 ICU-4384 Remove C++ comments from C code.
X-SVN-Rev: 23187
2008-01-09 00:54:11 +00:00
Lloyd Honomichl
954b20fce6 ICU-6013 Added checks for buffer overflows
X-SVN-Rev: 23186
2008-01-09 00:04:19 +00:00
Michael Ow
c80e40dcb9 ICU-4384 Handle malloc error issue in new parsing code.
X-SVN-Rev: 23185
2008-01-08 23:42:53 +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
Michael Ow
e6bd9614f4 ICU-4384 Update the comments in *snprintf* declarations to reflect the change in the return value.
X-SVN-Rev: 23183
2008-01-08 21:58:51 +00:00
George Rhoten
9b82688642 ICU-6125 Eliminate a few kilobytes of unused bits in constant data structures.
X-SVN-Rev: 23182
2008-01-08 09:45:15 +00:00
George Rhoten
1d64a7d5b4 ICU-6125 Mark more data constant.
X-SVN-Rev: 23181
2008-01-08 03:46:30 +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
George Rhoten
31500a228b ICU-6126 Handle STROKE and PINYIN variants more consistently.
X-SVN-Rev: 23179
2008-01-07 20:07:39 +00:00
George Rhoten
627e666a35 ICU-6125 Reduce writable memory so that more of the data can be shared between processes.
X-SVN-Rev: 23178
2008-01-06 07:46:45 +00:00
George Rhoten
82b85fb45c ICU-6118 Remove the @internal functions ucol_collatorToIdentifier, ucol_openFromIdentifier, ucol_identifierToShortString and ucol_shortStringToIdentifier (not used by original customer and their data is out of date).
Remove some references to unused internal header references.
Make some functions library private.

X-SVN-Rev: 23177
2008-01-05 01:27:56 +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
Steven R. Loomis
2ea08731e3 ICU-6018 remove test verbosity
X-SVN-Rev: 23175
2008-01-04 20:11:50 +00:00
George Rhoten
2318f11693 ICU-6123 On HP-UX, zh_HK.big5 uses a different charmap from zh_TW.big5
X-SVN-Rev: 23174
2008-01-04 17:34:02 +00:00
George Rhoten
c05bd41d42 ICU-6118 Export less internal API.
X-SVN-Rev: 23173
2008-01-04 08:45:10 +00:00
George Rhoten
49763cd5c8 ICU-5386 Rehide debugging functions
X-SVN-Rev: 23172
2008-01-04 08:42: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
Steven R. Loomis
0921f9727a ICU-6018 relative date and test failures
X-SVN-Rev: 23166
2008-01-04 01:21:37 +00:00
Steven R. Loomis
f5997fb476 ICU-6122 Fake Time support
X-SVN-Rev: 23165
2008-01-04 01:05:15 +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
George Rhoten
977716d034 ICU-5955 Move variable to bss section by initializing it to 0
X-SVN-Rev: 23160
2008-01-03 10:10:15 +00:00
George Rhoten
271c9f4f42 ICU-6112 Initialize variable properly when using performance tests
X-SVN-Rev: 23159
2008-01-03 10:09:12 +00:00
George Rhoten
dd845e9520 ICU-5955 Mark data const
X-SVN-Rev: 23158
2008-01-03 10:07:47 +00:00
George Rhoten
13c6adb8cb ICU-6112 Eliminate the __common section in the __DATA segment on Mac OS X
X-SVN-Rev: 23157
2008-01-03 08:33:25 +00:00
Claire Ho
307a3f8307 ICU-6104 fixed the inconsistent behavior of DateTimePatternGen between ICU4C and ICU4J.
X-SVN-Rev: 23156
2008-01-03 01:40:16 +00:00
George Rhoten
7490278152 ICU-6118 Export less internal API.
X-SVN-Rev: 23155
2008-01-02 23:53:26 +00:00
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