Commit Graph

15784 Commits

Author SHA1 Message Date
John Emmons
2bccc558ed ICU-6094 Add dependency info on ucadata.icu to root collation
X-SVN-Rev: 23736
2008-04-03 14:11:39 +00:00
Michael Ow
1e0b45a68a ICU-5955 Remove unneeded object from PluralRules::forLocale().
X-SVN-Rev: 23733
2008-04-02 23:03:55 +00:00
Michael Ow
14e001b164 ICU-5658 Update performance test solution file to include unisetperf and clean up a few minor errors.
X-SVN-Rev: 23717
2008-03-31 22:32:17 +00:00
Michael Ow
abd7539f7f ICU-5580 Update alias table to resolve problem with java canonical names and add test to ICU4J.
X-SVN-Rev: 23716
2008-03-31 22:13:59 +00:00
Michael Ow
12ffa6821c ICU-5658 Undo previous bad fix and apply good fix.
X-SVN-Rev: 23704
2008-03-27 21:53:56 +00:00
Michael Ow
00bd839ab5 ICU-5658 Fix calling of utfperf.
X-SVN-Rev: 23703
2008-03-27 21:52:26 +00:00
Michael Ow
da1972d164 ICU-5658 Update perl path and directory path in Common.pl
X-SVN-Rev: 23702
2008-03-27 21:45:51 +00:00
Michael Ow
cb6713d690 ICU-5658 Add path to perl program.
X-SVN-Rev: 23701
2008-03-27 21:35:56 +00:00
Michael Ow
657da20310 ICU-5658 Remove strict from UTFPerf.pl.
X-SVN-Rev: 23700
2008-03-27 21:24:02 +00:00
Michael Ow
5d65a61781 ICU-5658 Clean up ICU4C performance test to run properly and configure more easily.
X-SVN-Rev: 23699
2008-03-27 21:17:44 +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
0d416e847a ICU-5658 Update data and add makefile configuration to performance tests.
X-SVN-Rev: 23688
2008-03-27 17:34:43 +00:00
Jason Spieth
004a6a2271 ICU-6088 Fix i5OS testcase errors
X-SVN-Rev: 23683
2008-03-26 18:45:50 +00:00
Yoshito Umaoka
2fb4f97999 ICU-5970 2008b into ICU4C trunk
X-SVN-Rev: 23678
2008-03-25 20:49:36 +00:00
Yoshito Umaoka
419e52f952 ICU-5561 Updated canonical ID mapping table creation code to support the case - new canonical ID in Olson tzdata, which replaces previous canonical ID, but CLDR does not have the alias info.
X-SVN-Rev: 23676
2008-03-25 20:39:55 +00:00
Yoshito Umaoka
9971f8f5f5 ICU-4571 Updated EthiopicCalendar's constructor to specify era mode. New calendar keyword ethiopic-amete-alem to create an instance of EthiopicCalendar with Amete Alem era only. Modified the test case to cover ethiopic-amete-alem.
X-SVN-Rev: 23665
2008-03-24 22:21:21 +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
Yoshito Umaoka
ac7d853b91 ICU-4571 Merging Coptic/Ethiopic calendar work from yoshito's work branch to the trunk.
X-SVN-Rev: 23657
2008-03-22 02:58:07 +00:00
Eric Mader
fbeb9bd7c6 ICU-6011 Clean up font table memory handling; GDIFontInstance: try to read 'head' and 'hhea' table if GetOutlineTextMetrics() fails.
X-SVN-Rev: 23619
2008-03-19 21:08:08 +00:00
Eric Mader
5ad18d1092 ICU-6011 Clean up alternate name string handling and add it to cletest.
X-SVN-Rev: 23612
2008-03-18 21:53:27 +00:00
Eric Mader
e0b48bc938 ICU-6011 Handle bad values in the scriptCount field in the ScriptList Table.
X-SVN-Rev: 23611
2008-03-18 20:04:14 +00:00
Michael Ow
3b646b385c ICU-6152 Add memory check for new UnicodeString.
X-SVN-Rev: 23609
2008-03-17 23:10:28 +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
Yoshito Umaoka
10bb457c84 ICU-5970 Merging tzdata2007a into ICU4C trunk
X-SVN-Rev: 23605
2008-03-17 17:00:37 +00:00
Eric Mader
692287bab4 ICU-6011 Change LESwaps.h to always swap through a pointer, so that it works even if the input data is mis-aligned.
X-SVN-Rev: 23597
2008-03-15 00:30:39 +00:00
Eric Mader
1453934baa ICU-6023 initialize fFilterZeroWidth to TRUE.
X-SVN-Rev: 23596
2008-03-14 23:18:26 +00:00
Eric Mader
6af114ebaf ICU-6108 Handle Malayalam samvruthokaram.
X-SVN-Rev: 23595
2008-03-14 23:10:04 +00:00
Eric Mader
d3988f808a ICU-6197 Fix typo in test-case name.
X-SVN-Rev: 23594
2008-03-14 22:38:19 +00:00
Michael Ow
20a26f4c79 ICU-3798 Remove C++ comments causing certain compiler errors.
X-SVN-Rev: 23593
2008-03-14 18:51:29 +00:00
Eric Mader
a2e6d06400 ICU-6111 test case for Nafees Nastaleeq cursive positioning.
X-SVN-Rev: 23592
2008-03-14 17:00:34 +00:00
George Rhoten
99861832ec ICU-6125 Reduce read-only memory
X-SVN-Rev: 23591
2008-03-14 06:41:45 +00:00
Eric Mader
c82d80ffeb ICU-6197 Add tests for language-specific layout. Add more language codes.
X-SVN-Rev: 23589
2008-03-14 04:47:19 +00:00
Michael Ow
83011aea70 ICU-3798 Remove -p option in genrb and update docs to reflect this change.
X-SVN-Rev: 23588
2008-03-13 22:43:56 +00:00
Eric Mader
b72002657f ICU-6111 fixes for Nafees Nastaleeq font.
X-SVN-Rev: 23587
2008-03-13 20:04:02 +00:00
Eric Mader
f7a8fdb00e ICU-6197 Add 'locl' feature to default feature set.
X-SVN-Rev: 23586
2008-03-13 19:02:57 +00:00
Eric Mader
1c944dbde2 ICU-6195 Don't generate ligatures for characters with FullCompositionExclusion = TRUE; don't do canonical processing for fonts with a GSUB table that covers the given script, but reorder Hebrew marks.
X-SVN-Rev: 23585
2008-03-13 18:23:20 +00:00
Peter Edberg
d4774599b6 ICU-6175 Test detecting empty segments in ISO-2022-x & HZ with UConverterCallbackReason==UCNV_IRREGULAR
X-SVN-Rev: 23572
2008-03-12 23:22:07 +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
4162dd185d ICU-6208 Refactor collation initialization code so that ucol_openBinary works in more conditions.
X-SVN-Rev: 23558
2008-03-12 06:24:36 +00:00
Eric Mader
adb20088d3 ICU-6022 add an adjustGlyphPositions method to ThaiLayoutEngine that doesn't call adjustMarkGlyphs(). We count on the mark glyphs having an advance width.
X-SVN-Rev: 23557
2008-03-12 00:05:08 +00:00
George Rhoten
60a75139f7 ICU-6205 Allow UCONFIG_NO_CONVERSION to work in the library code.
X-SVN-Rev: 23544
2008-03-10 20:09:55 +00:00
George Rhoten
607152add1 ICU-5966 Fix some compiler warnings.
X-SVN-Rev: 23543
2008-03-07 22:53:21 +00:00
George Rhoten
d7d3b0eaa7 ICU-5966 Fix some compiler warnings.
X-SVN-Rev: 23542
2008-03-07 22:35:49 +00:00
George Rhoten
d1551dee4e ICU-5966 Fix some compiler warnings.
X-SVN-Rev: 23540
2008-03-07 19:40:46 +00:00
Michael Ow
5eb6fafc8b ICU-2714 Correct icudata-install-dir and icudata option in the man pages.
X-SVN-Rev: 23534
2008-03-06 23:09:53 +00:00
Yoshito Umaoka
2219f2dd70 ICU-6201 Initialize millisecond field in calendars used by test4096231 to avoid intermittent test failure on Windows.
X-SVN-Rev: 23519
2008-03-03 21:19:36 +00:00
George Rhoten
a880af6cec ICU-6176 Fix some Coverity warnings.
X-SVN-Rev: 23504
2008-02-28 00:21:28 +00:00
George Rhoten
6019297d79 ICU-5955 Reduce memory leaks so that it's easier to compile many resource
bundles at once without running out of memory.

