| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
+ 6b9638e4b3f6f7db2a457ed44ec08371969fe7db Bump version
+ c35149b1bcc3956ca0b3a9c8e3c961df8142cf2e qdoc: Avoid errors related to PCH usage
+ af339b15c5a457334b531ac56ee4393f10df212f Bump copyright year
Change-Id: I0795bafc94e929debf12d8adb19f5cb6d2188d37
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
|
|
|
|
|
|
| |
Change-Id: I81c229523e0d896f25d6d961c9857b615218ecbb
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
(cherry picked from commit 47b91fe6ce0e56e8abc8b2a5e1ba5dbf4453e9f8)
|
|\
| |
| |
| | |
Change-Id: I6244a879f15657ac0c421309087e785b40f74f56
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
+ 121887b051150af7490f79402248e92c7d7d0f0a distancefieldgenerator: Fix performance when selecting unicode ranges
+ 3480921b44f7a4dc8a38656a9722c1507a1b840a lupdate: Warn about calls with template literals
+ 74e3143bba2ab8c171c83e21876c80146d08934e Bump version
Change-Id: Ieeb0f150f0e8e96105b4a91eeb49c8b53812b9cb
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a partial cherry-pick of commit 6a5fb1ef, originally merged to
5.13 branch.
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.
Fixes: QTBUG-75511
(cherry picked from commit 6a5fb1ef73fc7a917efe3670fcdfa7aa6e09df86)
Change-Id: Ib7ea8f5be17d0ccddfd1fadf855cad9a7d9f4481
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|/ |
|
| |
|
|\ |
|
| |\
|/ /
| |
| | |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Change-Id: I692a0dadebd51ee082232a65284b3a233e57561a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit 802aa37f introduced full version strings into the titles in
HTML header. However, for pages that already included a prefix
of the version information (e.g. 'Qt 5.13'), this meant that
the version appeared now twice ('Qt 5.13 5.13.0').
This commit checks for the presence of a version prefix in the
title and only appends the full version if one is not found or
does not match with the project version (which for Qt modules is
QT_VERSION).
Fixes: QTBUG-74301
Change-Id: Iceb3cf8f0e0181709e547a87cb6e92a6a13dcfef
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-72159
Change-Id: I817e1d562675c0aa462706a1e90e758030ce7d1e
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If all the range offsets in the type 4 subtable in CMAP
is equal to 0, there is no need for a glyph ID array, so
this array can actually have zero length.
We did not account for this, and would fail to read those
fonts.
Task-number: QTBUG-76188
Change-Id: I11873fba7214d179af1fcd7ccff9a9fd1c72ce10
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to make sure the allocated area starts at (0,0),
since we allocate a texture at [width x height], and this
would be too small if it did not also account for possible
gaps at the top of the cache. This happens because glyphs
may sometimes end up at the edge between two textures, in
which case we will reserve space for them in the second
of the two even though this is not needed.
So this is a deficiency in the cache logic itself, but
we need to at least make sure it does not crash.
[ChangeLog][distancefieldgenerator] Fixed possible crash
when generating large number of glyphs with a small texture
size.
Task-number: QTBUG-76188
Task-number: QTBUG-76528
Change-Id: I84c87c72985f5b621d120e7526cfe071555fa7f8
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
| |
The total allocated area was never used.
Change-Id: I1aad1d4349ec94e2ccc521903b304270decd1d0d
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since we use a single area allocator for all textures,
a glyph on the edge between two textures, would end up
spanning two textures. It would be assigned to the first,
and which in turn would be expanded to account for the
additional data. The result was that the texture height
exceeded the maximum size set.
This is actually an inherited problem from Qt Quick, but
it happens more frequently with the distancefieldgenerator
because you will typically generate a large number of
glyphs, and also the default max size set is quite low
to be on the safe side.
The bandaid in this patch is to pad the texture height by
the size of one glyph, which will for the most part get
rid of the problem, except for fonts where a majority of
glyphs exceed the em square.
[ChangeLog][distancefieldgenerator] Fixed a bug where the
generated textures might exceed the maximum height.
Task-number: QTBUG-76528
Change-Id: I51487bbf7c46556b022bfd45cefc8776d0272de3
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|\ |
|
| |\
|/ /
| |
| | |
Change-Id: Ib726e156ac4c2cc8e939f0a395c954b666fd4e30
|
| |
| |
| |
| |
| |
| |
| | |
Change-Id: I95212a61dddc2f4bc0a7e3700c52679986188b77
Reviewed-by: Lucie Gerard <lucie.gerard@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| |
| |
| |
| | |
Change-Id: I431c0fe718d173a6c45ade6b17b461586a5f0ca7
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We would accidentally use the raw field from the font without
converting its endianness, thus we would sanity check against the
wrong length and print out error messages for some perfectly
valid cmap subtables.
[ChangeLog][distancefieldgenerator] Fixed bug where the tool
would fail for valid fonts with the message "end of cmap
table reached when parsing subtable".
Task-number: QTBUG-76188
Change-Id: I7f84f4e161da705b49423ed3cc16a78cee67c607
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
'the following' directories can be read in the sense that the arguments are
positional, and that e.g.
lupdate -no-recursive x -recursive y
will scan x without subdirectories, but y with subdirectories. However
this is not the case; -recursive and -non-recursive are binary options
that affect all directories scanned in a run.
Task-number: QTBUG-76243
Change-Id: I417a84708b7228890d0644aed582dbb9073de1a8
Reviewed-by: Lucie Gerard <lucie.gerard@qt.io>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Ensure we close the last SELECT query in case
we read just one result. If we don't iterate
over all results available, the query may
block the database connection. The other
database connection won't be able to interact
with database until the open query is closed.
Fixes: QDS-779
Change-Id: I30cece520918a10972deaa3d093ffaea11cab5c0
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
|
|/
|
|
|
|
|
|
|
|
|
|
| |
The HTML generator only added an id tag for h2 (\section1) headings
for unknown reasons. \section2 and up relied on the obsolete method
of using <a name="..."> anchors for the section headings.
Remove this restriction to make the output more consistent.
Change-Id: I577d62cf59cefd199224dacf29ced61518b4b7fc
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|
|
|
|
|
|
|
|
| |
After commit f01e72a82b59c214ce4b0a6ecefb604bc66ddd3e in qtdeclarative,
we can test this scenario now.
Task-number: QTBUG-75501
Change-Id: I64baa98da6b17c24b1e309c4dc93525a4fa8d057
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For Debian-based Linux distributions, the installation instructions are
a bit misleading. It is generally not necessary to install a full-fledged
LLVM and the requirements for building and running are slightly different.
This patch makes it clear which packages need to be installed and how
LLVM_INSTALL_DIR needs to be configured in that case.
Task-number: QTBUG-68477
Change-Id: I06397d0d16fb29aba07a399b35b6ae3b32d5c80e
Reviewed-by: Martin Smith <martin.smith@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
| |
Change-Id: Ifa37e14c33982db6c936fe077ed0639feed091f1
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|
|
|
|
| |
Change-Id: Idd65fa2c3313ca240b9c2721e886dd31ebfe7f00
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|
|
|
|
| |
Change-Id: Iceeaa8f64e1168efb5f7e9133e5ef51e2dea367b
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|\
| |
| |
| | |
Change-Id: I46e92ea28189b7365b34ba42de395be5293ef2af
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
+ b4597180191734ca128772d2b8547c6e6c08efa2 macdeployqt: Deploy the platforminputcontext plugins and vkb plugins
+ a7aaa84f0c18c150e7d7671663a175d99cad3d49 qtdiag/Windows: Output all graphics adapters
+ 11d01e3b74c84e465246a8f164b3f3b8ff92d8a4 Handle recursion depth errors when parsing JavaScript
+ 9b5c31944fb03eea6025186c27cf809cc4a9ae05 Designer: write out minimumSectionSize property before current size
+ 30616088b98b4f95f85993c069c8086d36151caa Handle recursion depth errors when parsing JavaScript in lupdate
+ c7dbb12a734b4203c3613ae3950b2e7729643d66 Use High DPI pixmaps in assistant
+ 44348513f90bd24674172b87a97e0c8b615a555a Bump version
+ 9c7502b0e5056da021ace0195e53d5b7b410120b Assistant: Rewrite the search result list formatting to use QTextStream
+ e9662ddd86f027bdbe617f5171cd63cae13b3845 qtattributionsscanner: Add "PackageComment" field
+ 9beac9838510e94338377fcd1cfc68b371f32a86 makeqpf: fix crash
+ 50335cb26bb88930f5e2a204642439cc9a4d2282 Mark throwRecursionDepthError() as final
Change-Id: I68c23bd2395968511f70209bfcc9496355b0b734
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This caused empty table cells in 'Public Types' for several C++
classes.
Task-number: QTBUG-74779
Change-Id: I701967e26955c7807e2f777bb43f67a0ea1c1edb
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before, we have deleted the bookmarks dialog directly from
it's closeEvent. It means that its closeEvent invocation
wasn't finished yet -> crash. We use deleteLater now instead.
Task-number: QTBUG-72218
Change-Id: Ia83f9d2027a63ccaccebe22a8e5d92e808bec2bd
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Properly declare the generated _lst_file that lists all lupdate input files
as a BYPRODUCT. This is required by the Ninja backend to properly
track the build dependencies, and fixes a CMake warning CMP0058.
Task-number: QTBUG-71354
Change-Id: Idb3481ef1f0d6763ce14849ca57cb12647d41703
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The transcode function is now in a parser tool class.
It is used by the cpp and qml parser.
Fixes: QTBUG-40639
Change-Id: I3c9c9d137669900642a077cf81a739bfc31be800
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
CMake uses # as a line comment marker. To detect CMake files
we check for the suffix .cmake, or check whether the filename
is "CMakeLists.txt".
See also
https://cmake.org/cmake/help/latest/manual/cmake-language.7.html
[ChangeLog][qdoc] qdoc now uses #! as a snippet marker in
.cmake, CMakeLists.txt files.
Task-number: QTBUG-73058
Change-Id: I230b113f0d49dd487b0f1926c815295a8a660a27
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-41562
Change-Id: If03df28095212f2ee9f74eeaf03c50a6f1203415
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog][lupdate] lupdate will now generate an error if it is asked
to update a .ts file with translations, but without a target language.
This is to ensure that plural translations are not destroyed.
Fixes: QTBUG-53775
Change-Id: I646c1f2ec42a32dbc1a4676ad784887613607b78
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Colons seen are remembered in order to identify a member or base class
identifier.
In case of declaration of a bit field, the colon should be ignored.
If it is not, unexpected behaviors compromise the resolution of
the context, when the context is not explicit in the tr() function.
To differentiate between colons in a member or base class identifier,
and colons in a bit field, this patch implements a heuristic:
We parse forward to either a '{', or a ';'.
If it is a semicolon we assume it's a bit field, if it is a curved open
bracket we assume the colon is for a member or base class identifier.
Related auto test in case of bitfields declaration added.
Task-number: QTBUG-55479
Change-Id: I2ca1124c192e4ab16fd449afc634a5de5023f481
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-74510
Change-Id: I4c6e20a55d76e308808f091fb224ee5c612bc239
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Also fix generation of special characters like space
[ChangeLog][makeqpf] Fix assert when rendering font using debug build of Qt
Fixes: QTBUG-46544
Change-Id: Ic17ee44973d3f85b5d2ae4423a059223abd52ea5
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new field that can be used for general purpose comments
about the package, not to be included in the generated qdoc
documentation.
JSON does not support comments as a first-class concept. A common
workaround is to use duplicated key entries, so that the first
one can be used as a comment field. Anyhow, this is arguably a
hack and not common knowledge.
The name is inspired by the "PackageComment" field in SPDX. The
new feature should already be made part of 5.12 so we can clean
up version information that recently became more prominently
visible as part of the qdoc title -
see https://doc.qt.io/qt-5/licenses-used-in-qt.html
Change-Id: Icfe843d1d725618114442687222c24122d0dd6b9
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|