Wykres commitów

24 Commity (0225d51a6094f4b4b902c07cbc4a773196b90971)

Autor SHA1 Wiadomość Data
Mike Black W9MDB 73465d16c4 Remove cJSON.c from cppcheck as it segfaults on it right now 2023-05-15 11:48:59 -05:00
Mike Black W9MDB 4f0d78f1d9 Fix cppcheck warnings 2023-05-08 23:56:28 -05:00
Daniele Forsi IU5HKX c3e7021c61 Fix cppcheck "unmatchedSuppression" informational messages
Fixes:
tests/ampctl.c👎0: information: Unmatched suppression: knownConditionTrueFalse [unmatchedSuppression]
tests/ampctl_parse.c👎0: information: Unmatched suppression: knownConditionTrueFalse [unmatchedSuppression]
tests/rigctl.c👎0: information: Unmatched suppression: knownConditionTrueFalse [unmatchedSuppression]
tests/rigctl_parse.c👎0: information: Unmatched suppression: knownConditionTrueFalse [unmatchedSuppression]
tests/rotctl.c👎0: information: Unmatched suppression: knownConditionTrueFalse [unmatchedSuppression]
tests/rotctl_parse.c👎0: information: Unmatched suppression: knownConditionTrueFalse [unmatchedSuppression]
2023-03-18 10:46:04 +01:00
Daniele Forsi IU5HKX e997984662 Fix several cppcheck "missingInclude" informational messages
The following STILL reamin:
scripts/MSVC/2022/x64/hamlibTest/hamlibTest.h:3:0: information: Include file: "resource.h" not found. [missingInclude]
scripts/MSVC/2022/x86/hamlibTest/hamlibTest.h:3:0: information: Include file: "resource.h" not found. [missingInclude]
src/network.c:83:0: information: Include file: "io.h" not found. [missingInclude]
tests/rigtestlibusb.c:30:0: information: Include file: "libusb.h" not found. [missingInclude]
2023-03-18 10:46:04 +01:00
Daniele Forsi IU5HKX b02ff9daa1 Fix passing one or more paths to ./cppcheck.sh
The --check-config arguments can be passed explicitly if desired.
2023-03-18 10:46:04 +01:00
Daniele Forsi IU5HKX c9e2c5f697 Fix include not found by cppcheck.sh also in the other branch of the "if"
Fixes:
nofile:0:0: error: Can not open include file 'include/config.h' that is explicitly included. [preprocessorErrorDirective]
2023-03-18 10:46:04 +01:00
Daniele Forsi IU5HKX 8e08385d2d Fix include not found by cppcheck.sh
Fixes:
nofile:0:0: error: Can not open include file 'include/config.h' that is explicitly included. [preprocessorErrorDirective]
2023-03-12 18:39:08 +01:00
Mike Black W9MDB 68e121d82c Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
Mike Black W9MDB 6aa7f9e9bc Remove read_update_delay from Yaesue files -- not used 2021-12-13 13:18:48 -06:00
Mike Black W9MDB a1c8493c62 First cut at clock setting for IC7300/7800/785x/9700
https://github.com/Hamlib/Hamlib/issues/851
2021-12-01 11:50:33 -06:00
Mike Black W9MDB b49d2b6c05 Add CLOCK_REALTIME flag to cppcheck.sh 2021-09-15 10:27:34 -05:00
Michael Black W9MDB 7bee01f785 Add suppress for AST broken bug in cppcheck 2020-09-19 16:09:44 -05:00
Michael Black W9MDB 8e3d024144 Fix spelling error in cppcheck.sh 2020-09-06 15:03:40 -05:00
Michael Black W9MDB f33a5611bc Small update to cppcheck.sh 2020-09-06 12:41:43 -05:00
Daniele Forsi d7b332c3f7 Fix spelling errors
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"

Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 09:02:48 +02:00
Nate Bargmann d2bc23b676
Remove bashisms from shell scripts
Replace backticks in bootstrap with POSIX subshell substitution.

Restructure cppcheck.sh to help readability and remove bashisms.
2020-05-27 10:54:35 -05:00
mdblack98 5697961818 Add ability for cppcheck.sh to take a file name as an argument 2020-05-05 11:32:01 -05:00
mdblack98 3794bc5a0a Fix cppcheck warnings 2020-05-05 09:38:36 -05:00
Michael Black dc77f72bcb Add range_list to thg71.c 2020-03-23 16:41:23 -05:00
Michael Black bda5feb1bd More cppcheck changes 2020-03-23 10:13:02 -05:00
Michael Black 8eb09c2a38 More cppcheck fixes 2020-03-23 07:52:01 -05:00
Michael Black 679db60483 Fix some more cppcheck warnings 2020-03-19 12:10:20 -05:00
Michael Black 8d6e2fc781
Directory migration to new layout 2020-01-17 09:22:44 -06:00
Michael Black 7c7ecef678
cppcheck v1.9 clean bill of health now
cppcheck.sh script added with some exceptions for some code notices
neverused.c added to resolve "never used" messages
2020-01-15 23:03:12 -06:00