Commit Graph

4595 Commits

Author SHA1 Message Date
Markus Scherer
b20a9793f9 ICU-10282 deprecate bad API RuleBasedCollator::cloneRuleData(), call cloneBinary()
X-SVN-Rev: 34314
2013-09-13 19:25:01 +00:00
Andy Heninger
b6529f6c53 ICU-10273 fix Windows test failure in FixedDecimal.
X-SVN-Rev: 34308
2013-09-13 17:08:58 +00:00
Steven R. Loomis
0c1b6a8ffd ICU-10397 move singleton init out of static functions (perf)
X-SVN-Rev: 34304
2013-09-13 16:21:56 +00:00
Steven R. Loomis
9518f3f302 ICU-10273 IBM i fixes
X-SVN-Rev: 34299
2013-09-13 05:16:54 +00:00
Markus Scherer
9ef3145fbc ICU-9915 do not mask off the continuation bits and then later test this masked CE value for isContinuation()
X-SVN-Rev: 34298
2013-09-13 03:07:39 +00:00
Peter Edberg
1f21a220d9 ICU-10378 (C) Delete comma at end of enumerator list
X-SVN-Rev: 34293
2013-09-12 23:48:02 +00:00
Peter Edberg
ce1c10fd51 ICU-10378 (C) Support skeleton meta-character 'J' in DateTimePatternGenerator
X-SVN-Rev: 34292
2013-09-12 22:49:07 +00:00
Markus Scherer
308b16079b ICU-7392 DecimalFormatSymbols::createWithLastResortData(UErrorCode), and clean up the real initialize() for supplementary digits and memory management
X-SVN-Rev: 34288
2013-09-12 20:33:29 +00:00
Andy Heninger
ed9d094e61 ICU-10273 PluralRules FixedDecimal, avoid undefined cast from NaN to int64_t
X-SVN-Rev: 34287
2013-09-12 20:07:53 +00:00
Steven R. Loomis
bbc0a17a8e ICU-10379 fixes for IBM i - ambiguous types
X-SVN-Rev: 34285
2013-09-12 06:29:39 +00:00
Peter Edberg
30feb0c56b ICU-10039 Per API review: Add consts, add unumsys_getDescription(), improve documentation
X-SVN-Rev: 34283
2013-09-12 04:33:03 +00:00
Steven R. Loomis
e059ab24ef ICU-10273 fix compilation failure on some platforms, also reorder zero-initializers to avoid warning
X-SVN-Rev: 34282
2013-09-12 04:04:56 +00:00
Andy Heninger
8abaebe06e ICU-10273 DecimalFormat::getFixedDecimal(), improved handling of rounding, overflow.
X-SVN-Rev: 34280
2013-09-12 01:00:04 +00:00
Markus Scherer
fb38bbbee8 ICU-10273 support plurals with decimals in MessageFormat and PluralFormat (ported from Java r34087 & r34276)
X-SVN-Rev: 34277
2013-09-11 23:32:37 +00:00
Peter Edberg
790af7c8dd ICU-10375 Add \file and \brief to udisplaycontext.h headers so it works in apiref/icu4c/files.html
X-SVN-Rev: 34275
2013-09-11 21:38:11 +00:00
Steven R. Loomis
31cdcb89e0 ICU-10379 fixes for IBM i - mostly clarifying ambiguous casts.
X-SVN-Rev: 34274
2013-09-11 19:38:07 +00:00
Peter Edberg
5a1e66e343 ICU-10039 Add basic C wrapper for NumberingSystem (numsys.h), version 1
X-SVN-Rev: 34268
2013-09-11 05:07:00 +00:00
Andy Heninger
90522bf7b1 ICU-10273 add DecimalFormat::getFixedDecimal(Formattable &)
X-SVN-Rev: 34267
2013-09-11 01:17:28 +00:00
Peter Edberg
33c679b135 ICU-10065 Delete redundant LOW_K row in dtTypes[]
X-SVN-Rev: 34262
2013-09-10 21:29:14 +00:00
Peter Edberg
ebea161b11 ICU-10065 In DateTimePatternGenerator, add support for pattern chars K,O,X,x, adjust support for V
X-SVN-Rev: 34256
2013-09-10 07:51:38 +00:00
Markus Scherer
8f38199123 ICU-10365 fix namespace issue: icu::UInitOnce
X-SVN-Rev: 34252
2013-09-10 00:34:12 +00:00
Steven R. Loomis
86c481026c ICU-10373 fix -DU_USING_ICU_NAMESPACE=0 issues
X-SVN-Rev: 34251
2013-09-10 00:13:41 +00:00
John Emmons
a869b0d483 ICU-10335 Merge completed CLDR24 branch into trunk.
X-SVN-Rev: 34238
2013-09-07 20:46:42 +00:00
Andy Heninger
4d9fad13ef ICU-10273 Plural Rules Fixed Decimal, improve handling of NaN and Infinity
X-SVN-Rev: 34225
2013-09-06 20:02:42 +00:00
Steven R. Loomis
00ea16b361 ICU-7912 one more update to fix untagged items..
X-SVN-Rev: 34216
2013-09-06 05:04:54 +00:00
Andy Heninger
7b3b75a525 ICU-10273 Plural Rules, add DecimalFormat::getFixedDecimal(). Work in progress.
X-SVN-Rev: 34204
2013-09-05 23:28:28 +00:00
Peter Edberg
bcfcd53be9 ICU-10161 trimMarksFromAffix must trim all marks; update "ar" number patterns to latest
X-SVN-Rev: 34203
2013-09-05 22:13:07 +00:00
Steven R. Loomis
e5fac0714c ICU-10345 make formatting of a Formattable currency thread safe.. by cloning. makes unum_formatDoubleCurrency also slow.
X-SVN-Rev: 34200
2013-09-05 05:32:56 +00:00
Peter Edberg
8997c77684 ICU-10161 Now compareSimpleAffix ignores LRM/RLM/ALM in affix or text when comparing them;
and pre-integrate some CLDR 24 number symbol & pattern changes so tests will match the new data.

