Commit Graph

5014 Commits

Author SHA1 Message Date
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
Andy Heninger
79bb830dde ICU-12527 Fix resource leaks in r38824.
X-SVN-Rev: 38876
2016-06-23 22:30:38 +00:00
Andy Heninger
25f3f10204 ICU-7700 Revert change #38862, hour-of-day setting logic, which broke some tests.
X-SVN-Rev: 38865
2016-06-18 21:49:10 +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
kazède king
dcd6c90e01 ICU-7700 setting HOUR_OF_DAY should also update AM_PM.
X-SVN-Rev: 38862
2016-06-17 23:23:11 +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
Shane Carr
a40cf4b3a0 ICU-12579 MeasureFormat data sink update, C++ version.
X-SVN-Rev: 38858
2016-06-17 19:16:15 +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
c10eeb4358 ICU-12534 Optimizing currency spacing data loading (C++)
X-SVN-Rev: 38826
2016-06-10 21:49:00 +00:00
Craig Cornelius
457938ebc2 ICU-12527 Updating data loading in SimpleDateFormatter, C++
X-SVN-Rev: 38824
2016-06-10 21:14:36 +00:00
Markus Scherer
1a6d70fa44 ICU-12526 Unicode 9 data 2016-jun-09
X-SVN-Rev: 38820
2016-06-10 00:01:46 +00:00
Andy Heninger
f8aea69ce6 ICU-12153 uspoof_setRestrictionLevel also must enable restriction level checking.
X-SVN-Rev: 38811
2016-06-08 20:16:13 +00:00
kazède king
a45ad52fc5 ICU-12569 Use new sinks for C++.
X-SVN-Rev: 38802
2016-06-06 23:40:54 +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
Shane Carr
e2316ceb41 ICU-12528 Optimizing CompactDecimalDataCache data loading using a data sink (C++).
X-SVN-Rev: 38779
2016-05-31 22:48:47 +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
Markus Scherer
5e69db5c2f ICU-12526 integrate Unicode 9 beta
X-SVN-Rev: 38753
2016-05-19 22:48:18 +00:00
Andy Heninger
3f05ba059e ICU-12065 DateIntervalFormat operator ==, remove from/to calendars from consideration.
X-SVN-Rev: 38749
2016-05-18 00:11:20 +00:00
Andy Heninger
54b8f0c928 ICU-12532 Avoid potential memory mis-alignment of stack-allocated decNum instance.
X-SVN-Rev: 38746
2016-05-16 21:57:34 +00:00
Shane Carr
3f27a9e89d ICU-12521 Fixing C++03 decfmtsym.cpp compiler error.
X-SVN-Rev: 38721
2016-05-09 22:00:25 +00:00
Shane Carr
29e5258904 ICU-12521 Adding C++ version of DecimalFormatSymbols data loading sink.
X-SVN-Rev: 38714
2016-05-06 23:06:26 +00:00
Michael Ow
d63a77bca4 ICU-12455 Update version number to 58.0.1 in ICU4C
X-SVN-Rev: 38711
2016-05-06 20:53:07 +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
Markus Scherer
3947687fcc ICU-12520 ucol_getKeywordValuesForLocale() resource data enumeration
X-SVN-Rev: 38674
2016-04-29 23:04:00 +00:00
Markus Scherer
192500a361 ICU-12510 resource data enumeration: get array/table objects from ResourceValue, iterate with nested code & functions not by returning nested sinks; use this in DateTimePatternGenerator AllowedHourFormatsSink
X-SVN-Rev: 38655
2016-04-27 16:19:26 +00:00
Michael Ow
13be2f95ae ICU-11623 Merge change to reset tz buffer
X-SVN-Rev: 38625
2016-04-18 22:33:45 +00:00
Markus Scherer
f292628ed7 ICU-12446 Resource sink size: move into new enter(size) method
X-SVN-Rev: 38606
2016-04-07 00:18:33 +00:00
Jungshik Shin
2522113378 ICU-12408 static UnicodeString RANGE_MARKER_STRING is bad
X-SVN-Rev: 38564
2016-03-23 20:57:17 +00:00
Andy Heninger
29e0435a01 ICU-12379 Add assertion check to internal function parameter value.
X-SVN-Rev: 38524
2016-03-16 22:55:08 +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
Peter Edberg
a7d264944d ICU-12187 BRS task - Update conditionals for non-stable APIs (common); fix clang warnings
X-SVN-Rev: 38495
2016-03-05 00:06:07 +00:00
Peter Edberg
6d7f5f1810 ICU-12072 C, Restore use of aliasing UnicodeString constructor in ureldatefmt_combineDateAndTime()
X-SVN-Rev: 38493
2016-03-04 22:29:14 +00:00
kazède king
f6bdf2b1ac ICU-11872 suppress output of "midnight" in formatting (C++)
X-SVN-Rev: 38485
2016-03-04 18:13:25 +00:00
Peter Edberg
eddf3c7f4c ICU-12072 C, Updates per review comments
X-SVN-Rev: 38481
2016-03-04 05:54:01 +00:00
Markus Scherer
155fb20a8e ICU-12187 fix dependencies, add a file, fix memory allocations
X-SVN-Rev: 38479
2016-03-03 22:56:54 +00:00
kazède king
d845084966 ICU-11872 fix invalid memory read
X-SVN-Rev: 38467
2016-03-02 23:49:30 +00:00
kazède king
4a45deb1ac ICU-11872 I can't svn very well (actually resolves conflict this time)
X-SVN-Rev: 38466
2016-03-02 22:48:21 +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
Michael Ow
968747625e ICU-12187 Close resource to avoid memory leak
X-SVN-Rev: 38448
2016-03-01 18:32:00 +00:00
Markus Scherer
a9c247a3cb ICU-12166 annotate intended switch case fallthroughs
X-SVN-Rev: 38447
2016-03-01 07:44:57 +00:00
Michael Ow
bebd3e79ae ICU-12187 Fix memory leak in ICU4C 57
X-SVN-Rev: 38446
2016-03-01 07:37:31 +00:00
Michael Ow
20db391c56 ICU-11872 Remove ending comma in enum list
X-SVN-Rev: 38445
2016-03-01 07:34:29 +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
Andy Heninger
92e4ca4448 ICU-12138 Fix RegexCompile::doParseActions uses uninitialized variable
X-SVN-Rev: 38395
2016-02-27 00:04:47 +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
Fredrik Roubert
f34de568c4 ICU-12012 Replace irregular sizeof expressions with UPRV_LENGTHOF().
R=markus.icu@gmail.com

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

