Commit Graph

4460 Commits

Author SHA1 Message Date
Andy Heninger
ab690b35a7 ICU-9842 Fix bad merge to AlphabeticIndex that was submitted under ticket 9440.
X-SVN-Rev: 33163
2013-02-11 05:06:48 +00:00
Andy Heninger
e06001f2d0 ICU-9440 spoof checker, merge updates from branch.
X-SVN-Rev: 33162
2013-02-11 04:51:14 +00:00
Yoshito Umaoka
87158d4fba ICU-9867 New time zone pattern letters/types support for CLDR 23/ICU 51.
X-SVN-Rev: 33159
2013-02-11 00:23:55 +00:00
Andy Heninger
686c8d47f9 ICU-9842 AlphabeticIndex: add constructor taking a collator.
X-SVN-Rev: 33148
2013-02-09 01:07:41 +00:00
John Emmons
96f4a704b2 ICU-9889 Implement scaling for decimalFormat
X-SVN-Rev: 33138
2013-02-07 19:48:29 +00:00
John Emmons
d0ae818a67 ICU-8451 Remove UnicodeString static initializers
X-SVN-Rev: 33122
2013-02-05 18:02:14 +00:00
Yoshito Umaoka
b676128bfe ICU-9648 Changed BasicTimeZone public API methods to const.
X-SVN-Rev: 33109
2013-02-01 07:39:04 +00:00
Michael Ow
44dcd1d90a ICU-8451 Ensure that the error conditions are handled properly.
X-SVN-Rev: 33088
2013-01-29 01:43:30 +00:00
Michael Ow
1d82e292eb ICU-8451 Fix some UnicodeString declarations in Region class
X-SVN-Rev: 33086
2013-01-28 18:55:33 +00:00
Peter Edberg
db42f0dc6e ICU-9857 Adjust for CLDR calendar <fields> move to top of <dates> element (C)
X-SVN-Rev: 33076
2013-01-26 00:15:50 +00:00
Yoshito Umaoka
557da151c7 ICU-9839 Punctuation exemplar type support. Code is added, but not working because of data problem explained in #9845. When data is refreshed next time, the problem should go away.
X-SVN-Rev: 33062
2013-01-18 16:29:02 +00:00
John Emmons
1df7ed7891 ICU-8451 Cleanup source/docs for region APIs
X-SVN-Rev: 33056
2013-01-16 19:06:23 +00:00
John Emmons
734cb70cc4 ICU-8451 Fix memory leaks in region implementation
X-SVN-Rev: 33054
2013-01-15 23:53:27 +00:00
John Emmons
7aa5b16036 ICU-8451 Fixing some memory leaks in region.cpp
X-SVN-Rev: 33053
2013-01-15 08:02:48 +00:00
John Emmons
d58fd10106 ICU-8451 Cleanup use of U_EXPORT2 in Region class for windows build
X-SVN-Rev: 33051
2013-01-14 20:46:38 +00:00
John Emmons
aad0b5d0f3 ICU-8451 Add region objects to Makefiles - remove one unnecessary line in region.cpp
X-SVN-Rev: 33049
2013-01-14 19:06:31 +00:00
John Emmons
013c6db432 ICU-8451 Initial port - Region APIs from Java to C++
X-SVN-Rev: 33048
2013-01-14 18:37:56 +00:00
Peter Edberg
54098be451 ICU-9497 Add support for short weekday names: format, parse, get/set symbols (C)
X-SVN-Rev: 33047
2013-01-14 04:48:51 +00:00
Peter Edberg
93632b56f2 ICU-9781 Parsing fractional seconds should truncate (not round) to 3 places (C)
X-SVN-Rev: 33044
2013-01-13 18:54:09 +00:00
Yoshito Umaoka
531924c9b4 ICU-9733 Use primary zone data (formerly singleCountries) for generic location names in ICU4C. This includes metaZones.txt generated from cldrbug:5439 changes (CLDR svn revision 8008).
X-SVN-Rev: 33012
2013-01-04 22:26:42 +00:00
Scott Russell
c54b40f7dc ICU-9836 C/Java mismatch parsing years with pattern "yyyy"
X-SVN-Rev: 33011
2013-01-04 17:16:07 +00:00
Yoshito Umaoka
08223859e3 ICU-9735 Added a C API ucal_getTimeZoneID.
X-SVN-Rev: 33005
2013-01-02 16:58:24 +00:00
Yoshito Umaoka
7586fcf7d4 ICU-9573 Removing Boyer-Moore string search implementation. CollData has moved from i18n package to intltest.
X-SVN-Rev: 32994
2012-12-19 05:12:25 +00:00
Michael Ow
a26ebe2ec5 ICU-9801 Use UNICODE_STRING instead of UnicodeString constructor for char string
X-SVN-Rev: 32978
2012-12-17 15:03:06 +00:00
Markus Scherer
af439c67de ICU-9789 lenient date/time parsing: accept missing or added trailing dot after non-numeric fields; refactor isNumeric() logic
X-SVN-Rev: 32962
2012-12-14 06:35:11 +00:00
Jennifer Chye
f8df230aba ICU-9793 Remove stray fprintf statement.
X-SVN-Rev: 32961
2012-12-14 01:45:53 +00:00
Jennifer Chye
58fe813c16 ICU-9793 Fix segfault when from field not present in CurrencyMap.
X-SVN-Rev: 32960
2012-12-14 01:27:49 +00:00
Steven R. Loomis
53666f0ad7 ICU-9679 fix a warning about identity comparison
X-SVN-Rev: 32933
2012-12-07 00:05:59 +00:00
Steven R. Loomis
9994b1fe03 ICU-9677 fix affixes-ignored-for-parse - check in handleChanged() instead of relying on input function
X-SVN-Rev: 32918
2012-12-04 21:33:15 +00:00
Steven R. Loomis
bc81e5f281 ICU-9780 calculate fastpath for parsing side separately, also allow grouping sep in nonlenient intonly mode
X-SVN-Rev: 32917
2012-12-04 20:33:19 +00:00
Michael Ow
53a148983c ICU-9679 Fix some gcc compiler warnings
X-SVN-Rev: 32912
2012-11-30 22:19:58 +00:00
Steven R. Loomis
4297072ccd ICU-9714 now builds clean on IBM i- fix some test cases for ASCIIsms, fix formattable buffer size
X-SVN-Rev: 32905
2012-11-29 01:09:50 +00:00
Markus Scherer
940031d074 ICU-9758 deprecate RuleBasedCollator::getMaxExpansion()
X-SVN-Rev: 32904
2012-11-29 00:33:41 +00:00
Peter Edberg
b54c586f38 ICU-9643 (C) Change "@internal ICU 50" display context API to "@draft ICU 51"
X-SVN-Rev: 32900
2012-11-28 01:12:46 +00:00
Travis Keep
3688cea886 ICU-9543 Simplify code that finds UNUM_SHORT and UNUM_LONG data. Thanks Mark Davis.
X-SVN-Rev: 32852
2012-11-16 17:50:41 +00:00
Steven R. Loomis
9046285bf5 ICU-9748 only do this instantiation on MSVC.
X-SVN-Rev: 32840
2012-11-15 23:12:24 +00:00
Steven R. Loomis
1caf333f2b ICU-9748 comment out unused parameters (warning)
X-SVN-Rev: 32839
2012-11-15 22:03:05 +00:00
Steven R. Loomis
858972dfa6 ICU-9748 MSVC2010 issues, move EnumSet<> to separate header
X-SVN-Rev: 32838
2012-11-15 21:55:41 +00:00
Travis Keep
ff3d74458b ICU-9543 replace bare intrinsic, long, with double.
X-SVN-Rev: 32835
2012-11-15 17:07:18 +00:00
Travis Keep
d8483531ca ICU-9543 int->int32_t.
X-SVN-Rev: 32833
2012-11-15 00:33:19 +00:00
Michael Ow
e376e476af ICU-9543 Add compactdecimalformat information to MSVC project files
X-SVN-Rev: 32832
2012-11-14 23:02:46 +00:00
Travis Keep
161183009a ICU-9543 C++ CompactDecimalFormat moved to trunk.
X-SVN-Rev: 32819
2012-11-14 18:49:38 +00:00
Steven R. Loomis
caf814a5db ICU-9721 bump versions to 51.0.1
X-SVN-Rev: 32811
2012-11-13 23:10:20 +00:00
Markus Scherer
bc31ae8173 ICU-9662 add & test & use U8_GET_OR_FFFD(), U8_NEXT_OR_FFFD(), U8_PREV_OR_FFFD()
X-SVN-Rev: 32796
2012-11-11 06:14:18 +00:00
Steven R. Loomis
0b5a813707 ICU-9714 merge from branch: fix ebcdic issues, also fix out of source build issue for make dist
X-SVN-Rev: 32793
2012-11-11 01:30:48 +00:00
Markus Scherer
5ed21eb567 ICU-9713 fix ucol_mergeSortkeys(): return correct length, handle empty levels
X-SVN-Rev: 32779
2012-11-09 01:04:05 +00:00
Markus Scherer
22a342a545 ICU-9689 UObject::getDynamicClassID() const { return NULL; } and remove UOBJECT_DEFINE_NO_RTTI_IMPLEMENTATION -> easier to create new class hierarchies
X-SVN-Rev: 32776
2012-11-08 23:31:20 +00:00
Travis Keep
69d9432ee2 ICU-9725 C GenderInfo must handle single item lists correctly by returning the gender of the sole item.
X-SVN-Rev: 32761
2012-11-06 19:29:54 +00:00
Steven R. Loomis
f2306f2577 ICU-9711 OS/400 fixes
X-SVN-Rev: 32742
2012-11-02 19:41:57 +00:00
Yoshito Umaoka
7139ce8835 ICU-9581 Replaced a non-ASCII character with an ASCII character.
X-SVN-Rev: 32661
2012-10-18 22:51:31 +00:00
Peter Edberg
e0688029ca ICU-9672 Add casts to avoid warnings
X-SVN-Rev: 32650
2012-10-17 21:54:06 +00:00
Peter Edberg
9622e41050 ICU-9581 Sync U_INTERNAL/U_DRAFT/U_STABLE tags to @internal/@draft/@stable
X-SVN-Rev: 32648
2012-10-17 05:48:18 +00:00
Peter Edberg
6735940768 ICU-9250 Document that date format S+ fields truncate for S,SS and zero-pad for SSSS+
X-SVN-Rev: 32646
2012-10-17 04:41:19 +00:00
Peter Edberg
8f94316877 ICU-9656 Restore #include <stdlib.h> for atoi
X-SVN-Rev: 32640
2012-10-16 00:54:37 +00:00
Peter Edberg
553bcf0b33 ICU-9656 Change RelativeDateFormat to keep 2 patterns (not formatters), and for fmt/parse glue them (with substitutions) and apply to single formatter
X-SVN-Rev: 32638
2012-10-15 23:32:31 +00:00
Markus Scherer
5d5811d46f ICU-9556 add virtual destructors for *KeyByteSink classes as required by source/test/depstest/depstest.py, see ICU ticket #8454
X-SVN-Rev: 32636
2012-10-15 22:12:05 +00:00
Markus Scherer
b64d860945 ICU-9549 re-simplify logic in _copy_ptr()
X-SVN-Rev: 32627
2012-10-12 23:18:49 +00:00
Michael Ow
b73ea8b387 ICU-9613 Fix wrong enum name
X-SVN-Rev: 32625
2012-10-12 21:53:41 +00:00
Michael Ow
8c2beec087 ICU-9613 Remove unneeded include statement and fix attribute name
X-SVN-Rev: 32624
2012-10-12 21:38:01 +00:00
Michael Ow
799a603abc ICU-9613 Merge from branch to trunk
X-SVN-Rev: 32622
2012-10-12 19:52:43 +00:00
Travis Keep
bb296a6003 ICU-9598 Respond to Markus' comments on C genderInfo
X-SVN-Rev: 32606
2012-10-11 20:58:56 +00:00
Travis Keep
dd506783e6 ICU-9598 Respond to Markus' comments on C GenderInfo
X-SVN-Rev: 32600
2012-10-11 18:52:55 +00:00
Yoshito Umaoka
5d4eb5c918 ICU-9567 Fixed a bad condition for Latin 1 checking updated in the previous change.
X-SVN-Rev: 32599
2012-10-11 18:10:04 +00:00
Yoshito Umaoka
b30caaeeac ICU-9567 Changes based on Markus's review feedback.
X-SVN-Rev: 32595
2012-10-11 03:24:59 +00:00
Peter Edberg
3d6cf30378 ICU-9606 Review comments: Use LocalPointer for btzClone, delete incorrect comment
X-SVN-Rev: 32594
2012-10-11 01:07:10 +00:00
Travis Keep
546def8662 ICU-9598 Use UBool instead of bool
X-SVN-Rev: 32593
2012-10-10 23:23:08 +00:00
Peter Edberg
4e08dc21bb ICU-9303 Finish LocaleDisplayNamesImpl & add test
X-SVN-Rev: 32575
2012-10-09 12:45:54 +00:00
Markus Scherer
7239810394 ICU-9631 add, fix, deprecate DateFormat skeleton constants, parallel to Java ticket #9375
X-SVN-Rev: 32572
2012-10-09 04:50:45 +00:00
Peter Edberg
66167d1012 ICU-9303 Update to final API for now, with some updates based on feedback
X-SVN-Rev: 32571
2012-10-09 03:49:16 +00:00
Peter Edberg
20af3447f4 ICU-9633 Adjust to UDisplayContext[Type] updates
X-SVN-Rev: 32570
2012-10-09 03:48:24 +00:00
Andy Heninger
b042e33ee1 ICU-7400 Fix incorrect API docs on several 'void parse()' functions.
X-SVN-Rev: 32561
2012-10-08 22:41:13 +00:00
Scott Russell
d5a9bec7f9 ICU-9403 Calendar should return error for large negative millis out of range in strict mode & fix extended year calculation for large negative millis
X-SVN-Rev: 32554
2012-10-08 20:24:50 +00:00
Yoshito Umaoka
7c176da599 ICU-9567 Check for input status. Also use U_ILLEGAL_ARGUMENT_ERROR on null input.
X-SVN-Rev: 32551
2012-10-08 18:06:41 +00:00
Peter Edberg
b6053b4240 ICU-9633 Adapt date fmt display context APIs to tentative new UDisplayContext
X-SVN-Rev: 32549
2012-10-08 16:52:35 +00:00
Peter Edberg
7a826f4b61 ICU-9303 Check in tentative UDisplayContext enum and related LocaleDisplayNames APIs; still need full impl & tests
X-SVN-Rev: 32548
2012-10-08 16:50:51 +00:00
Peter Edberg
b72359eca5 ICU-9623 ICU4C 50 API promotions, fix U_DRAFT -> U_STABLE as needed in .h, fix U_DRAFT -> U_CAPI in .c/cpp
X-SVN-Rev: 32547
2012-10-08 05:16:32 +00:00
Peter Edberg
3e36b67cf7 ICU-9606 Add ucal_getTimeZoneTransitionDate, UTimeZoneTransitionType and tests
X-SVN-Rev: 32545
2012-10-08 00:32:59 +00:00
Andy Heninger
f20e0f454a ICU-9598 Tweaks to visual studio project files for gender info
X-SVN-Rev: 32542
2012-10-07 04:00:17 +00:00
Markus Scherer
4c68d12d35 ICU-8901 u_formatMessage(unused argument): ignore unused argument, no failure
X-SVN-Rev: 32541
2012-10-07 02:50:40 +00:00
Markus Scherer
49d407d984 ICU-9294 test & fix MessageFormat::getFormatNames()
X-SVN-Rev: 32540
2012-10-07 01:27:19 +00:00
Markus Scherer
345df05de0 ICU-9598 add new *gender* files to .vcxproj
X-SVN-Rev: 32538
2012-10-07 00:35:07 +00:00
Yoshito Umaoka
f82276faf1 ICU-9567 Merged ucol_strcollUTF8 to trunk.
X-SVN-Rev: 32534
2012-10-05 23:44:00 +00:00
Andy Heninger
803ac8f33c ICU-9461 Mutex Implementation Rework, merge from devel branch.
X-SVN-Rev: 32530
2012-10-05 21:22:02 +00:00
Travis Keep
5786467fb0 ICU-9598 C/C++ implementation of GenderInfo.
X-SVN-Rev: 32527
2012-10-05 19:02:05 +00:00
Roozbeh Pournader
322682119a ICU-8952 fixed the algorithm for Persian Calendar and heavily refactored
X-SVN-Rev: 32498
2012-10-03 22:26:05 +00:00
Steven R. Loomis
ac84432516 ICU-9542 fix stray comma with -DUCONFIG_NO_BREAK_ITERATION=1 (was not valid C++)
X-SVN-Rev: 32449
2012-09-27 21:17:58 +00:00
Andy Heninger
71c72d028b ICU-9530 Remove extra casts that were added to sidestep problems with the clang compiler.
X-SVN-Rev: 32447
2012-09-27 21:09:31 +00:00
Steven R. Loomis
87d08a3a2d ICU-9556 fix namespace
X-SVN-Rev: 32445
2012-09-27 20:48:52 +00:00
Travis Keep
9adb3fd642 ICU-9549 Fix memory problems in DecimalFormat assignment operator.
X-SVN-Rev: 32439
2012-09-27 18:50:24 +00:00
Steven R. Loomis
70ecc4c943 ICU-9296 fix docs to U_UNSUPPORTED_ERROR as error type for unum_applyPattern
X-SVN-Rev: 32435
2012-09-27 16:46:30 +00:00
Yoshito Umaoka
5b8459bb01 ICU-9338 Promoting TimeZoneNames/TimeZoneFormat APIs from tech preview to draft.
X-SVN-Rev: 32427
2012-09-25 22:45:40 +00:00
Michael Ow
f75135af94 ICU-9529 Add missing header files to the appropriate project files
X-SVN-Rev: 32424
2012-09-25 16:16:00 +00:00
Markus Scherer
57fd3d7ef9 ICU-9589 document that the so-called UCA rules are not normally useful and can be removed from the data
X-SVN-Rev: 32412
2012-09-20 05:37:31 +00:00
Markus Scherer
551164f043 ICU-9560 un-deprecate CollationKey and Collator::getCollationKey()
X-SVN-Rev: 32410
2012-09-20 00:11:44 +00:00
Markus Scherer
d36fce9bed ICU-9534 ucol_nextSortKeyPart(): do not promise uncompressed sort keys
X-SVN-Rev: 32409
2012-09-19 23:55:58 +00:00
Markus Scherer
44d515a063 ICU-9556 CollationKey with internal array; cleaner more understandable ByteSink code and usage in calcSortKey
X-SVN-Rev: 32408
2012-09-19 23:41:47 +00:00
Steven R. Loomis
d455b9984e ICU-9569 add UDAT_PATTERN and update docs
X-SVN-Rev: 32406
2012-09-19 21:26:41 +00:00
Michael Ow
2d27b8f67e ICU-9082 Add compiler version check for AIX xlc workaround
X-SVN-Rev: 32405
2012-09-19 20:15:44 +00:00
Steven R. Loomis
58a86d0fe6 ICU-9586 undo r32398 as it pertains to ICU-9569 - accidentally checked in
X-SVN-Rev: 32400
2012-09-17 22:36:37 +00:00
Steven R. Loomis
a29d76d390 ICU-9586 print out status of gendict during build
X-SVN-Rev: 32398
2012-09-17 22:24:17 +00:00
Steven R. Loomis
9077d5dc25 ICU-9449 Merge in decimal format performance improvements from branch.
Improvements to 'howExpensiveIs' benchmark test.
Use internal digitlist in Formattable (save mallocs).
Enable fastpath by default.
Enable internal API "parse all input", returning an error if all input was not consumed.

