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

35807 commits

Author SHA1 Message Date
Jonah Graham
c07d64ee1c Migrate https://wiki.eclipse.org/CDT:Addons to main repo 2022-10-07 13:57:02 -04:00
Ed Merks
34bdc2def1 Fix broken working set references in the CDT.setup.
The previous "Remove double blanks from working set names" broken the
references because there a space is encoded as %20.
2022-10-06 08:59:55 -04:00
Michael Keppler
bd870d0c49 Remove double blanks from working set names 2022-10-04 06:56:04 -04:00
Jonah Graham
5702eb8e88 Update references in help to new N&N location 2022-10-03 21:55:27 -04:00
Jonah Graham
369d120b06 Removed old versions of N&N files
These were not linked from anywhere and now are in a different
location in the repo (see commit f0c2358276)
2022-10-03 21:55:27 -04:00
Jonah Graham
bbf3baa71a Roll back platform to avoid Job scheduling issue
The 2022-12 M1 build from Platform may have a regression that is causing
CDT build to fail more often due to deadlock in the indexer.

This commit uses 2022-09 R build of Platform to avoid the problem.

Note that this won't resolve the issue in Platform, but will allow
CDT to be built.

Fixes #81
2022-10-03 20:41:12 -04:00
Jonah Graham
7ca0dfd031 Add projects missing from API baseline to the baseline 2022-10-03 12:42:37 -04:00
Jonah Graham
b1af272000 Rename example project to have "example" in the name
This project is an example, it is not part of what is
released with CDT. To make this clearer I have renamed
the project to include "example" in the name.
2022-10-03 12:42:37 -04:00
Jonah Graham
ab3b819156 Remove API tooling from projects that are not part of our release 2022-10-03 12:42:37 -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
487dfc7163 Move check-maven-plugin-updates job to main CDT repo 2022-10-03 12:42:37 -04:00
Jonah Graham
fd909baa0a [releng] Update simrel site to 2022-12 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
efaadf4209 [releng] Update help docs for 2022-12 M1 2022-10-03 12:42:37 -04:00
Jonah Graham
989fba22fd [releng] Update comparator repo for 2022-12 M1 2022-10-03 12:42:37 -04:00
Jonah Graham
1d462315c1 Save canonical version of these files
Eclipse seems to change these files regularly to have
Service-Component last, so commit them that way.
2022-10-03 12:42:37 -04:00
Jonah Graham
b577257db1 Correct @since tags
Since tags should be major + minor only. maintenance releases
can't change API which is why it doesn't need to be specified.
2022-10-03 12:42:37 -04:00
Jonah Graham
e204bee657 [releng] Update to 2022-12 M1 target platform 2022-10-03 12:42:37 -04:00
Jonah Graham
705712ccfd [releng] Update to latest Tycho
I think this is required to allow Java 17 to work properly.
2022-10-03 12:42:37 -04:00
Jonah Graham
f0c2358276 Migrate New and Noteworthy from Wiki to GitHub
This commit migrates all the N&N content from
https://wiki.eclipse.org/CDT/User/NewInCDT to GitHub.

