Wykres commitów

12132 Commity (master)

Autor SHA1 Wiadomość Data
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
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
Mark J. Fine 096b6f0f4b Adds 'dummy' rig that talks to GQRX 2025-07-19 06:32:05 -04:00
Daniele Forsi IU5HKX e31ad81402 New model added 2025-07-18 23:56:54 +02:00
Daniele Forsi IU5HKX a3ba82a8c8 Rewrite automated tests with newlines 2025-07-18 23:47:53 +02:00
Daniele Forsi IU5HKX 9931b1ce9c Put each item of callables and properties on a new line
Makes it easier to see diffs.
2025-07-18 23:41:36 +02:00
Daniele Forsi IU5HKX 60541cf35b Sort the lists of callables and properties
The dir() function returns a list which is not necessarily ordered
in fact it wasn't ordered on the CI runner.
2025-07-18 00:01:23 +02:00
Daniele Forsi IU5HKX 3d6e5f1684 Do not build the Perl bindings during make distcheck
Fails on bot Linux and Mac for different reasons.
On Linux:
ERROR: files left after uninstall:
./lib/x86_64-linux-gnu/perl/5.40.1/Hamlib.pm
./lib/x86_64-linux-gnu/perl/5.40.1/auto/Hamlib/Hamlib.so
./lib/x86_64-linux-gnu/perl/5.40.1/auto/Hamlib/.packlist
./lib/x86_64-linux-gnu/perl/5.40.1/perllocal.pod
make[1]: *** [Makefile:921: distuninstallcheck] Error 1

On Mac:
Can't load 'blib/arch/auto/Hamlib/Hamlib.bundle' for module Hamlib: dlopen(blib/arch/auto/Hamlib/Hamlib.bundle, 0x0001): Library not loaded: /Users/runner/work/Hamlib/Hamlib/hamlib-4.7~git/_inst/lib/libhamlib.4.dylib
  Referenced from: <0FE3328D-6834-37EA-9827-03864B87CEA4> /Users/runner/work/Hamlib/Hamlib/hamlib-4.7~git/_build/sub/bindings/blib/arch/auto/Hamlib/Hamlib.bundle
  Reason: tried: '/Users/runner/work/Hamlib/Hamlib/hamlib-4.7~git/_inst/lib/libhamlib.4.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/work/Hamlib/Hamlib/hamlib-4.7~git/_inst/lib/libhamlib.4.dylib' (no such file), '/Users/runner/work/Hamlib/Hamlib/hamlib-4.7~git/_inst/lib/libhamlib.4.dylib' (no such file) at /opt/homebrew/opt/perl/lib/perl5/5.40/darwin-thread-multi-2level/DynaLoader.pm line 210.
 at blib/lib/Hamlib.pm line 11.
2025-07-18 00:00:36 +02:00
Daniele Forsi IU5HKX 4bb1688a32 Execute make distcheck with the same settings as the initial configure
Instead of using the defaults
2025-07-18 00:00:36 +02:00
Daniele Forsi IU5HKX 1744db06ba Refactoring to avoid duplications 2025-07-18 00:00:32 +02:00
Daniele Forsi IU5HKX d98beda2da Enable Python bindings for macOS 2025-07-18 00:00:05 +02:00
Michael Morgan 5c06f66aa8
Update gs232.c
I don't use that so I added a line to void it to suppress the warning.  Hope that is ok.
2025-07-15 14:28:03 -05:00
Nate Bargmann 3f7c18eb52
Merge GitHub PR #1802 2025-07-14 06:54:11 -05:00
Nate Bargmann 79c812ff4d
Update NEWS for FTX-1 new model support 2025-07-14 06:51:44 -05:00
Nate Bargmann 7ce9d60aa6
Merge GitHub PR #1801 2025-07-14 06:17:48 -05:00
George Baltz N3GB b8c1d80626 Add required noise 2025-07-11 15:45:27 -04: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 e90cc5fb0e Add includes to amplifiers/*/*.c 2025-07-10 09:54:03 -04:00
George Baltz N3GB 213e7751bf Add needed includes of new files to rotators/*/* 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 0148378ed9 Add needed new includes in src/*.c 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
Nate Bargmann 0db57035d5
Update NEWS for AF6SA WRC rotator backend 2025-07-09 21:21:24 -05:00
Nate Bargmann 48e7bd734a
Merge GitHub PR #1800 2025-07-09 21:03:08 -05:00
Nate Bargmann 275d01c545
Attempt to quell Ubuntu CI error
Ubuntu CI is generating the following error:

E: Failed to fetch https://security.ubuntu.com/ubuntu/pool/main/u/util-linux/uuid-dev_2.39.3-9ubuntu6.2_amd64.deb  404  Not Found [IP: 52.252.163.49 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: Process completed with exit code 100.

This patch updates the repository cache.
2025-07-09 20:46:45 -05:00
Michael Morgan c2a8ceab2b
Removed Redundant IF 2025-07-09 11:11:02 -05:00