X-SVN-Rev: 32397
2012-09-17 19:03:01 +00:00
Steven R. Loomis
1dff0b56ee ICU-9501 doxygen cleanup.
X-SVN-Rev: 32372
2012-09-11 20:51:51 +00:00
Yoshito Umaoka
f6b1112128 ICU-9381 Shorten time zone generic location name per cldrbug:4897. Imported the CLDR trunk data including fixes necessary for this.
X-SVN-Rev: 32368
2012-09-11 15:28:29 +00:00
Steven R. Loomis
79a59bfdef ICU-9525 fix casts as per http://www.stroustrup.com/bs_faq2.html#static-cast and also fix string quoting gcc47
X-SVN-Rev: 32307
2012-08-31 19:12:19 +00:00
George Rhoten
89c00402a8 ICU-9474 Undo the changeset to reduce the exported C++ static variables.
X-SVN-Rev: 32299
2012-08-30 03:19:37 +00:00
Peter Edberg
8db60a2d2b ICU-9399 return correct parse index when an era is expected but something else is found
X-SVN-Rev: 32262
2012-08-28 03:40:07 +00:00
Markus Scherer
ce6b202757 ICU-8920 clarify Collator::getRules() docs
X-SVN-Rev: 32259
2012-08-28 00:06:05 +00:00
Peter Edberg
d7a3235efb ICU-9392 japanese calendar minimum era should be 0
X-SVN-Rev: 32253
2012-08-27 23:21:33 +00:00
Markus Scherer
944ff6eeaf ICU-9141 add U_GCC_MAJOR_MINOR macro
X-SVN-Rev: 32252
2012-08-27 23:15:08 +00:00
Peter Edberg
00b9ba863a ICU-9256 For he@calendar=hebrew, offset the years within the current millenium down to 1-999
X-SVN-Rev: 32236
2012-08-27 05:58:17 +00:00
George Rhoten
e1b9092426 ICU-9469 Improve support for C++11
X-SVN-Rev: 32179
2012-08-15 17:46:17 +00:00
George Rhoten
ce96470daf ICU-9474 Reduce the exported C++ static variables too.
X-SVN-Rev: 32159
2012-08-12 00:33:34 +00:00
George Rhoten
0ae3d3a7d4 ICU-9474 Reduce unrename.h namespace pollution
X-SVN-Rev: 32157
2012-08-11 04:57:13 +00:00
George Rhoten
2ad0aad18c ICU-9456 Reduce writable/relocatable data.
X-SVN-Rev: 32150
2012-08-10 17:53:54 +00:00
George Rhoten
1384c72211 ICU-9456 Reduce writable/relocatable data.
X-SVN-Rev: 32149
2012-08-10 16:41:38 +00:00
Yoshito Umaoka
bc8ee5cca6 ICU-9452 Fixed calendar add issue with the Samoa Dec 2011 24 hour transition.
X-SVN-Rev: 32141
2012-08-09 21:29:53 +00:00
Markus Scherer
ca65e1c41e ICU-9460 deprecate Collator::safeClone() and default-implement it in the base class
X-SVN-Rev: 32127
2012-08-08 21:03:52 +00:00
Markus Scherer
2f6df5d520 ICU-9434 use static_cast<pointer type>(void *) not reinterpret_cast
X-SVN-Rev: 32119
2012-08-08 00:50:16 +00:00
Markus Scherer
520264ec8c ICU-9406 deprecate UCOL_HIRAGANA_QUATERNARY_MODE, disable setter
X-SVN-Rev: 32108
2012-08-04 17:24:45 +00:00
Markus Scherer
77b4e42b8d ICU-9346 remove U_EXPORT2 from .cpp where they are gone from .h, should fix Windows build
X-SVN-Rev: 32106
2012-08-03 23:12:28 +00:00
Markus Scherer
da6c36d287 ICU-9346 C++ Collator API cleanup, fix safeClone() bug (setRuleStringFromCollator() on the result), fix polymorphic operator==(), move some method implementations into the base class
X-SVN-Rev: 32100
2012-08-03 21:49:28 +00:00
George Rhoten
2f3551a74d ICU-9457 Fix some compiler warnings.
X-SVN-Rev: 32099
2012-08-03 21:16:37 +00:00
George Rhoten
dc75668c05 ICU-9457 Fix some compiler warnings
X-SVN-Rev: 32095
2012-08-03 19:09:42 +00:00
Steven R. Loomis
b15c2bbf3b ICU-9416 fix number formatting for max int digits in fastpath
X-SVN-Rev: 32026
2012-07-06 22:47:27 +00:00
Jungshik Shin
4934b397a8 ICU-8343 fix build errors in Visual Studio when exception is disabled
X-SVN-Rev: 32010
2012-06-28 23:28:00 +00:00
Michael Ow
6f32f4f5a4 ICU-9232 Use forward declaration for non-public class
X-SVN-Rev: 31986
2012-06-25 16:34:19 +00:00
Andy Heninger
d13e3710e1 ICU-6954 remove unused CharsetRecognizer field from CharsetMatch
X-SVN-Rev: 31978
2012-06-21 21:02:19 +00:00
Yoshito Umaoka
ecec4bfab4 ICU-8810 Changed @param zoneToAdopt to @param zone to match the method signature.
X-SVN-Rev: 31970
2012-06-19 15:28:23 +00:00
Peter Edberg
43d3e4e099 ICU-9226 Better documentation for add and roll functions/methods
X-SVN-Rev: 31967
2012-06-19 07:09:54 +00:00
Peter Edberg
c63be1f302 ICU-9226 Calendar add +year should always move forward in time; roll year should wrap for eras with real bounds, pin otherwise
X-SVN-Rev: 31966
2012-06-19 05:42:52 +00:00
Yoshito Umaoka
2b19607bfa ICU-8918 Documentation update explaining ambiguous wall time resolution in the class doc.
X-SVN-Rev: 31963
2012-06-18 19:19:31 +00:00
Yoshito Umaoka
fefba73e1d ICU-9258 Updated format/DecimalFormatTest/DataDrivenTests to format StringPiece in addition to DigitList. Fixed an error status problem (not returning U_FORMAT_INEXACT_ERROR) found by the StringPiece test.
X-SVN-Rev: 31961
2012-06-18 14:14:22 +00:00
Andy Heninger
c1dc277c46 ICU-9042 Memory leak in Time Unit Format.
X-SVN-Rev: 31943
2012-06-12 18:23:49 +00:00
Xiaomei Ji
a9ea9b2a82 ICU-9042 in time unit format, ignore those plural counts that are not defined in the locale's plural rules
X-SVN-Rev: 31924
2012-06-08 19:02:03 +00:00
Yoshito Umaoka
91a3c1e322 ICU-9352 Fixed a bug in useDaylightTime(). The test case reproducing the problem will be enabled with #9349 soon.
X-SVN-Rev: 31908
2012-06-05 20:38:37 +00:00
Markus Scherer
a4861cdd06 ICU-8298 avoid ambiguous method matching for MaybeStackArray[index]
X-SVN-Rev: 31903
2012-06-04 23:51:39 +00:00
Andy Heninger
0855f7a2b2 ICU-6954 Fix charset detection bug resulting from having state in shared recognizer objects.
X-SVN-Rev: 31900
2012-06-01 20:40:48 +00:00
Michael Ow
10f13e92ae ICU-9258 Remove extra comma in enum
X-SVN-Rev: 31895
2012-06-01 14:43:02 +00:00
Steven R. Loomis
dc44c2bdd9 ICU-9258 fix int64 format of U_INT64_MIN; // -9223372036854775808L
X-SVN-Rev: 31888
2012-05-30 18:21:49 +00:00
Steven R. Loomis
3c05a6b5d3 ICU-9258 fix typo in comment
X-SVN-Rev: 31882
2012-05-30 00:50:22 +00:00
Steven R. Loomis
43b918a0c8 ICU-9258 merge from branches, performance improvements
X-SVN-Rev: 31881
2012-05-30 00:41:57 +00:00
Andy Heninger
f7c10f5686 ICU-9344 fix rare memory leak in ucol.cpp
X-SVN-Rev: 31858
2012-05-25 18:25:38 +00:00
Michael Ow
671a7be44b ICU-9322 Fix some memory check errors in ICU tools
X-SVN-Rev: 31829
2012-05-17 19:58:22 +00:00
Michael Ow
22dda18669 ICU-9242 Fix format parsing in ICU4C calendar code
X-SVN-Rev: 31805
2012-05-09 21:00:40 +00:00
Michael Ow
0ca13b73b0 ICU-9292 Merge BEAM warning fixes from branch into trunk
X-SVN-Rev: 31792
2012-05-03 05:50:26 +00:00
Andy Heninger
1e26b4760c ICU-8810 Fix bad description of time zones in Calendar::createInstance()
X-SVN-Rev: 31783
2012-04-27 22:34:34 +00:00
Andy Heninger
b916fcb50b ICU-9283 fix for look-behind assertions w/ case insensitive matching.
X-SVN-Rev: 31782
2012-04-27 21:29:34 +00:00
Markus Scherer
1d98ac0736 ICU-9249 deprecate PluralFormat::setLocale(locale)
X-SVN-Rev: 31742
2012-04-18 23:58:47 +00:00
Michael Ow
bbad39b77a ICU-9232 Update version in ICU4C to 50.0.1 and update time bombs
X-SVN-Rev: 31725
2012-04-18 17:03:06 +00:00
Markus Scherer
adcdc1c20e ICU-9132 finalize new MessageFormat pattern argument type to selectordinal
X-SVN-Rev: 31702
2012-04-13 17:37:12 +00:00
Dragan Besevic
141bc218ef ICU-9252 zOS performance enhancement
X-SVN-Rev: 31696
2012-04-10 15:49:28 +00:00
Peter Edberg
eaae5eb353 ICU-9243 fieldDifference positive search should check to INT32_MAX, don't exceed int32 limits in calculations
X-SVN-Rev: 31694
2012-04-09 23:54:14 +00:00
Markus Scherer
8d7428d1b3 ICU-9132 ordinal-plural formatting in C/C++
X-SVN-Rev: 31687
2012-04-07 04:27:27 +00:00
Yoshito Umaoka
a1b5c33222 ICU-9237 Fixed copy constructor and assignment operator implementation problem in SimpleDateFormat. Also added a test case demonstrates the issue.
X-SVN-Rev: 31664
2012-03-30 21:07:56 +00:00
Yoshito Umaoka
bbf2400ce5 ICU-7205 Replace '<'/'>' in the previous change with HTML entities '&lt;'/'&gt;'.
X-SVN-Rev: 31631
2012-03-19 14:11:31 +00:00
Peter Edberg
4ab941ea5d ICU-7205 Improve API documentation for relative date formatting (C)
X-SVN-Rev: 31629
2012-03-19 04:31:15 +00:00
Peter Edberg
33863c74be ICU-7804 Clarify that parsing of negative years is in lenient mode only
X-SVN-Rev: 31628
2012-03-18 16:00:50 +00:00
Steven R. Loomis
849b2da11d ICU-9191 copy locale in cloned calendars
X-SVN-Rev: 31603
2012-03-08 19:29:24 +00:00
Peter Edberg
de52c0a9d3 ICU-9139 Make some internal globals static, update urename.h accordingly
X-SVN-Rev: 31578
2012-03-02 20:22:04 +00:00
Michael Ow
2e9b4064b7 ICU-9168 Add some more fix for uconfig and header test failures
X-SVN-Rev: 31577
2012-03-02 20:18:40 +00:00
Michael Ow
782387a888 ICU-9168 Fix some uconfig test errors
X-SVN-Rev: 31574
2012-03-02 17:59:56 +00:00
Markus Scherer
1c360497c7 ICU-9139 UCONFIG_NO_CONVERSION=1 bug fix
X-SVN-Rev: 31561
2012-03-01 23:50:07 +00:00
Markus Scherer
66325c9f16 ICU-9139 namespace bug fix
X-SVN-Rev: 31559
2012-03-01 21:55:23 +00:00
Michael Ow
91d55b284e ICU-8718 Close opened resource bundle in TimeZoneFormat
X-SVN-Rev: 31556
2012-03-01 18:11:32 +00:00
Michael Ow
76444a4b71 ICU-8716 Fix errors in cintltst and intltest when data is missing
X-SVN-Rev: 31552
2012-03-01 05:27:43 +00:00
Doug Felt
1e769d9b33 ICU-8456 don't use converter when creating pattern string
X-SVN-Rev: 31522
2012-02-27 18:22:29 +00:00
Yoshito Umaoka
83c811726a ICU-8916 Enclosed draft APIs with #ifndef U_HIDE_DRAFT_API
X-SVN-Rev: 31520
2012-02-27 17:35:21 +00:00
Yoshito Umaoka
4ec0b42811 ICU-7964 Added #ifndef U_HIDE_DRAFT_API to the new draft API.
X-SVN-Rev: 31519
2012-02-27 15:19:54 +00:00
Markus Scherer
830de364b6 ICU-8779 add ifndef U_HIDE_DRAFT_API
X-SVN-Rev: 31514
2012-02-25 01:36:17 +00:00
Peter Edberg
22eb317bb2 ICU-8697 C review fixes #2: less convoluted code
X-SVN-Rev: 31510
2012-02-24 22:54:57 +00:00
Peter Edberg
faced7a2f0 ICU-8697 C review fixes: correct UnicodeString constructor, use LocalPointer, use ParsePosition.getIndex() to test errs
X-SVN-Rev: 31509
2012-02-24 20:27:21 +00:00
Jungshik Shin
38f7c0625c ICU-8954 add pragma to slience clang/gcc 4.6 about array bound error
X-SVN-Rev: 31507
2012-02-24 18:28:13 +00:00
Michael Ow
62f31776b0 ICU-8513 Fix MSVC project and solution file errors
X-SVN-Rev: 31505
2012-02-24 15:50:41 +00:00
Steven R. Loomis
29fe6e1f35 ICU-8157 remove wrap of U_HIDE_INTERNAL_API for virtuals
X-SVN-Rev: 31503
2012-02-24 04:04:57 +00:00
Peter Edberg
9fb2e3ac79 ICU-7727 When collecting data, use real parent (per %%Parent if present) instead of just truncating name
X-SVN-Rev: 31491
2012-02-23 10:06:47 +00:00
Peter Edberg
aad3d090d4 ICU-9091 Updates based on PMC discussion, also remove some inappropriate #ifndef U_HIDE_DRAFT_API
X-SVN-Rev: 31486
2012-02-22 22:55:52 +00:00
Peter Edberg
efc03a774b ICU-9110 C - Name tweaks for consistency with some improvements in J
X-SVN-Rev: 31483
2012-02-22 09:06:12 +00:00
Steven R. Loomis
4eac54f2f6 ICU-8157 bump U_COL_SAFECLONE_BUFFERSIZE to 528: reordering and delegate have pushed it over 512 on IBM i teraspace.
X-SVN-Rev: 31481
2012-02-22 03:50:56 +00:00
Yoshito Umaoka
1641940f00 ICU-8513 Merging TimeZoneNames/TimeZoneFormat APIs (as 49 technology preview) into trunk.
X-SVN-Rev: 31469
2012-02-21 11:06:50 +00:00
Steven R. Loomis
ee88f60df4 ICU-9127 workaround for os400 also
X-SVN-Rev: 31464
2012-02-21 06:47:28 +00:00
Peter Edberg
60152763f3 ICU-9110 Add date format functions to set/get context, use when formatting
X-SVN-Rev: 31458
2012-02-21 01:29:50 +00:00
Steven R. Loomis
be22ad9f19 ICU-9019 uset_add with non-lenient calendars
X-SVN-Rev: 31457
2012-02-21 01:21:01 +00:00
Peter Edberg
4b3835d9e9 ICU-9091 Promote to stable most ICU4C API that are draft 4.8 or earlier
X-SVN-Rev: 31446
2012-02-20 04:28:17 +00:00
Steven R. Loomis
f0eb1ff995 ICU-8157 remove U_EXPORT2 and add ifdef no internal
X-SVN-Rev: 31444
2012-02-19 09:14:56 +00:00
Peter Edberg
05b2ae1381 ICU-8697 C, change parseCurrency methods to return CurrencyAmount*, make draft ICU 49
X-SVN-Rev: 31440
2012-02-19 06:45:47 +00:00
Steven R. Loomis
5824cdd742 ICU-8157 commit from branch
X-SVN-Rev: 31439
2012-02-19 06:39:16 +00:00
Steven R. Loomis
eec528c85f ICU-8157 commit from branch
X-SVN-Rev: 31434
2012-02-18 23:10:51 +00:00
Andy Heninger
9dbf80393c ICU-9009 For Alphabetic Index, add hard coded fall back in case there is no data available for defining the Labels.
X-SVN-Rev: 31424
2012-02-18 00:11:03 +00:00
Yoshito Umaoka
9d6a55f33d ICU-8916 Calendar APIs supporting options for handling ambiguous wall time (Merged from the work branch to the ICU4C trunk).
X-SVN-Rev: 31421
2012-02-17 23:53:05 +00:00
Michael Ow
1dfe6c4c8b ICU-8940 Ensure the new DecimalFormatSymbols is propagated properly in ICU4C RBNF
X-SVN-Rev: 31417
2012-02-17 23:09:57 +00:00
John Emmons
bae575e95a ICU-7501 Use allowsParsing attribute from CLDR to detect unparseable RBNF rulesets
X-SVN-Rev: 31416
2012-02-17 23:01:16 +00:00
Peter Edberg
0dab4799f7 ICU-9105 Fix DateTimePatternGenerator for 'U', integrate Chinese cal data updates from cldrbug 4395, update tests
X-SVN-Rev: 31407
2012-02-17 08:42:10 +00:00
Michael Ow
aedac126ad ICU-8456 Fix memory leak in LocaleDisplayNamesImpl
X-SVN-Rev: 31404
2012-02-17 05:43:09 +00:00
John Emmons
b8281ee69e ICU-9087 Add special case for +-infinity in DigitList::set()
X-SVN-Rev: 31403
2012-02-17 04:00:49 +00:00
John Emmons
7b449d6fe9 ICU-8849 Updates to NumberingSystem class to support otherNumberingSystems from CLDR
X-SVN-Rev: 31400
2012-02-15 22:01:43 +00:00
Andy Heninger
c74df646b7 ICU-6947 implement UREGEX_LITERAL flag.
X-SVN-Rev: 31398
2012-02-15 01:30:55 +00:00
Yoshito Umaoka
535e2f80d5 ICU-9109 Fixed missing digit issue with DecimalFormat in lenient mode.
X-SVN-Rev: 31391
2012-02-14 07:05:58 +00:00
Doug Felt
65fa708be4 ICU-8456 fix display of keywords in locale names
X-SVN-Rev: 31388
2012-02-14 00:43:47 +00:00
Markus Scherer
2ea559eeb4 ICU-8803 make Calendar::getType() public and improve API docs
X-SVN-Rev: 31385
2012-02-13 23:54:23 +00:00
Michael Ow
52af04fed7 ICU-7464 Apply fix to incorrect number rounding when rounding increment is in the string pattern of the decimal formatter in ICU4C
X-SVN-Rev: 31378
2012-02-13 19:23:47 +00:00
Andy Heninger
8bb50b4c00 ICU-9102 Remove uneeded u_init() from RegexPattern constructor
X-SVN-Rev: 31365
2012-02-10 22:50:02 +00:00
Andy Heninger
305adeb146 ICU-8034 Add Number Format field constant definitions.
X-SVN-Rev: 31356
2012-02-10 00:38:34 +00:00
Andy Heninger
5b3a708915 ICU-8992 Compiler Warning cleanup for gcc 4.6.1
X-SVN-Rev: 31329
2012-02-06 19:57:08 +00:00
Yoshito Umaoka
1c11ee4838 ICU-7964 Merging ucurr_getNumericCode from the work branch to the trunk.
X-SVN-Rev: 31320
2012-02-03 18:40:03 +00:00
Stuart Gill
28e701c0d6 ICU-9095 fix for reorder rules mixed with other rules - better solution
X-SVN-Rev: 31313
2012-02-03 01:10:19 +00:00
Stuart Gill
bbe524b849 ICU-9095 fix for reorder rules mixed with other rules
X-SVN-Rev: 31311
2012-02-03 00:05:00 +00:00
Peter Edberg
e3edca9be5 ICU-9044 Better description of 'U' character behavior (C)
X-SVN-Rev: 31280
2012-01-31 07:35:50 +00:00
Andy Heninger
085aca34c6 ICU-9057 Add joiner chars 200c and 200d to \w word char set.
X-SVN-Rev: 31278
2012-01-31 02:28:10 +00:00
Markus Scherer
9606c41350 ICU-9048 work around xlC compiler bug
X-SVN-Rev: 31270
2012-01-26 23:05:12 +00:00
Michael Ow
1f311240e5 ICU-8940 Add new ICU4C API to set decimal format symbols in RBNF
X-SVN-Rev: 31265
2012-01-25 21:16:48 +00:00
Peter Edberg
3b3b61e234 ICU-9044 Improve parse method documentation, note that parsing Chinese cal dates may be ambiguous (C)
X-SVN-Rev: 31254
2012-01-23 23:14:56 +00:00
Peter Edberg
a3d068508b ICU-9069 Parse 'U' when there there is no cyclic year name data (C)
X-SVN-Rev: 31247
2012-01-23 19:43:13 +00:00
Markus Scherer
b72fb657f6 ICU-9048 add virtual ~PluralSelector()
X-SVN-Rev: 31241
2012-01-20 22:12:56 +00:00
Andy Heninger
e35f05c08a ICU-9054 put buildWSConfusableData in icu namespace.
X-SVN-Rev: 31238
2012-01-20 20:46:08 +00:00
Andy Heninger
b8315ecf6a ICU-8826 Regex case insensitive match fixes; also fixes #6074, hitEnd() sometimes fails.
X-SVN-Rev: 31233
2012-01-20 00:50:02 +00:00
Claire Ho
0a032f2cfe ICU-9047 Fix the link error from ARM gcc.
X-SVN-Rev: 31232
2012-01-19 22:12:21 +00:00
Andy Heninger
e5c9c7613f ICU-9054 remove U_NAMESPACE_USE from uspoof.h
X-SVN-Rev: 31231
2012-01-19 19:37:39 +00:00
Peter Edberg
cb472ddf52 ICU-8959 If pattern char is 'U' but year has no cyclic name data, format as number (C)
X-SVN-Rev: 31224
2012-01-19 04:56:22 +00:00
Peter Edberg
0ab713c4fb ICU-8959 Add UDAT_YEAR_NAME_FIELD for pattern char 'U', implement format/parse for it (C)
X-SVN-Rev: 31215
2012-01-17 08:06:29 +00:00
Yoshito Umaoka
e577fc8ae0 ICU-8998 Added some explanation about useDaylightTime comparing to JDK.
X-SVN-Rev: 31214
2012-01-17 07:52:05 +00:00
Peter Edberg
0b49b06d49 ICU-9035 More Chinese calendar format/parse fixes, mostly backported from ICU4J
X-SVN-Rev: 31212
2012-01-17 03:24:56 +00:00
Andy Heninger
cec5a252fd ICU-9021 Thread safety in DigitList::getDouble(), incorporate review comment.
X-SVN-Rev: 31162
2011-12-20 19:29:26 +00:00
Andy Heninger
6bb13512c1 ICU-9021 Thread safety fixes to DigitList::getDouble().
X-SVN-Rev: 31159
2011-12-20 01:48:45 +00:00
Michael Ow
d427553ea9 ICU-8718 Fix memory leak from orphaned LocalArray pointer in SimpleDateFormat
X-SVN-Rev: 31111
2011-12-13 18:03:34 +00:00
Michael Ow
fc76cb342c ICU-8887 Update timezone doc in ICU4C
X-SVN-Rev: 31109
2011-12-13 17:44:04 +00:00
Markus Scherer
867084e6bb ICU-8801 comment out unused method parameter, avoid warning
X-SVN-Rev: 31102
2011-12-12 23:29:51 +00:00
Peter Edberg
122a779de8 ICU-8958 Review fixes - better handling of error conditions
X-SVN-Rev: 31099
2011-12-12 20:03:05 +00:00
Michael Ow
9cc995e9cd ICU-8718 Fix missing fLeapMonthPatterns when using copy constructor
X-SVN-Rev: 31098
2011-12-12 19:29:27 +00:00
Michael Ow
579059e902 ICU-8718 Fix memory leak caused by not deleting fLeapMonthPatterns
X-SVN-Rev: 31096
2011-12-12 17:18:19 +00:00
Markus Scherer
43bb4f2cf4 ICU-8827 Unicode 6.1 update: svn merge branches/markus/uni61 at r31062 into the trunk
X-SVN-Rev: 31071
2011-12-08 22:37:24 +00:00
Michael Ow
747ad726e2 ICU-8956 Update ICU4C SimpleDateFormat doc
X-SVN-Rev: 31069
2011-12-08 18:27:54 +00:00
Peter Edberg
56d70749df ICU-8958 Add support for parsing leapMonths (in addition to formatting per r31039, r31040)
X-SVN-Rev: 31043
2011-12-06 20:46:32 +00:00
Peter Edberg
5578f45b2f ICU-8958 use the correct monthPattern for numeric months
X-SVN-Rev: 31040
2011-12-06 08:26:13 +00:00
Peter Edberg
6dbcc24060 ICU-8958 integrate changes from cldrbug 4130:; add monthPatterns support to
DateFormatSymbols, use it to format leap months; ignore pattern char 'l'; add tests.

