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

35106 commits

Author SHA1 Message Date
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
Martin Weber
3b8551a14a Bug 559674: move 'contribute more implementations API' to package participant
Change-Id: I3f79f0ba3245a9aa3b638cb01c5fc537bb32a47b
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-06-04 10:22:33 -04:00
Martin Weber
488cc91689 Bug 559674: Fix: New console allocated even if one is given
Change-Id: I922264bbff26e31d2a1a2aa000c3e8f272c1b5e9
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-06-04 10:22:33 -04:00
Sergei Kovalchuk
afdd68157b Bug 561993 - Remove dependency to com.ibm.icu from CDT UI
Use java.text.MessageFormat instead of com.ibm.icu.text.MessageFormat

Change-Id: Ie7ed91d776b707def1bbfc12c24f5e863638e083
Signed-off-by: Sergei Kovalchuk <serjiokov@gmail.com>
2020-06-04 07:31:47 -04:00
Martin Weber
2abe8b5f31 Bug 559674: Use OptionMetadata based implementation for preference access
Change-Id: I4c253ceffbf3d20c32a06534809da5b0038ecab1
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-06-03 12:20:24 -04:00
Martin Weber
d13343cda9 Bug 559674: Migrating from a ILanguageSettingsProvider implementation to IIndexerInfoConsumer (6/6)
Move preference page to new UI plugin.

This is piece six of change https://git.eclipse.org/r/c/159828 being split into pieces.
Splitting is done for code reviewing reasons.

Change-Id: I9db0f3053ef9524a5b79a0fc9b8198ff241acb1a
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-06-03 10:39:35 -04:00
Martin Weber
e9d6747a74 Bug 559674: Migrating from a ILanguageSettingsProvider implementation to IIndexerInfoConsumer (5/6)
Adjust detection participant implementations & tests to new API.

This is piece five of change https://git.eclipse.org/r/c/159828 being split into pieces.
Splitting is done for code reviewing reasons.

Change-Id: Iab6917c45f9e749f2a8ff1f1c0b4c4991131cbd2
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-06-03 09:04:14 -04:00
Martin Weber
636691a404 Bug 559674: Migrating from a ILanguageSettingsProvider implementation to IIndexerInfoConsumer (4/6)
Adjust core tests to new implementation.

This is piece four of change https://git.eclipse.org/r/c/159828 being split into pieces.
Splitting is done for code reviewing reasons.

Change-Id: I925fd5e56cbf6bf3e6d14322c738c0ff412b8b1d
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-06-03 08:30:03 -04:00
Martin Weber
f80235d0e0 Bug 559674: Migrating from a ILanguageSettingsProvider implementation to IIndexerInfoConsumer (3/6)
This is piece three of change https://git.eclipse.org/r/c/159828 being split into pieces.
Splitting is done for code reviewing reasons.


Change-Id: Ibd033f8d69dfd19bf23e34fe4d731a3eac78afc6
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-06-03 07:56:16 -04:00
Martin Weber
9bf029721a Bug 559674: Migrating from a ILanguageSettingsProvider implementation to IIndexerInfoConsumer (2)
This is piece two of change https://git.eclipse.org/r/c/159828 being split into pieces.
Splitting is done for code reviewing reasons.

Change-Id: I9db46388046c57f2aaad88730636950d3271ae20
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2020-06-03 07:20:32 -04:00
Jonah Graham
c0ffeb6474 Bug 563864: By default fail build on test failures when building CDT with maven
Change-Id: I9bd3db3850cc45abb0ea53f8885a331c7f327887
2020-06-02 15:26:57 -04:00
Tony Homer
0563a98c6e Bug 558284 - re-enable docker plug-in
Reverts commit d70af18897.

The API change was reverted
See https://git.eclipse.org/r/#/c/163943/

Change-Id: If8049308e8f2aec3a1930433af9c6348d641b0ab
Signed-off-by: Tony Homer <tony.homer@intel.com>
2020-06-01 13:01:54 -07:00
Marco Stornelli
3997ba62f5 Bug 563591 - Fix exception in EvalBinding
Change-Id: If5138fec2ec00f1a88b25d3a32995a703c9aa790
2020-06-01 04:37:27 -04:00
Marco Stornelli
0f1940afc5 Bug 487990 - Fix format of variadic functions
Change-Id: I802d032f733247178db46c8fe43fdb9350555509
2020-06-01 04:37:13 -04:00
Jonah Graham
cfc3278454 Deprecate and remove use of method now in JVM (Object.equals)
Change-Id: Iec34f0f8388d7d76ce63f88cfc7d16534e5a7d84
2020-05-31 20:21:06 -04:00