Commit Graph

20503 Commits

Author SHA1 Message Date
Fredrik Roubert
ba63a17d17 ICU-11941 Add LINKFLAGS to enable setting -rpath options.
R=markus.icu@gmail.com

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

X-SVN-Rev: 38380
2016-02-26 11:25:33 +00:00
Fredrik Roubert
19db0c70be ICU-12164 Add using operator to all subclasses of LocalPointerBase.
This will add operator* and operator-> from LocalPointerBase to the
scope of each subclass.

R=markus.icu@gmail.com

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

X-SVN-Rev: 38379
2016-02-26 11:24:23 +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
26f9512326 ICU-11872 remove unicode characters from cpp source files
X-SVN-Rev: 38376
2016-02-26 00:37:23 +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
f75e591321 ICU-12012 Replace all sizeof p / U_SIZEOF_... with UPRV_LENGTHOF().
R=markus.icu@gmail.com

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

X-SVN-Rev: 38349
2016-02-24 22:52:29 +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
John Emmons
3af6ddd9d8 ICU-12170 Merge data from CLDR release-29-beta1
X-SVN-Rev: 38332
2016-02-23 02:26:57 +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
8c643b3395 ICU-12085 Update C TestToUnicodeLocaleType/TestToLegacyType for "rg"
X-SVN-Rev: 38315
2016-02-16 19:51:26 +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
Yoshito Umaoka
ca34ec6b47 ICU-12170 Regenerated key-type data with CLDR trunk (including cldrbug:9264). Revereted the patch for transform extension x0 which was temporarily made for 57m1.
X-SVN-Rev: 38309
2016-02-15 17:26:43 +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
585625c5f6 ICU-12091 Ingnore absense of type map for transform private user type 'x0'.
X-SVN-Rev: 38289
2016-02-05 06:45:46 +00:00
John Emmons
f7d261ebbc ICU-12091 Merge preliminary CLDR 29 data for 57m1
X-SVN-Rev: 38287
2016-02-05 04:12:07 +00:00
John Emmons
b4bc1811f8 ICU-12091 Merge preliminary CLDR 29 data for 57m1
X-SVN-Rev: 38286
2016-02-05 04:11:14 +00:00
John Emmons
fb4d8494e3 ICU-12091 Merge preliminary CLDR 29 data for 57m1
X-SVN-Rev: 38285
2016-02-05 04:09:17 +00:00
John Emmons
84be20e85f ICU-12091 Merge preliminary CLDR 29 data for 57m1
X-SVN-Rev: 38284
2016-02-05 04:04:17 +00:00
John Emmons
b10e842114 ICU-12091 Merge preliminary CLDR 29 data for 57m1
X-SVN-Rev: 38283
2016-02-05 03:59:39 +00:00
John Emmons
0d81c10f31 ICU-12091 Merge preliminary CLDR 29 data for 57m1
X-SVN-Rev: 38282
2016-02-05 03:52:07 +00:00
John Emmons
9d3952fec0 ICU-12091 Merge preliminary CLDR 29 data for 57m1
X-SVN-Rev: 38281
2016-02-05 03:50:47 +00:00
John Emmons
12eb48e599 ICU-12091 Merge preliminary CLDR 29 data for 57m1
X-SVN-Rev: 38280
2016-02-05 03:46:03 +00:00
John Emmons
fec84b1252 ICU-12091 Merge preliminary CLDR 29 data for 57m1
X-SVN-Rev: 38279
2016-02-05 03:42:01 +00:00
John Emmons
66aa8c0fa4 ICU-12091 Merge preliminary CLDR 29 data for 57m1
X-SVN-Rev: 38278
2016-02-05 03:37:50 +00:00
Peter Edberg
2f3b19e766 ICU-12083 57m1 BRS, update readme for milestone status and copyright year, update license copyright year
X-SVN-Rev: 38268
2016-02-04 06:56:51 +00:00
Yoshito Umaoka
350820e8a6 ICU-12083 Fixed TestHost failures on Windows 10 by updating LCID mapping data including new Windows locales.
X-SVN-Rev: 38264
2016-02-04 05:43:34 +00:00
Peter Edberg
3781b678d6 ICU-12083 57m1 BRS task, update urename.h
X-SVN-Rev: 38263
2016-02-04 04:45:41 +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
8ac33b6a63 ICU-12083 Fix no data test errors
X-SVN-Rev: 38247
2016-02-01 18:02:21 +00:00
Michael Ow
a197e45227 ICU-12083 Fix bom in icu4c 57m1
X-SVN-Rev: 38246
2016-02-01 17:14:55 +00:00
Michael Ow
a264d8c41e ICU-12083 Update header test cxxfile
X-SVN-Rev: 38245
2016-02-01 16:39:58 +00:00
Peter Edberg
891ba61c7c ICU-12133 (C) integrate CLDR data for new units
X-SVN-Rev: 38239
2016-01-30 06:53:47 +00:00
Peter Edberg
c1e6ddc08d ICU-12085 (C) integrate CLDR keyTypeData for locale key "rg" (and some other new ones)
X-SVN-Rev: 38234
2016-01-30 02:24:57 +00:00
Andy Heninger
7529fbd82b ICU-12130 fix utext_extract() incorrect position on return.
X-SVN-Rev: 38233
2016-01-30 02:12:01 +00:00
Yoshito Umaoka
7567b72b14 ICU-11962 tzdata2016a updates to ICU4C
X-SVN-Rev: 38222
2016-01-28 23:59:32 +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
68b7cc0cd5 ICU-7457 export ucurrimp.h functions from the common library
X-SVN-Rev: 38205
2016-01-27 17:22:26 +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
Michael Ow
4382bcac9f ICU-9747 Fix build issues in MSVC 2015
X-SVN-Rev: 38198
2016-01-25 20:43:27 +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
b15fd37fa9 ICU-12072 Flesh out tests for ureldatefmt_ APIs
X-SVN-Rev: 38192
2016-01-22 21:37:44 +00:00
Michael Ow
df945dc264 ICU-10401 Fix some warnings in MSVC build
X-SVN-Rev: 38191
2016-01-22 18:47:55 +00:00
Peter Edberg
f5d28f72d2 ICU-11802 Remove comma at end of enum that was breaking one autobuild
X-SVN-Rev: 38190
2016-01-22 17:39:30 +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
Peter Edberg
0d543296da ICU-12080 Add new supplemental unitPreferenceData from CLDR
X-SVN-Rev: 38188
2016-01-22 06:40:37 +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
Michael Ow
fbff04a4d0 ICU-12015 Update the array size to avoid buffer overflow
X-SVN-Rev: 38185
2016-01-21 19:49:39 +00:00
Markus Scherer
c10fdc6e29 ICU-11802 add 4 Emoji properties from emoji-data.txt 2.0
X-SVN-Rev: 38183
2016-01-21 04:39:21 +00:00
Michael Ow
7847919dfa ICU-11893 Fix warning in visual studio 2013
X-SVN-Rev: 38168
2016-01-12 22:39:56 +00:00
Markus Scherer
080e9d32a3 ICU-12042 better API docs
X-SVN-Rev: 38161
2016-01-09 01:13:52 +00:00
Markus Scherer
1be318d2f9 ICU-12042 ures_getUnicodeString() and variants return bogus strings when an error occurred
X-SVN-Rev: 38160
2016-01-09 00:58:15 +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
Michael Ow
53a0a74221 ICU-11669 Fix invalid character in project file
X-SVN-Rev: 38153
2016-01-06 19:10:24 +00:00
Michael Ow
4154ab3516 ICU-11669 Add language extension to DateIntervalFormat test source code file
X-SVN-Rev: 38152
2016-01-06 19:07:41 +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
Steven R. Loomis
5b0ff67dfa ICU-10684 fix int32 to uint32
X-SVN-Rev: 38144
2015-12-17 18:12:56 +00:00
Steven R. Loomis
6f25906b7f ICU-11865 Layout update
Upstream: http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/efc8652da937

