1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

34770 commits

Author SHA1 Message Date
Alexander Fedorov
81eb1b1db3 Bug 564369 - CDT : use 4.16 GA version for .setup and .target
Change order of repositories: start the list from the most recent
platform release

Change-Id: I565f640c72f1ab67b63c8cffc0858f8303282609
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-07-11 11:10:22 +03:00
Alexander Fedorov
b59b75eb43 Bug 564369 - CDT : use 4.16 GA version for .setup and .target
Prefer release specific update URLs for p2 repositories

Change-Id: I61923c4b3c0b3e3ed151916ca35c9ec5d674e1dd
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-07-11 11:08:23 +03:00
Alexander Fedorov
3b7469ed61 Bug 564369 - CDT : use 4.16 GA version for .setup and .target
Fix .setup for 2020-06

Change-Id: I95322e2a43f305ae8b3a6199dd9f4d5ed232ca02
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-07-11 10:52:43 +03:00
Alexander Fedorov
30c67ac9bf Bug 564369 - CDT : use 4.16 GA version for .setup and .target
Move target platform resolution ahead of clone to simplify testing

Change-Id: Ic6a0b2770762a3bd42633bd7011073731c9d4f4e
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-07-11 10:10:59 +03:00
Torbjörn Svensson
46316a1b62 Throw an exception rather than return null on error
Switch to try-with-resources pattern

Change-Id: I7bbb1a6faf0ba86e456f8a66776c3eda9b9144ed
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-07-08 05:07:57 -04:00
Torbjörn Svensson
39d3bfcc4f Fixed NLS warnings, potential NPE and removed excess semicolon
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Change-Id: I266a72dadae318ae301ca11d2ea2d74082219a24
2020-07-08 05:06:02 -04:00
Marc-Andre Laperle
97c1151f01 Bug 564949 - Remove support for CDT 3.X style projects (partial)
Remove some Wizard classes that are not referenced anywhere anymore.
This commit is just a first of probably several commits but is already
a start. I already had very large commits in progress in the past but
it became big and hard to push so I'd rather do it step by step this
time and at least have some of it done for the next release.

Also moved some messages to its own message bundle in managedbuilder.ui
because it's the only place they are used now.

Change-Id: Ib4258684c91f205dc4af3b17169609b5ebcff253
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2020-07-07 22:26:01 -04:00
Martin Weber
97e72c23cf Bug 559674: Replace mailing list reference
Change-Id: I2da8201a9c85722aff6dfd9a56950ba12891ec95
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-07-05 13:39:49 +02:00
Martin Weber
ebeef92ea0 Bug 559674: Eliminate warning
Change-Id: I3bcaa4b95708cb185e66dcffc6e0be68cf56b56e
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-07-05 13:39:48 +02:00
Torbjörn Svensson
3d218e99c7 Fixed NLS warnings
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Change-Id: I04565040918e5019415a7e4edd79f7337ab7da5d
2020-07-04 04:28:41 -04:00
Torbjörn Svensson
0391d6ccf1 Fixed NLS and null warnings
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Change-Id: I6e40038e99c37a4efc25f64d8d186b00c6f55f8c
2020-07-04 04:20:49 -04:00
Torbjörn Svensson
718156aa6b Fixed NLS warnings
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Change-Id: If8b41e8f60acfde26e65285a9dad221159f2f4ef
2020-07-03 07:09:01 -04:00
Marc-Andre Laperle
6aa232bd23 lldb: Replace a concatenated string with NLS.bind
To make it more translation-friendly.

Change-Id: Icc1a94b2db2f90b060f90e16d56aadf57573b2c6
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2020-07-02 20:22:33 -04:00
Torbjörn Svensson
0798984bc8 Bug 564553 - Restore mimicking label for LLDB
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Change-Id: I2c0db2de82478f3ed3434c9f722700ce0efe321c
2020-07-02 20:21:44 -04:00
Torbjörn Svensson
9043b4b511 Corrected plugin id to org.eclipse.cdt.msw.build
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Change-Id: I85f94d31163caa07a522c17fc73bbd7504230b0a
2020-06-29 22:48:53 +02:00
Mat Booth
032ddb2734 Bug 563491 - Debugger RCP Product fails to build
Be more explicit about the version of javax.activation that is
needed by CDT and javax.xml.bind

