Commit Graph

4330 Commits

Author SHA1 Message Date
George Rhoten
b62b973812 ICU-6132 Fix a bug found while flushing a cache.
X-SVN-Rev: 23407
2008-02-09 20:48:31 +00:00
George Rhoten
0885eb2149 ICU-6132 Reduce large allocations
X-SVN-Rev: 23406
2008-02-09 00:50:08 +00:00
George Rhoten
6fd29e25c7 ICU-6132 Recover from allocation errors more gracefully.
X-SVN-Rev: 23399
2008-02-08 09:10:22 +00:00
George Rhoten
3daa4c96d4 ICU-6132 Recover from allocation errors more gracefully.
X-SVN-Rev: 23398
2008-02-08 08:21:32 +00:00
George Rhoten
d097ddcfd4 ICU-6132 Recover from memory failures.
X-SVN-Rev: 23396
2008-02-08 07:04:16 +00:00
George Rhoten
c5e89166c8 ICU-6132 Recover from allocation errors.
X-SVN-Rev: 23395
2008-02-08 06:19:48 +00:00
George Rhoten
ffcb7ce01a ICU-6132 Recover from various hash table allocation errors.
X-SVN-Rev: 23394
2008-02-08 03:42:40 +00:00
George Rhoten
9ad6ca1462 ICU-6132 Verify UnicodeSet bogus state is handled without crashing
X-SVN-Rev: 23393
2008-02-08 03:39:40 +00:00
George Rhoten
4ab435ccc8 ICU-5965 Comment out unused special purpose code due to previous changes under this ticket.
X-SVN-Rev: 23372
2008-02-07 22:24:27 +00:00
George Rhoten
4be82b37e9 ICU-5966 Fix some Intel compiler warnings
X-SVN-Rev: 23364
2008-02-07 17:32:07 +00:00
George Rhoten
0b7ae18ded ICU-5966 Fix some Visual C++ 2003 compiler warnings
X-SVN-Rev: 23363
2008-02-07 17:19:23 +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
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
George Rhoten
8ff289e527 ICU-5966 Fix some HP compiler warnings.
X-SVN-Rev: 23291
2008-01-22 21:15:14 +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
4999616984 ICU-6090 Remove broken compiler warnings.
X-SVN-Rev: 23275
2008-01-20 19:11:49 +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
15b23ccd3f ICU-6132 Check for memory allocation error in setText(UText).
X-SVN-Rev: 23260
2008-01-17 18:49:28 +00:00
Michael Ow
6c61aa48a8 ICU-6132 Move declaration of tempstr to beginning of function.
X-SVN-Rev: 23259
2008-01-17 18:07:16 +00:00
Michael Ow
752767bf9d ICU-6132 Add return NULL for memory allocation error in ures_getVersionNumber.
X-SVN-Rev: 23258
2008-01-17 17:58:02 +00:00
Michael Ow
fc445e22ef ICU-6132 Add check after new for memory allocation failure in util.cpp.
X-SVN-Rev: 23255
2008-01-16 23:19:25 +00:00
Michael Ow
a209799b48 ICU-6132 Add various memory allocation error checks to uprntf_p.c, uresbund.c, ustdio.c, and usearch.cpp.
X-SVN-Rev: 23254
2008-01-16 23:16:41 +00:00
Michael Ow
4667cbc378 ICU-6132 Check null pointer before dereferencing in unesctrn, unistr, and unum.
X-SVN-Rev: 23253
2008-01-16 22:58:59 +00:00
Michael Ow
5e72fa288d ICU-6132 Add code to check for memory allocation error and memory leaks in udata.c, uloc.c, and ufile.c.
X-SVN-Rev: 23252
2008-01-16 22:24:05 +00:00
Michael Ow
d717772bbd ICU-6132 If locale could not be created, return default one.
X-SVN-Rev: 23236
2008-01-14 23:30:51 +00:00
Michael Ow
46eb0f1212 ICU-6132 Add memory allocation check to rbbiset.cpp.
X-SVN-Rev: 23227
2008-01-14 20:10:23 +00:00
Michael Ow
80d1db6517 ICU-6132 Check for null pointer and add goto label at the end to remove all allocated memory in the event of an error.
X-SVN-Rev: 23226
2008-01-14 20:04:33 +00:00
Michael Ow
d6daed3088 ICU-6132 Check memory leak and null pointers rbbiscan.cpp.
X-SVN-Rev: 23225
2008-01-14 19:26:43 +00:00
Michael Ow
1aef673644 ICU-6132 Ensure that factories and fLanguageBreakEngines are created before dereferencing.
X-SVN-Rev: 23224
2008-01-14 18:52:26 +00:00
Michael Ow
7bdbf4cd39 ICU-6132 Check for malloc failure before strcpy in u_setDataDirectory and *getDefaultLocaleID.
X-SVN-Rev: 23222
2008-01-14 18:27:21 +00:00
Michael Ow
3edc99506c ICU-6132 Check for memory allocation failures.
X-SVN-Rev: 23209
2008-01-11 20:56:55 +00:00
Michael Ow
0b6146f394 ICU-6132 Change status error code.
X-SVN-Rev: 23199
2008-01-09 23:18:58 +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
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
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
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
Steven R. Loomis
f5997fb476 ICU-6122 Fake Time support
X-SVN-Rev: 23165
2008-01-04 01:05:15 +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
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
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
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
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
Claire Ho
c11cd154da ICU-5794 merge from feature branch.
X-SVN-Rev: 23095
2007-12-17 01:39:55 +00:00
George Rhoten
1725c5899a ICU-6076 Fix some allocation issues.
X-SVN-Rev: 23087
2007-12-14 10:17:12 +00:00
George Rhoten
6112b5685d ICU-6076 Fix some realloc issues.
X-SVN-Rev: 23086
2007-12-14 09:23:07 +00:00
George Rhoten
9e018fe33b ICU-6098 Update to ICU 3.9.1
X-SVN-Rev: 23083
2007-12-14 02:13:33 +00:00
George Rhoten
09759f76f5 ICU-6098 Update to ICU 3.9.1
X-SVN-Rev: 23078
2007-12-13 21:37:23 +00:00
Andy Heninger
67e296e813 ICU-5386 Regular Expressions update, improved Java 1.5 compatibility. svn merge -r 22747:23061 from branches/andy/regex
X-SVN-Rev: 23063
2007-12-11 21:30:10 +00:00
Markus Scherer
2c15ef3b5c ICU-6071 test and fix BMP-SBCS 1:2 and 2:1 conversions
X-SVN-Rev: 23041
2007-12-07 05:34:26 +00:00
George Rhoten
42b8c8fe7d ICU-6054 Add comments on when remapPlatformDependentCodepage should be modified.
X-SVN-Rev: 23007
2007-12-04 16:44:36 +00:00
George Rhoten
1d1a2181e5 ICU-6054 Remap ambiguous EUC alias, and add sun_eu_greek alias.
X-SVN-Rev: 23006
2007-12-04 16:36:03 +00:00
Yoshito Umaoka
7e51ed7330 ICU-5990 Merging time zone formatting/parsing changes from yoshito's working branch to the trunk.
X-SVN-Rev: 22978
2007-11-28 20:49:58 +00:00
Matitiahu Allouche
bd833a37f2 ICU-6032 fix the bug for ICU4C.
X-SVN-Rev: 22957
2007-11-22 15:52:32 +00:00
George Rhoten
c4849a6107 ICU-6010 ISO-3166 update
X-SVN-Rev: 22884
2007-11-04 00:06:32 +00:00
David Bertoni
233ddab1bc ICU-5891 Updates per code review. Also added new data-driven test case.
X-SVN-Rev: 22861
2007-10-26 20:57:56 +00:00
Markus Scherer
295dc24d64 ICU-5987 merge small-conversion-file feature into trunk, from svn merge -r 22780:22805 .../branches/markus/smallcnv
X-SVN-Rev: 22852
2007-10-25 17:05:36 +00:00
Markus Scherer
b69ac49696 ICU-6002 fix constant expressions for c number parsing (see gcc Bugzilla bug 3885)
X-SVN-Rev: 22851
2007-10-25 16:36:50 +00:00
Markus Scherer
49868a5a68 ICU-6001 fix ucnv_getUnicodeSet(LMBCS)
X-SVN-Rev: 22850
2007-10-25 05:17:43 +00:00
Markus Scherer
b90b809ea1 ICU-6002 HZ: restrict byte values and fix various bugs
X-SVN-Rev: 22849
2007-10-25 05:03:34 +00:00
Markus Scherer
31b85e745d ICU-6001 UCNV_ROUNDTRIP_AND_FALLBACK_SET for ucnv_getUnicodeSet(); improve set filtering; fix some bugs
X-SVN-Rev: 22847
2007-10-24 21:15:41 +00:00
Markus Scherer
c2b52dbe07 ICU-5999 add gsm-03.38 to ucnv_isAmbiguous()
X-SVN-Rev: 22830
2007-10-22 19:07:34 +00:00
Jennifer Chye
65a89b4075 ICU-5797 fix gcc compile error with previous change
X-SVN-Rev: 22779
2007-10-11 23:43:02 +00:00
Markus Scherer
cc36611b2f ICU-5797 use Shift-JIS table for ISO 2022-JP, and hardcode JIS X 0201 mappings
X-SVN-Rev: 22772
2007-10-11 21:31:32 +00:00
Markus Scherer
a5ab4206d7 ICU-5835 add forward declaration before friend declaration, for standard-conformant C++ compilers
X-SVN-Rev: 22742
2007-10-03 20:59:45 +00:00
Markus Scherer
92992780d1 ICU-5835 add friend declaration for the union to see US_STACKBUF_SIZE, for standard-conformant C++ compilers
X-SVN-Rev: 22741
2007-10-03 19:18:52 +00:00
George Rhoten
9d21e44d93 ICU-5847 Fix copyright change.
X-SVN-Rev: 22737
2007-10-02 21:24:38 +00:00
Markus Scherer
13270fbe6f ICU-5835 optimize UnicodeString: increase US_STACKBUF_SIZE from 7 to 13; optimize append() and unescape()
X-SVN-Rev: 22718
2007-09-28 04:50:25 +00:00
Deborah Goldsmith
a8649df443 ICU-5847 Add support for U_ICU_VERSION_BUILDLEVEL_NUM
X-SVN-Rev: 22716
2007-09-27 00:05:18 +00:00
David Bertoni
65457ffe5b ICU-5891 Implementation of CSS2 escaping.
X-SVN-Rev: 22703
2007-09-19 16:45:00 +00:00
George Rhoten
ef610fe831 ICU-5821 Fix for i5/OS optimization. Use the standard RTTI macros in ICU.
X-SVN-Rev: 22671
2007-09-13 21:53:18 +00:00
George Rhoten
02deecc34f ICU-5932 Fix a namespace issue.
X-SVN-Rev: 22670
2007-09-13 21:38:41 +00:00
George Rhoten
c976c8916f ICU-5695 Add TODO comment about using the global mutex.
X-SVN-Rev: 22656
2007-09-12 03:53:13 +00:00
George Rhoten
93b3ad0a4f ICU-5889 Change unusual looking code with more standard looking code that doesn't trigger warnings.
X-SVN-Rev: 22620
2007-09-05 15:24:21 +00:00
Markus Scherer
7bb221a187 ICU-5869 revert changes (r22476); too risky and needs further discussion; see ticket reply
X-SVN-Rev: 22607
2007-08-31 19:39:14 +00:00
George Rhoten
f3084b1f1b ICU-5889 Fix some logic errors uncovered by BEAM.
X-SVN-Rev: 22592
2007-08-31 04:58:52 +00:00
Markus Scherer
aa5179f4bb ICU-5483 add comments and named constants
X-SVN-Rev: 22581
2007-08-30 23:35:19 +00:00
George Rhoten
ffc55edf36 ICU-4894 Improve U_MAX_PTR for i5/OS.
X-SVN-Rev: 22578
2007-08-30 22:17:58 +00:00
George Rhoten
bb7d638032 ICU-5445 Readd removed comment.
X-SVN-Rev: 22576
2007-08-30 08:57:44 +00:00
George Rhoten
74753784d1 ICU-5445 Fix some compiler warnings (remove duplicate enum values).
X-SVN-Rev: 22575
2007-08-30 08:56:24 +00:00
George Rhoten
967b65a458 ICU-5889 Fix some logic errors uncovered by BEAM.
X-SVN-Rev: 22558
2007-08-29 02:57:42 +00:00
Eric Mader
4b742e1c2b ICU-5826 Add new zone mappings from supplimentalData.txt.
X-SVN-Rev: 22552
2007-08-28 18:59:45 +00:00
George Rhoten
bb5b47080c ICU-5876 Undo last two changes. They don't work.
X-SVN-Rev: 22540
2007-08-27 08:16:06 +00:00
George Rhoten
21469d8e4e ICU-5876 Try out making ISO-8859-1 the default for the C locale on Solaris.
X-SVN-Rev: 22539
2007-08-27 07:13:39 +00:00
Markus Scherer
e6e3075392 ICU-5481 add details to ucnv_setFallback documentation
X-SVN-Rev: 22526
2007-08-24 19:49:03 +00:00
Markus Scherer
5c0d9c0174 ICU-5724 fix comments for return values from uidna_ transformation functions
X-SVN-Rev: 22525
2007-08-24 19:40:10 +00:00
Markus Scherer
3c79dc08b7 ICU-4613 fix minor UnicodeString's compareCodePointOrder doc glitch
X-SVN-Rev: 22524
2007-08-24 19:27:03 +00:00
George Rhoten
f25e7216cb ICU-5876 Try out making ISO-8859-1 the default for the C locale on Solaris.
X-SVN-Rev: 22515
2007-08-24 16:51:17 +00:00
Markus Scherer
a3a0e304bb ICU-4494 fix ucnv_convertEx() doc sample, don't use sourceLimit=NULL
X-SVN-Rev: 22513
2007-08-24 16:39:15 +00:00
Markus Scherer
0edc6125a1 ICU-4274 document that source and result buffers must not overlap
X-SVN-Rev: 22511
2007-08-24 16:28:39 +00:00
Andy Heninger
50747fb60c ICU-5766 removed comment referring to Extended Graphem Clusters, which should have been removed along with the rest of the XGC API.
X-SVN-Rev: 22510
2007-08-24 16:24:58 +00:00
George Rhoten
63a695293c ICU-5447 Performance optimization change due to new unused tables listed in the alias table.
X-SVN-Rev: 22509
2007-08-24 09:44:10 +00:00
George Rhoten
76a99ee0e0 ICU-5447 Allow tests to pass with additional data.
X-SVN-Rev: 22508
2007-08-24 09:42:49 +00:00
Markus Scherer
a5af7ed95a ICU-5483 prevent a later fallback-from-PUA (which is not turned off via useFallback) to overwrite an earlier one
X-SVN-Rev: 22499
2007-08-23 23:43:03 +00:00
Markus Scherer
8feadc68d4 ICU-5585 set limit when reaching the end of the inversion list
X-SVN-Rev: 22496
2007-08-23 22:13:10 +00:00