Details
-
Task
-
Resolution: Done
-
P2: Important
-
5.15.0, 6.0.0
-
None
-
-
34
-
19a48b8545eaf28b3810959d4c173af517531bf0
-
Qt6_Foundation_Sprint 38, Qt6_Foundation_Sprint 39, Qt6_Foundation_Sprint 40, Foundation_Sprint 41 (Team 1)
Description
In qtbase/src/corelib/io/qurlidna.cpp I find a table and several functions that hard-code Unicode code-points and transformations that should surely be generated from the Unicode character database (UCD), which we incorporate in qtbase/src/corelib/text/qunicodetables.cpp and its private header; this data is generated by a program in qtbase/util/unicode/, which may need an update to include (up to date) IDNA data tables with the ones we already get from the UCD.
The hard-coded data in QUrl's IDNA code is not updated as part of our UCD updates; I infer that it is probably out of date. It includes bidirectional text query functions and a case-folding data table. These are surely relevant elsewhere and likely (aside from probably being out of date) duplicate data in corelib/text/'s unicode tables.
Attachments
Issue Links
- is replaced by
-
QTBUG-85371 Update QUrl to use UTS #46
-
- Closed
-
For Gerrit Dashboard: QTBUG-85323 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
306264,5 | Add a note to qurlidna.cpp about IDNA's Unicode version being frozen | dev | qt/qtbase | Status: MERGED | +2 | 0 |
362075,1 | unicode: Add HangulSyllableType.txt | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
362084,2 | unicode: Parse Hangul syllable type data | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
362094,1 | unicode: IDNA-something | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
362617,11 | unicode: Add IdnaMappingTable.txt | dev | qt/qtbase | Status: ABANDONED | +2 | 0 |
362876,22 | unicode: Generate tables for IDNA/UTS #46 | dev | qt/qtbase | Status: MERGED | +2 | 0 |
362877,21 | unicode: Regenerate Unicode tables | dev | qt/qtbase | Status: MERGED | +2 | 0 |
365038,8 | tst_qurlinternal: Remove nameprep and STD3 rules tests | dev | qt/qtbase | Status: MERGED | +2 | 0 |
365977,14 | unicode: More compact IDNA mapping tables implementation | dev | qt/qtbase | Status: MERGED | +2 | 0 |
365978,10 | unicode: Pack 2 QChar's into one entry for IDNA mapping | dev | qt/qtbase | Status: MERGED | +2 | 0 |
367606,1 | unicode: Use greedy algorithm to build superstring for IDNA mappings | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
367607,9 | unicode: Build IDNA map superstring greedily | dev | qt/qtbase | Status: MERGED | +2 | 0 |
368482,2 | unicode: Regenerate qunicodetables{.cpp,_p.h} | dev | qt/qtbase | Status: MERGED | +2 | 0 |