Wykres commitów

12181 Commity (9626c8b90dc4d76b3071e65dfb0372f4caba342c)

Autor SHA1 Wiadomość Data
Daniele Forsi IU5HKX 9626c8b90d Revert "Fix Rig.set_bank()"
This reverts commit 04d675fc55.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX 5319f8b31b Revert "Fix Rig.set_freq()"
This reverts commit 070efb7b41.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX a617863a23 Revert "Fix Rig.set_mem()"
This reverts commit 663612051c.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX 2199ff2bde Revert "Fix Rig.set_ctcss_sql() Rig.set_ctcss_tone() Rig.set_dcs_code()"
This reverts commit ed7e5b2344.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX 3240d2f8d3 Revert "Fix various methods"
This reverts commit 623b93db3d.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX 92fb82f220 Revert "Remove the macro METHOD3() which is unused now"
This reverts commit 1eeb59e50c.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX ef2d2236b5 Remove the macro METHOD3() which is unused now 2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX 292da12566 Fix various methods
Fixes: set_ptt set_rit set_rptr_offs set_rptr_shift
set_split_freq set_ts set_xit vfo_op

This is also swapping the arguments to make the vfo optional
like in other methods.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX 160c941e9e Fix Rig.set_ctcss_sql() Rig.set_ctcss_tone() Rig.set_dcs_code()
This is also swapping the arguments to make the vfo optional
like in other methods.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX 25aae7d8e2 Fix Rig.set_mem()
This is also swapping the arguments to make the vfo optional
like in other methods.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX 90c56f3e1f Fix Rig.set_freq()
This is also swapping the arguments to make the vfo optional
like in other methods.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX 01bc71ab8a Fix Rig.set_bank() 2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX 2b1428fd3e Add meaningful arguments 2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX 8901b210ee Fix Rig.send_dtmf() 2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX 13c2413bba Fix Rig.send_morse()
This is also swapping the arguments to make the vfo optional
like in other methods.
2025-07-27 10:22:04 +02:00
Daniele Forsi IU5HKX 25a2a4447f Fix Rig.get_ant() tests
The first argument is the antenna.
2025-07-27 10:22:04 +02: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 82feea990e
Add Doxygen config statements for newer versions
Newer versions of Doxygen (1.14 in Arch Linux) default HAVE_DOT and
CALL_GRAPH to NO, although older versions also default the latter to NO
as well.

Document why DISTRIBUTE_GROUP_DOC was added.  Removes a bit of
redundancy.
2025-07-23 14:34:14 -05:00
Nate Bargmann 98cc0b688e
Update Doxygen comments for rot_state.h 2025-07-22 22:27:59 -05:00
Nate Bargmann 1eb645004a
Ignore additional files from Doxygen processing 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 9ede33de4f
Exclude multicast.[ch] from Doxygen docs 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
Nate Bargmann 79f8b1cde8
Merge HitHub PR #1811 2025-07-22 22:11:06 -05:00
Daniele Forsi IU5HKX 83ba4eb27f Update the tests 2025-07-22 23:42:30 +02: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 2fab137fc5 Apply fixes suggested by iwyu
Removes unused includes and adds missing includes.
2025-07-22 23:33:57 +02:00
Daniele Forsi IU5HKX 7fe36ebdd6 Remove unused includes 2025-07-22 23:33:56 +02:00
Daniele Forsi IU5HKX b57ad227a0 Remove unused #include <math.h>
Found with iwyu.
2025-07-22 23:33:56 +02:00
Daniele Forsi IU5HKX 974e619dd2 Replace #include serial.h with iofunc.h
According to iwyu, to avoid unecessary rebuilds and to reduce the
chances of breakages of the build if includes are rearranged, the
code that uses serial_open() and ser_close() should include
serial.h while the code that uses read_block() write_block() and
similar should include iofunc.h, code that uses all of them should
include both files.

Found with iwyu.
2025-07-22 23:33:56 +02:00
Daniele Forsi IU5HKX 195ed01543 Remove unused #include "serial.h"
Found with iwyu.
2025-07-22 23:33:56 +02:00
Daniele Forsi IU5HKX f621a961f4 Remove unused #include <serial.h>
Found with iwyu.
2025-07-22 23:33:56 +02:00
Daniele Forsi IU5HKX 2a3f603680 Remove unused #include <errno.h>
Found with iwyu.
2025-07-22 23:33:56 +02:00
Daniele Forsi IU5HKX b5c8e7faba Remove unused #include <sys/types.h>
Found with iwyu.
2025-07-22 23:33:56 +02:00
Daniele Forsi IU5HKX 827138d23e Remove duplicate subdir 2025-07-22 23:33:56 +02:00
Daniele Forsi IU5HKX f4ece0d207 Remove unused conditionals
The conditionals that used those values were removed from
bindings/Makefile.am with commit b0408037 which replaced code
that installed the Perl bindings in different locations
depending on the OS with code that installed in all locations.
2025-07-22 23:33:56 +02:00
Daniele Forsi IU5HKX d536f0ec93 Fix typos 2025-07-22 23:33:56 +02:00
Daniele Forsi IU5HKX 9afdfc5de3 Ignore more files 2025-07-22 23:33:56 +02:00
Daniele Forsi IU5HKX b66d1ac7c1 Sort .gitignore 2025-07-22 23:33:56 +02:00
Michael Morgan 4da91f1a28
Use alternate quoting for older Python versions
Since Python 3.12, strings such as:

f"test_{object_name.replace(".", "_")}_class.py"

are allowed but older versions require single quotes around the dot and
underscore within the double quoted string.

Should quell CI error on Ubuntu Noble.
2025-07-22 16:15:56 -05:00
George Baltz N3GB 8bcfeda94a Don't forget the noise 2025-07-22 11:28:37 -04:00
George Baltz N3GB 47dae3879d Fix compiler errors with strict C23 standards
Fix missing/misplaced '#include "config.h"' statements. Fixes missing
  function prototypes, unknown type definitions, etc. Allows configuration
  of GCC with CFLAGS="-std=c23" instead of using default -std=gnu23.

Don't know about CLANG, MSVC, MinGW, etc, but using
gwb@stitch:~> gcc --version
gcc (SUSE Linux) 15.1.1 20250714
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Hamlib can compile in strict C23 mode, or previous standard levels.
2025-07-22 11:07:33 -04:00
George Baltz N3GB 8469ee1737 Fix incorrect fallthroughs
Found with -Wimplicit-fallthrough, but also many false positives
2025-07-21 23:07:56 -04:00
George Baltz N3GB 062f260c07 Clean up some cppcheck gripes in simulators/ 2025-07-21 23:07:56 -04:00
George Baltz N3GB debcc2f565 Clean up simft847.c
At least make get/set freq and mode work.
2025-07-21 23:07:56 -04:00