X-SVN-Rev: 34186
2013-09-04 10:46:03 +00:00
Andy Heninger
003c35c1d9 ICU-10273 Plural Rules, add DecimalFormat::getFixedDecimal(). Work in progress.
X-SVN-Rev: 34176
2013-09-04 01:07:35 +00:00
Steven R. Loomis
bc0dcf4cb0 ICU-9619 add const to getters
X-SVN-Rev: 34173
2013-09-04 00:01:26 +00:00
Steven R. Loomis
2786b25dff ICU-10270 fix // comments in udat.h
X-SVN-Rev: 34168
2013-09-03 17:44:01 +00:00
Steven R. Loomis
454a0ec782 ICU-9741 trivial fix to header, u_strcoll -> ucol_strcoll
X-SVN-Rev: 34159
2013-08-30 23:46:37 +00:00
Andy Heninger
759b77c2b0 ICU-9980 DecimalFormat::parseCurrency() - init output currencty parameter.
X-SVN-Rev: 34156
2013-08-30 22:16:21 +00:00
Andy Heninger
45561757cc ICU-10182 Build Time mutexes, merge from development branch.
X-SVN-Rev: 34139
2013-08-30 01:23:42 +00:00
Travis Keep
7f3d307ef8 ICU-10274 Rollback TimePeriod additions, but leave in changes to listformatter for Mark's more generic units API.
X-SVN-Rev: 34135
2013-08-29 23:45:48 +00:00
Andy Heninger
62cb5a9ca6 ICU-10273 Plural Rules, remove unimplemented getFunctionalEquivalent().
X-SVN-Rev: 34126
2013-08-29 18:07:13 +00:00
John Emmons
3f712e7635 ICU-10339 Fix build error on Cygwin/gcc (INT64_MAX) instead of (U_INT64_MAX)
X-SVN-Rev: 34122
2013-08-29 17:13:06 +00:00
Andy Heninger
6ddf597269 ICU-10273 fix bug in plural rules parser, caused failure of CompactDecimalFormatTest
X-SVN-Rev: 34111
2013-08-29 00:50:50 +00:00
Andy Heninger
3b26d31728 ICU-10273 fix for Solaris build error in plural rules (hopefully).
X-SVN-Rev: 34109
2013-08-28 23:50:29 +00:00
Andy Heninger
4dc67e0203 ICU-10273 New plural rule syntax. Changes merged from development branch. With this checkin, Plural rule data is back in synch between ICU4C, ICU4J and CLDR trunk.
X-SVN-Rev: 34103
2013-08-28 20:51:44 +00:00
Jungshik Shin
6382e77631 ICU-10318 add buffer length check to UTF-16/32 detector
X-SVN-Rev: 34076
2013-08-21 23:09:10 +00:00
Yoshito Umaoka
b0eaf25682 ICU-9526 Fixed a parsing problem with custom monetary gouping separator. Fixed some bad coding style. Added a test case for testing custom symbols.
X-SVN-Rev: 34069
2013-08-20 20:51:31 +00:00
Michael Ow
10ae93e130 ICU-10243 Free resource bundle before opening another one
X-SVN-Rev: 34068
2013-08-20 20:19:58 +00:00
Peter Edberg
9163c9d8be ICU-10243 C, ulocdata_getMeasurementSystem/getPaperSize should get data from supplementalData
X-SVN-Rev: 34065
2013-08-19 22:29:26 +00:00
Scott Russell
e715efb8e8 ICU-8449 Add Um al-Qura Hijri Calendar Support
X-SVN-Rev: 34053
2013-08-16 17:09:51 +00:00
Travis Keep
60501becc4 ICU-10258 Free minus sign and plus sign set in a clean up function.
X-SVN-Rev: 34045
2013-08-15 21:02:16 +00:00
Travis Keep
310f2f2a22 ICU-10304 Fix MessageFormat::setArgStartFormat() so that it returns immediately after freeing adopted pointer on error.
X-SVN-Rev: 34044
2013-08-15 00:08:34 +00:00
Michael Ow
27d3e9435b ICU-10274 Close resource bundle after use
X-SVN-Rev: 34042
2013-08-14 20:17:38 +00:00
Andy Heninger
0061d3a9b7 ICU-10184 umutex.h, change to C++ only, in preparation for build time user mutex support.
X-SVN-Rev: 34029
2013-08-09 19:53:07 +00:00
Yoshito Umaoka
bea4641b0d ICU-10281 Fixed a VTIMEZONE writer problem that may produce overlapping rules.
X-SVN-Rev: 34026
2013-08-09 16:32:44 +00:00
Travis Keep
41b7ee189d ICU-10258 Parse different variations of '+' and '-' when isLenient is set in C++.
X-SVN-Rev: 33989
2013-07-25 17:58:37 +00:00
Travis Keep
ecd7ea193b ICU-10274 Add compound duration formatting for C++
X-SVN-Rev: 33986
2013-07-25 16:36:25 +00:00
Andy Heninger
7b95d141d3 ICU-10253 Fix #include of math.h
X-SVN-Rev: 33974
2013-07-24 18:09:39 +00:00
Andy Heninger
aebaa076af ICU-10253 Fix memory leak in plural rules.
X-SVN-Rev: 33972
2013-07-24 16:42:56 +00:00
Andy Heninger
a4761909ac ICU-10253 Fix windows build problems with new plural rule code.
X-SVN-Rev: 33968
2013-07-23 21:27:07 +00:00
Andy Heninger
61a59e26a1 ICU-10253 Currency plurals, pay attention to min fraction digits in format.
X-SVN-Rev: 33966
2013-07-23 20:02:13 +00:00
Andy Heninger
425ae2d65f ICU-10253 Add missing export to class NumberInfo, fixes build failure on MacOSX
X-SVN-Rev: 33965
2013-07-23 18:35:34 +00:00
Andy Heninger
f4e36c9c98 ICU-10253 Plural Rule, support for new syntax for fractional rules. Merge from development branch.
X-SVN-Rev: 33958
2013-07-22 23:57:17 +00:00
Bing Long
b58875e894 ICU-10254 Added dtitvfmtsample.cpp, dtptngsample.cpp, and plurfmtsample.cpp. Update all/all.sln, dtitvfmt.h,dtptngen.h and plurfmt.h to embed the sample into the ICU4C API docs.
X-SVN-Rev: 33953
2013-07-22 16:31:11 +00:00
Travis Keep
3cb132047d ICU-10222 TimeUnitFormat to look under units/duration for time units instead of just units.
X-SVN-Rev: 33917
2013-07-11 22:19:13 +00:00
Peter Edberg
f4fd91b94f ICU-10244 (C) ulocdata_getLocaleSeparator now returns piece between {0} and {1} in new localeSeparator pattern
X-SVN-Rev: 33906
2013-07-11 07:00:49 +00:00
Steven R. Loomis
85157b3fc4 ICU-7912 final update to apidocs. Also removed references to non-existent kDecimalNumber (from fmtable.h), and cleaned up other docs
X-SVN-Rev: 33905
2013-07-11 00:31:41 +00:00
Steven R. Loomis
06dcb5d4a6 ICU-7912 add parse/format functions, other UFormattable API improvements
X-SVN-Rev: 33894
2013-07-09 00:47:46 +00:00
Peter Edberg
09ac4ef907 ICU-10222 (C) Integrate CLDR data snapshot for ICU 52.0.1; add calendar types
X-SVN-Rev: 33890
2013-07-08 06:51:38 +00:00
Peter Edberg
76d880b44f ICU-10244 (C) Handle localeDisplayPattern/separator as pattern
X-SVN-Rev: 33889
2013-07-08 06:34:53 +00:00
Michael Ow
49c581ea96 ICU-10148 Fix UnicodeString usage
X-SVN-Rev: 33873
2013-07-01 20:28:08 +00:00
Andy Heninger
ada557d17c ICU-9936 Improved API descriptions for DecimalFormat set min/max significant digits.
X-SVN-Rev: 33869
2013-06-28 21:12:31 +00:00
Michael Ow
29997d81dd ICU-10203 Fix resource bundle memory leak
X-SVN-Rev: 33867
2013-06-28 19:57:20 +00:00
Steven R. Loomis
2fa49ba635 ICU-7912 add unum_parse and unum_format taking UFormattable (@internal, API proposal to follow)
X-SVN-Rev: 33862
2013-06-27 19:49:55 +00:00
Peter Edberg
b862a59d5e ICU-10195 Fix CLDR_FIELD_NAME[] array so getting localized name for UDATPG_DAY_FIELD works
X-SVN-Rev: 33859
2013-06-27 07:41:56 +00:00
Andy Heninger
72cddee528 ICU-10088 Fix incorrect API doc for uregex_setStackLimit().
X-SVN-Rev: 33854
2013-06-26 18:34:15 +00:00
Steven R. Loomis
ae061ff78f ICU-7912 C wrapper for Formattable - UFormattable
X-SVN-Rev: 33849
2013-06-26 06:31:09 +00:00
Andy Heninger
20016a58db ICU-9719 Regular Expressions, add loop breaking to unbounded {min, max} loops.
X-SVN-Rev: 33848
2013-06-26 00:27:11 +00:00
Steven R. Loomis
2c6bc98b14 ICU-10069 improve error messages, add commented-out case that passes on solaris and fails on others
X-SVN-Rev: 33838
2013-06-20 22:09:42 +00:00
Andy Heninger
b129b40280 ICU-10024 fixes for Regexp, look-behind pattern fails to compile bug.
X-SVN-Rev: 33835
2013-06-18 20:38:08 +00:00
Andy Heninger
5ea9cb88a5 ICU-9936 Decimal Format, auto-enable SignificantDigitsUsed when setting significant digits.
X-SVN-Rev: 33833
2013-06-17 18:49:28 +00:00
Travis Keep
6993ad2646 ICU-10069 Attempt to fix broken build by doing int->int32_t.
X-SVN-Rev: 33827
2013-06-13 20:21:29 +00:00
Travis Keep
6676337f3e ICU-10069 Take into account compatible currency symbols, e.g half-width and full width yen symbol when parsing currencies in C++. Currency equivalence relation is hard-coded for now.
X-SVN-Rev: 33825
2013-06-13 18:38:53 +00:00
Yoshito Umaoka
02296cc327 ICU-10172 Minor wording adjustments in DecimalFormat set/getRoundingIncrement API docs.
X-SVN-Rev: 33823
2013-06-13 15:02:34 +00:00
Yoshito Umaoka
434a94ec4d ICU-10209 Fixed odd TimeType problem with ZONE_ID, ZONE_ID_SHORT and EXEMPLAR_LOCATION in TimeZoneFormat#format. Also added generic TimeZoneFormat test cases.
X-SVN-Rev: 33819
2013-06-12 20:56:06 +00:00
Yoshito Umaoka
f2dfaa18e8 ICU-10203 Fixed memory leaks in getIDForWindowsID.
X-SVN-Rev: 33818
2013-06-12 15:15:06 +00:00
Ramy Said
ae77a4f9ed ICU-9928 Charset Detector, IBM420_ar oddities
X-SVN-Rev: 33817
2013-06-11 12:39:56 +00:00
Andy Heninger
978f71fe78 ICU-10051 Mutexes: introduce UInitOnce; remove UMTX_CHECK; replace all uses of UMTX_CHECK.
X-SVN-Rev: 33787
2013-05-31 23:50:15 +00:00
Travis Keep
21ed20e983 ICU-10045 Fix again so that zero shows as 0 not 0.0
X-SVN-Rev: 33751
2013-05-24 22:45:48 +00:00
Peter Edberg
ec6a2c8696 ICU-10186 Need special numeric era format/parse for dangi too (C)
X-SVN-Rev: 33734
2013-05-23 01:28:21 +00:00
Yoshito Umaoka
7e0d7fa479 ICU-10148 TZ database/Windows zone ID mapping APIs.
X-SVN-Rev: 33726
2013-05-22 20:33:30 +00:00
Steven R. Loomis
8db5ace8b2 ICU-9904 add enumset to filter, hopefully it will fix the binary build issue
X-SVN-Rev: 33720
2013-05-22 04:28:12 +00:00
Markus Scherer
2982958b06 ICU-10128 update ICU to Unicode 6.3 beta (merge from branches/markus/uni63 at r33661)
X-SVN-Rev: 33662
2013-05-15 21:51:04 +00:00
Yoshito Umaoka
4956f3779b ICU-10154 Optimized time zone historical offset iteration.
X-SVN-Rev: 33633
2013-05-10 16:42:39 +00:00
Michael Ow
4b966aacc4 ICU-10083 Update version number to 52.0.1 and update timebombs
X-SVN-Rev: 33604
2013-05-07 19:53:34 +00:00
Yoshito Umaoka
1551c65468 ICU-10098 Fixed LCID to posix-style locale ID mapping problem. The fix required to change the internal LCID mapping function interface, and resolved a threading issue in uloc_getLocaleForLCID() and some other internal implementation problems in Win32DateFormat/Win32NumberFormat.
X-SVN-Rev: 33586
2013-05-03 21:36:03 +00:00
Peter Edberg
a8a20d2b84 ICU-10070 uregion_isEqualTo -> uregion_areEqual, implement using pointer compare
X-SVN-Rev: 33578
2013-05-02 22:04:50 +00:00
Peter Edberg
79b8f74642 ICU-9984 For DTPG, Y in skeleton should produce Y in pattern
X-SVN-Rev: 33562
2013-04-29 22:10:29 +00:00
Yoshito Umaoka
1400bf549b ICU-9104 Some minor updates in the CollationElementIterator API doc, including setOffset()/setText() are OK between next()/previous() in addition to reset(). Removing class name prefix in the updated section to improve the readability (doxygen still produces links without class prefix).
X-SVN-Rev: 33551
2013-04-25 21:10:43 +00:00
Yoshito Umaoka
a73a199d84 ICU-10106 Removed the reference to fallbackRegionFormat that is no longer used.
X-SVN-Rev: 33529
2013-04-15 19:41:05 +00:00
Peter Edberg
947bd7d1b6 ICU-10070 Add plain C wrappers for Region class
X-SVN-Rev: 33520
2013-04-12 23:00:51 +00:00
Travis Keep
41bb29f532 ICU-10045 Fix number of significant digits with 0.
X-SVN-Rev: 33487
2013-04-03 20:11:01 +00:00
Travis Keep
6125cf2eff ICU-10045 Formatting with significant digits to work correctly with 0 in C++
X-SVN-Rev: 33485
2013-04-02 22:01:33 +00:00
Peter Edberg
8f37e438a6 ICU-10061 Make getDayOfWeekType behave as documented for last weekend day; fix for 1-day weekends
X-SVN-Rev: 33468
2013-03-27 22:44:22 +00:00
Peter Edberg
3c32983978 ICU-10062 Fix header documentation for getDayOfWeekType, getWeekendTransition
X-SVN-Rev: 33467
2013-03-27 22:43:03 +00:00
Andy Heninger
3b379f4c28 ICU-7468 Use C++ "using" in Format class hierarchy, so inheritance of format() and parse() functions works normally, without unwanted function hiding.
X-SVN-Rev: 33457
2013-03-21 22:09:06 +00:00
Travis Keep
600e3d4a59 ICU-10042 Fix documentation for unum_formatXXX()
X-SVN-Rev: 33455
2013-03-21 18:48:00 +00:00
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
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