Change-Id: I7951b193353ccabc253d77d24b4e1e10beca5eba
Signed-off-by: Mat Booth <mat.booth@redhat.com>
2020-06-25 12:39:33 -04:00
Marco Stornelli
530818839f Bug 564586 - Fix auto complete for final and override keywords
Change-Id: I69ee87f57a45b7b622a06534ce8b8ff2de9f80ff
2020-06-25 01:09:48 -04:00
Torbjörn Svensson
1a4736c725 Bug 564553: Fetch the path to GDB from GdbLaunch
In order to present the same path to the binary as actually launched,
fetch the path from the GdbLaunch instance rather than reading the
attribute from the launch configuration.

Change-Id: I9f973a590136167d1c8d19b6af52378c95645e35
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-06-24 14:39:36 -04:00
Alexander Fedorov
c1a5fc6093 Bug 564373 - CDT : update range for org.eclipse.linuxtools.docker
Use [5.0.0,6.0.0)

Change-Id: I96030272058f166145b448119a2a9122e9a9d02d
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-06-17 10:00:16 -04:00
Alexander Fedorov
dac0b96019 Bug 564369 - CDT : use 4.16 GA version for .setup and .target
Updated to
https://download.eclipse.org/eclipse/updates/4.16/R-4.16-202006040540/

Change-Id: I05811ffdc1cba42d76cbc168f430aed2cd889f80
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-06-17 13:08:19 +03:00
Sergei Kovalchuk
379004b618 Bug 562003 - Remove dependency to com.ibm.icu from CDT Make UI
The dependency was removed.The Copyright head was updated.

Change-Id: I82e4289fc8cb14e8488b847e8efa415dd1d77b6c
Signed-off-by: Sergei Kovalchuk <serjiokov@gmail.com>
2020-06-17 03:33:25 -04:00
Jonah Graham
92dcc3f6ab Bug 559674: Declare cmake.is problem marker type
Markers were getting created in the code (with calls to
CompileCommandsJsonParser.createMarker) but were not rendered
in the UI because there was no declaration.

Change-Id: I571b6ad7bb6f2b78a7b920cdf74ff89d6790d717
2020-06-16 09:47:31 -04:00
Aijun Shi
30845347d0 Bug 564232 - Add cpu risc for RISC-V need to support.
Change-Id: Ib62ed14f3c0dbe4375da41dba7209b27e034c53e
Signed-off-by: Aijun Shi <Aijun.Shi@windriver.com>
2020-06-16 09:39:43 -04:00
Alexander Fedorov
8b039257b7 Bug 564276 - Extract CDT Core templateengine to a separate bundle
Hide the value of extension point identifier
"org.eclipse.cdt.core.templateProcessTypes" with dedicated type. After
moving to another bundle we will preserve the identifier value for
compatibility.

Change-Id: I8dbca52f1223e8751ebb5ac7844845c30a1f0266
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-06-15 14:21:21 -04:00
Alexander Fedorov
a5dce82d54 Bug 564274 - Switch CDT cmake to use new Equinox preferences API
Replace "org.eclipse.cdt.core.options" with
"org.eclipse.core.runtime.preferences"

Change-Id: I6ac4813b680ebf34336c85bfd3bc1721d6656dc4
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-06-15 14:10:12 -04:00
Jonah Graham
fe2daff197 Bug 563051: Use new Rename API in platform for resource renaming
This removes use of internal API RenameResourceProcessor and removes
copying of code from platform's RenameResourceWizard to take advantage
of new UI API too.

