1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-30 20:35:38 +02:00
Commit graph

1412 commits

Author SHA1 Message Date
Christoph Läubrich
06084c999f Cleanup remaining terminal features 2025-07-25 14:15:52 +03:00
Christoph Läubrich
7f8746b12b Cleanup terminal telnet feature and migrate to platform 2025-07-24 18:39:29 +03:00
Christoph Läubrich
c8347e66f6 Cleanup terminal ssh feature and migrate to platform 2025-07-24 16:00:32 +03:00
Christoph Läubrich
731533b17c Migrate GDB to new Eclipse Terminal View Support 2025-07-19 17:11:14 +03:00
Alexander Fedorov
f243fcdb17 Prerequisite for #1233 (Move to migrated platform terminal)
CDT needs to update its hack to follow internal changes in Platform
0e4942bca8 (diff-54c81a16536eba9489797a9d665c195f0908163e2c7b14ad055d78cc62579fdaL193)
2025-07-18 19:18:59 +03:00
Tue Ton
f7d137102b
Add Terminal's native fragment for Linux riscv64 (#1210)
- add a new fragment 'org.eclipse.cdt.core.linux.riscv64' containing
compiled riscv64 natives suitable for the Linux riscv64
platform.

- add the 'libserial.so' binary compiled for
Linux riscv64, for the serial communication interface.

- add the linux/gtk/riscv64 environment triplet to various Maven
build scripts to support building CDT software for that environment.

