Add missing docs for UCD additions at 5.15

Also remove two stray commas pointed out in code-review and some
others noticed on checking for similar.
This amends commit c3eb521a0f10112df6b61d2592351c4eef2e1f9b.

Change-Id: If20c5146b740defe8d25ff61d399031b5c66ded1
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
Edward Welbourne 2019-11-26 15:52:17 +01:00
parent fc5dc8c16a
commit 1a1718b342
5 changed files with 22 additions and 5 deletions

View File

@ -189,6 +189,9 @@ QT_BEGIN_NAMESPACE
\value Unicode_8_0 Version 8.0 Since Qt 5.6
\value Unicode_9_0 Version 9.0 Since Qt 5.11
\value Unicode_10_0 Version 10.0 Since Qt 5.11
\value Unicode_11_0 Version 11.0 Since Qt 5.15
\value Unicode_12_0 Version 12.0 Since Qt 5.15
\value Unicode_12_1 Version 12.1 Since Qt 5.15
\value Unicode_Unassigned The value is not assigned to any character
in version 8.0 of Unicode.
@ -317,9 +320,11 @@ QT_BEGIN_NAMESPACE
\value Script_Cyrillic
\value Script_Deseret
\value Script_Devanagari
\value Script_Dogra Since Qt 5.15
\value Script_Duployan Since Qt 5.5
\value Script_EgyptianHieroglyphs
\value Script_Elbasan Since Qt 5.5
\value Script_Elymaic Since Qt 5.15
\value Script_Ethiopic
\value Script_Georgian
\value Script_Glagolitic
@ -327,9 +332,11 @@ QT_BEGIN_NAMESPACE
\value Script_Grantha Since Qt 5.5
\value Script_Greek
\value Script_Gujarati
\value Script_GunjalaGondi Since Qt 5.15
\value Script_Gurmukhi
\value Script_Han
\value Script_Hangul
\value Script_HanifiRohingya Since Qt 5.15
\value Script_Hanunoo
\value Script_Hatran Since Qt 5.6
\value Script_Hebrew
@ -356,11 +363,13 @@ QT_BEGIN_NAMESPACE
\value Script_Lycian
\value Script_Lydian
\value Script_Mahajani Since Qt 5.5
\value Script_Makasar Since Qt 5.15
\value Script_Malayalam
\value Script_Mandaic
\value Script_Manichaean Since Qt 5.5
\value Script_Marchen Since Qt 5.11
\value Script_MasaramGondi Since Qt 5.11
\value Script_Medefaidrin Since Qt 5.15
\value Script_MeeteiMayek
\value Script_MendeKikakui Since Qt 5.5
\value Script_MeroiticCursive
@ -372,10 +381,12 @@ QT_BEGIN_NAMESPACE
\value Script_Multani Since Qt 5.6
\value Script_Myanmar
\value Script_Nabataean Since Qt 5.5
\value Script_Nandinagari Since Qt 5.15
\value Script_Newa Since Qt 5.11
\value Script_NewTaiLue
\value Script_Nko
\value Script_Nushu Since Qt 5.11
\value Script_NyiakengPuachueHmong Since Qt 5.15
\value Script_Ogham
\value Script_OlChiki
\value Script_OldHungarian Since Qt 5.6
@ -383,6 +394,7 @@ QT_BEGIN_NAMESPACE
\value Script_OldNorthArabian Since Qt 5.5
\value Script_OldPermic Since Qt 5.5
\value Script_OldPersian
\value Script_OldSogdian Since Qt 5.15
\value Script_OldSouthArabian
\value Script_OldTurkic
\value Script_Oriya
@ -403,6 +415,7 @@ QT_BEGIN_NAMESPACE
\value Script_Siddham Since Qt 5.5
\value Script_SignWriting Since Qt 5.6
\value Script_Sinhala
\value Script_Sogdian Since Qt 5.15
\value Script_SoraSompeng
\value Script_Soyombo Since Qt 5.11
\value Script_Sundaneseo
@ -424,6 +437,7 @@ QT_BEGIN_NAMESPACE
\value Script_Tirhuta Since Qt 5.5
\value Script_Ugaritic
\value Script_Vai
\value Script_Wancho Since Qt 5.15
\value Script_WarangCiti Since Qt 5.5
\value Script_Yi
\value Script_ZanabazarSquare Since Qt 5.11

View File

@ -437,7 +437,7 @@ public:
Unicode_10_0,
Unicode_11_0,
Unicode_12_0,
Unicode_12_1,
Unicode_12_1
};
// ****** WHEN ADDING FUNCTIONS, CONSIDER ADDING TO QCharRef TOO

View File

@ -122,7 +122,7 @@ enum GraphemeBreakClass {
Graphemebreak_E_Modifier,
Graphemebreak_Glue_After_Zwj,
Graphemebreak_E_Base_GAZ,
NumGraphemeBreakClasses,
NumGraphemeBreakClasses
};
enum WordBreakClass {
@ -149,7 +149,7 @@ enum WordBreakClass {
WordBreak_Glue_After_Zwj,
WordBreak_E_Base_GAZ,
WordBreak_WSegSpace,
NumWordBreakClasses,
NumWordBreakClasses
};
enum SentenceBreakClass {

View File

@ -37,6 +37,9 @@ To update:
the same time and update text/qt_attribution.json to match; use the
UCD Revision number, rather than the Unicode standard number, as the
Version, for all that qunicodetables.cpp uses the latter.
* If there are enum additions in qchar.h (public API), be sure to also
update the documentation in qchar.cpp for each affected enum,
respecting the existing ordering.
* If you don't normally build in the source tree, remember to delete
qtbase/.qmake.stash while you're cleaning up.

View File

@ -294,7 +294,7 @@ static const char *grapheme_break_class_string =
" Graphemebreak_E_Modifier,\n"
" Graphemebreak_Glue_After_Zwj,\n"
" Graphemebreak_E_Base_GAZ,\n"
" NumGraphemeBreakClasses,\n"
" NumGraphemeBreakClasses\n"
"};\n\n";
enum GraphemeBreakClass {
@ -381,7 +381,7 @@ static const char *word_break_class_string =
" WordBreak_Glue_After_Zwj,\n"
" WordBreak_E_Base_GAZ,\n"
" WordBreak_WSegSpace,\n"
" NumWordBreakClasses,\n"
" NumWordBreakClasses\n"
"};\n\n";
enum WordBreakClass {