| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: Ia394609951597aa2e248883a317de2e74be83ff6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I3a1efa8889aafffbbe36d11888abddde9a3bf55b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes
clangcodeparser.cpp:1219:10: warning: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Werror,-Wstring-concatenation]
Change-Id: Ifc5cb20b0f7f99d3851809b06a00551aa493a1b1
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
(cherry picked from commit e218d53e4c8e986c5b25de86d668047d263648ca)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
temporary
std::reverse_iterator::operator*() returns by reference while
QKeyValueIterator::operator*() returns by value, so MSVC is correct
when it warns about returning the address of a local variable or
temporary in (*itStop).second:
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.30.30705\include\xutility(1582) : error C2220: the following warning is treated as an error
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.30.30705\include\xutility(1582) : warning C4172: returning address of local variable or temporary
Avoid this by just iterating backwards.
Amends 6ed8a22dd2756557954dc85052870c0894de06ba.
Change-Id: I01ce7cb151efa61e8702686b3a463790869df72c
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
(cherry picked from commit a9084297f629423c64d571d7f7286d3c0e239247)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
| |
Change-Id: I1b3f0d1b84f507e45728a00fa652d0db936cebca
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit bd8827cd95552372a5aca78a21210a46bddadc36)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I3a13e40e98203884c3de4b1ec414139945add54b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes warning
src\linguist\shared\proitems.cpp(116): warning C4267: '=': conversion from 'size_t' to 'uint', possible loss of data
Augments b34a39904c8bb03e
Change-Id: Ic5d32b64c6491b231066ad5147d9f76d922f92fc
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit a76a2e1dbb8410ccc2e916253363a8784b315090)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Icf39f3d6cf8b8844d60e4f6aa7bdd58352c30e4f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When compiling a master .qdocconf file either manually or
programmatically, it's possible to end up with empty lines or a trailing
newline in the file. In this case, QDoc fails with less-than-helpful
error message. Ignore empty lines.
Fixes: QTBUG-99409
Done-with: Luca Di Sera <luca.disera@qt.io>
Change-Id: I5157b63bcdbcd65731615fc7bad388a2385d8cfb
Reviewed-by: Luca Di Sera <luca.disera@qt.io>
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
(cherry picked from commit 18d293ab75b0b081fc6e236b1549ab83e714ed7d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use QSortFilterProxyModel's sorting capabilities instead of sorting
the children when building the model. This avoids rebuilding the
entire model after changing a name and fixes a crash after changing
the name in the object inspector and then clicking on another item
instead of pressing Enter.
Fixes: QTBUG-99404
Change-Id: I5c13ccfef446ed8491327fcf2ff5c19531e6c102
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
(cherry picked from commit f764dc21cb298724a5d460d552a6cff96c995f36)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I388aaa12f37f919783f53fa46b31ab2ede4cf3a8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I059fcabfa68385f069590a74f210a84bc4fc7eb1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make sure you disconnect the signal, otherwise it will be triggered
when the child widget is destroyed, while the editor is already
half-destructed.
Fixes: QTBUG-99232
Change-Id: I5556b6cc200a58010cab8fa2458b5c3604cbc783
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit ff2685d5a07f43b9618cb508ff193e6554e08cc0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-90820
Change-Id: I5ad7541596d39cb089f9af03b8a194b968659910
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit b87c3573c48666ec1aba018422ab22284a6117b2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I39a0d46b3b4ff542a194475be67c08210db8edec
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ib6112dcb5ec1dc9545a385eda96ee60f9045d61b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I560aecdd4ab4e53618e62b6aad2bff005e6634f5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ib3776b6a31ce2aee3949a19c60cf282fe5b68030
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Binary compatibility files added.
Change-Id: I2949c246e8614a84a75a6f91463fca81abbf7533
Change-Id: I2949c246e8614a84a75a6f91463fca81abbf7533
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 9cd2095095843338970fb1d42c235b5da58126df)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A new resolve flag for families was added in
qtbase/97f73e957756753b09a778daf2ee8f0ddb97f746.
Check it when saving fonts.
Task-number: QTBUG-46322
Fixes: QTBUG-98916
Change-Id: Ibf232330fe46a7b3b14fee88ed697540990a2fdd
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
(cherry picked from commit 743955d89426fd42a728b086b28534e1ec701269)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
No need for hexadecimal there.
Change-Id: I5b9380f387bdedbf99933e749b58ebee4857558a
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
(cherry picked from commit 7eb1261f8091b30cbc1c71fe3704811febb52312)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I6cbdcdcfeb1bd758291c4f26205661462962e3f6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I2fdea60c1dd28c9384f7760cb9c6b2c682daefd8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I3136beb6612d60547dcfd9345c3d16b0c9580861
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Classes in llvm derive from std::iterator. This derivation is
deprecated and produces a wall of warnings when building with MSVC. Add
the define that silences this warning.
Change-Id: I2acaf1934d26af0627afcc863f07f09ab1a844c0
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
(cherry picked from commit cc67e55efe705d4cdb7cf5f5f78c1ea71f52d613)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Not setting this define will result in errors like "error: constexpr
variable '.' must be initialized by a constant expression" when clang
is used with Windows SDK includes.
Fixes: QTBUG-97380
Change-Id: If3e76065aa7f41ebe2c5fe122c378ef45ecce5bc
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 286ea6d8fccedd7306f1bb602af673a50e7e3d68)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I64825080a096c465ec0b05dbff3ba5d1c340818b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
It is generally a bad move to set something to null before attempting
to delete it.
Change-Id: Icb08f281508583342bb6bd07cc01080748d0052a
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit f79bb22bf8cf383b91e229ec6eb59f547d7b8a0d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some of the created nodes appear multiple times in QDoc's node tree.
This caused issues with address sanitizer during deletion of the
tree: Nodes were checked for their parent() node, and the parent
node might have been deleted already.
Implement a cleanup function that removes all children that do not
report *this* node as their parent from the list of children -
after this, the tree can be safely deleted by destroying the root
node.
Fix memory leak issues; a couple of potential leaks in
ClangCodeParser caused by not freeing resources in all cases,
and DocBookGenerator leaking a QFile instance per each generated
file.
Fixes: QTBUG-97627
Change-Id: If279b55ee24dc1b7291951ef11b7a26276df167c
Reviewed-by: Luca Di Sera <luca.disera@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 02057fc029e3d2cc1808fe712fca84ccfc074f99)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
This fixes some already broken connection due to removal of some
signals in Qt 6.
Change-Id: I7dbe44c3d9307539530cd74c1f1658e2a58954c7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 6ab73adf460794c6b218da4bfd67e342fe83df8b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ib8e72e1fa26d9497759facb266983944a8f7bc6e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I77a23729c04f661b36a02422e28de3945f624bc6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QDoc attempts to style links to C++ functions in a specific way,
by moving function arguments and the enclosing parentheses
out of the link. This was done in a way that had unintended
consequences for all link texts that included an opening
parenthesis, whether the link target was a function or not.
As a fix;
* Increase the specificity of the regular expression
used for identifying a function-like link text.
* Store the Node we're linking to in generator, so
we can match the regular expression only to function
targets, not all links. This is also a performance
improvement.
* DocParser: Stop generating AutoLink atoms inside an
open (explicit) link. This was useless as it split
the input into multiple nested link->autolink atoms,
and the nested ones are discarded/treated as strings
in the generator anyway.
* Refactor related generator functions and remove
obsolete debugging code.
Task-number: QTBUG-97949
Change-Id: I89429a73f13aa9995a79dfd24a8e473c620d6bc6
Done-with: Luca Di Sera <luca.disera@qt.io>
Reviewed-by: Luca Di Sera <luca.disera@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit b3e367def6ff0f79441507e839c6cc874d4a25fd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I4930439246cd0bfdf1763f2d3f31c523b39f7cd1
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|
|
|
|
| |
Change-Id: I96e4f709a3f1af99956d419be3a2337e5210fa7e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For many topic commands, QDoc generates a file that represents a page in
the documentation.
QDoc generally generates a filename based on the arguments of the
command and further normalizes the name itself.
This means that the file that is generated might not be named as the
argument in the documentation file itself.
This might be surprising sometimes, especially for commands like
`\page`, where the name is completely inserted by the user and is not
tied to something else in the code.
To try to avoid those surprises and to make it easier for a user to
understand which file will contain the contents that they produced, some
documentation about the nomenclature that QDoc uses for files generated
by the commands was added to the topic commands section of QDoc's
documentation.
Task-number: QTBUG-97174
Change-Id: Iaa6c0c846b88c0d244c0221229ca2b739ab7dbdd
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 26278e465ad57a0eb0c16ae183bb3efdcb5085f0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Incorporates 4931b7aa30f256c20573d283561aa432fecf8f38.
Change-Id: I249f42bc4db94f3b09f4d872a61c1bf2d12e9af3
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
(cherry picked from commit c9dc5e7f807a1de344f3569c0db747364c413300)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ic926ce32a5b7dd33c3b3e0d29021ec4aad2917da
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: I92612f4777bda5e769c383e7032a1d6ecbf76d2c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
| |
Change-Id: Ifae66b979f0fdee581cf54bd8240853573f5a3be
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
It should fix the issue when compiling sources with conan.
Task-number: QTBUG-97765
Change-Id: I376cdb1693336352094d07664c5123b83eaf1218
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
(cherry picked from commit b091220adef4eb37011f8f0613b0adbff7ba2689)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Process::waitForFinished() has a default timeout of
30 seconds, but qmlimportscanner can in some cases
run for longer than that.
Fixes: QTBUG-97104
Change-Id: Ie40d052ad6a4dc8643860163eb9a0c8f5859c3ae
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit 2e1cca4bb6051067c031c4b9b248b99acd63369a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Fixes: QTBUG-97517
Change-Id: Ia9fa55e99483dec05fc7b774dcaddc51e9e36a08
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
(cherry picked from commit a0fda27fb82c5d4e7f9bc70851846bb4775a7a83)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Fixes: QTBUG-97189
Change-Id: I7bce6f9d1fe7f42c254c41705f483e6ad7758e0d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
(cherry picked from commit a8929aea01fede4cee9762ebfc1fce5c149261e9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Fixes: QTBUG-97125
Fixes: QTBUG-97516
Change-Id: I3ccc096bf3c176389724528a09a3b95ededa4aa7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
(cherry picked from commit 661383e4df5a086e565a6abccffac3140e438745)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement change d5348b9302aacc216090a35b6f049d9505983efa
for Python.
Rewrite the parser to use a QByteArray instead of a
const char buffer for yyIdent, which allows for storing
the tokens in a hash, greatly simplifying the parser code.
Retrieve the tr()-functions from trFunctionAliasManager.
Remove the unused variable yyParsingUtf8.
Fixes: PYSIDE-1687
Change-Id: I5ed8e05e1c0e39db78f8b370e94d9d1defda9efe
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit d7606bf73ce8447fa817a7f42e76bf0dc5416a0f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Fixes: QTBUG-97562
Change-Id: I9e2b2b3979f9c0ca22f23a1a5fef5296b2a34a00
Done-with: Luca Di Sera <luca.disera@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Luca Di Sera <luca.disera@qt.io>
(cherry picked from commit 0099481761e8c52236aaa3f71d10dad34391e86f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
And add Atom types for Warning instead of simply hard-coding a bold
warning note.
Fix a compiler warning for tst_generatedoutput in passing.
Fixes: QTBUG-97448
Change-Id: I1fe691ffaadc549b17c8628817fe761d3be0fad7
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 8687e163757df00c1e64c15ad63680ed5c2f6937)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Both arguments did not properly set the passed values.
Fixes: QTBUG-97389
Change-Id: I686ac6d100dd9cce0b1214568ef01144677e5366
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 23b348e9e9583c8face308e58fcd2ac14f905b4d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The documentation for the namespace can be (and often is) located in
another module. As -no-link-errors is set when testing documentation
builds of individual module without loading the .index files of any
dependencies, skip these warnings.
Document the warning.
Fixes: QTBUG-97453
Change-Id: Ie899f29fde20082a5880a6c9d475db1a88b70085
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit f701a03e1f2362b020b7a962187a0fe73632f17f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|