1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 10:16:03 +02:00
Commit graph

35930 commits

Author SHA1 Message Date
Mat Booth
4de9516e97 Bug 580314 - Remove deprecated methods from core build
Deprecated methods in CommandLauncher and CBuildConfiguration
are now removed.
2022-10-21 15:38:58 +01:00
Jonah Graham
6cd2e97470 Bug 580873: Remove error checking on dprintf parameters
The parser for dprintf parameters was much too simplistic and
prevents real uses cases from operating.

It is not necessary to remove the , between the arguments to
dprintf, so don't try to split on that anymore. That also
means we can't check for and error on mismatch between format
specifiers and number of arguments.

e.g. "===> XML_EVENT_TEXT(%s)\n", (char *)strtok(Text,"\n")
should be permitted.

The alternative would be to write a more complete parser for
both the printf specification and the arguments. Well out of
scope and unnecessary.

Some inputs may now be accepted by the GUI and then when
inserted with GDB fail. These errors are displayed in the
GUI already anyway.
2022-10-20 10:27:58 -04:00
Mat Booth
4020a7f550 Fix development buid download links
Correct some wrong links for downloading development builds of CDT in
the Downloads.md document.
2022-10-20 12:54:47 +01: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
3b3f29c93a Don't synchronize on Boolean/Integer object
This fixes numerous warnings like this:
Boolean is a value-based type which is a discouraged argument
for the synchronized statement
and:
Integer is a value-based type which is a discouraged argument
for the synchronized statement
2022-10-19 10:53:09 -04:00
Jonah Graham
161b57f9ed Tests for dprintf GDB functionality
Bug 400628 was originally completed without any new tests.
To make it easier to test that Bug 580873 works, this commit
adds in some missing tests.
2022-10-19 10:53:09 -04:00
Jonah Graham
34381cd253 Bump Major version of o.e.cdt.dsf.gdb for CDT 11.0.0 2022-10-19 10:53:09 -04:00
Jonah Graham
ca7a2f6bb8 Fix formatting 2022-10-19 10:53:09 -04:00
Mat Booth
7edb711c7c Fixes launchbar icons looking blurry on hidpi screens
The launchbar way of compositing images for the buttons was preventing
the use of higher quality icons on hidpi dislays, making the launchbar
buttons look blurry or pixelated compared to other toolbar buttons.

Instead we can get a nicer result with a custom widget on which we can
directly draw a button border plus the hidpi version of the icon.

Also included is an attempt at a 2x hammer build button icon, which
should look a bit nicer on hidpi screens.
2022-10-19 08:41:15 +01:00
Alexander Fedorov
4887cd3bc6 CDT.setup working set definitions: fix swapped LSP and LLVM
Fix working set predicate patterns for "CDT LLVM" and "CDT LSP"
2022-10-18 10:05:31 +03:00
Alexander Fedorov
bb00ccad08 org.eclipse.cdt.target should have shortcut for CDTConfiguration.setup
Added shortcut to CDTConfiguration.setup in order to resolve validation
problems in CDT.setup
2022-10-18 09:42:56 +03:00
Mat Booth
1783120eb7 Improve the CMake project wizard template
Fixes out-of-the-box deprecation warnings, the template now specifies a
minimum CMake version of 3.10

Allows project names containing spaces by using freemarker syntax to
remove them where necessary in the CMakeLists.txt file.

Demonstrates how to implement the common idiom of configuration header
files.
2022-10-18 00:08:44 +01:00
Mat Booth
95fb6ee72e [releng] Fix up usages of tycho-source-plugin
Migrate usage of deprecated tycho-source-feature-plugin plugin
to the tycho-source-plugin:feature-source goal.

Eliminate duplicate invokations of the
tycho-source-plugin:plugin-source goal.
2022-10-17 14:25:11 +03:00
Jonah Graham
1d9de8fd1e Fix fragment name
Two bundles were called DSF-GDB test fragment,
rename this one to be more explicit
2022-10-10 19:34:08 -04:00
Jonah Graham
f6a61c8c79 Make a small note about GitHub actions
Probably more info is needed, but I want as much as possible
for the tests to be self documenting, so expect additional
comments in PRs that explain what is happening.
2022-10-10 19:33:23 -04:00
Jonah Graham
56ee2c3bb1 DSF-GDB tests in GitHub Actions
- Fix the running so that the correct gdb is used.
- Only run DSF tests if dsf directories have been modified
- Default to using gdb,gdbserver on the PATH when running
  tests
- Remove double reporting of test results
2022-10-10 08:44:28 -04:00
Jonah Graham
9a22ad7097 Add GitHub actions to Build and Test CDT 2022-10-09 16:24:41 -04:00
Jonah Graham
7adcdbe7d9 Migrate API changelog from HTML into Markdown
Managing the API changelog in HTML has been rather burdensome, getting
the formatting correct and doing things like having numbered lists
added unneeded burden to the process.

This change moves all the old content to markdown and
places it prominently next to the other NewAndNoteworthy content.

Also included here is some fine tuning to the related documentation
about API.

Part of #32
2022-10-09 13:24:47 -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
89677a612e Add some links for CDT indexer FAQ 2022-10-07 13:57:02 -04:00
Jonah Graham
4ba3cd99c2 CDT Logos migrated from CDT/newlogos 2022-10-07 13:57:02 -04:00
Jonah Graham
b83f97d891 Fix broken link 2022-10-07 13:57:02 -04:00
Jonah Graham
8bda3e42b4 Migrate CDT/User/HowToTroubleshootCDTIndexing 2022-10-07 13:57:02 -04:00
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