Commit Graph
41 Commits
Author SHA1 Message Date
Jonathan Kew 69a3ba3223 Bug 1402271 - patch 2 - Regenerate Unicode data tables with the stripped-down tool. r=m_kato 2017-09-25 09:18:14 +01:00
Jonathan Kew 3bd67a3505 Bug 1376834 - Update data tables to Unicode 10.0 release. r=m_kato 2017-06-30 14:16:02 -07:00
Jonathan Kew 1bae756abf Bug 1353000 - Preparatory patch, explicitly make the Script enum a 16-bit type, so we can add a field to gfxShapedWord without making it bigger. r=jrmuizel 2017-04-12 14:55:10 +01:00
Jonathan Kew df9aa9b910 Bug 1288961 - Update UTR-50 data to version 16, for Unicode 9 support. r=m_kato 2016-11-16 10:04:37 +00:00
Jonathan Kew a91ad773c1 Bug 1281448 - part 1+2 - Update character property table generator script for Unicode 9 (in particular, security/xidmodifications.txt is replaced by security/IdentifierStatus.txt and IdentifierType.txt), and adjust APIs to fit the new identifier-type property model; update the generated data files. r=m_kato 2016-11-14 09:23:49 +00:00
Sebastian Hengst 7b2b9b33ae Backed out changeset 5d9a785a37c4 (bug 1281448) for Android bustage. r=backout 2016-11-14 10:45:52 +01:00
Jonathan Kew 8c6fdf4408 Bug 1281448 - part 1+2 - Update character property table generator script for Unicode 9 (in particular, security/xidmodifications.txt is replaced by security/IdentifierStatus.txt and IdentifierType.txt), and adjust APIs to fit the new identifier-type property model; update the generated data files. r=m_kato 2016-11-14 09:23:49 +00:00
Kan-Ru Chen 9d5d4a051a Bug 1081858 - Part 2. Add EastAsianWidthFWH data from Unicode's EastAsianWidth.txt to nsUnicodeProperties for builds without ICU. r=jfkthame
MozReview-Commit-ID: EOtAPx5ZY1U
2016-10-27 14:52:21 +08:00
Sebastian Hengst 4219a72191 Backed out changeset 1d3177608997 (bug 1081858) 2016-10-26 18:49:07 +02:00
Kan-Ru Chen 2fd25cb09a Bug 1081858 - Part 2. Add EastAsianWidthFWH data from Unicode's EastAsianWidth.txt to nsUnicodeProperties for builds without ICU. r=jfkthame
MozReview-Commit-ID: EOtAPx5ZY1U
2016-10-26 19:15:27 +08:00
Jonathan Kew 1e3af032f6 Bug 1312440 - Remove (unused) paired bracket data from our Unicode property tables when ICU is available. r=emk 2016-10-26 09:40:20 +01:00
Phil Ringnalda 3e7437372f Backed out 5 changesets (bug 1081858) for Android line-breaking reftest failures
Backed out changeset ac6306117c61 (bug 1081858)
Backed out changeset d9e96e907d0a (bug 1081858)
Backed out changeset 0dd35a1f895f (bug 1081858)
Backed out changeset ba420f595902 (bug 1081858)
Backed out changeset 44f9c7e8d124 (bug 1081858)

