-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changelog: Common Changes Unicode 11: 684 new characters, including 7 new scripts, Mtavruli Georgian capital letters, 5 new Han characters, and 66 new emoji characters. CLDR 33.1: Unicode 11 script metadata, collation, Chinese transliteration. Chinese collation stroke order updated from Unicode 7 to Unicode 11 after tooling bug fixes. NumberFormatter A NumberFormatter can now be constructed from a locale-neutral skeleton string (like a DateFormat) (#8610). This is particularly useful in translated messages where placeholder details should not be translated. MessageFormat recognizes the style field as a number skeleton if it is prefixed with "::", as in "Number of files: {num, number, :: round-integer group-min2}." (#13742) New "conversion" functions for getting a NumberFormatter from a DecimalFormat, and a Format from a NumberFormatter. New C API (unicode/unumberformatter.h [permanent API docs link TBD]). (#13597) Currently it supports formatting settings only via a skeleton string. Several still-draft NumberFormatter methods and helper classes have been modified or renamed; the previous versions remain temporarily (as deprecated) for one release, to help with the transition. Break Iterator Rules: "Safe" rules are no longer required for correct break iterator operation. For back compatibility, existing rule sets containing safe rules will continue to work, with the safe rules they contain being ignored. The Break Iterator binary data format has been updated to reflect this change. Line Break: The boundary rules have been updated to reflect the Unicode 11 version of UAX #14. Specifically, the handling of Emoji ZWJ sequences has been improved. ICU4C Specific Changes Under-the-hood overhaul of number parsing. See the design doc for a summary of changes; behavior is mostly compatible with previous versions, but there are some known differences. DecimalFormat now wraps the new NumberFormatter code.
- Loading branch information
Showing
5 changed files
with
23 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
$NetBSD: patch-i18n_double-conversion-utils.h,v 1.1 2018/06/27 19:06:17 maya Exp $ | ||
$NetBSD: patch-i18n_double-conversion-utils.h,v 1.2 2018/07/20 03:32:09 ryoon Exp $ | ||
|
||
Big endian is a thing and typically has the same behaviour with regards to float | ||
sizes. | ||
|
||
--- i18n/double-conversion-utils.h.orig 2018-03-26 13:38:30.000000000 +0000 | ||
--- i18n/double-conversion-utils.h.orig 2018-06-21 09:38:53.000000000 +0000 | ||
+++ i18n/double-conversion-utils.h | ||
@@ -77,7 +77,7 @@ inline void abort_noreturn() { abort(); | ||
// On Linux,x86 89255e-22 != Div_double(89255.0/1e22) | ||
// ICU PATCH: Enable ARM builds for Windows with 'defined(_M_ARM)'. | ||
// ICU PATCH: Enable ARM32 & ARM64 builds for Windows with 'defined(_M_ARM) || defined(_M_ARM64)'. | ||
#if defined(_M_X64) || defined(__x86_64__) || \ | ||
- defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || \ | ||
+ defined(__ARMEL__) || defined(__ARMEB__) || defined(__avr32__) || defined(_M_ARM) || \ | ||
- defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \ | ||
+ defined(__ARMEL__) || defined(__ARMEB__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \ | ||
defined(__hppa__) || defined(__ia64__) || \ | ||
defined(__mips__) || \ | ||
defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \ |