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

36194 commits

Author SHA1 Message Date
John Dallaway
e1a8c4683a Sort external translation units by name 2023-10-11 08:47:52 +01:00
Jonah Graham
48df0ae2dc
Update apt before trying to install in GHA workflows (#586)
Fixes https://github.com/eclipse-cdt/cdt/pull/581#issuecomment-1752771968
2023-10-09 19:29:15 -04:00
John Dallaway
5c73848e2a Adorn images for external translation unit elements 2023-09-26 22:40:52 +01:00
Jonah Graham
54568402dc Save changes in CDT.setup and related files
Edits made in these files using the IDE lead to these changes,
therefore commit the changes.
2023-09-25 12:22:43 -04:00
Jonah Graham
4b2f711d4e Force CDT.setup to use specific target platform version
CDT.setup was allowing devs to choose the target platform, but
in reality most choices don't work. Instead force the known
correct value which is what Eclipse Platform does too.

Fixes #571
2023-09-25 12:22:43 -04:00
John Dallaway
8ca56de402 Detect MSYS2 UCRT64 toolchains 2023-09-25 16:02:05 +01:00
Jonah Graham
0d85f6c07b Synchronize cdt.setup's API baseline with cdt-baseline.target
Part of #551
2023-09-25 09:26:41 -04:00
Jonah Graham
c313ce8a8e
Add CDT LSP information to CDT's READMEs and N&N (#566) 2023-09-20 06:38:22 -04:00
William Riley
5250f5a07b
Replace org.freemarker with org.freemarker.freemarker (#547)
Also remove re-exports & add package imports

Fixes #546
2023-09-19 14:02:39 -04: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
ewaterlander
147332763b
Swapped arguments (#552)
Fixed swapped arguments in call of new ExtendedScannerInfo().
2023-09-15 17:28:31 -04:00
Jonah Graham
48804f5ed9
Mark unused API for deletion (#559)
Fixes #558
2023-09-15 17:27:33 -04:00
Jonah Graham
5a4320d9e3
Fix NPE if Launch Dialog not open yet (#561)
Some flows (such as open JUnit test case) does a IRunnableContext.run
before the UI is open. Therefore we need to fall back on the platform
progress service to run it since the launch config UI is not ready yet

Fixes #555
2023-09-15 17:26:15 -04:00
John Dallaway
8062151c30 Add AbstractGnuToolPrefixMacro copyright notice 2023-09-15 18:59:10 +01:00
Jonah Graham
78e15207f2 Make note in download.eclipse.org why CDT 11.3.1 isn't in composites
Fixes #551
2023-09-15 10:38:59 -04:00
Jonah Graham
92beadb855 Fix multiple repositories in API baseline
This happened to work before because the contents of
api-baseline.repo was in api-baseline.repo.simrel so
the error in the pom.xml went undetected until
#551 issue meant api-baseline.repo wasn't in
api-baseline.repo.simrel
2023-09-15 09:11:14 -04:00
Jonah Graham
49a7a341f9 Use temporary baseline of unreleased CDT 11.3.1
This is to workaround the missing BREE in CDT 11.3.0, see
#551 for details

Part of #551
2023-09-15 09:10:13 -04:00
Jonah Graham
a92b90a4c8 Bump all bundles that are missing BREE in 11.3.0
Part of #551
2023-09-15 07:24:17 -04:00
Jonah Graham
4afe538d75 Restore BREE headers to all MANIFEST.MF
Fixes #551
2023-09-15 07:13:19 -04:00
Jonah Graham
3bcba2303d Prepare repo for CDT 11.4.0 development
Part of #548
2023-09-14 19:47:15 -04:00
Jonah Graham
c0fb2b7017 Composites for CDT 11.3 release
Part of #420
2023-09-13 10:38:47 -04:00
Jonah Graham
3bfad37b07 Use final URLs for 2023-09 dependencies
Part of #420
2023-09-13 10:34:50 -04:00
Jonah Graham
19161e9df2
Include latest CDT milestone in cdt.target (#541) 2023-09-08 13:54:32 -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
Malte Grave
54a7f61a68 CMake: Fixed the correct path for starting 'cmake-gui'
This PR fixed the wrong source flag which was set by spawning the cmake-gui command.

Closes #532
2023-09-05 13:02:17 -04:00
Jonah Graham
5cedafe3e0
Updated dependencies in preparation for 11.3.0 RC2 (#538)
Part of #420
2023-09-05 12:09:21 -04:00
William Riley
2aa6a64459
Add commons-io (#537)
Fixes #536
2023-09-05 10:15:14 -04:00
Jonah Graham
3e5b4f5143
Remove old Orbit in Oomph p2 repo from setup (#524)
The https://download.eclipse.org/oomph/simrel-orbit/ was the temporary
URL.
2023-09-05 09:52:41 -04:00
Torbjorn-Svensson
1b2472faff
Ignore lines with "in function" and "In function" (#534)
In recent binutils version, the warning, for stubbed functions, is
properly printed and due to this correction, linking a project with
stubbed functions fails the build in headless build rather than
just printing the warnings.

Example:
.../arm-none-eabi/bin/ld.exe: .../libc.a(libc_a-writer.o): in function `_write_r':
(.text._write_r+0x10): warning: _write is not implemented and will always fail
...
12:02:52 Build Failed. 8 errors, 8 warnings. (took 6s.284ms)

The first line matches the error pattern (.*[/\\])?ld(\.exe)?: (.*)
that incorectly fails the build in headless mode (a single line matching
a pattern with severity "error" fails the build) when there are really
only warnings in the build log.

The problem can be obsered using the GCC 11 (and later) toolchain
builds with newlib for the arm-none-eabi target provided by Arm.

Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2023-09-01 11:25:45 -04:00
Jonah Graham
517b3a9b44 Revert "Disable running tests on Jenkins"
With the extra memory in the parent commit the build is succeeding again
and therefore we don't need tests disabled anymore.

This reverts commit bee7e0db0c.
2023-08-19 21:13:23 -04:00
Jonah Graham
3429dcf1a2 Allocate much more ram to the Pod on Jenkins
I think with some of the recent changes (Tycho 4, API baselines,
maybe even new dependency on Platform M3) it may be that our memory
requirements have gone up substantially for the build.

Also, with Sonar in the works that also requires more memory.

Therefore see if the EF's JIPP infra will allocate 10G of ram to
our build.

This should fix all the "Killed" messages randomly in the CDT builds.
https://wiki.eclipse.org/Jenkins#What_is_killing_my_build.3F_I.27m_using_custom_containers.21
2023-08-19 17:17:15 -04:00
coehlrich
3240494e23 Add support for ESC[#X to VT100
This escape sequence can be generated when using Powershell on
Windows (and possibly other places too) to erase number of
characters.

Change-Id: I32405f51a3f91fd8653d44f2676a5c85b696ef99
2023-08-19 13:43:20 -04:00
Jonah Graham
808147e174 Use new simrel-orbit p2 repo in Oomph setup
Fixes #511
2023-08-18 21:27:40 -04:00
Jonah Graham
81893a08a9 Print the memory allocated to maven on Jenkins and increase the memory available. 2023-08-18 21:05:02 -04:00
Jonah Graham
7f25a3a110 Run only the code cleanliness on Jenkins CI
I recently split code cleanliness into two parts, and since in Jenkins
the baseline-compare-and-replace and api-baseline-check run on the main
build we don't need to run them on the cleanliness pass too. Therefore
run the "only" script in the code formatting checks stage to speed up
build and avoid duplicated work.
2023-08-18 21:05:02 -04:00
Jonah Graham
bee7e0db0c Disable running tests on Jenkins
The Jenkins CI at EF is running very slowly recently and all
tests are timing out. The tests work fine locally and find
on GitHub actions runners.

Therefore on the Jenkins CI build without running the tests.
2023-08-18 21:05:02 -04:00
Maksym Oleksiv
422aea14e7
Add ability to prevent terminal title updates from ANSI Escape sequence
When a more complete implementation of ANSI Escape sequence for
renaming terminal titles was added in
[CDT 10.2](https://github.com/eclipse-cdt/cdt/blob/main/NewAndNoteworthy/CDT-10.2.md#rename-terminal-tab)
it caused a regression in use cases where extenders of the terminal
wanted to retain control of the terminal's title.

This commit adds a new flag that will prevent the title of the
terminal tab from being updated from ANSI escape sequences.

Fixes #494
2023-08-18 20:36:56 -04:00
Lisa-Marie Saru
c9a38e541f Code cleanup on Memory Search Result Page
- Use modern java instanceof
- Log unexpected exceptions
- reorder tests
- add missing null checks
- invert some if conditions for less nesting
2023-08-18 13:04:21 -04:00
Lisa-Marie Saru
f7a8c506f4 Improve memory search results page
The Memory Browser and Memory views will jump to the memory
address after a user selects a value from the Memory Search
Result list. If the views belong to the same tab group as
the Search view, then it might not be very intuitive for
the user to switch back to one of the Memory views and see
the effect of the selection.

The current commit adds on the the double click listener
(from MemorySearchResultsPage.java) the behavior to refocus
on the Memory Browser/ Memory view.

Resolves: #515
2023-08-18 13:04:21 -04:00
Jonah Graham
202f221671 allow github to index the build directory
https://docs.github.com/en/search-github/searching-on-github/finding-files-on-github
2023-08-18 13:03:14 -04:00
Jonah Graham
02035b02cf Support Context tags in Boost test runs
Boost a while ago added Context tags, this commit makes
those context tags supported in the testsrunner code of CDT

See also https://www.boost.org/doc/libs/1_82_0/libs/test/doc/html/boost_test/test_output/test_tools_support_for_logging/contexts.html

Fixes 459
2023-08-18 10:06:10 -04:00
Jonah Graham
60948feda8 Trim excess whitespace in Boost test output
The code for boost test running parsing left
all the excess whitespace from the XML file.
This led to a lot whitespace in messages
in the UI. This change trims leading and
trailing whitespace, but preserves whitespace
within a message.
2023-08-18 10:06:10 -04:00
Jonah Graham
081cb8249a Remove assumption that strings are always intern
The pre-existing code assumed that string (qName) passed in
to start and end element was always interned and compared
those strings to constants using ==. Instead rewrite
code using switch statements on the strings.

Also includes small change to the exception handling so that
code analysis can correctly where exceptions are always thrown.
i.e. instead of hiding a throw in an always throwing method,
return the exception and throw it at the call site.
2023-08-18 10:06:10 -04:00
Jonah Graham
ae92ad243a Update to platform 2023-09 M3 contribution 2023-08-17 17:38:03 -04:00
Jonah Graham
abed2b7ecd Use latest build of CDT, rather than latest release in target platform 2023-08-17 15:15:28 -04:00
Jonah Graham
75521e0e9f Fix the check bundle versions check 2023-08-17 09:07:51 -04:00
Jonah Graham
6d4e8ededc Stop checking baseline-compare-and-replace in build and test workflow
This is checked in the code cleanliness workflow and by failing the
main build here causes the tests not to run and the tests are more
important. Similar to the new api-baseline-check that doesn't
run in the main workflow
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
2c3aaf89a1 Update to Tycho 4.0.1
The error handling in Tycho 4 identifies when bundles are listed
in category.xml but not available. The removed bundles were
not in the output, and with this change the error is resolved
in the build.

Updated setting for maven enforcer to match Tycho requirements.
2023-08-16 15:55:55 -04:00