Daniele Forsi IU5HKX
3f90086991
[tests] Fix includes
2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX
7a132e2703
Remove unused includes
...
Removes includes of stdio.h stdlib.h string.h unistd.h
2022-07-24 17:08:57 +02:00
Daniele Forsi IU5HKX
4dfe46edbb
Remove unused includes related to times and dates
...
Removes includes of time.h sys/time.h hamlibdatetime.h
2022-07-23 18:12:10 +02:00
Mike Black W9MDB
0333cdfca5
astyle files
2022-03-01 11:40:14 -06:00
Mike Black W9MDB
a360bd0a07
Add some deprecated copies to ampctl.c
2022-02-11 16:28:03 -06: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
c2cb94e412
Change sprintf to snprint in tests
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-11 00:00:44 -06:00
Michael Black W9MDB
6eee309b56
Improve rig_get_version and hamlib_version2 information to include commit information
...
https://github.com/Hamlib/Hamlib/issues/617
2021-03-19 22:56:18 -05:00
Michael Black W9MDB
1fcb9404b9
More changes to support macro renaming
2021-03-06 14:59:57 -06:00
Bill Somerville
f38ee5c6f1
Ensure old hamlibdatetime.h headers in the source dir are ignored
2020-10-17 02:31:17 +01:00
Michael Black W9MDB
110cfe7abd
Remove warning from ampctl.c
2020-09-02 22:13:11 -05:00
Michael Black W9MDB
fade1681fa
Fix cppcheck errors and warnings
2020-09-02 16:56:11 -05:00
Michael Black W9MDB
f454cff0b7
Add check for -s switch on all utils to ensure integer is entered
2020-07-01 08:52:44 -05:00
Michael Black W9MDB
677ccac4bc
astyle files
2020-05-27 12:23:08 -05:00
Michael Black W9MDB
fb68d9f561
Add better version info to utilities
2020-05-23 10:58:25 -05:00
Michael Black
ee87d5e6df
Fix buffer overrun in all utilities
...
Change MAXCONFLEN to 1024 bytes for some future proofing
2020-04-01 14:51:50 -05:00
Michael Black
5646eb3fe4
Move hist_dir_stat
2020-01-15 15:58:04 -06:00
Michael Black
4be4b7033b
Clean up HAVE_LIBREADLINE mods
2020-01-15 07:04:40 -06:00
Michael Black
0c63e6efd3
Fix cppcheck warning in ampctl.c
2020-01-13 15:31:19 -06:00
Michael Black
fb73e5abd7
Fix some cppcheck warnings
...
Fix declarations after statements
Remove some !rig checks...we either don't need them or need them everywhere with a new error code
If you pass a NULL rig you get what you deserve :-)
2019-12-09 17:12:13 -06:00
Michael Black
6bf3b00c4f
astyle all files
2019-11-30 10:19:08 -06:00
Michael Black
2f4d62709e
Added a dummy snprintf to rig_debug to allow gcc to check format strings
...
This found tons of errors in rig_debug statements
So this patch cleans up all the files that were producing warnings or errors
This should fix a few segfaults when running with debug turned on
2019-11-30 10:04:31 -06:00
Michael Black
7e9c566944
Add first cut at amplifier control
2019-06-12 15:52:35 -05:00