From 20e43b49e9cde09d658219e74c42172e211bd2e9 Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Thu, 20 Jul 2023 18:29:53 +0200 Subject: [PATCH 1/5] Debugger: Fix core loading dialog With lldb on Windows I had cases when the "OK" button would be disabled even though I had the files set for both fields. Change-Id: I510e63d0e27e685df7c5c3f6e6f1d608f0e63bb0 Reviewed-by: Eike Ziller Reviewed-by: Cristian Adam --- src/plugins/debugger/loadcoredialog.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins/debugger/loadcoredialog.cpp b/src/plugins/debugger/loadcoredialog.cpp index e192a7d90ac..6c57b593e13 100644 --- a/src/plugins/debugger/loadcoredialog.cpp +++ b/src/plugins/debugger/loadcoredialog.cpp @@ -161,7 +161,10 @@ AttachCoreDialog::~AttachCoreDialog() int AttachCoreDialog::exec() { - connect(d->symbolFileName, &PathChooser::textChanged, this, &AttachCoreDialog::changed); + connect(d->symbolFileName, &PathChooser::validChanged, this, &AttachCoreDialog::changed); + connect(d->coreFileName, &PathChooser::validChanged, this, [this] { + coreFileChanged(d->coreFileName->rawFilePath()); + }); connect(d->coreFileName, &PathChooser::textChanged, this, [this] { coreFileChanged(d->coreFileName->rawFilePath()); }); From 15383448c01e7b26ea75566f51b3d8b1e39c36d8 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 21 Jul 2023 14:26:07 +0200 Subject: [PATCH 2/5] Bump version to 11.0.1 Change-Id: I94e939f2cf81adedea914873dc0b5aa87decdb2f Reviewed-by: Eike Ziller --- cmake/QtCreatorIDEBranding.cmake | 4 ++-- qbs/modules/qtc/qtc.qbs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmake/QtCreatorIDEBranding.cmake b/cmake/QtCreatorIDEBranding.cmake index 42ad51bcfd6..3f3e4e7a0c7 100644 --- a/cmake/QtCreatorIDEBranding.cmake +++ b/cmake/QtCreatorIDEBranding.cmake @@ -1,6 +1,6 @@ -set(IDE_VERSION "11.0.0") # The IDE version. +set(IDE_VERSION "11.0.1") # The IDE version. set(IDE_VERSION_COMPAT "11.0.0") # The IDE Compatibility version. -set(IDE_VERSION_DISPLAY "11.0.0") # The IDE display version. +set(IDE_VERSION_DISPLAY "11.0.1") # The IDE display version. set(IDE_COPYRIGHT_YEAR "2023") # The IDE current copyright year. set(IDE_SETTINGSVARIANT "QtProject") # The IDE settings variation. diff --git a/qbs/modules/qtc/qtc.qbs b/qbs/modules/qtc/qtc.qbs index c2557d15af5..2f36c8887d9 100644 --- a/qbs/modules/qtc/qtc.qbs +++ b/qbs/modules/qtc/qtc.qbs @@ -6,10 +6,10 @@ import qbs.Utilities Module { Depends { name: "cpp"; required: false } - property string qtcreator_display_version: '11.0.0' + property string qtcreator_display_version: '11.0.1' property string ide_version_major: '11' property string ide_version_minor: '0' - property string ide_version_release: '0' + property string ide_version_release: '1' property string qtcreator_version: ide_version_major + '.' + ide_version_minor + '.' + ide_version_release From 5a378ef7987052bce9b0f5b0dc8cacc674d95da1 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 14 Jul 2023 10:37:33 +0200 Subject: [PATCH 3/5] Debugger: Fix inverted logic for adding magical search paths Change-Id: I8471242cd422a68a2652ff23741d0615380e2e8d Reviewed-by: Eike Ziller --- src/plugins/debugger/debuggerruncontrol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/debugger/debuggerruncontrol.cpp b/src/plugins/debugger/debuggerruncontrol.cpp index ed4a34f3067..1902bf86810 100644 --- a/src/plugins/debugger/debuggerruncontrol.cpp +++ b/src/plugins/debugger/debuggerruncontrol.cpp @@ -749,7 +749,7 @@ bool DebuggerRunTool::fixupParameters() } } - if (!debuggerSettings()->autoEnrichParameters.value()) { + if (debuggerSettings()->autoEnrichParameters.value()) { const FilePath sysroot = rp.sysRoot; if (rp.debugInfoLocation.isEmpty()) rp.debugInfoLocation = sysroot / "/usr/lib/debug"; From 7786eb3088e96ca9cbea7f780f0f40d72254a0a2 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 21 Jul 2023 16:07:05 +0200 Subject: [PATCH 4/5] German translation: BareMetal Change-Id: I67beed63915ed2f5f14abef529512aa3560d15ae Reviewed-by: Christian Stenger --- share/qtcreator/translations/qtcreator_de.ts | 117 ++++++++++--------- 1 file changed, 60 insertions(+), 57 deletions(-) diff --git a/share/qtcreator/translations/qtcreator_de.ts b/share/qtcreator/translations/qtcreator_de.ts index ab3fd12f001..4d3e2507589 100644 --- a/share/qtcreator/translations/qtcreator_de.ts +++ b/share/qtcreator/translations/qtcreator_de.ts @@ -12469,23 +12469,23 @@ Siehe auch die Einstellungen für Google Test. Choose Keil Toolset Configuration File - + Wählen Sie die Konfigurationsdatei für das Keil-Toolset Tools file path: - + Pfad zur Konfiguration: Target device: - + Zielgerät: Target driver: - + Zieltreiber: Starting %1 ... - + Starte %1 ... Choose the desired startup mode of the GDB server provider. @@ -12561,11 +12561,11 @@ Siehe auch die Einstellungen für Google Test. Generic - + Generisch Use GDB target extended-remote - + GDB "target extended-remote" benutzen Extended mode: @@ -12581,7 +12581,7 @@ Siehe auch die Einstellungen für Google Test. Connects to the board before executing any instructions. - + Verbindet zum Board, bevor Anweisungen ausgeführt werden. Transport layer type. @@ -12601,7 +12601,8 @@ Siehe auch die Einstellungen für Google Test. Keep unspecified - + dropdown for "transport layer version" with values "V1", "V2", "Keep unspecified", for the latter no argument is passed to the corresponding command line + Nicht festlegen Manage... @@ -12621,17 +12622,19 @@ Siehe auch die Einstellungen für Google Test. UVSC - + UVSC GDB compatible provider engine (used together with the GDB debuggers). - + GDB-kompatible Provider-Engine +(wird zusammen mit GDB-Debuggern benutzt). UVSC compatible provider engine (used together with the KEIL uVision). - + UVSC-kompatible Provider-Engine +(wird zusammen mit KEIL uVision benutzt). Name @@ -12643,7 +12646,7 @@ Siehe auch die Einstellungen für Google Test. Engine - + Engine Duplicate Providers Detected @@ -12695,19 +12698,19 @@ Siehe auch die Einstellungen für Google Test. Specify the verbosity level (0 to 7). - + Geben Sie den Detailgrad an (0 bis 7). Connect under reset (hotplug). - + Verbinden unter Reset (hotplug). Connect under reset: - + Verbinden unter Reset: Interface type. - + Interface-Typ. Type: @@ -12715,7 +12718,7 @@ Siehe auch die Einstellungen für Google Test. Specify the speed of the interface (120 to 8000) in kilohertz (kHz). - + Geben Sie die Geschwindigkeit des Interface in Kilohertz (kHz) an (120 bis 8000). Speed: @@ -12723,19 +12726,19 @@ Siehe auch die Einstellungen für Google Test. Do not use EBlink flash cache. - + EBlink-Flash-Cache nicht benutzen. Disable cache: - + Cache deaktivieren: Shut down EBlink server after disconnect. - + EBlink-Server nach Trennung der Verbindung abschalten. Auto shutdown: - + Automatisch abschalten: SWD @@ -12755,11 +12758,11 @@ Siehe auch die Einstellungen für Google Test. Host interface: - + Host-Interface: Target interface: - + Ziel-Interface: Default @@ -12767,35 +12770,35 @@ Siehe auch die Einstellungen für Google Test. USB - + USB TCP/IP - + TCP/IP Compact JTAG - + Compact JTAG Renesas RX FINE - + Renesas RX FINE ICSP - + ICSP Auto - + Automatisch Adaptive - + Adaptiv %1 kHz - + %1 kHz IP Address @@ -12815,11 +12818,11 @@ Siehe auch die Einstellungen für Google Test. Limit speed to real-time. - + Geschwindigkeit auf Echtzeit reduzieren. Limit speed to real-time: - + Geschwindigkeit auf Echtzeit reduzieren: uVision St-Link @@ -12923,39 +12926,39 @@ Siehe auch die Einstellungen für Google Test. FLASH Start - + FLASH Start FLASH Size - + FLASH Größe RAM Start - + RAM Start RAM Size - + RAM Größe Algorithm path. - + Algorithmus-Pfad. FLASH: - + FLASH: Start address. - + Startadresse. Size. - + Größe. RAM: - + RAM: Vendor: @@ -12975,15 +12978,15 @@ Siehe auch die Einstellungen für Google Test. Flash algorithm: - + Flash-Algorithmus: Target device not selected. - + Zielgerät ist nicht ausgewählt. Available Target Devices - + Verfügbare Zielgeräte Select Peripheral Description File @@ -12995,11 +12998,11 @@ Siehe auch die Einstellungen für Google Test. IAREW %1 (%2, %3) - + IAREW %1 (%2, %3) IAREW - + IAREW &Compiler path: @@ -13027,11 +13030,11 @@ Siehe auch die Einstellungen für Google Test. uVision JLink - + uVision JLink Adapter options: - + Adapter-Optionen: 50MHz @@ -13087,31 +13090,31 @@ Siehe auch die Einstellungen für Google Test. Deploy to BareMetal Device - + Deployment auf Bare-Metal-Gerät Debugger CPU library (depends on a CPU core). - + Debugger-CPU-Bibliothek (benötigt einen CPU-Kern). Debugger driver library. - + Debugger-Treiberbibliothek. Driver library: - + Treiberbibliothek: CPU library: - + CPU-Bibliothek: Target driver not selected. - + Zieltreiber ist nicht ausgewählt. Available Target Drivers - + Verfügbare Zieltreiber From 7ca17c2aa4f16046a715cfc43e6f01e314f6c207 Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Tue, 25 Jul 2023 08:35:38 +0200 Subject: [PATCH 5/5] Terminal: Fix nano paste Nano does not work well with pasted \n, so we replace them with \r. Change-Id: I2518e6e2095b5ee76e8eca55dede7ed708f21b9e Reviewed-by: Christian Stenger Reviewed-by: Cristian Adam --- src/plugins/terminal/terminalsurface.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/plugins/terminal/terminalsurface.cpp b/src/plugins/terminal/terminalsurface.cpp index ea994302318..caab0a93702 100644 --- a/src/plugins/terminal/terminalsurface.cpp +++ b/src/plugins/terminal/terminalsurface.cpp @@ -419,8 +419,14 @@ void TerminalSurface::pasteFromClipboard(const QString &clipboardText) return; vterm_keyboard_start_paste(d->m_vterm.get()); - for (unsigned int ch : clipboardText.toUcs4()) + for (unsigned int ch : clipboardText.toUcs4()) { + // Workaround for weird nano behavior to correctly paste newlines + // see: http://savannah.gnu.org/bugs/?49176 + // and: https://github.com/kovidgoyal/kitty/issues/994 + if (ch == '\n') + ch = '\r'; vterm_keyboard_unichar(d->m_vterm.get(), ch, VTERM_MOD_NONE); + } vterm_keyboard_end_paste(d->m_vterm.get()); if (!d->m_altscreen) {