Wykres commitów

12162 Commity (1eb645004a45bf84e1fb71dcad294081a551f83d)

Autor SHA1 Wiadomość Data
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
Nate Bargmann df95e93940
Update issue templates 2025-07-21 21:59:30 -05:00
Phillip Rose, GM3ZZA cd67bf15ce
Windows build README updates and MSVS .lib recipe
Include Phil's recipe for generating a local .lib file for MS Visual
Studio and credit him for this commit.  Phil's original message is:

https://sourceforge.net/p/hamlib/mailman/message/59208589/
2025-07-21 17:25:22 -05:00
Nate Bargmann fb2834afe8
Add info about the ZIP archive directory structure
Rename the lib/gcc directory to lib/gcc-mingw.
Output the dlltool generated .lib file to lib/gcc-mingw.  This on advice
from Jonathan Yong on the MinGW-W64 forum:

https://sourceforge.net/p/mingw-w64/discussion/723798/thread/e23dceba20/?limit=25#51dd/3df2/3708/e62b
2025-07-21 16:46:51 -05:00
Nate Bargmann 41baedf969
Update Windows build scripts for Debian 13 2025-07-21 15:24:27 -05:00
Nate Bargmann 94d7f0b7de
Merge GitHub PR #1807 2025-07-21 07:02:15 -05:00
Nate Bargmann b2934c70a2
Merge GitHub PR #1803 2025-07-21 06:41:08 -05:00
Mark J. Fine 528d87c496 Apparently uint64_t is handled differently on CISC and RISC systems. CISC requires the %lu format while RISC requires %llu. Solved the cross-platform ping-pong game by using %llu and type casting rmode_t and setting_t values as (long long unsigned int). 2025-07-20 20:08:25 -04:00
Diane Bruce f25f21264f
Provide for updated FreeBSD USB device naming
FreeBSD will eventually have the less verbose bNumDeviceCaps instead of
bNumDeviceCapabilities The other changes are (hopefully) to be
upstreamed renaming bU2devExitLat to wU2devExitLat

FreeBSD in the head of the tree has
/usr/include/libusb20_desc.h:#define bNumDeviceCapabilities bNumDeviceCaps

So we have backward compatibility for this.
2025-07-20 15:40:12 -05:00
Mark J. Fine bf63febf08 Fix old_vfo could be uninitialized warnings that are generated in minGW by initializing to RIG_VFO_A in get/set_chan().
Adding here to keep in synch with latent changes to the add_drake_r8 branch.
2025-07-20 14:57:27 -04:00
Michael Morgan c14949a86d
Rewrite
Rewrote it some to see if MinGW ok.
2025-07-19 18:54:40 -05:00
Mark J. Fine 482c0f1111 Temporarily back out RIG_MODEL_GQRX from test_Hamlib_class.py to avoid a conflict. 2025-07-19 13:40:18 -04:00
Mark J. Fine d32e5b3495 Addressed some formatting issues and made VFO_A/VFO_CURR checking more uniform across the code. 2025-07-19 12:28:07 -04:00
Daniele Forsi IU5HKX ce6e4a8e57 Make test_amp.py more similar to the others 2025-07-19 17:22:25 +02:00
Daniele Forsi IU5HKX 1e484942fc Add the new includes that contain the state
And update the test again.
2025-07-19 17:15:56 +02:00
Daniele Forsi IU5HKX 74914f0db8 Remove duplicated tests 2025-07-19 17:15:53 +02:00
Mark J. Fine 50cb5b595e Changed %llu to just %lu to quiet a warning. 2025-07-19 10:30:09 -04:00
Mark J. Fine f934b75688 Fixed c99 booleans.
Fixed format in debug statements for mode and level.
2025-07-19 10:24:09 -04:00
Mark J. Fine 3722c643cc CW modes were reversed... fixed.
SSB narrow filter was in error.. fixed.
2025-07-19 10:09:30 -04:00
Mark J. Fine 26daf352b3 Corrects meter level query. 2025-07-19 09:45:43 -04:00