Oliver Stöneberg
5e6cc1053a
small `ErrorLogger` usage cleanups ( #4033 )
2022-04-21 21:30:22 +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
Paul Fultz II
dad10f2ab7
Fix 7684: ValueFlow: function call 'X::GetSize()' ( #3984 )
...
* Improve getting function to calculate the return
* Add test
* Format
* Move to cpp to avoid FP
* Format
2022-04-07 06:49:25 +02:00
Oliver Stöneberg
de728f472c
removed ThreadExecutor::addFileContent() ( #3865 )
2022-03-02 11:10:29 +01:00
Oliver Stöneberg
51371f7929
added CMake option USE_THREADS to be able to use threads instead of fork() / cleanups ( #3852 )
2022-02-23 09:04:35 +01:00
Oliver Stöneberg
b886b64b1a
de-coupled ErrorLogger interface from ThreadExecutor ( #3849 )
2022-02-22 09:54:35 +01:00
Daniel Marjamäki
3989408738
Update copyright year
2022-02-05 11:45:17 +01:00
Oliver Stöneberg
8f7770f512
added an include-what-you-use GitHub Action ( #3759 )
2022-02-01 17:19:19 +01:00
Oliver Stöneberg
171da2e6f9
avoid dependency on transitive includes - based on include-what-you-use ( #3757 )
2022-01-27 19:03:20 +01:00
Oliver Stöneberg
55ff684f34
added unusedFunction self check to CI / cleanups ( #3526 )
2022-01-18 22:02:25 +01:00
Oliver Stöneberg
ba777b54d1
prevent uncaught exception in ThreadExecutor::handleRead() ( #3514 )
2021-10-20 20:41:42 +02:00
chrchr-github
d9b6940070
Cleanup: unnecessary includes, fix include order, fix unreferenced va… ( #3418 )
2021-08-26 19:36:31 +02:00
chrchr-github
5868d01e80
THREADING_MODEL_WIN: replace Win32 API calls with std::async, std::mutex ( #3408 )
2021-08-24 20:39:43 +02:00
chrchr-github
187d45a8df
THREADING_MODEL_WIN: Create a new CppCheck object for every file to be analysed in multi-thread mode. This fixes existing .a1 files not getting used due to changing hashes (caused by suppressions from previous files) and matches the behavior in THREADING_MODEL_FORK. ( #3405 )
2021-08-17 20:51:31 +02:00
Paul Fultz II
7f358b2bed
Format with uncrustify ( #3388 )
2021-08-07 20:51:18 +02:00
Coldfirex
3312a9f934
Add support for Haiku ( #3342 )
...
* Update cppcheckexecutor.cpp
* Update threadexecutor.cpp
2021-07-20 11:04:20 +02:00
Paul Fultz II
8dc1fa7a59
Add colors to CLI reporting ( #3304 )
2021-07-08 21:21:35 +02:00
Daniel Marjamäki
42437277dc
Update Copyright year
2021-03-21 20:58:32 +01:00
Daniel Marjamäki
849ea6b3c8
Fix compilation errors
2021-02-24 22:12:48 +01:00
Oliver Stöneberg
c94713c607
improved error handling in ThreadExecutor ( #3023 )
2021-01-13 12:41:59 +01:00
Oliver Stöneberg
fbf5858f76
fixed and enabled several clang-tidy warnings ( #2816 )
2021-01-02 19:10:25 +01:00
Oliver Stöneberg
097abe013d
perform all tasks in each loop execution in ThreadExecutor::check() ( #2932 )
2020-12-04 08:07:14 +01:00
Daniel Marjamäki
894b79227d
Revert "Revert "fixed excessive spawning of child processes / fixed potential zombie processes ( #2924 )""
...
This reverts commit 5650897a4b
.
2020-12-03 18:06:18 +01:00
Daniel Marjamäki
5650897a4b
Revert "fixed excessive spawning of child processes / fixed potential zombie processes ( #2924 )"
...
This reverts commit 873aa075b4
.
There was performance issues.
2020-12-03 12:25:59 +01:00
Oliver Stöneberg
873aa075b4
fixed excessive spawning of child processes / fixed potential zombie processes ( #2924 )
2020-11-29 14:59:09 +01:00
Oliver Stöneberg
37bc0483a4
made check.h less heavy ( #2633 )
2020-05-23 07:16:49 +02:00
Daniel Marjamäki
5a0b5139a0
Fix compile error in windows
2020-05-19 22:13:46 +02:00
Daniel Marjamäki
32e569704b
executeCommand in CppCheckExecutor or QCheckThread
2020-05-19 16:04:40 +02:00
PKEuS
e92a95150a
Refactorization: Use emplace methods in CLI
2020-05-19 08:35:12 +02:00
Daniel Marjamäki
08ddd84780
Update copyright year
2020-05-10 11:16:32 +02:00
Daniel Marjamäki
3e0218299b
Revert "Update copyright year"
...
This reverts commit 6eec6c4bd5
.
2020-05-10 11:13:05 +02:00
Daniel Marjamäki
6eec6c4bd5
Update copyright year
2020-05-10 11:11:34 +02:00
fuzzelhjb
9f3deb30b1
Support clang tidy ( #2564 )
...
* add basic clang-tidy support in the same way as in the GUI
* fix native path
* fix some code styles
* fix cppcheck findings
* update again
* only do clang-tidy if set in the project file
* fix handling if folders have spaces
* tiny fixes
* some tiny updates
* make clang-tidy error message parser more robust
Co-authored-by: fuzzelhjb <FaniXagy8-Hopk>
2020-03-15 11:09:35 +01:00
Rikard Falkeborn
2a16e8d4c1
Kill child if parent dies ( #2544 )
2020-02-18 10:09:29 +01:00
Simon Martin
16eae28cc9
Fix AppVeyor issue following reportVerification rename. ( #2497 )
2020-01-19 18:20:51 +01:00
Daniel Marjamäki
f7a30fc99f
Rename Verification => Bughunting
2020-01-18 07:25:57 +01:00
Daniel Marjamäki
4b4f7ea60b
Verification; Updated report
2019-12-27 19:05:22 +01:00
Daniel Marjamäki
2d9a131817
Refactoring: Rename variables. Do not use leading _. Renamed 'col' to 'column'
2019-08-18 12:19:05 +02:00
Daniel Marjamäki
ff5a23604f
astyle formatting
...
[ci skip]
2019-07-29 22:40:53 +02:00
amai2012
24ad434c52
Refactoring: use enum class
2019-07-29 21:05:09 +02:00
Daniel Marjamäki
8198bd5e8f
Rename variables in threadexecutor according to our naming convention
2019-07-15 18:45:06 +02:00
Daniel Marjamäki
84cc09d17c
Update Copyright
2019-06-29 07:49:14 +02:00
Oliver Stöneberg
8d7d93aea7
donate-cpu.py: improved error detection ( #1766 )
...
* threadexecutor.cpp: streamlined error messages
* donate-cpu.py: detect additional signals and exitcode != 0 as crash as well and (ab)use elapsedTime to make the errorcode visible in the output / also detect ThreadExecutor issues
* donate-cpu.py: bumped version
* donate-cpu.py: fixed detection of ThreadExecutor errors
2019-03-29 06:53:40 +01:00
Daniel Marjamäki
45379a3aa6
Updated copyright year for modified files
...
[ci skip]
2018-06-10 22:07:21 +02:00
PKEuS
d2146844dd
Refactorizations:
...
- Replace several push_back-calls by emplace_back
- Replace some x = x.substr(0, y) calls by x.erase(y)
2018-04-11 09:44:35 +02:00
Daniel Marjamäki
a0906140a6
Suppressions: New extensible Suppressions xml format that allow more attributes. To start with it also allows symbolName.
2018-04-09 06:43:48 +02:00
jrp2014
07b5afcdc6
Improve constness
2018-04-04 21:02:13 +02:00
Daniel Marjamäki
c4caee6b18
Updated copyright year
2018-01-14 15:37:52 +01:00
Ayaz Salikhov
2604156fe7
Use C++ headers ( #949 )
2017-09-07 13:02:44 +02:00
Ayaz Salikhov
76dc828e24
Use nullptr ( #950 )
...
Refactoring: use nullptr
2017-09-07 10:33:52 +02:00