Commit Graph

20336 Commits

Author SHA1 Message Date
George Rhoten
c72d3c93e8 ICU-5966 Remove the Visual C++ 2008 linker warning about Windows 98 optimization option. It wasn't needed that much anyway.
X-SVN-Rev: 23362
2008-02-07 10:05:26 +00:00
George Rhoten
362ec45cca ICU-6125 Turn multiple consts into one enum.
X-SVN-Rev: 23361
2008-02-07 09:33:26 +00:00
George Rhoten
4149802897 ICU-6125 Turn multiple consts into one enum.
X-SVN-Rev: 23360
2008-02-07 09:26:30 +00:00
George Rhoten
80a0a83781 ICU-5966 Fix a Visual C++ 2008 compiler warning in debug mode
X-SVN-Rev: 23359
2008-02-07 09:21:17 +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
ba7bd65b8f ICU-5561 Added another version of getCanonicalID which tells you if the given ID is a system timezon in C++. Updated ucal_getCanonicalTimeZone to support the feature as well.
X-SVN-Rev: 23354
2008-02-05 19:14:43 +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
Andrew J Macheret
7a0b18985e ICU-5491 fixed a problem with negative multipliers, added tests for it
X-SVN-Rev: 23351
2008-02-05 04:25:48 +00:00
George Rhoten
00e3cac87e ICU-6170 Update Unicode CCSIDs.
X-SVN-Rev: 23349
2008-02-04 17:38:38 +00:00
George Rhoten
1924e04190 ICU-5999 Remove gsm-03.38 because the tests already pass without it. See ticket for details.
X-SVN-Rev: 23348
2008-02-04 17:28:42 +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
George Rhoten
1565c2fcba ICU-6165 Test reading past the end of a buffer a little more. Speed up some code. Format some code for easier code review.
X-SVN-Rev: 23342
2008-02-01 10:34:40 +00:00
George Rhoten
d170952252 ICU-6165 Prevent a reading past the end of a buffer.
X-SVN-Rev: 23340
2008-02-01 07:08:13 +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
8fb3ca2b9a ICU-6164 Make sure that when the ICU libraries are installed, the executable permissions are not accidentally removed.
X-SVN-Rev: 23331
2008-01-30 00:38:05 +00:00
Claire Ho
f4fc45903a ICU-5794 modify the code not using mutex pool.
X-SVN-Rev: 23316
2008-01-25 18:54:43 +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
Michael Ow
573400e72a ICU-5684 Add test case for parsing 'Y' and 'e'.
X-SVN-Rev: 23305
2008-01-24 21:19:51 +00:00
Michael Ow
b618ac2319 ICU-5684 Update API doc and add to NUMERIC_FORMAT_CHARS 'Y' and 'e'.
X-SVN-Rev: 23304
2008-01-24 20:58:00 +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
George Rhoten
5c86e2f7ae ICU-5955 SubFormat should derive from UMemory.
X-SVN-Rev: 23301
2008-01-24 03:51:26 +00:00
Yoshito Umaoka
873d3f5b19 ICU-5561 Adding new C++ API TimeZone::getCanonicalID and its C corresponding. Added test cases for the new API. Cleaned up ZoneMeta class.
X-SVN-Rev: 23299
2008-01-23 23:47:13 +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
Claire Ho
fa5370e6b5 ICU-6152 fixed the memory leak.
X-SVN-Rev: 23294
2008-01-23 02:19:25 +00:00
George Rhoten
8ff289e527 ICU-5966 Fix some HP compiler warnings.
X-SVN-Rev: 23291
2008-01-22 21:15:14 +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
George Rhoten
71acb27670 ICU-5794 The mutex pool was exhausted due to recent changes. Work around
this problem by increasing the pool of mutexes to 40. See Ticket #4016 for
the real solution.

X-SVN-Rev: 23288
2008-01-22 18:56:45 +00:00
Michael Ow
2ed2733b76 ICU-6132 Add bogus state to UnicodeSet to indicate such errors as memory allocation error.
X-SVN-Rev: 23287
2008-01-22 17:46:22 +00:00
George Rhoten
5391e72e09 ICU-6153 Fix for Windows versus non-Windows differences.
X-SVN-Rev: 23285
2008-01-22 00:11:43 +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
George Rhoten
559e5f9f7c ICU-6153 Fix for Windows versus non-Windows differences.
X-SVN-Rev: 23282
2008-01-21 22:52:48 +00:00
George Rhoten
713f3b91a8 ICU-5794 Fix for non-Intel machines and fix Solaris compiler warnings.
X-SVN-Rev: 23281
2008-01-21 22:38:52 +00:00
George Rhoten
ec68039564 ICU-5794 Fix for non-Intel machines and fix Solaris compiler warnings.
X-SVN-Rev: 23280
2008-01-21 21:51:09 +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
George Rhoten
a74869abf6 ICU-5955 Fix a few crashes under error conditions.
X-SVN-Rev: 23277
2008-01-21 17:35:02 +00:00
George Rhoten
e8e7c73d8a ICU-6153 Prevent crash for large ChoiceFormat values by using the correct printf specification.
X-SVN-Rev: 23276
2008-01-21 17:27:53 +00:00
George Rhoten
4999616984 ICU-6090 Remove broken compiler warnings.
X-SVN-Rev: 23275
2008-01-20 19:11:49 +00:00
Claire Ho
89fd440ebc ICU-5794 1. Fixed warnings. 2. Add mutex for hash table read. 3. Add more comments.
X-SVN-Rev: 23274
2008-01-20 02:30:30 +00:00
Michael Ow
fdf0256d94 ICU-6132 Add null pointer check in prefixLength and allIgnorable.
X-SVN-Rev: 23273
2008-01-20 01:39:16 +00:00
Michael Ow
8e6b5ca8f1 ICU-6132 Add memory check in ucbuf.c.
X-SVN-Rev: 23271
2008-01-19 00:30:28 +00:00
Michael Ow
02df5f103d ICU-6132 Add null pointer check and memory leak avoidance measures to rbbinode.cpp and rbbirb.cpp.
X-SVN-Rev: 23270
2008-01-19 00:09:54 +00:00
Michael Ow
44ee923138 ICU-6132 Add check in parseCurrency and registerFactory for null pointer.
X-SVN-Rev: 23267
2008-01-17 23:16:29 +00:00
Michael Ow
d4081eab27 ICU-6132 Set the retMatcher's status to the correct error code.
X-SVN-Rev: 23266
2008-01-17 22:57:16 +00:00
Michael Ow
f95265173e ICU-6132 Fixed misspelling of error code.
X-SVN-Rev: 23265
2008-01-17 22:51:54 +00:00
Michael Ow
7f7c4f490a ICU-6132 Add memory check in constructor and copy constructor.
X-SVN-Rev: 23264
2008-01-17 22:51:00 +00:00