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

37 commits

Author SHA1 Message Date
Jonah Graham
b87a45520a [releng] Prepare repo for CDT 11.1.0 development 2022-12-09 12:24:55 -05:00
Jonah Graham
a3a6682faa Lower build.properties errors to warnings for some projects
Some projects build some of their bin includes with maven
build, so remove the error in those cases.

fixup for 6eaaf714cc
2022-11-07 23:13:26 -05:00
Jonah Graham
6eaaf714cc Upgrade build.properties warnings to errors
Warning in build.properties will be errors when they run
in the tycho build, like this:

```
Error:  Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.7.5:package-plugin
(default-package-plugin) on project org.eclipse.cdt.core.tests:
/home/runner/work/cdt/cdt/core/org.eclipse.cdt.core.tests/build.properties:
bin.includes value(s) [test.xml] do not match any files. -> [Help 1]
```

So make them errors in the workspace so that the issue is
detected before push.

Some build.properties issues don't affect the build, but
are still indicative of a problem.
2022-11-06 18:29:28 -05:00
Jonah Graham
1f19cff227 Make missing identifiers and classes in plugin.xml errors
Subsequent commits fix the errors
2022-11-04 08:19:23 -04:00
Jonah Graham
e4e06008af Update to Java 17 as BREE. Fixes #80 2022-10-03 12:42:37 -04:00
Jonah Graham
2843c8e0e8 Remove no longer needed API filters 2022-10-03 12:42:37 -04:00
Jonah Graham
110ac149c2 [releng] Bump versions for CDT 11.0.0 2022-10-03 12:42:37 -04:00
Jonah Graham
059f5ee63f Bug 580045 - Better error message for compiler built-ins
Change-Id: Ib6c99531fea024a56498cf8e6e63fadd7d7f9c48
2022-06-08 14:03:09 -04:00
Jonah Graham
815b3f9a92 Bug 580045 - Display an error when reused launcher causes race condition
This reverts commit d01a15f013 and
fixes marker creation too.

Change-Id: I0d391c6df9ac4b17f3e5c8b6e87d5a7991fdc669
2022-06-08 12:49:12 -04:00
Martin Weber
d01a15f013 Bug 580045 - Spurious java.lang.IllegalThreadStateException: Process not Terminated in o.e.c.jsoncdb.core.CompileCommandsJsonParser
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>

Change-Id: I898b07dca92f47ec7315da3380231b818349139c
2022-05-30 22:45:04 +02:00
Jonah Graham
9a2558bd66 Fix comments with new name for IArglet
Follow on from commit 422835d273 that
refactored IArglet into its current location

Change-Id: I83f5afb8226327ace471cfc80a3d777559f2763f
2022-05-20 13:52:07 -04:00
Jonah Graham
580fea8881 Mark deprecated class for removal
Change-Id: I68da238f7942bd1d2cd898c470f1dfcdba1fb5a1
2022-05-20 11:46:54 -04:00
Jonah Graham
937b4d5798 Bug 579982: More removing of cached Matcher objects
This follows on from 1c404b050d

Change-Id: I764ba6a96aa650f38ef90521b2a67cc87903b2d5
2022-05-20 11:44:03 -04:00
Jonah Graham
a1c02e2cce [releng] Apply auto-clean of save to all files with Eclipse 4.23
This mostly is using diamond operator, but includes
adding missing @Override and organizing imports and
applying formatting improvements in the JDT formatter.

Change-Id: Id91cbff33b0a039cc5121945ffbc407ecba45866
2022-04-19 20:13:15 -04:00
Jonah Graham
148ae40d0f [releng] Make CDT Clean-up profile match Editor on save actions
The CDT Cleanup profile had a bunch of extra cleanups applied to it, this
prevents running the CDT cleanup profile manually to simulate running the
save actions on all Java files

Change-Id: Iad491e1258a4ba90d81d1457ea0f6779e3663e38
2022-04-19 20:13:15 -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
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
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
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
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
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
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
dbd7558f17 [releng] Bump to CDT version 10.6.0
Change-Id: I28629cdfb0906ce7f1b33a88cbbd55521afc8f6b
2022-01-12 14:07:45 -05:00
Torbjörn Svensson
6688a93e5f Remove unneeded pom.xml and maven attribute
Tycho will automatically generate the content of the pom.xml, so no
need to define it explicitly.
The maven attribute reports an error in the problem view that cannot be
fixed without manually removing the attribute. Left from an earlier
version of the plugin?

Contributed by STMicroelectronics

Change-Id: I733f2b048e8d80eca8bceee1526734b4c4dbd75b
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2021-10-25 18:57:28 -04:00
Jonah Graham
ad4d444823 [releng] Prepare for CDT 10.5.0
Change-Id: I9b72edf4a0ff0771a147934dd7f1c92ba1ee799a
2021-09-26 20:23:17 -04:00
Martin Weber
42d339e3ec remove access restriction on o.e.c.jsoncdb.core
Change-Id: Iac1dca43a01ce2a61640b93da688645729184665
2021-09-24 15:00:58 -04:00
Martin Weber
80de3ba94f Add support for the clang --target option for cross compilation.
(Backport from cmake4eclipse)

Change-Id: I8239aec001a5e9c919f85177798dabeec1f18285
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2021-09-14 14:28:58 -04:00
Martin Weber
8b80033025 Bug 575623 - jsoncdb parser does not support the "arguments" element from the compilation database
Change-Id: I66f7b7261518e24d6f0fba223cd6a2d56e83e0c4
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2021-09-13 20:46:58 -04:00
Martin Weber
2d90c17c5b Bug 575624 - jsoncdb parser does not properly handle macros defined to "nothing"
Change-Id: I22fffed13d450e61dc13d5f84415c68e5cbbace0
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2021-09-13 20:46:58 -04:00
Marc-Andre Laperle
9b34e460e5 Bug 575628 - jsoncdb parser defines normal includes as local includes
When using jsoncdb and parsing either -I (POSIX) or /I (CL) arguments,
the include paths are flagged as local include paths. Local include
paths are treated by the CDT preprocessor only for #include "foo.h"
(quoted paths). So when using jsoncdb, several of my #include <foo.h>
don't work because they cannot be found on the wrongly flagged local
include path whereas others can sometimes be found because of a feature
in the indexer preferences called "heuristic resolution" which works if
the header happens to be in the workspace (but it can also silently pick
up the wrong one on name clash).

Change-Id: Ibb5317ed73f4a1700f21e8e3531db74995542d13
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2021-09-12 23:39:13 -04:00
Marc-Andre Laperle
139e82268b Bug 575622 - Problems in jsoncdb parser for compilers that do not support built-in detection
Change-Id: I04ff6ed03c135d23d9b6ef7c83411a1fffbd9f8d
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2021-09-11 13:31:44 -04:00
Martin Weber
2a257657c3 remove misleading TODO
Change-Id: I4b3bb8a1441ae662f34edf08daf8d272f86e08cd
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2021-08-27 13:40:33 -04:00
Martin Weber
5e1451a607 Bug 564349 - move code to parse compile_commands.json to subdir jsoncdb
Change-Id: I68f3b861b4326adf6da4f9d074a314628c7e8fef
Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
2021-07-27 15:25:54 -04:00