There is now an additional whitespace at the end of
the commit due to different formatting.
Change-Id: Ic3046fde626c8dcda3f902813c5474704af09c09
Reviewed-by: Jukka Nokso <jukka.nokso@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Changes LSP.Client:documentVersion() and LSP.Client:hostPathToServerUri()
to return ok and error message in case of errors.
Also fixes the binding to take a self parameter so it fits to the function
documentation.
Change-Id: I605b7bacba2822c3efd5291d1f7bacf1ecb863d5
Reviewed-by: David Schulz <david.schulz@qt.io>
For Example:
3rdparty\zlib\src\gzlib.c(235): warning C4996: 'open': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _open. See online help for details.
Change-Id: Ifd89210cf782e9bbdbe5253e7dcef613e29e5f1f
Reviewed-by: David Schulz <david.schulz@qt.io>
C and C++ compiler are now treated as related and are used
as bundled unit.
Change-Id: I3d2539067eb9245d734c6b98c46e8e479fdef965
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
The issue was: when the user removes the function definition and
insert it back folding isn't changed.
Now it triggers rehighlighting of the next line.
Change-Id: I5dcc67ed2e09a20d54e3a38c9605a4a24ad79177
Reviewed-by: David Schulz <david.schulz@qt.io>
The Syntax "%topic=foo" was already introduced in
Gerrit 2.6, but until recently Gerrit supported
the old "refs/for/master/topic" syntax.
This support was dropped at some time, I was not
able to find when exactly.
[1] http://gerrit-documentation.storage.googleapis.com/ReleaseNotes/
ReleaseNotes-2.6.html
Fixes: QTCREATORBUG-31411
Change-Id: I96674abf4ce946f1064a5f01173f4ea81f5317f3
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
In this way it's possible to attach the executable item's additions,
like withTimeout() or withLog().
Change-Id: Iff668627413a0d1e6499374cf74a545b2f166d62
Reviewed-by: hjk <hjk@qt.io>
This adds a filter icon on the column header if the column
is marked as filterable.
Beside this the header view now only adjusts the width when
necessary.
Change-Id: Ib25bc7ba64689209b113cd5a7b4d4e8a615b3282
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
The issue table can be sorted by multiple columns. The
sorting itself happens on the server side, so it is
only necessary to reflect the sort state and adapt the
search according to the sort columns.
Sorting may now happen the following way:
* click sort ascending or descending marker to set
the column as sort column or remove the marker
if it is set
* hold Shift while click appends the column to the
current sort columns with the respective sort
order or removes it from the list if this marker
was set already
Change-Id: I180f14bc6b4785d13a6fd4669830dc323c0c32a7
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Splitting the column information across multiple lists
was not smart as it complicates the handling and the
planned extension.
No change in functionality intended yet.
Change-Id: I968edf28a6a279a14dbe223bf21e007b3e42f843
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Also change the caller side of the setter cosmetically.
Change-Id: I1422d90c3ede016ff872d23ad2291ae5b2b02264
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
... for purposes of kit auto-detection. This likely matches user
expectations.
Fixes: QTCREATORBUG-29913
Change-Id: I0319216d0692200190ca5e2bc3b46b0c3bcf7362
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Remove some unneeded Q_OBJECTs and indirection.
Change-Id: I37a149714440b1efeabdaee0231400f28e78d0dc
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This way the CMake Project Manager will behave in the same way as QMake
Project Manager!
Change-Id: I3c4bd6b2f4f0f5d4dfc73edb2049d6e251154d54
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Amends 76dcc069d6
As a user I expect that the "Forms" and "State charts" source groups
should go away if I select the filter "Hide Source and Header Groups" in
Projects view.
They are not meant to be user defined source groups.
Change-Id: I17db9eb7e1da17b93a45f6093782add19c2b5cb1
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
All CMakeLists.txt from the Project view are marked as generated, except
the root one. This means that in normal case they will be hidden.
Every CMake Target (except Utility) will get a CMakeLists.txt:<number>
entry with the definition line of the target.
The CMake Folders will get an entry with the CMakeLists.txt which can be
accessed via context menu and "Open...".
The CMake Folder that only had a CMakeLists.txt will be removed when the
filter "Hide Empty Directories" is checked. This for example makes a
reduced plugin Qt Creator only display the enabled plugins, and not all
plugins!
With this change the "Simplify Tree" view will no longer have many
CMakeLists.txt entries, which makes the view more useful.
Fixes: QTCREATORBUG-31362
Change-Id: I708171e4b114100fae6fb592044a19fc36239261
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Do not overwrite error messages by an empty string, if the last file in
the list successfully is determined.
Also do not show the error message twice by avoiding the
summarySettingsHaveChanged() call at the end of initialize(), which
tries to contruct the generated file list again.
Change-Id: Icaa329fcdd8882d49c4776aaced23e0094cfe857
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
... in the bundle itself, whenever possible.
It's very annoying to have to add this stanza in all places where
bundling takes place, and it's also easily forgotten, introducing memory
leaks.
This also nicely self-documents the expectations of the calling code as
to whether new toolchains can or cannot be created in the given context
as a side effect of bundling.
Change-Id: I78d2d4cdfc1010568f61f201b0d930b01f79a88b
Reviewed-by: hjk <hjk@qt.io>
On linux, when a file is deleted and re-created, inotify will no longer
signal changes to the file. We have to check and possibly add the
path again after each notifcation.
See also: https://doc.qt.io/qt-6/qfilesystemwatcher.html#fileChanged
Fixes: QTCREATORBUG-31353
Change-Id: Ibaa94aced33089160fe5cf81faca9a9b72045d30
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Effectively from container of pairs to pairs of containers.
Saves a few transformations and temporary lists at the price of
effectively storing the keys twice. This is all small stuff, so
it should not matter performance or memory-wise at all, but helps
me to reason about potential complexity on higher levels.
Change-Id: Idf9e235b64d97b1168278ea3dcda34a476c20c08
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
The goal is to create a workflow that allows building the plugin on
GitHub and uploading it to the server, making the plugin available
in the QtCreator Extension Manager.
Added registerPlugin.js script:
- This script creates a plugin.json file compatible with the server API.
- The file can be sent to the server, requiring TOKEN_QT in GitHub
secrets and API_URL set in the script.
Updated main build_cmake script:
- Added a state that generates plugin.json and includes it in artifacts
and releases.
- Gives possibility use GitHub releases directly in QtCreator to load
the plugin, even if the plugin data wasn't uploaded to the server.
Added ./build directory to .gitignore.
To use workflow:
- Create in github repository->settings->Secrets and variables->Actions
->Repository secrets new TOKEN and set the value from your Qt Account
- Add to the Repository secrets API_URL from your Qt Account
- In github reposytory->Settings->Actions->General->Workflow permissions
->Read and write permissions set to true
- Create relase tag in format "vx.x.x" e.g. "v0.0.1" by git tag v0.0.1
- Push chages and tag git push --tag origin main
Change-Id: I2135e0684bd3560736ecf7be1d25199713661c39
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>