Change-Id: I0e596027751dacf6982d4a63def617ae19f69827
2020-06-15 06:59:25 -04:00
Jonah Graham
f14853b3d4 [releng] Update target to platform 4.16 RC2
Change-Id: Ibb26d875adb1208bc7edba8e6d6ba03fe6b19e7f
2020-06-15 06:59:20 -04:00
Marco Stornelli
f4bed34dd0 Bug 564273 - Fix format lambda expressions without parenthesis
Change-Id: I918ca05d75ca4e8cba7501e232d4e6b05e434f06
2020-06-15 00:58:12 -04:00
Alexander Fedorov
72bf8216d8 Bug 564276 - Extract CDT Core templateengine to a separate bundle
Remove dependency to org.eclipse.cdt.core.CCorePlugin during template
schema URL resolution. The TemplateDescriptorSchema.xsd URI should be in
one bundle with TemplateEngine.

Change-Id: Ice2fbc4f33da6616184728d3a41cc803328526a6
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-06-14 20:17:03 +03:00
Alexander Fedorov
db577a85ca Bug 564276 - Extract CDT Core templateengine to a separate bundle
Remove dependency to org.eclipse.cdt.core.CCorePlugin during IStatus
creation.

Change-Id: Ic9cf5e55866ab6f0727ea91378b7366c6090b7f1
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-06-14 12:47:51 -04:00
Michael Woski
c7895abec0 Bug 564026: CPPSemantics.selectByArumentCount does not trim after
removing elements from the result array

the list of candidate functions is filtered for redundant elements. The
returned array must be shrunk to avoid NullpointerExceptions further
down the road.

Change-Id: I5f3c5a19433266dd20492241fd74edc43fbfc0ef
Signed-off-by: Michael Woski <woskimi@yahoo.de>
2020-06-14 09:28:18 -04:00
jantje
65473abf07 Bug 564123 refactor terminal Env to use same code as EnvironmentReader
Env had a very old way of reading environment variables from
before Java supported environemnt variables from System. This
commit makes the code the same as core CDT's EnvironmentReader.

Env holds a copy of the EnvironmentReader code to avoid dependency of
terminal to other CDT.

Change-Id: I8929bf427af99d3d62cca28ee8090aa423c9aded
Signed-off-by: jantje <eclipse@baeyens.it>
2020-06-13 22:07:23 -04:00
jantje
3516a46a92 Bug 564123: use EnvironmentReader in core build
CBuildConfiguration.findCommand read environments like
EnvironmentReader

Change-Id: Iedd474c647a0c22fecdd525bf50927159d138031
Signed-off-by: jantje <eclipse@baeyens.it>
2020-06-13 19:40:08 -04:00
jantje
9867126d6f Bug 564123 Uppercase only special environment variables on Windows
Only uppercase the env variable names that are special (only Path for now).
This is part of handling the change to keeping cdt variables case
sensitive.

Change-Id: Ibf22823328c8f8d57c98aa9b62763ea884164fae
Signed-off-by: jantje <eclipse@baeyens.it>
2020-06-13 18:58:14 -04:00
jantje
d99d06ceca Bug 564123: Remove deprecated method from EnvironmentReader
EnvironmentReader.getRawEnvVars has a better replacement,
EnvironmentReader.getEnvVars

Change-Id: I91b209f3f601b748dd5d635ff44a36765d519e49
Signed-off-by: jantje <eclipse@baeyens.it>
2020-06-13 18:01:08 -04:00
Jonah Graham
12cf801870 Bug 564272: Increment major version of org.eclipse.cdt.core to 7.0.0
Change-Id: I9124dd406c5981435a72ff4aaa7033f1c3d1979b
2020-06-13 16:21:05 -04:00
jantje
f5e029d19c Bug 564123 delete org.eclipse.cdt.utils.Platform
The class overrode org.eclipse.core.runtime.Platform to
workaround bugs in the platform that have since been fixed.
As 32-bit x86 and PPC support has been removed this
class is no longer needed as all the code is now
unreachable anyway.

