Commit graph

1135 commits

Author SHA1 Message Date
David Christle
141e1b19a0 fix(debug): prevent race in debug history capture
Concurrent calls to rig_debug() could use the same temporary buffer
and corrupt the saved debug history.

Give each call its own buffer and update the shared history under the
existing mutex.

(cherry picked from commit cf3fcc4b8a)
2026-07-25 00:43:52 -05:00
Christoph Berg
967661caf2
IC-7610, IC-7760: Implement SYNC
\set_func SYNC is called "Tracking" in the IC-7610 main menu.

(cherry picked from commit 3840e1ed84)
2026-07-24 19:20:32 -05:00
George Baltz N3GB
68e1458993
Make a padded copy of input so compare doesn't overread
Cleanup:
Fix typo and formatting
Move RIGCTLD_PASSWORDS from rig.h to rigctl_parse.h

(cherry picked from commit 11dbace230)
2026-06-12 09:05:06 -05:00
George Baltz N3GB
1eeed535ad
Turn passwords on again
(cherry picked from commit 039a4f8bfe)
2026-06-12 09:04:50 -05:00
George Baltz N3GB
47a8c5eec0
Turn off passwords and their help text
Disable them until they work

(cherry picked from commit 7fc1389349)
2026-06-12 09:04:13 -05:00
Leo Pizzolante
5bc8f19f13
Add Hamgeek uSDX
(cherry picked from commit 2691e10cee)
2026-04-24 13:17:54 -05:00
Rega57
2df5128251
Add support for Harris PRC-138
This is the first implementation of basic funtionality of Harris PRC-138.

(cherry picked from commit f880cac0ad)
2026-04-10 19:52:36 -05:00
Dhiru Kholia
3cf97b5a5b
Add support for rigs using the 'Simple CAT' protocol
See 'rigs/simplecat/SIMPLE_CAT_PROTOCOL.md' for the protocol spec.

Notes:

- Memory correctness checks were done using Valgrind.

- Tested with wsjtx-3.1.0_improved_PLUS_260228.tgz (with mods) and
  Bunzee Labs' DDX HF Digital Transceiver

  https://bunzee-labs.com/products/ddx

Tested on:

- Ubuntu Linux
- macOS Tahoe
- Windows 11

(cherry picked from commit debe6fcaf9)
2026-03-26 07:25:09 -05:00
George Baltz N3GB
2e25a5b42f
Add Icom IC-7300MK2
Add baseline support for MK2 version, same as original
Differences:
  - Default CI-V address 0xB6
  - Status Beta

(cherry picked from commit 468a299924)
2026-01-13 08:25:01 -06:00
Martin
ed36f02455
add Icom ID-52A/E Plus
(cherry picked from commit d997bbd7b1)
2025-12-10 12:33:41 -06:00
George Baltz N3GB
8bd19c4db8 Change pseudo-anonymous structure name to convention. 2025-09-27 15:56:31 -04:00
George Baltz N3GB
2283473707 Move FIFO_RIG from hamlib/rig.h to fifo.h where it belongs.
Add header to fifo.h
Update structure pointer in rig_state
2025-09-27 15:56:31 -04:00
Daniele Forsi IU5HKX
44eaded283 Fix Doxygen description 2025-09-25 00:13:08 +02:00
Daniele Forsi IU5HKX
50fc454a0b Remove duplicated define
Fixes:
../include/hamlib/rotlist.h:237: Warning 322: Redundant redeclaration of identifier 'ROT_MODEL_RT21' ignored,
2025-09-24 20:42:13 +02:00
George Baltz N3GB
11ca438222 Deprecate rig_get_trn() and rig_set_trn()
They have been marked as deprecated in doxygen for years.
They both do nothing but return -RIG_EDEPRECATED.

Remove them from the bindings.
AFAICT adding them to bindings/ignore.swg has no effect.
2025-09-13 21:37:25 -04:00
George Baltz N3GB
7e572fcdd0 Rename spaces() -> hl_stars()
Resolves conflict with function of same name in cqrlog.
Makes future conflicts less likely.
Add it to doxygen.
2025-09-13 21:37:25 -04:00
George Baltz N3GB
f7a127dbdc Doxygen updates. 2025-09-13 21:37:25 -04:00
Nate Bargmann
0f871a5a3e
Update Doxygen comments for rigerror() and rigerror2()
Add a new topic of "Hamlib internals" with the group of lib_internal.

