Commit Graph

1661 Commits

Author SHA1 Message Date
Andy Heninger
22c8c94d14 ICU-11469 Regular Expressions, remove old tech preview functions.
X-SVN-Rev: 36953
2015-01-14 00:03:29 +00:00
Michael Ow
c7cd5c468b ICU-11452 Change reference to pointer to avoid null reference problems in SimpleDateFormat
X-SVN-Rev: 36942
2015-01-12 19:02:31 +00:00
Markus Scherer
a9d7c3e4bd ICU-11449 reorder single scripts not groups, scripts/groups can start on top-16-bit boundaries, data formatVersion 5 for new scripts data and optional reorderRanges appended to reorderCodes
X-SVN-Rev: 36924
2015-01-07 03:37:11 +00:00
Fredrik Roubert
60087d06a1 ICU-11018 Refactor date format string mapping code (ICU4C)
To make this code more maintainable: Make mapping tables zero based, add
a table to tell if a character can be used to define a field in a format
string (instead of now rather long-winded character range expressions)
and make all lookup tables accessed through helper functions.

R=rocketman@google.com

Review URL: https://codereview.appspot.com/190080043

X-SVN-Rev: 36899
2014-12-19 07:27:58 +00:00
Fredrik Roubert
17b8600e8e ICU-11018 Support CLDR time separator (ICU4C)
This change will treat the ':' character in patterns as a symbol
(instead of as a literal) and if the Locale defines timeSeparator then
use that character instead when formatting and accept both when parsing.

It will also define the '.' as an alternate time separator, that will be
accepted when parsing in lenient mode.

This is one character more strict than before, when in lenient mode also
the '-' was accepted as time separator instead of ':'.

R=rocketman@google.com

Review URL: https://codereview.appspot.com/180610043