MozReview-Commit-ID: LV4YOozX3Ol
2016-10-25 20:38:20 -07:00
Kan-Ru Chen 48c0c82ff2 Bug 1081858 - Part 2. Add EastAsianWidthFWH data from Unicode's EastAsianWidth.txt to nsUnicodeProperties for builds without ICU. r=jfkthame
MozReview-Commit-ID: EOtAPx5ZY1U
2016-10-26 08:37:03 +08:00
Jonathan Kew fb7bbddd76 Bug 1305700 - pt 1 & 2 - Exclude case mappings from nsUnicodePropertyData.cpp, and use ICU case mappings instead of our own table when building with ENABLE_INTL_API. r=m_kato 2016-09-28 10:47:05 +01:00
Jonathan Kew 849e8dff02 Bug 1265631 - patch 1 - Add line-break data from Unicode's LineBreak.txt to nsUnicodeProperties for builds without ICU. r=masayuki 2016-04-26 10:32:15 +01:00
Xidorn Quan f4b949c3e6 Bug 1097499 part 7 - Add reverse function of GetFullWidth. r=emk
MozReview-Commit-ID: HRDoZPzr1GO
2016-04-22 09:18:41 +10:00
Jonathan Kew cbb738f072 Bug 1266391 - Introduce an enum class mozilla::unicode::Script, and use this instead of bare integers to specify script codes for better type checking. r=masayuki 2016-04-21 18:58:59 +01:00
Jonathan Kew fc8727a4e4 Bug 724538 - Regenerate Unicode property data with updated script. r=emk 2016-01-13 15:45:22 +00:00
Ted Clancy be306f8be0 Bug 1157727 - Part 1: Add paired bracket type property to our character data (patch originally by :tedders1, updated by :jfkthame). r=jfkthame 2015-10-06 01:26:23 -07:00
Carsten "Tomcat" Book 786418daae Backed out changeset fb72e312f137 (bug 1157727) 2015-11-25 15:37:03 +01:00
Ted Clancy 1be466534e Bug 1157727 - Part 1: Add paired bracket type property to our character data (patch originally by :tedders1, updated by :jfkthame). r=jfkthame 2015-10-06 01:26:23 -07:00
Makoto Kato a692911554 Bug 1170072 - Part 2. Use ICU instead of GetCharProps1 and its supporting data if ICU is turned on. r=jfkthame 2015-09-07 11:56:13 +09:00
Jonathan Kew 18d6a3e85b Bug 1201533 - Remove the GetEastAsianWidth API and its supporting character-property data. r=smontagu 2015-09-06 19:39:49 +01:00
Simon Montagu cd7bd6fcaa Bug 1183209 patch 3: update generated data files to Unicode 8, and adapt internal XIDMOD types to the new types in Unicode's xidmodifications.txt, r=jfkthame 2015-07-15 05:55:24 -07:00
Ted Clancy 22d37a15d1 Bug 1151908 - Updating our character property data with new Bidi info from Unicode 6.3. r=smontagu 2015-04-17 14:19:39 -04:00
Jonathan Kew 6b165b6579 Bug 1071478 - Update unicode data tables for new release of UTR50 (revision 13). r=smontagu 2014-09-23 11:05:41 +01:00
Jonathan Kew dd6e0be710 bug 1057330 pt 2 - regenerate Unicode character property tables with updated tool. rs=smontagu 2014-08-28 16:00:03 +01:00
Jonathan Kew e793d8cb6d bug 1057548 patch 2 - regenerate unicode data tables for version 7.0. r=smontagu 2014-08-24 15:23:24 +01:00
Jonathan Kew 35d3dd78b5 bug 1002425 - add a Gecko script code for "mathematical notation". r=smontagu 2014-04-28 17:10:36 +01:00
Simon Montagu dd7d56cfa7 Update Unicode data to version 6.3. Bug 922550, r=jfkthame 2013-10-02 12:09:26 +03:00
Ehsan Akhgari 6d396d8bcb Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Simon Montagu 17fe8cb0f6 Exclude U+30FB KATAKANA MIDDLE DOT from the non-recommended characters that force IDN labels to be displayed as punycode. Bug 857490, r=jfkthame 2013-04-09 05:47:03 -07:00
Jonathan Kew 2997b59946 bug 774560 pt 1 - add Unicode full-width character mapping data. r=smontagu 2012-11-09 09:43:48 +00:00
Jonathan Kew 471d8cb2f1 bug 795025 part 1 - update Unicode character property data to Unicode 6.2. r=smontagu 2012-10-09 10:24:53 +01:00
Ehsan Akhgari 243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Jonathan Kew a8e1115e85 bug 763703 - optimize Unicode property lookup and gfxScriptItemizer::Next. r=smontagu 2012-06-20 20:58:18 +01:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jonathan Kew ebf1e6695b bug 738101 - add support for more Unicode properties. r=smontagu 2012-04-23 07:20:11 -07:00
Jonathan Kew 0c4d12aa75 bug 747834 - fix genUnicodePropertyData tool following harfbuzz header changes. r=smontagu 2012-04-24 18:52:09 +01:00
Jonathan Kew c9ad3474ee bug 745780 - update harfbuzz code to upstream commit 3cde23664fbbe9cd2ac1b8fd5eb2ea288309cc9c (2012-04-17). r=jdaggett a=mfinkle 2012-04-21 22:24:39 +01:00
Jonathan Kew 2c3c84144b bug 210501 - implement case-folding support (ToUpper/Lower/Titlecase) for non-BMP characters (Unicode plane 1 and above). r=smontagu 2012-03-14 06:45:00 +00:00