X-SVN-Rev: 38378
2016-02-26 11:21:55 +00:00
kazède king
99a7ebbae1 ICU-11872 fix memory errors
X-SVN-Rev: 38373
2016-02-25 21:40:27 +00:00
kazède king
f8050e2adf ICU-11872 fix build errors
X-SVN-Rev: 38372
2016-02-25 21:09:04 +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
Craig Cornelius
15ed0f801d ICU-12018 Fix compile issue for some build targets.
X-SVN-Rev: 38366
2016-02-25 18:25:24 +00:00
Fredrik Roubert
255a48d30a ICU-12018 Delete superfluous trailing semicolon [-Wpedantic].
X-SVN-Rev: 38364
2016-02-25 16:23:36 +00:00
Jungshik Shin
f7de66ef4e ICU-12129 fix C4138 warning from MSVC
X-SVN-Rev: 38362
2016-02-25 01:49:48 +00:00
Craig Cornelius
91e6a10be2 ICU-12018 Update data loading to use ResourceTableSink and DateFormatSymbols to resolve missing data.
X-SVN-Rev: 38359
2016-02-25 00:30:11 +00:00
Fredrik Roubert
ebc0f5b22a ICU-12012 Replace all sizeof p / sizeof T with UPRV_LENGTHOF().
R=markus.icu@gmail.com

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

X-SVN-Rev: 38347
2016-02-24 21:48:56 +00:00
Markus Scherer
f2186b6d33 ICU-12141 make each internal header file compile by itself; add includes where necessary; add simple test script
X-SVN-Rev: 38341
2016-02-24 00:49:51 +00:00
Fredrik Roubert
7f4b8d106b ICU-12012 Replace all sizeof p / sizeof *p with UPRV_LENGTHOF().
R=markus.icu@gmail.com

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

