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
5391e72e09
ICU-6153 Fix for Windows versus non-Windows differences.
...
X-SVN-Rev: 23285
2008-01-22 00:11:43 +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
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
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
Steven R. Loomis
2ea08731e3
ICU-6018 remove test verbosity
...
X-SVN-Rev: 23175
2008-01-04 20:11:50 +00:00
George Rhoten
c05bd41d42
ICU-6118 Export less internal API.
...
X-SVN-Rev: 23173
2008-01-04 08:45:10 +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
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
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
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
f53704dfc4
ICU-6004 Remove tabs from source code for easier code review.
...
X-SVN-Rev: 23129
2007-12-26 18:50:17 +00:00
Claire Ho
368dcc71a7
ICU-6110 1. Fixed the date/time order issue. 2. Added more test cases.
...
X-SVN-Rev: 23127
2007-12-22 05:30:33 +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
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
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
Markus Scherer
31b85e745d
ICU-6001 UCNV_ROUNDTRIP_AND_FALLBACK_SET for ucnv_getUnicodeSet(); improve set filtering; fix some bugs
...
X-SVN-Rev: 22847
2007-10-24 21:15:41 +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
Doug Felt
fb2431bbdd
ICU-6000 fix for RBNF in ICU4C
...
X-SVN-Rev: 22845
2007-10-24 00:38:03 +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
Markus Scherer
cc36611b2f
ICU-5797 use Shift-JIS table for ISO 2022-JP, and hardcode JIS X 0201 mappings
...
X-SVN-Rev: 22772
2007-10-11 21:31:32 +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
Yoshito Umaoka
8a4005e165
ICU-5971 Fix a test failure in TestFebruary. The test for Olson time zone America/Sao_Paulo is no longer valid with tzdata 2007h
...
X-SVN-Rev: 22726
2007-10-01 20:22:47 +00:00
Eric Mader
b3e3615ca5
ICU-5923 remove C++ comment.
...
X-SVN-Rev: 22724
2007-10-01 17:25:28 +00:00
John Emmons
1f0933a1df
ICU-5965 Update metazone transition info to be GMT
...
X-SVN-Rev: 22723
2007-10-01 15:00:26 +00:00
Eric Mader
6326fd83b3
ICU-5923 Add $(top_srcdir)/layoutex to -I list.
...
X-SVN-Rev: 22722
2007-09-29 01:11:38 +00:00
Eric Mader
48cc4bf0aa
ICU-5923 need to map from physical to logical when copying RTL char indices.
...
X-SVN-Rev: 22721
2007-09-29 00:55:19 +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
John Emmons
5841b2c731
ICU-5910 Add test for TestTimeZoneDisplayName
...
X-SVN-Rev: 22638
2007-09-06 21:22:41 +00:00
George Rhoten
c8bb832ad8
ICU-5919 Fixes for old iostream usage on HP-UX
...
X-SVN-Rev: 22634
2007-09-06 18:00:08 +00:00
George Rhoten
4976895e3b
ICU-5830 Better iostream error handling
...
X-SVN-Rev: 22629
2007-09-06 08:23:24 +00:00
George Rhoten
270b247475
ICU-5830 Mirror Windows behavior of iostream operator>>.
...
X-SVN-Rev: 22627
2007-09-05 23:13:02 +00:00
Eric Mader
84e6aefc9e
ICU-5907 Add test to make sure that ScriptCodes::scriptCodeCount == UScriptCode::USCRIPT_CODE_LIMIT.
...
X-SVN-Rev: 22618
2007-09-04 22:36:42 +00:00
George Rhoten
a8e2903338
ICU-5905 Fix svn properties
...
X-SVN-Rev: 22612
2007-09-01 07:22:23 +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
Markus Scherer
172c5af054
ICU-5882 revert changes: ticket 5869 needs to be either fixed or rolled back, and the original test code in csdetest.cpp helps expose 5869's problem
...
X-SVN-Rev: 22602
2007-08-31 18:06:46 +00:00
George Rhoten
f3084b1f1b
ICU-5889 Fix some logic errors uncovered by BEAM.
...
X-SVN-Rev: 22592
2007-08-31 04:58:52 +00:00
George Rhoten
cb9049cb25
ICU-5889 Fix some logic errors uncovered by BEAM.
...
X-SVN-Rev: 22583
2007-08-30 23:48:56 +00:00
George Rhoten
ca7379f1a3
ICU-5830 Improve reading of UnicodeStrings with operator>>
...
X-SVN-Rev: 22579
2007-08-30 23:13:07 +00:00