For newer releases (>= CDT 10.0) the entire content has
been rewritten in GitHub flavour Markdown. For older
releases, the N&N page has simply been saved in a
rendered format.
2022-10-02 20:46:56 -04:00
Jeff Johnston
e5fde4ad58
Replace deprecated ViewerObservables with ViewerProperties (#76)
- fix ContainerTab and ContainerPropertyTab
- fixes #73
2022-09-26 21:29:52 -04:00
Jonah Graham
e47a150db8 Remove old m2e connectors
With m2e upgrading to 2.0 in 2022-09, the old m2e connectors
don't work anymore and generally aren't needed either.
2022-09-26 14:31:13 -04:00
15knots
9c8986b3b1
Merge pull request #72 from 15knots/main
make the cmake error parser public API
2022-09-14 23:44:23 +02:00
Martin Weber
3d62e1696c make the cmake error parser public API
Change-Id: I2ab5d659e01ace32dbd61ffada18e2f8f47bc5cf
Signed-off-by: Martin Weber <11367029+15knots@users.noreply.github.com>
2022-09-13 20:20:14 +02:00
Jonah Graham
0610c366b7 Bug 579666: Document that fields in newui.AbstractPage have been removed 2022-09-09 20:18:47 -04:00
Jonah Graham
81785221b4 Bug 579666: Make fields private/non-API that were previously marked for removal 2022-09-09 20:18:47 -04:00
Torbjörn Svensson
3af7d50c4a Improve dark theme on Windows
Switch to CTabFolder/CTabItem for newui.
This changeset is a breaking change but on a review of existing
adopters/extenders of CDT no one is actually accessing these fields.

Change-Id: Ic1ef0f242c1d2932726f3a6d4c9df9558312764a
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
Also-by: Jonah Graham <jonah@kichwacoders.com>
2022-09-09 20:18:47 -04:00
Jonah Graham
93fbce4f2c Bump cdt.ui major version for CDT 11.0 development 2022-09-09 20:18:47 -04:00
Jonah Graham
0c6fb15274 Run the archiving of artifacts first
If the build fails before any test reports are generated, at least
save the artifacts that are there before failing the build due to no
test files.
2022-09-09 20:18:47 -04:00
Jonah Graham
2c3f1110ca
Bug 580365: Explicitly use bash for standalone debugger shell scripts (#69)
The scripts assume that /bin/sh is bash, but it isn't on all installs,
in particular Ubuntu: https://wiki.ubuntu.com/DashAsBinSh

Change-Id: I8ea05b2ffd1fd41b3aa1e6b395e43fc15a15321f
2022-09-09 17:10:08 -04:00
Jonah Graham
c84e47a711
Don't error when stack service in unavailable (#61)
The only time the stack service is unavailable is:
1. Stack service hasn't been started yet
2. Stack service has been shutdown
3. Stack service never gets created

All of these cases are configuration error, except (2). In (2) the
stack service isn't available to do source lookup, so instead
of an error, simply return no file (aka null)

Fixes #53
2022-09-09 14:50:00 -04:00
John Dallaway
4a8cf1c6e9
Accommodate ELF executables with any file suffix (#68)
Issue #65
2022-09-08 08:43:17 +01:00
Jonah Graham
b51804c7ed
Fix issues link in markdown 2022-09-07 15:26:37 -04:00
Martin Weber
d1a43d5417 avoid StringIndexOutOfBoundsException on close. Fixes #66
Signed-off-by: Martin Weber <11367029+15knots@users.noreply.github.com>

Change-Id: I816b8ee5852e6b25011a611c07c54d0a814a74d8
2022-09-07 15:25:38 -04:00
Moritz 'Morty' Strübe
52483c01c2
Docker: Allow setting a mapping for docker paths (#46)
* Docker: Allow setting a mapping for docker paths

Bug 579944 introduced using Windows paths, to allow putting your project
into the WSL's file system.
While Docker for Windows (the commercial version) supports Windows
paths, this does not work with a OSS-docker installed in the WSL.
It is now possible to provide a path mapping to work around this.

Co-authored-by: Jeff Johnston <jjohnstn@redhat.com>
2022-08-30 15:40:28 -04:00
Jonah Graham
c0e9b347a2
Part of #32: Document the redirects for eclipse.org/cdt to GitHub (#60) 2022-08-22 20:36:41 -04:00
Jonah Graham
45f7fd7079 Correct path to promote script 2022-08-22 19:31:40 -04:00
Jonah Graham
8b0ea1fd07 Default to not publish standalone
As we don't publish it anymore normally, make that the default
2022-08-22 18:10:12 -04:00
Jonah Graham
4d41a5df89 Use standard filename extension for releng template
This file is hardly (if ever) used anymore, but lets make it
fit in well with the rest of CDT
2022-08-22 18:09:22 -04:00
Jonah Graham
10dbee9110 Make shell scripts executable 2022-08-22 17:55:50 -04:00
Jonah Graham
15a96b3915 Update references of git.eclipse.org to github 2022-08-22 17:43:40 -04:00
Jonah Graham
5d40878d1b [releng] Prepare for CDT 10.7.1 downloads 2022-08-22 17:43:40 -04:00
Jonah Graham
b334b94bae [releng] Migrate promote build releng to main CDT repo 2022-08-22 17:43:40 -04:00
Jonah Graham
42a7aa82d6
Update FAQ instruction on running test suite (#58)
as a result of the conversation on PR #54 we identified the FAQ
on this item was out of date.

https://github.com/eclipse-cdt/cdt/pull/54#issuecomment-1222596313
2022-08-22 16:59:31 -04:00
Davin McCall
6445ec4890
Bug 580325 - constexpr evaluation of builtins for clrsb, clz (#52)
Adds constexpr evaluation for some additional compiler builtins. This is
probably the last lot few builtins that can reasonably be
constexpr-evaluated in CDT.
2022-08-22 12:18:26 -04:00
Christian Walther
ef195dbb73 Fix flaky tests in BuiltinSpecsDetectorTest
testAbstractBuiltinSpecsDetector_EnvChangesGlobal did not properly clean
up after itself, which caused
testAbstractBuiltinSpecsDetector_EnvChangesConfiguration_1,
testAbstractBuiltinSpecsDetector_EnvChangesConfiguration_2, and
testAbstractBuiltinSpecsDetector_EnvChangesGlobal to fail when run for
the second time in the same session.

Running tests twice is not useful, but happens in Eclipse with a launch
configuration set to run all tests in
org.eclipse.cdt.managedbuilder.core.tests/tests - once directly and once
through AllLanguageSettingsProvidersMBSTestSuite. I have not found any
way of running every test exactly once in the GUI.
2022-08-22 12:17:50 -04:00
Christian Walther
5f3cd7ac20 Fix flaky test testPersistentProperties
Don't sleep for a hardcoded time but wait for the actual condition.
1000 ms was often insufficient on my system.
2022-08-22 12:17:50 -04:00
Ed Merks
ccdd9b2c99
Simplify the API baseline target (#42)
Also simplify the corresponding API baseline targlet in the setup

https://github.com/eclipse-cdt/cdt/issues/39
2022-08-22 11:54:05 -04:00
githubaf
9ce74a7145
Do not mark "removing unused section" lines as errors (#19)
gcc linker outputs "removing unused section" to stderr when the option "--print-gc-sections" is used. That is fine. 

Eclipse CDT reports all these lines as errors however and the build seems to have failed, which is wrong.
The was a bug report Bug 539927: Do not mark "Removing unused section" lines as errors and a fix
To fix this bug a change was made 2020-12-02 05322656c6
-CDTGNULinkerErrorParser.regex.LdMode=(.*[/\\\\])?ld(\\.exe)?: (mode .*)
+CDTGNULinkerErrorParser.regex.ldInfo=(.*[/\\\\])?ld(\\.exe)?: ((mode|Removing unused section) .*)

That does however not solve problem entirely, as the output of gcc linker is "removing", not "Removing", i.e. the word "removing" starts with a lower-case "r"
To fix that problem both R and r should be accepted.
2022-08-22 11:42:57 -04:00