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

3840 commits

Author SHA1 Message Date
Jonah Graham
a5a2be90e7 Bug 552745: Disable intro screen (webkit use) in tests
Change-Id: Ib97fb00cb96af34a14d89a07d88de15c276537aa
2019-11-06 17:26:04 -05:00
Jonah Graham
fe13a037b7 Bug 542488: Disassembly support
Change-Id: I8a280fba5147ed3ebd8ecace8b943d3e5350dacf
2019-11-04 07:23:10 -05:00
Jonah Graham
7a2ff27b91 [releng] Update comparator repo to last release
Change-Id: I00901808f1eda041f070b2f3e1cda076987c69a5
2019-10-17 10:07:44 -04:00
Torbjörn Svensson
e6de0c9385 Bug 551817 - Add about.html to src.includes for plugins
Change-Id: Id6e1a3c4aa94bf242efd62a28f5ca9de7d64f699
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2019-10-17 10:07:18 -04:00
Jonah Graham
2f5f4d50a2 [releng] Bump to CDT version 9.10.0
Change-Id: I027e7e5542fda3e599ee476814593fc4b464adca
2019-10-16 10:55:28 -04:00
Alexander Kurtakov
d0d6f57a50 Move away of deprecated imageDescriptorFromPlugin.
Change-Id: I855682065fe6b40deeedc6cd7b5cb419848caac0
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 08:57:51 +03:00
Alexander Kurtakov
8fff462f95 Use non-deprecated command constants.
Change-Id: I637c9167149ec9137c0ae5db69528b842424984c
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:28:09 +03:00
Alexander Kurtakov
8ba5a7191f Migrate to ViewerComparator.
Change-Id: I5b70806ca7376797e387164158a0c41d52b59cb5
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-10 22:20:44 +03:00
Jonah Graham
2cbf927a36 Bug 550076 - Use PE64 parser by default
Change-Id: I757c8ace43e79f1215ad0e817430e5ab90415401
2019-09-09 15:56:07 -04:00
Jonah Graham
342d0c7b89 Bug 549567: Add example of what checkmark overlay looks like to help
Change-Id: I1bb77e6085a7d1097f457ba5207f1ae791a9b452
2019-08-17 19:47:12 -04:00
Jonah Graham
15b00032ce Bug 542488: Convert URL to path properly on Windows
Change-Id: I63a5c3e260583b4df82e4c5bf8fbbdf3e5958e54
2019-08-12 18:30:57 -04:00
Alexander Kurtakov
1e42e5f0e1 Convert new Runnable to lambda.
Change-Id: I8b827013a29802a3f3ae6400ddce8d8753eb6399
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-12 07:11:40 -04:00
Alexander Kurtakov
51da3eb3a6 Remove redundant superinterfaces.
Change-Id: I0de3509b02a8ef6853f0053c9ee6edd304a05a86
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-10 10:28:51 -04:00
Alexander Kurtakov
c252113586 Replace ViewerSorter with ViewerComparator.
Change-Id: I3013723be25fef063f382456166f6e5a622316d3
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-09 08:50:29 +03:00
Jonah Graham
6c34f9bad5 Bug 542488: JTAG debug support based on DAP remote debugging
Change-Id: I035ca6341b8e1dc7273f53da80eb281d7b5e59d4
2019-08-07 00:48:15 -04:00
Doug Schaefer
b9359d5247 Fix up some problems found against the latest API baseline.
Change-Id: I5679b36166385b617a96ef8180bbd27ae002e900
2019-07-25 10:17:59 -04:00
Jonah Graham
577061ac79 Bug 542488: Feature for DAP in CDT
Change-Id: I981660855f9f0305d0c08af5eb361cadbde9b86c
2019-07-10 18:23:38 -04:00
Jonah Graham
bf327ec364 Bug 542488: Memory view support
Change-Id: I8c3343f0ead46ab203d58f77370dd2dadda550ff
2019-07-10 18:23:38 -04:00
Jonah Graham
d7b7f10255 Bug 542488: Initial/rudimentary version of DAP integration
README:

