Commit Graph

4497 Commits

Author SHA1 Message Date
Michael Ow
85121155a5 ICU-5944 Remove unneeded free function and use struct and static array.
X-SVN-Rev: 24803
2008-10-14 21:46:58 +00:00
Andy Heninger
a9dee48073 ICU-6584 Fix errors in API docs for UnicodeSetIterator
X-SVN-Rev: 24802
2008-10-14 21:23:53 +00:00
Markus Scherer
874efe9fbd ICU-5691 comment out no-longer-needed function
X-SVN-Rev: 24778
2008-10-10 18:16:02 +00:00
Markus Scherer
c801506d5d ICU-5691 stop illegal HZ tilde sequences before the first byte that could start a new character
X-SVN-Rev: 24773
2008-10-10 16:30:28 +00:00
Markus Scherer
e10cfeebfe ICU-5691 minor bug fix
X-SVN-Rev: 24770
2008-10-10 06:01:08 +00:00
Markus Scherer
b6b3273af0 ICU-5691 stop illegal ISO-2022 escape/shift sequences before the first byte that could start a new character
X-SVN-Rev: 24769
2008-10-10 06:00:27 +00:00
Jason Spieth
c712edec79 ICU-6193 Commit changes to trunk via manual edit
X-SVN-Rev: 24740
2008-10-07 15:40:37 +00:00
Markus Scherer
acd74a93d1 ICU-5691 stop illegal sequences before the first byte that could start a new character; in MBCS, DBCS, ISO-2022, HZ; also make ISO-2022-KR strictly check for validity
X-SVN-Rev: 24733
2008-10-07 04:33:51 +00:00
Michael Ow
6e33806beb ICU-5944 Read 512 bytes at a time when comparing tzfiles and use stack array for buffer to avoid excessive mallocs and frees.
X-SVN-Rev: 24725
2008-10-06 17:38:07 +00:00
Andy Heninger
7b405b40af ICU-6567 Fix some compiler warnings
X-SVN-Rev: 24715
2008-10-03 20:30:55 +00:00
Steven R. Loomis
09af16f87e ICU-6557 fix more C/C++ function confusion
X-SVN-Rev: 24702
2008-10-02 20:20:10 +00:00
Yoshito Umaoka
27305576ac ICU-6554 Fix a compilation error on Windows introduced by the previous change.
X-SVN-Rev: 24700
2008-10-02 14:44:44 +00:00
Michael Ow
f904dc9003 ICU-6554 Add releasing of allocated memory when uprv_tzname is called.
X-SVN-Rev: 24698
2008-10-01 21:17:55 +00:00
Michael Ow
13b807cf6f ICU-6412 Remove some unused variables.
X-SVN-Rev: 24692
2008-10-01 15:39:27 +00:00
Michael Ow
9d289d4570 ICU-6554 Implement proper freeing of allocated memory to avoid memory leak.
X-SVN-Rev: 24691
2008-10-01 14:14:13 +00:00
Michael Ow
715a5f50cb ICU-5944 Use static array and variables when possible to avoid excessive mallocs and memory allocations.
X-SVN-Rev: 24690
2008-10-01 14:11:08 +00:00
Steven R. Loomis
c68132d733 ICU-6552 down to 16 errors/warnings in doxygen
X-SVN-Rev: 24687
2008-10-01 01:24:46 +00:00
Yoshito Umaoka
de92282fee ICU-6207 Cleaned up unused code. Minor improvements.
X-SVN-Rev: 24682
2008-09-30 19:18:59 +00:00
Steven R. Loomis
0e7646b347 ICU-6552 reduce a lot of doxygen errs, improve output docs
X-SVN-Rev: 24668
2008-09-27 01:12:32 +00:00
Steven R. Loomis
2145eb11be ICU-6551 reduce use of common words in rename.
X-SVN-Rev: 24652
2008-09-25 20:24:14 +00:00
Steven R. Loomis
b4dda4cc2d ICU-6416 ICU4C version change to 4.1.2 and urename for 41
X-SVN-Rev: 24649
2008-09-25 19:41:32 +00:00
Michael Ow
22bd73be8d ICU-5944 Make internally used functions static to avoid renaming.
X-SVN-Rev: 24648
2008-09-25 19:04:27 +00:00
Peter Edberg
d08940016b ICU-5858 Add constructors for RuleBasedBreakIterator and RBBIDataWrapper
that take RBBIDataHeader* but do not adopt it.

