forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/9.0'
Change-Id: I69ebd63cbd780ed4edb3873acfc8aac208933032
This commit is contained in:
22
dist/changelog/changes-9.0.0.md
vendored
22
dist/changelog/changes-9.0.0.md
vendored
@@ -42,6 +42,7 @@ Editing
|
|||||||
* Fixed saving files with non-breaking spaces (QTCREATORBUG-17875)
|
* Fixed saving files with non-breaking spaces (QTCREATORBUG-17875)
|
||||||
* Fixed `Rewrap Paragraph` for Doxygen comments (QTCREATORBUG-9739)
|
* Fixed `Rewrap Paragraph` for Doxygen comments (QTCREATORBUG-9739)
|
||||||
* Fixed MIME type matching for generic highlighting with MIME type aliases
|
* Fixed MIME type matching for generic highlighting with MIME type aliases
|
||||||
|
* Fixed annotation painting when scrolling horizontally (QTCREATORBUG-28411)
|
||||||
|
|
||||||
### C++
|
### C++
|
||||||
|
|
||||||
@@ -55,6 +56,7 @@ Editing
|
|||||||
action (QTCREATORBUG-28099)
|
action (QTCREATORBUG-28099)
|
||||||
* Fixed that selection was not considered for refactoring actions
|
* Fixed that selection was not considered for refactoring actions
|
||||||
(QTCREATORBUG-27886)
|
(QTCREATORBUG-27886)
|
||||||
|
* Fixed generation of function definitions with `unsigned` (QTCREATORBUG-28378)
|
||||||
* Fixed code style preview editor size (QTCREATORBUG-27267)
|
* Fixed code style preview editor size (QTCREATORBUG-27267)
|
||||||
* Clangd
|
* Clangd
|
||||||
* Added option for using single Clangd instance for the whole session
|
* Added option for using single Clangd instance for the whole session
|
||||||
@@ -62,6 +64,7 @@ Editing
|
|||||||
* Added option for indexing priority (`--background-index-priority`)
|
* Added option for indexing priority (`--background-index-priority`)
|
||||||
* Added option for maximum number of completion results (default 100)
|
* Added option for maximum number of completion results (default 100)
|
||||||
(QTCREATORBUG-27152)
|
(QTCREATORBUG-27152)
|
||||||
|
* Added `"`, `<` and `/` to auto-completion triggers (QTCREATORBUG-28203)
|
||||||
* Added option for document specific preprocessor directives
|
* Added option for document specific preprocessor directives
|
||||||
(QTCREATORBUG-20423)
|
(QTCREATORBUG-20423)
|
||||||
* Fixed semantic highlighting for `__func__`
|
* Fixed semantic highlighting for `__func__`
|
||||||
@@ -109,6 +112,7 @@ Projects
|
|||||||
directory to build directory
|
directory to build directory
|
||||||
* Fixed that local environment was used when inspecting GCC toolchain on remote
|
* Fixed that local environment was used when inspecting GCC toolchain on remote
|
||||||
* Fixed stopping terminal process (QTCREATORBUG-28365)
|
* Fixed stopping terminal process (QTCREATORBUG-28365)
|
||||||
|
* Fixed automatic popup of `Issues` (QTCREATORBUG-28330)
|
||||||
|
|
||||||
### CMake
|
### CMake
|
||||||
|
|
||||||
@@ -141,11 +145,17 @@ Projects
|
|||||||
Debugging
|
Debugging
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
### C++
|
||||||
|
|
||||||
|
* Improved type name lookup performance for heavily templated code
|
||||||
|
* Improved display performance for large array-like data (QTCREATORBUG-28111)
|
||||||
* Added warning for missing QML debugging functionality for mobile and embedded
|
* Added warning for missing QML debugging functionality for mobile and embedded
|
||||||
devices
|
devices
|
||||||
* Fixed display of strings with characters more than 2 bytes long
|
* Fixed display of strings with characters more than 2 bytes long
|
||||||
* Improved type name lookup performance for heavily templated code
|
|
||||||
* Improved display performance for large array-like data (QTCREATORBUG-28111)
|
### QML
|
||||||
|
|
||||||
|
* Fixed interrupting
|
||||||
|
|
||||||
Analyzer
|
Analyzer
|
||||||
--------
|
--------
|
||||||
@@ -155,9 +165,15 @@ Analyzer
|
|||||||
* Fixed error when analyzing non-desktop targets (QTCREATORBUG-25615)
|
* Fixed error when analyzing non-desktop targets (QTCREATORBUG-25615)
|
||||||
* Fixed wrong failure count display (QTCREATORBUG-27330)
|
* Fixed wrong failure count display (QTCREATORBUG-27330)
|
||||||
|
|
||||||
|
### Perf
|
||||||
|
|
||||||
|
* Fixed wrong working directory (QTCREATORBUG-28462)
|
||||||
|
|
||||||
Version Control Systems
|
Version Control Systems
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
|
* Fixed that `--password` argument was shown in plain text (QTCREATORBUG-28413)
|
||||||
|
|
||||||
### Git
|
### Git
|
||||||
|
|
||||||
* Added support for user-configured comment character (QTCREATORBUG-28042)
|
* Added support for user-configured comment character (QTCREATORBUG-28042)
|
||||||
@@ -208,6 +224,7 @@ Platforms
|
|||||||
* Fixed emulator operations when the deprecated `SDK Tools` is installed in
|
* Fixed emulator operations when the deprecated `SDK Tools` is installed in
|
||||||
addition to `SDK Command-line Tools` (QTCREATORBUG-28196)
|
addition to `SDK Command-line Tools` (QTCREATORBUG-28196)
|
||||||
* Fixed debugging over WiFi (QTCREATORBUG-28342)
|
* Fixed debugging over WiFi (QTCREATORBUG-28342)
|
||||||
|
* Worked around QML debugging not being enabled by default with NDK 24 and 25
|
||||||
|
|
||||||
### iOS
|
### iOS
|
||||||
|
|
||||||
@@ -223,6 +240,7 @@ Platforms
|
|||||||
### Boot to Qt
|
### Boot to Qt
|
||||||
|
|
||||||
* Fixed that `rsync` was not available for deployment (QTCREATORBUG-24731)
|
* Fixed that `rsync` was not available for deployment (QTCREATORBUG-24731)
|
||||||
|
* Fixed default deployment method
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
|
|
||||||
|
@@ -38,8 +38,8 @@ find_package(Qt6 COMPONENTS ShaderTools QUIET)
|
|||||||
add_qtc_library(Tracing
|
add_qtc_library(Tracing
|
||||||
CONDITION TARGET Qt6::ShaderTools AND TARGET Qt5::Quick
|
CONDITION TARGET Qt6::ShaderTools AND TARGET Qt5::Quick
|
||||||
FEATURE_INFO
|
FEATURE_INFO
|
||||||
DEPENDS Utils Qt5::Qml Qt5::Quick
|
DEPENDS Utils Qt5::Quick
|
||||||
PUBLIC_DEPENDS Qt5::Widgets
|
PUBLIC_DEPENDS Qt5::Widgets Qt5::Qml
|
||||||
SOURCES
|
SOURCES
|
||||||
${TEST_SOURCES}
|
${TEST_SOURCES}
|
||||||
)
|
)
|
||||||
|
@@ -306,9 +306,14 @@ void StyleHelper::drawArrow(QStyle::PrimitiveElement element, QPainter *painter,
|
|||||||
static const QCommonStyle* const style = qobject_cast<QCommonStyle*>(QApplication::style());
|
static const QCommonStyle* const style = qobject_cast<QCommonStyle*>(QApplication::style());
|
||||||
if (!style)
|
if (!style)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// Workaround for QTCREATORBUG-28470
|
||||||
QPalette pal = tweakedOption.palette;
|
QPalette pal = tweakedOption.palette;
|
||||||
|
pal.setBrush(QPalette::Base, pal.text()); // Base and Text differ, causing a detachment.
|
||||||
|
// Inspired by tst_QPalette::cacheKey()
|
||||||
pal.setColor(QPalette::ButtonText, color.rgb());
|
pal.setColor(QPalette::ButtonText, color.rgb());
|
||||||
tweakedOption.palette = pal; // Workaround for QTCREATORBUG-28470
|
|
||||||
|
tweakedOption.palette = pal;
|
||||||
tweakedOption.rect = rect;
|
tweakedOption.rect = rect;
|
||||||
painter.setOpacity(color.alphaF());
|
painter.setOpacity(color.alphaF());
|
||||||
style->QCommonStyle::drawPrimitive(element, &tweakedOption, &painter);
|
style->QCommonStyle::drawPrimitive(element, &tweakedOption, &painter);
|
||||||
|
@@ -874,21 +874,24 @@ void ManhattanStyle::drawControl(ControlElement element, const QStyleOption *opt
|
|||||||
editRect.adjust(0, 0, -13, 0);
|
editRect.adjust(0, 0, -13, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Qt::TextElideMode elideMode = Qt::ElideRight;
|
||||||
|
if (widget && widget->dynamicPropertyNames().contains("elidemode"))
|
||||||
|
elideMode = widget->property("elidemode").value<Qt::TextElideMode>();
|
||||||
|
|
||||||
QLatin1Char asterisk('*');
|
QLatin1Char asterisk('*');
|
||||||
int elideWidth = editRect.width();
|
int elideWidth = editRect.width();
|
||||||
|
|
||||||
bool notElideAsterisk = widget && widget->property("notelideasterisk").toBool()
|
bool notElideAsterisk = elideMode == Qt::ElideRight && widget
|
||||||
|
&& widget->property("notelideasterisk").toBool()
|
||||||
&& cb->currentText.endsWith(asterisk)
|
&& cb->currentText.endsWith(asterisk)
|
||||||
&& option->fontMetrics.horizontalAdvance(cb->currentText) > elideWidth;
|
&& option->fontMetrics.horizontalAdvance(cb->currentText)
|
||||||
|
> elideWidth;
|
||||||
|
|
||||||
QString text;
|
QString text;
|
||||||
if (notElideAsterisk) {
|
if (notElideAsterisk) {
|
||||||
elideWidth -= option->fontMetrics.horizontalAdvance(asterisk);
|
elideWidth -= option->fontMetrics.horizontalAdvance(asterisk);
|
||||||
text = asterisk;
|
text = asterisk;
|
||||||
}
|
}
|
||||||
Qt::TextElideMode elideMode = Qt::ElideRight;
|
|
||||||
if (widget && widget->dynamicPropertyNames().contains("elidemode"))
|
|
||||||
elideMode = widget->property("elidemode").value<Qt::TextElideMode>();
|
|
||||||
text.prepend(option->fontMetrics.elidedText(cb->currentText, elideMode, elideWidth));
|
text.prepend(option->fontMetrics.elidedText(cb->currentText, elideMode, elideWidth));
|
||||||
|
|
||||||
if (creatorTheme()->flag(Theme::ComboBoxDrawTextShadow)
|
if (creatorTheme()->flag(Theme::ComboBoxDrawTextShadow)
|
||||||
|
@@ -244,6 +244,7 @@ ClangdSettingsWidget::ClangdSettingsWidget(const ClangdSettings::Data &settingsD
|
|||||||
d->useClangdCheckBox.setChecked(settings.useClangd());
|
d->useClangdCheckBox.setChecked(settings.useClangd());
|
||||||
d->clangdChooser.setExpectedKind(Utils::PathChooser::ExistingCommand);
|
d->clangdChooser.setExpectedKind(Utils::PathChooser::ExistingCommand);
|
||||||
d->clangdChooser.setFilePath(settings.clangdFilePath());
|
d->clangdChooser.setFilePath(settings.clangdFilePath());
|
||||||
|
d->clangdChooser.setAllowPathFromDevice(true);
|
||||||
d->clangdChooser.setEnabled(d->useClangdCheckBox.isChecked());
|
d->clangdChooser.setEnabled(d->useClangdCheckBox.isChecked());
|
||||||
using Priority = ClangdSettings::IndexingPriority;
|
using Priority = ClangdSettings::IndexingPriority;
|
||||||
for (Priority prio : {Priority::Off, Priority::Background, Priority::Low, Priority::Normal}) {
|
for (Priority prio : {Priority::Off, Priority::Background, Priority::Low, Priority::Normal}) {
|
||||||
|
Reference in New Issue
Block a user