X-SVN-Rev: 23503
2008-02-27 23:58:05 +00:00
George Rhoten
d1b51942ad ICU-6149 Use traditional ICU C callback declarations.
X-SVN-Rev: 23485
2008-02-26 08:40:20 +00:00
George Rhoten
2eb00165d0 ICU-6165 Fix for EBCDIC platforms
X-SVN-Rev: 23483
2008-02-25 22:34:08 +00:00
George Rhoten
83abd2cfe6 ICU-6149 Use traditional ICU C callback declarations.
X-SVN-Rev: 23482
2008-02-25 22:32:11 +00:00
George Rhoten
fe7e42eace ICU-6149 Use traditional ICU C callback declarations.
X-SVN-Rev: 23481
2008-02-25 21:21:47 +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
George Rhoten
6d5e7e7226 ICU-6188 ucol_getSortKey should return 0 upon memory allocation error.
X-SVN-Rev: 23478
2008-02-23 07:21:00 +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
56c21905a4 ICU-6076 Improve allocation counting.
X-SVN-Rev: 23465
2008-02-19 20:56:50 +00:00
George Rhoten
ba02cd8038 ICU-6188 Improve error handling for ucol_getSortKey when memory allocation fails.
X-SVN-Rev: 23464
2008-02-19 20:10:55 +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
2b59c659e8 ICU-6076 Make it easier to test small allocation failures.
X-SVN-Rev: 23461
2008-02-19 08:08:10 +00:00
George Rhoten
5a8942d749 ICU-6076 Fix allocation failure recovery problems.
X-SVN-Rev: 23460
2008-02-19 07:53:15 +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
8bc5d287d9 ICU-6076 Reduce crashes and valgrind errors in tests for easier diagnostics.
X-SVN-Rev: 23457
2008-02-19 05:05:51 +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
549ab03a99 ICU-4384 Remove tabs and make a function static
X-SVN-Rev: 23455
2008-02-18 23:17:58 +00:00
Jason Spieth
d9868ddec2 ICU-4626 Reinitialization of static variable
X-SVN-Rev: 23454
2008-02-18 19:07:28 +00:00
George Rhoten
fa8aa3884b ICU-6076 Partially undo last change until further discussion.
X-SVN-Rev: 23453
2008-02-18 00:46:38 +00:00
George Rhoten
97e1549ea0 ICU-6076 Make it easier to find valgrind errors by not leaking memory.
X-SVN-Rev: 23452
2008-02-17 19:32:34 +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
acd8f28273 ICU-6076 Make sure that we objects are fully initialized for deletion, and
that we don't leak memory after an allocation failure.

