Daniel Marjamäki
7c992ced4c
Fixed #11901 (Performance regression: large array with strings) ( #5375 )
...
Analysis has slowed down a lot when there are many strings in an array.
2023-08-30 19:35:43 +02:00
Oliver Stöneberg
9d1bb5a580
CI-unixish-docker.yml: use `ubuntu:23.04` in `build_make` ( #5373 )
...
Forgot to update this in #4992 .
2023-08-29 17:47:57 +02:00
Oliver Stöneberg
d8b44dff56
fixed/suppressed several compiler warnings ( #5327 )
2023-08-16 19:35:53 +02:00
Oliver Stöneberg
d076da8f7c
added missing `__GNUC__` define for selfcheck ( #5324 )
...
This was causing some code not to be enabled in the selfchecks leading
to some missing warnings.
2023-08-14 10:29:04 +02:00
Oliver Stöneberg
4e8c240129
updated CI to Clang 17 ( #4797 )
2023-08-09 12:45:15 +02:00
Oliver Stöneberg
da6c39e971
iwyu.yml: actually disable archlinux step [skip ci] ( #5287 )
...
I accidentally left this own when I rolled back a previous attempt to
implement the conditional checks.
2023-08-02 14:49:48 +02:00
Oliver Stöneberg
45de338f1b
cleaned up includes based on include-what-you-use / iwyu.yml: updated to yet another distro to get the latest version and updated the Chaotic-AUR key ( #5267 )
...
This is a mess. The version is AUR is still outdated and also doesn't
install anymore. Fedora 38 carries the latest version of it so use that
now. Keep the old steps in case we need to switch again in the future.
2023-08-02 10:36:17 +02:00
Oliver Stöneberg
4452ae6d09
iwyu.yml: applied `apt.llvm.org` workaround as well [skip ci] ( #5286 )
2023-08-01 22:56:44 +02:00
chrchr-github
bc54fab989
Workaround for CI failure ( #5285 )
...
From
https://github.com/llvm/llvm-project/issues/64182#issuecomment-1658085767
2023-08-01 14:28:13 +02:00
Oliver Stöneberg
5a322365a6
fixed `scriptcheck.yml` ( #5268 )
2023-08-01 13:06:12 +02:00
Daniel Marjamäki
2cd1f0f387
misra: Fix crash in misra_9x when there is unknown constant used as array size ( #5229 )
2023-07-10 12:25:28 +02:00
chrchr-github
f4030c4b1a
Fix #11791 Build regression with GCC 13 ( #5193 )
...
Patch supplied by Joachim Reichel.
2023-06-26 11:15:41 +02:00
Daniel Marjamäki
91dedf05b5
Fix #11793 (False positive: Misra addon crash for struct initialization when struct has a function pointer array) ( #5190 )
2023-06-25 11:37:49 +02:00
Daniel Marjamäki
4f3cc168d1
CI: python 2.7 tests needs to run in a container ( #5174 )
...
Python 2.7 is not supported anymore in github actions runners.
See:
https://github.com/actions/setup-python/issues/672
2023-06-19 20:53:36 +02:00
Andrew C Aitchison
0727528876
The threadsafety.py addon now flags MT-Unsafe symbols and functions. ( #5086 )
2023-06-08 14:46:09 +02:00
Daniel Marjamäki
6b9fac41f4
Fixed #11734 (stylistic warnings from addons are not filtered when style is not enabled) ( #5091 )
2023-05-27 10:24:00 +02:00
chrchr-github
fb850a844b
Use path to executable when trying to load library ( #5082 )
...
* Use path to executable when trying to load library
* Fix function call, add support for more OS, add test
* Format
* Handle MacOS
* Amend
* Argument as fallback
* Use Path::getCurrentExecutablePath()
* Move to cmdlineparser.cpp
* Debug output
* Use argv[0] in Cygwin
* Revert "Debug output"
This reverts commit 5a68d71f1d27549c7b4a46363f3cd5cd912018e7.
* Use native python in Cygwin
2023-05-26 06:55:36 +02:00
Oliver Stöneberg
e6ae312a0b
moved more code into `HAVE_RULES` ( #4956 )
...
* moved more code into `HAVE_RULES`
* properly enable all internal and rules code in selfcheck
* updated TODOs in selfcheck
* testrunner.vcxproj.filters: updated
* added missing `Debug-PCRE` and `Release-PCRE` configurations for `testrunner` Visual Studio project
* cppcheck.cpp: fixed `useStlAlgorithm` selfcheck warning
2023-05-04 10:54:19 +02:00
Oliver Stöneberg
b5ce2c708b
SingleExecutor: process markup files after code when scanning projects ( #4972 )
...
* SingleExecutor: added TODOs
* test `SingleExecutor` with files and project
* SingleExecutor: process markup files after code when scanning project
* TestSingleExecutor: generate scoped files before calling executor
* CI-unixish.yml: added `--output-on-failure` to CTest call
* helpers.cpp: improved error reporting in `~ScopedFile()`
* use unique filenames in executor tests to avoid collisions
* fixed `functionStatic` selfcheck warnings
2023-05-03 17:32:28 +02:00
Oliver Stöneberg
89b47e725f
CI-unixish.yml: added step to compile democlient ( #4997 )
...
* democlient.cpp: added missing copyright header
* CI-unixish.yml: added step to build democlient
* democlient.cpp: fixed GCC compiler warnings
2023-04-21 18:58:04 +02:00
Oliver Stöneberg
2364ff9765
CI-unixish-docker.yml: updated to ubuntu 23.04 ( #4992 )
2023-04-21 10:12:18 +02:00
Oliver Stöneberg
89c33b4175
CI-windows.yml: updated to Qt 6.5.0 ( #4944 )
2023-04-13 21:02:31 +02:00
Daniel Marjamäki
7726a5b5b3
Add a --check-level option ( #4942 )
2023-04-09 13:48:13 +02:00
Oliver Stöneberg
b04812b0e8
CI-unixish-docker.yml: disabled precompiled headers when using `ccache` with CMake ( #4943 )
2023-04-08 22:21:11 +02:00
Oliver Stöneberg
5be8eee943
iwyu.yml: use a distro which has the latest `include-what-you-use` / enabled Qt mappings / cleaned up includes ( #4885 )
2023-04-08 16:08:47 +02:00
Oliver Stöneberg
5ec0ad6bed
use `ccache` for sanitizer builds / do not use precompiled headers with `ccache` ( #4910 )
...
* added CMake option `DISABLE_DMAKE` to disable `run-dmake` dependencies
* tools/CMakeLists.txt: added TODO
* use `ccache` for sanitizer builds
* aligned selfcheck between sanitizer workflows and disabled some currently unnecessary steps
* CI-unixish.yml: do not use precompiled headers with `ccache`
2023-04-01 09:40:10 +02:00
Oliver Stöneberg
0b8af4fff7
some minor `QtCharts` usage cleanups ( #4890 )
2023-03-13 15:44:00 +01:00
Oliver Stöneberg
7fd4118d60
Fix #10039 (integrate `--check-config` include findings with normal analysis) / also fixes #11283 ( #3229 )
2023-03-04 09:02:35 +01:00
Oliver Stöneberg
50eb0641b9
iwyu.yml: added `clang-include-cleaner` job / cleaned up includes based on `include-what-you-use` ( #4844 )
2023-03-04 08:53:19 +01:00
Oliver Stöneberg
bd1ae69b00
cleaned up includes based on `include-what-you-use` ( #4599 )
2023-03-02 21:50:14 +01:00
Oliver Stöneberg
7c73ecfec7
CI-windows.yml: removed Qt 6.3 from build matrix ( #4829 )
2023-03-02 21:43:58 +01:00
Oliver Stöneberg
514e605598
CI-unixish.yml: fixed and enabled all `build` steps for macos ( #4832 )
2023-03-02 20:54:30 +01:00
Oliver Stöneberg
36192c50f6
removed unnecessary OSS-Fuzz related builds from CI ( #4827 )
2023-02-25 15:40:12 +01:00
Oliver Stöneberg
367847cf57
updated CI to Clang 16 ( #4641 )
2023-02-15 19:46:13 +01:00
Oliver Stöneberg
26bb55154f
CI-windows.yml: updated to Qt 6.4.2 in CI ( #4588 )
2023-02-12 16:03:11 +01:00
Oliver Stöneberg
a846bc2d99
added precompiled header for `cli` ( #4779 )
2023-02-08 21:11:11 +01:00
Oliver Stöneberg
66758d65f9
updated precompiled headers based on `ClangBuildAnalyzer` ( #4775 )
2023-02-08 08:19:21 +01:00
Oliver Stöneberg
b097eca2ec
added handling of library element `entrypoint` to GUI / added GUI tests to CTest ( #4744 )
2023-01-27 19:43:08 +01:00
Oliver Stöneberg
a0b1285f4a
added CMake option `BUILD_CORE_DLL` to build lib as `cppcheck-core.dll` with Visual Studio ( #4733 )
2023-01-26 22:13:07 +01:00
Oliver Stöneberg
689dfd29c1
updated workflows to `jurplel/install-qt-action@v3` ( #4708 )
...
* updated workflows to `jurplel/install-qt-action@v3`
* release-windows.yml: removed installation of unavailable `qthelp` module
* release-windows.yml: do not hard-code `tools_openssl_x64` version
2023-01-18 17:04:21 +01:00
Oliver Stöneberg
7876e1064f
valgrind.yml: actually fail the workflow when an error is detected ( #4716 )
2023-01-18 17:01:26 +01:00
Oliver Stöneberg
aab3d30e4c
valgrind.yml: use `debuginfod-find` instead of manually installing packages ( #4685 )
2023-01-07 23:31:22 +01:00
Daniel Marjamäki
41b5f454a8
release-windows: compile misra executable
2023-01-02 19:07:22 +01:00
Oliver Stöneberg
8bb5ac0efd
improved `MathLib::to{ULong|Long|Double}Number()` and increased test coverage / added CMake option `USE_LIBCXX` / fixed #10695 ( #4611 )
2022-12-07 09:20:09 +01:00
Oliver Stöneberg
926bab9aba
CI-cygwin.yml: removed `x86` since it is no longer supported ( #4598 )
2022-11-25 23:13:28 +01:00
Oliver Stöneberg
01abf4c347
fixed macos build by manually installing `pcre` ( #4597 )
...
* Makefile: bail out if `pcre-config` is missing
* CI-unixish.yml: install `pcre` for `macos` via `brew` since it suddenly disappeared from the runner images
2022-11-25 15:11:57 +01:00
DavidKorczynski
9e09ccca86
CI: Add CIFuzz integration ( #4590 )
2022-11-20 22:36:28 +01:00
Daniel Marjamäki
d19bb758bd
win_installer: copy openssl from Qt tools folder
2022-11-02 12:11:13 +01:00
Oliver Stöneberg
8672e12a7a
added/updated to Python 3.11 in CI ( #4565 )
...
* added/updated to Python 3.11 in CI
* specify `check-latest: true` for `actions/setup-python` so we always use the latest version
* scriptcheck.yml: added note about `shellcheck`
2022-10-25 21:53:02 +02:00
Oliver Stöneberg
0fc142c18f
CI-unixish-docker.yml: added `ubuntu:22.10` ( #4562 )
...
* CI-unixish-docker.yml: added `ubuntu:22.10`
* CI-unixish-docker.yml: adjusted name of step
2022-10-22 00:27:42 +02:00