1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00
Commit graph

35735 commits

Author SHA1 Message Date
Jonah Graham
ad1473feef Bug 579666: Mark parts of AbstractPage API for deletion
Change-Id: Iddade3b1a1fb848703d87ee9d1d3233bd6ab55ed
2022-04-18 19:27:48 -04:00
Torbjörn Svensson
96d8c32368 Prevent NPE in property change callback
Contributed by STMicroelectronics

Change-Id: I7be0660541bfe85cd0c371eddeb7ef14eb2fe75d
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-04-17 17:27:24 -04:00
Jonah Graham
5e5373982f Cosmetics.
Change-Id: I7b563198e5b0b5eb58d3d270b134afa62e9b0dc5
2022-04-17 15:05:08 -04:00
Jeff Johnston
7991361258 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-14 20:47:32 -04:00
Torbjörn Svensson
7581f79346 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: I5b47fc64d90eefdc44c1d2ead0da99b35aadfa39
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-04-14 18:27:12 -04:00
Torbjörn Svensson
f5446675ec Bug 579666: Mark fileds and internal class for removal
This is the first step towards fixing the dark theme on windows.
In order to fix the AbstractPage class, an API breakage is required and
this will pave the way to let any sub-classers know that things are
about to change. From my point of view, the marked fields and the
InternalTab class should never have been part of the API as they are
internal to the AbstractPage class that contains proper API methods.

Contributed by STMicroelectronics

Change-Id: Icfea8c963727718d4dc99e8df916674384dcb532
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-04-14 05:42:04 -04:00
Jonah Graham
7400e22b1f [releng] Update all legal files with update_legal_files.sh
The about.html was changed as per
https://gitlab.eclipse.org/eclipsefdn/it/websites/eclipse.org/-/issues/90

Change-Id: Ied879279460a8fc610630fc26794ab3df9eae39f
2022-04-13 13:42:35 -04:00
Jonah Graham
a4480e4db6 [releng] new script to update all legal files
Change-Id: Ica07264a13015e81237e71f3b9cd3f3d5f20183b
2022-04-13 13:15:06 -04:00
Jonah Graham
1f0451c163 [releng] Prepare for 10.7.0 with version bumps
All the about.html files are updated, so every bundle that hasn't
already had a bump in 10.7 needs one now

Change-Id: I6143d2fbe77a58a3a6d2f4a226d96087117f9ac1
2022-04-13 13:15:06 -04:00
Jonah Graham
2402a0101e Bug 579669: Ignore .settings in some tests
In Eclipse 4.24 .settings is created all the time for new projects,
for CDT test projects which have the root of the project being the source
root this means that .settings is now returned in various places.

This patch removes .settings from results before checking results against
expected results.

Change-Id: Id02e9b8f25b109ed289d22ffb526ecceb747d4f7
2022-04-12 14:30:37 -04:00
Jonah Graham
e954ff6fe1 Bug 579669: Remove testProject in finally block
These tests were not cleaning up properly if they failed.

Change-Id: Ic649335dd439a1cc29dd2784b203158e49d4bb1c
2022-04-12 13:41:36 -04:00
Torbjörn Svensson
af2b4aba4b [releng] Add missing project files for o.e.remote.telnet.core.tests
Contributed by STMicroelectronics

Change-Id: I3fb80c09b10de227df42a7bb41aa81b6b94cab46
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-04-12 18:08:51 +02:00
Torbjörn Svensson
ffb319ba61 [releng] Correct version increment due to new API
Contributed by STMicroelectronics

