1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00
Commit graph

102 commits

Author SHA1 Message Date
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
a7adea84b9 Add composites for CDT 12.1 and CDT LSP 3.2 2025-06-12 09:56:16 -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
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
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
c5cc700a2d
Check that all xml files in CDT are well formed (#1053) 2025-01-22 16:38:40 -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
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
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
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
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
Jonah Graham
0568568c33 Change standalone debugger to no longer limit number of bundles
The maintenance of having a streamlined standalone debugger that
starts as fast as possible is no longer possible. See for
example #591 - therefore when using standalone debugger, use
the same sets of plug-ins/features as the product it is installed
in uses. The side effect is that the standalone debugger in this
use case will start slower and extra "stuff" will be present in
this UI.

For people just building the standalone debugger, provide a minimum
feature set. This will be many more bundles than before, but
should still provide a reasonably small set that starts well.

This simplification also includes removing the the duplicates set
of CDT docs (debug/org.eclipse.cdt.debug.application.doc). These
provided a simplified version of CDT's documentation targetted
at just standalone debugger. However there are a few problems related
to this duplication:

- The two sets of docs were not kept in sync
- The standalone docs appear in the online help, leading to
  duplicated entries
- With the config.ini changes above, there is no way to exclude
  the main docs in the standalone case, so remove the duplicate

A number of directly related clean-ups are included too:

- Remove the `ConfigGenerator.java` that stopped being referenced
  in PR #761
- Complete the removal of `build-standalone-debugger-rcp` profile
  that was started in #761. There is a small drawback to not having
  this profile, the standalone debugger is very slow to build
  compared to the rest of CDT. If this becomes a problem, restoring
  this profile along with the changes made in #761 is reasonable.
- bring debug.product's licenses up to date
- modernize command line args to eclipse when using debug.product

Fixes #781
2024-05-12 16:12:17 -04:00
Jonah Graham
cc66780e92 Cleanup CDT repo related to the docker + Java 21 updates
- Fix links for cdt-infra
- The cdt-infra git repo is now archived, so this commit updates
the links to the current values.
- Add new Docker related files to the gitattributes as text files
- Update DEFAULT_BUFFER_SIZE for Java 21's value when building JNI,
this also means the dll/exe need a rebuild
- add a toolchains.xml since we use Java 21 toolchain, but most bundles
are Java 17 still
2024-04-26 20:26:40 -04:00
Jonah Graham
98e86ff23a CDT 11.5.0 composites 2024-03-10 12:44:13 -04:00
G. Hentschke
424f3112a7
CDT LSP 1.1.0 download files (#714)
Part of https://github.com/eclipse-cdt/cdt-lsp/issues/210
2024-02-21 17:45:15 +01:00
Jonah Graham
37ff19400f
Quote eclipse in cleanup script (#661)
This is to support cases where eclipse is installed in path
with spaces
2023-12-27 20:58:12 -05:00
Michael Keppler
c1197e2504
Fix typo in build script output (#659) 2023-12-27 16:34:19 -05:00
Jonah Graham
a9e1ddb81e CDT 11.4.0 composites
Part of #548
2023-12-06 10:25:26 -05:00
Jonah Graham
a498b56c59 CDT LSP 1.0.0 download files
Part of https://github.com/eclipse-cdt/cdt-lsp/issues/209
2023-09-18 18:12:49 -04:00
Jonah Graham
c0fb2b7017 Composites for CDT 11.3 release
Part of #420
2023-09-13 10:38:47 -04:00
Jonah Graham
69bd1cb4cf Add cdt-lsp support to the promote-a-build scripts
Part of https://github.com/eclipse-cdt/cdt-lsp/issues/197
2023-09-08 12:07:05 -04:00
Jonah Graham
4588c7694b Remove standalone publishing from promote-a-build
The CDT project stopped publishing standalone separately
2 1/2 years ago:

https://github.com/eclipse-cdt/cdt/blob/main/NewAndNoteworthy/CDT-10.2.md#cdt-standalone-debugger-part-of-main-download

and as there has been no call for it since then this commit
removes the remnants of the publishing script.
2023-09-08 11:43:27 -04:00
Jonah Graham
75521e0e9f Fix the check bundle versions check 2023-08-17 09:07:51 -04:00
Jonah Graham
fe2d38e7a1 Add API Baseline checking to the build 2023-08-17 09:07:51 -04:00
Jonah Graham
f083a4a203 Split check code cleanliness into two build steps
A while ago we made the "Make sure all versions have been bumped
appropriately compared to the baseline" output to another file
to make it clearer. This refactor splits it up into different
build steps instead so that I don't have to open an additional
log file.
2023-08-16 15:04:39 -04:00
Jonah Graham
022bf02327 CDT 11.2 p2 composites on download.eclipse.org
Part of #320
2023-06-13 15:21:00 -04:00
Jonah Graham
2c30db5fd2 Update promoted files for now archived releases 2023-03-20 13:34:11 -04:00
Jonah Graham
0318087295 CDT 11.1 p2 composites on download.eclipse.org
Part of #202
2023-03-15 10:16:26 -04:00
Jonah Graham
cb367f063e [releng] Make it easier to run cleanup scripts out of tree 2023-02-15 21:34:45 -05:00
Jonah Graham
ded8b708cc Fix broken composites on archive.eclipse.org
Fixes #235
2023-01-16 12:12:55 -05:00
Jonah Graham
028eabcaa1 CDT 11.0 p2 composites on download.eclipse.org 2022-12-07 14:34:20 -05:00
Moritz 'Morty' Strübe
848ce9c10b cleanliness.sh: Exit if stash is needed 2022-11-11 11:34:04 -05:00
Moritz 'Morty' Strübe
76fe5e6e2d Make running code cleanliness less painfull
* Only check for modifications in tracked files
* Tell the user to stash stuff, before running
2022-11-11 10:41:08 -05:00
John Dallaway
fa14e99ff8
Workaround EASE 0.9.0 headless startup issue (#156)
We register org.eclipse.cdt.codan.internal.ui.cxx.Startup with EASE to
avoid triggering bug 580960.
2022-11-10 19:37:21 +00:00
Jonah Graham
1893069eb5 Remove unmaintained LSP and DAP support from CDT
Fixes #139
2022-11-09 19:47:22 -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
8ab702fec8 Lower missing PDE unknown-identifier to warning for this bundle
Because the reference is to a TCF defined identifier, make
this just a warning because CDT does not have TCF in its
target platform.
2022-11-04 08:19:23 -04:00
Moritz 'Morty' Strübe
a60fc2b1b4 Add sanity checking and doc to do_format_code.sh
This should lower the hurdle to make the CI happy.
2022-10-19 12:15:21 -04:00
Jonah Graham
06c8b01d83 GitHub Action for Code Cleanliness Check
This commit runs GitHub actions for code cleanliness.
Because this includes compare and replace build,
this verifies that the commit is buildable and
clean.

The natives are not rebuilt here (yet) because
the GitHub actions runner does not have the
cross compiler tools installed.

Part of migration to GitHub - Issue #32
2022-10-09 12:14:53 -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
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
b334b94bae [releng] Migrate promote build releng to main CDT repo 2022-08-22 17:43:40 -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
a4480e4db6 [releng] new script to update all legal files
Change-Id: Ica07264a13015e81237e71f3b9cd3f3d5f20183b
2022-04-13 13:15:06 -04:00
Jonah Graham
bc8c94fbe6 [releng] Update to Tycho 2.7.1
2.7.1 is required to consume PGP keys successfully.

Change-Id: I2ca86728b9118943fcd364656861dc8e7170145a
2022-04-11 17:07:30 -04:00