Fixes #980
2025-06-20 14:41:55 -04:00
Jonah Graham
a1cd8a948f
Remove workaround for egit not providing path information for show in terminal (#1208)
To fix https://bugs.eclipse.org/bugs/show_bug.cgi?id=460277 many years
ago some workarounds were added to the terminal to allow adapting
git inputs to locations to open a terminal with.

Since that workaround was added it is no longer necessary because egit
now adapts objects and provides selections in a way that means we don't
need it anymore. In particular 316d0971ad
adapts inputs to Files that we know how to open with.

Fixes https://github.com/eclipse-cdt/cdt/issues/1202
2025-06-17 14:07:47 -04:00
John Dallaway
931051edfe [releng] Use platform 4.36 release build 2025-06-12 20:56:45 +01:00
Jonah Graham
a7adea84b9 Add composites for CDT 12.1 and CDT LSP 3.2 2025-06-12 09:56:16 -04:00
Jonah Graham
91e25ac721 Automatically set description of build to parameters of build 2025-06-12 09:48:55 -04:00
Jonah Graham
2ba5b3d68a
[releng] Prepare repo for 12.2 development (#1185) 2025-06-09 15:31:36 -04:00
Jonah Graham
9b6fded373 Explicitly use Platform's M3 I-build
Since M3 was published, platform had upped version
of org.eclipse.core.runtime.

See https://github.com/eclipse-cdt/cdt/pull/1165#issuecomment-2892408192
2025-05-19 20:54:39 -04:00
Jonah Graham
60b71ecba7 Migrate tm.terminal.control to eclipse platform
The new location of this bundle's source is
https://github.com/eclipse-platform/eclipse.platform/tree/master/terminal/plugins/org.eclipse.tm.terminal.control

It was mirgated to platform in:
https://github.com/eclipse-platform/eclipse.platform/pull/1851 as part
of the work to achieve https://github.com/eclipse-platform/eclipse.platform/pull/1762
2025-05-19 18:12:53 -04:00
Jonah Graham
8687aec665 [releng] Require target platform bundles as minimum version
Using:

```
mvn org.eclipse.tycho.extras:tycho-version-bump-plugin:4.0.12:update-manifest
```

and then multiple iterations to bump the bundle-version:

```
mvn verify org.eclipse.tycho:tycho-versions-plugin:4.0.12:bump-versions -Dtycho.bump-versions.increment=100 -DskipDoc=true         -DskipTests=true         -P baseline-compare-and-replace -fae -Djgit.dirtyWorkingTree-cdtDefault=warning
```

Make sure bounds of all dependencies match what we built against. This
prevents issues such as Bug 536448 from recurring. In 2025-06 there
are a number of Eclipse Platform changes that make CDT susceptible
to these types of issues again.

Note that this change is similar to previous iterations, such
as 1087dc5f22, but with the automatation
we can now apply this to *all* bundles.

In addition, with the tighter version constraints, building from
simrel repo for the jniheader (releng/scripts/do_rebuild_natives.sh)
is no longer sufficient. This speedup has been removed as it was probably
incorrect to have by default.

The api filters were introduced because some bundles are re-exported. Those
re-exported bundle requirements mean that technically we need to bump
the version, but in reality we effectively required the range as now
documented anyway, so doing a major version bump is unneeded.
2025-05-19 14:28:08 -04:00
Jonah Graham
7fa83d2902 Use latest Eclipse Platform and all dependencies for CDT 12.1
Includes removal of references to Platform internals that have been
changed.

Note the removal of setHoverImageDescriptor matches the change
made to platform in
be4a4aab48 (diff-6b07181bf8beb80046741858e13f5721f608136e00ce17749b5fa6d550cece9b)
2025-05-19 14:28:08 -04:00
Jonah Graham
4f39107b14
Prepare repo for CDT 12.1.0 (#1107)
Includes building with Tycho 4.0.12
2025-05-06 16:16:40 -04:00
Jonah Graham
04105c2457
Set Include Binary Equivalents to false for new major release of CDT in setup file (#1137)
Fixes #1123
2025-04-09 13:26:29 -04:00
Jonah Graham
b25dc65e33
p2 composites for CDT LSP 3.1 (#1136)
Part of https://github.com/eclipse-cdt/cdt-lsp/issues/480
2025-04-09 12:38:55 -04:00
Jonah Graham
fd56a4ee11 Update p2 latest URLs to CDT 12.0 and CDT LSP 3.0 2025-03-12 15:16:31 +00:00
Jonah Graham
52456bc332 Update list of archived folders 2025-03-07 20:43:59 -05:00
Jonah Graham
fb733b00c3 Composites for CDT 12.0 and CDT LSP 3.0 2025-03-07 12:18:49 -05:00
Jonah Graham
f43b833f01
Make sure that if any of the piped commands fail, the cleanliness fails (#1083) 2025-02-12 15:46:03 -05:00
Jonah Graham
889a5f1db5
Add CDT-LSP to API Baseline (#1066)
See https://github.com/eclipse-cdt/cdt-lsp/pull/406#issuecomment-2622119241
2025-01-29 12:43:15 -05:00
Jonah Graham
c5cc700a2d
Check that all xml files in CDT are well formed (#1053) 2025-01-22 16:38:40 -05:00
Jonah Graham
1abb9900db
Restore the empty activity IDs (#1045)
In #974 I removed activities we were not using anymore, but it turns
out if LaunchUtils.enableActivity is called on a removed id, strange
things happen, such as other activities incorrectly being enabled.
This may be a bug in platform, or just undefined behavior. But because
extenders do have calls to LaunchUtils.enableActivity in their code,
leave the empty activity ids behind.

Fixes #1044
2025-01-17 12:09:21 -05:00
Jonah Graham
64ad743617 Update maven dependencies to latest versions, especially Hamcrest
Fixes #1037
2025-01-16 14:57:42 -05:00
Jonah Graham
89b8685886 Reorder file in the order that the category editor saves it 2025-01-16 14:57:42 -05:00
Jonah Graham
1c8edca92f Fix broken https link in setup
Fixes break introduced yesterday in 75ef178ffd
2025-01-15 11:40:22 -05:00
Jonah Graham
4d2ed9dacf
Remove generation of adoc files in code cleanliness (#1005)
This was supposed to be a check to ensure adoc generation was
working, but it interferes with the overall check code cleanliness
as it leads to jgit dirty errors.

The generation of the docs is done as part of the build too, so
it is redundant to do them here.
2025-01-14 21:19:22 -05:00
Jonah Graham
75ef178ffd
Move target platform from 2024-09 -> 2024-12 (#1007)
When we decided to delay CDT 12.0 by 3 months it also meant that
the desired target was 2024-12, this commit makes this change
across the target platform
2025-01-14 21:12:41 -05:00
Jonah Graham
9aa3144840 Generate more of the documentation with asciidoc and automate more
- Migrate all getting_started from html to adoc
- Document (in README.md) notes on migrating html to adoc
- Reorganize generation of adoc slightly so that
  - all directories can be generates at once
  - output suffix changed to htm so that migrated files
    exist at the same URL on help.eclipse.org
- Add generation to the cleanliness checks to ensure that the
  html matches adoc
- Manage the adoc headers with a script as that is a large section
  of copy-pasted code on each adoc file (see README + adoc-headers.txt)
- Move maven version info to pluginManagement (consistency with other
  maven plug-ins)
- New profile "asciidoc-auto-refresh" which will auto build the
  files as edited.

Prerequisite of #992
2025-01-14 13:05:53 -05:00
Jonah Graham
39ee2eded4
Update to latest versions of build tools (#986)
Beta versions of maven plugins are omitted from this
upgrade.

A new version of Tycho brings in an update ECJ which means some
of the class files are different, hence the need to bump versions
of bundles too.

A new calendar year brings an update to Copyrights
2025-01-06 20:37:10 -05:00
Jonah Graham
ae9f145856
Always show CDT Debug Preference Pages (#974)
The CDT Debug Activites was originally added when we had two
distinct debuggers in CDT, the DSF one and the CDI one. To
eliminate confusion the preferences for the respective
debug infrastructures were only displayed if users actually
ran such a debug session.

Now with just one debug infrastructure, we should always display
the preference pages. It also removes some confusion that some
preference pages weren't visible until after you started the
debug session. So for example, users couldn't turn on or off
a bunch of default settings until after creating and launching
a debug session.

I have left the enableActivity call in GdbLaunchDelegate in
case any extenders were hiding some of their UI behind that key.

The only exception in the above is the View Performance preference
page which was misplaced in the top level Run/Debug preference
tree, even though it is CDT specific. That preference page has
been re-parented to C/C++ -> Debug

Fixes https://github.com/eclipse-cdt/cdt/issues/972
2025-01-06 12:46:55 -05:00
Jonah Graham
87660ae05c Update CDT setup for new branch name of cdt-lsp
See https://github.com/eclipse-cdt/cdt-lsp/issues/384
2024-12-28 10:51:16 -05:00
Jonah Graham
dfdc174b6d Update and refactor Dockerfiles to newer Ubuntu
The docker images all have new, simpler names and use Ubuntu 20.04
(instead of 18.04) as their base.

A few new tools have been added, specifically what is needed for:

- Linux on RISC-V - see #980
- Winodows on ARM - see #969

Fixes #976
2024-12-28 10:48:30 -05:00
Tue Ton
83e52ef18c Add native support for Windows on Arm64 (#971)
- add a new fragment 'org.eclipse.cdt.core.win32.aarch64' containing
re-compiled Arm64 natives suitable for the Windows on Arm64 platform.

- add the 'serial.dll' binary re-compiled for Windows on Arm64.

- add the win32/win32/aarch64 environment triplet to various Maven
build scripts to support building CDT software for that environment.

The updated dlls/exes are not included in this commit and will be provided
in subsequent commits with the corresponding update to build infrastructure

Part of #969
2024-12-28 10:48:30 -05:00
Jonah Graham
e50f81b95b
Bump version to CDT 12.0.0 (#911) 2024-10-08 12:52:15 -04:00
Jonah Graham
cfe1db70b4
Use 2024-09 dependencies for CDT 12.0 development (#900) 2024-09-12 17:18:33 -04:00
Ed Merks
219f94c82f
Update to the latest direct-from-maven dependencies (#894) 2024-09-12 17:15:02 -04:00
Jonah Graham
abe036e1ea
Updates for CDT 11.6.1 (#858) 2024-07-02 21:11:07 -04:00
Jonah Graham
2fbb42119e
p2 composites for CDT 11.6 and CDT-LSP 2.0 (#823) 2024-06-12 13:47:10 -04:00
Jonah Graham
4e1a7bc297
Start building against Eclipse Platform 4.33 I-builds (#820) 2024-06-11 13:16:28 -04:00
Jonah Graham
7fcfbb0f96
Prepare repo for 11.7.0 development (#813) 2024-06-05 13:19:53 -04:00
Ed Merks
582ff60b14
Update org.assertj:assertj-core to 3.26.0 (#800) 2024-05-27 21:06:40 -04:00
Ed Merks
f12d4815d9
Update org.apache.commons:commons-compress to 1.26.2 (#799) 2024-05-24 12:28:28 -04:00
Ed Merks
eeb4f03481
Update gson to 2.11.0 (#798) 2024-05-21 20:45:22 -04:00
Jonah Graham
238d38b987
Improve error message when service segment bump is needed (#791) 2024-05-17 13:47:33 -04:00
Jonah Graham
237c326a58 Choose latest of commit date and author date for the end of copyright 2024-05-15 15:58:23 -04:00
Ed Merks
271041be36
Update org.apache.aries.spifly.dynamic.bundle to 1.3.7 (#785) 2024-05-14 11:26:16 -04:00
Ed Merks
c1fdc48156
Include cdt-lsp in the CDT.setup (#786)
- Configure the JRE for Java 21.
- Clone cdt-lsp
- Include its source locator in the targlet
- Configure both clones to rebase new branches by default.
- Add a working set for the CDT LSP projects.
2024-05-14 10:49:13 -04:00