Commit Graph

4652 Commits

Author SHA1 Message Date
Peter Edberg
1865fa1670 ICU-10574 part 1, just API and setContext/getContext implementation
X-SVN-Rev: 34886
2014-01-14 07:31:30 +00:00
Peter Edberg
df7d845995 ICU-10585 Add utrans_toRules, utrans_getSourceSet
X-SVN-Rev: 34882
2014-01-13 07:27:02 +00:00
Peter Edberg
9cf4a2acd5 ICU-10591 Hoist setContext from SimpleDateFormat/RelativeDateFormat to DateFormat
X-SVN-Rev: 34881
2014-01-12 05:23:30 +00:00
Travis Keep
132ff6d742 ICU-8464 Add Suggested changes from Markus.
X-SVN-Rev: 34875
2014-01-11 00:30:39 +00:00
Markus Scherer
90b6b64024 ICU-10561 ZoneMeta methods must check for bogus input strings
X-SVN-Rev: 34873
2014-01-10 23:14:14 +00:00
Yoshito Umaoka
13c6750194 ICU-10583 Fixed a minor problem in illegal lead byte handling in the UTF-8 charset recognizer.
X-SVN-Rev: 34856
2014-01-10 16:10:57 +00:00
Andy Heninger
1996008111 ICU-10624 Swat clang compile warnings. More fixes to come.
X-SVN-Rev: 34854
2014-01-10 02:24:54 +00:00
Scott Russell
37e74533a6 ICU-10334 C vs. J differences when in lenient mode
X-SVN-Rev: 34792
2013-12-18 20:03:44 +00:00
Travis Keep
4cad0847c5 ICU-8464 Make formatting relative dates with quantity more efficient by preprocessing the pattern strings. Saves 650ns per format.
X-SVN-Rev: 34784
2013-12-17 21:02:16 +00:00
Andy Heninger
fab919477c ICU-10559 Fix C++ compilation errors with U_OVERRIDE_CXX_ALLOCATION=0
X-SVN-Rev: 34736
2013-12-10 23:03:48 +00:00
Michael Ow
1f1a501cd1 ICU-10557 Fix some zOS build errors caused by missing exports and pthread macros
X-SVN-Rev: 34733
2013-12-10 18:10:44 +00:00
Peter Edberg
e0b70a15da ICU-10553 RelativeDateFormat copy constructor was incomplete
X-SVN-Rev: 34731
2013-12-10 03:00:08 +00:00
Andy Heninger
e28793a4a6 ICU-10532 ICU Charset Detector, port UTF-16 enhancements from Java to C
X-SVN-Rev: 34730
2013-12-10 02:30:58 +00:00
Peter Edberg
9f29c3ed25 ICU-10553 Implement context-sensitive capitalization for relative dates (C), add en contextTransforms for test
X-SVN-Rev: 34718
2013-12-09 06:20:23 +00:00
Travis Keep
65ecb0b5fa ICU-8464 Change C++ code according to latest API proposal.
X-SVN-Rev: 34712
2013-12-04 22:50:25 +00:00
Travis Keep
ef0debb8be ICU-8464 UDAT_DIRECION_UNIT_COUNT -> UDAT_DIRECTION_COUNT
X-SVN-Rev: 34708
2013-12-04 20:46:08 +00:00
Michael Ow
830df7761e ICU-8464 Use UNICODE_STRING_SIMPLE instead of UnicodeString constructor
X-SVN-Rev: 34707
2013-12-03 23:27:49 +00:00
Michael Ow
c3fc274b0b ICU-10500 Add check for if formatting is disabled
X-SVN-Rev: 34703
2013-12-03 04:49:12 +00:00
Michael Ow
7aeeb93906 ICU-8464 Add check for if formatting is disabled
X-SVN-Rev: 34702
2013-12-03 04:48:00 +00:00
Michael Ow
de86afb9e9 ICU-10468 Add check for if format is disabled
X-SVN-Rev: 34701
2013-12-03 04:47:04 +00:00
Travis Keep
9c65c145ff ICU-8464 Remove dependency between LRUCache and mutex.
X-SVN-Rev: 34691
2013-11-22 23:08:24 +00:00
Travis Keep
32fd3380c0 ICU-8464 Attempt to fix windows broken build.
X-SVN-Rev: 34690
2013-11-22 21:53:59 +00:00
Travis Keep
089a6434ac ICU-8464 Add relative date formatting.
X-SVN-Rev: 34686
2013-11-22 18:26:22 +00:00
Steven R. Loomis
7456f5a382 ICU-10043 make an error not a crash when reading import rules fails.
X-SVN-Rev: 34622
2013-10-29 20:59:03 +00:00
Travis Keep
9fa0f4299d ICU-10468 Fix applyPattern so that it resets the padding character.
X-SVN-Rev: 34578
2013-10-17 18:44:44 +00:00
Andy Heninger
2914240e10 ICU-10463 Regular Expressions, remove overlooked function boilerplate from r34565 check-in; should fix failing Windows build.
X-SVN-Rev: 34569
2013-10-15 21:19:27 +00:00
Andy Heninger
10dd7ed47b ICU-10463 Regular Expressions, rework debug conditionals to fix build failures on clang, and to somewhat simplify.
X-SVN-Rev: 34565
2013-10-14 22:11:21 +00:00
Andy Heninger
045919648e ICU-10459 Fix segfault in uregex_group() when match is in invalid state.
X-SVN-Rev: 34559
2013-10-11 20:59:39 +00:00
Travis Keep
12e211c5a3 ICU-10219 Fix rounding in TimeUnitFormat.
X-SVN-Rev: 34550
2013-10-10 21:52:15 +00:00
Michael Ow
4566c7282c ICU-10483 Update ICU4C to 53.0.1
X-SVN-Rev: 34543
2013-10-10 18:17:16 +00:00
Yoshito Umaoka
0d678d3115 ICU-10313 Added Hebrew month value checking for leap year.
X-SVN-Rev: 34539
2013-10-10 17:35:28 +00:00
Steven R. Loomis
876caf41b7 ICU-10446 late ibmi fixes to fix regression in r34369
X-SVN-Rev: 34487
2013-09-26 03:56:33 +00:00
Steven R. Loomis
99fc90c94d ICU-10439 add comment about why volatile is here
X-SVN-Rev: 34476
2013-09-25 02:08:52 +00:00
Steven R. Loomis
006d7063b7 ICU-10439 add volatile as per StackOverflow:2219829 to work around what seems to be an optimizer bug in GCC -m32 (at least GCC 4.4.7 and 4.8.1) - revisit in ICU-10420 and ilk.
X-SVN-Rev: 34471
2013-09-25 00:31:46 +00:00
Peter Edberg
31a4739bac ICU-9627 Updated Date Field Symbol Table links in smpdtfmt.h, added them in udat.h
X-SVN-Rev: 34458
2013-09-23 18:23:05 +00:00
Peter Edberg
3f51cb7d8d ICU-10398 Update #ifndef U_HIDE_XXXXX_API (e.g. DRAFT) to match status tags (e.g. @draft)
X-SVN-Rev: 34448
2013-09-23 06:52:34 +00:00
Peter Edberg
a72dc953d8 ICU-10398 Add missing final EOL
X-SVN-Rev: 34447
2013-09-23 06:51:07 +00:00
Yoshito Umaoka
53499c0d65 ICU-8449 ICU4C Islamic Umm Al-Qura calendar updates based on Yoshito's review.
X-SVN-Rev: 34446
2013-09-23 05:30:39 +00:00
Steven R. Loomis
02d576bc82 ICU-7912 one last (?) review comment
X-SVN-Rev: 34436
2013-09-21 00:06:02 +00:00
Steven R. Loomis
58fd7c7583 ICU-7912 more review comments
X-SVN-Rev: 34428
2013-09-20 21:17:16 +00:00
Steven R. Loomis
4650ca64e3 ICU-7912 commit from review comments (thx)
X-SVN-Rev: 34416
2013-09-20 05:00:30 +00:00
Michael Ow
e5a9a38924 ICU-10398 Fix uconfig test errors in ICU 52
X-SVN-Rev: 34404
2013-09-19 20:47:22 +00:00
Scott Russell
8ac5d5b068 ICU-10261 review comment updates
X-SVN-Rev: 34400
2013-09-19 17:30:57 +00:00
Steven R. Loomis
37562f403e ICU-10394 api promo 50->52 as per PMC
X-SVN-Rev: 34396
2013-09-19 00:44:08 +00:00
Steven R. Loomis
358e1ddcd2 ICU-10376 fixup clang warnings
X-SVN-Rev: 34385
2013-09-18 20:08:25 +00:00
Peter Edberg
bb7e154629 ICU-10260 Port J LocaleDisplayNamesImpl change for (->[ to C; make similar changes in uloc_getDisplayName
X-SVN-Rev: 34369
2013-09-18 08:33:47 +00:00
Andy Heninger
cd3860a322 ICU-10361 Add missing icu namespace on previouos NumberFormat changes.
X-SVN-Rev: 34368
2013-09-17 23:43:28 +00:00
Andy Heninger
25bab8fa6f ICU-10361 DecimalFormat, remove number size restrictions that were limiting the ability to format big decimals.
X-SVN-Rev: 34366
2013-09-17 21:56:23 +00:00
Yoshito Umaoka
271e788d65 ICU-9396 Accept NULL pointer with length of 0 in ucol_strcoll and ucol_strcollUTF8. Also added some test case verifying the behavior.
X-SVN-Rev: 34363
2013-09-17 21:08:10 +00:00
Steven R. Loomis
6144e1bad2 ICU-10273 work around Windows test failure by disabling optimization of getFixedDecimal.
X-SVN-Rev: 34362
2013-09-17 20:42:14 +00:00
Markus Scherer
82e54bce50 ICU-10273 fix compiler warning
X-SVN-Rev: 34360
2013-09-17 19:53:09 +00:00
Markus Scherer
27e00900c8 ICU-9932 deprecate & disable cloning-into-user-buffer, except keep ucnv_safeClone() intact
X-SVN-Rev: 34359
2013-09-17 19:48:50 +00:00
Scott Russell
c42e57a06c ICU-10249 Implement new islamic calendar variants tbla, rgsa
X-SVN-Rev: 34354
2013-09-17 16:55:02 +00:00
Yoshito Umaoka
920dadff8d ICU-10012 Disable EBCDIC Arabic/Hebrew detectors by default. Added APIs to enable/disable each charset and get currently active charsets.
X-SVN-Rev: 34350
2013-09-17 06:57:53 +00:00
Scott Russell
41d2876025 ICU-10261 give DateFormat more granular leniency control
X-SVN-Rev: 34327
2013-09-16 12:45:41 +00:00
Markus Scherer
76b93683b4 ICU-10338 test & fix ucol_setReorderCodes({default})
X-SVN-Rev: 34319
2013-09-13 21:21:11 +00:00
Markus Scherer
3c1cc35984 ICU-10251 make CollationElementIterator protected methods private
X-SVN-Rev: 34315
2013-09-13 19:35:54 +00:00
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