Commit Graph

33 Commits

Author SHA1 Message Date
Jarek Kobus
11a8c55f38 Various plugins: Remove unused variables
Change-Id: Ie2e5eb38d81a7582c5715654f09f28deb4ab11c5
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2024-01-29 07:44:39 +00:00
Marcus Tillmanns
b1ec196c14 CompilerExplorer: Add fallback document path
Fixes: QTCREATORBUG-30200
Change-Id: Iecbecf9f065a938881e2afa33ff6736bc3f2ee4a
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
2024-01-16 09:50:54 +00:00
Jarek Kobus
0c4701e45d CompilerExplorer: Avoid using keys()
Instead, iterate directly over the container.

Change-Id: I6a3cb7d623e083663a11389f15b8d51599f338a3
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-01-08 14:36:55 +00:00
Marcus Tillmanns
3425959e21 CompilerExplorer: Add assembly => source links
When hovering over the assembly, the matching source lines
are highlighted. Links inside the assembly are now clickable.

Change-Id: I22479a2e1badcfd95e0f341b2556fc93c8469625
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-12-14 10:14:02 +00:00
hjk
016936a450 Clean up some lambdas
Change-Id: Id947c0935b1aa4579e1c64d3e510db41103fbe27
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2023-12-12 10:55:32 +00:00
Eike Ziller
7ec55f89f1 FancyMainWindow: Use "Store" type for settings instead of custom QHash
Change-Id: Id0735af2ee9b138c9a53525a236fde2a0310c695
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2023-12-11 08:04:15 +00:00
Eike Ziller
7bd99104e0 Merge remote-tracking branch 'origin/12.0'
Change-Id: I2594f193260a103e1c4484fcab974213c881353d
2023-11-09 08:22:27 +01:00
Marcus Tillmanns
6e1d7fc961 CompilerExplorer: Fix crash on undo
We need to store the source text document so that when the editor
is remove and the user triggers undo/read, the pointer is still valid.

Change-Id: I571906db1c4424455172a42d72351cd9ba1e7c03
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-11-09 05:55:08 +00:00
Eike Ziller
d2500dc77b FancyMainWindow: Remove auto-hide title bars functionality
This added complexity with the hovering to get the title bars shown, and
discoverability issues with the action in the views menu to show all
title bars, and the issue that some docks then had double titles,
because we wanted some title to be shown even if the title bar is
hidden.

Instead only show the dock control buttons only on hover, which already
removes a lot visual clutter that was the main reason for the
whole exercise.

One issue is that the title is now uselessly repeated for tabbed docks.
Another is that the title bar style is ugly and not very compatible to
what we otherwise have.

Change-Id: Ib093e0a3f2f07ece74b9055015c5523994032c5a
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-11-07 13:50:05 +00:00
Marcus Tillmanns
141cf78b2d CompilerExplorer: Fix adding text marks to ASM
Change-Id: I99d5090f770ad74c0e0c0317186d436ced492280
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-10-31 12:43:09 +00:00
Eike Ziller
ad7d559028 Tr: More small fixes
Change-Id: I5d9324d3f64eaa522fa1d435efa39fa43d84798a
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2023-10-18 12:10:45 +00:00
Marcus Tillmanns
fdeff13ca3 TextEditor: Don't export KSyntaxHighlighting
Change-Id: I84fa8c758af412d8847391a628deac60279b9448
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-10-17 13:25:50 +00:00
Marcus Tillmanns
e3f33962e3 CompilerExplorer: Fix highlighter for assembly
Change-Id: Id58546d99232b19252c99da5018c1ce45a2e8dc5
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-10-17 08:53:45 +00:00
Marcus Tillmanns
a4df0a3cc4 CompilerExplorer: Add "powered by" label
Change-Id: I0006d314ee69f863e48196a7719a3ef7ebc127ae
Reviewed-by: hjk <hjk@qt.io>
2023-10-16 08:07:36 +00:00
Marcus Tillmanns
8475872e10 CompilerExplorer: Add missing translation
Change-Id: If12a0530addf3c815d7b3a25b6dfdd90d29361a6
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-10-16 08:05:50 +00:00
Alessandro Portale
b265e0906c CompilerExplorer: Use StyledBar
Change-Id: I9f80a025a6ed3a4732794b4715a25ce3b90f6d43
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-10-13 07:38:40 +00:00
Leena Miettinen
fbe6c0d977 CompilerExplorer: Fix UI text caps and punctuation
Change-Id: I44fff47e3aef1b2910f22efd05201e81f6995024
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-10-11 14:53:34 +00:00
Marcus Tillmanns
09d066108e CompilerExplorer: Improve error reporting
Displays network errors as disrupting, instead of just sending
them to the log.

