| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
themselves. litehtml v0.9 returns a placement of 0 for elements that
don't have a renderer. Technically speaking that might even be correct,
because these elements are not "placed".
Search for a parent that does provide a placement.
This fixes jumping to QML properties in the QML documentation.
Task-number: QTCREATORBUG-30625
Change-Id: I1deb01d4e884ca39689f1444174ded0ceeb7cac6
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
|
|
|
|
|
|
|
|
|
| |
This fixes a layout issue with the navigation bar of the Qt documentation
and the width of the resulting document.
Task-number: QTCREATORBUG-30459
Change-Id: I187af2ebfe6e35544c442f5413dc3166784416b0
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
|
|
|
|
|
|
| |
Task-number: QTCREATORBUG-30427
Change-Id: I5c917367873171e868cfc4e0e6a6b36e33645efe
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
| |
Change-Id: I711d87b7409d19fc404bfb90d2e07b0fefe9ce1a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Since litehtml is not API compatible through versions, chances are that
a system litehtml is the wrong version. Make it easy to use the internal
one.
Change-Id: I7064acee4854aea2d6ea06abe4fead353948ab5b
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|
|
|
|
|
|
|
|
| |
We do suppress warnings for compiling litehtml itself already, but the
litehtml headers trigger compiler warnings when compiling qlitehtml too.
Change-Id: I44e47498c3f9f94ccd6718d45b8a6583d5d9db02
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
LITEHTML_BUILD_TESTING is a CMake option(), and the "old" CMake
behavior is that the option() overrides "normal" CMake variables
instead of the other way round.
Set CMake policy CMP0077 to the new behavior, which is to allow
overriding option()s with normal CMake variables.
Change-Id: I44964700f5e6f233ffae25859d10a93290a74779
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- lots of smaller changes needed to be adapted to, like std::string
instead of litehtml::tstring, std::list for child elements, and other
mostly mechanical changes
- element::is_visible vanished, and we don't get to the render items, so
replaced that with our own version. render_item::is_visible would also
take m_skip into account, so this might be wrong for some elements.
(only relevant for the search index)
- element::get_element_by_point was removed, replace by own depth-first
iteration deepest_child_at_point. That takes a lot less properties
into consideration compared to get_element_by_point, like z-order, no
fixed position elements, etc
Task-number: QTCREATORBUG-29169
Task-number: QTBUG-118990
Fixes: QTBUG-121861
Change-Id: I7264a8407f123f44ba47e47cecc57fbf31a85a3d
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
|
|
|
|
|
|
| |
Task-number: QTCREATORBUG-12177
Change-Id: Ibac20a6170d42237f1d7409c3ec18ae9af50811c
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|
|
|
|
| |
Change-Id: I4dab77f5b36273a6407217312bfcf58883878309
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
|
|
| |
Both Apache-2.0 and MIT are referenced in qt_attribution.json file
Change-Id: I5c071b33ebfafd94a9dd6b8be23c2062f4de1257
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We've been requiring C++17 since Qt 6.0, and our qAsConst use finally
starts to bother us (QTBUG-99313), so time to port away from it
now.
Since qAsConst has exactly the same semantics as std::as_const (down
to rvalue treatment, constexpr'ness and noexcept'ness), there's really
nothing more to it than a global search-and-replace.
While this project maintains compatibility with Qt 5.15, it requires
C++17 at the same time, so we don't need to add version checks.
Task-number: QTBUG-99313
Change-Id: I7ba355e636ba1bfac94b787240a9bef2f3bb4e0b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
| |
Change-Id: Ied374a95db6efbd77f265342c6dbebbfa0cb3b1f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
| |
Change-Id: I4a76da49b0457afcd97375c121077256db1f65cf
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
|
|
|
| |
Amends 47275a01aad3763ad38b13d6079d338880d79075
Change-Id: I858976736ec468cc3c530f7a49cbdbf36bf6cb13
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously urls with % encoded characters would be broken.
For instance "operator%3D.html" would be converted to
"operator%253D.html".
This patch fixes that issue by correctly choosing ::fromEncoded and
QUrl::FullyEncoded.
Also got rid of QDir::cleanPath by using QUrl::NormalizePathSegments.
Change-Id: I73c5250e037dec81353e6cf7559a7c24c47b54f5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-105718
Change-Id: I84040c8f1b7ac350bd698851cab12d6e902f7ffa
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
CMakeLists.txt and .cmake files of significant size
(more than 2 lines according to our check in tst_license.pl)
now have the copyright and license header.
Existing copyright statements remain intact
Task-number: QTBUG-88621
Change-Id: I06e95211a8129abd51140b9aac19be23f8e25937
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-100837
Change-Id: Icffa7a692dd04e0ad11952b70468fe5310c56eaa
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
Files that have to be modified by hand are modified.
License files are organized under LICENSES directory.
Task-number: QTBUG-67283
Change-Id: Ia102d4037111c4cdb3e5210de05d1301ae050cca
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
| |
Change-Id: I5700c0c24ce19da73bbf1e8dd4a1d68173237979
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
|
|
|
|
|
|
|
| |
Fixes building with MinGW.
Change-Id: I592a7ab8fe89f14ef4c41abe2ed01e83189e68fe
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
|
| |
Change-Id: Ifff058813a9b3e06cca2d37154adf2c72417a826
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
This MR merge last changes from litehtml, mainly for
https://github.com/litehtml/litehtml/commit/bb04a50f93e94de0aa9a0be0b9b6e7435051dbf6
to fix parsing CSS on machines with locales where "." is not decimial
delimiter. For example in french locale "," used for decimial delimter.
Change-Id: I8d50ed25e9717224078eaf48150c02281eeb2ae5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
During compilation I got such warning:
> delete called on non-final 'DocumentContainerPrivate' that has
> virtual functions
This commit fix this issue. The main part of fix in litehtml,
so I update to current master.
Change-Id: I8d68b58318d1949760ee9eedb8b27875344fa4ad
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|
|
|
|
|
|
|
| |
It should fix the issue when compiling sources with conan.
Task-number: QTBUG-97765
Change-Id: I653d476985e453f47c07cbcbc6be633ad3a2ac64
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-97189
Change-Id: Ic121e65f234379d5064d73469386cf74eedfd545
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
| |
Change-Id: Idb6dd5a0b2a9fa171487092975a57715f77718c5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
|
|
|
|
| |
We do not support installing a dynamic library for it, so if someone
forces BUILD_SHARED_LIBS=ON for some reason, this breaks installation.
Task-number: QTCREATORBUG-26192
Change-Id: I4d1b9b457c309575fb6f2eee25746a4efe4b6eec
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|
|
|
|
|
|
|
| |
Fix typo.
Task-number: QTCREATORBUG-26039
Change-Id: Icb830e1cd3f4cbd00e0a840b641f4e20350bbdc0
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a link only consists of a fragment (#something), we must not resolve
that relative to the "base" url, which is basically the "path" of the
current document. It should be resolved wrt the document URL (including
the file name), which we currently don't have available in the container
implementation. Just return the fragment unchanged and let the link
handler take care of that, like it was before
ae2afed543ff2499aab6004394d69684b0911d53.
Amends ae2afed543ff2499aab6004394d69684b0911d53
Task-number: QTCREATORBUG-25978
Change-Id: Ibca5f653d107c463a82f538c86aaf607821111bb
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
|
|
|
|
|
|
|
|
|
| |
When building latest qt (dev branch), I noticed following ninja output:
[4390/8592] Linking CXX static library qtbase\lib\qlitehtml6.dll
Apparently the library suffix of qlitehtml is wrong.
Change-Id: Iee38d5b11a22a1ee855664c0d7c43c6e67bf618e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
| |
Change-Id: Ieb9d8e9af7430286077d01b898514b7773536b54
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
|
|
|
|
|
|
|
|
|
| |
Allows to specify the path where .lib files are installed
on Windows, or where the static library is installed
(when built as static library).
Change-Id: I74c6a6968bb6d07e36e1333da9b281de0413253c
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
|
|
|
|
|
|
|
| |
... in Export items
Change-Id: I056e8bcb1509e8a25ddb57c01f834d9813c026c8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
|
|
|
|
|
|
| |
Fixes: QTBUG-93646
Change-Id: I09dab89d1428e2425afc8d0258e3b2d347e14db3
Reviewed-by: Antti Kokko <antti.kokko@qt.io>
|
|
|
|
|
| |
Change-Id: I9c42ef2c1136c10f43d0e34bf0f3cdd6c5fcc92c
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
|
| |
By setting QLITEHTML_LIBRARY_TYPE to STATIC, instead of the default SHARED.
Change-Id: I1a5308314aa3d41802a6f84fbe99c801e050ddf5
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|
|
|
|
| |
Change-Id: I79187ea2d3afcfff26bf452ffaa2de0dec520f78
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
| |
Change-Id: I145e79bfc475dd64abd1d2dc7974788330ea7c8c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
|
| |
Change-Id: Ic958ae5a9f47143b116365ecd6cde7cc6180e52c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|
|
|
|
| |
Change-Id: Id833ec8d0fa2a1a0825a10c8c75060a2de43e55a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
When a link lies near the border of the browser window
and after hovering over the link we leave the window
we are not receiving linkHighlighted() signal with empty url.
This patch fixes it.
Change-Id: I1be55a044997fcce748bcf18c71b51efd705cffd
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
|
|
|
| |
To menu and a new tool bar (so the enabled/disabled state can easily be
seen)
Change-Id: Iff7b6c7b2f2654d0657f9e0415c0a77e1eefe432
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|
|
|
|
|
|
| |
For opening local files.
Change-Id: I556954542894a4f399b46664f60dc94e21cabb64
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|
|
|
|
|
|
| |
That shows the link target if the mouse hovers over a link
Change-Id: Icd9705ee0022bbff0736d817ebfc45200b74a588
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|
|
|
|
|
|
| |
To be used in Assistant integration.
Change-Id: I2d91b141641e225c1a27e6eaaa0f009a54900b0a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
| |
Change-Id: Ic609f49ee8118daa1d88206f513a9bb875617f45
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
|
| |
Task-number: QTCREATORBUG-25548
Change-Id: I21e0edf79cf8fc3d21bae2868ad0eaad13fdc568
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
|
|
|
|
|
| |
Change-Id: Ie86cf1cb448ef570611e40deed813769a66052e8
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|