X-SVN-Rev: 38143
2015-12-17 01:43:38 +00:00
Steven R. Loomis
3ff0ac77ad ICU-10684 merge in Layout updates
Upstream: http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/9d29c19f1de1

X-SVN-Rev: 38142
2015-12-17 01:36:04 +00:00
Steven R. Loomis
32af290668 ICU-12020 merge in Layout updates
Upstream: http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/dbb4e2bdfa9e

One missed patch in MorphTables.cpp (noted in ticket)

X-SVN-Rev: 38141
2015-12-17 01:29:24 +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
Michael Ow
03392ddd85 ICU-12026 Add .size to gcc assembly code
X-SVN-Rev: 38117
2015-12-10 14:36:50 +00:00
Andy Heninger
18450a9957 ICU-12028 Compiler warning cleanup.
X-SVN-Rev: 38116
2015-12-09 02:11:07 +00:00
Michael Ow
ea597d89d1 ICU-11961 Fix delete statement
X-SVN-Rev: 38111
2015-12-08 05:13:49 +00:00
Andy Heninger
ad1bbbe97b ICU-12027 Improved thread safety of RuleBasedTransliterator.
X-SVN-Rev: 38110
2015-12-08 01:29:24 +00:00
Andy Heninger
f673fc0cf1 ICU-11961 tweak Windows project file for build breakage
X-SVN-Rev: 38109
2015-12-04 01:10:18 +00:00
Andy Heninger
d4e3d2c088 ICU-11961 Multi-thread slow tests TimeZoneFormatTest/TestTimeRoundTrip and CalendarLimitTest/TestLimits
X-SVN-Rev: 38108
2015-12-03 23:10:38 +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
d0ed7b3b60 ICU-11987 Apply patch for TZ detection
X-SVN-Rev: 38093
2015-11-19 21:16:12 +00:00
Michael Ow
83732e4bec ICU-11968 Fix test error on zos
X-SVN-Rev: 38092
2015-11-19 20:57:59 +00:00
Michael Ow
a8b1972f92 ICU-11835 Fix solaris default locale detection issue
X-SVN-Rev: 38091
2015-11-19 19:44:04 +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
Michael Ow
a47a3679ac ICU-11979 Fix max char size for iso-2022-kr in icu4c
X-SVN-Rev: 38086
2015-11-17 23:08:52 +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