| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Task-number: QTBUG-78936
Change-Id: Ia8635aa1b2d2ce97e5c1390bcdd7a5c920d87e83
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The WebXMLGenerator did not handle atoms of type AnnotatedList. Adding
this enables listing of grouped pages with the \annotatedlist command.
Similarly, empty output page was generated for the \group page itself.
This was because QDocIndexFiles::generateIndexSections() only handled
groups when processing the root node, which we must skip in this
generator.
Add explicit handling for group nodes, enabling us to receive
callbacks from QDocIndexFiles to add content for these pages.
Task-number: PYSIDE-1088
Change-Id: Id72d589a51fc7aae21ad5cdbb3c1dfa78d4c23ae
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since QDoc no longer stores example files as nodes in its tree, the
WebXMLGenerator failed to generate output for those files.
Fix this by generating those pages explicitly as needed, overriding
functions from the Generator base class.
Prevent QDocIndexFiles from writing nested <page> elements when
WebXMLGenerator is in use, as that does not work as expected with
shiboken2.
Fixes: PYSIDE-1088
Change-Id: I01c2af2391726f448271fdb810ffc3da923caca5
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
| |
That is, Q_PROPERTY types for custom types that have been declared
with Q_DECLARE_METATYPE().
Fixes: QTBUG-17816
Change-Id: I48c33af13d85b877596caca4fbd1103bf383d6e8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The \relates command sets a node as a related non-member of another
node, and sets that node as the new parent. However, the old parent
still holds a pointer to the newly-adopted node; this is needed for
searching. Some locations in the code did not handle the
possibility of parent's children reporting a different node as
their parent.
Skipping these nodes when traversing the node tree eliminates
duplicate entries from .qhp files. These duplicates are however
needed in the .index files for linking to work, as links may
reference both the global namespace and the scope the node
relates to.
Remove these duplicates from .qhp files, and omit parent names
when generating 'id' attributes for related non-members. This
reverts the .qhp content to what it was in Qt 5.12.
Parents of related members must be skipped when resolving the full
name of the node, otherwise searching for the name is likely to
fail.
Non-members related to a header file did not receive a valid
location ('href').
Task-number: QTBUG-78474
Change-Id: Ie126219e8101beaa051f2f4a1a9f93c731fc8168
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The fact that a related non-member has a parent-child relationship
with the node it relates to is simply an implementation detail in
QDoc - it should not be visible in the generated output.
The same applies for proxy nodes - i.e. aggregates that hold
children documented in another module.
Fixes: QTBUG-77960
Change-Id: I8d83ee7022d5f15af720cbd65c138be0469d39a0
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This sneaky regression happened as a result of rearranging the
inheritance tree of Node-derived classes.
HtmlGenerator::linkForNode() intends to add #anchor to a link if
it's associated with a Node that does *not* generate an .html
page of its own. It did this by checking whether a page is an
Aggregate. However, since the node tree refactoring, TextPageNode
instances are not Aggregates but do generate .html pages. This
caused excess '#' to be added to all links pointing to a \page.
Luckily, we have Node::isPageNode() which is designed for this
purpose - it tells whether a node has an .html file associated
with it.
Fixes: QTBUG-78040
Change-Id: Ie847c69c4df79075e950aea1ea30c0dcea4f2e4b
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|\ |
|
| |\
|/ /
| |
| | |
Change-Id: I0015980f763599ca60f28dd3408531d2a532cd6a
|
| |\ |
|
| | |\
| |/ /
| | |
| | | |
Change-Id: Iee0b05ae295b1337bebbdc3c457795dfc5b56ced
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
+ b22049ea14b62a2a743fd5fbd23563c566ef528a qdoc: Add id attribute for all HTML headings
+ c7f96f5301c2e60d1c5ef1e945e70e921afc71ce Close the last SELECT query with pending results
+ 0d2a9408ed2a5c664330c5742c9afb610a6c7348 lupdate: Improve documentation of -recursive, -no-recursive
+ fcb96af0215a9ae070face3997cdf84dafc057e5 distancefieldgenerator: Fix cmap error for some fonts
+ 8e7db0dd1cdc63c962359b37f882643dd3ed0e1a distancefieldgenerator: Avoid exceeding max texture size
+ d7e346b58260b24e02c64f82b2900bfba5951330 distancefieldgenerator: Remove unused variable
+ a05eb132416fcce8eb6a9fb240d0867796ed9deb distancefieldgenerator: Fix crash with multiple textures
+ 73ecd39debe850c11293fcf175c1e2b637edc5f3 distancefieldgenerator: Fix failure reading CMAP for some fonts
+ 2ecbaa7c29de2350486c6e83375ba8c83fee6cda Qt Linguist: Document CMake macros
+ e42dd0a13ebf37f7402a4cf09a6fb62b8c740c76 qdoc: Avoid duplicating version strings in HTML <title> element
+ 86f264b491fced5efd37127ac1a31880fe909f5c Bump version
+ a9790627873d17f91f29c9bd8be0fb609ec29f03 CMake: Ensure unique lst file name in qt5_create_translation
+ a690022b7e56b2e36a95ef22b854af4c82c5fdc8 Qt Designer: Enable editing of current dates
+ 40a7f2c6469e1702e791c66414051fed385a7930 distancefieldgenerator: Fix garbled text with large fonts on little endian
Change-Id: I9dcfc3d86ec7744aadeb24e4fc1b293503373d86
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
JS template literals do not really mix well with the Qt Linguist toochain,
at least if template arguments are used: This makes the source string
dynamic.
So far qsTr(``) calls were just ignored. Now lupdate prints a warning.
Task-number: QTBUG-76265
Change-Id: I935c382695a86ecd6fd076b31a68fa987be8fd84
Reviewed-by: Lucie Gerard <lucie.gerard@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Calling the QItemSelectionModel::select() function that takes a single
index is extremely slow, so for large ranges that span e.g. 20000 glyphs
in the font, such as some of the Chinese ideographic ranges can, the
application would appear to freeze for many seconds while updating
the selections.
Instead we use the overload that takes a QList.
Metrics: For a specific CJK font, this reduces the time taken when
selecting a single unicode range from 30 seconds to 70 ms.
[ChangeLog][Distance Field Generator] Improved performance when
selecting unicode ranges in large fonts.
Task-number: QTBUG-77499
Change-Id: I7ed9bec26b3cbc7e273d305f270a4a6690a81407
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|\ \ |
|
| |\ \
|/ / /
| | |
| | | |
Change-Id: If1fddd3261c81631773ac281d4f79e5e03b96bd7
|
| |\ \
| | | |
| | | |
| | | | |
Change-Id: Ief65f3477b5e5023f8a0c940898c9ddd63a67d51
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
Change-Id: I9390352a6e8a8802b99c5aac0bb39ae1d11399f7
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ic1048e96daf722cae95fd6625455e55eb016ce0e
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|\ \ \ \ \ |
|
| |\ \ \ \ \
|/ / / / / /
| | | | | _
| | | | | |
Change-Id: Id2b91b27583724cfd289f264724aa780edcccbde
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Update screenshot.
Fixes: QTBUG-65064
Change-Id: Ic8d1201e0f2947419836d633bc53997d009d646e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I31313d1d941a0fe37bd515b5e52b5a471e6167e5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Remove whitespace from the default parameters passed to Clang, and
add '-ferror-limit=0' to disable the error limit. This helps to
ensure we get a usable precompiled header on all platforms.
Another issue that manifested on Windows was the order in which
the (temporary) module header and the PCH was built - after writing
the module header, its QFile was closed at the end of the function
scope, and it received a timestamp later than the PCH. Some versions
of libclang see this (rightfully) as a problem.
Close the module header file handle before generating the PCH.
Task-number: QTBUG-75053
Change-Id: I61d066c40eddfdfdcc4c8cd847f6bec40652f9e0
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Move the code which applies changes to applyChanges() method.
Fixes: QTBUG-77399
Change-Id: Ic4436ce65e246c518a6fcdfe119df772a0585468
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|\ \ \ \ \ |
|
| |\ \ \ \ \
|/ / / / / /
| | _ / / /
| | / / / |
Change-Id: Ibd977a3a67db311434dc5062f23e4f7f270dbbb0
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When writing the texture index of each glyph into the font, we would
first do toBigEndian() on an int and then truncate this to quint16,
causing the texture index to be 0 for all glyphs on little endian
systems.
This would cause glyphs that were not located in the first texture to be
garbled in the output.
[ChangeLog][distancefieldgenerator] Fixed broken text rendering when generating
large glyph sets.
Task-number: QTBUG-77501
Change-Id: I7c2d31a6e57182f440d7f78bd6305109846ccb75
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
BC files added.
Change-Id: I5ff442b4d389bc03ed829b9a896194025fff114c
Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Plugins *for* Qt have a MetaData object with Keys, but application
plugins don't necessarily have that. Let's still make qtplugininfo
useful for those plugins as well.
Before:
$ qtplugininfo /usr/lib64/plugins/kcm_colors.so
qtplugininfo: /usr/lib64/plugins/kcm_colors.so: invalid metadata, user data is not a JSON object
After:
$ qtplugininfo /usr/lib64/plugins/kcm_colors.so
IID "org.kde.KPluginFactory" Qt 5.13.0 (release)
qtplugininfo: /usr/lib64/plugins/kcm_colors.so: invalid metadata, user data is not a JSON object
Change-Id: Icfe55e4d1749b5d31db1787883487f33987263b3
Reviewed-by: Volker Krause <volker.krause@kdab.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The "Inherited By" list was incomplete for QObject (and other classes)
because classes that inherited QObject from modules outside QtBase were
not being included. This update cleans up the maintenance of a class's
base class and derived class information so that the "Inherited By" list
is more correct.
Note that the "Inherited By" list can't be guaranteed to be complete
because, for example, classes in external modules might inherit QObject,
but if those external modules are not listed as dependencies of QtCore,
QObject won't know about those classes.
Task-number: QTBUG-77126
Change-Id: Ia0be361f9e909fee04e9680d4219c96812306712
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|\ \ \
| |_|/
|/| | |
|
| |\ \
|/ / /
| | _
| | |
Change-Id: I0e4b55a4dd87223f15a6933b45e5bcb8c41ee439
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Qt Designer uses QLocale::ShortFormat for its date editor, which has a
2 digit year. This causes the year to expanded to the wrong year
(99->1999) for the maximum value and other issues.
Fix by making the year 4 digits.
Change-Id: I6cb73c5027f340706f44cd5fe3bfec5e90facb46
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Idfaf778aa13cb461bb9e0db344033aa8147a51d3
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When qdoc finds \reimp in a function node comment, it searches the parent class
node's base classes to find the function node for the function that is overridden.
When it finds this node it prints the "Reimpliments: Yyy::Xxx()" line in the current
function node's documentation. This was not working correctly when the reimplemented
function was in a different module. The problem was that the fact that the function
in the base class had been documented was not recorded in the index file. This update
fixes that problem. Now every element that was documented is given the "documented"
attribute in the index file set to true.
Sometimes, \reimp is used to say that a function reimplements an access
function for a property in a base class. This update handles that case
as well. See QToolButton::sizeHint(), for example.
This change introduces a 6 new qdoc errors in QtBase about \reimp functions for
which a documented base class function was not found.
Change-Id: Idd444958c3118ade97642bf84781166e6ca8f036
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When qdoc finds \reimp in a function node comment, it searches the parent class
node's base classes to find the function node for the function that is overridden.
When it finds this node it prints the "Reimpliments: xxx()" line in the current
function node's documentation. But the search for the overridden function is meant
to be recursive. It was working recursively, but the search was ending prematurely
on a function node that had no documentation. In that case, the search should go
higher in the inheritance tree to find an overridden function that is documented.
This update adds the hasDoc() test to that search function to ensure that the final
matching function does have documentation.
Change-Id: Iaf6481f8b3aa98df0d0ef188912f1338316f079a
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Even if a class declaration appears in an _p.h file, a doc page must be
generated for it if hasDoc() returns true for the class node.
Task-number: QTBUG-77026
Change-Id: I6ca7d614383aadfb6ffcae1c8e021d2998de6a9d
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|\ \ |
|
| |\ \
|/ / /
| | _
| | |
Change-Id: I0b7c7105d6c6df81a1c955b7edf475b5f173c1d2
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
get_filename_component(... NAME_WE) will remove all suffixes, so files
like myapp.de.ts and myapp.en.ts will return the same base name.
To just remove the .ts, we could switch to NAME_WLE, but that was only
introduced in CMake 3.14 it seems.
But why bother at all? The lst file name doesn't have to be pretty...
Fixes: QTBUG-76723
Change-Id: I42e46310fe5e9cfb0a82f303ade700f3f0b1b600
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The algorithm for finding the class qualifier for the function name
in a \fn signature was incorrect in cases where the return type also
had a class qualifier. This resulted in some clang error messages
being printed when they should not have been printed because the
class was marked internal. This update corrects that algorithm.
Change-Id: I02983710c73251b8fc75ccb2893ae1d9f5aa0fe6
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|\ \ |
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: Iccf7484bf2a1e808aa35043bdd6e907fed13116c
|
| | |
| | |
| | |
| | | |
Change-Id: I692a0dadebd51ee082232a65284b3a233e57561a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add missing nullptr check.
Fixes: QTBUG-76930
Change-Id: I2dc99db43b12cebc6fbe9024057ba963e0ae470f
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Idabe3da9104c3b0d590146d320faff547cfaa7c4
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|/ /
| |
| |
| |
| |
| | |
Task-number: QTBUG-74391
Change-Id: Iced8f21af188b249a0ac59f71fa2fb7cb6a52869
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-76289
Change-Id: If51fa339cd65d793e8f83a358561bf3be340a0ce
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This update fixes a regression where the signatures of global functions
declared in header files were being erroneously qualified with the name
of the header file. The incorrect qualification is removed.
Task-number: QTBUG-76822
Change-Id: I59ddee9cdeb5cad45afab7f0b4a50e90bde1578c
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
|