X-SVN-Rev: 24641
2008-09-25 05:48:27 +00:00
Peter Edberg
5173db6231 ICU-6543 if U_DARWIN, initGlobalMutex shouldn't call pthread_mutex_init for gMutexes[i]
X-SVN-Rev: 24614
2008-09-19 22:09:49 +00:00
Michael Ow
08e67ed3a7 ICU-6412 Make certain variables and functions static to avoid it being exported.
X-SVN-Rev: 24608
2008-09-19 18:46:50 +00:00
Steven R. Loomis
da3b9a1d29 ICU-6515 fix genbrk memory overrun (contributed patch)
X-SVN-Rev: 24602
2008-09-18 23:17:37 +00:00
Steven R. Loomis
c1061097ec ICU-6528 allow U_HAVE_MMAP to be overridden going into platform.h (and some other #defines)
X-SVN-Rev: 24600
2008-09-18 23:05:30 +00:00
Michael Ow
eac717e1df ICU-6207 Disable getting windows timezone information from static tables. Use resource bundles and TimeZone and Calendar API to get needed timezone information. Create a new file in i18n to allow access to TimeZone and Calendar API. Update subsequent files to use new wintzimpl.h API.
X-SVN-Rev: 24594
2008-09-18 21:13:52 +00:00
Michael Ow
5097c3c3c1 ICU-5944 Only search through system timezone on certain platforms.
X-SVN-Rev: 24582
2008-09-16 16:49:33 +00:00
Michael Ow
8a988660e0 ICU-5944 Add check for dirent.h header in configure.
X-SVN-Rev: 24581
2008-09-16 15:49:08 +00:00
Steven R. Loomis
ae006657a6 ICU-6535 fix bugs in test code
X-SVN-Rev: 24571
2008-09-15 19:36:19 +00:00
Michael Ow
3f28436823 ICU-5944 Use the dirent api to search and compare the tz files on the system to find the correct timezone when the localtime is not a symlink.
X-SVN-Rev: 24544
2008-09-03 22:15:18 +00:00
Markus Scherer
8d40f30202 ICU-6521 add utrie_enum() test data, improve utrie_enum() performance for 16-bit tries
X-SVN-Rev: 24536
2008-09-01 11:45:56 +00:00
Michael Ow
16cea7af89 ICU-6363 Move remapping of CP949 to platform specific area.
X-SVN-Rev: 24529
2008-08-27 19:21:22 +00:00
Michael Ow
7fbc9e40fa ICU-6363 Remap CP949 to handle \5c round tripping.
X-SVN-Rev: 24524
2008-08-26 20:32:18 +00:00
Michael Ow
0895d6cef5 ICU-4543 Move the check for GCC to compile time and add the deprecated attribute to Visual Studio builds.
X-SVN-Rev: 24506
2008-08-15 21:53:53 +00:00
Michael Ow
8215ce1d1d ICU-4543 Fix some compilation error on various platforms due to adding of new GCC attribute.
X-SVN-Rev: 24501
2008-08-15 15:30:24 +00:00
Michael Ow
957ee4bc54 ICU-4543 Remove GCC attribute for now.
X-SVN-Rev: 24500
2008-08-14 22:43:51 +00:00
Michael Ow
8950721fa1 ICU-4543 Add gcc deprecated attribute to give a warning when using deprecated functions.
X-SVN-Rev: 24497
2008-08-14 19:51:09 +00:00
Michael Ow
1215abdc6d ICU-6307 Merge update of Visual Studio project and solution files with addition of x64 platform build option. Update readme.html for Windows build change.
X-SVN-Rev: 24487
2008-08-12 04:41:41 +00:00
Steven R. Loomis
97bb5f74b7 ICU-6416 move ICU version number for win32 libraries, to 41 from 40
X-SVN-Rev: 24458
2008-08-06 23:31:25 +00:00
David Bertoni
cba0fb208e ICU-6453 Updated Visual Studio project files. Fixed C++ comments in C source files. Fixed stack-overwrite bug.
X-SVN-Rev: 24455
2008-08-06 21:34:53 +00:00
Andy Heninger
a5abce6673 ICU-6477 C++ // comment in plain C file fixed
X-SVN-Rev: 24453
2008-08-06 21:07:00 +00:00
Steven R. Loomis
587e129139 ICU-6416 move version to 4.1.1
X-SVN-Rev: 24447
2008-08-06 00:51:42 +00:00
Michael Ow
3d1a4a3fce ICU-6307 Undo previous commit. Due to unexpected and unforeseen build failure.
X-SVN-Rev: 24444
2008-08-05 22:15:46 +00:00
Michael Ow
e20dbc5d8a ICU-6307 Add platform x64 to Visual Studio solution. Build directory will now reflect this change with x86 for 32 bit and x64 for 64 bit. lib64 and bin64 have also been added for x64 platform.
X-SVN-Rev: 24443
2008-08-05 21:08:59 +00:00
Andy Heninger
0c2a587a9c ICU-6480 clean up UMTX_CHECK usage in lazy init
X-SVN-Rev: 24439
2008-08-05 00:09:13 +00:00
Andy Heninger
ecdc0463b8 ICU-6453 Encoding Selection moved from development branch.
X-SVN-Rev: 24438
2008-08-04 21:56:02 +00:00
Matitiahu Allouche
4cad45383c ICU-6478 clarify use of embeddingLevels argument for ubidi_setPara()
X-SVN-Rev: 24437
2008-08-03 08:21:32 +00:00
Andy Heninger
22c5468db2 ICU-6477 Fix thread safety problem in converter initialization
X-SVN-Rev: 24436
2008-08-03 05:09:13 +00:00
Michael Ow
4b0d511fa3 ICU-6412 Remove unread local variables and explicitly cast UChar to uint8_t where needed.
X-SVN-Rev: 24435
2008-08-01 20:39:15 +00:00
Michael Ow
07d1ffaaee ICU-6457 Handle the erroneous situation of when uloc_getDisplayName/Language is called and a string of numbers is given. Add test to this fix.
X-SVN-Rev: 24428
2008-07-31 20:25:07 +00:00
Steven R. Loomis
fa50d4a3b2 ICU-6435 fix bad 4.0 tags. Re-do r23962 as stable 3.8 instead of stable 4.0.
X-SVN-Rev: 24395
2008-07-21 18:57:26 +00:00
Michael Ow
a684042a13 ICU-6412 Change temp type to uint32_t to resolve gcc warning.
X-SVN-Rev: 24378
2008-07-14 21:02:36 +00:00
Michael Ow
0909ccea4d ICU-6365 Only write the language code after a linefeed if there are more characters after the linefeed. Update data driven test to check for this.
X-SVN-Rev: 24344
2008-07-03 15:27:12 +00:00
Michael Ow
211918b3cf ICU-6259 Implement Unicode Technical Note 30 concerning proper Gurmukhi conversion for Bindi and Tippi, Consonant Clusters, and Gurmukhi Rra. The change has been implemented in both ICU4C and ICU4J and data driven test have been included. Changing other test data for iscii-gur was also done to comply with this technical note.
X-SVN-Rev: 24326
2008-07-01 17:52:51 +00:00
Steven R. Loomis
3bb050aba0 ICU-6404 last header changes
X-SVN-Rev: 24318
2008-06-28 07:08:51 +00:00
Steven R. Loomis
94def7a6a8 ICU-6098 udraft.h
X-SVN-Rev: 24275
2008-06-23 20:01:35 +00:00
Steven R. Loomis
a00a971eea ICU-6297 fixup doxygen tags
X-SVN-Rev: 24246
2008-06-20 00:42:38 +00:00
Michael Ow
9ef387262f ICU-6358 Convert ISO-2022-JP 2 byte code point to GR94DBCS when decoding if neccessary. Add data driven test this fix.
X-SVN-Rev: 24245
2008-06-19 22:13:34 +00:00
David Bertoni
17ad04d1f4 ICU-6342 Added new resource files, updated makefiles, updated code for new resources, and fixed tests to reflect new data.
X-SVN-Rev: 24225
2008-06-18 16:53:06 +00:00
Andy Heninger
e829b2f593 ICU-4790 retract uspoof.h, not ready in time for icu 4.0
X-SVN-Rev: 24220
2008-06-18 03:32:44 +00:00
Claire Ho
81ac0f67a6 ICU-6356 Fixed the coredump for c tests running without data files.
X-SVN-Rev: 24211
2008-06-17 22:27:18 +00:00
Xiaomei Ji
0ad3aff9b2 ICU-6157 update after 1st round code review
X-SVN-Rev: 24200
2008-06-16 22:32:36 +00:00
John Emmons
ddcb89888d ICU-5219 Dutch IJ Titlecasing
X-SVN-Rev: 24178
2008-06-13 21:07:07 +00:00
Michael Ow
ea01edb0ea ICU-6319 Correct handling of spaces for Thai line break iterator and add test.
X-SVN-Rev: 24173
2008-06-13 19:21:12 +00:00
Steven R. Loomis
d59b5c5e4c ICU-6344 uconfigtest / hdrtest fixes
X-SVN-Rev: 24157
2008-06-11 21:52:29 +00:00
Yoshito Umaoka
f8c67856cc ICU-6340 Updated Windows tzid/Olson mapping in wintz.c - equivalent to CLDR 1.6.
X-SVN-Rev: 24149
2008-06-11 06:03:21 +00:00
Steven R. Loomis
7216ba9dfa ICU-6098 update to versioning and urename
X-SVN-Rev: 24121
2008-06-06 21:45:33 +00:00
Steven R. Loomis
607c301b0d ICU-6124 make likely_subtags symbol private
X-SVN-Rev: 24118
2008-06-06 20:58:52 +00:00
Matitiahu Allouche
efb8490628 ICU-6156 performance improvement: when dynamic memory needs change, never reallocate to smaller area; reallocate only when needing larger area.
X-SVN-Rev: 24110
2008-06-05 15:51:18 +00:00
Steven R. Loomis
1da9d58910 ICU-6297 udeprctd.h and others
X-SVN-Rev: 24107
2008-06-04 23:41:30 +00:00
Michael Ow
e337ab8678 ICU-6300 Set the max bytes per char for UTF16 to 4 to make it consistent with the specs.
X-SVN-Rev: 24105
2008-06-04 17:49:37 +00:00
Steven R. Loomis
a5d6b9619c ICU-6297 fixup doxygen tags
X-SVN-Rev: 24046
2008-05-28 21:20:51 +00:00
Steven R. Loomis
ca28c6219a ICU-6157 fix for VC++
X-SVN-Rev: 24031
2008-05-28 16:58:33 +00:00
Xiaomei Ji
f9a0590098 ICU-6157 date interval format
X-SVN-Rev: 24005
2008-05-28 00:33:44 +00:00
Steven R. Loomis
32e0c8f432 ICU-6124 Don't use C++ comments in C code
X-SVN-Rev: 23970
2008-05-22 16:40:13 +00:00
David Bertoni
8fed204664 ICU-6293 Changed enum names to avoid conflicts with system macros.
X-SVN-Rev: 23968
2008-05-22 05:00:39 +00:00
Steven R. Loomis
c2ae3e30a4 ICU-6297 move @draft to @stable
X-SVN-Rev: 23962
2008-05-21 23:27:14 +00:00
Steven R. Loomis
4d7034cd24 ICU-6297 udeprctd.h and others
X-SVN-Rev: 23961
2008-05-21 23:20:54 +00:00
David Bertoni
5822580eca ICU-6124 Merged private branch into the trunk. Implementation complete, but waiting for new CLDR data.
X-SVN-Rev: 23960
2008-05-21 21:53:55 +00:00
Steven R. Loomis
8bfc121f97 ICU-6297 doxygen fixes (partial)
X-SVN-Rev: 23959
2008-05-21 21:34:54 +00:00
Andy Heninger
75c28aaf00 ICU-4790 move spoof detector API into trunk. Implementation is still in a branch.
X-SVN-Rev: 23951
2008-05-21 17:40:55 +00:00
Steven R. Loomis
297a478ee0 ICU-6098 update to versioning and urename
X-SVN-Rev: 23948
2008-05-20 22:59:55 +00:00
Steven R. Loomis
0a711393b1 ICU-6098 update version in project files
X-SVN-Rev: 23944
2008-05-20 18:51:08 +00:00
Steven R. Loomis
90c5643557 ICU-6098 update version to 4.0, bump a timebombed test
X-SVN-Rev: 23934
2008-05-19 17:28:22 +00:00
Matitiahu Allouche
c006a0e6e0 ICU-3916 fix the bug (doc change only) for ICU4C.
X-SVN-Rev: 23924
2008-05-18 12:18:57 +00:00
David Bertoni
1734f6e867 ICU-6228 C++ implementation complete.
X-SVN-Rev: 23896
2008-05-14 20:00:23 +00:00
David Bertoni
b67c77c3c1 ICU-6228 C++ implementation complete.
X-SVN-Rev: 23893
2008-05-14 17:38:03 +00:00
Michael Ow
b75669b15b ICU-5504 Set the start position to -1 when iterating over hashtable elements. Correct the test number label in icusvtst.cpp.
X-SVN-Rev: 23847
2008-04-28 17:58:21 +00:00
Peter Edberg
dc0ee6361a ICU-6245 Fix build with UCONFIG_NO_SERVICE 1 (e.g. for Cygwin/MSVC) by adding dummy invocation of Mutex for that case
X-SVN-Rev: 23825
2008-04-24 00:30:41 +00:00
Kedar Rajwade
cbd785db50 ICU-5966 Fixed some compiler warnings
X-SVN-Rev: 23806
2008-04-17 20:52:04 +00:00
Michael Ow
4e49d2ab92 ICU-5948 Set default codepage to ISO-8859-1 for Solaris when 646 is given by the OS.
X-SVN-Rev: 23794
2008-04-15 22:32:28 +00:00
Steven R. Loomis
10b591004d ICU-6098 ICU4C version to 3.9.3
X-SVN-Rev: 23778
2008-04-09 21:13:18 +00:00
Andy Heninger
b3afa725d0 ICU-5936 improve docs for uset_open()
X-SVN-Rev: 23770
2008-04-07 21:57:01 +00:00
Andy Heninger
71bf003171 ICU-5696 Unicode 5.1 Update
X-SVN-Rev: 23761
2008-04-04 22:47:43 +00:00
Andy Heninger
791a437558 ICU-6234 Compiler Compatibility Problems
X-SVN-Rev: 23760
2008-04-04 21:51:35 +00:00
Kedar Rajwade
f69d550e36 ICU-6143 added check for TELUGU character in getUnicodeSet
X-SVN-Rev: 23695
2008-03-27 19:31:25 +00:00
Michael Ow
308a2aa0b5 ICU-4486 Update ISCII converter to treat Letter RRA as specified by ISCII.
X-SVN-Rev: 23660
2008-03-24 17:11:10 +00:00
Steven R. Loomis
85e9292e1a ICU-6098 Update ICU4C to 3.9.2 and move translit timebombs
X-SVN-Rev: 23608
2008-03-17 21:58:50 +00:00
George Rhoten
99861832ec ICU-6125 Reduce read-only memory
X-SVN-Rev: 23591
2008-03-14 06:41:45 +00:00
Peter Edberg
867af878ad ICU-6175 Invoke toUnicode error handler for empty segments in ISO-2022-x & HZ with new UConverter.toUCallbackReason=UCNV_IRREGULAR
X-SVN-Rev: 23571
2008-03-12 23:20:11 +00:00
Steven R. Loomis
ccd1b36465 ICU-6209 build macosx wit --enable-strict
X-SVN-Rev: 23570
2008-03-12 21:48:14 +00:00
George Rhoten
de6512a9c1 ICU-6132 Undo some unneccessary changes. Remove some tabs. Make sure that the UErrorCode is propagated when possible. When a UErrorCode is available, don't check for a NULL return value.
X-SVN-Rev: 23479
2008-02-23 19:15:18 +00:00
Andy Heninger
5e550c04ac ICU-6149 Merge regexp resource limit functions into the trunk
X-SVN-Rev: 23467
2008-02-20 03:08:44 +00:00
George Rhoten
6520f1df57 ICU-6186 Reduce UResourceBundle struct padding
X-SVN-Rev: 23462
2008-02-19 17:27:59 +00:00
George Rhoten
24e86c8cab ICU-6076 Make it easier to test small allocation failures.
X-SVN-Rev: 23459
2008-02-19 07:09:38 +00:00
George Rhoten
a938a88c39 ICU-6076 Fix initialization problems with resource bundles.
X-SVN-Rev: 23458
2008-02-19 05:59:10 +00:00
George Rhoten
8244ab6864 ICU-6098 Update urename.h based on API changes.
X-SVN-Rev: 23456
2008-02-18 23:31:45 +00:00
George Rhoten
1da25d4d3b ICU-6076 Don't crash when initialization fails.
X-SVN-Rev: 23451
2008-02-17 19:13:10 +00:00
George Rhoten
9026aecf79 ICU-6076 Test string addition failures.
X-SVN-Rev: 23449
2008-02-17 09:16:12 +00:00
George Rhoten
df20c5147e ICU-6076 Fix some problems while testing ICU error recovery from out of memory conditions, like proper error reporting, not crashing, not leaking memory from when an allocation failure happens.
X-SVN-Rev: 23446
2008-02-16 22:58:32 +00:00
George Rhoten
8c56e56382 ICU-6076 Make it a little easier to detect initialization problems, and
improve initialization time.

X-SVN-Rev: 23442
2008-02-16 11:26:53 +00:00
George Rhoten
a137ec8cce ICU-6132 Fix compiler warnings from last check-in.
X-SVN-Rev: 23438
2008-02-15 23:56:06 +00:00
George Rhoten
a1e9519c40 ICU-6176 Fix some Coverity warnings
X-SVN-Rev: 23416
2008-02-13 10:05:32 +00:00
George Rhoten
928d6152bc ICU-6176 Fix some Coverity warnings
X-SVN-Rev: 23414
2008-02-13 09:35:50 +00:00
George Rhoten
fb5e448868 ICU-6132 Fix previous change.
X-SVN-Rev: 23408
2008-02-10 17:52:27 +00:00
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