X-SVN-Rev: 38337
2016-02-23 10:40:09 +00:00
Peter Edberg
257b757897 ICU-12072 Update C comments explaining future direction
X-SVN-Rev: 38319
2016-02-17 05:50:57 +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
Peter Edberg
086ee675a8 ICU-12085 manually integrate branch > trunk (had network problems committing updated branch)
X-SVN-Rev: 38311
2016-02-15 17:58:23 +00:00
Jungshik Shin
da4e32180a ICU-11937 cast Quantifier to UnicodeFunctor instead of UnicodeSet
X-SVN-Rev: 38299
2016-02-08 19:37:17 +00:00
Yoshito Umaoka
22c3a94854 ICU-12091 Fixed a memory leak introduced by the quick patch in transliterator initialization code.
X-SVN-Rev: 38290
2016-02-05 16:05:39 +00:00
Yoshito Umaoka
f8580d17f4 ICU-12091 Update to the previous commit - Made UnicodeString -t- to constant to match the diff provided by Steven in #12077
X-SVN-Rev: 38256
2016-02-03 21:51:20 +00:00
Yoshito Umaoka
c123e806f7 ICU-12091 Ignore BCP 47 -t- style transliterator IDs. The support for such -t- IDs will be done by #12077 later.
X-SVN-Rev: 38255
2016-02-03 21:39:38 +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
Michael Ow
714973b396 ICU-12083 Update version number to 57m1 in ICU4C
X-SVN-Rev: 38186
2016-01-21 20:04:00 +00:00
Andy Heninger
c8d863f1d4 ICU-11851 NumberFormat API doc cleanup.
X-SVN-Rev: 38159
2016-01-08 22:21:51 +00:00
Markus Scherer
9eb5fc1b11 ICU-12032 rewrite SimplePatternFormatter: quoting like MessageFormat, shorter, create fewer objects
X-SVN-Rev: 38155
2016-01-07 00:20:53 +00:00
Andy Heninger
3e1bf369df ICU-11669 DateIntervalFormat::format() thread safety fixes.
X-SVN-Rev: 38151
2016-01-06 00:09:25 +00:00
Michael Ow
a9395a0af8 ICU-12030 Update destructor to delete all patterns
X-SVN-Rev: 38148
2015-12-31 21:12:07 +00:00
Markus Scherer
b24d71cf90 ICU-12041 check that per-unit patterns have one placeholder, fix patterns
X-SVN-Rev: 38139
2015-12-16 22:29:21 +00:00
Markus Scherer
ddfb23cc4c ICU-12031 define StandardPlural::indexFromString(const UnicodeString &keyword, UErrorCode &errorCode)
X-SVN-Rev: 38137
2015-12-16 05:36:59 +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
8c6d77a375 ICU-12031 StandardPlural from UnicodeString
X-SVN-Rev: 38134
2015-12-16 04:21:28 +00:00
Andy Heninger
4f959e2bc7 ICU-11710 remove review note comment.
X-SVN-Rev: 38133
2015-12-15 21:23:37 +00:00
Andy Heninger
0b2778f3bb ICU-11461 Remove unused setInteger functionality from DigitList
X-SVN-Rev: 38131
2015-12-15 19:37:36 +00:00
Markus Scherer
4c96f9a866 ICU-12031 port enum StandardPlural to C++
X-SVN-Rev: 38130
2015-12-14 21:57:41 +00:00
Andy Heninger
bb50b15953 ICU-11710 TimeUnitFormat, fix compile error in previous commit.
X-SVN-Rev: 38127
2015-12-14 05:10:38 +00:00
Andy Heninger
22dfe1dd38 ICU-11710 Use LocalPointer in TimeUnitFormat impl.
X-SVN-Rev: 38126
2015-12-14 04:41:52 +00:00
Andy Heninger
ad1bbbe97b ICU-12027 Improved thread safety of RuleBasedTransliterator.
X-SVN-Rev: 38110
2015-12-08 01:29:24 +00:00
Markus Scherer
5a7ff3049b ICU-11986 MeasureFormat unit display patterns need to fall back to the parent locales per plural form, not as a set; add MeasureFormatTest::TestIndividualPluralFallback(); fix RelativeDateTimeFormatterTest::TestSerbianFallback() test data
X-SVN-Rev: 38103
2015-12-02 22:54:54 +00:00
Andy Heninger
8b03bbc037 ICU-12014 fix float-cast-overflow in rbnf.cpp
X-SVN-Rev: 38102
2015-12-02 22:31:56 +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
Michael Ow
257d5a0a27 ICU-11809 Null terminate buffer in initCurrency
X-SVN-Rev: 38090
2015-11-19 18:58:42 +00:00
Fredrik Roubert
25f9110090 ICU-11985 Handle 'j' and 'J' in date time pattern skeletons.
R=mark.edward.davis@gmail.com, markus.icu@gmail.com, pedberg@apple.com

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

