Shane Carr
ca350d8a82
ICU-13177 Removing public dependency on std::atomic from unicode/numberformatter.h and casting to ICU's atomic type internally.
...
X-SVN-Rev: 40540
2017-10-04 01:15:54 +00:00
Shane Carr
a4efe6d3d7
ICU-13383 Applying code review feedback for MSVC DLL interface warning.
...
X-SVN-Rev: 40524
2017-10-02 22:55:16 +00:00
Shane Carr
680ba3ce21
ICU-13383 Adding macro UPRV_SUPPRESS_DLL_INTERFACE_WARNING to suppress Visual C++ compiler warnings.
...
X-SVN-Rev: 40512
2017-09-29 00:16:08 +00:00
Shane Carr
d8368d6da4
ICU-13177 Fixing Visual Studio build warnings in number formatting code.
...
X-SVN-Rev: 40510
2017-09-28 22:53:31 +00:00
Andy Heninger
6b0ef1848d
ICU-13177 Windows build, add U_I18N_API to exported classes. Builds, some warnings. Tests crash.
...
X-SVN-Rev: 40482
2017-09-27 18:50:44 +00:00
Shane Carr
b40a5ff9eb
ICU-13177 Adding more documentation.
...
X-SVN-Rev: 40476
2017-09-27 09:03:19 +00:00
Andy Heninger
d2e59330cd
ICU-13177 NumberFormatter, Visual Studio fixes, work in progress.
...
X-SVN-Rev: 40475
2017-09-27 06:44:13 +00:00
Shane Carr
2d49e73b8a
ICU-13177 Cleanup before merge to trunk.
...
X-SVN-Rev: 40471
2017-09-27 05:31:57 +00:00
Shane Carr
a01fc429cb
ICU-13177 Initial commit of ICU4C NumberFormatter
...
X-SVN-Rev: 40465
2017-09-27 00:25:20 +00:00
Shane Carr
c09ca5d6b9
ICU-13177 Merging trunk to branch
...
X-SVN-Rev: 40460
2017-09-26 09:33:44 +00:00
Shane Carr
6001089138
ICU-9300 Adding links to RoundingMode user guide to ICU4C documentation.
...
X-SVN-Rev: 40458
2017-09-26 07:59:00 +00:00
Shane Carr
1f1a485c3c
ICU-13177 Adding IFixedDecimal interface to C++.
...
X-SVN-Rev: 40391
2017-09-13 07:49:26 +00:00
Shane Carr
d0c762e71c
ICU-13351 Adding additional CurrencyUnit constructors and stabilizing API constract of MeasureUnit default constructor.
...
X-SVN-Rev: 40379
2017-09-12 05:20:50 +00:00
Shane Carr
57913822e0
ICU-13177 Internal changes to existing icu4c source.
...
X-SVN-Rev: 40378
2017-09-10 02:02:02 +00:00
Jugu Dannie Sundar
29cd7b1fc9
ICU-11632 icu4c changes for integer overflow in calendar support
...
X-SVN-Rev: 40369
2017-09-05 22:22:09 +00:00
Fredrik Roubert
3c9447aaea
ICU-13336 Fix common typo: s/langauge/language/ig
...
X-SVN-Rev: 40361
2017-08-30 18:15:10 +00:00
George Rhoten
6e33099276
ICU-13306 API consistency changes based off of review feedback.
...
X-SVN-Rev: 40359
2017-08-29 07:14:27 +00:00
George Rhoten
5eed55e9a5
ICU-13306 Move rounding mode API to superclass as per technical committee review comments.
...
X-SVN-Rev: 40347
2017-08-23 17:38:00 +00:00
Shane Carr
d9056b1f32
ICU-13285 Adding NumberingSystem constructor methods to DecimalFormatSymbols (J and C).
...
X-SVN-Rev: 40345
2017-08-17 23:49:00 +00:00
George Rhoten
e3ac9c5561
ICU-13306 Can not get and set rounding attributes for RBNF with C API
...
X-SVN-Rev: 40343
2017-08-17 23:21:03 +00:00
Peter Edberg
56e884e22e
ICU-13183 on branch - Handle different field lengths for skeleton metachars j,C
...
X-SVN-Rev: 40126
2017-05-22 22:24:39 +00:00
Peter Edberg
7dd19b65ab
ICU-13183 on branch - Handle abB as normal fields but force add/remove depending on hour field; other fixes
...
X-SVN-Rev: 40124
2017-05-22 06:16:11 +00:00
Peter Edberg
6d160d7d01
ICU-13090 Fix measunit.h comment about createXxxx methods withdrawn in ICU 58
...
X-SVN-Rev: 39986
2017-04-05 21:21:14 +00:00
Peter Edberg
36eed24f5f
ICU-13005 ICU 59rc BRS, finish cleanup of C status tags and U_HIDE_ conditionals
...
X-SVN-Rev: 39952
2017-03-29 04:44:37 +00:00
Norbert Runge
cdcb7944b8
ICU-13053 Make UCONFIG_NO_BREAK_ITERATION flag work without errors or failures.
...
X-SVN-Rev: 39943
2017-03-27 18:22:11 +00:00
Norbert Runge
28d3ddb66f
ICU-13053 fix compilation errors when UCONFIG_NO_FORMATTING is switched on
...
X-SVN-Rev: 39941
2017-03-27 16:14:45 +00:00
Peter Edberg
da11b86b82
ICU-12772 Add uprules_getKeywords wrapper and test
...
X-SVN-Rev: 39916
2017-03-23 05:16:24 +00:00
Peter Edberg
970b7293de
ICU-13052 ICU4C 59 API promotion, draft 1
...
X-SVN-Rev: 39894
2017-03-22 07:38:16 +00:00
Markus Scherer
a8bc4d7682
ICU-12992 make the old normlzr.h work with configured UChar=uint16_t, and do not include it from coll.h any more (it only needs unorm.h)
...
X-SVN-Rev: 39744
2017-03-08 05:59:25 +00:00
Markus Scherer
5a13a8ca58
ICU-12992 return raw pointers not pointer wrappers
...
X-SVN-Rev: 39729
2017-03-03 22:42:52 +00:00
Markus Scherer
4b154b8328
ICU-12992 s/UChar/char16_t/g in public C++ header files
...
X-SVN-Rev: 39721
2017-03-01 23:55:58 +00:00
Markus Scherer
031be51911
ICU-12992 move Char16Ptr to new char16ptr.h; change non-UnicodeString C++ functions from raw pointers to Char16Ptr where possible
...
X-SVN-Rev: 39716
2017-03-01 05:52:24 +00:00
Markus Scherer
4c2fad3e36
ICU-12410 class Edits, class CaseMap with new low-level functions that work with Edits, simpler case properties code, some cleanup
...
X-SVN-Rev: 39684
2017-02-17 21:03:35 +00:00
Peter Edberg
b3a53f130e
ICU-12763 For C++ API, say return is undefined in the case of an error
...
X-SVN-Rev: 39675
2017-02-15 21:15:58 +00:00
Peter Edberg
870b039296
ICU-12763 for C++ select(const Formattable&...), add UErrorCode param, return empty string if err
...
X-SVN-Rev: 39658
2017-02-09 23:40:59 +00:00
Andy Heninger
04448b004f
ICU-12764 UTF-8 source files, update file encoding comments.
...
X-SVN-Rev: 39641
2017-02-03 18:57:23 +00:00
Andy Heninger
415932a1e3
ICU-12870 Charset Detector, have docs reference the Compact Encoding Detector.
...
X-SVN-Rev: 39640
2017-02-03 02:46:43 +00:00
Peter Edberg
e0f3d87e99
ICU-12948 First-pass preliminary integration of CLDR 31 @13174
...
X-SVN-Rev: 39601
2017-01-24 08:22:23 +00:00
Peter Edberg
7b33e586f5
ICU-12937 Withdraw MeasureUnit interfaces for coordinate units, and related data loading
...
X-SVN-Rev: 39599
2017-01-23 16:20:59 +00:00
Peter Edberg
47e1aaaf14
ICU-12763 Add uplrules_selectWithFormat and PluralRules::select that take & use [U]NumberFormat
...
X-SVN-Rev: 39591
2017-01-21 01:03:32 +00:00
Andy Heninger
242e02c388
ICU-12764 icu4c utf-8 source files, update Copyright notices.
...
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Peter Edberg
32ca386c27
ICU-12684 Add unum_formatDoubleForFields and test
...
X-SVN-Rev: 39565
2017-01-16 19:48:33 +00:00
George Rhoten
72280fb152
ICU-12713 Port fix for handling large magnitude numbers from ICU4J to ICU4C
...
X-SVN-Rev: 39560
2017-01-14 16:29:40 +00:00
Markus Scherer
3b23b78b95
ICU-12410 include what you use
...
X-SVN-Rev: 39553
2017-01-12 18:35:18 +00:00
Andy Heninger
fb0439839b
ICU-12860 U_DRAFT -> U_CAPI. U_DRAFT appeared on three stable functions. Also changed U_STABLE->U_CAPI for consistencey within file. See #9961
...
X-SVN-Rev: 39544
2016-12-19 22:40:54 +00:00
Steven R. Loomis
68401040eb
ICU-12852 Remove some unnecessary copy (merge from bug)
...
X-SVN-Rev: 39542
2016-12-14 18:41:04 +00:00
Peter Edberg
11c0df4f7b
ICU-12738 ICU4C BRS, fixes from testing uconfig.h variations
...
X-SVN-Rev: 39378
2016-09-28 07:37:19 +00:00
Peter Edberg
eccbc645aa
ICU-12738 ICU4C BRS, fixes to conditionals/includes/makefiles/scripts from testing public/private headers
...
X-SVN-Rev: 39375
2016-09-28 04:17:24 +00:00
Steven R. Loomis
6825277072
ICU-12752 commit some IBM z fixes. Library code building
...
X-SVN-Rev: 39368
2016-09-27 23:39:01 +00:00
Peter Edberg
bf138d8a85
ICU-12738 ICU4C BRS, Some fixes to U_HIDE_XXX_API macros
...
X-SVN-Rev: 39346
2016-09-26 06:53:00 +00:00
Shane Carr
feb501f197
ICU-12549 Changing u_strCompare to u_strcmp in spoof documentation.
...
X-SVN-Rev: 39341
2016-09-23 01:14:42 +00:00
Andy Heninger
260f921e89
ICU-12734 ICU4C API Change Report regenerated again; fixed some incorrect @stable tags.
...
X-SVN-Rev: 39332
2016-09-22 18:35:22 +00:00
Shane Carr
576a124b1b
ICU-12549 Small documentation and comment fixes in C++ SpoofChecker
...
X-SVN-Rev: 39328
2016-09-22 01:43:05 +00:00
Andy Heninger
0c77de936b
ICU-12734 ICU4C 58 API Promotion.
...
X-SVN-Rev: 39318
2016-09-21 21:20:27 +00:00
Peter Edberg
e6fdb36045
ICU-12738 ICU4C, update measurement unit constants & code
...
X-SVN-Rev: 39298
2016-09-20 21:15:22 +00:00
Shane Carr
d5d266654b
ICU-12549 Revisions to uspoof.h documentation. Actually removing identifier_info.h and other obsolete files from r39218.
...
X-SVN-Rev: 39297
2016-09-20 21:06:55 +00:00
Steven R. Loomis
bc0960b298
ICU-11746 more warning nits
...
X-SVN-Rev: 39294
2016-09-20 17:36:32 +00:00
Peter Edberg
d9b9bd7d59
ICU-12047 Minor wording adjustment in toLocalizedPattern() headerdoc
...
X-SVN-Rev: 39244
2016-09-15 17:32:17 +00:00
Shane Carr
5b9fc6fc70
ICU-12029 Measure unit display names, C++ version.
...
X-SVN-Rev: 39243
2016-09-15 08:37:56 +00:00
Peter Edberg
67b23a4aa6
ICU-12054 If format has no fields, first FieldPositionIterator::next should return FALSE; fix ufieldpositer_next description
...
X-SVN-Rev: 39241
2016-09-15 07:24:12 +00:00
Peter Edberg
e02cfd9eac
ICU-12407 Prevent parse crash in DECIMAL-style formatter with applied currency pattern
...
X-SVN-Rev: 39236
2016-09-15 03:55:22 +00:00
Shane Carr
2ceb565df3
ICU-12549 Updating SpoofChecker to latest Unicode specification.
...
X-SVN-Rev: 39218
2016-09-13 22:15:13 +00:00
Markus Scherer
c84e233733
ICU-12420 deprecate COUNT/LIMIT constants whose value may change
...
X-SVN-Rev: 39164
2016-09-08 22:45:51 +00:00
Fredrik Roubert
3959b30d02
ICU-12140 Pass StringPiece by value, externally.
...
R=markus.icu@gmail.com
Review URL: https://codereview.appspot.com/306850043 .
X-SVN-Rev: 39064
2016-08-17 19:07:15 +00:00
Shane Carr
d88a4109a5
ICU-11912 Adding more efficient implementation of getDisplayNames(), which was already present in Java
...
X-SVN-Rev: 39041
2016-08-11 23:29:51 +00:00
Fredrik Roubert
de579d3bf9
ICU-12140 Pass StringPiece by value, internally.
...
R=markus.icu@gmail.com
Review URL: https://codereview.appspot.com/305000043 .
X-SVN-Rev: 39024
2016-08-04 17:40:53 +00:00
Andy Heninger
549c7646bf
ICU-12061 FieldPosition::DONT_CARE API status and doc update. Fix incorrect usage of FieldPosition(0).
...
X-SVN-Rev: 39017
2016-07-23 04:42:29 +00:00
Felipe Balbontín
f07359517d
ICU-12623 Update DateIntervalInfo in ICU4C to new version of ResourceSink.
...
X-SVN-Rev: 38979
2016-07-18 22:16:40 +00:00
Yoshito Umaoka
a55516c58f
ICU-12047 Added a note in SimpleDateFormat::toLocalizedPattern() API doc in ICU4C.
...
X-SVN-Rev: 38976
2016-07-18 18:19:11 +00:00
Shane Carr
ad409a250e
ICU-11912 TimeZoneNames data sink implementation in C++.
...
X-SVN-Rev: 38960
2016-07-08 18:16:21 +00:00
kazède king
a8ef8ffe6f
ICU-12605 add "struct" after "friend"
...
X-SVN-Rev: 38881
2016-06-24 19:50:12 +00:00
kazède king
b9250c1a6e
ICU-12605 convert data enumeration to resource sink for TimeUnitFormat, C++
...
X-SVN-Rev: 38878
2016-06-24 00:51:49 +00:00
Shane Carr
ae61a779f5
ICU-12576 Fixing test failures under --disable-release mode.
...
X-SVN-Rev: 38864
2016-06-18 01:37:37 +00:00
Shane Carr
85bd97406d
ICU-12576 Updating C++ DateTimePatternGenerator to use data sinks.
...
X-SVN-Rev: 38861
2016-06-17 22:29:19 +00:00
Michael Ow
61607c2773
ICU-12564 Update copyright notice in trunk
...
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Shane Carr
41fed01112
ICU-11782 Optimizing storage of skeleton field strings in DateTimePatternGenerator (C++).
...
X-SVN-Rev: 38780
2016-05-31 23:49:11 +00:00
Yoshito Umaoka
00ca13e126
ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
...
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f
ICU-12564 Update copyright notice in ICU4C
...
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Andy Heninger
70facacc4e
ICU-12159 uspoof, update documentation for source of Recommended and Inclusion sets.
...
X-SVN-Rev: 38679
2016-04-30 00:41:12 +00:00
Peter Edberg
2d40cbbf01
ICU-12187 BRS task - Update conditionals for non-stable APIs (i18n)
...
X-SVN-Rev: 38497
2016-03-05 19:48:49 +00:00
kazède king
47a0d7975f
ICU-11872 improve data loading and caching for DateTimePatternGenerator pattern char 'C'; plugs leak.
...
X-SVN-Rev: 38465
2016-03-02 22:43:27 +00:00
Michael Ow
f2e7352104
ICU-12187 Update some API in ICU4C 57
...
X-SVN-Rev: 38455
2016-03-01 22:38:48 +00:00
Markus Scherer
e596b9258a
ICU-12067 withdraw getter & setter for TIME_SEPARATOR date/time field
...
X-SVN-Rev: 38449
2016-03-01 18:40:01 +00:00
Markus Scherer
1b41b8e8e3
ICU-12067 withdraw TIME_SEPARATOR date/time field
...
X-SVN-Rev: 38440
2016-02-29 22:13:35 +00:00
Michael Ow
499344bbfb
ICU-11872 Remove comma at the end of enum list
...
X-SVN-Rev: 38438
2016-02-29 20:30:17 +00:00
Felipe Balbontín
1841ee8d5d
ICU-12013 Refactor DateIntervalFormat resource data loading using the sink on ICU4C.
...
X-SVN-Rev: 38417
2016-02-27 09:24:54 +00:00
kazède king
e7d56c1f66
ICU-11872 port date time pattern generator char 'C' from Java to C++
...
X-SVN-Rev: 38397
2016-02-27 00:41:21 +00:00
Michael Ow
6a32e3f591
ICU-12139 Fix uconfig test errors for 57
...
X-SVN-Rev: 38383
2016-02-26 18:51:13 +00:00
kazède king
f713c0687c
ICU-11872 new time formatting pattern chars b/B
...
Merging from the branch.
X-SVN-Rev: 38370
2016-02-25 19:51:53 +00:00
Peter Edberg
d7169564c0
ICU-12072 Improve C header comments for enum per API review
...
X-SVN-Rev: 38318
2016-02-17 00:04:32 +00:00
Michael Ow
367ded24ef
ICU-12083 Update APIs for 57m1
...
X-SVN-Rev: 38251
2016-02-02 05:42:06 +00:00
Peter Edberg
d63bc540ec
ICU-12133 (C) Change proportion-karat to concentr-karat, add 5 new units in CLDR 29
...
X-SVN-Rev: 38249
2016-02-02 00:38:16 +00:00
Michael Ow
c5ae3a0769
ICU-12083 Fix non-ascii characters in comments
...
X-SVN-Rev: 38206
2016-01-27 19:24:28 +00:00
Markus Scherer
bb5f37a069
ICU-7457 replace MessageFormat with SimpleFormatter where easy; remove obsolete ChoiceFormat handling of currency names; move LocaleDisplayNames & ucurr from i18n to common
...
X-SVN-Rev: 38200
2016-01-26 22:56:59 +00:00
Markus Scherer
57f01a8756
ICU-10896 turn SimplePatternFormatter into public SimpleFormatter
...
X-SVN-Rev: 38195
2016-01-23 05:20:23 +00:00
Peter Edberg
50ea6cb008
ICU-12072 RelativeDateTimeFormatter: Improve C++ format API, add plain C API (part 1, structure)
...
X-SVN-Rev: 38189
2016-01-22 07:20:54 +00:00
Andy Heninger
c8d863f1d4
ICU-11851 NumberFormat API doc cleanup.
...
X-SVN-Rev: 38159
2016-01-08 22:21:51 +00:00
Andy Heninger
3e1bf369df
ICU-11669 DateIntervalFormat::format() thread safety fixes.
...
X-SVN-Rev: 38151
2016-01-06 00:09:25 +00:00
Markus Scherer
758b66dbca
ICU-12030 MeasureFormat handle by-plural-form sideways-aliasing, by not bundling plural forms into a QuantityFormatter, port from Java
...
X-SVN-Rev: 38136
2015-12-16 04:41:33 +00:00
Markus Scherer
724f7b5c10
ICU-11986 const ResourceValue references, sink.leave(), some more specific types in MeasureFormat code
...
X-SVN-Rev: 38094
2015-11-19 22:33:25 +00:00
Markus Scherer
2810d28dd7
ICU-11986 do not duplicate MeasureFormat data for sideways-fallback aliases
...
X-SVN-Rev: 38083
2015-11-14 00:31:21 +00:00
Michael Ow
6857dbc99e
ICU-11917 Add missing API tag
...
X-SVN-Rev: 38015
2015-09-23 20:58:51 +00:00
Peter Edberg
10053e8a55
ICU-11929 (C) Rename MeasureUnit methods createGeneric, createRevolution
...
X-SVN-Rev: 38009
2015-09-23 18:32:26 +00:00
Peter Edberg
87970fe888
ICU-11917 BRS, Update macros #ifndef U_HIDE_DRAFT/INTERNAL/DEPRECATED_API
...
X-SVN-Rev: 37976
2015-09-21 20:23:38 +00:00
Michael Ow
148ec9f9e5
ICU-11917 Promote 54 draft API to stable
...
X-SVN-Rev: 37969
2015-09-17 18:25:20 +00:00
Scott Russell
c179cf974c
ICU-11572 API proposal updates for approved constants
...
X-SVN-Rev: 37961
2015-09-16 00:14:58 +00:00
Markus Scherer
69543d559e
ICU-11016 add support for minimum grouping digits (technology preview, not using CLDR data yet)
...
X-SVN-Rev: 37946
2015-09-11 19:18:00 +00:00
Peter Edberg
5d1a2fa6bd
ICU-11787 Add support for UNUM_CURRENCY_STANDARD and locale u-ext key -cf- (C)
...
X-SVN-Rev: 37935
2015-09-10 05:40:20 +00:00
Peter Edberg
49d4ab5ee6
ICU-11773 Withdraw COLON as pattern char, leave support for UDAT_TIME_SEPARATOR_FIELD (C)
...
X-SVN-Rev: 37898
2015-09-07 22:39:49 +00:00
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