Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge cxx v2.1.3 into cxx 2.2.0 branch #2751

Merged
merged 59 commits into from
Sep 26, 2024

Conversation

guwirth
Copy link
Collaborator

@guwirth guwirth commented Sep 25, 2024

This change is Reviewable

dependabot bot and others added 30 commits August 14, 2024 16:29
Bumps `junit-jupiter.version` from 5.10.3 to 5.11.0.

Updates `org.junit.jupiter:junit-jupiter-engine` from 5.10.3 to 5.11.0
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](junit-team/junit5@r5.10.3...r5.11.0)

Updates `org.junit.jupiter:junit-jupiter-api` from 5.10.3 to 5.11.0
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](junit-team/junit5@r5.10.3...r5.11.0)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-engine
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.junit.jupiter:junit-jupiter-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…pendabot/maven/junit-jupiter.version-5.11.0

Bump junit-jupiter.version from 5.10.3 to 5.11.0
Bumps [com.google.guava:guava](https://github.com/google/guava) from 33.2.1-jre to 33.3.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…pendabot/maven/com.google.guava-guava-33.3.0-jre

Bump com.google.guava:guava from 33.2.1-jre to 33.3.0-jre
Bumps [org.python:jython-standalone](https://github.com/jython/jython) from 2.7.3 to 2.7.4.
- [Changelog](https://github.com/jython/jython/blob/master/NEWS)
- [Commits](jython/jython@v2.7.3...v2.7.4)

---
updated-dependencies:
- dependency-name: org.python:jython-standalone
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…pendabot/maven/org.python-jython-standalone-2.7.4

Bump org.python:jython-standalone from 2.7.3 to 2.7.4
Bumps [org.apache.maven.plugins:maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.7.1 to 3.8.0.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](apache/maven-dependency-plugin@maven-dependency-plugin-3.7.1...maven-dependency-plugin-3.8.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-dependency-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Depending on whether the file system is case sensitive or case insentitive, paths/comparisons of paths must be handled differently.
- case sensitive: (default Linux): Paths must not be changed.
- case insentitive (default Windows):  Here, paths in reports from tools are often stored with lower case letters. The original spelling in the file system must be restored before a path comparison.
- add additional integration test samples for Windows/Linux using upper case filenames
- close SonarOpenCommunity#2691
…ames

JSON Compilation Database: support case sensitive paths
…pendabot/maven/org.apache.maven.plugins-maven-dependency-plugin-3.8.0

Bump org.apache.maven.plugins:maven-dependency-plugin from 3.7.1 to 3.8.0
preprocessor handle directories as files if same name
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.12.0 to 5.13.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](mockito/mockito@v5.12.0...v5.13.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…pendabot/maven/org.mockito-mockito-core-5.13.0

Bump org.mockito:mockito-core from 5.12.0 to 5.13.0
…mensional-subscript-operator

C++23 multidimensional subscript operator
- Extend init-statement (of for loop) to allow alias-declaration [P2360R0](https://wg21.link/P2360R0)
- linked SonarOpenCommunity#2536
…atement

C++23 extend init-statement to allow alias-declaration
Bumps org.apache.ant:ant from 1.10.14 to 1.10.15.

---
updated-dependencies:
- dependency-name: org.apache.ant:ant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
guwirth and others added 23 commits September 2, 2024 12:04
…at-the-end

C++23: labels at the end of compound statements
- DR20: Meaningful exports [P2615R0](https://wg21.link/P2615R0)
- linked SonarOpenCommunity#2536
- add final grammar changes for C++23
- auto(x) and auto{x} [P0849R8](https://wg21.link/P0849R8)
- duplicate attributes [P2156R1](https://wg21.link/P2156R1)
- static constexpr [P2647R1](https://wg21.link/P2647R1)
- static operator [P2589R0](https://wg21.link/P2589R0) [P1169R4](https://wg21.link/P1169R4)
- linked SonarOpenCommunity#2536
…-suffix-size_t

C++23: literal suffix for (signed) size_t
…d_floating_point_types

C++23: floting point suffixes
- new rule in Cppcheck 2.15.0
  - suspiciousFloatingPointCast
- update unit test
Bumps commons-io:commons-io from 2.16.1 to 2.17.0.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…pendabot/maven/commons-io-commons-io-2.17.0

Bump commons-io:commons-io from 2.16.1 to 2.17.0
- Up to know we were stating in our [Wiki](https://github.com/SonarOpenCommunity/sonar-cxx/wiki/Troubleshooting-Reports): Relative paths in report files are always relative to the project base directory. Start relative paths always with .\ on Windows or ./ on Linux.
- relative paths starting with '..' were resolved to null in the past. "No file" results in adding an issue on project level (project issue). In such a case we replace null with the filename. This leads at least to an error message an that and the issue is not added to the project because typically no such indexed file exists.
- The real problem is that tools generate reports with relative paths without defining which base directory is referred to. This problem remains and must be solved via the CI/CD and tool configuration.
- close SonarOpenCommunity#2741
…o if report is generated on the one and consumed on the other
- [P2223R2](https://wg21.link/P2223R2)
- the cxx plugin supports line splicing still not in all cases (e.g. middle of number or identifier)
- related to SonarOpenCommunity#2536
…licing

C++23: Trimming whitespaces before line splicing
Improve handling of relative file paths in report files
@guwirth guwirth added this to the 2.2.0 milestone Sep 25, 2024
@guwirth guwirth self-assigned this Sep 25, 2024
@guwirth guwirth merged commit e773504 into SonarOpenCommunity:SQ-10 Sep 26, 2024
15 checks passed
@guwirth guwirth changed the title merge cxx v2.1.3 into cxx 2.1.0 branch merge cxx v2.1.3 into cxx 2.2.0 branch Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants