Commit Graph

1517 Commits

Author SHA1 Message Date
Peter Edberg
50e67ce345 ICU-11553 Add C wrapper for FieldPositionIterator & 2 udat_formatX calls to use it
X-SVN-Rev: 37118
2015-03-04 00:11:53 +00:00
Peter Edberg
c56a20e796 ICU-11539 C: Delete Calendar fields TIME_SEPARATOR, RELATED_YEAR; adjust accordingly
X-SVN-Rev: 37091
2015-02-27 09:01:31 +00:00
Andy Heninger
d96fea9eb6 ICU-11123 promote RegexMatcher::find(UErrorCode &) to public API
X-SVN-Rev: 37073
2015-02-26 02:34:20 +00:00
Andy Heninger
74157ec338 ICU-11446 Spoof Checker data update: use MA table only.
X-SVN-Rev: 37071
2015-02-26 01:38:14 +00:00
Fredrik Roubert
71035aa827 ICU-11467 Promote time separator interfaces to public API.
R=markus.icu@gmail.com

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

X-SVN-Rev: 37043
2015-02-19 12:02:43 +00:00
Andy Heninger
ec3f77f878 ICU-5312 Regular Expressions Named Capture.
X-SVN-Rev: 37040
2015-02-18 23:56:19 +00:00
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