Commit Graph

2615 Commits

Author SHA1 Message Date
Andy Heninger
625bc9086e ICU-4790 Spoof detection build failures with UCONFIG_NO_REGULAR_EXPRESSIONS
X-SVN-Rev: 25981
2009-05-04 05:45:27 +00:00
Claire Ho
47ab87a0c7 ICU-6799 Fixed warnings for collation.
X-SVN-Rev: 25874
2009-04-23 00:23:57 +00:00
Markus Scherer
131e1b25ab ICU-6453 more test cleanup
X-SVN-Rev: 25870
2009-04-22 22:42:40 +00:00
Steven R. Loomis
49fe81a7c5 ICU-6836 acceptLanguage test improvement
X-SVN-Rev: 25869
2009-04-22 22:12:59 +00:00
Andy Heninger
68ebb55db4 ICU-4790 tweaks to areConfusable function
X-SVN-Rev: 25860
2009-04-22 02:07:40 +00:00
Markus Scherer
5747679605 ICU-6453 partial test cleanup
X-SVN-Rev: 25858
2009-04-21 23:46:53 +00:00
Yoshito Umaoka
a22f179e2b ICU-6434 Use the first extlang as locale ID language in uloc_forLanguageTag.
X-SVN-Rev: 25853
2009-04-21 06:17:54 +00:00
Peter Edberg
bf6746fb3b ICU-6855 Add internal RelativeDateFormat toPattern/applyPattern functions
X-SVN-Rev: 25830
2009-04-18 08:11:19 +00:00
Andy Heninger
183dadb915 ICU-5572 improved UText of empty string construction
X-SVN-Rev: 25824
2009-04-17 23:50:13 +00:00
Andy Heninger
f940a828eb ICU-5260 'multiple passes' rules in C API of the transliteration functions
X-SVN-Rev: 25806
2009-04-17 01:02:11 +00:00
Michael Ow
97f2fecc68 ICU-6778 Update ICU4C IBM420 and IBM424 CharsetDetector with changes made to ICU4J.
X-SVN-Rev: 25763
2009-04-13 21:32:21 +00:00
Yoshito Umaoka
6b1a0829a6 ICU-6434 ICU4C toLanguageTag/forLanguageTag implementation.
X-SVN-Rev: 25756
2009-04-10 22:30:39 +00:00
John Emmons
1a390c1bfa ICU-6771 CLDR 1.7 Integration - release-1-7-d01
X-SVN-Rev: 25750
2009-04-10 07:47:09 +00:00
Michael Ow
d9c653f163 ICU-6714 Add test for new string prep profiles in ICU4C.
X-SVN-Rev: 25749
2009-04-09 21:09:43 +00:00
Andy Heninger
34727b59c1 ICU-4790 remove 'position' parameter from areConfusable functions
X-SVN-Rev: 25718
2009-04-02 06:08:36 +00:00
Markus Scherer
5c3b41f836 ICU-6789 implement Java-compatible Unicode, UnicodeBig and UnicodeLittle converters
X-SVN-Rev: 25714
2009-04-01 19:31:33 +00:00
Steven R. Loomis
ff3cb7a656 ICU-6799 reduce warnings (status: 718->459)
X-SVN-Rev: 25708
2009-04-01 05:57:09 +00:00
Andy Heninger
89aa66303d ICU-4790 spoof detection work
X-SVN-Rev: 25701
2009-04-01 01:09:49 +00:00
Michael Ow
26f9de0065 ICU-6778 Port IBM420 and IBM424 CharsetDetector to ICU4C.
X-SVN-Rev: 25696
2009-03-31 15:39:00 +00:00
Andy Heninger
52c043e5c3 ICU-4790 Spoof Detection tests
X-SVN-Rev: 25685
2009-03-31 00:34:17 +00:00
Andy Heninger
bb2f7cdcb2 ICU-4790 spoof detection, more testing, fix leak in tests
X-SVN-Rev: 25682
2009-03-30 23:05:55 +00:00
John Emmons
cc2bd1fb69 ICU-6817 Updated RBNF rules from CLDR
X-SVN-Rev: 25675
2009-03-30 15:00:49 +00:00
Andy Heninger
23e83afc25 ICU-4790 spoof work in progress
X-SVN-Rev: 25674
2009-03-30 05:08:00 +00:00
Andy Heninger
9f27994551 ICU-4790 spoof testing
X-SVN-Rev: 25669
2009-03-28 00:28:35 +00:00
Andy Heninger
c567c8c1b1 ICU-6813 parameter validation to uregex_appendReplacement()
X-SVN-Rev: 25660
2009-03-26 23:04:40 +00:00
Yoshito Umaoka
9d0666f840 ICU-6661 ucal_getKeywordValuesForLocale to use calendarPreference data from CLDR. Updated supplementalData.txt generated from the CLDR CVS head version of supplementalData.xml (1.205).
X-SVN-Rev: 25652
2009-03-25 17:59:48 +00:00
Steven R. Loomis
ab1caa43fc ICU-6798 version bump icu4c to milestone:4.1.4 and a minor test improvement
X-SVN-Rev: 25599
2009-03-17 01:06:38 +00:00
Michael Ow
67f42c995f ICU-3378 Fix some casting and pointer passing errors.
X-SVN-Rev: 25583
2009-03-13 21:07:49 +00:00
John Emmons
59e662ea7c ICU-6770 CLDR 1.7 integration snapshot - phase 1
X-SVN-Rev: 25576
2009-03-13 03:21:29 +00:00
Michael Ow
0a55b20859 ICU-6554 Close collator and usearch object after use.
X-SVN-Rev: 25561
2009-03-12 17:56:18 +00:00
Markus Scherer
93e35cf3db ICU-6606 add #define option for >>default charset is UTF-8<<
X-SVN-Rev: 25544
2009-03-11 03:16:35 +00:00
Andy Heninger
37c509a085 ICU-4790 revert an accidental change
X-SVN-Rev: 25535
2009-03-10 00:24:37 +00:00
Andy Heninger
9715eae02c ICU-4790 spoof impl merged to trunk.
X-SVN-Rev: 25534
2009-03-09 23:40:15 +00:00
Michael Ow
a5894c4401 ICU-3378 Fix cintltst compilation errors.
X-SVN-Rev: 25532
2009-03-09 22:28:54 +00:00
Michael Ow
aa05d999c7 ICU-3378 Port over getKeywordValuesForLocale API from ICU4J to ICU4C. Add test for this new API. Also add for, internal use, Linked List API for when creating UEnumeration.
X-SVN-Rev: 25527
2009-03-09 20:39:13 +00:00
Claire Ho
5d17555c7e ICU-6735 merge new localeDisplayPattern APIs from branch to trunk.
X-SVN-Rev: 25457
2009-02-21 00:31:21 +00:00
Markus Scherer
97ea1827e7 ICU-6678 add uset_openEmpty()
X-SVN-Rev: 25451
2009-02-19 23:36:58 +00:00
Markus Scherer
c4e1d3e0be ICU-6677 add u_strToUTF32WithSub() and u_strFromUTF32WithSub()
X-SVN-Rev: 25444
2009-02-19 20:02:40 +00:00
Markus Scherer
a679ccf60c ICU-6677 fix and extend u_strToUTF32() input string validation
X-SVN-Rev: 25443
2009-02-19 18:14:25 +00:00
Peter Edberg
64f350c92a ICU-6734 unum_parse does not report parse errors for rule-based number formatters
X-SVN-Rev: 25442
2009-02-19 08:41:08 +00:00
Markus Scherer
a856eb2eba ICU-6677 add and fix u_strFromUTF32() input string validation
X-SVN-Rev: 25441
2009-02-19 05:18:34 +00:00
Markus Scherer
90eee0718a ICU-6677 clean up existing test for UTF-32 string transformations
X-SVN-Rev: 25437
2009-02-18 23:15:23 +00:00
Steven R. Loomis
dd4971d760 ICU-6613 fix udat crashers. See also ICU-6737
X-SVN-Rev: 25405
2009-02-14 02:29:08 +00:00
John Emmons
fe57727649 ICU-6492 Merge Hebrew calendar changes to trunk
X-SVN-Rev: 25392
2009-02-09 18:11:52 +00:00
Eric Mader
13a9d2c3ec ICU-6717 return quaternary value as CE for strengths QUATERNARY, IDENTICAL. Re-enable TestSearchForNull.
X-SVN-Rev: 25368
2009-02-03 19:50:39 +00:00
Yoshito Umaoka
eb175516be ICU-6238 Support standard stringprep profiles in ICU4C. Merging changes from the work branch to the trunk.
X-SVN-Rev: 25357
2009-02-02 16:16:07 +00:00
Peter Edberg
ae418ed994 ICU-6702 Enable relative date formatters with non-relative timeStyles
X-SVN-Rev: 25351
2009-01-30 10:46:17 +00:00
Steven R. Loomis
f5a1df14ce ICU-6571 move the API to ulocdata
X-SVN-Rev: 25347
2009-01-29 20:31:37 +00:00
Peter Edberg
f12b1180ab ICU-4121 254 digits max for CODAN collation element (additional digits are separate element)
X-SVN-Rev: 25336
2009-01-29 07:44:27 +00:00
Steven R. Loomis
2e10735e9c ICU-6571 merge r25317 and r25318 - C side
X-SVN-Rev: 25327
2009-01-29 00:17:44 +00:00
John Emmons
9d022f0f62 ICU-6647 Testcase workaround until 6040 is fixed
X-SVN-Rev: 25325
2009-01-28 22:01:32 +00:00
Michael Ow
d2531b1d50 ICU-6695 To speed up ucnvseltst in normal mode, decrease the curCase test value.
X-SVN-Rev: 25291
2009-01-22 21:18:50 +00:00
Michael Ow
798386a4ff ICU-6695 Use realloc instead of malloc when increasing the size of the array and also update pointers to the new array. Increase the curCase value check to call code that were skipped during ucnvseltst.
X-SVN-Rev: 25289
2009-01-22 20:10:47 +00:00
Eric Mader
5f73103b5a ICU-6659 Merge changes from branches/eric/boyer-moore
X-SVN-Rev: 25282
2009-01-22 00:24:48 +00:00
Andy Heninger
73724078aa ICU-6679 Visual Studio project files upgrade to version 2008
X-SVN-Rev: 25256
2009-01-15 01:50:06 +00:00
Andy Heninger
04c57ff523 ICU-6656 URegex_replaceAll(), fix incorrect size return value when output buffer is too small
X-SVN-Rev: 25221
2009-01-08 06:55:22 +00:00
Peter Edberg
c9079b0322 ICU-6614 Add UErrorCode* parameter for ucal_getType; improve UCalendarType comments.
X-SVN-Rev: 25037
2008-12-02 22:56:31 +00:00
Steven R. Loomis
2a70d1d602 ICU-6628 ignore @collation=default`
X-SVN-Rev: 24974
2008-11-17 21:46:15 +00:00
Steven R. Loomis
d52ac24d1e ICU-6628 prevent crash in ucol_open
X-SVN-Rev: 24972
2008-11-17 20:27:25 +00:00
Steven R. Loomis
63849800d4 ICU-6617 some haiku support. update config.guess and cleanup other test code.
X-SVN-Rev: 24942
2008-11-08 02:04:15 +00:00
Peter Edberg
4510d290cd ICU-6615 define UCAL_DEFAULT, make UCAL_GREGORIAN work correctly in ucal_open
X-SVN-Rev: 24935
2008-11-07 04:50:24 +00:00
Peter Edberg
d53d0406af ICU-6614 Add ucal_getType()
X-SVN-Rev: 24931
2008-11-06 06:49:30 +00:00
Peter Edberg
971dd97ca7 ICU-6585 Consolidate tests for pattern chars G,E,e,c
X-SVN-Rev: 24872
2008-10-24 05:13:21 +00:00
Markus Scherer
6b0e32fd7c ICU-6453 fix/improve upvec_ serialization, require 32-bit-aligned serialization buffers, and clean up some code
X-SVN-Rev: 24870
2008-10-24 04:35:50 +00:00
Peter Edberg
7364736f03 ICU-6585 Formats with c,cc should use local day of week (and ee should have zero pad)
X-SVN-Rev: 24869
2008-10-24 03:36:26 +00:00
Markus Scherer
362d08e00b ICU-6530 fix some gcc warnings
X-SVN-Rev: 24865
2008-10-22 22:28:06 +00:00
Markus Scherer
9be9a82b08 ICU-6530 add UTrie2 and improve upvec_ via svn merge -r 24551:24849 icu/branches/markus/utf8
X-SVN-Rev: 24862
2008-10-22 19:50:07 +00:00
Peter Edberg
dea1e8f6fe ICU-5726 Make parse work for eee-eeeee, EEEE, c-cc; add tests.
X-SVN-Rev: 24814
2008-10-15 08:08:04 +00:00
Peter Edberg
a57e83d1fb ICU-5726 Make format work for eee-eeeee (UDAT_DOW_LOCAL_FIELD); add & fix tests
X-SVN-Rev: 24752
2008-10-08 08:23:48 +00:00
Eric Mader
57e86d3127 ICU-6576 Check code points for UCOL_IDENTICAL. Recompute processed pattern CEs if strength changes from < quaternary to >= quaternary or visa versa.
X-SVN-Rev: 24749
2008-10-07 23:37:42 +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
Peter Edberg
1e9adc5dc1 ICU-6072 Add DateFormatSymbols support for NarrowEras, use it to format & parse with GGGGG
X-SVN-Rev: 24709
2008-10-03 07:47:57 +00:00
Michael Ow
f92998e519 ICU-6554 Remove previous free from timezone.cpp and use static array in TestOpenVsOpenRules() capitst.
X-SVN-Rev: 24693
2008-10-01 16:54:07 +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
Steven R. Loomis
1c2cc48c0d ICU-4184 updated test to improve flexibility. This test does fail, so it was commented out until fixed. Added comments to the ticket.
X-SVN-Rev: 24664
2008-09-26 21:13:15 +00:00
Steven R. Loomis
6bb97a85f6 ICU-6538 revert year #
X-SVN-Rev: 24662
2008-09-26 20:51:08 +00:00
John Emmons
34345f0371 ICU-6512 Fix dependency information for coll/root.txt to ucadata - Move ucadata and invuca to coll
X-SVN-Rev: 24616
2008-09-22 17:16:32 +00:00
Brian Rower
4319fbcbbb ICU-6538 Moved all variable declarations to top of function.
X-SVN-Rev: 24603
2008-09-19 00:15:13 +00:00
Brian Rower
e87b382542 ICU-6538 Added TestOpenVsOpenRules to cintltst
X-SVN-Rev: 24601
2008-09-18 23:07:16 +00:00
Steven R. Loomis
b7c81e69de ICU-6535 fix the fix
X-SVN-Rev: 24572
2008-09-15 20:55:02 +00:00
Steven R. Loomis
1ca0d2231f ICU-6535 minor test improvements
X-SVN-Rev: 24569
2008-09-15 19:29:43 +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
Brian Rower
3ff38d32ad ICU-4184 adding UString init to null string search, made test active
X-SVN-Rev: 24521
2008-08-22 23:10:22 +00:00
Brian Rower
59face9f13 ICU-4184 Fixed C++ style comments
X-SVN-Rev: 24491
2008-08-12 23:55:55 +00:00
Michael Ow
4e7f7ff702 ICU-6307 Edit cintltst.c, intltest.cpp, and iotest.cpp to load data correctly.
X-SVN-Rev: 24488
2008-08-12 16:34:55 +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
Brian Rower
181e789592 ICU-4184 Removed test case until functionality is repaired.
X-SVN-Rev: 24486
2008-08-11 18:26:36 +00:00
Brian Rower
8d4078172f ICU-4184 Added test case searching for NULL character
X-SVN-Rev: 24473
2008-08-08 19:04:23 +00:00
Michael Ow
95ccfc636d ICU-2929 Include the minor UCA version when ucol_getVersion is called.
X-SVN-Rev: 24469
2008-08-08 15:04:18 +00:00
Michael Ow
21ff136d04 ICU-6412 Add newline at the end of ucnvseltst.c and add missing header file in nucnvtst.c to eliminate warning messages.
X-SVN-Rev: 24468
2008-08-07 21:22:54 +00:00
Steven R. Loomis
574f3de194 ICU-6453 update sel test to load data from the correct spot.
X-SVN-Rev: 24462
2008-08-07 00:14:52 +00:00
Steven R. Loomis
26259c8299 ICU-6453 update sel test to not crash when it cant find data.
X-SVN-Rev: 24459
2008-08-06 23:34:40 +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
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
ecdc0463b8 ICU-6453 Encoding Selection moved from development branch.
X-SVN-Rev: 24438
2008-08-04 21:56:02 +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
f7964455c2 ICU-6457 Move the if statement after variable declaration in TestSimpleDisplayNames().
X-SVN-Rev: 24429
2008-07-31 21:18:57 +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
Michael Ow
d4a61e3f44 ICU-4316 Add test case for proper substitution and round tripping for certain converters.
X-SVN-Rev: 24387
2008-07-16 21:12:16 +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
John Emmons
840a66c48d ICU-6378 Integrate CLDR release-1-6-d03
X-SVN-Rev: 24307
2008-06-27 02:34:14 +00:00
Steven R. Loomis
1a359a2fe6 ICU-6344 disable search if break iteration is on
X-SVN-Rev: 24260
2008-06-20 22:53:25 +00:00
John Emmons
4d161ddedc ICU-6256 Integrate CLDR 1.6 release 1-6-d01 + a few minor fixes
X-SVN-Rev: 24257
2008-06-20 22:19:23 +00:00
Steven R. Loomis
6b25b2f485 ICU-6367 whitespace again. If UWhiteSpace is skipped in the input text, skip it also in the pattern.
X-SVN-Rev: 24247
2008-06-20 00:43:45 +00:00
David Bertoni
fb00f867b0 ICU-6342 Updated two test cases.
X-SVN-Rev: 24240
2008-06-19 17:32:40 +00:00
Eric Mader
3d2690efdd ICU-6337 TestDiacriciticMatch: use "en_US" instead of default locale.
X-SVN-Rev: 24229
2008-06-18 21:37:41 +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
John Emmons
924a38a76e ICU-5219 Dutch IJ Titlecasing
X-SVN-Rev: 24179
2008-06-13 21:07:22 +00:00
Eric Mader
8b8e11bb47 ICU-6337 Add callback to initArgs to handle unknown options. Change iotest to take the STANDARD_TEST_FILE name from the argument list.
X-SVN-Rev: 24158
2008-06-12 01:01:00 +00:00
Claire Ho
3b9c7131aa ICU-5468 Array beyound write in ucol_getSortKey()
X-SVN-Rev: 24155
2008-06-11 21:37:03 +00:00
Michael Ow
bd22023816 ICU-5955 Increase the initial size of value to eliminate segmentation fault on Solaris 10.
X-SVN-Rev: 24139
2008-06-10 15:40:19 +00:00
John Emmons
1ee6fd5b02 ICU-6256 Integrate 1.6 data - 2nd run
X-SVN-Rev: 24124
2008-06-07 20:46:42 +00:00
Michael Ow
f5b2610706 ICU-4038 Add test case in cintltst.
X-SVN-Rev: 24117
2008-06-06 19:34:51 +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
Peter Edberg
342953342c ICU-5568 Add ucal_clone()
X-SVN-Rev: 24014
2008-05-28 04:53:32 +00:00
Eric Mader
f3064ad5f8 ICU-5420 remove debugging output from TestNormExact
X-SVN-Rev: 23983
2008-05-26 20:22:18 +00:00
Eric Mader
246077067f ICU-5420 print debugging info in TestNormExact
X-SVN-Rev: 23981
2008-05-23 19:17:20 +00:00
Eric Mader
9011fe483f ICU-5420 merge changes from branches/eric/string-search r.23303 - r.23976
X-SVN-Rev: 23977
2008-05-23 04:22:28 +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
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
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
John Emmons
695f6fa9c3 ICU-6256 CLDR 1.6 integration - 1st snapshot
X-SVN-Rev: 23911
2008-05-16 15:01:02 +00:00
David Bertoni
8ad2ddd4ca ICU-6228 C++ implementation complete.
X-SVN-Rev: 23897
2008-05-14 20:39:58 +00:00
David Bertoni
b67c77c3c1 ICU-6228 C++ implementation complete.
X-SVN-Rev: 23893
2008-05-14 17:38:03 +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
6f01b57fc6 ICU-6140 Fix invalid comment markers.
X-SVN-Rev: 23800
2008-04-17 17:58:36 +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
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
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
Andy Heninger
71bf003171 ICU-5696 Unicode 5.1 Update
X-SVN-Rev: 23761
2008-04-04 22:47:43 +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
George Rhoten
607152add1 ICU-5966 Fix some compiler warnings.
X-SVN-Rev: 23543
2008-03-07 22:53:21 +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
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
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
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
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
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
77d4e43ed0 ICU-6076 Prevent appending too much.
X-SVN-Rev: 23448
2008-02-17 08:27:29 +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
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
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
0885eb2149 ICU-6132 Reduce large allocations
X-SVN-Rev: 23406
2008-02-09 00:50:08 +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
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
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
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
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
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
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
George Rhoten
f53704dfc4 ICU-6004 Remove tabs from source code for easier code review.
X-SVN-Rev: 23129
2007-12-26 18:50:17 +00:00
Michael Ow
326689f2cb ICU-6101 Fix Lenient UTF8 issue and add test for new supplemental character checking code.
X-SVN-Rev: 23122
2007-12-21 00:08:12 +00:00
George Rhoten
04871ef43f ICU-5955 valgrind's massif tool (heap profiler) shows this test using a lot of unnecesary heap.
Decrease amount of heap used, and allow future supplementary characters to be tested too.

X-SVN-Rev: 23091
2007-12-15 10:01:09 +00:00
Michael Ow
d9958662e3 ICU-6024 Add dynamic buffer to collIterate to extend the size of CEs if needed to limit buffer overflow errors. CE buffer overflow cintltst test is changed to reflect this change.
X-SVN-Rev: 23089
2007-12-15 00:30:35 +00:00
George Rhoten
b29d3066db ICU-6076 There is no need to use the internal malloc API.
X-SVN-Rev: 23088
2007-12-14 10:29:06 +00:00
George Rhoten
dc72952350 ICU-6076 Fix memory leak from new code for -m option
X-SVN-Rev: 23082
2007-12-14 00:46:21 +00:00
George Rhoten
e87f0d6ca0 ICU-6088 The numeric keys are sorted last in structLocale on EBCDIC base machines. Account for those platforms too.
X-SVN-Rev: 23067
2007-12-11 22:54:43 +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
George Rhoten
2659a41917 ICU-6076 Add -m test option for easier memory failure testing.
The number of allocations can now be determined so that people can be
notified of a memory leak sooner than later in a development cycle.
Only C based test frameworks are affected.
Some test fixes for when the memory is limited to 100K per allocation are also
added.

X-SVN-Rev: 23042
2007-12-07 10:49:34 +00:00
Markus Scherer
efc935f2d3 ICU-6059 add test for u_strFromUTF8(E0 A5 9C)
X-SVN-Rev: 23020
2007-12-05 19:30:57 +00:00
George Rhoten
6fac6db1b4 ICU-5913 timebomb isn't needed
X-SVN-Rev: 22995
2007-11-30 20:24:58 +00:00
George Rhoten
b375764ea9 ICU-5913 Fix C++ comment in C code and fix timebomb
X-SVN-Rev: 22993
2007-11-30 20:02:21 +00:00
Claire Ho
c6dab684b7 ICU-5913 FCD broken in vi/ro sorts.
X-SVN-Rev: 22988
2007-11-30 04:29:20 +00:00
Eric Mader
b4afc1aece ICU-6004 remove C++ comments.
X-SVN-Rev: 22943
2007-11-16 01:25:00 +00:00
Andrew J Macheret
b936324dea ICU-6004 Tiny fix - Added end-lines to error messages
X-SVN-Rev: 22941
2007-11-15 23:19:14 +00:00
Andrew J Macheret
ec863e6f4e ICU-6004 Added a test in cmsccoll.c
X-SVN-Rev: 22940
2007-11-15 23:09:40 +00:00
Claire Ho
13ec3d524f ICU-5913 Need to add the rules somewhere else. Withdraw the previous changes first.
X-SVN-Rev: 22886
2007-11-06 02:28:36 +00:00
George Rhoten
c4849a6107 ICU-6010 ISO-3166 update
X-SVN-Rev: 22884
2007-11-04 00:06:32 +00:00
Claire Ho
88f2f061d7 ICU-5913 fixed bug in discontinuous contractions.
X-SVN-Rev: 22876
2007-10-31 05:32:26 +00:00
Michael Ow
feba867323 ICU-4279 Add test case for NFD and NFC string search.
X-SVN-Rev: 22873
2007-10-30 19:45:55 +00:00
Michael Ow
3b76a8e2fb ICU-5950 Added test case and added internal breakiterator to hold the character breakiterator.
X-SVN-Rev: 22854
2007-10-25 22:02:54 +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
Michael Ow
56171edcdc ICU-5024 Add null entry in DIACTRICMATCH test case.
X-SVN-Rev: 22846
2007-10-24 19:20:58 +00:00
Michael Ow
f6ec12ee6c ICU-5024 Add test case for diactric matching bug.
X-SVN-Rev: 22839
2007-10-23 19:09:59 +00:00
Markus Scherer
e2232741ed ICU-5401 fix test, reenable check for existing file
X-SVN-Rev: 22831
2007-10-22 19:21:22 +00:00
Michael Ow
7c1d2e0b40 ICU-5950 Implement breakiterator to check for accents after character match when using primary strength searches. Also, accents in the pattern are ignored when using primary strength searches. TestIgnorable test cases has been altered to test for accent after character matches.
X-SVN-Rev: 22817
2007-10-18 22:29:39 +00:00
Markus Scherer
a7fe8c6d9b ICU-5797 fix tests
X-SVN-Rev: 22773
2007-10-11 21:52:29 +00:00
George Rhoten
414eef4c2f ICU-5977 Fix for mainframes
X-SVN-Rev: 22769
2007-10-10 23:04:12 +00:00
Claire Ho
ff81b45d21 ICU-5977 set the timezone to GMT to avoid the inconsisitent result.
X-SVN-Rev: 22764
2007-10-09 20:22:16 +00:00
Claire Ho
27e64bcfac ICU-5977 added log_err() to udatpg_test.
X-SVN-Rev: 22738
2007-10-03 00:33:12 +00:00
David Bertoni
65457ffe5b ICU-5891 Implementation of CSS2 escaping.
X-SVN-Rev: 22703
2007-09-19 16:45:00 +00:00
Claire Ho
fd57e3862a ICU-5939 minor fix of udatpg_test.c.
X-SVN-Rev: 22698
2007-09-18 02:58:09 +00:00
Claire Ho
96ae8b8b0a ICU-5939 Added C/C++ test cases of DateTimePatternGenerator.
X-SVN-Rev: 22697
2007-09-18 00:00:00 +00:00
George Rhoten
19015854f1 ICU-5350 Fix last commit. Don't use C++ comments in C code.
X-SVN-Rev: 22646
2007-09-10 18:15:10 +00:00
Andy Heninger
52cc4ee6bf ICU-5350 more decimal format rounding mode fixes
X-SVN-Rev: 22645
2007-09-08 01:00:27 +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