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

35658 commits

Author SHA1 Message Date
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
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
Jonah Graham
6585040fed [releng] Update simrel site for 2022-03 release cycle
Change-Id: Ica3eb15252c29036ec78e7baea56bc442248634e
2022-01-12 14:10:12 -05:00
Jonah Graham
10988e8749 [releng] Update maven plugins to latest versions
Change-Id: I33f8c706d3bee1e9ec168fbd677887be998725fe
2022-01-12 14:07:45 -05:00
Jonah Graham
d2fd6f1087 [releng] Update comparator repo for CDT 10.6.0
Change-Id: I4e70999800cb031798a423d86637f399a1c7b257
2022-01-12 14:07:45 -05:00
Jonah Graham
dbd7558f17 [releng] Bump to CDT version 10.6.0
Change-Id: I28629cdfb0906ce7f1b33a88cbbd55521afc8f6b
2022-01-12 14:07:45 -05:00
Alexander Fedorov
0b1d0ac543 [releng] Update target and baseline for 2022-03 cycle
Use info from https://projects.eclipse.org/releases/2021-12 to determine
the versions of components + M1 build of Eclipse Platform.

Orbit has not done an M1 release.

Change-Id: I1b23daeae7ae280502db5155e4a7bd34b89e7db4
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
Also-by: Jonah Graham <jonah@kichwacoders.com>
2022-01-12 14:07:45 -05:00
Jonah Graham
e2eca3eb67 Bug 577097: Assign a category to all o.e.remote features
In the p2 site all the o.e.remote features are appearing in the
Uncategorized category, AFAICT this is because the category.xml
file was not actually valid. Note that the PTP version
in https://download.eclipse.org/tools/ptp/builds/remote/3.0/2021-09
also showed everything as uncategorized, so this commit is actually
an improvement on presentation.

Change-Id: Ic3304c8e57131efd3c7adc6eec021f72e6ba1a36
2022-01-12 09:51:03 -05:00
Jonah Graham
537c57d3dd Bug 577097: Bump maintenance version for all o.e.remote bundles
The bundles have all had version bumped to make it easier to
differentiate the bundles built since integration into CDT.

Note the feature versions have already been aligned with CDT.

Change-Id: I68141e31559df3897414a50ee52c3ede49d429df
2022-01-12 09:51:03 -05:00
Jonah Graham
97321070b1 Bug 577097: Fix copyright end year for features edited this year
Change-Id: I9cf7f807c0e8e00c2411d7565a4de60ed7e2d7a7
2022-01-11 21:36:08 -05:00
Jonah Graham
8718d7c19d Bug 577097: Fix file modes
Some files had x permission that shouldn't and some scripts
were missing x permission.

Change-Id: I9af0edc7c87fa1ab4d6795ec7861e07517d00c67
2022-01-11 21:35:40 -05:00
Jonah Graham
6bbcd21c8a Bug 577097: Update o.e.remote code to EPLv2
Includes fixing any identified licensing issues using
releng/scripts/check_license.sh

Change-Id: I0f53648a88c8aa47fc811e3fbafce80f32a16151
2022-01-11 21:19:46 -05:00