gnrunge
b6ff1393d5
ICU-21268 Add error checks to avoid segmentation faults if tests run with stubdata only.
...
ICU-21268 Use 'nullptr' instead of NULL when checking for pointer value.
ICU-21268: Fixes error message.
ICU-21268 Style fixes (space before '{').
2020-09-08 18:22:29 -07:00
Jeff Genovy
2361a3258b
ICU-21264 Re-enable optimizations for various functions on MSVC for VS2019 and above.
2020-09-08 18:05:02 -07:00
Jeff Genovy
941fddc19d
ICU-21108 Add build using VS2015 toolset, fix job names.
2020-09-08 13:58:38 -07:00
Jeff Genovy
ef4913316f
ICU-21271 Fix valgrind failure in dtptngen.cpp
2020-09-08 13:52:53 -07:00
Hugo van der Merwe
8e04bf016d
ICU-21174 Drop MaybeStackVector::appendAll because it requires copy constructor
2020-09-05 23:29:33 +02:00
Peter Edberg
b066f65a50
ICU-21249 integrate CLDR release-38-alpha1 to ICU trunk
2020-09-04 15:05:22 -07:00
Rich Gillam
ff2272d7e1
ICU-21164 Fixed bug in OlsonTimeZone constructor that could leave the object in a not-fully-initialized state.
2020-09-04 10:09:39 -07:00
Markus Scherer
9971c663ff
ICU-21257 remove #License fragment from license URLs
2020-09-04 10:02:17 -07:00
Shane F. Carr
4f18ef2ef8
ICU-21258 Refactor code and tests for compact data known issue
2020-09-03 16:17:40 -07:00
Rich Gillam
edaebfa64e
ICU-21155 Add support for all hour and day-period skeleton characters to DateIntervalFormat
2020-09-03 16:14:08 -07:00
Shane F. Carr
caadb345e5
ICU-20826 Updating C++ ListFormatter impl to be more like Java
2020-09-03 17:52:03 -05:00
Fredrik Roubert
a827ab72c9
ICU-21035 Delete meaningless calls to uloc_getKeywordValue().
...
These two calls to uloc_getKeywordValue() write to the buffer "id" which
then immediately after is overwritten by calls to idForLocale() so they
can simply be removed without any loss of functionality.
2020-09-03 20:11:21 +02:00
Fredrik Roubert
936f53a1f1
ICU-21035 Update locale implementation to use ulocimp_getKeywordValue().
2020-09-03 19:02:47 +02:00
Elango Cheran
cb7f197821
ICU-21254 Add plural rule parsing for exponent operand in C++
2020-09-03 09:17:15 -07:00
Shane F. Carr
82545ecc2c
ICU-21249 Update instructions in StaticUnicodeSetsTest
2020-09-03 12:29:44 +02:00
Shane F. Carr
28707b44b4
ICU-21249 Patch for failing exhastive unit tests
2020-09-03 12:29:44 +02:00
Fredrik Roubert
f9ada4b3cb
ICU-21035 Pass ByteSink from Locale::getKeywordValue() to uloc_getKeywordValue().
...
This eliminates the need for a scratch buffer in Locale::getKeywordValue()
and also the need for counting bytes required in uloc_getKeywordValue(),
something that ByteSink will now handle correctly.
2020-09-03 00:48:43 +02:00
Shane F. Carr
fcc3bcb43e
ICU-21249 Update numberpermutationtest.txt
2020-09-03 00:46:59 +02:00
Frank Tang
08aafba664
ICU-21236 Refactor UniqueCharStrings / CharStringMap
...
Move them UniqueCharStrings and CharStringMap from
loclikelysubtags.{h,cpp} to separate header files
so so we can reuse them to implement
https://github.com/unicode-org/icu/pull/1254
2020-09-02 13:45:10 -07:00
Jeff Genovy
341608f7b6
ICU-21108 Update to use/support VS2019, and add extra CI builds for VS2017 and VS2019.
...
Change to use the Windows 10 SDK for Win32 (Win7) builds on the VS2019 ADO images.
The Windows 10 SDK is backwards compatible to Windows 7, if WINVER and
_WIN32_WINNT are set before compiling.
Clean up the vcxproj files from VC7.1
2020-09-02 13:01:27 -07:00
gnrunge
9a54efc5c7
ICU-21261 Adds 'units' data to pseudolocale data generation. Also corrects the documentation in a few places.
2020-09-02 10:56:56 -07:00
Peter Edberg
e618a1cc2d
ICU-21249 integrate CLDR release 38 alpha0 to ICU trunk
2020-09-02 10:23:14 -07:00
younies
15747825bc
ICU-20963 Add .clang-format file to icu4c/source
...
See #1143
2020-09-01 21:19:06 +02:00
Frank Tang
bc864aeac6
ICU-21051 Add copyright Remove License from sh
...
See #1281
2020-09-01 13:26:41 -05:00
Shane F. Carr
196d5e1182
ICU-20923 Fix compact notation with percent.
2020-09-01 04:36:04 -05:00
Markus Scherer
2f39d33498
ICU-13727 limit length of input for Punycode encode/decode
...
See #1241
2020-08-31 16:53:07 -07:00
Erik Torres
ba3b6acd5c
ICU-21249 BRS68RC Version update and regenerate configure for v68
...
BRS68RC Updating files for release
2020-08-31 19:35:14 -04:00
Victor Chang
7a57d299df
ICU-21247 Move #include "unicode/localpointer.h" into U_SHOW_CPLUSPLUS_API block
2020-08-31 15:19:29 -07:00
Markus Scherer
650bd402fe
ICU-13727 add U_INPUT_TOO_LONG_ERROR & ICUInputTooLongException
2020-08-31 10:32:11 -07:00
Fredrik Roubert
ffd450c637
ICU-21035 Replace backward compatibility _getVariant*() functions.
...
The one single caller of _getVariantEx() is _getVariant() and this in
turn only has 3 callers, one of which is commented out (so it can be
deleted), one of which doesn't actually do anything (so it too can be
deleted) and one which can be replaced by inlining the use of
CheckedArrayByteSink.
This also allows _getVariantEx() to be renamed to _getVariant() as it's
the only such function left now.
2020-08-31 13:33:15 +02:00
Markus Scherer
f62693aa02
ICU-13416 change Armenian (hy) uppercase/titlecase of և ligature ech-yiwn
2020-08-30 18:19:10 -07:00
Frank Tang
cad3903cc2
ICU-21051 Add Locale::createCanonical performance test
2020-08-29 02:29:58 -07:00
Shane F. Carr
0101e2632c
ICU-20164 Make NoUnit a zero-cost abstraction over MeasureUnit.
...
See #1230
2020-08-29 00:01:49 -05:00
Hugo van der Merwe
35eae09a7c
ICU-21246 Handle kilogram SI prefix correctly
...
Fix kilogram parsing: ignore 'kilogram' as a stem, we have 'gram'.
Failures in the added unit test before the fix: withSIPrefix resulted
in 'microkilogram', and kilogram's prefix was considered to be
"ONE" (i.e. 10^0).
2020-08-29 00:07:08 +02:00
Shane F. Carr
0dbe1ae013
ICU-20927 Adding French narrow duration unit test.
2020-08-28 15:31:38 -05:00
Craig Cornelius
408cd128fc
ICU-21242 rephrase documentation using term master
...
See #1255
2020-08-28 12:42:20 -07:00
David Beaumont
9bcd35aee0
ICU-21240 Removing unused makefile files and updating docs.
2020-08-28 20:41:03 +02:00
Hugo van der Merwe
66b2458a26
ICU-21066 Copy includelist of CLDR testData with tools/cldr/build.xml
2020-08-28 01:12:12 +02:00
Shane F. Carr
59cdbe1f53
ICU-21232 Improve performance of DecimalFormat#parse on long numbers
2020-08-27 14:33:05 -05:00
Fredrik Roubert
05d49fd373
ICU-21035 Replace backward compatibility locale_getKeywords() function.
...
By updating the last 3 callers to do dynamic memory allocation instead,
the fixed memory buffer function becomes obsolete.
2020-08-27 13:46:07 +02:00
Fredrik Roubert
d070fdddd1
ICU-21035 Remove obsolete use of CharString::getAppendBuffer().
...
The complicated buffer allocation code is inherited from times past but
no longer serves any purpose, it's now possible to instead simply call
the CharString copy constructor.
2020-08-26 13:49:26 +02:00
Fredrik Roubert
e8f3d5c657
ICU-21035 Replace backward compatibility ulocimp_getCountry() overload.
...
By always calling the dynamic memory allocation implementation directly
instead, the fixed memory buffer boundary gets pushed one step further
towards the edges.
2020-08-26 13:48:54 +02:00
Fredrik Roubert
db3278a71e
ICU-21035 Replace backward compatibility ulocimp_getScript() overload.
...
By always calling the dynamic memory allocation implementation directly
instead, the fixed memory buffer boundary gets pushed one step further
towards the edges.
2020-08-25 00:30:54 +02:00
Frank Tang
3b188e46a4
ICU-21157 Fix test code
...
See #1256
2020-08-24 14:37:09 -07:00
Hugo van der Merwe
0387d1b988
ICU-21230 Add status to MaybeStackArray(int32_t newCapacity), plumb it through.
2020-08-24 22:55:26 +02:00
Markus Scherer
c8aa800735
ICU-21035 add & use CharString::extract(dest buffer)
...
See #1253
2020-08-21 16:29:25 -07:00
Markus Scherer
39da689d30
ICU-21184 rephrase docs/comments using the term grandfathered
2020-08-21 14:13:03 -07:00
Frank Tang
cde54fc5ba
ICU-21157 Fix incorrect null termination.
...
See #1236
2020-08-20 16:22:34 -07:00
Fredrik Roubert
3a8e0a2fe9
ICU-21035 Replace backward compatibility ulocimp_getLanguage() overload.
...
By always calling the dynamic memory allocation implementation directly
instead, the fixed memory buffer boundary gets pushed one step further
towards the edges.
2020-08-20 23:38:30 +02:00
Erik Torres
a7a8cc3809
ICU-20808 Add test for the C locale to default to en_US_POSIX
2020-08-20 14:12:09 -07:00