1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-02 22:55:26 +02:00
Commit graph

35668 commits

Author SHA1 Message Date
Torbjörn Svensson
b212243c2b Bug 579876: Use same bgcolor for occurrence in editor as JDT
Contributed by STMicroelectronics

Change-Id: Ic1bfd9af7d308a8c9b14a9b2f40bbd278a0ceca0
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
(cherry picked from commit a1794246d5)
2022-05-13 10:09:48 -04:00
Torbjörn Svensson
3475ac77a3 Bug 579542: [hover] Backport changes from JDT to CDT
Over the years, there have been a few changes to the
ExpressionInformationControlCreator class in JDT that was never
backported to the CDT version of the class.

Below is a list of JDT commit id's for the changes that are ported with
this change:
* cdcbfc3d91770a370336a7e48fff3e33edcaab39 - Fix bitwise to boolean and
* eab4ed938be7938ecd72592249639084638a3933 - Dispose the context
* ce04ec5c162ac64796da816f4abfa5f415756382 - Set correct themed colors

Contributed by STMicroelectronics

Change-Id: Ib4cc1e65c796d811c84859f7ccb05940934e2890
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
(cherry picked from commit 8ddef84fe8)
2022-05-13 11:03:15 +02:00
Jonah Graham
1606bfa130 Bug 579759: Don't auto-open the Modules view
The Modules view does not do much and in most situations is
not particularly relevant to DSF.

