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

47 commits

Author SHA1 Message Date
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
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
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
Marc-Andre Laperle
0b7c2d9960
Make CodanRunner progress monitor work a bit better (#768)
The progress monitor didn't show which file was being analyzed properly.

Also, the work units didn't seem to be counted in a good way because the
progress bar would stay stuck at like 1%. The fix in this commit for that is
not perfect as it gives equal weight to all resources on a same level until
further split into sub monitors. It still works quite a bit better without
requiring more heavy changes.

Also fix usage of deprecated SubProgressMonitor.
2024-05-17 12:56:16 -04:00
Michael Keppler
d4102ca82f
Clean up Maven build (#662)
* remove invalid tycho resolver config (not valid since many versions)
* fix PMD plugin configuration (config attribute was renamed in 3.18)
* remove duplicate versions already managed in pluginManagement section
* fix indentation
* move all not yet configured versions into pluginManagement of the
parent module to avoid further duplication
* consume the target platform as file, not as maven artifact (this
simplifies building a single module A LOT)
* remove invalid tycho-source-plugin configuration
* disable tycho consumer POM generation (not needed here, and avoids a
warning in each module)
* remove prerequisites. that's for maven plugins only, and this POM
already contains the better suited similar maven enforcer rule
* enforce UTF-8 for javadoc generation (the build fails on Windows
otherwise, trying to read some Japanese? characters with the Windows
default encoding)
2023-12-28 14:35:58 -05:00
Jonah Graham
e4e06008af Update to Java 17 as BREE. Fixes #80 2022-10-03 12:42:37 -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
a1201a811a Bug 567810: Squash over zealous warning from PDE
See also Bug 558477

Change-Id: I0765a2a49dc77e2f24af787b0f9a1e0e1e510a30
2020-10-12 10:14:26 -04:00
Jonah Graham
fd9382d8a9 Bug 562494: Update BREE to Java 11
Change-Id: I0c91aafc0cb1b179936acbd4c9df2d961899e3fa
2020-08-24 17:50:56 -04:00
Marco Stornelli
a1ea26f817 Bug 561824 - Removed suppress warnings about API restrictions
Change-Id: I182a222ec09e1da88dfcf1d3066eb3e9eaba4a2c
2020-04-07 14:23:50 +02:00
Jonah Graham
35338f28a3 [releng] Cleanup code that has been misformatted and update to SDK 4.13
The check-code-cleanliness CI jobs have not been running recently,
so this commit is to the code up to those minor changes

Change-Id: I9fb4b0213dec558f58c5ca718b3d2685564ef456
2019-10-28 13:07:02 -04:00
Alexander Kurtakov
51da3eb3a6 Remove redundant superinterfaces.
Change-Id: I0de3509b02a8ef6853f0053c9ee6edd304a05a86
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-10 10:28:51 -04:00
Karsten Thoms
652602febd Bug 540610 - Add Automatic-Module-Name header
Change-Id: Ia990b24469751050dd9ec8f9b5550804816308b3
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-10-30 15:49:15 +01:00
William Riley
f3ca365140 Bug 540367 - Increment version numbers
Change-Id: I4a355170a7075f0a98ba3c1a5131c235c89b07d2
2018-10-23 11:20:31 -04:00
Jeff Johnston
795a90288b Bug 497670 - Support compiler provided "fix-it" hints
- add new FixitErrorParser that extends RegexErrorParser and is
  used to replace the error parser for GNUCErrorParser
- add new FixManager class to bind a fixit message with its
  problem marker
- modify ProblemMarkerFilterManager to register the last
  accepted ProblemMarkerInfo for a particular resource so
  the FixitErrorParser can find the last error marker for
  the file that precedes the fixit message
- FixitErrorParser looks for fix-it messages and binds them
  via FixitManager to the last error marker for the file
- add new Fixit class to contain the details of a gcc fix-it
- add new QuickFixForFixit which applies the gcc fix-it for the
  file
- add new (.*) regex in codan.ui.checkers patterns that will
  trigger before any other error and will look for the
  fix-it message format
- change cdt.core to expose cdt.internal.errorparsers to
  codan.checkers.ui
- change codan.core to expose codan.internal.core.model to
  codan.checkers.ui
- fix CDocumentProvider.setOverlay method to not overlay
  a CMarkerAnnotation that has a quick fix
- when deleting all C problem markers, also make a call
  to FixManager.deleteAllMarkers() so markers aren't
  left referenced

Change-Id: Ibf8ff7d8addb1bf092dc4ef35de0d92de0309589
2017-04-17 20:01:27 -04:00
Marc Khouzam
9e1e981b4d Move the rest of the CDT plugins to java 8
This change was generated using the script:
releng/scripts/ChangeJavaVersion.sh

Change-Id: I2ad96dc682a5acb8529c3edec40de279c331b5a4
2016-06-22 14:51:43 -04:00
Alena Laskavaia
1b0fe3a41e Removed deprecated method in codan.core, bumped version to 4.0
Change-Id: I1290d5388b30bd6b48663652d50f4718164b979d
2016-01-08 07:51:04 -05:00
Alena Laskavaia
50775fe2fb codan: encapsulated builder and added vm var to disable (for tests)
- refactored the code so client who run codan always go though builder
to call checkers
- added vm arg -Dcodan.disabled=true to be used mostly by junit to not
run codan at all

Change-Id: Ie85e20f23b6ded8fffe5064adc1f9193a6f9a146
2015-03-18 21:03:03 -04:00
Sergey Prigogin
5d7a19fa6c Enabled JDK 1.7.
Change-Id: Ic2a161ea3c318dc1e8ba01c271c936bf5ed8763d
Reviewed-on: https://git.eclipse.org/r/21020
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-24 13:38:55 -05:00
Sergey Prigogin
3be412111c Bumped up feature versions for Kepler. 2012-06-28 11:08:11 -07:00
Alex Ruiz
1f83e4aa21 Bug 372551. Codan support for writing checkers that invoke external
tools.

Change-Id: Ia5cfd24d54ec6e67e08f24a367a6bc689ae407d0
Reviewed-on: https://git.eclipse.org/r/5586
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-04-18 15:52:48 -04:00
Sergey Prigogin
ada23a9a2f Bug 372551. Removed the external tool checker support until all design
issues are resolved.
2012-03-13 18:42:16 -07:00
Sergey Prigogin
0ecc12f363 Remove version constraints from dependencies between Codan plugins. 2012-02-24 12:49:54 -08:00
Sergey Prigogin
f6ecdf5318 Warning cleanup. 2012-02-23 15:05:20 -08:00
Sergey Prigogin
934adecf48 Adjustments to Alex's contribution. 2012-02-23 13:26:43 -08:00
Alex Ruiz
b25c644007 * Enabled correct API baseline (3.7) and fixed related API-check errors.
* Moved classes that are not part of the API to "internal" packages.
* Removed unnecessary classes.
* Simplified creation of checkers by providing alternative super class
and constructors.
2012-02-23 13:17:23 -08:00
Alex Ruiz
3115bb4e22 Initial take on external-tool-based checkers. 2012-02-23 12:25:05 -08:00
Sergey Prigogin
457af57f60 Changed the execution environment to JavaSE-1.6 2011-10-17 16:44:49 -07:00
Doug Schaefer
9ec9113700 Update version numbers for Juno. 2011-09-22 15:03:14 -04:00
Alena Laskavaia
e4c1d89d1a Bug 309607 lots of refactoring and changes to support better marker management - prevent fickering and improve performance 2010-08-05 02:11:18 +00:00
Alena Laskavaia
7b02c1b681 Bug 317016: renamed miss-spelled function 2010-06-17 01:01:42 +00:00
Alena Laskavaia
d91b53a16b Externalized strings in manifest 2010-05-31 01:42:48 +00:00
Alena Laskavaia
c9d0b338cb open API 2010-05-18 03:08:11 +00:00
Alena Laskavaia
3c2fd7ab95 Cleaned up problem preferences interfaces and fixed persistence 2010-05-16 02:18:02 +00:00
Alena Laskavaia
459a3c2b6e Refactored adding parameter and renamed hash to map 2010-05-14 02:56:39 +00:00
Alena Laskavaia
208b649f76 Refactored ProblemParameterInfo 2010-05-14 02:36:16 +00:00
Alena Laskavaia
eff03629d6 Interface class should have been in public package 2010-05-12 22:20:25 +00:00
Alena Laskavaia
ecd0453485 - added javadoc and visibility refactoring 2010-05-01 00:56:13 +00:00
Alena Laskavaia
077398283c - renamed provisional package 2010-04-21 01:41:53 +00:00
Alena Laskavaia
62c9bdecc9 - added control flow graph - initial commit 2010-03-29 02:32:42 +00:00
Vivian Kong
d69cdc0dbb Bug 306725 - Missing plugin from Coden feature 2010-03-22 15:34:15 +00:00
Alena Laskavaia
5cc82d793a separate language specific plugins from general 2010-03-18 14:06:45 +00:00
Alena Laskavaia
e75f6ccf26 - fixed some API, added comments 2009-09-23 23:29:36 +00:00
Alena Laskavaia
ac758f71fb [279740] - Trying to separate public API and some clean-up 2009-08-22 21:16:50 +00:00
Andrew Gvozdev
6e49965be4 bug 284830: Spelling mistake 2009-07-29 17:01:50 +00:00
Alena Laskavaia
ee5a328f05 - fixed build JRE 2009-04-17 20:50:15 +00:00
Alena Laskavaia
2646066384 initial commit 2009-04-09 12:48:44 +00:00