- 05 Nov, 2019 - 2 commits
-
-
Shawn Rutledge authored
You can save a "skeletal" document with list items to fill in later, the same as you can do in HTML or ODF format. Reading them back via QTextDocument::fromMarkdown() isn't always perfect though. Fixes: QTBUG-79217 Change-Id: Iacdb3e6792250ebdead05f314c9e3d00546eeb9f Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io>
-
Shawn Rutledge authored
The markdown parser generates empty lists in some cases when a character that can be used as a bullet is found on a line by itself. cbEnterBlock() and cbLeaveBlock() are called symmetrically in such cases. QStack::pop() on an empty stack triggers an assert, so push and pop need to be done symmetrically too. But it's difficult to actually create the list as soon as the MD_BLOCK_UL or MD_BLOCK_OL callback occurs, without breaking the case fixed in 7224d0e4 (and probably other cases). That's because QTextCursor::insertList() creates a list item at the same time as it creates the list itself, and also inherits block formatting from the previous block. We now insert empty lists with empty items whenever the need for that is detected though, and there's a failsafe to prevent popping in case something still goes wrong with that logic. We aren't strict about reproducing the original markdown when regenerating it via toMarkdown(), but it's getting closer. Fixes: QTBUG-78870 Change-Id: Ided194ce7aec2710c60dbac42761ee4169ed9b78 Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io> Reviewed-by:
Robert Loehning <robert.loehning@qt.io>
-
- 04 Nov, 2019 - 3 commits
-
-
Christian Ehrlicher authored
The signal QProcess::error() was deprecated in Qt5.6 but not annotated with QT_DEPRECATED_X. Change-Id: I9dd11c9b8019a0554cb82d6acb6b7e0a01c78123 Reviewed-by:
Kai Koehne <kai.koehne@qt.io>
-
Kai Koehne authored
This fixes a regression introduced in c00487d5 . Fixes: QTBUG-79285 Change-Id: I95f073d019d6e909f8de132ea9f27002043d5d52 Reviewed-by:
Kimmo Ollila <kimmo.ollila@qt.io> Reviewed-by:
Timo Aarnipuro <timo.aarnipuro@qt.io> Reviewed-by:
Tasuku Suzuki <tasuku.suzuki@tqcs.io> Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
Kai Koehne authored
Change-Id: Ibb1c0b54c4add118328f9281e2dbbcf9c1c62312 Reviewed-by:
Sona Kurazyan <sona.kurazyan@qt.io>
-
- 01 Nov, 2019 - 3 commits
-
-
Friedemann Kleint authored
Use QT_CONFIG consistently and enclose sslConfigurationImplementation(), setSslConfigurationImplementation() and ignoreSslErrorsImplementation() within QT_CONFIG as well. This enables a build of Qt for Python with -no-feature-ssl. Change-Id: Ia699293ab73a5dc86d8dcf95aa5f6369334d36a2 Reviewed-by:
Mårten Nordheim <marten.nordheim@qt.io>
-
Adam Sowa authored
Use QString::fromLocal8Bit(const QByteArray &str) instead of constructing QByteArray to avoid memory allocation and strcpy. Change-Id: I32bbb47fbc45681c621adaebe8f8574d8f8ad6bf Fixes: QTBUG-79644 Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
Kavindra Palaraja authored
Change-Id: Ice4d0842883e32f62abd27be826b1caf1c78d3b6 Fixes: QTBUG-55503 Reviewed-by:
Frederik Schwarzer <schwarzer@kde.org> Reviewed-by:
Andy Shaw <andy.shaw@qt.io>
-
- 31 Oct, 2019 - 5 commits
-
-
Friedemann Kleint authored
Re-apply 72e3d363, which was omitted in 425df43d . Task-number: QTBUG-79418 Change-Id: I0afa9ff9ace5bdc6cea103cf2acba6dbf9a64a72 Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io>
-
Mårten Nordheim authored
972a0402 was merged before one of its parent patches which changed this QHash into a QMultiHash. So in 5.14 it would overwrite values instead of adding new entries. No idea if it has caused or will cause any regressions. But it was an accident so let's fix it. Amends 972a0402 . Change-Id: I6623b0b7924024df148d5c83bcbb612f3e595f56 Reviewed-by:
Lars Knoll <lars.knoll@qt.io>
-
Allan Sandfeld Jensen authored
The short-cut for semi-transparent backgrounds has to take precedence over the disabled gamma-correction short-cut. The order got inversed in one function during 5.14 refactoring. Change-Id: I0e54428839428068b602a13eddbf69897ed0797d Reviewed-by:
Eirik Aavitsland <eirik.aavitsland@qt.io> Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
-
Laszlo Agocs authored
Call adjustedFormat() as advised by the docs: "Applications are advised to set this format on their QWindow in order to avoid potential BAD_MATCH failures." Task-number: QTBUG-79659 Change-Id: Ibf415fb0ee64bdd3f01d4ba744244bce811c0d27 Reviewed-by:
Paul Olav Tvete <paul.tvete@qt.io>
-
Topi Reinio authored
Change-Id: I01b311cbe67fbb89625beb5a3941a652c9e851ed Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io>
-
- 30 Oct, 2019 - 3 commits
-
-
Tor Arne Vestbø authored
We now avoid flushing GL if the exposed size does not match the window size, so we don't need to halt update request delivery during resize. Change-Id: Iaa89e67d50c987757a586b5958e08edf71a5dd0c Reviewed-by:
Morten Johan Sørvig <morten.sorvig@qt.io> Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io>
-
Kavindra Palaraja authored
Change-Id: Ibe498c5288faa478a4dba934bc3c403829b337db Fixes: QTBUG-62445 Reviewed-by:
Ulf Hermann <ulf.hermann@qt.io>
-
Albert Astals Cid authored
examples/corelib/tools/customtypesending/window.cpp: In member function ‘void Window::sendMessage()’: examples/corelib/tools/customtypesending/window.cpp:79:71: warning: implicitly-declared ‘Message& Message::operator=(const Message&)’ is deprecated [-Wdeprecated-copy] 79 | thisMessage = Message(editor->toPlainText(), thisMessage.headers()); | ^ In file included from examples/corelib/tools/customtypesending/window.h:55, from examples/corelib/tools/customtypesending/window.cpp:52: examples/corelib/tools/customtypesending/message.h:62:5: note: because ‘Message’ has user-provided ‘Message::Message(const Message&)’ 62 | Message(const Message &other); | ^~~~~~~ examples/corelib/tools/customtypesending/window.cpp: In member function ‘void Window::setMessage(const Message&)’: examples/corelib/tools/customtypesending/window.cpp:87:19: warning: implicitly-declared ‘Message& Message::operator=(const Message&)’ is deprecated [-Wdeprecated-copy] 87 | thisMessage = message; | ^~~~~~~ In file included from examples/corelib/tools/customtypesending/window.h:55, from examples/corelib/tools/customtypesending/window.cpp:52: examples/corelib/tools/customtypesending/message.h:62:5: note: because ‘Message’ has user-provided ‘Message::Message(const Message&)’ 62 | Message(const Message &other); | ^~~~~~~ Change-Id: I563d53f7dd1e0e0dc5fd4db06299b2d0a70c62ff Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io>
-
- 29 Oct, 2019 - 7 commits
-
-
Edward Welbourne authored
Do this by templating the floating-point tests, which removes some existing duplication as well as avoiding new duplication. Did some renaming in the process. Added some tests of fuzzyCompare that come closer to its boundary. Increased number of tests from 69 to 97. Use std::numeric_limits to replace assorted hard-coded constants and old C-library boundary-value macros. It turns out MSVC's float conflates quiet and signaling NaN (although MinGW's doesn't); and WebAssembly's old fastcomp compiler conflates NaNs for both float and double; so XFAIL the test for distinct NaNs in those cases. Change-Id: I0a1c0d2f68f75d51b8cda9e3ddfe7fa9c190a3e2 Reviewed-by:
Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by:
Erik Verbruggen <erik.verbruggen@me.com>
-
Alessandro Portale authored
Img width and height are separate tags. Alternatively, they could be defined in the style tag. Change-Id: I0a4a93b63a99a7b644e9096bb9238739f408c0df Reviewed-by:
Morten Johan Sørvig <morten.sorvig@qt.io>
-
Morten Johan Sørvig authored
Testes file load and save, computes a sha256 hash for verifying file content. Change-Id: Id7f697c4dfd41e051442350f4050f04b493cfc18 Reviewed-by:
Morten Johan Sørvig <morten.sorvig@qt.io>
-
Tor Arne Vestbø authored
Change-Id: I31b4ed6e6597e22172dcca7180750f1392b9ad68 Reviewed-by:
Simon Hausmann <simon.hausmann@qt.io> Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-
Qt Forward Merge Bot authored
-
Alexandru Croitor authored
The recent change to support android with CMake assumes that the user project will have add_library(foo SHARED), and sets the CMAKE_SHARED_LIBRARY_SUFFIX_CXX variable to modify the final library name to contain an ABI suffix. This did not work when using add_library(foo MODULE), and androiddeployqt failed saying it can't find the application binary. Make sure to apply the ABI suffix to MODULE targets. Also cover the suffix to be added regardless if the language used for compiling the SO is C or C++. Amends 52c799ed Change-Id: Ic44d67e33a123bd0104d98b368ceda0844474980 Reviewed-by:
Cristian Adam <cristian.adam@qt.io> Reviewed-by:
BogDan Vatra <bogdan@kdab.com>
-
Andy Shaw authored
Since the patch applied previously is no longer required, we have removed that too. [ChangeLog][QtSQL][sqlite] Updated to v3.30.1 Fixes: QTBUG-79416 Change-Id: Ifc3fcc6e1768f80e97a5e0ab4b2aeabddf2ced9d Reviewed-by:
Simon Hausmann <simon.hausmann@qt.io>
-
- 28 Oct, 2019 - 5 commits
-
-
Eskil Abrahamsen Blomfeldt authored
We recently added a call to setStackSize() in the QML thread, which revealed that the dummy implementation for this function was missing in no-thread builds. Fixes: QTBUG-79571 Change-Id: Ibabb48d9cba73afda0842642045a2961e65523f9 Reviewed-by:
Morten Johan Sørvig <morten.sorvig@qt.io>
-
Christian Ehrlicher authored
The previous commits which deprecated the function forgot to add QT_WARNING_PUSH/QT_WARNING_POP around the affected code. Change-Id: I042a2bcd40afe2e5fe517954be26a02fd048b563 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io>
-
Morten Johan Sørvig authored
Disable the crash signal handler. This makes it possible to run auto-tests in the browser. Long-running tests may cause the browser to interrupt or display the “a web page is slowing down your computer” message, or not produce any console output while the test is running. Change-Id: Ifd53b744bd3652abfb466b78992ce2371eca2536 Task-number: QTBUG-68504 Reviewed-by:
Lorn Potter <lorn.potter@gmail.com>
-
Qt Forward Merge Bot authored
Conflicts: src/corelib/serialization/qjson_p.h Change-Id: I83cea141a4de8b3998478bfded84ca9029f7a2a9
-
Tor Arne Vestbø authored
This was a workaround to prevent visual artefacts from flushing GL during window resizing, but now that we skip the flush entirely in this situation we don't need to limit the update request delivery. Change-Id: I84bd48e4e2fc5a03e9d27d5f9b4b32b8098e56a5 Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io>
-
- 27 Oct, 2019 - 6 commits
-
-
Tor Arne Vestbø authored
Change-Id: Ia5d208ace5086e8e92f95f859383773894a18768 Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io>
-
Tor Arne Vestbø authored
Change-Id: I91f89ff336b3f48aea91e50860264bd8359805cb Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io>
-
Tor Arne Vestbø authored
Change-Id: I163858400da28668b8a85241e9e6b1d989227a3e Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io>
-
Tor Arne Vestbø authored
Change-Id: I5609071346ef44dc9f16359db451ea9b29dd2b0d Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io>
-
Tor Arne Vestbø authored
Fixes: QTBUG-78707 Change-Id: Ia517f543728c76dcf19558e9e68ed97db7cfaaa4 Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io>
-
Yulong Bai authored
The attached Drag object's owner, i.e. its parent, is also the dragged item. So the attached Drag object will also be destroyed as the dragged item is deleted. Fixes: QTBUG-65701 Change-Id: I39b0a3180f205c427deed5c70cd1912524f9324e Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io>
-
- 25 Oct, 2019 - 6 commits
-
-
Joerg Bornemann authored
When one specified a prefix "/usr/qt5" on Windows for a non-Windows target (e.g. QNX) that prefix was translated to "C:/usr/qt5" and passed on to the Makefiles, for example as "-Wl,-rpath,C:/usr/qt5/lib". The reason was that we called $$absolute_path on the user-specified prefix. However, absolute_path operates according to the rules of the host operating system. When cross-building, the prefix is an on-device path. Therefore we must not attempt to make it absolute to the build directory. The check whether we're cross-compiling looks a bit arcane, but we cannot use $$qtConfEvaluate(features.cross_compile) at this stage of configure. Instead, we use XSPEC (set up by qtConfOutput_prepareSpec) and $$[QMAKE_SPEC] which is the right host mkspec. Fixes: QTBUG-79214 Change-Id: Id8664f8512cf1d9e178054a38e72323d7929547d Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io> Reviewed-by:
Qt CI Bot <qt_ci_bot@qt-project.org>
-
Edward Welbourne authored
[ChangeLog][Third-Party Code] Updated DNS public suffix list Task-number: QTBUG-79418 Change-Id: I02dbe2b1f5b5f3e4a1ed4fde60ee71f5b0a50cb5 Reviewed-by:
Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io>
-
Edward Welbourne authored
The compiler didn't complain at a QLocale::FormatType values being passed for the int year parameters of the month-name functions, which all have a default for their final QLocale::FormatType parameters. So we didn't notice that the year parameter was missing until the bug was reported. Removed some code duplication by giving QCalendarModel a monthName() method. Reworked QCalendarMonthValidator::text() to avoid repeated calendar calculations (and use fewer braces). This commit amends commit 2dee0062 Fixes: QTBUG-79495 Change-Id: Iad48c3b648a0139ab43511e6fb4e6a8f63a0495f Reviewed-by:
Volker Hilsheimer <volker.hilsheimer@qt.io>
-
Cristián Maureira-Fredes authored
Change-Id: I0ab4b37399d3fba6d27cf90cab22676a3c599e5a Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io>
-
Cristian Adam authored
The patch adds ANDROID_BUILD_ABI_<abi> CMake options, which when enabled will determine CMake to build the current project with the enabled ABI settings. When building with CMake and the official Android CMake toolchain one needs to specify the Qt base directory as an argument to CMAKE_FIND_ROOT_PATH, which contains the Android NDK sysroot set by the toolchain. CMake will consider directories that contain this base path as valid directories to search packages. In the developer build case we have to append "lib/cmake" because the Qt base directory passed as CMAKE_FIND_ROOT_PATH will be the same directory as the developer build base, and will not be considered. Change-Id: I180502032c8ea1105bde2456252b367497f511d6 Reviewed-by:
Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by:
BogDan Vatra <bogdan@kdab.com>
-
Eirik Aavitsland authored
[ChangeLog][Third-Party Code] libjpeg-turbo was updated to version 2.0.3 Task-number: QTBUG-79420 Change-Id: I9f9b8b3a913fd5843759c0610f43b22c5bee67dc Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-