Therefore CDT will stop auto-opening it. See details of that
decision from recent CDT call
(https://www.eclipse.org/lists/cdt-dev/msg35170.html)

The view can still be manually opened as any normal view can.

Change-Id: I492cd8311c566ee5749831864a93bf900160d9dc
(cherry picked from commit 290136af02)
2022-05-11 20:14:30 +02:00
Torbjörn Svensson
520cebeed0 Bug 579876: Make background transparent on icons
Contributed by STMicroelectronics

Change-Id: I51432f72979b7f1d95543ea1f7fcb48c3543bac7
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
(cherry picked from commit b86404669a)
2022-05-10 13:36:10 -04:00
Torbjörn Svensson
6434dd0559 Bug 579876: Don't assume background is white for disassembly view
The trail in the disassbemly view should have luminance going towards
the background color, that might be different color than white.

Contributed by STMicroelectronics

Change-Id: I9e00e71719cbd1fb40cc5e6de983aacbcb854106
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-05-10 11:22:24 -04:00
Torbjörn Svensson
f3d37076d1 Bug 579876: Improve dark theme for disassembly view
Contributed by STMicroelectronics

Change-Id: I6699a003e38c61f70d90d2b1856d4b4edc6032fb
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-05-10 11:22:12 -04:00
Torbjörn Svensson
132c606ea5 Bug 579876: Added dark theme colors for build console and editor
Editor supported dark theme except for inactive code blocks like
  #ifdef
  ...
  #endif

Contributed by STMicroelectronics

Change-Id: I192d76136946a6e4dceaba99a31eb42f7df4c584
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-05-09 15:48:32 -04:00
Torbjörn Svensson
6ae503fb16 Bug 579756: Add support for prefixed toolchain binaries in parser
The GCCBuildCOmmandParser expects the compiler tool to be exactly what's
included in the pattern, i.e. a prefixed toolchain (for example
"arm-none-eabi-" would not match.

Contributed by STMicroelectronics

Change-Id: I9e6b83509ecac9c382f565e5c7b737d12398a196
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-05-08 15:03:59 +02:00
Torbjörn Svensson
0dfd824c4d [releng] Prepare repo for 10.6.2 release
Contributed by STMicroelectronics

Change-Id: I6c65409ecb55d4f975ddb16d7409d8b94adecc52
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-05-08 15:03:54 +02:00
Jonah Graham
2f756f579b [releng] In terminal only profile consume o.e.remote locally
This change should have been done when o.e.remote was added to
CDT but was overlooked until the target platform was updated
to remote old o.e.remote from it.

Change-Id: Ia4238b5b85b42aa32adeeaad23b6f135919652fe
2022-05-08 15:03:31 +02:00
Torbjörn Svensson
a064b83c65 Bug 578367: Include the .css files in the built jar file
Contributed by STMicroelectronics

Change-Id: Ia7381071d1e8b806434ab4633549eb1a5177a584
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-04-19 15:02:21 -04:00
Jonah Graham
2cc30e6acb [releng] Prepare for 10.6.1 development
Change-Id: I8d0ce8dc26dc04f7274118bc43668ec0c29a2d49
2022-04-19 15:02:21 -04:00
Torbjörn Svensson
2578bcf7c4 Bug 579687: Reduce concurrent commands to 1 for GDB 9/10/11
Since the fault in GDB is triggered when there is more than one MI
command sent before the response for the prior one is processed, limit
the number of concurrent commands to 1 for the affected versions.

Contributed by STMicroelectronics

Change-Id: I8a2baa8e641e9bfeb0627ad868a5b41c3f94db14
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-04-19 13:54:02 -04:00
Torbjörn Svensson
0d14063653 [releng] Prepare repo for 10.6.1 release
Contributed by STMicroelectronics

Change-Id: I791b6b750c4df4cdb528d9bb308de29b726c29d5
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-04-19 13:53:44 -04:00
Torbjörn Svensson
586418a4e4 [releng] Prepare repo for 10.6.1 release
Contributed by STMicroelectronics

Change-Id: I7d203748b8a7690f30a831542ac34a07caa2da0c
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-04-19 05:02:38 -04:00
Jeff Johnston
8221562d8b Bug 579668 - Regression in Docker header file support
- fix CBuildConfiguration.getScannerInformation() method to look to
  see if the toolchain is a ContainerGCCToolChain but the include paths
  have nothing pointing to the special HEADERS directory for copying
  over Image headers to the host in which case do a fix-up by
  calculating the scanner info again and massaging the include paths
  as needed

Change-Id: If6f76ef6ffb1bc5958377c565e4847989d5de0db
2022-04-15 00:38:53 -04:00
Jonah Graham
8dc7748433 [releng] Final location for doc builder
Change-Id: I8adde11492ba5b8721db478eaacf83a4abdd215d
2022-04-10 14:54:35 -04:00
Jonah Graham
a7152f25d9 [releng] Stable URLs for Eclipse Platform dependency
This updates the dependencies to the final URL for the 4.23 release

Change-Id: Ief75cd18098f640e33c971faebed13599dd16217
2022-03-14 15:49:56 -05:00
Jonah Graham
96f928152f Bug 579138 - Project dependencies are not built in the correct order
Fixing the issue where circular dependencies cause stack overflow.

Change-Id: I4ca87eb4e8ccb82b25f85d1cea04fc0d4ddd60c0
Signed-off-by: Umair Sair <umair_sair@hotmail.com>
2022-03-08 17:05:13 -05:00
Jonah Graham
968c6937e7 [releng] Update to 2022-03 RC2 dependencies
Change-Id: I4bd79f799a91a9817f4606a740b727c556b9699c
2022-03-08 12:16:19 -05:00
Jonah Graham
0ac321fde9 [releng] Update to 2022-03 RC1 dependencies
Change-Id: Ib9a4bc1224020260f968e4c5d9cc1ed283adf9d9
2022-03-01 19:37:33 -05:00
Jeff Johnston
246cde0eeb Bug 578984 - Docker launcher should require Linux Tools Docker feature
- have feature require linuxtools docker feature instead of plug-ins
  so that p2.inf changes will be brought in

Change-Id: I8c2b4d6d3de85f238c5b91c791546ac99539132f
2022-02-25 15:33:47 -05:00
Jonah Graham
687503911b Dispose of icons in managed build settings pages
In Bug 531915 the code was rewritten to use imageDescriptorFromBundle,
which lead to url being null all the time. This meant only the last
loaded image was being disposed properly.

There fix to Bug 531915 had another side effect - it changed the caching
of icons from the Image to the ImageDescriptor.

As it has been ~4 years without the image being cached, I suppose it
is ok to leave it not cached and instead I store the images to be
disposed of in a list.

Change-Id: Id3427ebfc8720da52132bd8f11714bba1e2cd0bf
2022-02-25 11:39:22 -05:00
Jonah Graham
45237eed0b Dispose font in TerminalColorsFieldEditor
TerminalColorsFieldEditor had a dispose method, but
FieldEditorPreferencePage does not call dispose on the
individual field editors despite API implication that
it should.

Change-Id: I98c2987446d8b005cbca571763a9e811e966e0d3
2022-02-25 11:26:49 -05:00
Jonah Graham
4c87198224 Bug 573730: Turn on ConPTY as default PTY in Windows
Change-Id: I27b2719c8fc5853792eba403fd5f5ca116dd7156
2022-02-23 14:38:57 -05:00
Martin Weber
1c404b050d Bug 578683: o.e.cdt.jsoncdb.core Arglets are not thread safe
Change-Id: I5f54d6729cffcf47382a37a436a2772a5ca84340
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2022-02-14 13:07:28 -05:00
Torbjörn Svensson
ab1c0fddc4 Bug 578400: Refresh view on ICommandControlRefreshAllDMEvent
Contributed by STMicroelectronics

Also-By: Jonah Graham <jonah@kichwacoders.com>
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
Change-Id: I879c09e90056798ddf3b6da44d1399afd7139600
2022-02-10 10:35:23 -05:00
Torbjörn Svensson
21b442bd7f Bug 578400: Don't assume PC has not changed on refresh
Contributed by STMicroelectronics

Also-By: Jonah Graham <jonah@kichwacoders.com>
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
Change-Id: Ic03df0d032890aac9196b3c437148c8d82499d32
2022-02-10 10:35:23 -05:00
Torbjörn Svensson
fcf416ab6d Bug 578400: Handle refresh event to show right source code
When the ICommandControlRefreshAllDMEvent is sent, open the coresponding
source file to the new stack frame. It could be the same or a completly
different file as before the event.

Contributed by STMicroelectronics

Also-By: Jonah Graham <jonah@kichwacoders.com>
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
Change-Id: Ib99f19f444a5bae1d99072ec9ed07e5666732bb6
2022-02-10 10:35:23 -05:00
Jonah Graham
72efb17cda [releng] Prepare for 10.6 development
Change-Id: Id648081713b5a16ff702180efb166f230000a641
2022-02-10 10:35:23 -05:00
Jonah Graham
7099ca2f16 Automatic code cleanup.
Change-Id: Iab803eb99f213e8e161d9d7928da146fca97772b
2022-02-09 19:52:05 -05:00
Jonah Graham
ecef51bc85 [releng] Prepare for 10.6 development
Change-Id: I83fef6d322c1d2278d9341865c9c7eb980fa5454
2022-02-09 19:52:05 -05:00
Martin Weber
db9e65a6c8 Bug 578412: ConcurrentModificationException at o.e.cdt.jsoncdb.core.internal.ParserDetection.determineDetector0()
Change-Id: Ie896428814e6a8aa83704c430d360913aba21e96
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2022-02-02 16:51:14 -05:00
Jonah Graham
c2c8099672 [releng] Update to 2022-03 M2 dependencies
Change-Id: I95d2575eff05f1f16913211c2a8354bc7931e72a
2022-02-02 16:00:09 -05:00
John Dallaway
e1e9d9e792 Bug 578323: Initialize memory data before remote connection
We must ensure that memory data is initialized before the restoration of
persisted memory monitors is triggered.

Change-Id: I1fc2af877d27f331fbc4c516c05fb871dad410c4
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2022-01-26 03:24:23 -05:00
Martin Weber
7dc382abe3 Move class o.e.cdt.jsoncdb.core.participant.Arglets.SystemIncludePath_armcc to plugin org.eclipse.cdt.jsoncdb.arm
Eliminates a TODO.

Change-Id: I00b30ce14b0218947e7a93b95cd8f6e66ae2b650
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2022-01-25 19:36:44 -05:00
Martin Weber
93d0bf59c5 fix misspelled class name
Change-Id: I2f58a95d8e2d07a7b62a05e3868c96856519a40c
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2022-01-25 19:36:44 -05:00
Martin Weber
7edb016257 Bug 578223: JSON compilation database parser: Add more compiler options that affect built-in detection for gcc
Change-Id: I2734b0317079d8a48fdbdde98f105bfe47dbdb8e
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2022-01-25 19:36:44 -05:00
Jonah Graham
2c329f6a82 Workaround PDE bug that displays API errors where there are none
Change-Id: I8d737b9ae339c105f369ec1b54efdaa7fd7bc493
2022-01-25 19:36:44 -05:00
Jonah Graham
cb1228180c Bug 578367: Add missing dark color definitions for autotools and makefiles
The colors chosen were based where possible on the colors of the CDT
main editor (org.eclipse.cdt.ui/css/e4-dark_cdt.css) for similar
syntax/semnatic elements.

Change-Id: Iea6ccb481b8d1b16aa2d6dda16e44b2512662fa0
2022-01-25 15:25:27 -05:00
Jonah Graham
e9025adc2d Bug 578367: Prepare for CDT 10.6.0 dev
Change-Id: Ibcdfb5e3aa1bbd47cd4c53e1a7be6d69dbe92c81
2022-01-25 15:25:27 -05:00
Torbjörn Svensson
8dc69b7bac Mark RequestMonitor done in flushAllCachesAndRefresh
If the request montior is not marked done, the call can hang.

Contributed by STMicroelectronics

Change-Id: I9c7989e889d70d59d420a3d170e1587a2e2abafe
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-01-25 20:01:27 +01:00
Jonah Graham
d4a17751d5 Bug 578220: Call the UI for saving log file "Save"
previously the button was called "Copy Build Log" because under the
hood the file was copied from the internal storage location. But users
see this as a "Save" so call it that.

Change-Id: I46fa18e87c47884d54ba8ca16d20ef68c5095663
2022-01-14 12:58:33 -05:00
Jonah Graham
a7746e4e9e Bug 578219: Make the FileDialog in Copy Build Log a Save dialog
Prior to this it was SWT.NONE which is now being interpreted as
an Open dialog which means an existing file must be selected.

In some conditions the SWT.NONE would allow a new file to be entered
that didn't exist already, so this did not affect everyone.

With this change a normal Save dialog is presented, and the OS confirm
overwrite is enabled.

Change-Id: Iea8c4211f8d9fe0c2f4d423780d91a62f6d3edab
2022-01-14 12:58:33 -05:00
Jonah Graham
51f7c4b4e4 [releng] Prepare for CDT 10.6.0
Change-Id: I78808c5292b75a3a4b651b8fda6a8f1814702571
2022-01-14 12:58:33 -05:00
Jonah Graham
cf00e4b27e Bug 578187: Don't discard make arguments
If a user set the make arguments manually to what the automatic
arguments would have been if enabled, they would be discarded. This
change does not do that bit of magic anymore because the user
now (since Bug 568397) edits the build command and arguments
separately so less magic needs to happen in the code.

This is a follow-up to Bug 568397.

Change-Id: Ie8f51cbb86133fc4a9506913743613712e93d881
2022-01-12 18:57:12 -05:00
Jonah Graham
640dc53892 [releng] Bump version numbers for all modified projects
Change-Id: I0d78c550512d8e63374bf1bc3a53f80e5d387e31
2022-01-12 18:57:12 -05:00
Jonah Graham
431e5ffd23 [releng] Bump end year on copyright on all modified features
Change-Id: I0d35eb6514d87fb6dcba0a284f58963b80861d51
2022-01-12 18:57:12 -05:00
Jonah Graham
54c31c4126 [releng] Update Standalone debugger to new bundles for Platform 4.23
Change-Id: Idae45660d2c3822394199cd9a8ad6b964a7e3402
2022-01-12 18:57:12 -05:00
Jonah Graham
8adb3bf37e [releng] Resolve API errors and warning since branch
The org.eclipse.remote.* version bumps were all because of
BREE change since the last release.

The api filters are removed because of the baseline bump

Change-Id: Ic7317dafa9872bb737502654a726823a35ec47b3
2022-01-12 14:12:50 -05:00