Commit Graph

2485 Commits

Author SHA1 Message Date
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