bd1324398d
* Mon Dec 25 2017 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.10.0-1 - Update to 5.10.0 - Update version numbers of bundled stuff - Drop support for Fedora < 26 (in particular, WEBENGINE_CONFIG F25 workarounds) - Drop qt57 patch, support for Qt 5.7 was completely dropped upstream - Update get_free_ffmpeg_source_files.py from Fedora Chromium packaging - clean_qtwebengine.sh: Update for the changed tarball naming scheme - Use QMAKE_EXTRA_ARGS instead of the removed WEBENGINE_CONFIG - Rebase linux-pri, system-nspr-prtime, system-icu-utf, no-sse2, skia-neon and gn-bootstrap-verbose patches - In particular, restore the removed V8 x87 backend in the no-sse2 patch - Re-backport no-aspirational-scripts from upstream (undo 5.9 backport)
87 lines
4.3 KiB
Diff
87 lines
4.3 KiB
Diff
diff -ur qtwebengine-everywhere-src-5.10.0/src/3rdparty/chromium/components/url_formatter/idn_spoof_checker.cc qtwebengine-everywhere-src-5.10.0-no-aspirational-scripts/src/3rdparty/chromium/components/url_formatter/idn_spoof_checker.cc
|
|
--- qtwebengine-everywhere-src-5.10.0/src/3rdparty/chromium/components/url_formatter/idn_spoof_checker.cc 2017-11-28 14:06:53.000000000 +0100
|
|
+++ qtwebengine-everywhere-src-5.10.0-no-aspirational-scripts/src/3rdparty/chromium/components/url_formatter/idn_spoof_checker.cc 2017-12-25 19:38:17.621271052 +0100
|
|
@@ -331,39 +331,6 @@
|
|
const icu::UnicodeSet* inclusion_set = uspoof_getInclusionUnicodeSet(status);
|
|
allowed_set.addAll(*inclusion_set);
|
|
|
|
-// Five aspirational scripts are taken from UTR 31 Table 6 at
|
|
-// http://www.unicode.org/reports/tr31/#Aspirational_Use_Scripts .
|
|
-// Not all the characters of aspirational scripts are suitable for
|
|
-// identifiers. Therefore, only characters belonging to
|
|
-// [:Identifier_Type=Aspirational:] (listed in 'Status/Type=Aspirational'
|
|
-// section at
|
|
-// http://www.unicode.org/Public/security/latest/xidmodifications.txt) are
|
|
-// are added to the allowed set. The list has to be updated when a new
|
|
-// version of Unicode is released. The current version is 9.0.0 and ICU 60
|
|
-// will have Unicode 10.0 data.
|
|
-#if U_ICU_VERSION_MAJOR_NUM < 60
|
|
- const icu::UnicodeSet aspirational_scripts(
|
|
- icu::UnicodeString(
|
|
- // Unified Canadian Syllabics
|
|
- "[\\u1401-\\u166C\\u166F-\\u167F"
|
|
- // Mongolian
|
|
- "\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA"
|
|
- // Unified Canadian Syllabics
|
|
- "\\u18B0-\\u18F5"
|
|
- // Tifinagh
|
|
- "\\u2D30-\\u2D67\\u2D7F"
|
|
- // Yi
|
|
- "\\uA000-\\uA48C"
|
|
- // Miao
|
|
- "\\U00016F00-\\U00016F44\\U00016F50-\\U00016F7E"
|
|
- "\\U00016F8F-\\U00016F9F]",
|
|
- -1, US_INV),
|
|
- *status);
|
|
- allowed_set.addAll(aspirational_scripts);
|
|
-#else
|
|
-#error "Update aspirational_scripts per Unicode 10.0"
|
|
-#endif
|
|
-
|
|
// The sections below refer to Mozilla's IDN blacklist:
|
|
// http://kb.mozillazine.org/Network.IDN.blacklist_chars
|
|
//
|
|
diff -ur qtwebengine-everywhere-src-5.10.0/src/3rdparty/chromium/components/url_formatter/url_formatter_unittest.cc qtwebengine-everywhere-src-5.10.0-no-aspirational-scripts/src/3rdparty/chromium/components/url_formatter/url_formatter_unittest.cc
|
|
--- qtwebengine-everywhere-src-5.10.0/src/3rdparty/chromium/components/url_formatter/url_formatter_unittest.cc 2017-11-28 14:06:53.000000000 +0100
|
|
+++ qtwebengine-everywhere-src-5.10.0-no-aspirational-scripts/src/3rdparty/chromium/components/url_formatter/url_formatter_unittest.cc 2017-12-25 19:38:17.621271052 +0100
|
|
@@ -132,22 +132,24 @@
|
|
{"xn---123-kbjl2j0bl2k.in", L"\x0939\x093f\x0928\x094d\x0926\x0940-123.in",
|
|
true},
|
|
|
|
- // 5 Aspirational scripts
|
|
+ // What used to be 5 Aspirational scripts in the earlier versions of UAX 31.
|
|
+ // UAX 31 does not define aspirational scripts any more.
|
|
+ // See http://www.unicode.org/reports/tr31/#Aspirational_Use_Scripts .
|
|
// Unifieid Canadian Syllabary
|
|
- {"xn--dfe0tte.ca", L"\x1456\x14c2\x14ef.ca", true},
|
|
+ {"xn--dfe0tte.ca", L"\x1456\x14c2\x14ef.ca", false},
|
|
// Tifinagh
|
|
{"xn--4ljxa2bb4a6bxb.ma", L"\x2d5c\x2d49\x2d3c\x2d49\x2d4f\x2d30\x2d56.ma",
|
|
- true},
|
|
+ false},
|
|
// Tifinagh with a disallowed character(U+2D6F)
|
|
{"xn--hmjzaby5d5f.ma", L"\x2d5c\x2d49\x2d3c\x2d6f\x2d49\x2d4f.ma", false},
|
|
// Yi
|
|
- {"xn--4o7a6e1x64c.cn", L"\xa188\xa320\xa071\xa0b7.cn", true},
|
|
+ {"xn--4o7a6e1x64c.cn", L"\xa188\xa320\xa071\xa0b7.cn", false},
|
|
// Mongolian - 'ordu' (place, camp)
|
|
- {"xn--56ec8bp.cn", L"\x1823\x1837\x1833\x1824.cn", true},
|
|
+ {"xn--56ec8bp.cn", L"\x1823\x1837\x1833\x1824.cn", false},
|
|
// Mongolian with a disallowed character
|
|
{"xn--95e5de3ds.cn", L"\x1823\x1837\x1804\x1833\x1824.cn", false},
|
|
// Miao/Pollad
|
|
- {"xn--2u0fpf0a.cn", L"\U00016f04\U00016f62\U00016f59.cn", true},
|
|
+ {"xn--2u0fpf0a.cn", L"\U00016f04\U00016f62\U00016f59.cn", false},
|
|
|
|
// Script mixing tests
|
|
// The following script combinations are allowed.
|
|
@@ -606,7 +608,7 @@
|
|
L"a\x144a"
|
|
L"b.com",
|
|
false},
|
|
- {"xn--xcec9s.com", L"\x1401\x144a\x1402.com", true},
|
|
+ {"xn--xcec9s.com", L"\x1401\x144a\x1402.com", false},
|
|
|
|
// Custom dangerous patterns
|
|
// Two Katakana-Hiragana combining mark in a row
|