Wykres commitów

11043 Commity (00ceb6e72f1f5c4d58afc090bae5c327dccfd97c)

Autor SHA1 Wiadomość Data
Michael Black 00ceb6e72f
Merge pull request #1537 from eli-schwartz/c99-porting
tests: fix compilation with modern compilers
2024-04-03 17:05:53 -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 a4cd6deb9d Update simic7000.c 2024-03-31 12:21:55 -05:00
Mike Black W9MDB de71976044 Fix CPU usage with rigctlcom in sleep.c
Hopefully doesn't affect other things too much
2024-03-30 23:40:59 -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 7b8f263b21 Reduce verbosity in netrigctl.c 2024-03-30 10:06:08 -05:00
Mike Black W9MDB 0353fdcae0 Reduce debug in flrig 2024-03-29 22:23:36 -05:00
Mike Black W9MDB e2b5a3bcb5 Merge branch 'master' of https://github.com/Hamlib/Hamlib 2024-03-29 17:10:07 -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
Michael Black ce4e9bfdf0
Merge pull request #1532 from GeoBaltz/rp8
More pointer conversions
2024-03-28 15:46:13 -05:00
George Baltz N3GB 9f997d799d Fix incorrect port read for elevation
Add missing port parameters for rotp2
Remove funky character(^B) from simrotorez.c so `file` and `more` think it
  is plain text.

Dunno if this works on the real H/W, but at least the simulator can get
  and set az/el position without errors.
2024-03-28 16:26:21 -04:00
Mike Black W9MDB 55d5f8b64a Really fix FLRig get_bwA return code 2024-03-26 16:59:57 -05:00
Mike Black W9MDB 0a0118b797 Fix FLrig get_bwA and get_bwB to return cached value if FLRig returns empty value 2024-03-26 16:25:20 -05:00
George Baltz N3GB 295ad74757 Add macros for amplifier and rotator state pointers. 2024-03-26 02:08:33 -04:00
George Baltz N3GB 2d0b8b807d Pointerize all state references in rigs/kenwood/* 2024-03-26 02:08:33 -04:00
George Baltz N3GB 4b436479d1 More pointers to state 2024-03-26 02:08:33 -04:00
George Baltz N3GB 406b947134 More pointers to state 2024-03-26 02:08:33 -04:00
George Baltz N3GB 53b01d829e Start converting rigs/* to use pointers to state 2024-03-26 02:08:33 -04:00
Mike Black W9MDB 896230beed Fix bandwidth set for FLRig 2024-03-25 22:26:58 -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 dc375c6d00 Fix rig_get_split_vfo -- was almost always using cache 2024-03-25 14:46:26 -05:00
Mike Black W9MDB 624e00dcb4 Fix FLRig reading of bandwith when FIXED or "k" is read back 2024-03-25 11:29:18 -05:00
Mike Black W9MDB 31ea63b2f3 Fix IC7300 bandwidth reading for AM/BM ....still need to fix setting bandwidth for AM/FM 2024-03-25 10:23:40 -05:00
Mike Black W9MDB c3429084fb Allow FLRig to use "k" values for bandwidth 2024-03-25 10:22:48 -05:00
Michael Black 12ae80c0c5
Merge pull request #1529 from DJ3CE/k3kx3_swr
Add SWR get_level to K3 (KX3, KX2)
2024-03-24 22:36:03 -05:00
Cedric DJ3CE 7a7b52b89c Add SWR get_level to K3 (KX3, KX2)
Capabilities, level_gran and k3_get_level
2024-03-25 01:49:02 +01:00
Mike Black W9MDB 1881b2e206 Fix FT1000MP rig_set_freq to set cache 2024-03-23 11:52:26 -05:00
Mike Black W9MDB 1b3481ba95 Fix FT-1000MP get_freq 2024-03-23 09:57:35 -05:00
Mike Black W9MDB f51e7ef760 Add SDRConsole rig entry since TS-2000 is now hardware flow control by default 2024-03-23 08:46:56 -05:00
Mike Black W9MDB 2feb4cc65c Fix IC7700 get_mode_without_data 2024-03-21 17:04:37 -05:00
Mike Black W9MDB 538d41b9e8 Fix Xiegu X6100
https://github.com/Hamlib/Hamlib/issues/1499
2024-03-19 17:51:03 -05:00
Mike Black W9MDB 9331f9e5f4 Fix TS890S to not give an error for STRENGTH or WATTS but return 0 as appropriate 2024-03-19 16:19:52 -05:00
Mike Black W9MDB 68bcae6ee8 Some improvements on codan rigs 2024-03-18 17:24:07 -05:00
Mike Black W9MDB 1de9a5cede Fix compile warning on rig_debug messages
https://github.com/Hamlib/Hamlib/issues/1525
2024-03-17 09:01:58 -05:00
Mike Black W9MDB 0e572f631b Update simft897.c 2024-03-17 08:53:53 -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 8449ac3c43 Update simulators 2024-03-15 07:29:03 -05:00
Mike Black W9MDB 1045620313 Return error on bad read_icom_frame 2024-03-15 07:27:19 -05:00
Mike Black W9MDB b9e59f205e Fix compile error
https://github.com/Hamlib/Hamlib/issues/1524
2024-03-14 22:43:10 -05:00
Mike Black W9MDB 6220da1eaf Merge branch 'master' of https://github.com/Hamlib/Hamlib 2024-03-14 17:10:39 -05:00
Mike Black W9MDB f119f5976a Fix build warning
https://github.com/Hamlib/Hamlib/issues/1524
2024-03-14 17:10:23 -05:00
Mike Black W9MDB 96ec37a276 Fix build warning 2024-03-14 17:09:36 -05:00
Michael Black 789d863f97
Merge pull request #1523 from GeoBaltz/rp7
Convert all cache references to pointers
2024-03-10 09:04:26 -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 aa0d83df95 Use pointers for all cache references in rigs/* 2024-03-09 14:25:59 -05:00
George Baltz N3GB 609065775c Update some of rigs/* to use pointer to cache
Issue #536
2024-03-08 21:00:19 -05:00
Mike Black W9MDB 5ab1122139 Add freq_skip for use with rigs that do not have targetable VFO
Hopefully this allows them to work with gpredict.
However...setting frequency on TX/RX transition could take up to 1 second depending on gpredict polling rate.
https://github.com/Hamlib/Hamlib/issues/1493
2024-03-08 17:09:47 -06:00