X-SVN-Rev: 36897
2014-12-19 07:19:41 +00:00
Markus Scherer
b3897ebba9 ICU-11444 UMeasurementSystem UMS_UK born stable ICU 55
X-SVN-Rev: 36883
2014-12-17 21:51:53 +00:00
Peter Edberg
5239b60d43 ICU-11313 Update U_HIDE_ macros (and U_DEPRECATED tags) for 55.0.1 (m1)
X-SVN-Rev: 36868
2014-12-15 00:42:34 +00:00
Markus Scherer
68b3ed0c75 ICU-11357 add constant for UK measurement system
X-SVN-Rev: 36846
2014-12-10 21:32:48 +00:00
Travis Keep
6371975e05 ICU-10438 Document that C++ Duration RuleBasedNumberFormat always rounds down.
X-SVN-Rev: 36835
2014-12-09 23:53:19 +00:00
Travis Keep
59a03bbc9b ICU-11383 Remove ScientificFormatHelper C++
X-SVN-Rev: 36826
2014-12-08 23:25:27 +00:00
Travis Keep
79964e6bc7 ICU-11303 Bring MeasureFormat per unit formatting out of tech preview.
X-SVN-Rev: 36813
2014-12-05 20:52:28 +00:00
Travis Keep
3d248f9875 ICU-11401 Attempt to fix broken build.
X-SVN-Rev: 36812
2014-12-05 19:23:22 +00:00
Travis Keep
a6bc072149 ICU-11401 Reduce cache keyspace by caching only the components of DateFormat by locale rather than actual DateFormat objects.
X-SVN-Rev: 36811
2014-12-05 18:15:35 +00:00
Yoshito Umaoka
281d4de237 ICU-11293 Added udat_formatCalendar allowing C API user to specify a calendar as a parameter.
X-SVN-Rev: 36777
2014-11-25 04:34:58 +00:00
Steven R. Loomis
094d12cdca ICU-11389 revert r36758 - re-checkin under r11139 once working?
X-SVN-Rev: 36762
2014-11-20 01:28:18 +00:00
Steven R. Loomis
738cee69cc ICU-11389 improve error checking
X-SVN-Rev: 36758
2014-11-20 00:34:29 +00:00
Travis Keep
6a15548b08 ICU-10952 Introduce ScientificNumberFormatter.
X-SVN-Rev: 36746
2014-11-18 00:55:15 +00:00
Travis Keep
4860c7e5b7 ICU-11139 Add JAVA DateFormat factory methods to C++
X-SVN-Rev: 36745
2014-11-18 00:43:49 +00:00
Yoshito Umaoka
f4c185b9e7 ICU-11307 A minor document fix in Calendar's class doc.
X-SVN-Rev: 36618
2014-10-01 18:50:49 +00:00
Peter Edberg
6115fe24bb ICU-11055 Minor rewording that hopefully clarifies the usage of ucol_getFunctionalEquivalent
X-SVN-Rev: 36572
2014-09-23 22:11:37 +00:00
Peter Edberg
b26892cfe8 ICU-10817 For UNUM_SPELLOUT/ORDINAL, document that unum_setTextAttribute with UNUM_DEFAULT_RULESET can specify ruleset
X-SVN-Rev: 36571
2014-09-23 21:58:49 +00:00
Peter Edberg
61d8a038ad ICU-10814 Delete duplicated headerdoc comments in usearch.h
X-SVN-Rev: 36568
2014-09-23 21:33:53 +00:00
Peter Edberg
8713061249 ICU-10809 Fix typo
X-SVN-Rev: 36567
2014-09-23 21:29:31 +00:00
Peter Edberg
14cd5cb107 ICU-10809 Update SimpleDateFormat class doc examples for Sept and Tues, other table updates and note (C)
X-SVN-Rev: 36565
2014-09-23 21:26:25 +00:00
Peter Edberg
2beaf3dacf ICU-10992 BRS line 20, Check/fix non-stable API macros (U_HIDE_DRAFT_API and others)
X-SVN-Rev: 36520
2014-09-16 08:09:06 +00:00
Markus Scherer
908eb3d8d4 ICU-10999 mark formatMeasuresPer() as Technology preview
X-SVN-Rev: 36518
2014-09-16 06:11:35 +00:00
Steven R. Loomis
58f8e44c7d ICU-10981 round of uconfig.h fixes
X-SVN-Rev: 36491
2014-09-13 00:53:06 +00:00
Andy Heninger
84d1d936ab ICU-11032 Incorporate review comments, use isAcceptable call-back with udata_open
X-SVN-Rev: 36466
2014-09-11 18:28:05 +00:00
Yoshito Umaoka
02939804a5 ICU-11240 ICU4C 54 API status promotion.
X-SVN-Rev: 36454
2014-09-11 06:16:13 +00:00
Travis Keep
c794caf7d4 ICU-10999 Add per unit measure formatting.
X-SVN-Rev: 36441
2014-09-10 20:06:52 +00:00
Markus Scherer
8c4f2b0036 ICU-7118 document that compare() is often more efficient than getSortKey()
X-SVN-Rev: 36414
2014-09-09 22:05:13 +00:00
Yoshito Umaoka
6b334674c9 ICU-11029 Added some note about methods not yet implemented. Also updated these method to do nothing but returns DONE.
X-SVN-Rev: 36410
2014-09-09 21:39:33 +00:00
Peter Edberg
e46b2b3c83 ICU-9385 DateFormatSymbols/udat getters/setters for yearNames, zodiacNames (C)
X-SVN-Rev: 36386
2014-09-08 04:52:23 +00:00
Steven R. Loomis
51d9432671 ICU-11073 Fix the earlier fix for global new[].
Had to move "new UnicodeString[]" into a function ala ICU-2974 to prevent global new[] from being called.
Also, some general cleanup.