Create a C/C++ Application launch as normal, and in the Launch
Configuration dialog click "Select other..." at the bottom/center
and selecting GDB (DAP) Debug Process Launcher
(you can't do this in the LaunchBar's dialog as it does not support
changing the launcher).

Then debug as you normally do (with less features so far :-)

Change-Id: Ia36acedf064b3774c6ac2a863880eaf7efe9c399
2019-07-10 18:23:38 -04:00
Jonah Graham
edfc7d4c0e Fix generic and other warnings
Change-Id: I77173712bf2b775eae5573f0abfb7f9900123438
2019-07-09 21:17:22 -04:00
Jonah Graham
936dec3517 Remove workaround for private methods in IDE
Now that Bug 516470 is resolved, we don't need the workaround
in CDT anymore.

Change-Id: I3e8b0f0ce7fc272a81d6b7437ce7a8d588e91991
2019-07-08 14:51:09 -04:00
Jonah Graham
d54fbd7da2 [releng] Update to latest stable I-build of Platform
Change-Id: Ia7320c24eb02b57c5fc7059e5a4cf1055527c84a
2019-07-08 14:06:24 -04:00
Doug Schaefer
b953649c09 Bug 548980 - Track launch target connects and add error builds
We need a way to alert the user that we are unable to find a toolchain
that maps to the current target. An ErrorBuildConfiguration is created
that simply prints out an error message at build time to handle this.
We then set one of these as the active build config in the tracker
with the appropriate message.

We also add a target listener so that when a target becomes OK_STATUS,
we run the tracker again to see if we have the right active build
config for that target. Some targets can only determine some of their
attributes when connected.

Hook up the IToolChain matches so we're using it in the toolchain
manager. This allows toolchains to do more complicated matching of
the properties.

Change-Id: Icaff85117e8147cd2793f2915fa75ce33673ab52
2019-07-05 10:43:56 -04:00
Jonah Graham
f3e8387a8e [releng] Bump version to 9.9.0
Change-Id: I6641e51a8bfdb44fa5c646d97debf2bf814c107a
2019-06-11 12:33:48 -04:00
Jonah Graham
723078fba5 [releng] exclude pom.xml for build.properties
This was the only bundle that had pom.xml included

Change-Id: I6c303052220a6294481fcc55e8826c5e116190b6
2019-06-11 12:33:48 -04:00
Jonah Graham
53e14118d2 Bug 547894: Fail build if differences before baseline replace
Also fix version numbers in all bundles who's binary contents have
changed despite no change in the source of the bundle.

Change-Id: Ic67b79aafa801c7ce96c5e52843ad5c881827d84
2019-06-07 13:57:15 -04:00
Doug Schaefer
6a27da170f Bug 547831 Add ILaunchTargets for GDB Remote
Adds ILaunchTargets for GDB Remote for TCP and Serial Port.
Adds a launch config provider that maps default launch configurations
for the gdb remote launch config types.

Alters the launch attributes by merging in the target attributes
over the launch configuration attributes. This is a no-op of the
target is the Null Target (which has no attributes).

Some string externalization that was missed from previous commits.

Carrying on tradition of ramdonly using Gdb or GDB in our class names :)

Change-Id: Ie8483110f594db593e704adda420ce6b14812dea
2019-06-03 00:22:36 -04:00
Jonah Graham
518b8c2330 [releng] adapt to changes in platform for what is published for ecf
See https://www.eclipse.org/lists/cdt-dev/msg33571.html

Change-Id: Ib6bb075dfe41da6bb3221e0f73f24e7ce9869b0c
2019-05-31 13:08:10 -04:00
Jonah Graham
a9e84e4fb7 [releng] bump version numbers according to version number guidelines
See https://wiki.eclipse.org/CDT/policy#Version_Numbering

Change-Id: I54004437fa7a52b7c2b341fa9cb2d0683daf8962
2019-05-31 12:44:42 -04:00
Jeff Johnston
74e63a9013 Bug 547174 - Clean core project doesn't always show active in console
- add missing ProjectDescription.setBuildConfigs calls to
  CoreBuildLaunchBarTracker, CoreBuildLaunchConfigDelegate
  and CBuildConfiguration

