From 48e46132e373b78d2a9a6d311af688f91b52074a Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Mon, 15 Jun 2020 15:31:06 +0200 Subject: [PATCH 1/3] Add changes file for 4.12.3 Change-Id: Iaea37345615c572da2bd5697e0a5d771a9168987 Reviewed-by: Leena Miettinen --- dist/changes-4.12.3.md | 62 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 dist/changes-4.12.3.md diff --git a/dist/changes-4.12.3.md b/dist/changes-4.12.3.md new file mode 100644 index 00000000000..faf0e0dc04a --- /dev/null +++ b/dist/changes-4.12.3.md @@ -0,0 +1,62 @@ +Qt Creator 4.12.3 +================= + +Qt Creator version 4.12.3 contains bug fixes. + +The most important changes are listed in this document. For a complete +list of changes, see the Git log for the Qt Creator sources that +you can check out from the public Git repository. For example: + + git clone git://code.qt.io/qt-creator/qt-creator.git + git log --cherry-pick --pretty=oneline origin/v4.12.2..v4.12.3 + +Editing +------- + +* Fixed missing update of completions after cursor navigation (QTCREATORBUG-24071) + +### QML + +* Fixed line number for string literals (QTCREATORBUG-23777) + +### GLSL + +* Fixed freeze (QTCREATORBUG-24070) + +Projects +-------- + +### CMake + +* Fixed issue with `Add build library search path` and older CMake versions (QTCREATORBUG-23997) +* Fixed that projects without name were considered invalid (QTCREATORBUG-24044) + +Debugging +--------- + +* Fixed QDateTime pretty printer for Qt 5.14 and newer +* Fixed QJson pretty printer for Qt 5.15 and newer (QTCREATORBUG-23827) + +Platforms +--------- + +### Android + +* Fixed that installing OpenSSL for Android in the settings could delete current working directory + (QTCREATORBUG-24173) + +### MCU + +* Fixed issue with saving settings (QTCREATORBUG-24048) + +Credits for these changes go to: +-------------------------------- +Alessandro Portale +André Pönitz +Assam Boudjelthia +Christian Stenger +Cristian Adam +David Schulz +Eike Ziller +Leena Miettinen +Tobias Hunger From c9355626d57d27c9c271c939f0d345fa41a488a7 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Mon, 15 Jun 2020 19:00:57 +0200 Subject: [PATCH 2/3] Squish: Update expected tree for qbs Change-Id: Ib2fd3ec1df0772de2ae2ef7c4083431ccd32095b Reviewed-by: Christian Stenger --- .../testdata/projecttree_creator.tsv | 57 ------------------- 1 file changed, 57 deletions(-) diff --git a/tests/system/suite_general/tst_opencreator_qbs/testdata/projecttree_creator.tsv b/tests/system/suite_general/tst_opencreator_qbs/testdata/projecttree_creator.tsv index fb41cd7373d..93dfff235ba 100644 --- a/tests/system/suite_general/tst_opencreator_qbs/testdata/projecttree_creator.tsv +++ b/tests/system/suite_general/tst_opencreator_qbs/testdata/projecttree_creator.tsv @@ -5720,33 +5720,6 @@ "clangcodemodel.qbs:112" "4" "data" "4" "clangtestdata.qrc" "5" -"/unittests/ClangCodeModel" "6" -"exampleIncludeDir" "7" -"mylib" "8" -"mylib.h" "9" -"file.h" "8" -"otherFile.h" "8" -"qt-widgets-app" "7" -"main.cpp" "8" -"mainwindow.cpp" "8" -"mainwindow.h" "8" -"mainwindow.ui" "8" -"qt-widgets-app.pro" "8" -"completionWithProject.cpp" "7" -"constructorCompletion.cpp" "7" -"dotToArrowCorrection.cpp" "7" -"doxygenKeywordsCompletion.cpp" "7" -"functionCompletion.cpp" "7" -"globalCompletion.cpp" "7" -"includeDirectiveCompletion.cpp" "7" -"memberCompletion.cpp" "7" -"myheader.h" "7" -"mysource.cpp" "7" -"noDotToArrowCorrectionForFloats.cpp" "7" -"objc_messages_1.mm" "7" -"objc_messages_2.mm" "7" -"objc_messages_3.mm" "7" -"preprocessorKeywordsCompletion.cpp" "7" "clangautomationutils.cpp" "4" "clangautomationutils.h" "4" "clangbatchfileprocessor.cpp" "4" @@ -5975,36 +5948,6 @@ "clangtoolsunittests.cpp" "4" "clangtoolsunittests.h" "4" "clangtoolsunittests.qrc" "4" -"/" "5" -"unit-tests" "6" -"clangtidy_clazy" "7" -"clangtidy_clazy.pro" "8" -"clazy_example.cpp" "8" -"tidy_example.cpp" "8" -"qt-essential-includes" "7" -"main.cpp" "8" -"qt-essential-includes.pro" "8" -"qt-essential-includes.qbs" "8" -"qt-widgets-app" "7" -"main.cpp" "8" -"mainwindow.cpp" "8" -"mainwindow.h" "8" -"mainwindow.ui" "8" -"qt-widgets-app.pro" "8" -"qt-widgets-app.qbs" "8" -"simple" "7" -"main.cpp" "8" -"simple.pro" "8" -"simple.qbs" "8" -"simple-library" "7" -"simple-library.cpp" "8" -"simple-library.h" "8" -"simple-library.pro" "8" -"simple-library.qbs" "8" -"stdc++11-includes" "7" -"main.cpp" "8" -"stdc++11-includes.pro" "8" -"stdc++11-includes.qbs" "8" "clangfileinfo.h" "3" "clangfixitsrefactoringchanges.cpp" "3" "clangfixitsrefactoringchanges.h" "3" From 14d83e027bad10dbe7363220043a5d0a622cbc4a Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 17 Jun 2020 11:13:59 +0200 Subject: [PATCH 3/3] BinEditor: Crash less on search Task-number: QTCREATORBUG-21473 Task-number: QTCREATORBUG-23978 Change-Id: I8f63fa892b9ef37bc660bd0b96fce5e1d6772b57 Reviewed-by: Eike Ziller Reviewed-by: Robert Loehning --- src/plugins/bineditor/bineditorwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/bineditor/bineditorwidget.cpp b/src/plugins/bineditor/bineditorwidget.cpp index ab8f6d0ba43..2c703512d19 100644 --- a/src/plugins/bineditor/bineditorwidget.cpp +++ b/src/plugins/bineditor/bineditorwidget.cpp @@ -613,7 +613,6 @@ int BinEditorWidget::dataIndexOf(const QByteArray &pattern, qint64 from, bool ca QByteArray buffer; buffer.resize(m_blockSize + trailing); - char *b = buffer.data(); QByteArrayMatcher matcher(pattern); qint64 block = from / m_blockSize; @@ -622,6 +621,7 @@ int BinEditorWidget::dataIndexOf(const QByteArray &pattern, qint64 from, bool ca if (!requestDataAt(block * m_blockSize)) return -1; QByteArray data = blockData(block); + char *b = buffer.data(); ::memcpy(b, b + m_blockSize, trailing); ::memcpy(b + trailing, data.constData(), m_blockSize); @@ -645,7 +645,6 @@ int BinEditorWidget::dataLastIndexOf(const QByteArray &pattern, qint64 from, boo QByteArray buffer; buffer.resize(m_blockSize + trailing); - char *b = buffer.data(); if (from == -1) from = m_size; @@ -655,6 +654,7 @@ int BinEditorWidget::dataLastIndexOf(const QByteArray &pattern, qint64 from, boo if (!requestDataAt(qint64(block) * m_blockSize)) return -1; QByteArray data = blockData(block); + char *b = buffer.data(); ::memcpy(b + m_blockSize, b, trailing); ::memcpy(b, data.constData(), m_blockSize);