X-SVN-Rev: 36371
2014-09-06 00:16:54 +00:00
Peter Edberg
7732bb2599 ICU-10968 Handle fussy comma-at-end-of-enum-list restrictions in some compilers
X-SVN-Rev: 36354
2014-09-05 06:17:40 +00:00
Peter Edberg
46ad07cddf ICU-10968 Add #ifndef U_HIDE_DRAFT_API for the new enum values
X-SVN-Rev: 36353
2014-09-05 05:26:55 +00:00
Peter Edberg
153bf506f0 ICU-10968 Add UDISPCTX_TYPE_DISPLAY_LENGTH and values for it, implement support (C)
X-SVN-Rev: 36352
2014-09-05 04:54:53 +00:00
Andy Heninger
f626431e29 ICU-11233 Remove U_FINAL for classes we subclass. Produces bad code.
X-SVN-Rev: 36346
2014-09-04 18:58:17 +00:00
Travis Keep
18c1134a6d ICU-11221 Add comments to MeasureUnit generated code pointing to documentation on how to update.
X-SVN-Rev: 36344
2014-09-04 17:42:00 +00:00
Travis Keep
48ba0efa1e ICU-11221 Add new MeasureUnits to ICU.
X-SVN-Rev: 36335
2014-09-03 21:08:45 +00:00
Andy Heninger
3dd19f8a5b ICU-10815 Regex error handling, minor cleanups.
X-SVN-Rev: 36306
2014-09-02 21:39:18 +00:00
Scott Russell
867e55f0cb ICU-10970 Support required decimal point
X-SVN-Rev: 36300
2014-08-30 21:53:10 +00:00
Andy Heninger
f2dfa7422e ICU-10815 Fix for uregex_findNext() not setting U_REGEX_STOPPED_BY_CALLER
X-SVN-Rev: 36260
2014-08-28 01:19:29 +00:00
Scott Russell
ecd2a3a355 ICU-10962 Conflicting descriptions of 'S' in calendar patterns
X-SVN-Rev: 36235
2014-08-26 03:57:45 +00:00
Travis Keep
f335b55bdf ICU-10802 Merge branch tkeep/10802andy into trunk.
X-SVN-Rev: 36214
2014-08-20 21:46:02 +00:00
George Rhoten
e79ae82c7d ICU-11064 The approved ICU syntax has )$ being the end of the plural rule substitution.
X-SVN-Rev: 36208
2014-08-20 18:52:57 +00:00
George Rhoten
912521e5cf ICU-11064 Fix a roundtripping problem when the fractional part is non-zero.
X-SVN-Rev: 36203
2014-08-19 17:13:07 +00:00
George Rhoten
eda8266715 ICU-11064 Add syntax for PluralFormat in RBNF
X-SVN-Rev: 36197
2014-08-18 20:47:36 +00:00
Steven R. Loomis
e3dc3bc456 ICU-10347 add U_FINAL and U_OVERRIDE for C++11 "final" and "override".
Added them to several "not for subclassing" classes.
Some exceptions:
* Commented out U_FINAL where there's an internal override needed.
* For tests, added "#define U_FINAL" at the top to disable this.
#defined to null for Doxygen.