X-SVN-Rev: 23450
2008-02-17 18:26:39 +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
77d4e43ed0 ICU-6076 Prevent appending too much.
X-SVN-Rev: 23448
2008-02-17 08:27:29 +00:00
George Rhoten
08f1a884b5 ICU-6076 Improve the error recovery handling from changeset 23414.
X-SVN-Rev: 23447
2008-02-17 06:50:59 +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
512e3f34da ICU-6076 Prevent crashes while testing memory failures.
X-SVN-Rev: 23445
2008-02-16 12:30:55 +00:00
George Rhoten
0421a0ee5f ICU-6076 Fix some crashes when running out of memory.
X-SVN-Rev: 23444
2008-02-16 12:17:48 +00:00
George Rhoten
8412d727f4 ICU-6076 Check one allocation at a time, and don't double free memory.
X-SVN-Rev: 23443
2008-02-16 12:08:07 +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
6feced2f5d ICU-6076 Fix some memory leaks found during testing for easier valgrind filtering.
X-SVN-Rev: 23441
2008-02-16 02:29:58 +00:00
George Rhoten
ededf15cbb ICU-6076 Fix some memory leaks found during testing for easier filtering.
X-SVN-Rev: 23439
2008-02-16 01:31:32 +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
2a483025d9 ICU-6183 Fix some rare UCA initialization problems
X-SVN-Rev: 23437
2008-02-15 22:41:39 +00:00
George Rhoten
b579ec4770 ICU-6176 Fix some Coverity warnings.
X-SVN-Rev: 23435
2008-02-14 21:48:29 +00:00
George Rhoten
57faac963c ICU-6176 Fix some Coverity warnings.
X-SVN-Rev: 23433
2008-02-14 04:39:06 +00:00
George Rhoten
e6b92e6e4d ICU-6176 Fix some Coverity warnings.
X-SVN-Rev: 23432
2008-02-14 04:15:58 +00:00
George Rhoten
e7ccc2b315 ICU-6176 Fix some Coverity warnings.
X-SVN-Rev: 23431
2008-02-14 03:34:27 +00:00
George Rhoten
5547bb21de ICU-6176 Fix some Coverity warnings in the unlikely event that a date/time format isn't simple in the future.
X-SVN-Rev: 23430
2008-02-14 02:43:33 +00:00
George Rhoten
de481fcaa5 ICU-6176 Fix some Coverity warnings
X-SVN-Rev: 23428
2008-02-14 00:08:18 +00:00
George Rhoten
2a1d3e036f ICU-6176 Fix some Coverity warnings
X-SVN-Rev: 23427
2008-02-14 00:01:59 +00:00
George Rhoten
4ce023683e ICU-6132 Fix tabs from previous changes.
X-SVN-Rev: 23418
2008-02-13 10:41:28 +00:00
George Rhoten
ec77357c81 ICU-6176 Remove dead code and typos.
X-SVN-Rev: 23417
2008-02-13 10:22:39 +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
61d27ac692 ICU-6176 Undo last change. The warning was bad.
X-SVN-Rev: 23415
2008-02-13 10:04:38 +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
2bc412e598 ICU-6076 Use window failure testing instead of max size testing. This allows you to skip some hash table failures. Hash tables grow by powers of 2.
X-SVN-Rev: 23409
2008-02-10 20:17:14 +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
Michael Ow
d33e396670 ICU-6132 Compact the deletion of memory allocation error for array pointers in regexst.cpp.
X-SVN-Rev: 23405
2008-02-09 00:30:33 +00:00
George Rhoten
b48351f219 ICU-6132 Fix previous change.
X-SVN-Rev: 23401
2008-02-08 16:20:34 +00:00
George Rhoten
87d1fafb55 ICU-6132 Recover from allocation errors more gracefully.
X-SVN-Rev: 23400
2008-02-08 09:50:36 +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
Claire Ho
f785553c68 ICU-6172 fixed the duplicate time pattern.
X-SVN-Rev: 23397
2008-02-08 07:10:28 +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
Jason Spieth
d2344c7c26 ICU-5819 New file for EBCDIC genrb fix
X-SVN-Rev: 23371
2008-02-07 21:23:19 +00:00
Jason Spieth
49b1c4d99b ICU-5819 XLIFF EBCDIC genrb fix
X-SVN-Rev: 23370
2008-02-07 20:49:28 +00:00
George Rhoten
134e6af66e ICU-5966 Fix some compiler warnings.
X-SVN-Rev: 23368
2008-02-07 18:52:57 +00:00
George Rhoten
1ba60ea83b ICU-5966 Fix some compiler warnings
X-SVN-Rev: 23366
2008-02-07 17:39:15 +00:00
George Rhoten
01ad058ec8 ICU-5966 Fix some compiler warnings
X-SVN-Rev: 23365
2008-02-07 17:36:15 +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
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
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
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
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
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
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
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
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
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
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
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
Michael Ow
a7aefadebd ICU-6132 Change the return value for memory allocation error in ucol.cpp.
X-SVN-Rev: 23262
2008-01-17 19:39:02 +00:00
Michael Ow
d9bc53599e ICU-6132 Move declaration of variables to beginning of method.
X-SVN-Rev: 23261
2008-01-17 19:18:03 +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
a739349c53 ICU-6132 Check to make sure historicRules[typeIdx] is not null.
X-SVN-Rev: 23257
2008-01-17 17:48:47 +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
50b0630a5a ICU-6132 Include memory allocation check in ucol_elm and ucol_res.
X-SVN-Rev: 23249
2008-01-16 20:35:24 +00:00
Michael Ow
9eb7ae3040 ICU-6132 Add memory allocation check in ucol, ucol_bld, and ucol_cnt.
X-SVN-Rev: 23248
2008-01-16 20:12:48 +00:00
Michael Ow
beff6fd707 ICU-6132 Use memory check to ensure null pointers are not dereference in tridpars.
X-SVN-Rev: 23246
2008-01-16 18:18:23 +00:00
Michael Ow
aa76d931cf ICU-6132 Add null pointer check before using in translit and transreg.
X-SVN-Rev: 23245
2008-01-16 18:01:51 +00:00
Michael Ow
9cb51f2e5d ICU-6132 Add proper checking of pointer before dereferencing in timezone and tblcoll.
X-SVN-Rev: 23244
2008-01-16 17:13:11 +00:00
Michael Ow
9dc2844cfb ICU-6132 Check for null pointer dereferencing in operator =.
X-SVN-Rev: 23243
2008-01-16 17:00:55 +00:00
Michael Ow
12751de177 ICU-6132 Fix test failure by separating null pointer check.
X-SVN-Rev: 23242
2008-01-16 17:00:08 +00:00
Michael Ow
fdadab877a ICU-6132 Add memory allocation error check to simpletz and smpdtfmt.
X-SVN-Rev: 23241
2008-01-16 16:45:14 +00:00
George Rhoten
79a5d8c208 ICU-4081 Remove tabs
X-SVN-Rev: 23240
2008-01-16 16:45:12 +00:00
Michael Ow
d7afd7c71d ICU-6132 Add check for memory allocation error in constructors and throughout search.cpp.
X-SVN-Rev: 23239
2008-01-15 23:43:10 +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
5bdd0a03d1 ICU-6132 Check null pointer allocation and perform appropriate actions in regexst.cpp, remtrans.cpp, and repattrn.cpp.
X-SVN-Rev: 23235
2008-01-14 23:25:13 +00:00
Michael Ow
82033615bf ICU-6132 Add null pointer check to regexcmp.cpp
X-SVN-Rev: 23234
2008-01-14 22:39:03 +00:00
Michael Ow
eb21e23b10 ICU-6132 Enable handling of memory allocation errors in rbt_pars.cpp and rbt_rule.cpp.
X-SVN-Rev: 23233
2008-01-14 22:29:44 +00:00
Michael Ow
b32b3d69dc ICU-6132 Add memory check for rbnf, rbt, and rbt_data.
X-SVN-Rev: 23230
2008-01-14 20:27:51 +00:00
Andrew J Macheret
6c2161e7bd ICU-5491 put back functionality for negative multipliers, fixed up some code to handle them correctly, and added tests.
X-SVN-Rev: 23228
2008-01-14 20:10:54 +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
be09c87ee3 ICU-6132 Check to make sure matcher is not dereference if it is null.
X-SVN-Rev: 23223
2008-01-14 18:38:36 +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
c4aa0659fb ICU-6132 When checking firstTZTransition, it was accidentally assigned NULL instead of testing for NULL.
X-SVN-Rev: 23221
2008-01-14 18:19:44 +00:00
Michael Ow
e1398c194a ICU-6132 Add memory allocation check in Olson Timezone code.
X-SVN-Rev: 23220
2008-01-14 16:45:52 +00:00
Michael Ow
fa02813466 ICU-6132 Revert changes to nfrule causing test failures on ICC.
X-SVN-Rev: 23218
2008-01-13 19:10:05 +00:00
Michael Ow
7a0fc85860 ICU-4384 Fix iotest error on ICC and AIX 5.2.
X-SVN-Rev: 23217
2008-01-13 06:50:29 +00:00
Michael Ow
b33fe49157 ICU-4384 Fix AIX build error message.
X-SVN-Rev: 23215
2008-01-12 04:09:40 +00:00
Michael Ow
0df22a86c7 ICU-6132 Add status parameter to prefixLength and to check for memory allocation failure and check memory allocation failure in other pparts of nfrule.
X-SVN-Rev: 23214
2008-01-11 23:20:03 +00:00
Michael Ow
b7a7050b03 ICU-6132 Check buf for null in debgging code.
X-SVN-Rev: 23213
2008-01-11 22:38:26 +00:00
Michael Ow
19ccfa37de ICU-6132 Check for fStuff being null in various locations.
X-SVN-Rev: 23212
2008-01-11 22:28:37 +00:00
Michael Ow
2b9c52e17f ICU-6132 Pointers for RBNF and Formattable are check for null.
X-SVN-Rev: 23211
2008-01-11 22:17:28 +00:00
Michael Ow
10ad732dbf ICU-6132 Make sure that operator == does not dereference unit if it is null.
X-SVN-Rev: 23210
2008-01-11 22:02:07 +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
72d0694032 ICU-6132 Add status to moonAge and various other null pointer checks.
X-SVN-Rev: 23208
2008-01-11 20:32:46 +00:00
Michael Ow
1350baacc2 ICU-6132 Add translit and replacer null pointer check.
X-SVN-Rev: 23207
2008-01-11 19:55:29 +00:00
Michael Ow
ab11db3686 ICU-6132 Add various error checks for fString.
X-SVN-Rev: 23206
2008-01-11 19:42:41 +00:00
Michael Ow
d357fc8b07 ICU-6132 Add memory allocation error checking in createZoneStrings().
X-SVN-Rev: 23205
2008-01-11 19:07:49 +00:00
Michael Ow
853d42f9a4 ICU-6132 Add check for dereferencing of internal null pointers fSymbols and fRoundingIncrement.
X-SVN-Rev: 23204
2008-01-11 18:44:41 +00:00
Michael Ow
653f0ded15 ICU-6132 Check dereferencing null pointers, fCalendar and fNumberFormat.
X-SVN-Rev: 23200
2008-01-09 23:39:39 +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
9105daf5dc ICU-6132 Change error code for null pointer.
X-SVN-Rev: 23198
2008-01-09 23:16:56 +00:00
Michael Ow
eb896f7b9e ICU-6132 Check for fmt null pointer.
X-SVN-Rev: 23197
2008-01-09 22:58:45 +00:00
Michael Ow
a9d9611f99 ICU-6132 Check for memory allocation error in CompoundTransliterator.
X-SVN-Rev: 23196
2008-01-09 21:00:11 +00:00
Michael Ow
7636e40123 ICU-6132 Check for memory allocation error in ChoiceFormat.
X-SVN-Rev: 23195
2008-01-09 20:36:55 +00:00
Michael Ow
d97bd85518 ICU-6132 Check for dereferencing of null pointers in calendar code.
X-SVN-Rev: 23194
2008-01-09 20:25:21 +00:00
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
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
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
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
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
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
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
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
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