Commit Graph

15866 Commits

Author SHA1 Message Date
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
823e58911b ICU-6098 move getCurrentYear into toolutil
X-SVN-Rev: 23949
2008-05-21 00:12:48 +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
Matitiahu Allouche
1637589583 ICU-6032 add test case for multiple paragraphs with default paragraph level - fix a typo and some formatting
X-SVN-Rev: 23939
2008-05-20 11:34:34 +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
00fad48a8e ICU-6032 add test case for multiple paragraphs with default paragraph level
X-SVN-Rev: 23932
2008-05-19 14:13:15 +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
Yoshito Umaoka
4e15257201 ICU-6256 Fix some GMT format problems revealed by the new locale data.
X-SVN-Rev: 23916
2008-05-16 19:50:26 +00:00
John Emmons
695f6fa9c3 ICU-6256 CLDR 1.6 integration - 1st snapshot
X-SVN-Rev: 23911
2008-05-16 15:01:02 +00:00
Eric Mader
0b91aedb04 ICU-6277 install layoutex/layout/playout.h and layoutex/layout/plruns.h
X-SVN-Rev: 23910
2008-05-16 04:11:59 +00:00
David Bertoni
5d50abf277 ICU-4009 Added new files to VS project file.
X-SVN-Rev: 23906
2008-05-15 17:28:34 +00:00
Andy Heninger
755ae4c7c2 ICU-4009 Translit, fix Linux build of brktrans
X-SVN-Rev: 23903
2008-05-15 05:11:08 +00:00
Andy Heninger
dbadbd711a ICU-4009 Port Any-BreakInternal transliterator from Java
X-SVN-Rev: 23902
2008-05-15 04:54:19 +00:00
Andy Heninger
eecf0b1bae ICU-4009 Port Any-BreakInternal transliterator from Java
X-SVN-Rev: 23901
2008-05-15 04:53:21 +00:00
David Bertoni
8ad2ddd4ca ICU-6228 C++ implementation complete.
X-SVN-Rev: 23897
2008-05-14 20:39:58 +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
a66223e29f ICU-6266 Improve the code coverage for Charset ASCII and UTF-7.
X-SVN-Rev: 23884
2008-05-13 13:39:37 +00:00
Michael Ow
a20697ab70 ICU-6266 Improve ISO-2022 code coverage with error simulating data driven tests and over flow buffer tests.
X-SVN-Rev: 23883
2008-05-12 22:33:00 +00:00
Michael Ow
1597eb0479 ICU-6266 Add to data driven test to improve code coverage.
X-SVN-Rev: 23877
2008-05-08 21:33:49 +00:00
Michael Ow
4cc15e959f ICU-6270 Update configure script for proper 64 bit detection on Sun Studio.
X-SVN-Rev: 23876
2008-05-08 19:31:31 +00:00
Jason Spieth
e691c22ef3 ICU-6088 IBM i name change in documentation
X-SVN-Rev: 23867
2008-05-02 19:57:54 +00:00
Jason Spieth
c3871d70af ICU-6088 Use hex value on character comparisons
X-SVN-Rev: 23866
2008-05-02 19:01:04 +00:00
Eric Mader
771ef8c365 ICU-6268 Call LocaleRuns::grow instead of RunArray::grow in ULocRuns::grow.
X-SVN-Rev: 23865
2008-05-02 18:13:22 +00:00
David Bertoni
5196a571e6 ICU-6267 Changed Makefile rules to use LINK.cc rather than LINK.c.
X-SVN-Rev: 23864
2008-05-01 21:49:29 +00:00
Michael Ow
ae9a862ac3 ICU-6265 Update the alias table to include new aliases for Mac.
X-SVN-Rev: 23860
2008-05-01 16:48:58 +00:00
Claire Ho
dd03825a4d ICU-5696 Fixed performance degredation for collation.
X-SVN-Rev: 23858
2008-05-01 01:18:54 +00:00
Michael Ow
bf2a515cc5 ICU-6214 Add datarootdir to configure script.
X-SVN-Rev: 23848
2008-04-28 19:50:40 +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
Michael Ow
30ef273329 ICU-2826 Add new line at the end of the file to avoid compiler warnings.
X-SVN-Rev: 23844
2008-04-25 19:59:14 +00:00
Michael Ow
4a587b4709 ICU-4362 Fix the locale information for one of the date files.
X-SVN-Rev: 23843
2008-04-25 18:47:20 +00:00
Steven R. Loomis
4aa07df910 ICU-6240 assorted C bugs
X-SVN-Rev: 23841
2008-04-25 17:29:35 +00:00
Steven R. Loomis
00fed79227 ICU-6263 print aggregate test report. Also fix some svn ignores.
X-SVN-Rev: 23840
2008-04-25 17:02:32 +00:00
Michael Ow
2474b163d8 ICU-4362 Add makefile to string search performance test.
X-SVN-Rev: 23839
2008-04-25 15:28:16 +00:00
Michael Ow
6e708fb95a ICU-4362 Fix usearch object creation.
X-SVN-Rev: 23838
2008-04-25 15:27:13 +00:00
Steven R. Loomis
95ea8f23de ICU-3084 confirmed consistent pivot behavior
X-SVN-Rev: 23835
2008-04-25 04:00:51 +00:00
Steven R. Loomis
a1aaa6a87e ICU-6261 remove double free of bundles on error
X-SVN-Rev: 23834
2008-04-25 02:53:11 +00:00
Eric Mader
f94394b03c ICU-6005 Add new scripts from Unicode 5.1, quick-fix @stable, @draft tags in headers.
X-SVN-Rev: 23833
2008-04-25 01:16:14 +00:00
Steven R. Loomis
6d39fb1708 ICU-4447 add test for y/yy/yyy/yyyy/yyyyy
X-SVN-Rev: 23832
2008-04-25 01:13:33 +00:00
Jason Spieth
0dffb9ff54 ICU-6088 More complete overflow fix
X-SVN-Rev: 23827
2008-04-24 20:42:46 +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
Jason Spieth
fde46fe892 ICU-2826 Correct Copyright date
X-SVN-Rev: 23824
2008-04-23 22:03:46 +00:00
Jason Spieth
e67739dfd5 ICU-6088 Fix testcase overflow
X-SVN-Rev: 23823
2008-04-23 20:45:14 +00:00
Claire Ho
a5c9c6e123 ICU-6255 move static variables below U_NAMESPACE_BEGIN.
X-SVN-Rev: 23822
2008-04-23 16:14:27 +00:00
Michael Ow
2ea135aea5 ICU-5966 Change C++ style comments to C style comments.
X-SVN-Rev: 23820
2008-04-22 15:59:04 +00:00
Eric Mader
88f38c4c43 ICU-6005 Use %d for integers, not %n.
X-SVN-Rev: 23819
2008-04-21 22:26:59 +00:00
Michael Ow
59c5a1dfcd ICU-5966 Change C++ style comments to C-style.
X-SVN-Rev: 23818
2008-04-21 21:32:20 +00:00
Claire Ho
22368976c3 ICU-5794 Add tests for forLocale().
X-SVN-Rev: 23817
2008-04-21 21:25:23 +00:00
Michael Ow
97d87b962d ICU-5794 Fix a possible infinite loop in plurrule.cpp.
X-SVN-Rev: 23815
2008-04-21 17:48:32 +00:00
Andy Heninger
591379e224 ICU-6246 add missing svn properties
X-SVN-Rev: 23814
2008-04-19 21:33:58 +00:00
Michael Ow
0106270281 ICU-4362 Add strsrchperf to perl solution file.
X-SVN-Rev: 23812
2008-04-18 21:07:32 +00:00
Michael Ow
07dbddbdde ICU-4362 Add space separator between program call and option.
X-SVN-Rev: 23811
2008-04-18 19:40:11 +00:00
Michael Ow
5601d06164 ICU-4362 Add check for freeing Null pointer.
X-SVN-Rev: 23810
2008-04-18 19:19:51 +00:00
Michael Ow
db80d055aa ICU-4362 Add perl driver and forward and backward searching test in string search performance test.
X-SVN-Rev: 23809
2008-04-18 19:14:38 +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
3c266c752e ICU-5658 Fix usage string for ubrkperf
X-SVN-Rev: 23805
2008-04-17 20:12:38 +00:00
Michael Ow
6f01b57fc6 ICU-6140 Fix invalid comment markers.
X-SVN-Rev: 23800
2008-04-17 17:58:36 +00:00
Michael Ow
67b4edc504 ICU-4362 Add string search performance test template to repository.
X-SVN-Rev: 23799
2008-04-17 17:46:37 +00:00
Michael Ow
0cca2d6ee3 ICU-6140 Fix various platform specific compilation errors for TestHiragana.
X-SVN-Rev: 23798
2008-04-17 16:55:43 +00:00
Michael Ow
debf923a89 ICU-6140 Ensure proper checking of Hiragana and Katakana common codepoints and add test for this.
X-SVN-Rev: 23797
2008-04-17 05:19:19 +00:00
Claire Ho
cd79d31f28 ICU-5794 1. Missing assignment op in PluralFormat. 2. Incorrect init in getKeywords. 3. Always returns TRUE in isKeyword() if the input is OTHER.
X-SVN-Rev: 23796
2008-04-17 01:33:23 +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
Michael Ow
851c8365ff ICU-6242 List the testnames when given the -l option in iotest and intltest.
X-SVN-Rev: 23790
2008-04-14 22:38:10 +00:00
Michael Ow
f92dfb834c ICU-6140 Undo previous commit.
X-SVN-Rev: 23789
2008-04-12 21:56:41 +00:00
Michael Ow
26e1e30df4 ICU-6140 Compare using sort keys on hiragana and (shifted is on or quaternary strength).
X-SVN-Rev: 23788
2008-04-11 19:27:21 +00:00
Michael Ow
b02865cecf ICU-2498 Make intltest pass w/o data.
X-SVN-Rev: 23784
2008-04-10 23:19:16 +00:00
Michael Ow
8a63dd5683 ICU-2498 Make test pass w/o data in iotest and cintltest.
X-SVN-Rev: 23783
2008-04-10 16:53:16 +00:00
Yoshito Umaoka
a55d75d400 ICU-6216 Fixed a VTIMEZONE parsing problem in ICU4C.
X-SVN-Rev: 23780
2008-04-10 03:41:22 +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
Yoshito Umaoka
3396499f26 ICU-5845 Fixed a test case to invalidate zero-th week of month.
X-SVN-Rev: 23776
2008-04-09 19:19:29 +00:00
Yoshito Umaoka
32c3313145 ICU-5845 Calendar 'actual' limit test ported from J to C. Also ported bug fixes related to calendar limits implementation.
X-SVN-Rev: 23775
2008-04-09 18:26:42 +00:00
Michael Ow
eecbb59de9 ICU-5658 Produce HTML from collation performance test.
X-SVN-Rev: 23771
2008-04-07 22:19: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
Michael Ow
68768a9c15 ICU-5658 Add README for running performance test and add comment in Common.pl.
X-SVN-Rev: 23768
2008-04-07 17:38:51 +00:00
Michael Ow
89d5749692 ICU-6140 Use sort key comparison when hiragana is turned on.
X-SVN-Rev: 23764
2008-04-04 23:59:12 +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
Jason Spieth
49e035f1a3 ICU-5450 Removed ICUListResourceBundle from wrtjava.c
X-SVN-Rev: 23753
2008-04-04 18:22:14 +00:00
Michael Ow
b88b4e3247 ICU-4362 Add collation regression test and windows, posix, icu collation comparison test.
X-SVN-Rev: 23747
2008-04-04 16:09:57 +00:00
Michael Ow
e64b2064fa ICU-4362 Configure UsetPerf to run against current and previous version of ICU.
X-SVN-Rev: 23744
2008-04-03 22:22:20 +00:00
John Emmons
5b5d51d158 ICU-6094 Add dependency info on ucadata.icu to root collation
X-SVN-Rev: 23737
2008-04-03 14:30:33 +00:00
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