X-SVN-Rev: 36177
2014-08-16 01:30:43 +00:00
Markus Scherer
bfb928d8dd ICU-11010 improve ucol_mergeSortkeys() API doc
X-SVN-Rev: 36166
2014-08-14 20:35:54 +00:00
Tom Zhang
26063a3454 ICU-10320 API for getting/setting number format override in date formatting
X-SVN-Rev: 36097
2014-07-29 18:42:07 +00:00
Yoshito Umaoka
ae3f6f13a4 ICU-10934 The tz database abbreviation support in ICU4C
X-SVN-Rev: 36080
2014-07-23 21:51:09 +00:00
Andy Heninger
ec0b491358 ICU-11007 Calendar::fZone, add comment clarifying that it cannot be NULL.
X-SVN-Rev: 36048
2014-07-16 22:29:20 +00:00
Tom Zhang
8787394bd1 ICU-10979 add udat_adoptNumberFormat & update doc
X-SVN-Rev: 36035
2014-07-15 20:39:51 +00:00
Markus Scherer
37c7676f5e ICU-10912 create Collator from binary: support length<0 again, and document that the base collator is required (see ticket #10517)
X-SVN-Rev: 36021
2014-07-10 22:17:20 +00:00
Steven R. Loomis
68b3eed7cb ICU-10990 remove STL deps from FilteredBreakIterator implementation
X-SVN-Rev: 36008
2014-07-08 00:30:21 +00:00
Michael Ow
b1de9c0f30 ICU-10842 Fix header test failures, fix no data test errors, and update file properties
X-SVN-Rev: 35982
2014-07-02 05:09:05 +00:00
Steven R. Loomis
60eaaca7b8 ICU-10842 fix mistagged ICU54 API
X-SVN-Rev: 35974
2014-07-01 16:41:37 +00:00
Travis Keep
7bf9b7dce1 ICU-10884 Comments from roubert.
X-SVN-Rev: 35882
2014-06-17 16:34:46 +00:00
Travis Keep
eca047192e ICU-10046 Fix comments.
X-SVN-Rev: 35877
2014-06-13 16:45:12 +00:00
Travis Keep
b323fa2b8f ICU-10046 Andy's review comments.
X-SVN-Rev: 35876
2014-06-13 16:40:17 +00:00
Tom Zhang
985f42b752 ICU-10344 add new field & factory method for currency CASH/STANDARD Usage
X-SVN-Rev: 35873
2014-06-12 21:40:34 +00:00
Travis Keep
5ab2298adc ICU-10884 Attempt to fix broken build.
X-SVN-Rev: 35870
2014-06-12 19:55:36 +00:00
Travis Keep
b2e714c21a ICU-10884 Applied review comments from Andy Heninger.
X-SVN-Rev: 35862
2014-06-11 19:45:30 +00:00
Travis Keep
81e264fb42 ICU-10884 Apply API proposal from 11 Jun ICU meeting.
X-SVN-Rev: 35861
2014-06-11 18:31:47 +00:00
Markus Scherer
fad96371c9 ICU-10372 deprecate collation APIs for short definition strings
X-SVN-Rev: 35822
2014-06-06 22:48:14 +00:00
Travis Keep
9040a55e62 ICU-10778 Delimit Generated Code in MeasureUnit.
X-SVN-Rev: 35797
2014-06-02 22:47:11 +00:00
Markus Scherer
da533923a2 ICU-8260 support all collation-related keywords in Collator::createInstance()
X-SVN-Rev: 35762
2014-05-27 18:50:10 +00:00
Travis Keep
3d1c1bb07a ICU-10884 Add abbreviated relative date format support.
X-SVN-Rev: 35744
2014-05-22 22:46:53 +00:00
Scott Russell
68c893b2f1 ICU-10855 fix handling of partial match leniency to not falsely pass literals that should fail
X-SVN-Rev: 35720
2014-05-16 17:38:08 +00:00
Travis Keep
b5b8492a6f ICU-10887 Fix documentation in MeasureFormat.
X-SVN-Rev: 35696
2014-05-08 22:46:37 +00:00
Travis Keep
fd676bb762 ICU-10046 insetMarkup()->insertMarkup().
X-SVN-Rev: 35666
2014-04-30 20:15:10 +00:00
Andy Heninger
9c8e20c008 ICU-10805 Use InitOnce in Region class. Fixes threading problem in initialization.
X-SVN-Rev: 35653
2014-04-24 22:31:56 +00:00
Travis Keep
93559e74a8 ICU-10046 Expose Exponent Multiplication Symbol. ScientificFormatHelper class to recognize variants of the plus and minus sign.
X-SVN-Rev: 35614
2014-04-10 18:13:29 +00:00
Travis Keep
7ed712add5 ICU-10046 Introduce ScientificFormatHelper class.
X-SVN-Rev: 35612
2014-04-09 23:00:45 +00:00
Travis Keep
0959e4e84d ICU-10828 Attempt to fix broken build.
X-SVN-Rev: 35597
2014-04-03 22:44:00 +00:00
Travis Keep
e3a6ed0372 ICU-10828 Remove unused dependencies.
X-SVN-Rev: 35595
2014-04-03 21:58:23 +00:00
Peter Edberg
4696fb6ee5 ICU-10507 Better API documentation for asymmetric search (C)
X-SVN-Rev: 35502
2014-03-18 21:50:11 +00:00
Travis Keep
e4f7eafc89 ICU-10461 Andy's review comments.
X-SVN-Rev: 35490
2014-03-17 18:07:34 +00:00
Michael Ow
3daf54af40 ICU-10740 Fix uconfig test errors
X-SVN-Rev: 35480
2014-03-15 06:08:42 +00:00
Peter Edberg
8fdebe3515 ICU-10740 Adjust #ifndef U_HIDE_DRAFT/INTERNAL_API for changes; don't use around default,copy,= ctors
X-SVN-Rev: 35478
2014-03-15 00:20:41 +00:00
Yoshito Umaoka
097c0f238b ICU-10756 Review update. Updated API status tag of setGroupingUsed() and setParseIntegerOnly which were added to override the super class methods to resolve the problem to @draft ICU 53.
X-SVN-Rev: 35469
2014-03-14 02:31:25 +00:00
Andy Heninger
dfe8c061e0 ICU-10764 API Promotions for ICU4C 53.
X-SVN-Rev: 35459
2014-03-13 20:33:16 +00:00
Michael Ow
06cc7cacb5 ICU-10286 Add uconfig option to disable filtered break iterator code by default
X-SVN-Rev: 35446
2014-03-12 21:59:12 +00:00
Markus Scherer
30de06a013 ICU-10700 fix minor API docs bug
X-SVN-Rev: 35436
2014-03-12 18:53:11 +00:00
Peter Edberg
a55d42e8fa ICU-10725 add explicit status for every item in USearchAttribute[Value] enums
X-SVN-Rev: 35424
2014-03-12 01:44:33 +00:00
Travis Keep
4a4907c1eb ICU-10703 Deprecate timeUnitFormat.
X-SVN-Rev: 35419
2014-03-11 23:14:05 +00:00
Travis Keep
705755a025 ICU-10700 From Markus' review comments.
X-SVN-Rev: 35408
2014-03-11 21:18:34 +00:00
Travis Keep
55daa14907 ICU-10640 Changes from Markus' review.
X-SVN-Rev: 35404
2014-03-11 17:40:23 +00:00
Scott Russell
c3b6d7351d ICU-10776 fix non-ASCII characters in C source
X-SVN-Rev: 35393
2014-03-10 15:23:19 +00:00
Peter Edberg
71faffa075 ICU-10725 Deprecate USEARCH_CANONICAL_MATCH which has no effect, suggest UCOL_NORMALIZATION_MODE instead.
X-SVN-Rev: 35389
2014-03-08 05:37:03 +00:00
Steven R. Loomis
4cfdb4a00d ICU-10651 DateFormat::getCalendar() not intended to get the results of parse
X-SVN-Rev: 35388
2014-03-08 01:18:23 +00:00
Steven R. Loomis
ded9162807 ICU-10286 API docs update (commit missed from yesterday), remove stray printf
X-SVN-Rev: 35363
2014-03-06 18:38:08 +00:00
Steven R. Loomis
7bc88a1a04 ICU-10286 works on windows
X-SVN-Rev: 35358
2014-03-06 12:11:08 +00:00
Steven R. Loomis
bbe5a9e0d8 ICU-10286 Check in filtered break behavior. Does not load bundles yet. Also fixes to locbased and brkiter ( no way for subclasses to set locale id )
X-SVN-Rev: 35357
2014-03-06 11:21:15 +00:00
Yoshito Umaoka
7202567040 ICU-9101 Cleaned up API doc for StringSearch. Removed clauses mentioning Boyer-Moore algorithm. Keep the docs synchronized with ICU4J StringSearch.
X-SVN-Rev: 35354
2014-03-06 01:27:21 +00:00
Steven R. Loomis
f38544a2a6 ICU-10756 regression tests added for case where setGroupingUsed didn't call handleChanged() and thus the fastpath status would be incorrect. Fixed by overriding three functions in DecimalFormat but delegating to NumberFormat. The other two functions don't affect fastpath, but are overridden for future changes where they might.
X-SVN-Rev: 35351
2014-03-06 00:12:57 +00:00
Steven R. Loomis
d6d65ed16b ICU-10286 initial stub checkin of FilteredBreakIteratorBuilder (todo: windows proj files)
X-SVN-Rev: 35346
2014-03-05 20:44:47 +00:00
John Emmons
95dccec52d ICU-9791 Minor doc update for getName() API of numbering system
X-SVN-Rev: 35343
2014-03-05 18:52:47 +00:00
Peter Edberg
30e8bc452d ICU-10637 Format/parse using 'r' related gregorian year, C changes part 1 (still need correct num fmt & tests)
X-SVN-Rev: 35341
2014-03-05 11:51:05 +00:00
Yoshito Umaoka
faacd61904 ICU-10724 Minor refinement in the API doc for TimeZone::getDisplayName, the fallback format is localized and can be different from GMT[+-]hh:mm.
X-SVN-Rev: 35336
2014-03-04 20:21:22 +00:00
Markus Scherer
9bf9705667 ICU-9101 fix hiraganaQuaternary API docs
X-SVN-Rev: 35329
2014-03-04 19:32:53 +00:00
Scott Russell
eb0fd12224 ICU-10336 add leniency controls for lenient like behavior
X-SVN-Rev: 35319
2014-03-04 14:40:36 +00:00
Peter Edberg
27cfaed4d8 ICU-10681 Lazily get and cache BreakIterator for titlecasing; lazily get contextTransform info if possible (C)
X-SVN-Rev: 35287
2014-03-02 00:44:35 +00:00
Markus Scherer
3baf728df7 ICU-10033 Clarify what characters numeric collation works on
X-SVN-Rev: 35274
2014-02-28 22:50:10 +00:00
Yoshito Umaoka
f7f73fe88d ICU-10544 Fixed some implementation problems in Calendar::add. When adding day or larger field results wall time falls into non-existing time slot created by DST transition, the implementation honors the current skipped wall time option.
X-SVN-Rev: 35231
2014-02-25 23:50:35 +00:00
Markus Scherer
e977c057a9 ICU-9101 merge branches/markus/collv2@35225 into the trunk
X-SVN-Rev: 35227
2014-02-25 21:21:49 +00:00
Yoshito Umaoka
cfd57abf79 ICU-10601 Added UNUM_CURRENCY_ACCOUNTING to ICU4C NumberFormat.
X-SVN-Rev: 35198
2014-02-22 00:16:56 +00:00
Andy Heninger
8525e6bd47 ICU-10706 Spoof Check data update.
X-SVN-Rev: 35164
2014-02-19 01:07:32 +00:00
Travis Keep
b9c4a1ec76 ICU-10640 Improve documentation.
X-SVN-Rev: 35147
2014-02-16 07:36:36 +00:00
Travis Keep
fd530319e6 ICU-10640 In MeasureFormat, use adopted NumberFormat on last measure only; use integer numberformats on the rest.
X-SVN-Rev: 35146
2014-02-16 02:10:51 +00:00
Travis Keep
1d1172e466 ICU-10700 Document that relevant registerXXX() method must be called at application startup and unregister() methods must be called at application shutdown.
X-SVN-Rev: 35129
2014-02-12 23:37:47 +00:00
Travis Keep
53ababf5a7 ICU-10461 Make NumberFormat::createInstance() and PluralRules::forLocale() 10X faster than before for most common types. Provide internal createSharedInstance() for NumberFormat and SharedFormat for internal use that is 2 orders of magnitude faster than before.
X-SVN-Rev: 35114
2014-02-10 19:13:50 +00:00
Peter Edberg
401daae867 ICU-10633 Implement context-sensitive number formatting (currently just for RBNF)
X-SVN-Rev: 35095
2014-02-06 09:41:17 +00:00
Peter Edberg
1eea3529b2 ICU-10676 Also update the unum_open documentation for available styles
X-SVN-Rev: 35094
2014-02-06 07:17:07 +00:00
Travis Keep
25c7ba8e57 ICU-10682 Fix clone, copy constructor, and assignment operator in RulesBasedNumberFormat.
X-SVN-Rev: 35085
2014-02-06 00:34:24 +00:00
Travis Keep
0a42d4959f ICU-10640 Add C++ MeasureFormat API.
X-SVN-Rev: 35069
2014-02-04 00:29:17 +00:00
Yoshito Umaoka
48c55b449e ICU-10653 Fixed a thread safety problem in SimpleDateFormat.
X-SVN-Rev: 34992
2014-01-27 14:53:26 +00:00
Peter Edberg
1223df27e0 ICU-10483 Further #ifndef U_HIDE_XXX adjustments from running hdrtst
X-SVN-Rev: 34966
2014-01-22 07:27:50 +00:00
Peter Edberg
ebb200b1e4 ICU-10483 Update #ifndef U_HIDE_XXX guards for 53m1
X-SVN-Rev: 34965
2014-01-22 04:27:50 +00:00
Steven R. Loomis
0580e9e8ee ICU-10650 remove nbsp (!) that were preventing proper parsing of the @draft tag
X-SVN-Rev: 34949
2014-01-21 18:26:44 +00:00
Peter Edberg
541a0405a7 ICU-10628 udat_getContext should use const UDateFormat*
X-SVN-Rev: 34904
2014-01-15 20:55:04 +00:00
Scott Russell
c7677154e6 ICU-10619 Improve usability of DateFormat's leniency control & promote BooleanAttribute control to draft for v53
X-SVN-Rev: 34888
2014-01-14 17:26:35 +00:00
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
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
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
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
7aeeb93906 ICU-8464 Add check for if formatting is disabled
X-SVN-Rev: 34702
2013-12-03 04:48:00 +00:00
Travis Keep
089a6434ac ICU-8464 Add relative date formatting.
X-SVN-Rev: 34686
2013-11-22 18:26:22 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Yoshito Umaoka
7e0d7fa479 ICU-10148 TZ database/Windows zone ID mapping APIs.
X-SVN-Rev: 33726
2013-05-22 20:33:30 +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
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
Peter Edberg
947bd7d1b6 ICU-10070 Add plain C wrappers for Region class
X-SVN-Rev: 33520
2013-04-12 23:00:51 +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
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
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
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
37eeb709db ICU-9955 merge ICU4C API status promotion to trunk
X-SVN-Rev: 33306
2013-02-22 20:15:50 +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
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
Markus Scherer
2fffcf3b77 ICU-9880 add #ifndef U_HIDE_DRAFT_API
X-SVN-Rev: 33253
2013-02-16 21:53:15 +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