X-SVN-Rev: 31039
2011-12-06 08:00:44 +00:00
Peter Edberg
22a40ff65d ICU-7930 C, don't limit base skeleton field length to 3
X-SVN-Rev: 31028
2011-12-05 04:49:40 +00:00
Peter Edberg
3a8d6c31a9 ICU-8844 Clone fCalendar as necessary so it does not get modified by format or parse methods
X-SVN-Rev: 31017
2011-12-04 00:33:15 +00:00
Yoshito Umaoka
4334ee838f ICU-8943 RBTZ fix in ICU4C and its test case
X-SVN-Rev: 31009
2011-12-02 07:02:54 +00:00
Stuart Gill
16ea5c24a6 ICU-8914 extra C/C++ documentation for collation reordering
X-SVN-Rev: 31002
2011-12-01 23:13:47 +00:00
Markus Scherer
3a86b119b0 ICU-8246 add Normalizer2::getNFCInstance(), getNFKDInstance(), ...
X-SVN-Rev: 30994
2011-12-01 00:43:35 +00:00
Markus Scherer
524fd241c5 ICU-8942 use smaller/simpler FCD data rather than building an FCD trie
X-SVN-Rev: 30985
2011-11-28 22:59:49 +00:00
Michael Ow
e144d4ff66 ICU-8936 Add check-exhaustive make target to run the test suite in exhaustive mode
X-SVN-Rev: 30961
2011-11-14 22:33:19 +00:00
Yoshito Umaoka
e9503bdade ICU-8909 Fixed various warnings reported by a source code analysis tool.
X-SVN-Rev: 30958
2011-11-14 19:32:51 +00:00
Michael Ow
c5eeb6b6df ICU-8887 Update timezone class doc in ICU4C
X-SVN-Rev: 30956
2011-11-11 23:24:20 +00:00
Steven R. Loomis
53c67d692d ICU-8921 print a warning on rpath with installed icu. Also fix a bug where --disable-rpath (the default) caused icu-config selftest to fail
X-SVN-Rev: 30913
2011-11-03 20:48:20 +00:00
Steven R. Loomis
1ff6e9f8bc ICU-8909 warnings cleanup
X-SVN-Rev: 30877
2011-10-26 23:56:35 +00:00
Steven R. Loomis
de16c44aa9 ICU-8908 #error if U_COMMON_IMPLEMENTATION, etc isnt set
X-SVN-Rev: 30876
2011-10-26 23:02:14 +00:00
John Emmons
0ce13a1711 ICU-7635 Modify toString method to handle >>>
X-SVN-Rev: 30868
2011-10-26 02:16:23 +00:00
Markus Scherer
1fd9d55a23 ICU-8868 remove use of UnicodeString conversion constructor from numsys.cpp
X-SVN-Rev: 30785
2011-10-04 01:14:37 +00:00
Michael Ow
f6b6ce837f ICU-8864 Use fallback mechanism for empty string in ICUDataTable get method
X-SVN-Rev: 30781
2011-10-03 19:10:54 +00:00
Peter Edberg
ab3d24b4f5 ICU-8753 Fix comment about prevOffset / newOffset
X-SVN-Rev: 30773
2011-09-30 21:34:41 +00:00