Change-Id: I0d1097d04f3a210a6a7e9f8ad35adb9ba5d7c3d6
2019-05-16 16:46:02 -04:00
Jeff Johnston
86bfd4de7e Bug 547174 - Clean core project doesn't always show active in console
- order build config names so when clean for a project goes through
  the build configs, it finds the active one last and thus it will
  appear in the CDT build console
- do this in CoreBuildLaunchbarTracker.setActiveBuildConfig()
- do this in CBuildConfiguration.setActive()
- do this in CoreBuildLaunchConfigDelegate.buildForLaunch()

Change-Id: I379d6c9ba298f02cbc75d16e9941527cd2f9f45c
2019-05-15 20:41:14 -04:00
Jeff Johnston
19e4eabff2 Bug 547145 - Core build use of ProjectDescription should be synchronized
- synchronized core build project description
  manipulations using CoreModel as synchronization
  class

Change-Id: Ic1312d5819ddc08acb492f57a2d87f1998329805
2019-05-15 16:05:29 -04:00
John Dallaway
f85e3146d3 Bug 545941: Match launch configuration type
Change-Id: I552ea86b65782f1781d84f2e1fe9b0b8e435e3bd
Signed-off-by: John Dallaway <john@dallaway.org.uk>
2019-04-01 01:48:49 -04:00
William Riley
47ae8d9cbf Bug 545624 - Disable Debug RCP deployment
Change-Id: I7ab18048e0a2d5282f8c063a4bb0524aa6f1f3bc
2019-03-21 11:45:50 -04:00
Marc-Andre Laperle
040372be48 Build with Eclipse 2019-03 dependencies
CDT nows defaults to targetting Eclipse 4.11 along with dependencies in the
Eclipse 2019-03 simultaenous release.

Once consequence is that 32-bit and ppc64 fragments are removed.

Change-Id: I032fedb27a4e5086f10051b3b2ca9c9c59c3b965
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-03-18 20:44:27 -04:00
Jonah Graham
cdc99feef2 [releng] Bump version to 9.8.0
Change-Id: I3861d4c5d0eecaf9dd370f269a655e666b60561a
2019-03-01 13:25:21 +00:00
Marc-Andre Laperle
c626ede917 Bug 543958: CDT Standalone debugger crashes on startup
org.apache.felix.scr now needs a start-level.

See also
https://bugs.eclipse.org/bugs/show_bug.cgi?id=538729

Change-Id: Ia6f83a93449aeb32566be8893237e4bd2842b462
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-02-24 16:19:56 -05:00
Mat Booth
99938437f4 Bug 543299 - Standalone debugger gives GTK+ 2 warning on startup
Remove the GTK version parameter from the product definition.

Change-Id: I923d757d94c791f4f0a5f40a1f16ef810896ac97
Signed-off-by: Mat Booth <mat.booth@redhat.com>
2019-01-09 10:39:52 +00:00
Alexander Kurtakov
90dd1e77f9 Fix startup warnings from launchbar descriptors.
ENTRY org.eclipse.launchbar.core 2 0 2018-12-21 21:41:37.864
!MESSAGE Enablement expression is missing for descriptor type
org.eclipse.cdt.debug.core.coreBuildDescriptorType

!ENTRY org.eclipse.launchbar.core 2 0 2018-12-21 21:41:37.866
!MESSAGE Enablement expression is missing for config provider for
org.eclipse.cdt.debug.core.coreBuildDescriptorType

!ENTRY org.eclipse.launchbar.core 2 0 2018-12-21 21:41:37.867
!MESSAGE Enablement expression is missing for config provider for
org.eclipse.cdt.debug.core.coreBuildDescriptorType


Change-Id: I2a739d8ad382a934e1a0e5b8f02f0e21cf1eeda0
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-12-22 15:20:49 -05:00
Jonah Graham
76cc07a4cd [releng] Bump version numbers for plug-ins changed since branch point
Following https://wiki.eclipse.org/Version_Numbering#When_to_change_the_service_segment

