Commit Graph

4981 Commits

Author SHA1 Message Date
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
7ecc972c39 ICU-6076 Prevent a double mutex lock when the following happens.
ucol_open -> u_cleanup -> ures_open same locale.
Notice that the collator leaked, which contained open resource bundles. The resource bundle API didn't recover very well from this experience, and a double mutex lock happens, which is hard to debug in the test framework.

This change will make it easier to test the -m option, reduce open resources while a collator is running and make it easier to segment the collator for static libraries.

X-SVN-Rev: 23107
2007-12-18 01:31:11 +00:00
George Rhoten
075829e0f3 ICU-5794 Fix for HP-UX, which didn't like objects declared in an array like
this.

X-SVN-Rev: 23101
2007-12-17 21:10:47 +00:00
Claire Ho
c11cd154da ICU-5794 merge from feature branch.
X-SVN-Rev: 23095
2007-12-17 01:39:55 +00:00
George Rhoten
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
George Rhoten
deda12eb38 ICU-5990 Fix a memory leak.
X-SVN-Rev: 23090
2007-12-15 04:16:47 +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
6112b5685d ICU-6076 Fix some realloc issues.
X-SVN-Rev: 23086
2007-12-14 09:23:07 +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
Yoshito Umaoka
4cd394b8da ICU-5990 Fixed a bug in the test case enabled for 3.9.1. status was not initialized to U_ZERO_ERROR properly.
X-SVN-Rev: 23081
2007-12-13 23:56:02 +00:00
Yoshito Umaoka
2e87f7e798 ICU-5990 Remove an unreferenced variable used by the timebomb in the previous version.
X-SVN-Rev: 23080
2007-12-13 22:28:06 +00:00
Yoshito Umaoka
0219cb81d9 ICU-5990 Updated the timezone test case and removed timebomb. Localized GMT format is available for bg locale
X-SVN-Rev: 23079
2007-12-13 21:41:21 +00:00
George Rhoten
09759f76f5 ICU-6098 Update to ICU 3.9.1
X-SVN-Rev: 23078
2007-12-13 21:37:23 +00:00
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
2c15ef3b5c ICU-6071 test and fix BMP-SBCS 1:2 and 2:1 conversions
X-SVN-Rev: 23041
2007-12-07 05:34:26 +00:00
George Rhoten
278ac82268 ICU-5955 Fix a memory leak.
X-SVN-Rev: 23040
2007-12-07 02:15:17 +00:00
George Rhoten
6fa9a969b8 ICU-5955 Fix a memory leak
X-SVN-Rev: 23038
2007-12-07 01:19:38 +00:00
George Rhoten
8e5fa8c4d8 ICU-5955 Fix memory leak
X-SVN-Rev: 23035
2007-12-06 18:33:45 +00:00
George Rhoten
16606cd531 ICU-5955 Fix a memory leak and a compiler warning.
X-SVN-Rev: 23033
2007-12-06 17:12:29 +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
Yoshito Umaoka
18224fd078 ICU-5990 Fix memory leak issues
X-SVN-Rev: 23018
2007-12-05 16:00:18 +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
Yoshito Umaoka
9380f65f4a ICU-5990 Updated DateFormatRoundTrip test to support zone string format before 1970 properly
X-SVN-Rev: 22982
2007-11-29 19:28:51 +00:00
Yoshito Umaoka
7e51ed7330 ICU-5990 Merging time zone formatting/parsing changes from yoshito's working branch to the trunk.
X-SVN-Rev: 22978
2007-11-28 20:49:58 +00:00
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
George Rhoten
bc4a8b72c1 ICU-6001 Fix callback
X-SVN-Rev: 22906
2007-11-08 21:06:10 +00:00
Michael Ow
3bab6dc25c ICU-738 Add argument list to store va_list information when positional data is given.
X-SVN-Rev: 22904
2007-11-08 17:21:40 +00:00
Eric Mader
b97a0ed12e ICU-5923 Remove stray C++ comment.
X-SVN-Rev: 22901
2007-11-08 00:20:57 +00:00
Eric Mader
f9c887d9a5 ICU-5923 Fix broken logical to physical mapping, improve test.
X-SVN-Rev: 22898
2007-11-07 00:37:48 +00:00
Michael Ow
f87c360920 ICU-738 Eliminate call to system sprintf in reordering test.
X-SVN-Rev: 22897
2007-11-07 00:30:22 +00:00
Andrew J Macheret
1f872827e3 ICU-4081 Ported more tests and fixed more problems revealed by tests
X-SVN-Rev: 22896
2007-11-07 00:07:35 +00:00
Michael Ow
ae68bce23b ICU-738 Fix Windows error in strtst.c.
X-SVN-Rev: 22895
2007-11-06 23:30:23 +00:00
Andrew J Macheret
f018a43611 ICU-4081 Ported tests and fixed problems revealed by tests
X-SVN-Rev: 22894
2007-11-06 22:26:06 +00:00
Michael Ow
a135e7122c ICU-738 Add reordering test for u_sprintf.
X-SVN-Rev: 22889
2007-11-06 18:23:29 +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
Michael Ow
bd5dc8355d ICU-4384 Make sure u_snprintf and similar functions conform to POSIX snprintf and change test to reflect this.
X-SVN-Rev: 22878
2007-10-31 23:17:15 +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
David Bertoni
233ddab1bc ICU-5891 Updates per code review. Also added new data-driven test case.
X-SVN-Rev: 22861
2007-10-26 20:57:56 +00:00
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
295dc24d64 ICU-5987 merge small-conversion-file feature into trunk, from svn merge -r 22780:22805 .../branches/markus/smallcnv
X-SVN-Rev: 22852
2007-10-25 17:05:36 +00:00
Markus Scherer
49868a5a68 ICU-6001 fix ucnv_getUnicodeSet(LMBCS)
X-SVN-Rev: 22850
2007-10-25 05:17:43 +00:00