Commit Graph

2953 Commits

Author SHA1 Message Date
Michael Ow
8ccd432155 ICU-8718 Fix some memory leak issues in numbering systems
X-SVN-Rev: 30592
2011-08-30 03:22:38 +00:00
Michael Ow
6be4ed022f ICU-8452 Fix some more Cygwin MVSC and Cygwin GCC build issues
X-SVN-Rev: 30541
2011-08-18 18:47:16 +00:00
Yoshito Umaoka
b990fed869 ICU-8766 Added a test case equivalent to ICU4J for testing parse position in date format parse with time zone pattern.
X-SVN-Rev: 30515
2011-08-16 16:36:51 +00:00
Yoshito Umaoka
3b11db76a4 ICU-8719 Skip date field range check added by r30018 when lenient mode. Reverted some date format test cases to accept out of range date fields when lenient.
X-SVN-Rev: 30508
2011-08-15 20:54:36 +00:00
Steven R. Loomis
1e1f8509d8 ICU-8755 interim fix. MessagePattern still needs fixing.
X-SVN-Rev: 30505
2011-08-13 02:45:09 +00:00
John Emmons
c651458559 ICU-8656 Implement NumberingSystem::getAvailableNames()
X-SVN-Rev: 30476
2011-08-08 16:03:37 +00:00
Markus Scherer
e31ce99b84 ICU-8575 option for not including utf headers by default; replace uses of deprecated utf_old.h macros
X-SVN-Rev: 30430
2011-07-27 05:53:56 +00:00
Markus Scherer
d0c495ee99 ICU-8452 try to work around a problem with using Solaris signal.h
X-SVN-Rev: 30421
2011-07-25 23:14:16 +00:00
Markus Scherer
3bf88cd711 ICU-8452 consolidate definition of _XOPEN_SOURCE for access to POSIX functions; do not use __STDC_VERSION__ in C++ code where it is not defined
X-SVN-Rev: 30418
2011-07-25 21:02:32 +00:00
Markus Scherer
9bcc40cf9e ICU-8452 un-autoconf platform.h, move user-configurable settings to uconfig.h, and other changes; from svn merge --reintegrate branches/markus/platformh at r30411
X-SVN-Rev: 30412
2011-07-23 00:10:30 +00:00
Steven R. Loomis
fd3246217f ICU-8714 backing out r30379 - broke the build
X-SVN-Rev: 30380
2011-07-18 19:51:16 +00:00
Michael Ow
cdd02be3f2 ICU-8716 Update collation and date format test to pass without data
X-SVN-Rev: 30378
2011-07-18 18:09:52 +00:00
John Emmons
ec44df4e86 ICU-8709 Merge CLDR ticket 4038 ( Spanish currency format)
X-SVN-Rev: 30356
2011-07-14 22:31:24 +00:00
Peter Edberg
4c710d51d2 ICU-8576 Replace a stray printf with errln
X-SVN-Rev: 30328
2011-07-13 07:28:49 +00:00
Peter Edberg
62d26cc5fe ICU-8576 Dictionary break test updates from George Rhoten
X-SVN-Rev: 30327
2011-07-13 06:49:42 +00:00
John Emmons
a963738287 ICU-8696 Merge CLDR 2.0.1
X-SVN-Rev: 30316
2011-07-12 19:55:07 +00:00
Peter Edberg
f5ccf251ef ICU-8583 Only parse arbitrary currency for calls that can return the found currency (e.g. parseCurrency)
X-SVN-Rev: 30313
2011-07-12 03:22:59 +00:00
Markus Scherer
f0f91649ce ICU-8691 fix UnicodeString::startsWith(const UChar *, -1 for NUL-terminated)
X-SVN-Rev: 30292
2011-07-07 18:21:28 +00:00
Yoshito Umaoka
3c22c67825 ICU-8675 Simple test case for checking stand alone GMT parsing multiple times.
X-SVN-Rev: 30282
2011-07-06 16:42:25 +00:00
Markus Scherer
1beb0f1e4f ICU-8680 require C++ namespace, replace most U_NAMESPACE_QUALIFIER with icu::, remove still-draft U_STD_NS, U_STD_NSQ, and U_STD_NS_USE
X-SVN-Rev: 30281
2011-07-06 04:03:35 +00:00
Markus Scherer
493668a25f ICU-8573 remove support for U_IOSTREAM_SOURCE=198506
X-SVN-Rev: 30278
2011-07-05 23:42:32 +00:00
Yoshito Umaoka
515788594c ICU-8596 Fixed the actual maximum week problem.
X-SVN-Rev: 30276
2011-07-05 22:42:14 +00:00
Markus Scherer
744d1f3a19 ICU-8617 move UHashTok into lower-level uelement.h (new) and rename to UElement to share with UVector
X-SVN-Rev: 30272
2011-07-04 23:51:56 +00:00
Markus Scherer
b6036a94f9 ICU-8615 implement optional IDNA2008 CONTEXTO check in UTS46
X-SVN-Rev: 30268
2011-07-01 22:19:14 +00:00
Markus Scherer
4abbf7161a ICU-8606 add Normalizer2.getCombiningClass(c)
X-SVN-Rev: 30263
2011-06-30 23:22:17 +00:00
Andy Heninger
d198367b6b ICU-8654 Fix incorrectly escaped unicode in test.
X-SVN-Rev: 30222
2011-06-22 04:44:45 +00:00
Yoshito Umaoka
0f29677f6a ICU-8624 Fixed a collation key compression problem. A tertiary key value was incorrect with a long string when case first option is set.
X-SVN-Rev: 30220
2011-06-20 17:18:46 +00:00
Andy Heninger
88e94ca0b0 ICU-8654 Spoof check, incorrect length used on NFD text.
X-SVN-Rev: 30218
2011-06-17 20:47:37 +00:00
Michael Ow
65629eb419 ICU-8635 Update ICU4C version to 49.0.1 (49M1)
X-SVN-Rev: 30216
2011-06-14 00:00:57 +00:00
Michael Ow
310c23c24e ICU-8578 Apply patch to fix some compiler warnings and related issues
X-SVN-Rev: 30205
2011-06-10 18:56:08 +00:00
Andy Heninger
b8d330e9a7 ICU-8490 Add BreakIterator::refresInputText()
X-SVN-Rev: 30203
2011-06-09 22:49:40 +00:00
Markus Scherer
9f7d74001c ICU-8605 document & test ICU4C dependencies, remove cycles, reduce some deps; merged from branches/markus/depstest -r 30155:30193
X-SVN-Rev: 30194
2011-06-03 05:23:57 +00:00
Yoshito Umaoka
3e6d2f0e18 ICU-8589 Corrected the condition for using country display name in a time zone partial name. Also updated the test case to parse the test date properly.
X-SVN-Rev: 30149
2011-05-26 20:56:15 +00:00
Markus Scherer
41c8654d92 ICU-8601 replace C U_INLINE hack with C++ inline, and also rename a few other .c files to .cpp for future UMTX_CHECK replacement
X-SVN-Rev: 30148
2011-05-26 20:05:39 +00:00
Markus Scherer
02836844e6 ICU-8428 remove @draft etc. API tags from non-API headers (impl, tests, samples)
X-SVN-Rev: 30117
2011-05-16 20:46:27 +00:00
John Emmons
7a0d90c14e ICU-8556 Merge CLDR release-2-0-d02 data
X-SVN-Rev: 30101
2011-05-12 02:11:29 +00:00
Michael Ow
dc0bdf415e ICU-8553 Ensure cintltst and intltest passes gracefully with warning without data in 4.8
X-SVN-Rev: 30088
2011-05-10 22:01:46 +00:00
Yoshito Umaoka
62201ee859 ICU-8428 ICU4C and data version to 4.8. Also moved time bombs.
X-SVN-Rev: 30049
2011-05-06 20:45:10 +00:00
John Emmons
2d4a2ae78f ICU-8489 Merge CLDR release-2-0-d01 into ICU
X-SVN-Rev: 30037
2011-05-05 18:12:27 +00:00
Andy Heninger
ae8896de7f ICU-8524 compiler warning cleanup.
X-SVN-Rev: 30026
2011-05-04 22:34:13 +00:00
Peter Edberg
332037ef5b ICU-6109 & #4942,#3579: Merge changes for lenient number & date parsing from branches/eric/lenient_number_parsing (manually!)
X-SVN-Rev: 30018
2011-05-04 12:23:42 +00:00
Steven R. Loomis
84da6cfda0 ICU-8350 missed one
X-SVN-Rev: 29994
2011-05-03 21:22:02 +00:00
Markus Scherer
74e96609b2 ICU-8350 better ASCII/EBCDIC fix
X-SVN-Rev: 29992
2011-05-03 20:34:28 +00:00
Andy Heninger
b040e0649f ICU-8516 Add AlphabeticIndex to UOBjectTest
X-SVN-Rev: 29990
2011-05-03 20:14:49 +00:00
Steven R. Loomis
61bdf314c6 ICU-8350 terminate the buffer.
X-SVN-Rev: 29989
2011-05-03 19:48:42 +00:00
Steven R. Loomis
64a323a8e2 ICU-8350 fix another asciism
X-SVN-Rev: 29987
2011-05-03 18:16:18 +00:00
Steven R. Loomis
932bcbef14 ICU-8350 fix ASCIIsm
X-SVN-Rev: 29985
2011-05-03 16:55:27 +00:00
Yoshito Umaoka
4d7569c743 ICU-8342 Refactoring ZoneStringFormat into TimeZoneNames and TimeZoneFormat (all internal APIs for now). Also supporting localized GMT zero format and fallback region format for generic names.
X-SVN-Rev: 29984
2011-05-03 14:59:01 +00:00
Steven R. Loomis
607f78619b ICU-8466 fix unescaped \u
X-SVN-Rev: 29983
2011-05-03 14:33:43 +00:00
Peter Edberg
04435370a7 ICU-8466 Oops, that hyphen in copied text was really an en dash, fix to use \u notation
X-SVN-Rev: 29977
2011-05-03 06:32:11 +00:00
Peter Edberg
d67f95f797 ICU-8466 Add get/adopt/setTimeZone to DateIntervalFormat, as in DateFormat
X-SVN-Rev: 29976
2011-05-03 05:44:58 +00:00
Markus Scherer
2021d92a62 ICU-8079 rewrite/simplify sort key buffer/memory management, fixes overflow & length counting bugs
X-SVN-Rev: 29968
2011-05-03 00:29:45 +00:00
Andy Heninger
0852cc4e73 ICU-7572 Decimal Format UNUM_ROUND_UNNECESSARY implmenentation.
X-SVN-Rev: 29959
2011-05-02 19:15:03 +00:00
Andy Heninger
be5efb8d44 ICU-7083 Make RBBI create from compiled rules public.
X-SVN-Rev: 29926
2011-04-29 17:49:01 +00:00
Markus Scherer
bb9af46cfe ICU-8432 test & document that PluralRules::getSamples() returns count<=destCapacity
X-SVN-Rev: 29924
2011-04-29 16:42:34 +00:00
Markus Scherer
70ad6b4a74 ICU-7386 merge NumberFormat::EStyles into UNumberFormatStyles & improve NumberFormat::makeInstance() memory management
X-SVN-Rev: 29920
2011-04-29 00:00:47 +00:00
Claire Ho
83d13b22aa ICU-7387 Changed TimeUnitFormat::EStyle should bto C enum.
X-SVN-Rev: 29916
2011-04-28 16:42:58 +00:00
Markus Scherer
6c49e812c0 ICU-8432 fix PluralRules memory management & a couple of minor issues
X-SVN-Rev: 29914
2011-04-28 13:35:56 +00:00
Markus Scherer
e25457f07a ICU-8499 change PluralRules::NO_UNIQUE_VALUE into #define UPLRULES_NO_UNIQUE_VALUE
X-SVN-Rev: 29911
2011-04-27 20:04:06 +00:00
Markus Scherer
9774441e40 ICU-8491 remove uprv_isRuleWhiteSpace(c)
X-SVN-Rev: 29900
2011-04-26 06:39:29 +00:00
Markus Scherer
3962c68aa2 ICU-8319 do not use UNICODE_STRING_SIMPLE with a multi-line string literal
X-SVN-Rev: 29896
2011-04-26 04:01:09 +00:00
Markus Scherer
d743bb693e ICU-8319 merge MessageFormat 2011q1 work into trunk, from icu/branches/markus/msg48 -r 29400:29882
X-SVN-Rev: 29886
2011-04-25 20:47:32 +00:00
Michael Ow
90edb92874 ICU-8366 Include missing header file in caltest
X-SVN-Rev: 29872
2011-04-23 22:11:25 +00:00
Yoshito Umaoka
56ef4e7f1a ICU-8366 Added ISO8601 calendar type support.
X-SVN-Rev: 29868
2011-04-23 16:35:30 +00:00
Yoshito Umaoka
39f9a8686f ICU-8482 Changed the behavior of already broken match boundary condition - not to expand the result match length when 1) the end of CE match is a part of expansion 2) the limit of the CE match is already on a break boundary. Also flipped the behavior of isBreakBoundary, which was actually is*Not*BreakBoundary before.
X-SVN-Rev: 29848
2011-04-22 05:37:46 +00:00
Andy Heninger
2861a47a86 ICU-7029 Add test case for this ticket.
X-SVN-Rev: 29846
2011-04-21 23:19:40 +00:00
Andy Heninger
f777c14042 ICU-8444 Remove PATTERN_IS_UTEXT from regex API.
X-SVN-Rev: 29845
2011-04-21 22:57:19 +00:00
Andy Heninger
118efa19c6 ICU-8486 UText not checking for Bogus UnicodeStrings, causing crash in regular expressions.
X-SVN-Rev: 29840
2011-04-21 00:07:50 +00:00
Andy Heninger
8148726df2 ICU-8404 Regular Expressions split(), fix incorrect handling of trailing empty field
X-SVN-Rev: 29801
2011-04-15 00:48:39 +00:00
Dragan Besevic
b95924297b ICU-7486 Removing test noise
X-SVN-Rev: 29750
2011-04-06 21:56:48 +00:00
Michael Ow
d91a2126d4 ICU-8273 Delete PluralRule pointer after each use
X-SVN-Rev: 29720
2011-04-01 06:34:23 +00:00
Yoshito Umaoka
74e7b59d02 ICU-8415 Fixes for usearch_preceding and usearch_last regression bugs. The search test framework to cover usearch_following and usearch_preceding. Corrected and improved the API documentation for usearch_following/usearch_preceding. Merging these updates tested in my work branch to trunk.
X-SVN-Rev: 29681
2011-03-22 03:50:26 +00:00
Doug Felt
2cd87fc93e ICU-8432 make icu4c test more robust
X-SVN-Rev: 29667
2011-03-17 22:57:55 +00:00
Doug Felt
47108a4e65 ICU-8432 add icu4c implementation and tests
X-SVN-Rev: 29666
2011-03-17 21:36:03 +00:00
John Emmons
40f80afaaa ICU-8424 Merge current CLDR trunk to 4.8M1 as CLDR 1.9.9
X-SVN-Rev: 29637
2011-03-12 14:57:18 +00:00
Eric Mader
f244b0674d ICU-8407 IntlTestNumberFormat::testLocale() - don't do scientific test for en_US_POSIX
X-SVN-Rev: 29584
2011-03-09 17:17:19 +00:00
Eric Mader
206c946267 ICU-8407 Use a case-insensitive compare when matching the exponent symbol.
X-SVN-Rev: 29551
2011-03-07 20:02:28 +00:00
Michael Ow
c28a76be8b ICU-8273 Fix memory leak issue in timezone test.
X-SVN-Rev: 29538
2011-03-04 03:01:59 +00:00
Markus Scherer
d55e005cf7 ICU-8167 move string tries to the common library and make API headers public
X-SVN-Rev: 29531
2011-03-03 21:56:36 +00:00
Michael Ow
4ff56e0dd5 ICU-8398 Log data errors where appropriate so ensure cintltst and intltest passes without data in 4.7.1
X-SVN-Rev: 29529
2011-03-03 19:29:57 +00:00
Yoshito Umaoka
34bc79c98b ICU-8278 New APIs TimeZone::createTimeZoneIDEnumeration and ucal_openTimeZoneIDEnumeration for supporting canonical/canonical location zone iteration. The fix for ticket#8349 Etc/Unknown problem was also done at the same time.
X-SVN-Rev: 29498
2011-03-01 18:29:13 +00:00
Andy Heninger
def8fdc070 ICU-7530 Add alphabetic index to windows projects
X-SVN-Rev: 29484
2011-02-27 18:55:17 +00:00
Andy Heninger
7b7f48eef8 ICU-7530 Alphabetic index, move from branch to trunk.
X-SVN-Rev: 29482
2011-02-25 22:21:30 +00:00
Andy Heninger
497e88ec1f ICU-8341 spoof skeleton computed using NFD, not NFKD
X-SVN-Rev: 29475
2011-02-24 22:55:07 +00:00
Yoshito Umaoka
d7c7514920 ICU-8346 ICU4C TimeZone::createTimeZone to return Etc/Unknown when the given ID is unknown/unparsable. Also added UCAL_UNKNOWN_ZONE_ID.
X-SVN-Rev: 29462
2011-02-19 06:29:52 +00:00
Yoshito Umaoka
7c93a6eeac ICU-8279 TimeZone API - getRegion in ICU4C
X-SVN-Rev: 29459
2011-02-18 23:03:47 +00:00
John Emmons
4b8773457a ICU-8031 Support for parent locales
X-SVN-Rev: 29443
2011-02-16 13:46:19 +00:00
Peter Edberg
2c5bd3f343 ICU-8330 Fix ICU4C handling of 'S' (fractional seconds) in skeleton
X-SVN-Rev: 29421
2011-02-10 04:46:32 +00:00
Markus Scherer
086386bd9e ICU-8322 pack class UnicodeString layout to avoid padding
X-SVN-Rev: 29398
2011-02-04 19:54:58 +00:00
Markus Scherer
d5599d7be9 ICU-8314 change Appendable into a base class, add UnicodeStringAppendable
X-SVN-Rev: 29392
2011-02-03 22:07:22 +00:00
Markus Scherer
d8ea46628b ICU-8314 Appendable interface, AppendableAdapter default impl & UnicodeString is-an Appendable
X-SVN-Rev: 29390
2011-02-03 05:28:01 +00:00
Markus Scherer
9cc27feeb4 ICU-8167 port trie API changes from Java
X-SVN-Rev: 29367
2011-01-27 21:41:03 +00:00
Yoshito Umaoka
0d4c82b85a ICU-8057 Skip validating fields internally set by add method in non-lenient mode. The same changes were done in ICU4J.
X-SVN-Rev: 29338
2011-01-19 23:31:36 +00:00
Andy Heninger
0ac84b2939 ICU-8199 Fix for failing decimal parse test on Windows.
X-SVN-Rev: 29292
2011-01-12 23:41:52 +00:00
Markus Scherer
f97ba58fe7 ICU-8167 minor test fixes
X-SVN-Rev: 29282
2011-01-10 23:55:17 +00:00
Markus Scherer
397d6f7372 ICU-8167 make trie iterators nested classes inside their tries
X-SVN-Rev: 29272
2011-01-06 18:40:26 +00:00
Markus Scherer
62306a038c ICU-8167 rename ByteTrie to BytesTrie, DictTrie to StringTrie, etc.
X-SVN-Rev: 29265
2011-01-05 21:05:47 +00:00
Andy Heninger
345c295b0f ICU-8199 Fix compilation errors on MacOSX introduced by previous commit of these files
X-SVN-Rev: 29260
2011-01-04 19:01:12 +00:00
Andy Heninger
7a2d96c7c8 ICU-8199 Fix use of out-of-scope object in DigitList, and related rounding problems in Formattable::getInt64
X-SVN-Rev: 29259
2011-01-04 07:42:32 +00:00
Markus Scherer
c04082d93c ICU-8105 hardcode Unicode property names data (formatVersion 2); includes new dictionary-type tries (ByteTrie & UCharTrie see ticket #8167); merge branches/markus/tries -r 29040:29249
X-SVN-Rev: 29252
2010-12-31 18:21:36 +00:00