Marcus Tillmanns
a25bbf23c6
Utils: Fix error prone default value of appendOrSet
...
It was not readily clear that Environment::appendOrSet/prependOrSet
needed a value for "sep", otherwise it would just concat the values without separator. This got apparent when looking at usages of
appendOrSet.
Instead there are now three options, "Auto", "Colon" or "Semicolon"
with the default being "Auto", which determines the separator based on
the Environment::OsType.
Usages of appendOrSet and prependOrSet are also fixed with this commit.
Change-Id: I868e14ce38f50be9cd07292fe3f22663a62d116d
Reviewed-by: hjk <hjk@qt.io >
2024-01-26 10:10:03 +00:00
Marcus Tillmanns
56f42c319e
Terminal: Fix env separator
...
Change-Id: I738ff27d37df95170bbdc9f55fbaf6430ebb5a40
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2024-01-26 09:36:33 +00:00
Marcus Tillmanns
273656c927
Terminal: Fix fish shell integration
...
Change-Id: Ib9156be851d092db2a28641a292ae32e76314bec
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
2024-01-25 12:15:27 +00:00
Marcus Tillmanns
9e31654339
Terminal: Fix bash shell integration on KDE
...
Change-Id: I7c84cee276f1ee2fd902a447b763609534285911
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io >
2023-09-28 14:03:06 +00:00
Marcus Tillmanns
ea14ada43b
Terminal: Fix handling big chunks of OSC data
...
ShellIntegration previously ignored the initial and final flags of onOsc.
Change-Id: Ifa9594fba654cf543c117835fc182d4642dc70e4
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
2023-08-03 09:19:27 +00:00
Marcus Tillmanns
8ac9404725
Terminal: Add support for copy (OSC52)
...
Allows terminal apps like vim to set the clipboard, even from inside
an ssh/remote shell.
Change-Id: I1d068737ef65bb4541c3fc9c43870986865f1b45
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
2023-08-03 09:19:22 +00:00
Marcus Tillmanns
42ed82973c
Terminal: Create Terminal solution
...
Change-Id: If271fd23a84c49bbc25fcc3b9bc0939c7237d095
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
2023-07-27 12:03:17 +00:00
Marcus Tillmanns
7b3c2c13a1
Terminal: Decode percent encoding
...
Fixes: QTCREATORBUG-29254
Change-Id: I0d1712753f488dff9252d2fcf099c9aefb06ed0b
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-06-06 06:43:36 +00:00
Marcus Tillmanns
161cac0a85
Terminal: Fix Shellintegration for bash
...
bash needs long options to be before short options.
Change-Id: I277a9283253f11bcb76e0366a0b6c5a0346fdfd8
Reviewed-by: hjk <hjk@qt.io >
2023-05-12 09:35:43 +00:00
Marcus Tillmanns
5ea6c34a23
Terminal: Fix shell integration for login shells
...
Change-Id: I78cc4b60b4e2164752b7b65e2e61659e5d5bbe22
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
2023-05-09 11:20:36 +00:00
Jarek Kobus
470c95c94b
Utils: Rename QtcProcess -> Process
...
Task-number: QTCREATORBUG-29102
Change-Id: Ibc264f9db6a32206e4097766ee3f7d0b35225a5c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: hjk <hjk@qt.io >
2023-05-04 05:52:16 +00:00
Cristian Adam
dad415b884
Terminal: add cmd shell integration when using clink
...
The script was provided at https://github.com/chrisant996/clink/discussions/453
If clink is not installed cmd will not have any issues, since only
the environment variable CLINK_PATH will be set.
Change-Id: I9f1d16933ae6bbcb3da1243e8704af6dc86b9a4d
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-04-25 09:23:22 +00:00
Marcus Tillmanns
bd52e53dbf
Terminal: Add shell integration
...
Change-Id: Ic1e226b56f0103e5a6e7764073ab7ab241b67baa
Reviewed-by: Cristian Adam <cristian.adam@qt.io >
2023-03-16 06:08:09 +00:00