Daniel Marjamäki
7046687fce
test-my-pr: the check_requirements must be called otherwise __make_cmd is not set
2022-09-02 18:02:11 +02:00
Oliver Stöneberg
9d107d911b
fixed #11276 (donate-cpu: Improve library detection) ( #4421 )
2022-08-30 18:08:02 +02:00
Daniel Marjamäki
4a4f69110e
daca@home: update OLD_VERSION
2022-08-28 17:21:13 +02:00
Oliver Stöneberg
cee04f4ee5
donate-cpu: fixed `make` build / cleanups ( #4398 )
2022-08-25 22:20:30 +02:00
Oliver Stöneberg
9cd9afa1b6
donate-cpu: added support for `mingw32-make` and improved support for `msbuild.exe` ( #4352 )
2022-08-21 17:08:58 +02:00
Oliver Stöneberg
32c0167eab
specify `-pipe` for GCC to use pipes instead of temporary files - greatly reduces I/O usage ( #4360 )
2022-08-16 22:12:01 +02:00
Oliver Stöneberg
31d704e4bc
cppcheckexecutor.cpp: extracted platform-dependent code into separate files ( #4359 )
2022-08-16 22:03:44 +02:00
Oliver Stöneberg
271213cbbd
added make target `validatePlatforms` to CMake ( #4343 )
...
* added missing `platforms/cppcheck-platforms.rng` validation
* added make target `validatePlatforms` to CMake
2022-08-06 19:56:32 +02:00
Oliver Stöneberg
30b20d17cb
donate-cpu: some cleanups ( #4291 )
...
* donate_cpu_lib.py: bumped version
* donate-cpu.py: replaced `version.StrictVersion` from deprecated `distutils` with `version.Version` from `packaging`
* donate_cpu_lib.py: omit `-rp=` from `cppcheck-options`
* donate-cpu.py: use `get_client_version()` instead of constant
2022-07-19 07:52:23 +02:00
Oliver Stöneberg
7ee450ed21
donate-cpu.py: fixed stupid mistakes in client version update notification ( #4290 )
2022-07-18 23:10:33 +02:00
Oliver Stöneberg
cc9c5a2768
donate-cpu.py: added `--version` and show a message when a newer client is available ( #4288 )
2022-07-18 16:24:04 +02:00
Oliver Stöneberg
bc58f55c6e
donate-cpu: greatly improved `LibraryIncludes.get_libraries()` performance / some optimizations and cleanups ( #4273 )
...
* donate_cpu_lib.py: use `os.path.join()`
* donate-cpu: removed remaining usage of `os.chdir()`
* donate_cpu_lib.py: moved library includes code into class
* donate_cpu_lib.py: pre-compile library include regular expressions
* donate_cpu_lib.py: pre-compile some more regular expressions
* donate_cpu_lib.py: small unpack_package() cleanup and optimization
* donate_cpu_lib.py: added some information about the extracted files to unpack_package()
* donate_cpu_lib.py: bumped version
* added test_donate_cpu_lib.py
* donate_cpu_lib.py: greatly improved `LibraryIncludes.get_libraries()` performance
only scan each file once for previously undetected libraries only
* test_donate_cpu_lib.py: fix for Python 3.5
* scriptcheck.yml: added `-v` to pytest calls so we get the complete diff on assertions
* fixed `test_arguments_regression()` Python tests with additional pytest arguments
* donate_cpu_lib.py: use `subprocess.check_call()`
* test_donate_cpu_lib.py: sort results to address differences in order with Python 3.5
2022-07-13 21:09:29 +02:00
chrchr-github
21d992cc00
Fix crash on Windows with -j option ( #4229 )
...
* Fix crash on Windows with -j option
* Disable CI-cygwin workflow
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Try to fix Cygwin build
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Update CI-cygwin.yml
* Cygwin uses THREADING_MODEL_FORK
* Restore workflows
* Remove comment
* Fix dmake
* Fix #11179 FP invalidFunctionArgStr
* Revert "Fix #11179 FP invalidFunctionArgStr"
This reverts commit dd5d3e67c6
.
2022-07-13 13:46:03 +02:00
Oliver Stöneberg
1d9b6e1aac
donate-cpu: fixed library detection ( #4261 )
2022-07-12 19:39:07 +02:00
Oliver Stöneberg
e8b0f12367
replaced `if(MATCHES)` with `if(STREQUAL)` ( #4263 )
...
`MATCHES` does regular expression matching which is not the intended behavior here. `Clang` still requires it since it also needs to match `AppleClang.
2022-07-11 10:46:18 +02:00
Armin Müller
0ae9877766
Typos found by running "codespell" ( #4260 )
2022-07-10 22:40:05 +02:00
Oliver Stöneberg
c9c1f83a69
use `emptyString` more consistently ( #4034 )
2022-07-10 10:57:29 +02:00
Oliver Stöneberg
b51aea5531
separated process execution code into `ProcessExecutor` ( #4249 )
2022-07-08 16:42:57 +02:00
orbitcowboy
10c7c70970
Activated 'make validateRules' and improved rule XML file parsing. Now, it optionally accepts '<rules>...</rules>' tags to make xmllint happy.
2022-06-22 00:03:18 +02:00
orbitcowboy
49ffe80f75
Decativate 'make validateRules'
2022-06-21 17:14:53 +02:00
orbitcowboy
6f303ce61c
daca@home: Set '--inline-suppr' flag.
2022-06-21 16:18:12 +02:00
Paul Fultz II
2a0b2f538e
Check tokType in match compiler ( #4219 )
...
* Check tokType in match compiler
* Set keyword when tokenlist is missing
2022-06-18 21:30:42 +02:00
Rikard Falkeborn
e7b5a776bd
Matchcompiler: Add missing makeConstString ( #4179 )
2022-06-08 09:24:20 +02:00
Oliver Stöneberg
d299d22fa2
updated CI to latest ubuntu and clang ( #4004 )
2022-05-22 15:27:32 +02:00
Daniel Marjamäki
98f9fd0d8f
daca@home: update old-version and server script version
2022-05-21 19:09:10 +02:00
Daniel Marjamäki
31560299f8
donate-cpu: skip torture test file
2022-05-20 23:20:16 +02:00
Oliver Stöneberg
c71033548f
fixed some clang-tidy warnings ( #3080 )
2022-05-08 20:42:06 +02:00
orbitcowboy
a6b8bb5950
donate_cpu: Added '<sys/uio.h>' to bsd include list.
2022-04-26 09:46:18 +02:00
Oliver Stöneberg
36ef4dc5b8
added support for Qt6 ( #3930 )
2022-04-15 18:49:24 +02:00
Oliver Stöneberg
32978933b5
removed leftovers of generated cfg tests ( #4008 )
2022-04-13 12:24:17 +02:00
Oliver Stöneberg
902f46bae5
some minor QRegularExpression usage optimizations and cleanups ( #3999 )
2022-04-11 19:15:42 +02:00
Daniel Marjamäki
8f386e15fd
Remove bug hunting. This feature will be provided in Cppcheck premium.
2022-04-11 07:31:33 +02:00
chrchr-github
bd9f5231b8
Fix #10179 FP divideSizeof with dereferenced pointer-to-pointer ( #3786 )
2022-04-10 22:47:27 +02:00
Oliver Stöneberg
a0bab85bf9
ported GUI code from QRegExp to QRegularExpression ( #3785 )
2022-03-23 18:16:22 +01:00
Oliver Stöneberg
dcaff3b635
donate_cpu_lib.py: some cleanups ( #3916 )
2022-03-21 18:46:19 +01:00
Oliver Stöneberg
18d24e2420
reduce.py: some fixes ( #3914 )
...
* reduce.py: fixed potential "TypeError: slice indices must be integers or None or have an __index__ method" in combinelines()
* reduce.py: the combinelines() changes were not applied when the chunk mode was used
2022-03-21 17:14:47 +01:00
chrchr-github
0e147502cc
Fix #10888 FN variableScope with enum and struct ( #3920 )
...
* Fix #10888 FN variableScope with enum and struct
* Scope reduction
* Scope reduction
2022-03-21 16:05:38 +01:00
Oliver Stöneberg
469575cb21
donate_cpu_lib.py: actually make compile_cppcheck() fail when the build fails / some cleanups ( #3830 )
2022-03-19 20:06:11 +01:00
Oliver Stöneberg
8fc5c93803
refactored reduce.py into a class and added unit test for it ( #3791 )
2022-03-19 19:42:44 +01:00
Oliver Stöneberg
0d336b868c
avoid some Clang compiler warnings ( #3896 )
2022-03-13 20:07:58 +01:00
Oliver Stöneberg
e208fc67c1
small selfcheck improvements ( #3888 )
...
* CI-unixish.yml: added missing cppcheck-lib library to GUI selfcheck
* CI-unixish.yml: split triage from tools selfcheck since it requires the qt library
* replaced Q_NULLPTR with nullptr
* fixed passedByValue selfcheck warning
2022-03-11 21:42:46 +01:00
Daniel Marjamäki
bfdfe1e607
run-coverity: updated coverity tool
2022-02-18 19:55:45 +01:00
Oliver Stöneberg
aaa4425d90
added MinGW to CI and fixed local MinGW build ( #3826 )
2022-02-16 07:06:04 +01:00
Oliver Stöneberg
d3ba5a0829
donate-cpu.py: added "--packages" parameter to specify a list of packages to process ( #3742 )
2022-02-14 12:59:38 +01:00
Oliver Stöneberg
c690bfb03a
matchcompiler.py: skip comments in _replaceTokenMatch() ( #3825 )
2022-02-11 21:20:55 +01:00
Oliver Stöneberg
04b2a6f1c5
use Python version provided by platform in CI / prefer python3 ( #3776 )
2022-02-11 19:37:32 +01:00
Oliver Stöneberg
d528555002
some preparations for Qt6 support ( #3777 )
...
* findDependencies.cmake: cleaned up find_package() call for Qt
* some CMake preparations for Qt6 support
* some Qt6 compilation fixes
2022-02-07 17:35:25 +01:00
Daniel Marjamäki
b19010159c
2.7: update daca@home version
2022-02-05 14:00:25 +01:00
Daniel Marjamäki
3989408738
Update copyright year
2022-02-05 11:45:17 +01:00
Paul Fultz II
508fa6284c
Python fixes for reduce.py ( #3795 )
2022-02-05 08:32:01 +01:00