Change-Id: I019f2f6bcf11e5e4fb17960dc28a1fb2fac6ace0
2018-12-20 08:37:56 +00:00
Jonah Graham
677cc2cf63 [releng] Bump version to 9.7.0
Change-Id: Icaa0b6acf73e3a19e0d102fa8ae784e631d8743a
2018-12-10 13:50:44 +00:00
Marc-Andre Laperle
499cdbf01d Remove JVM MaxPermSize arguments (unused since Java 8)
Change-Id: Ie33b44064429f409fa721141f14f4e519014f6aa
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2018-11-29 23:05:14 -05:00
Jonah Graham
37ed2c406d Bug 540373: Update the compiler warnings/ignores
The previous alignment of all the warnings/ignores
led to too many warnings that weren't there before. This
commit relaxes them a bit.

The core/org.eclipse.cdt.core/.settings/org.eclipse.jdt.core.prefs
is still the "master" copy, with
releng/scripts/check_code_cleanliness.sh containing the
exceptions that apply to test plug-ins.

Change-Id: Ibd4e31ade0b42b31e7cbe5a94f06c6fc15183a56
2018-11-24 10:55:06 +00:00
Jonah Graham
d79977e17e Remove accidentally committed first prototype gdbstandalone.zip
Change-Id: Ie73dd49b031d6d4613ec7b297a07b040cbbbad41
2018-11-23 10:35:23 -05:00
Jonah Graham
3caea240a3 Bug 540373: Format some Java files that were missed
Some files which has other cleanups applied meant they needed to be
reformatted again. e.g. the removing of type parameters shortened
some lines of code that meant the wrapping changed.

Change-Id: I68ca09567b9530cc2a085c33923642b6de2ec77b
2018-11-23 13:59:46 +00:00
Jonah Graham
ff75ae80fa Bug 540373: Cleanup: Remove trailing whitespace in properties files
Command used:
# Remove space at eol in comments
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^(#.*)[ \t]+$/\1/' {} +
# Remove space at eol in blank lines
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^[ \t]+$//' {} +
# Replace escaped spaces at eol with unicode
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\ $/\1\\u0020/' {} +
# Replace unescaped spaces at eol with unicode
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\]) $/\1\\u0020/' {} +
# Replace escaped tabs at eol with unicode
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\\t$/\1\\u0009/' {} +
# Replace unescaped tabs at eol with unicode
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\t$/\1\\u0009/' {} +
# Stage all changes
git add -A .
# trim any remaining whitespace and then identify and fixup
# manually
# Only dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/MessagesForDebugVM.properties
# needed this due to missing newline at end of the file
find .  ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/[ \t]+$//' {} +

Change-Id: I858f16891fe001f4f7e62d5a4f904146e891cd39
2018-11-23 07:52:26 +00:00
Jonah Graham
b4031b5a8b Bug 540373: Safely remove trailing whitespace from MANIFEST.MF
Change-Id: Iec292561511bc696ab8a7a617e50fbc089b7bff9
2018-11-23 00:42:21 +00:00
Jonah Graham
aa1040a21a Bug 540373: Remove '(non-Javadoc)' comments
These were inserted in the past automatically by Eclipse but
newer tooling makes them redundant.

These were removed by doing a global find/replace on *.java files
using the following regular expression:
\t/\*\n\t \* \(non-Javadoc\)[^/]*/\n

Change-Id: I59d3248020f10934fde1dda5b5a31e20bb188e19
2018-11-22 22:00:29 +00:00
Jonah Graham
eeb3006e27 Bug 540373: Cleanup: Remove redundant semicolons
This was done by selecting all projects in Eclipse then
Source -> Clean Up... -> choosing:
- Remove redundant semicolons
and completing the wizard

Change-Id: I3d3175cfdfadec4f815c551d486e42c9f57b80ce
2018-11-22 21:57:01 +00:00
Jonah Graham
caf2292768 Bug 540373: Cleanup: Remove redundant type arguments
This was done by selecting all projects in Eclipse then
Source -> Clean Up... -> choosing:
- Remove redundant type arguments
and completing the wizard

Change-Id: Iaecc7010f097b4b1fabd29ccaa34ccb23a716fbf
2018-11-22 21:55:36 +00:00