Change-Id: If5a3dbb733f1433dcc2bcd0a52ad12d8ee3b85ef
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-10-11 14:43:49 +00:00
Marcus Tillmanns
4aef48de5e Utils: Add AspectList::createAndAddItem
Adds a function to add a "default" constructed new item to the list.

Change-Id: I3d826b6f3e3705ae431efa5d778219f431509ea8
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-10-11 10:29:14 +00:00
Marcus Tillmanns
8169e233c0 CompilerExplorer: Add Toolbar button to add source
Change-Id: I0d8fb50fe1ce5305a93b524a9807997124ab119b
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-10-09 13:02:31 +00:00
Marcus Tillmanns
fe430bebbe CompilerExplorer: Fix undo
Fixes context handling for the Editor. This allows Undo/Redo actions to
activate correctly.

Change-Id: Ieb7fa27215f5746cf5f26e8e7b3b74f44023481c
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-10-09 10:34:14 +00:00
Marcus Tillmanns
aeb05db3af CompilerExplorer: Disable Dock menu and close
Change-Id: I874e624cc35c337a7774377847f5f1a79b07a2b4
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-09-28 06:59:40 +00:00
hjk
342e066886 Utils, all: Standardize on QtcSettings
Change-Id: Id222016f15b1c3bfe6710fe5d0297666d4565ef1
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-09-27 13:25:31 +00:00
Marcus Tillmanns
bb8961c893 CompilerExplorer: Cleanup
Split up EditorWidget constructor into member functions.

Change-Id: I4c762671263b802612a750568f608ac1823b41a4
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-09-26 09:57:28 +00:00
Marcus Tillmanns
b60a4705d0 CompilerExplorer: Add wizard template
Also include "src/plugins/**/wizard.json" into .gitignore.

Change-Id: Ib0576df15af4c112a4a27101d337522db6c19f25
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-09-26 09:57:10 +00:00
Marcus Tillmanns
d7ef2f816c CompilerExplorer: Fix saving
Change-Id: I7f6770170c76d636fa2d3631d9ff462da9e227bd
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2023-09-26 07:21:10 +00:00
Marcus Tillmanns
4bdc023e32 CompilerExplorer: Enable undo/redo
Change-Id: I06bba06181784de07f89f01a3bfe586513d63c66
Reviewed-by: hjk <hjk@qt.io>
2023-09-21 12:58:06 +00:00
Marcus Tillmanns
7b3dbfc21f CompilerExplorer: Fix load/save
Change-Id: I2bc1bdbab73b37a5af9bc1fcd040c8ec0c7f363a
Reviewed-by: hjk <hjk@qt.io>
2023-09-15 06:26:49 +00:00
Marcus Tillmanns
d44afce0f0 Utils: Add AspectList aspect
Change-Id: Id164828f4ba46c973edbcd123c855bb7b70ad8f7
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-09-14 11:37:10 +00:00
hjk
e6a1d6685e CompilerExplorer: More Key and Store
Change-Id: I49a79e672915503359380e776b994e53b210eda9
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2023-08-28 13:30:38 +00:00
Marcus Tillmanns
1bcc5b137d CompilerExplorer: Add Mimetype
Change-Id: Id267d6d164a4ce8b1527ccb9dc6d1e4b6b289833
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-08-28 08:39:04 +00:00
Marcus Tillmanns
a331f0a8c8 CompilerExplorer: Implement saving documents
Change-Id: Iccfd300a9f0fc25bafae9892c14f172874a99ce1
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2023-08-28 06:54:03 +00:00
Marcus Tillmanns
e34762c844 Add CompilerExplorer plugin
Change-Id: I534dea195a0b74f177fc227483752777485be177
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
2023-08-17 07:11:45 +00:00