Change-Id: I01bb00b9203aa02663ff25ce36c4c14f22dadee5
Signed-off-by: jantje <eclipse@baeyens.it>
2020-06-13 13:05:41 -04:00
Marco Stornelli
51398ca2ae Bug 564026 - Fix null pointer exception
The ICPPFunction array can contain null values. A check is needed.

Change-Id: Icde40880f7913d0de7ae2c0a293de8d5be899327
2020-06-13 10:56:29 -04:00
Torbjörn Svensson
ef2ee6df71 Bug 564257: Respect commandGenerator and applicabilityCalculator
The method Configuration.getUserObjects() and Configuration.getLibs()
should respect the commandGenerator and applicabilityCalculator defined
for the option in the toolchain definition.
The method Tool.getToolCommandFlags() should call the commandGenerator
only if the value type would generate a default command.

Change-Id: I4d6224627888e602682076ac929adbf808cff8d7
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-06-12 20:02:31 +02:00
Sergei Kovalchuk
4bd9fed83b Bug 562004 - Remove dependency to com.ibm.icu from CDT Managed Build
Core

Dependency removed for Managed Build Core

Change-Id: I15e29453a1452a5060c470f3b3658cb5763615b0
Signed-off-by: Sergei Kovalchuk <serjiokov@gmail.com>
2020-06-08 06:12:46 -04:00
Martin Weber
040b1351e8 Bug 559674: Internationalization of UI texts
Change-Id: Ie88e2c6b37f68e8f6e7bb1f941d72f1db8fc748d
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-06-06 13:43:51 -04:00
Jonah Graham
22236ae356 Bug 559674: Declare o.e.c.cmake.is.core.ui friend of core
This removes many of the warnings in IndexerSupportPreferencePage

Change-Id: I1b310d5d86831744eca36c7177cf167d9a8d5a37
2020-06-05 06:52:59 -04:00
Martin Weber
169c74728f Bug 559674: adjust plugin references to point to new plugin name
..plus fix some typos in developer docs.

Change-Id: Ic71281d5e8a7d28c7e8a9ec313240e710b07f661
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-06-05 04:22:43 -04:00
Martin Weber
48961a341b Bug 559674: fix failing tests
Change-Id: I6bf9a81dd1cbf673b2472597fc431e6bb1c75ef8
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-06-05 04:21:19 -04:00
Jonah Graham
3b1141482d Bug 559674: Enable CMake plug-ins in build
Change-Id: I7950f5679956ad4e763fb4e0d6057e506cf6e948
2020-06-05 04:21:19 -04:00
Jonah Graham
5349d8823d Bug 522289: Handle case of no terminal connectors available
The existing code had the assumption that >= 1 connector was installed
in the IDE. It is difficult to configure the IDE with no connectors as
the base terminal feature includes connectors, but it is technically
possible. So in that case display a simple error message and avoid
a hidden error (and stack trace to log).

Change-Id: Id17a1e5bff9aec251aa6f7fe6ff4e96cd2a01564
2020-06-04 17:44:20 -04:00
Martin Weber
b37b7187ae Bug 559674: move API classes for consumers of this to top-level package
Change-Id: I4e6ad1a599a1117f3dfe54cc831df77e5f003d18
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-06-04 12:03:55 -04:00
Martin Weber
d804c5ae75 Bug 559674: make class final
Change-Id: Iefdc5cb2359546ad06e9770baf79b379b14e31d8
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-06-04 11:09:24 -04:00
Martin Weber
cfe6a49692 Bug 559674: Improve doc and javadoc
eliminate use of 'Language ID'
eliminate use of 'Language Setting'
eliminate use of 'Language Setting Provider' and 'lsp'

Change-Id: I7358ec99fde008d2b1a8c99fa294acac3469b20e
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-06-04 10:23:01 -04:00
Martin Weber
aa377d40c2 Bug 559674: eliminate 'lsp' (language settings provider)
Change-Id: I8bcead6d09feefc6093cdd97349c26d563cd9f1f
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-06-04 10:22:33 -04:00