X-SVN-Rev: 38089
2015-11-18 12:29:17 +00:00
Markus Scherer
d5877ebe4e ICU-11986 use prefix Resource for C++ classes, prefix UResource for C types
X-SVN-Rev: 38087
2015-11-18 00:18:28 +00:00
Markus Scherer
7c7b8ee870 ICU-11986 more compact MeasureFormat data sink declaration+defition, add comments
X-SVN-Rev: 38084
2015-11-16 23:50:58 +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
Markus Scherer
147ca53163 ICU-11986 enumerate most of the measurement unit formatting data, rather than lookup-with-fallback for each piece; adds necessary fallback on leaf level
X-SVN-Rev: 38082
2015-11-12 22:09:04 +00:00
Andy Heninger
8dba7301b7 ICU-11554 Fix regex bug with look-behind matching & UTF-8 input.
X-SVN-Rev: 38056
2015-10-09 20:01:46 +00:00
Andy Heninger
9b8403900a ICU-11507 Regex, fix problem with backrefs of unpaired surrogates.
X-SVN-Rev: 38038
2015-10-06 23:59:28 +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
Markus Scherer
9d080ee08a ICU-11917 virtual destructors must be defined explicitly, out-of-line, first virtual method
X-SVN-Rev: 37993
2015-09-22 21:51:03 +00:00
Michael Ow
0f3551c762 ICU-11917 Check in some uconfig test error fixes
X-SVN-Rev: 37986
2015-09-22 16:24:52 +00:00
Michael Ow
fdd235d5e5 ICU-11917 Fix no data test errors in ICU4C 56
X-SVN-Rev: 37981
2015-09-22 04:02:11 +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
Steven R. Loomis
39f7040439 ICU-11886 unsafe-backward set, review comments
. remove #if 0's and stray comments
. cleanup UnicodeSet docs (deserialize does not freeze)
. remove dead code in collationdatareader.cpp

X-SVN-Rev: 37960
2015-09-15 21:42:56 +00:00
Markus Scherer
99febdc465 ICU-11750 defer & simplify fetching code points from CharacterIterator, test normalization boundaries from both sides
X-SVN-Rev: 37959
2015-09-15 21:04:29 +00:00
Markus Scherer
5faab922bd ICU-11709 do not clobber existing UErrorCode failure code, do not orphan() names until you know that the Enumeration was allocated and thus did adopt
X-SVN-Rev: 37956
2015-09-15 18:03:08 +00:00
Peter Edberg
c828e3fd29 ICU-11750 Try to avoid uninitialized variable error in memcheck buildbot
X-SVN-Rev: 37953
2015-09-14 07:02:46 +00:00
Peter Edberg
525a00b02e ICU-11750 Improve comments again
X-SVN-Rev: 37951
2015-09-13 18:58:19 +00:00
Peter Edberg
79589c201a ICU-11750 Improve comments
X-SVN-Rev: 37950
2015-09-13 17:14:34 +00:00
Peter Edberg
ae7f45d5c1 ICU-11750 For Indic search: Allow match end at normalization boundary in middle of grapheme cluster
X-SVN-Rev: 37949
2015-09-13 07:43:51 +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
4f8296e079 ICU-11709 Fix leak in NumberingSystem::getAvailableNames; rename variables to avoid confusion
X-SVN-Rev: 37944
2015-09-10 22:49:03 +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
Markus Scherer
0f0c7656d3 ICU-11832 some better error checking based on static code analysis
X-SVN-Rev: 37930
2015-09-10 01:42:34 +00:00
Steven R. Loomis
94fe10c710 ICU-11886 Speed up ucol_open by 21%
* implement a deserialize constructor for UnicodeSet
 * add test cases for same
