Steven R. Loomis
b6f72c10c9
ICU-20395 Fix cldr-icu-readme.txt to not mention whitelist
2019-02-06 10:45:43 -08:00
Markus Scherer
f5d2c560a0
ICU-20376 makeconv prepend relative sourcedir to args; only ignore if nothing but a single dot
2019-02-06 08:45:18 -08:00
Peter Edberg
01ecea2df0
ICU-20347 Update ICU4J test to reflect expected behavior
2019-02-06 00:22:47 -08:00
Peter Edberg
e8bcc60d6f
ICU-20347 In ICU4J, parsing emoty string should set PARSE_ERROR as before; check ICU4J behavior
2019-02-06 00:22:47 -08:00
Shane F. Carr
57d07d3ec3
ICU-20138 Macros for C and C++ FormattedValue subclass boilerplate.
...
- Includes macros for implementation only. Headers should be spelled out.
2019-02-05 22:54:13 -08:00
Shane F. Carr
1624176dd9
ICU-20138 Adding FormattedValue helper implementation for FPI handlers.
...
- Changes FieldPositionIterator (FPI) to use tetrads in the UVector32.
2019-02-05 22:54:13 -08:00
Shane F. Carr
9bb910b8d0
ICU-20138 Implementing ufmtval_nextPosition and additional test infra.
...
- Adds test infra for multi-category formatted values.
- Adds helper method ConstrainedFieldPosition#matchesField, currently internal.
2019-02-05 22:54:13 -08:00
Peter Edberg
67461d80dc
ICU-20253 ICU4C RelativeDateTimeFormatter should fall back to OTHER case, as in ICU4J
2019-02-05 19:19:28 -08:00
Jeff Genovy
1b671c9b25
ICU-20204 ICU4C: Use the CreateFileMapping API for both the UWP version and Win32 versions.
...
- CreateFileMappingW is marked for both desktop and UWP apps, so we can call that in both code paths.
- We can use the W version of the CreateFileMapping API instead of A version since we pass a NULL for the name anyways.
- We can call the same API CreateFile[A|W] from both the UWP and Win32 versions of the code, reducing one of the UWP forks.
- Add a work-around for older versions of the Windows 10 SDK UWP headers.
- Remove the code that was creating a custom security descriptor (but setting everything to NULL) and pass null to the API directly. This way we will get the default security descriptor instead of the NULL dacl.
- Change to use nullptr instead of NULL in C++ code.
2019-02-05 15:16:56 -08:00
Peter Edberg
ba4dc89169
ICU-20374 need unum_close in new TestParseCases
2019-02-05 14:42:21 -08:00
Peter Edberg
ff04436fe5
ICU-20374 Formattable::internalGetCharString should produce int string for types kLong or kInt64
2019-02-05 14:42:21 -08:00
Jeff Genovy
654278627a
ICU-20388 ICU4C: intltest fails with a "Debug Assertion Break" on MSVC when compiled for Debug.
...
Need to use free() with malloc() instead of uprv_free().
2019-02-05 14:04:10 -08:00
Jeff Genovy
00596d3027
ICU-13847 ICU-20381 Improve handling of errors (Out-of-Memory) in DecimalFormat class.
...
- Use move assignment for fields->formatter (LocalizedNumberFormatter) instead of creating new heap object every time.
- Add test cases for DecimalFormat object in invalid state.
- Protect against self-assignment in assignment operator.
- Fix segmentation fault when attempting to compare valid and invalid DecimalFormat objects.
- Changes based on review feedback from Shane.
- Fix minor typos in the public header file.
2019-02-05 14:00:40 -08:00
Jeff Genovy
48776d132a
ICU-20393 ICU4C: Scale move assignment operator leaks the fArbitrary member (96 bytes)
2019-02-05 13:54:57 -08:00
Norbert Runge
f52a75b2eb
ICU-20217 Replaces seed corpus zip files with the original txt files.
...
The problem is that Docker receives zip files only as LFS links when
cloning ICU from GitHub. Converting the txt files into zip files, which
is the required corpus format for the fuzzer, will be done by the oss-fuzz
build script.
ICU-20217 Adds fuzzer seed corpus files to the list of files that don't have
copyright notice.
2019-02-01 16:07:25 -08:00
Norbert Runge
011c51098b
ICU-20386 Adds workaround to icu4c/source/data/Makefile.in: Help python to find
...
the buildtools directory it needs when running the ICU4C unit tests in an
out-of-source installation.
The change is a quick workaround for now for an issue that can have wide impact.
2019-01-31 15:53:39 -08:00
Daniel Ju
ebd15cf8bd
ICU-20220 ICU4C: Use anonymous namespace instead of 'static' keyword in uspoof.cpp
2019-01-30 16:10:36 -08:00
Mihai Nita
108ea4af94
ICU-9622 Update documentation for MessageFormat and skeletons ( #361 )
2019-01-30 13:09:47 -08:00
Shane F. Carr
19407640f8
ICU-20357 Adding std::unique_ptr conversions to LocalXyzPointer macro.
2019-01-28 21:23:35 -08:00
Norbert Runge
b4fef640cf
ICU-20217 Adds additional ICU4C fuzzers.
2019-01-28 15:55:17 -08:00
Shane Carr
ccba38d382
ICU-20298 Adding improved locale filtering to buildtool.
...
- Integrates changes from cldrbug 11802 to ICU.
- Adds test suite for buildtool.
- Adds new filter type "union".
2019-01-28 13:43:17 -08:00
Shane Carr
1f85e94068
ICU-13839 Adding FormattedNumber API to PluralRules.
...
- Makes new dependency class for PluralRules+FormattedNumber.
2019-01-28 11:46:00 -08:00
Jeff Genovy
dcc1300613
ICU-20200 Fix mistaken move of MSB8012 warning suppression from shared props file to Library only props file.
2019-01-25 18:02:26 -08:00
Jeff Genovy
11af9f2da4
ICU-20200 Treat select warnings as errors in the ICU4C library code (with MSVC).
2019-01-25 15:58:18 -08:00
Shane Carr
1a453301ee
ICU-10923 Adding unix-exec mode to buildtool and updating help page.
...
- Renames --format flag to --mode.
- Renames windirect to windows-exec.
2019-01-25 15:34:44 -08:00
Don
de6607c9cd
ICU-20171 Fix buffer overrun in genccode
2019-01-25 15:29:34 -08:00
Shane Carr
db94f46377
ICU-13800 Adding clone() on [Un]LocalizedNumber[Range]Formatter.
...
- Returns a LocalPointer that can be converted to std::unique_ptr.
2019-01-25 15:29:21 -08:00
Victor Chang
a424372b7b
ICU-20350 Fix DecimalFormatSymbols.setPatternForCurrencySpacing affecting the value across instances
2019-01-25 13:04:49 -08:00
Jeff Genovy
5c8960e59e
ICU-20074 Revise UPRV_UNREACHABLE macro to always call abort().
...
Moved the macro from platform.h to uassert.h.
Removed any "unreachable" code that previously occurred after the UPRV_UNREACHABLE macro is used.
Changes based on review from Andy.
Co-authored-by: Daniel Ju <daju@microsoft.com>
2019-01-24 18:50:04 -08:00
Shane Carr
b7a3571b21
ICU-20357 Adding LocalPointer conversion methods to/from std::unique_ptr
...
- Requires the right side to be an rvalue reference.
- Includes move constructor, move operator, and conversion operator.
2019-01-24 17:51:07 -08:00
Frank Tang
4104d33501
ICU-20355 Fixing Java currency long name field.
...
- Adds test in ICU4C and ICU4J.
2019-01-24 17:33:27 -08:00
Shane Carr
e10bdb96a7
ICU-20283 Updating docs of old FormattedNumber field position methods.
...
Most users can use the new method, but these methods may still be useful when needing to interact with the FieldPosition-based APIs.
2019-01-24 16:47:42 -08:00
Shane Carr
7507f5322f
ICU-13657 Adding NumberFormatter skeleton factory method with UParseError.
...
- Includes small fixes to StringSegment and to tests.
2019-01-24 16:33:00 -08:00
Jeff Genovy
85600f2639
ICU-20370 Fix error checking in uloc_getLCID function.
2019-01-24 15:00:03 -08:00
Jeff Genovy
e7d36adf17
ICU-20206 ICU4C: Make USE_WINDOWS_LCID_MAPPING_API compile-time configurable.
2019-01-24 14:55:26 -08:00
Shane Carr
c31fec6b14
ICU-13746 Removing number formatting APIs deprecated in ICU 62.
...
Includes both ICU4C and ICU4J.
2019-01-24 14:50:03 -08:00
Andy Heninger
f0d3f25b0b
ICU-20089 Add ICU4C Docs build to Travis CI
2019-01-24 13:32:55 -08:00
Jeff Genovy
9b3030463f
ICU-20369 ICU4C: Report OOM errors in the utrie2_clone function.
2019-01-23 17:33:05 -08:00
Jeff Genovy
972e31d58d
ICU-20364 Cygwin builds need to set WINVER to 0x0601 for Windows 7, similar to MinGW builds.
2019-01-23 17:20:15 -08:00
Shane Carr
1f7d8ababe
ICU-20358 Clean up grouping resolution in DecimalFormat#toPattern().
2019-01-18 17:40:49 -08:00
Jeff Genovy
e96724b52f
ICU-20323 Suppress MSYS2 GCC warning about std::atomic visibility (Windows).
2019-01-18 10:14:58 -08:00
Shane Carr
335abbe3ac
ICU-20334 Additional python3 compatibility changes to depstest.
...
Also adds python3 depstest call to .travis.yml.
2019-01-17 22:38:18 -08:00
Luca Stefani
cc66247297
ICU-20334 Add python3 support to icu4c scripts
...
Test: Execute every python script with python 2 and 3
2019-01-17 22:38:18 -08:00
Shane Carr
c0a64b5ea1
ICU-20183 Adding CurrencyUnit StringPiece constructor.
...
- Adds function uprv_memchr.
2019-01-17 15:41:56 -08:00
Shane F. Carr
ac359112a1
ICU-20348 Fixing DecimalFormat set affix currency behavior.
...
- Includes minor changes to tests.
2019-01-17 11:32:38 -08:00
Jeff Genovy
33d7868d45
ICU-20351 Warning cleanup changes for ICU4C under MSVC.
2019-01-16 16:43:02 -08:00
Jeff Genovy
b0a372ac9a
ICU-20353 Fix MSVC Warning/Error C4251 with CodePointMatcherWarehouse and MemoryPool.
2019-01-16 14:59:57 -08:00
Jeff Genovy
25380f6f81
ICU-20352 Remove unneeded UWP includes for WRL and Windows.Globalization.h from putil.cpp
2019-01-16 14:28:09 -08:00
Norbert Runge
e6cd35e005
ICU-20217 Fix comment syntax in fuzzing dictonary for ICU regular expressions.
2019-01-15 08:41:19 -08:00
Daniel Ju
7453181fff
ICU-20074 Define UPRV_UNREACHABLE macro for unreachable code
...
Replaced occurrences of U_ASSERT(FALSE) with new UPRV_UNREACHABLE macro.
2019-01-14 14:16:26 -08:00