There's no guarantee that items in the collected list don't die for
other reasons before it's their turn in the loop.
Change-Id: I5e81a25c3c205646eece30d6dd1a95f4b97eda05
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
The whole point of tracking external changes to files is to use the open
files as a sentinel to indicate that non-open files (on which we don't
have a watch) have likely also been changed.
This reverts commit cff26d813a.
Change-Id: I5a8b3e6709eda881b912916cf0838b45d1ff4fa4
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
- Split the topic up into how-to and reference topics
- Add and remove descriptions of preferences
- Move general information to the overview
- Describe qdt locator filter
Task-number: QTCREATORBUG-30209
Task-number: QTCREATORBUG-29361
Change-Id: Idb29eebaeb2f77326ebbb5e6b5654c135473f329
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
All the CMake files the belong to packages found with `find_package` are
part of the project tree, but we shouldn't include them when searching
through "files in the project".
Set listInProjects to false for these files.
Fixes: QTCREATORBUG-30372
Change-Id: If39d477f14dc3207f4e2dd66b2f3969811dbd863
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Rationale:
- Selecting and unselecting should behave symmetrically.
- The user is informed of and can easily change the set of
pre-configured build configurations.
Fixes: QTCREATORBUG-30412
Change-Id: I86e6a41c3baed280df9a694d6cf6eb631cb537f9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Currently the user can't change the Url. This is for the future.
Change-Id: I7854c1dc0e680c9aa4bbb41d44dbcb9540a3b34b
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
- Move info about viewing search results to the Search Results View
reference topic
- Remove the Refactoring top-level topic (the general info is now in
the Overview topic)
Task-number: QTCREATORBUG-29361
Change-Id: I4072e628368905ed1d5006ececae1b9eaa02fa10
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
You can now view and filter issues from selected results.
Task-number: QTCREATORBUG-30209
Change-Id: I175f71589755af3bd75813eea237487128f36c42
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Some tests are failing because of QTCREATORBUG-30466
unless someone resizes Creator's windows manually.
Task-number: QTCREATORBUG-30466
Change-Id: Ibeecc2abd85839be3497691912e411862c465a89
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
On Linux/KDE systems, the KDE documentation files can be installed in the
Qt documentation directory. This leads to a great of documentation files
to be loaded by default, which we try to avoid for performance reasons.
Restrict the pattern for .qch files to start with a 'q', which still
matches the Qt documentation files. If the user wants the documentation
of KDE libraries, they can register them manually.
Change-Id: Ib658c3b2c26a97ca69a8c0e46a5057a58b5a7ec7
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
If we activate an entry before we handle the context menu event we might
switch into another mode. For example when right clicking on a ui File.
Fixes: QTCREATORBUG-30357
Change-Id: I8de78c3a6bbd9d62e2766ccd2059ee3ee4ef0870
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This is usually the better choice because it takes dialogs into account.
I had one message box vanish behind the rest of Qt Creator, which could
be better with this.
Change-Id: I47b93e120a9e86f9f81da8e542477f1c6274bf87
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Adjust the output Terminal font size based on
the text editor font size settings.
Change-Id: Id1047f0fce0ac781cbc51b01f0df9657b179d71a
Reviewed-by: David Schulz <david.schulz@qt.io>
Previously adding a new Compiler would not compile the current source,
but the last "applied" source.
Change-Id: I0979d21a61808e7bc03e5b72e9c8a2492200c8f6
Reviewed-by: hjk <hjk@qt.io>
It used the wrong color token. With the correct one, the hover effect
is a bit less prominent.
Change-Id: I95a1f5a92f95d4055ae8bce703fdc633b122ac59
Reviewed-by: hjk <hjk@qt.io>
Users should know before downloading. Might
also avoid some duplicate bugreports.
Change-Id: Ib2d5964fcbb314d7b1c25a281bf5c255a47b3e86
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This used to work in previou Qt Creator versions.
Task-number: QTCREATORBUG-29662
Change-Id: I97b0b15edbc39c2d6c11bb7d71cacd7e006a26f5
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Previously, the final highlighting results we showed were incomplete and
out of order.
Change-Id: If18062cc5a7f3156d6bb0b282aed33906cdef910
Reviewed-by: David Schulz <david.schulz@qt.io>
The widget is visible by default and will be shown when it
gets added to its parent widget.
This patch avoids a short popup of the widget which is not
added to its parent when opening the C++ settings.
Amends e1f7469afb.
Change-Id: I7fd40e1fff4872c725ec84b5d1c1e60d6b2b22ce
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Fix the integration of SCENARIO_METHOD.
Allow the catch2 fixture to have namespace before the class.
Fixes: QTCREATORBUG-30454
Change-Id: I27b0578fae12715e6a4466289ed4cc34351f3112
Reviewed-by: David Schulz <david.schulz@qt.io>
The resize handle of a header has some margin to decide
whether to start a resize attempt.
This margin interfered with our randomly chosen one.
Take the needed margin into account and beside this store
an additional information about the column that triggered
our sort toggling attempt.
This avoids starting to toggle some column and moving
slightly to the next one and ending up in sorting the
final column of the move.
Change-Id: I8199f90fd06145c61d2c5e7574b6f040c72022b6
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Skip adding object libraries paths to runtime PATH.
Also add only the paths that contain the dll files.
Fixes: QTCREATORBUG-29662
Change-Id: I58cd9b24c6c079b99ed51ae2ebd315a1aa195f04
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Setting the breakpoint actually worked, but it was reported back
using a wrong address, so it never went "red" in the disassembler view.
Change-Id: I4c2bd808705dfe793c0febf29b3e78b318dbae00
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
- Git Branches view now shows the differences between
local branch and origin
- The + button in Git Branches adds a branch
Task-number: QTCREATORBUG-30209
Change-Id: I75909c7c196b0fd81ca38749e456bc80187b822d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
These are fuzzy decl/def switches, where clangd does not fail, but
returns the original location.
Change-Id: I86814c2dc5e1b8ec9085fd1486c0120e2f98a3b6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Try harder to find a suitable kit:
- Pick one without warnings.
- Pick one with a Qt, as otherwise configureAsExampleProject()
will fail.
Change-Id: I5a38e86bd81840c6794de365980618c904936d3a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Ensure that after authorization we have fetched the initial
dashboard info. If the fetch fails, we remove the stored
ApiToken from the key chain.
Change-Id: I894b9d8bc8ade8ec6fa29391fafa67ad5b4fabba
Reviewed-by: Christian Stenger <christian.stenger@qt.io>