Address GitHub issue #1881.
2025-09-06 18:13:12 -05:00
George Baltz N3GB
df65ceee67 Start removing conditional pthreads use.
We can treat HAVE_PTHREAD and HAVE_PTHREAD_H as equivalent. But using
_PTHREAD_H is a real kludge.
2025-08-24 19:53:44 -04:00
Daniele Forsi IU5HKX
897e59ef0e
Fix comment to be relevant to the parm 2025-08-18 08:03:44 -05:00
Daniele Forsi IU5HKX
3c391a696d Fix misleading order in comment and add UNKNOWN 2025-08-16 11:52:55 +02:00
Daniele Forsi IU5HKX
caf7346fc0 Fix typos 2025-08-16 11:52:55 +02:00
George Baltz N3GB
0e36d4faa4 Mangle names of structure members to avoid clash with perl keywords. 2025-08-13 09:30:59 -04:00
Daniele Forsi IU5HKX
8e4bcbcede Add another cross-reference in a Doxygen comment 2025-08-09 15:57:40 +02:00
Daniele Forsi IU5HKX
2462ab0a13 Improve Doxygen comments
Adds missing cross-references. Fix tagging of comment blocks in "aor"
even if the rigs aren't included in the generated documentation.
2025-08-08 10:38:55 +02:00
George Baltz N3GB
c26113c5cc Fix more cppcheck messages
Suppress non-errors in rx331.c and rx340.c
Mark runflag(s) as volatile
2025-08-04 18:43:39 -04:00
George Baltz N3GB
c1132a77b5 Mark cache structure in rig_state as deprecated.
It is no longer being initialized or updated, so anyone referencing it
is being misled.
2025-08-04 10:24:15 -04:00
Daniele Forsi IU5HKX
8d8d0328bf Fix typos 2025-08-03 10:49:23 +02:00
George Baltz N3GB
e172d34381 Deprecate amp_get_conf(), too 2025-07-28 11:32:34 -04:00
George Baltz N3GB
faad247f06 Deprecate rot_get_conf() 2025-07-28 10:43:10 -04:00
George Baltz N3GB
20eeb96787 Deprecate rig_get_conf()
Define macro to set attribute, if compiler is capable
Add macro to rig_get_conf(), Rig::getConf() declarations
Fix internal uses of rig_get_conf()
2025-07-27 11:31:18 -04:00
George Baltz N3GB
6c372f981f Distinguish wanted from unwanted fall through instances
Compile with -Wimplicit-fallthrough; analyze the results.
Define macro to mark valid fall through constructs. Mark all of the good
 ones, and fix the bad.

Not available with all compilers - for those without the feature this commit
 does nothing.
2025-07-27 10:03:38 -04:00
Nate Bargmann
7cceee9aba
Complete Doxygen comments for rotlist.h
Add new topic for rotator model list.
2025-07-26 18:34:31 -05:00
Nate Bargmann
4d6a3ed582
Fully document amplist.h
Create a new topic group of 'amplist' to separate the list of amplifier
models from the main Amplifier API group.
2025-07-26 18:34:30 -05:00
Nate Bargmann
f67a3cfe47
Update Doxygen comments in riglist.h
Create a new topic group of 'riglist' to separate the long list of radio
models from the main Rig API group.
2025-07-26 18:34:30 -05:00
Nate Bargmann
d6d50245c6
Update Doxygen comments in amplifier.h, rig.h and rotator.h 2025-07-25 06:41:14 -05:00
Nate Bargmann
15c5b4d771
Update Doxygen comments in rig_state.h
Update Doxygen comments in amp_state.h and rot_state.h for
HAMLIB_AMPSTATE and HAMLIB_ROTSTATE macros.
2025-07-25 06:17:48 -05:00
Nate Bargmann
04c00330a6
Clean upp Doxygen comments in rotator.h
When a comment block immediately preceeds the item, repeating the item
type such as \def or \typedef is not required.  They're only required
when the comment is not immediately preceeding or Doxygen doesn't get
the item correct.
2025-07-23 14:41:50 -05:00
Nate Bargmann
98cc0b688e
Update Doxygen comments for rot_state.h 2025-07-22 22:27:59 -05:00
Nate Bargmann
605e961dbf
Update Doxygen comments for rotlist.h 2025-07-22 22:27:59 -05:00
Nate Bargmann
30494a4a1f
Update Dozygen comments for amplist.h 2025-07-22 22:27:58 -05:00
Nate Bargmann
947b2da28f
Update Doxygen comments in amp_state.h 2025-07-22 22:27:58 -05:00
Nate Bargmann
c49cd2312c
Add Doxygen support to port.h 2025-07-22 22:27:58 -05:00
Nate Bargmann
133817bf14
Add license header to multicast.[ch] 2025-07-22 22:27:57 -05:00
Nate Bargmann
6cfaf03edd
Add amp_state.h to Doxygen docs 2025-07-22 22:27:57 -05:00
Daniele Forsi IU5HKX
276de64d9c Revert changes to quotes in the include/hamlib directory
Partially reverts commit #052cbb27 ("Fix ambiguity between system
includes and Hamlib includes") since the files in include/hamlib
are part of the public API, they must use the installed includes
when building third party applications.
2025-07-22 23:33:57 +02:00
Daniele Forsi IU5HKX
0267068220 Fix ambiguity between system includes and Hamlib includes 2025-07-22 23:33:57 +02:00
Daniele Forsi IU5HKX
d536f0ec93 Fix typos 2025-07-22 23:33:56 +02:00
Mark J. Fine
096b6f0f4b Adds 'dummy' rig that talks to GQRX 2025-07-19 06:32:05 -04:00
Nate Bargmann
3f7c18eb52
Merge GitHub PR #1802 2025-07-14 06:54:11 -05:00