Commit Graph

4342 Commits

Author SHA1 Message Date
Travis Keep
7e89728836 ICU-9914 ICU4C DateIntervalFormat to handle 2 year vs. 4 year formats.
X-SVN-Rev: 33453
2013-03-21 17:25:43 +00:00
Andy Heninger
ae4350661b ICU-10048 Fix some compiler warnings in ICU4C.
X-SVN-Rev: 33444
2013-03-21 01:42:01 +00:00
Steven R. Loomis
a7758d2cd5 ICU-10030 fix crasher when no subregions, also err check, and modernize test infrastructure
X-SVN-Rev: 33401
2013-03-08 19:23:41 +00:00
Peter Edberg
fbace77746 ICU-9721 Update "#ifndef U_HIDE_XXX_API" guards for API status
X-SVN-Rev: 33367
2013-03-05 01:38:48 +00:00
Peter Edberg
bc29c28e46 ICU-9965 Don't skip availableFormats items from non-root locales if conflict only due to basePattern (C)
X-SVN-Rev: 33360
2013-03-04 11:10:20 +00:00
Markus Scherer
374c8e1ef3 ICU-9988 remove poor mans RTTI from new class hierarchy, remove undocumented UNDEFINED_NUMERIC_CODE, fix destructor definition, not intended for public subclassing
X-SVN-Rev: 33348
2013-02-27 23:56:23 +00:00
Markus Scherer
d511789345 ICU-9880 do not define a virtual destructor inline
X-SVN-Rev: 33342
2013-02-27 19:50:08 +00:00
Andy Heninger
6a16eb759a ICU-9981 Initialize memory that was causing erratic results.
X-SVN-Rev: 33329
2013-02-25 23:56:37 +00:00
Michael Ow
e31422e17e ICU-9721 Fix errors found and fixed by icu-svnprops-check.py in ICU4C
X-SVN-Rev: 33326
2013-02-25 23:23:33 +00:00
Michael Ow
d637feebce ICU-9979 Fix some memory clean up errors
X-SVN-Rev: 33320
2013-02-25 19:09:10 +00:00
Michael Ow
57ab6f389a ICU-9801 Fix long string literal in UNICODE_STRING_SIMPLE call
X-SVN-Rev: 33314
2013-02-24 01:06:01 +00:00
Michael Ow
56a80addb8 ICU-9801 Fix some incorrect usage of UnicodeString constructor
X-SVN-Rev: 33312
2013-02-23 16:58:30 +00:00
Michael Ow
d0ef650ea4 ICU-9721 Fix some uconfig test failures
X-SVN-Rev: 33311
2013-02-23 16:40:06 +00:00
Michael Ow
37eeb709db ICU-9955 merge ICU4C API status promotion to trunk
X-SVN-Rev: 33306
2013-02-22 20:15:50 +00:00
Michael Ow
795b21007f ICU-9802 Fix no data cintltst and intltest failures
X-SVN-Rev: 33302
2013-02-22 03:24:01 +00:00
Michael Ow
f3d398a293 ICU-9944 Fix function name collision
X-SVN-Rev: 33295
2013-02-21 22:37:26 +00:00
Markus Scherer
cb96abf1f8 ICU-9963 remove bogus U_I18N_API from ChineseCalendar::getStaticClassID()
X-SVN-Rev: 33283
2013-02-20 22:50:37 +00:00
Markus Scherer
743bc7353f ICU-9637 make new DateFormat skeleton constants public API
X-SVN-Rev: 33280
2013-02-20 21:23:49 +00:00
Andy Heninger
aa3fbefd9c ICU-9440 gcc compiler warning cleanup.
X-SVN-Rev: 33279
2013-02-20 21:22:03 +00:00
Markus Scherer
9452d9ed08 ICU-9880 g++ does not seem to allow a class pointer field whose type is from an anonymous namespace
X-SVN-Rev: 33277
2013-02-20 20:57:54 +00:00
Yoshito Umaoka
da21d9c2b6 ICU-9696 Updated the API doc for ICU4C SimpleDateFormat with the latest CLDR specification.
X-SVN-Rev: 33270
2013-02-19 10:35:03 +00:00
Peter Edberg
47c5a5aa61 ICU-9616 Add DangiCalendar & tests, port from J to C
X-SVN-Rev: 33267
2013-02-18 23:36:57 +00:00
Peter Edberg
157ed28fc9 ICU-9616 ChineseCalendar changes to support Dangi subclass, port from J to C
X-SVN-Rev: 33265
2013-02-18 17:51:25 +00:00
Markus Scherer
2fffcf3b77 ICU-9880 add #ifndef U_HIDE_DRAFT_API
X-SVN-Rev: 33253
2013-02-16 21:53:15 +00:00
John Emmons
db02b5633f ICU-9909 Update currency list with current currencies as of 2013-02-16
X-SVN-Rev: 33252
2013-02-16 21:48:13 +00:00
Markus Scherer
f5cd9984c6 ICU-9880 add ImmutableIndex, replace Chinese hacks and support zhuyin, handle index characters with multiple primary weights, lazy-create rarely-used objects, bug fixes, port other improvements from Java
X-SVN-Rev: 33245
2013-02-15 22:11:33 +00:00
Yoshito Umaoka
049fb62622 ICU-9475 Link to methods with arguments did not work. Removed method arguments in @link.
X-SVN-Rev: 33227
2013-02-14 22:48:35 +00:00
Yoshito Umaoka
938b34ab6b ICU-9475 Some additional notes in TimeZoneNames API reference.
X-SVN-Rev: 33225
2013-02-14 21:20:23 +00:00
Scott Russell
2b6ad1d385 ICU-9911 C++ DecimalFormat::get/setattribute - change from internal API to pulic
X-SVN-Rev: 33224
2013-02-14 20:54:29 +00:00
Andy Heninger
e207951893 ICU-9440 Namespace tweaks to uspoof.h
X-SVN-Rev: 33168
2013-02-11 18:37:06 +00:00
Andy Heninger
4c238156a4 ICU-9440 Remove more spurious semicolons.
X-SVN-Rev: 33167
2013-02-11 18:03:05 +00:00
Peter Edberg
4d725b4790 ICU-9440 Delete misplaced comma causing build failure
X-SVN-Rev: 33164
2013-02-11 06:57:31 +00:00
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