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
George Baltz N3GB
3952f030d4
More copyright updates
2025-07-11 13:43:47 -04:00
jeremybox
69d203fd1c
Add FTX-1 radio support to Hamlib
...
- Add FTX-1 rig model (ID 840) to riglist.h
- Create ftx1.c and ftx1.h with FTX-1 implementation
- Add FTX-1 to Yaesu Makefile.am
- Integrate FTX-1 into newcat.c command validation system
- Update yaesu.c and yaesu.h for FTX-1 support
- Based on FT-991A CAT protocol compatibility
2025-07-11 01:42:24 -04:00
George Baltz N3GB
f3e9a859ed
Move ???PORT() macro definitions back to rig.h
...
Many (most?) of the uses of the port structures in Hamlib are to pass through
to the basic I/O routines (rig_flush(), write_block(), read_string()),
without referencing any of the structure data. Don't bother including
port.h if it won't be used.
The ???PORT macros are independent of actual hamlib_port_t data use.
2025-07-10 09:54:03 -04:00
George Baltz N3GB
80cfadadb0
Update copyright lines
2025-07-10 09:54:03 -04:00
George Baltz N3GB
9991f46e58
Move rotator state definition to include/hamlib/rot_state.h
2025-07-10 09:54:03 -04:00
George Baltz N3GB
cc4b1ce7db
Move amp_state definition to include/hamlib/amp_state.h
2025-07-10 09:54:03 -04:00
George Baltz N3GB
f03fefe1cd
Move rig_state definition(s) from rig.h to include/hamlib/rig_state.h
...
Compiling with NO_OLD_INCLUDES still won't work until the state
structure(s) are moved out of rig_struct, but at least I get the
right compiler errors.
2025-07-10 09:54:03 -04:00
George Baltz N3GB
1efaacb5ab
Move port definition(s) to include/hamlib/port.h
...
Add some ghost structs and typedefs
Make example.c compile on gcc15 and with new includes
2025-07-10 09:54:03 -04:00
George Baltz N3GB
02179e0a93
Basic infrastructure for moving internal structures out of rig.h
...
Create breakout files, add them to Makefile.am manifest.
2025-07-10 09:54:03 -04:00
Michael Morgan
e4716be366
Added AF6SA WRC
...
It uses non-standard W command.
2025-07-09 11:11:01 -05:00
Daniele Forsi IU5HKX
407d3f669b
Revert "Fix debug messages shown even from disabled levels"
...
This reverts commit ae9556462a
.
2025-07-06 14:58:41 +02:00
Nate Bargmann
31c3c97352
Merge GitHub PR #1783
2025-06-25 21:32:26 -05:00
George Baltz N3GB
55b0599b75
Stop the blithering
2025-06-25 10:41:55 -04:00
George Baltz N3GB
0b75b96ef1
Fix rotctl \dump_caps output
...
rot_sprintf_status() was printing items multiple times.
Cause of problem noticed by cppcheck.
2025-06-25 05:19:07 -04:00
声纳
25487237e9
Added support for PMR171 and Q900 radios
2025-06-25 09:20:50 +08:00
Nate Bargmann
bddd3ace00
Revert 17b404a6c7
...
These changes were unnecessary as the real bug is that the incorrect
function was being called in meade.c.
Closes GitHub issue #268 .
Fix testloc.c
2025-06-14 11:42:45 -05:00
Nate Bargmann
7b60cb586d
Merge GitHub PR #1751
2025-06-07 07:56:07 -05:00
Daniele Forsi IU5HKX
72bde6e131
Fix sign of error return values
...
All RIG_E* constants should be negated when returned or compared.
Change the usages of RIG_IS_SOFT_ERRCODE() for consistency.
2025-06-07 10:54:34 +02:00
Daniele Forsi IU5HKX
ae9556462a
Fix debug messages shown even from disabled levels
...
Messages from ENTERFUNC and RETURNFUNC where stored in an internal buffer
even whe debug_level wasn't TRACE and were returned when calling rigerror().
2025-06-07 09:14:32 +02:00
George Baltz N3GB
1532432236
Move more rig_cache infrastructure to cache.[ch]
...
Macros from rig.h, routines from misc.c
Add some error checks and comments
2025-06-03 12:07:27 -04:00
George Baltz N3GB
1fca93a5a2
Deprecate rig_cache definition in rig.h
...
Add new rig_cache definition in cache.h
2025-06-03 12:07:27 -04:00
George Baltz N3GB
6f8bf81514
Allocate separate storage for cache buffer
...
Add address to rig_struct, change CACHE() macro to use it.
Free it when done.
Issue #1420
2025-06-03 12:07:27 -04:00
George Baltz N3GB
cccee9b791
Still more cppcheck complaints dealt with.
2025-05-29 05:41:39 -04:00
Daniele Forsi IU5HKX
dcf4b7a4e0
Fix syntax of #define
...
It was invalid C syntax, but it is currently unused.
2025-05-08 23:11:29 +02:00
Daniele Forsi IU5HKX
dda30532b5
Add cross references hash mark for Doxygen
2025-04-30 19:36:20 +02:00
Daniele Forsi IU5HKX
bd5ed18bdd
Add documentation for RIG_CONF_END
...
Fixes:
warning: explicit link request to 'RIG_CONF_END' could not be resolved
2025-04-30 19:36:20 +02:00
Daniele Forsi IU5HKX
56b075ab45
Fix Doxygen comment
...
It is about the tpyedef, not the defines.
2025-04-30 19:36:07 +02:00
Daniele Forsi IU5HKX
8feb174711
Fix typos
2025-04-30 19:34:47 +02:00
Daniele Forsi IU5HKX
535fb6e2bd
Fix typos
2025-04-26 20:50:14 +02:00
Nate Bargmann
8f641b2b6a
Merge pull request #1707 from dforsi/fix/manpage
...
Fix/manpage
2025-04-21 17:22:59 -05:00