Change-Id: I9aad65f862f4681c531baa0ca94b312f9c1774af
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-04-12 08:18:45 -04:00
Jonah Graham
04296f1594 [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-04-12 08:05:46 -04:00
Torbjörn Svensson
c5f0f85be0 Avoid NPE and redrawing disposed widget
Contributed by STMicroelectronics

Change-Id: I753844ff035bc6b3511c1e283e80e37bd547b6e7
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-04-12 03:29:30 -04:00
Jonah Graham
bc8c94fbe6 [releng] Update to Tycho 2.7.1
2.7.1 is required to consume PGP keys successfully.

Change-Id: I2ca86728b9118943fcd364656861dc8e7170145a
2022-04-11 17:07:30 -04:00
Jonah Graham
5208763758 [releng] Update to Tycho 2.7.0
Change-Id: I6395a1d4c68b8a796f686f48d09193f96b0ae08f
2022-04-11 17:04:26 -04:00
Jonah Graham
5c4d54df1a [releng] Update comparator repo to 10.6.0
Change-Id: Ie4e5bc90a41bb6e47cd34afb42126e1934fcc042
2022-04-10 20:55:36 -04:00
Jonah Graham
e8d924bb9a [releng] Bump versions for 10.7.0
Change-Id: Ibada1ef26f47f4238ae64f53fb67a73125534347
2022-04-10 20:55:36 -04:00
Jonah Graham
acfd3c5179 [releng] Bump doc generator to new version
Change-Id: I505e3a059053d6a40951f0a365aebbbe49f24032
2022-04-10 20:55:36 -04:00
Jonah Graham
16872dd142 [releng] Prepare for CDT 10.7.0 M1 / 2022-06 M1 (target platform)
Change-Id: I56f50431268a64d63fd6e6dfdb64c0e27c064f8e
2022-04-10 20:55:36 -04:00
Torbjörn Svensson
ca92f0243e 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-04-06 12:23:55 +02:00
Alexander Fedorov
14405fbb0e Switch from deprecated LanguageServerWrapper#getServer
Use LanguageServerWrapper#getInitializedServer instead

Change-Id: Ia20ef12dd47e8f8b111e5f8877f8a7815dac0e36
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2022-04-05 12:19:05 -04:00
Alexander Fedorov
9247284cdc Bump version for org.eclipse.cdt.lsp.core
Required for https://git.eclipse.org/r/c/cdt/org.eclipse.cdt/+/192490

Change-Id: I27b1bb91861f5e63d23c84762f5826c40b7d8f52
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2022-04-05 18:05:40 +03:00
Torbjörn Svensson
8ddef84fe8 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>
2022-04-05 14:23:10 +02:00
Torbjörn Svensson
8c021b181f [releng] Increment sequence number to allow PDE to pickup the change
Contributed by STMicroelectronics

Change-Id: I28853f6a791f622b588abe6d962598c31b17d600
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-04-01 19:59:38 +02:00
Dominic Scharfe
be0a7410c1 Bug 579505: [hover] Unreadable text in expression hover
Use the current theme for the expression information control. If the
theme doesn't provide information colors use the old implementation
(system colors) as fallback.

Change-Id: I0096a730364994dbd39e37c561f217bd3ff5979c
Signed-off-by: Dominic Scharfe <dominic.scharfe@coseda-tech.com>
2022-04-01 05:18:40 -04:00
Torbjörn Svensson
c4920f78f9 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-03-31 14:41:22 +02:00
Torbjörn Svensson
553eb84cb1 [releng] Update target and baseline for 2022-06 cycle
Used info from https://projects.eclipse.org/releases/2022-03 to determine
the versions of components.

Contributed by STMicroelectronics

Change-Id: If6c4ccfc18e87ff91cbed8c6236139c01819f77a
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-03-31 12:15:02 +02:00
Martin Weber
b04155272e Bug 579457 - IllegalStateException in o.e.cdt.jsoncdb.core.CompileCommandsJsonParser
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>

Change-Id: I7ac3f02cca706aa0308662a8be3e783dfca4fa3c
2022-03-28 21:13:41 +02:00
Jonah Graham
db4bc74334 Bug 579261: Fix formatter exception when formatter comment tags aren't used
Change-Id: Ia704bfd9bd6ff0e171187b78aa6b693a1921902e
2022-03-14 17:05:45 -04:00
Jonah Graham
e3f20b8a31 [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 16:49:22 -04:00
Jonathan Tousignant
7bddb5f4cb Bug 528145 - Attach debugger to a gdbserver remote session
Change-Id: I18bfe412a46b727c74597ceb871391dcb48b302d
2022-03-10 09:54:34 -05:00
Torbjörn Svensson
66f3c6b08d Bug 579039: Limit SOURCE_DATE_EPOCH to fit 32bit unsigned int
The impementation in GCC allows a value up to 253402300799 that
corresponds to "Dec 31 9999 23:59:59 UTC". Apparently, this is due
to some limit of __DATE__ and __TIME__ within the preprocessor.
Regardless, as the reporter claims to have problem with values
outside the range of a 32bit unsigned integer, lets use
"(1 << 32) - 1" as a limit.

Contributed by STMicroelectronics

Change-Id: Ifa7995cd9edb460d4ad6544b5231eef88d7e39a0
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2022-03-10 01:43:40 -05:00
Jonah Graham
0ae896b0f1 Bug 577952: Close pathEntryStore to fix listener leak
CConfigBasedDescriptorManager.addDescriptorListener is being called
repeatedly, but the listeners are never removed due to the missing
close.

Change-Id: Ib1b92139a0090ffcdd662aa7b79d5de94a883cb1
2022-03-09 13:49:16 -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