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

21 commits

Author SHA1 Message Date
Jonah Graham
207bddab5a
Build with Tycho 4.0.6 (#715)
Includes bundle version bumps for new version of ECJ and
target platform update.

Co-authored-by: Александър Куртаков <akurtakov@gmail.com>
2024-02-22 21:38:57 -05:00
Jonah Graham
6eaaf714cc Upgrade build.properties warnings to errors
Warning in build.properties will be errors when they run
in the tycho build, like this:

```
Error:  Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.7.5:package-plugin
(default-package-plugin) on project org.eclipse.cdt.core.tests:
/home/runner/work/cdt/cdt/core/org.eclipse.cdt.core.tests/build.properties:
bin.includes value(s) [test.xml] do not match any files. -> [Help 1]
```

So make them errors in the workspace so that the issue is
detected before push.

Some build.properties issues don't affect the build, but
are still indicative of a problem.
2022-11-06 18:29:28 -05:00
Jonah Graham
1f19cff227 Make missing identifiers and classes in plugin.xml errors
Subsequent commits fix the errors
2022-11-04 08:19:23 -04:00
Jonah Graham
e4e06008af Update to Java 17 as BREE. Fixes #80 2022-10-03 12:42:37 -04:00
Jonah Graham
148ae40d0f [releng] Make CDT Clean-up profile match Editor on save actions
The CDT Cleanup profile had a bunch of extra cleanups applied to it, this
prevents running the CDT cleanup profile manually to simulate running the
save actions on all Java files

Change-Id: Iad491e1258a4ba90d81d1457ea0f6779e3663e38
2022-04-19 20:13:15 -04:00
Jonah Graham
7400e22b1f [releng] Update all legal files with update_legal_files.sh
The about.html was changed as per
https://gitlab.eclipse.org/eclipsefdn/it/websites/eclipse.org/-/issues/90

Change-Id: Ied879279460a8fc610630fc26794ab3df9eae39f
2022-04-13 13:42:35 -04:00
Jonah Graham
1f0451c163 [releng] Prepare for 10.7.0 with version bumps
All the about.html files are updated, so every bundle that hasn't
already had a bump in 10.7 needs one now

Change-Id: I6143d2fbe77a58a3a6d2f4a226d96087117f9ac1
2022-04-13 13:15:06 -04:00
Jonah Graham
48156b4653 Bug 572594: Avoid using generic Consumer interface
Using the Consumer interface means that code navigation is substantially
harder. e.g. open ImportMemoryDialog and do a call hierarchy on who
calls scrollRenderings.

You end up in Consumer.accept, which (naturally) has 100s of callers, so
identifying which ones are relevant is very difficult.

Change-Id: I8817568e992955d5b01a591a9cffb2447b9e5008
2021-04-06 13:06:25 -04:00
Jonah Graham
bb6f318a79 Bug 568513: Scroll to correct address on memory file import
The CDT 9.x code scrolled once, to the start address of the import
when the import finished. The refactoring done early in the CDT 10.x
cycle (Bug 562164) instead scrolled repeatedly, generally once
per line of the input file, until finally scrolling one last time
to the byte right after the last imported byte.

Change-Id: I79f2a17c7a5feb19a463002ce19dec9d22afc90f
2020-12-01 18:15:35 -05:00
Jonah Graham
88b2322c38 Bug 551817: Fix legal docs - and automate their checks
Change-Id: I6f97927f0df64a28e71a2d7ab4c55b609794f751
2020-08-30 23:15:59 -04:00
Jonah Graham
0cb1f7482a Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects
Includes updates to code cleanliness script

Change-Id: Ic495124285e3e002993f34dc12be5ad7337fe13b
2020-08-30 20:02:41 -04:00
Jonah Graham
0c5093d6ff Bug 566334: Turn on API Tooling & Analysis for all bundles
Change-Id: I3cb5645eba52b0cd0e9a71069264d9c589159107
2020-08-24 17:50:56 -04:00
Jonah Graham
fd9382d8a9 Bug 562494: Update BREE to Java 11
Change-Id: I0c91aafc0cb1b179936acbd4c9df2d961899e3fa
2020-08-24 17:50:56 -04:00
John Dallaway
8cf2aefc37 Bug 562164: Use absolute memory address on export
Change-Id: I8b97ad10cd55a751ac8a5b7e4a01009b623f565d
2020-05-24 10:22:00 +01:00
Alexander Fedorov
d374b71c94 Bug 562164 - Add JUnit tests for IMemoryExporter implementations
Added "number of units to retrieve" parameter to ReadMemory#from
Fixed result compare for text-based formats
Returning back 64KiB DATA_PER_TRANSFER optimization
Reworked FileExport from "O extends AutoCloseable"
Renamed ReadMemory to IReadMemory

Change-Id: Id7eb51015884d5dbffa5e91e9601f5e6ddb52d90
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-05-13 16:41:43 -04:00
Alexander Fedorov
726300f47b Bug 562164 - Add JUnit tests for IMemoryExporter/ IMemoryImporter
Add tests for PlainTextImport/PlainTextExport
Add tests for RAWBinaryImport/RAWBinaryExport
Add tests for SRecordImport/SRecordExport

Change-Id: I4e489498dd6fb451621785743284a31a2f57516f
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-05-04 16:17:45 -04:00
Alexander Fedorov
7f7c2a0c24 Bug 562164 - Add JUnit tests for IMemoryExporter implementations
The following changes are done to make the implementation headless and
testable:
* Reworked FileExport to implement base flow
* Extracted PlainTextExport extends FileExport
* Extracted RawBinaryExport extends FileExport
* Extracted SRecordExport extends FileExport
* Reworked related i18n

Change-Id: Ica1057e0b628c2f17b5e588cd9b0524b5b7a400d
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-27 15:30:05 +03:00
Alexander Fedorov
53a665be69 Bug 562164 - Add JUnit tests for IMemoryImporter and IMemoryExporter
* Added FileExport to implement base flow
* Added ExportRequest to aggregate operation configuration
* Extracted PlainTextExport extends FileExport
* Added ReadMemory to simplify interaction interface
* Extracted AddressableSize to reduce code duplication

Change-Id: I848c922cd1300799c0e9d1bff8213e8b06edc41c
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-27 01:47:23 -04:00
Alexander Fedorov
5947786365 Bug 562164 - Add JUnit tests for IMemoryImporter and IMemoryExporter
Prepare to extract IMemoryExporter implementations

Change-Id: Ib1c2cfd15979628c45a7685ef490ef565af8eb48
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-25 13:55:14 +03:00
Alexander Fedorov
a92105a031 Bug 562164 - Add JUnit tests for IMemoryImporter implementations
The following changes are done to make the implementation headless and
testable:
* Reworked FileImport to implement base flow
* Added ImportRequest to aggregate operation configuration
* Extracted PlainTextImport extends FileImport
* Extracted RawBinaryImport extends FileImport
* Extracted SRecordImport extends FileImport
* Extracted FileImportJob
* Added ScrollMemory to interact with UI
* Added WriteMemoryBlock to isolate from UI class BufferedMemoryWriter
* Reworked related i18n

Change-Id: Ibd68c0e345e9455f5f8a2e1be673ddac5eb9a9b1
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-22 14:27:50 -04:00
Alexander Fedorov
79ba5ef27b Bug 562247 - Add CDT Debug Core Memory bundle
Added "org.eclipse.cdt.debug.core.memory" bundle with a stub abstract
class to be improved in the future commits

Change-Id: I14136379d8e595b7af36084cff8711d1d50a0a28
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-18 03:11:51 -04:00