Travis Keep
b7d18e518c
ICU-11780 Reduce heap size for caching date formatters.
...
X-SVN-Rev: 37860
2015-09-01 20:13:27 +00:00
Travis Keep
2860cd48c4
ICU-11740 DecimalFormat refactor.
...
X-SVN-Rev: 37821
2015-08-25 23:31:01 +00:00
Andy Heninger
57ac300668
ICU-11480 added tests for regex with capture groups that do not participate in match.
...
X-SVN-Rev: 37816
2015-08-25 20:47:38 +00:00
George Rhoten
e097e1b9ee
ICU-8223 Add rule syntax for NaN, infinity and alternate decimal points.
...
Other issues addressed:
* Some performance enhancements were added for good measure. Creating new RuleBasedNumberFormat objects can take a long time due to all the rule parsing. This was ported from ICU4J.
* I fixed a potential infinite recursion problem when RuleBasedNumberFormat used NumberFormat.createInstance, which could occasionally depend on creating RuleBasedNumberFormat for itself, which was bad. This was ported from ICU4J.
* I fixed a potential memory leak due to lazy initialization of some RBNF data members in a multithreaded environment, which is fine in Java, but it's not okay in C++. We no longer cast away const due to this, which is good.
* There were some compiler warnings and errors found while trying to debug this code on my machine. I fixed those too.
X-SVN-Rev: 37810
2015-08-25 16:55:52 +00:00
Travis Keep
03eab980da
ICU-11779 Fix parameter names in documentation.
...
X-SVN-Rev: 37774
2015-08-13 22:46:04 +00:00
Travis Keep
6ed4b6178a
ICU-11779 Introduce static versions of DTPNG getSkeleton and getBaseSkeleton
...
X-SVN-Rev: 37771
2015-08-13 22:09:13 +00:00
Steven R. Loomis
9edacf9fa9
ICU-11771 move FilteredBreakIterator from i18n to common
...
X-SVN-Rev: 37676
2015-07-16 21:02:06 +00:00
Peter Edberg
b64eeb479d
ICU-11628 C, update MeasureUnit interfaces and tests for new units in CLDR 27/28
...
X-SVN-Rev: 37626
2015-06-28 03:26:33 +00:00
Peter Edberg
656838dbad
ICU-11706 (and #11726 ) Improve documentation, code cleanup
...
X-SVN-Rev: 37616
2015-06-24 07:59:38 +00:00
Peter Edberg
a8325d335c
ICU-11706 (and #11726 ) Fix DateIntervalFormat handling of (1) skeletons with seconds, (2) FieldPosition
...
X-SVN-Rev: 37613
2015-06-23 22:07:03 +00:00
Peter Edberg
15ee90b9a3
ICU-11693 C support for CompactDecimalFormat, via UNumberFormatStyle additions
...
X-SVN-Rev: 37612
2015-06-23 18:09:52 +00:00
Peter Edberg
4cdffbd453
ICU-11708 CompactDecimaFormat should override and implement several more format methods
...
X-SVN-Rev: 37611
2015-06-23 17:33:03 +00:00
Fredrik Roubert
1b083389a4
ICU-11734 Bugfix: RelativeDateTimeFormatter with U_HIDE_DRAFT_API.
...
RelativeDateTimeFormatter has a member of type
UDateRelativeDateTimeFormatterStyle, so this type must be declared even
when setting U_HIDE_DRAFT_API, but it must then have a dummy enum value,
for empty enum declarations are not valid.
X-SVN-Rev: 37520
2015-06-10 17:21:08 +00:00
Fredrik Roubert
0b407a667b
ICU-11730 Bugfix: UNumberFormatAttributeValue with U_HIDE_INTERNAL_API.
...
DecimalFormat has a member of type UNumberFormatAttributeValue, so this
type must be declared even when setting U_HIDE_INTERNAL_API, but it must
then have a dummy enum value, for empty enum declarations are not valid.
X-SVN-Rev: 37519
2015-06-10 17:20:24 +00:00
Andy Heninger
6772f79425
ICU-11670 Fix incorrect API doc for class TimeZone.
...
X-SVN-Rev: 37439
2015-05-14 18:40:12 +00:00
Andy Heninger
85f3da6213
ICU-11638 Improve RegexMatcher::group() API docs.
...
X-SVN-Rev: 37327
2015-04-13 21:59:04 +00:00
Peter Edberg
7d74634fa5
ICU-11433 BRS, no U_HIDE conditionals around impl code or private fields; fix comment typos
...
X-SVN-Rev: 37234
2015-03-16 04:15:28 +00:00
Michael Ow
cdb730c5a9
ICU-11433 Add fix for header test
...
X-SVN-Rev: 37212
2015-03-11 17:57:36 +00:00
Peter Edberg
0ef535414e
ICU-11433 ICU4C draft API promotion; update U_HIDE_xxx conditionals
...
X-SVN-Rev: 37197
2015-03-10 07:20:48 +00:00
Yoshito Umaoka
3195f25068
ICU-11358 Separate host time zone detection code from the default time zone initialization code and make it public API as TimeZone::detectHostTimeZone().
...
X-SVN-Rev: 37148
2015-03-05 06:34:51 +00:00
Peter Edberg
954236108c
ICU-11400 Fix documentation of DateTimeFormat in setDateTimeFormat/udatpg_setDateTimeFormat
...
X-SVN-Rev: 37143
2015-03-05 05:36:25 +00:00
Andy Heninger
6ffe686192
ICU-10759 deprecate Plural Rules Functions w no implementation in ICU4C.
...
X-SVN-Rev: 37131
2015-03-04 20:21:41 +00:00
Peter Edberg
3076cb2149
ICU-11510 C: Support narrow AM/PM "aaaaa" for date format and parse
...
X-SVN-Rev: 37124
2015-03-04 05:43:28 +00:00
Peter Edberg
c77f9b24c8
ICU-10141 Add UErrorCode param to Region methods that return StringEnumeration*
...
X-SVN-Rev: 37123
2015-03-04 01:40:44 +00:00
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
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
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
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
Yoshito Umaoka
b676128bfe
ICU-9648 Changed BasicTimeZone public API methods to const.
...
X-SVN-Rev: 33109
2013-02-01 07:39:04 +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
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
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
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
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
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
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
858972dfa6
ICU-9748 MSVC2010 issues, move EnumSet<> to separate header
...
X-SVN-Rev: 32838
2012-11-15 21:55:41 +00:00
Travis Keep
161183009a
ICU-9543 C++ CompactDecimalFormat moved to trunk.
...
X-SVN-Rev: 32819
2012-11-14 18:49:38 +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
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
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
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
dd506783e6
ICU-9598 Respond to Markus' comments on C GenderInfo
...
X-SVN-Rev: 32600
2012-10-11 18:52:55 +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
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
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
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
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
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
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
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
Markus Scherer
ce6b202757
ICU-8920 clarify Collator::getRules() docs
...
X-SVN-Rev: 32259
2012-08-28 00:06:05 +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
Markus Scherer
ca65e1c41e
ICU-9460 deprecate Collator::safeClone() and default-implement it in the base class
...
X-SVN-Rev: 32127
2012-08-08 21:03:52 +00:00
Markus Scherer
520264ec8c
ICU-9406 deprecate UCOL_HIRAGANA_QUATERNARY_MODE, disable setter
...
X-SVN-Rev: 32108
2012-08-04 17:24:45 +00:00
Markus Scherer
da6c36d287
ICU-9346 C++ Collator API cleanup, fix safeClone() bug (setRuleStringFromCollator() on the result), fix polymorphic operator==(), move some method implementations into the base class
...
X-SVN-Rev: 32100
2012-08-03 21:49:28 +00:00
Michael Ow
6f32f4f5a4
ICU-9232 Use forward declaration for non-public class
...
X-SVN-Rev: 31986
2012-06-25 16:34:19 +00:00
Yoshito Umaoka
ecec4bfab4
ICU-8810 Changed @param zoneToAdopt to @param zone to match the method signature.
...
X-SVN-Rev: 31970
2012-06-19 15:28:23 +00:00
Peter Edberg
43d3e4e099
ICU-9226 Better documentation for add and roll functions/methods
...
X-SVN-Rev: 31967
2012-06-19 07:09:54 +00:00
Yoshito Umaoka
2b19607bfa
ICU-8918 Documentation update explaining ambiguous wall time resolution in the class doc.
...
X-SVN-Rev: 31963
2012-06-18 19:19:31 +00:00
Yoshito Umaoka
fefba73e1d
ICU-9258 Updated format/DecimalFormatTest/DataDrivenTests to format StringPiece in addition to DigitList. Fixed an error status problem (not returning U_FORMAT_INEXACT_ERROR) found by the StringPiece test.
...
X-SVN-Rev: 31961
2012-06-18 14:14:22 +00:00
Xiaomei Ji
a9ea9b2a82
ICU-9042 in time unit format, ignore those plural counts that are not defined in the locale's plural rules
...
X-SVN-Rev: 31924
2012-06-08 19:02:03 +00:00
Steven R. Loomis
43b918a0c8
ICU-9258 merge from branches, performance improvements
...
X-SVN-Rev: 31881
2012-05-30 00:41:57 +00:00
Michael Ow
0ca13b73b0
ICU-9292 Merge BEAM warning fixes from branch into trunk
...
X-SVN-Rev: 31792
2012-05-03 05:50:26 +00:00
Andy Heninger
1e26b4760c
ICU-8810 Fix bad description of time zones in Calendar::createInstance()
...
X-SVN-Rev: 31783
2012-04-27 22:34:34 +00:00
Markus Scherer
1d98ac0736
ICU-9249 deprecate PluralFormat::setLocale(locale)
...
X-SVN-Rev: 31742
2012-04-18 23:58:47 +00:00
Markus Scherer
adcdc1c20e
ICU-9132 finalize new MessageFormat pattern argument type to selectordinal
...
X-SVN-Rev: 31702
2012-04-13 17:37:12 +00:00
Markus Scherer
8d7428d1b3
ICU-9132 ordinal-plural formatting in C/C++
...
X-SVN-Rev: 31687
2012-04-07 04:27:27 +00:00
Yoshito Umaoka
bbf2400ce5
ICU-7205 Replace '<'/'>' in the previous change with HTML entities '<'/'>'.
...
X-SVN-Rev: 31631
2012-03-19 14:11:31 +00:00
Peter Edberg
4ab941ea5d
ICU-7205 Improve API documentation for relative date formatting (C)
...
X-SVN-Rev: 31629
2012-03-19 04:31:15 +00:00
Peter Edberg
33863c74be
ICU-7804 Clarify that parsing of negative years is in lenient mode only
...
X-SVN-Rev: 31628
2012-03-18 16:00:50 +00:00
Michael Ow
2e9b4064b7
ICU-9168 Add some more fix for uconfig and header test failures
...
X-SVN-Rev: 31577
2012-03-02 20:18:40 +00:00
Michael Ow
782387a888
ICU-9168 Fix some uconfig test errors
...
X-SVN-Rev: 31574
2012-03-02 17:59:56 +00:00
Yoshito Umaoka
83c811726a
ICU-8916 Enclosed draft APIs with #ifndef U_HIDE_DRAFT_API
...
X-SVN-Rev: 31520
2012-02-27 17:35:21 +00:00
Yoshito Umaoka
4ec0b42811
ICU-7964 Added #ifndef U_HIDE_DRAFT_API to the new draft API.
...
X-SVN-Rev: 31519
2012-02-27 15:19:54 +00:00
Markus Scherer
830de364b6
ICU-8779 add ifndef U_HIDE_DRAFT_API
...
X-SVN-Rev: 31514
2012-02-25 01:36:17 +00:00
Steven R. Loomis
29fe6e1f35
ICU-8157 remove wrap of U_HIDE_INTERNAL_API for virtuals
...
X-SVN-Rev: 31503
2012-02-24 04:04:57 +00:00
Peter Edberg
aad3d090d4
ICU-9091 Updates based on PMC discussion, also remove some inappropriate #ifndef U_HIDE_DRAFT_API
...
X-SVN-Rev: 31486
2012-02-22 22:55:52 +00:00
Peter Edberg
efc03a774b
ICU-9110 C - Name tweaks for consistency with some improvements in J
...
X-SVN-Rev: 31483
2012-02-22 09:06:12 +00:00
Steven R. Loomis
4eac54f2f6
ICU-8157 bump U_COL_SAFECLONE_BUFFERSIZE to 528: reordering and delegate have pushed it over 512 on IBM i teraspace.
...
X-SVN-Rev: 31481
2012-02-22 03:50:56 +00:00
Yoshito Umaoka
1641940f00
ICU-8513 Merging TimeZoneNames/TimeZoneFormat APIs (as 49 technology preview) into trunk.
...
X-SVN-Rev: 31469
2012-02-21 11:06:50 +00:00
Steven R. Loomis
ee88f60df4
ICU-9127 workaround for os400 also
...
X-SVN-Rev: 31464
2012-02-21 06:47:28 +00:00
Peter Edberg
60152763f3
ICU-9110 Add date format functions to set/get context, use when formatting
...
X-SVN-Rev: 31458
2012-02-21 01:29:50 +00:00
Peter Edberg
4b3835d9e9
ICU-9091 Promote to stable most ICU4C API that are draft 4.8 or earlier
...
X-SVN-Rev: 31446
2012-02-20 04:28:17 +00:00
Steven R. Loomis
f0eb1ff995
ICU-8157 remove U_EXPORT2 and add ifdef no internal
...
X-SVN-Rev: 31444
2012-02-19 09:14:56 +00:00
Peter Edberg
05b2ae1381
ICU-8697 C, change parseCurrency methods to return CurrencyAmount*, make draft ICU 49
...
X-SVN-Rev: 31440
2012-02-19 06:45:47 +00:00
Steven R. Loomis
5824cdd742
ICU-8157 commit from branch
...
X-SVN-Rev: 31439
2012-02-19 06:39:16 +00:00
Steven R. Loomis
eec528c85f
ICU-8157 commit from branch
...
X-SVN-Rev: 31434
2012-02-18 23:10:51 +00:00
Yoshito Umaoka
9d6a55f33d
ICU-8916 Calendar APIs supporting options for handling ambiguous wall time (Merged from the work branch to the ICU4C trunk).
...
X-SVN-Rev: 31421
2012-02-17 23:53:05 +00:00
Michael Ow
1dfe6c4c8b
ICU-8940 Ensure the new DecimalFormatSymbols is propagated properly in ICU4C RBNF
...
X-SVN-Rev: 31417
2012-02-17 23:09:57 +00:00
John Emmons
bae575e95a
ICU-7501 Use allowsParsing attribute from CLDR to detect unparseable RBNF rulesets
...
X-SVN-Rev: 31416
2012-02-17 23:01:16 +00:00
Andy Heninger
c74df646b7
ICU-6947 implement UREGEX_LITERAL flag.
...
X-SVN-Rev: 31398
2012-02-15 01:30:55 +00:00
Markus Scherer
2ea559eeb4
ICU-8803 make Calendar::getType() public and improve API docs
...
X-SVN-Rev: 31385
2012-02-13 23:54:23 +00:00
Andy Heninger
305adeb146
ICU-8034 Add Number Format field constant definitions.
...
X-SVN-Rev: 31356
2012-02-10 00:38:34 +00:00
Yoshito Umaoka
1c11ee4838
ICU-7964 Merging ucurr_getNumericCode from the work branch to the trunk.
...
X-SVN-Rev: 31320
2012-02-03 18:40:03 +00:00
Peter Edberg
e3edca9be5
ICU-9044 Better description of 'U' character behavior (C)
...
X-SVN-Rev: 31280
2012-01-31 07:35:50 +00:00
Markus Scherer
9606c41350
ICU-9048 work around xlC compiler bug
...
X-SVN-Rev: 31270
2012-01-26 23:05:12 +00:00
Michael Ow
1f311240e5
ICU-8940 Add new ICU4C API to set decimal format symbols in RBNF
...
X-SVN-Rev: 31265
2012-01-25 21:16:48 +00:00
Peter Edberg
3b3b61e234
ICU-9044 Improve parse method documentation, note that parsing Chinese cal dates may be ambiguous (C)
...
X-SVN-Rev: 31254
2012-01-23 23:14:56 +00:00
Markus Scherer
b72fb657f6
ICU-9048 add virtual ~PluralSelector()
...
X-SVN-Rev: 31241
2012-01-20 22:12:56 +00:00
Andy Heninger
b8315ecf6a
ICU-8826 Regex case insensitive match fixes; also fixes #6074 , hitEnd() sometimes fails.
...
X-SVN-Rev: 31233
2012-01-20 00:50:02 +00:00
Andy Heninger
e5c9c7613f
ICU-9054 remove U_NAMESPACE_USE from uspoof.h
...
X-SVN-Rev: 31231
2012-01-19 19:37:39 +00:00
Peter Edberg
0ab713c4fb
ICU-8959 Add UDAT_YEAR_NAME_FIELD for pattern char 'U', implement format/parse for it (C)
...
X-SVN-Rev: 31215
2012-01-17 08:06:29 +00:00
Yoshito Umaoka
e577fc8ae0
ICU-8998 Added some explanation about useDaylightTime comparing to JDK.
...
X-SVN-Rev: 31214
2012-01-17 07:52:05 +00:00
Michael Ow
fc76cb342c
ICU-8887 Update timezone doc in ICU4C
...
X-SVN-Rev: 31109
2011-12-13 17:44:04 +00:00
Michael Ow
747ad726e2
ICU-8956 Update ICU4C SimpleDateFormat doc
...
X-SVN-Rev: 31069
2011-12-08 18:27:54 +00:00
Peter Edberg
56d70749df
ICU-8958 Add support for parsing leapMonths (in addition to formatting per r31039, r31040)
...
X-SVN-Rev: 31043
2011-12-06 20:46:32 +00:00
Peter Edberg
6dbcc24060
ICU-8958 integrate changes from cldrbug 4130:; add monthPatterns support to
...
DateFormatSymbols, use it to format leap months; ignore pattern char 'l'; add tests.
X-SVN-Rev: 31039
2011-12-06 08:00:44 +00:00
Stuart Gill
16ea5c24a6
ICU-8914 extra C/C++ documentation for collation reordering
...
X-SVN-Rev: 31002
2011-12-01 23:13:47 +00:00
Michael Ow
c5eeb6b6df
ICU-8887 Update timezone class doc in ICU4C
...
X-SVN-Rev: 30956
2011-11-11 23:24:20 +00:00
Abhinav Gupta
6a746276e5
ICU-8855 non-ascii characters in C code.
...
X-SVN-Rev: 30739
2011-09-28 20:54:03 +00:00
Markus Scherer
3458799ca4
ICU-8779 add getUnknown()
...
X-SVN-Rev: 30729
2011-09-28 00:00:31 +00:00
Markus Scherer
f7f54e2084
ICU-8788 deprecate ChoiceFormat
...
X-SVN-Rev: 30673
2011-09-16 00:24:00 +00:00
Steven R. Loomis
22bfb7668a
ICU-8801 fix for performance regression of parse (mostly malloc/free)
...
X-SVN-Rev: 30628
2011-09-07 14:30:32 +00:00