* add a generator (`gencolusb`) which can build `source/i18n/collunsafe.h`
* Note that for bootstrapping `collunsafe.h` can be truncated (zero length).

X-SVN-Rev: 37929
2015-09-10 01:39:06 +00:00
Peter Edberg
7e03903fd5 ICU-11773 Improve test, fix typo (C)
X-SVN-Rev: 37900
2015-09-08 02:25:24 +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
Markus Scherer
8fb97395f8 ICU-11860 separate init-once of uspoof statics (for most functions) from init-once of uspoof default data (only for uspoof_open()); gencfu calls uspoof_openFromSource() for building the default data, so uspoof_openFromSource() must not require that default data
X-SVN-Rev: 37897
2015-09-07 01:48:29 +00:00
Markus Scherer
a97583a817 ICU-11860 uspoof_openFromSource() initializes static variables; isolate test code for uspoof_openFromSource() so that initialization can be tested
X-SVN-Rev: 37895
2015-09-07 01:18:49 +00:00
Markus Scherer
a45bac77fe ICU-11765 fix utrans_stripRules() source overruns from a comment or an escape at the end of the source string; make U8_SET_CP_LIMIT() work with index after NUL terminator, consistent with U16_SET_CP_LIMIT(), although strictly speaking this behavior is undefined
X-SVN-Rev: 37889
2015-09-04 23:45:19 +00:00
Jungshik Shin
49eb03845c ICU-11867 fix "virtual functions hidden" warning in windtfmt/winnmfmt
X-SVN-Rev: 37886
2015-09-04 20:17:30 +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
John Emmons
3506c79716 ICU-11846 Fix memory leak in modified Region code
X-SVN-Rev: 37849
2015-08-29 03:08:44 +00:00
Travis Keep
dd0466cdad ICU-11740 Add documentation to DecimalFormatImpl class.
X-SVN-Rev: 37848
2015-08-28 23:23:38 +00:00
John Emmons
01e0c332a5 ICU-11846 CLDR 28 data integration
X-SVN-Rev: 37836
2015-08-27 20:23:27 +00:00
Steven R. Loomis
6abcab0f43 ICU-11740 template fix for MSVC
X-SVN-Rev: 37833
2015-08-27 00:14:12 +00:00
Travis Keep
b7cf3ca31c ICU-11740 Disallow copy and assign on VisibleDigitsWithExponent enable data driven tests that were known to fail with the legacy DecimalFormat code but pass with the new DecimalFormat code.
X-SVN-Rev: 37832
2015-08-26 21:15:37 +00:00
Travis Keep
f1bd63c26d ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37827
2015-08-26 19:13:28 +00:00
Travis Keep
3b9279d715 ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37825
2015-08-26 17:43:02 +00:00
George Rhoten
e3e7183663 ICU-11818 Implement PluralRules in fractional RBNF
X-SVN-Rev: 37823
2015-08-26 10:42:17 +00:00
Travis Keep
896009e9da ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37822
2015-08-26 00:28: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
7fcc6e5165 ICU-8223 Fix a compiler issue from the last change.
X-SVN-Rev: 37811
2015-08-25 17:43:22 +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
Andy Heninger
38d07de467 ICU-11031 cache spoof check data (ICU4C).
X-SVN-Rev: 37793
2015-08-21 01:23:29 +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
Michael Ow
2f866f7436 ICU-11757 Fix initializer list order
X-SVN-Rev: 37701
2015-07-28 17:50:08 +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
f86d3f28c5 ICU-11706 Fix memory leak when DateIntervalFormat::setDateIntervalInfo is called
X-SVN-Rev: 37620
2015-06-24 21:43:08 +00:00
Peter Edberg
52acc7a249 ICU-11706 (and #11726) more code cleanup (rolling in from J)
X-SVN-Rev: 37617
2015-06-24 08:03:16 +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