Wykres commitów

1332 Commity (master)

Autor SHA1 Wiadomość Data
Mike Black W9MDB c31497918f Add VFO Ops to rigmatrix.c and colorize things a bit 2024-04-19 16:42:10 -05:00
Mike Black W9MDB 95b0af114f Fix rigmatrix.c with new non-const rig_caps 2024-04-15 14:49:49 -05:00
Mike Black W9MDB 878243aff3 Fix FLRig 'w' and 'W' command reply display 2024-04-04 07:53:06 -05:00
Eli Schwartz 279362f403
tests: fix compilation with modern compilers
GCC 14 and clang 16, after 20+ years, finally enforce c99 language
requirements. Previously, to keep old code compiling, the use of K&R C
constructs was simply allowed despite the standard, and so users could
accidentally use those constructs without realizing it or being warned.

Now, the compiler fatally errors out when encountering the problematic
code. This can also be observed in older versions of the compiler by
using the following flags:

```
-Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=incompatible-pointer-types
```

In hamlib's case, the use of a function without declaring it is illegal.
It's also a very simple fix though -- the standard header which declared
the stdlib exit() function was forgotten and never included. Simply add
the missing include, and make the source code automatically compliant.

Bug: https://bugs.gentoo.org/923108
2024-04-03 17:25:31 -04:00
Mike Black W9MDB 9a7dda25c8 w command now recognizes ; and 0xfd as valid endings for faster response instead of timeout
Stacking commands with w and W works e.g. FA;FB;
Still need to allow for hex values with simple form "xfe xfe...." instead of "\0xfe \0xfe..." -- more in-line with FLRig format
https://github.com/Hamlib/Hamlib/issues/1536
2024-04-02 16:26:27 -05:00
Mike Black W9MDB 41de3425d2 Fix hamlib_version in netrigctl_open and blank agc_levels from FLRig 2024-03-31 12:22:02 -05:00
Mike Black W9MDB 59fca440a5 Fix rigctld CPU usage when client impolitely disconnects 2024-03-30 17:21:29 -05:00
Mike Black W9MDB 00dbd6a6df Fix rigctlcom.s IF command for CW Skimmer use and others that might use IF command 2024-03-29 17:09:38 -05:00
Mike Black W9MDB 8ebffd20b6 Fix get_vfo_info compatibility with Log4OM
https://github.com/Hamlib/Hamlib/issues/1531
2024-03-25 17:50:39 -05:00
Mike Black W9MDB 84d5f367f6 Fix compile warning on testrig.c 2024-03-15 22:51:19 -05:00
Mike Black W9MDB 6d257841a6 Fix some memory leaks in rigctl_parse.c 2024-03-15 16:46:14 -05:00
Mike Black W9MDB b9e59f205e Fix compile error
https://github.com/Hamlib/Hamlib/issues/1524
2024-03-14 22:43:10 -05:00
George Baltz N3GB c7665cb7d1 All struct rig_cache referenced converted to pointers. 2024-03-09 21:23:01 -05:00
George Baltz N3GB 728db84c0c Finish tests/* 2024-03-01 12:27:26 -05:00
George Baltz N3GB 07f8023d17 Convert tests/* to pointers 2024-03-01 12:27:26 -05:00
Mike Black W9MDB 25ee5d65d5 Fix rigctld vfo_ops
https://github.com/Hamlib/Hamlib/issues/1518
2024-02-28 17:30:41 -06:00
Mike Black W9MDB 911692c715 Remove some debug from rigctlcom.c 2024-02-20 12:05:51 -06:00
Mike Black W9MDB 8cc6ce1319 Fix rigctlcom.c for Icom rigs and those that don't have get_vfo 2024-02-19 11:46:16 -06:00
Mike Black W9MDB 91ec3afcda Fix get_vfo for Icom rigs in rigctlcom.c 2024-02-19 10:42:25 -06:00
Mike Black W9MDB 1657a0e673 Fix rigctlcom.c 2024-02-19 10:34:15 -06:00
George Baltz N3GB b1d85e5aa1 Update dcdport usage in tests/*.c
Issue #1445
2024-02-05 11:28:30 -05:00
Mike Black W9MDB 9ed13add01 Update test2038.c
https://github.com/Hamlib/Hamlib/issues/1478
2024-01-24 16:13:54 -06:00
Mike Black W9MDB d8a9968fac Add test2038.sh to clean 2024-01-24 12:19:38 -06:00
Mike Black W9MDB 1b5fbc1d8b Add 2038 test during build -- make check will fail is there is a 2038 problem
https://github.com/Hamlib/Hamlib/issues/1478
2024-01-24 10:45:32 -06:00
Mike Black W9MDB 05033171c3 Change token_t to hamlib_token_t to avoid collsions with libbsm and others
https://github.com/Hamlib/Hamlib/issues/1469
2024-01-21 23:11:55 -06:00
Mike Black W9MDB e4e12f3ce7 Fix testcache.c for new behavior 2024-01-21 14:41:25 -06:00
Mikael Nousiainen eb7634abfb Merge upstream changes and fix conflicts 2024-01-15 09:24:17 +02:00
George Baltz N3GB f15679f575 Update example.c
Avoid using raw rigport, in two different ways.
Fix variable name.
2024-01-14 18:13:05 -05:00
Mike Black W9MDB 9b817f325d Add --skipinit to rigctl.c -- can speed up single command-line invocations by quite a bit 2024-01-13 08:26:44 -06:00
Mikael Nousiainen 051e671bfa Merge upstream changes and fix conflicts. Use snprintf() in most sprintflst.c functions to avoid buffer overflows. 2024-01-04 10:43:15 +02:00
Mike Black W9MDB bd746387f9 Fix set_ant and get_ant for rigctl -m 2 dump_caps
https://github.com/Hamlib/Hamlib/issues/1466
2023-12-29 15:59:34 -06:00
Mike Black W9MDB 576ed8266a Ignore scanfc Invalid argument for rotctld
https://github.com/Hamlib/Hamlib/issues/1391
2023-12-19 16:23:03 -06:00
Mikael Nousiainen 1cc08d2f00 Merge upstream and fix conflicts 2023-12-19 18:03:12 +02:00
Mike Black W9MDB af5ea58350 Add -# --skip_init option to rigctl 2023-12-18 15:26:46 -06:00
Mike Black W9MDB 48b6b4910c Allow compilation for systems without pthreads
https://github.com/Hamlib/Hamlib/issues/1373
2023-12-18 11:56:41 -06:00
Mike Black W9MDB e267c62764 astyle files 2023-12-16 11:37:58 -06:00
Mike Black W9MDB 18c88c9f38 Fix clang warnings
https://github.com/Hamlib/Hamlib/issues/1450
2023-12-12 22:49:25 -06:00
Mike Black W9MDB 9841e500b9 Fix ptt_share segmentation fault
https://github.com/Hamlib/Hamlib/issues/1433
Fix ID5100 0x25 and simplex VFO actions
https://github.com/Hamlib/Hamlib/issues/1429
2023-11-23 15:00:05 -06:00
Mikael Nousiainen 7b341a2ad6 Merge branch 'master' into streamline-vfo-targeting-and-split-functionality 2023-11-20 10:16:15 +02:00
Mikael Nousiainen 7d5f540b9c Fix bugs in dummy rig. Report errors (incl. timeouts) from icom_get_powerstat(), because the timeout reason is often something else than rig being powered off. Check for power status changes in rigctld/rigctl command loops. 2023-11-20 10:15:45 +02:00
Mike Black W9MDB 58fdb4423f Add callback.c test 2023-11-16 16:37:03 -06:00
Mike Black W9MDB c1780b19f4 Add wireless detection for multicast address -- possible fix for UDP error messages by using 127.0.0.1 instead of IN_ADDR_ANY
https://github.com/Hamlib/Hamlib/issues/1409
2023-11-16 09:05:29 -06:00
Mike Black W9MDB 8478367223 Improve rigctld printout when TCP session is aborted 2023-11-14 10:23:14 -06:00
Mike Black W9MDB f57b7cba71 Revert commit 1c379e793a
Removing LF from here caused "l ?" to not have CR where "L ?" does.
I don't see the problem with a CR to end the printout.
Not sure why this was removed before...bad documentation on my part.
2023-11-14 07:42:38 -06:00
Mikael Nousiainen 82f2b10275 Merge branch 'hamlib-multicast-4' into streamline-vfo-targeting-and-split-functionality 2023-11-09 09:59:48 +02:00
Mike Black W9MDB 5d7db6b516 Fix FLRig SWR value
Change float level print to %g format for better appearance
https://github.com/Hamlib/Hamlib/issues/1417
2023-11-08 17:14:10 -06:00
Mikael Nousiainen 89abbfeb3a Merge master and fix conflicts 2023-11-07 09:41:29 +02:00
Mike Black W9MDB 45dca3be59 Add dumpcap include files to test/Makefile.am 2023-11-05 17:34:49 -06:00
Mike Black W9MDB 02ffc6d6dc More set_conf/get_conf work
https://github.com/Hamlib/Hamlib/issues/971
2023-11-05 17:03:21 -06:00
Mikael Nousiainen 43d1fbb323 Add more detailed rig communication status to rig_state and multicast state data packets. Handle SIGINT and SIGTERM in a consistent way in both rigctl and rigctld. 2023-11-06 00:42:02 +02:00