Daniele Forsi IU5HKX
54c2eb89a2
Revert "Temporarily disable parallel builds"
...
This reverts commit 3706f365a5
.
2025-07-05 22:19:46 +02:00
Daniele Forsi IU5HKX
8c94897208
Install development package for rigmatrix for Linux in the CI
2025-07-05 22:18:25 +02:00
Daniele Forsi IU5HKX
633cee04d2
Install INDI development packages for Linux in the CI
2025-07-05 22:18:16 +02:00
Daniele Forsi IU5HKX
2fc0b8eef5
Fix make distcheck again
2025-07-05 22:18:16 +02:00
Daniele Forsi IU5HKX
98489501fe
Revert "Sort SUBDIRS and DIST_SUBDIRS and fix them"
...
This reverts commit d065bcb8ef
.
Conflicts:
Makefile.am
2025-07-05 22:18:16 +02:00
Daniele Forsi IU5HKX
3706f365a5
Temporarily disable parallel builds
2025-07-05 22:18:16 +02:00
Daniele Forsi IU5HKX
b96afa9372
Remove redundant rule for make
...
make knows how to build an excutable from a single source file.
2025-07-05 22:18:16 +02:00
Daniele Forsi IU5HKX
e5e4ef84fe
Remove redundant rule for make clean
...
All built files are deleted automatically.
2025-07-05 22:18:16 +02:00
Mark J. Fine
ec0a04669c
Merged remaining R8 set/get memory channel routines over to drake.c
...
Cleaned up comments and added interface documentation to newly added routines
Added TODO notes for things yet to be handled on R8A/B, such as channel name
2025-07-05 09:41:52 -04:00
Daniele Forsi IU5HKX
f68c48aac5
Add dependency to hamlibdatetime.h
...
Fixes a race during parallel builds:
rig.c:74:10: fatal error: 'hamlibdatetime.h' file not found
Occurred in https://github.com/Hamlib/Hamlib/actions/runs/16087329208/job/45400068817
2025-07-05 13:05:23 +02:00
Daniele Forsi IU5HKX
b73d4a5cef
Install SWIG for macOS in the CI
...
Install the latest version available.
2025-07-05 12:42:42 +02:00
Daniele Forsi IU5HKX
585d23ae5b
Temporarily disable building Lua bindings on macOS
2025-07-05 12:39:38 +02:00
Daniele Forsi IU5HKX
419cb02dd5
Install Lua for macOS in the CI
...
Install the latest version available.
2025-07-05 11:51:49 +02:00
Daniele Forsi IU5HKX
6433447e91
Install TCL for macOS in the CI
2025-07-05 11:45:02 +02:00
Daniele Forsi IU5HKX
6a9f93a89e
Remove trailing newline from YAML multiline strings
2025-07-05 10:37:30 +02:00
Daniele Forsi IU5HKX
bdde43f175
Execute make with less verbosity for better readability
...
This replaces the lines "Entering directory {DIRECTORY}" /
"Leaving directory {DIRECTORY}" with just "Making {TARGET} {DIRECTORY}"
and hides other output. Warning and errors are shown anyway.
2025-07-05 10:02:12 +02:00
Daniele Forsi IU5HKX
55805c90c9
Do the configure step with everything "no", then with "yes"
...
Shared and static libraries are built in both cases.
The usrp driver is "no" in both cases because it's in an
external repository.
2025-07-05 09:55:03 +02:00
Daniele Forsi IU5HKX
e7daf11d5c
Do not compile rotators/indi if disabled in configure
...
To disable:
./configure --without-indi
2025-07-05 09:32:35 +02:00
Mark J. Fine
49b01e1968
Removed EOM from set_mem's "Cxx" command because it was leaving an extra LF in the receive queue, messing up the response to any subsequent command.
2025-07-04 20:54:45 -04:00
Mark J. Fine
cb0646c727
Merged all R8 testing routines (except set/get memory channel) into their equivalents within drake.
...
Will do the same with memory channel routines once they are better tested.
2025-07-04 00:53:28 -04:00
Daniele Forsi IU5HKX
f4cebd5339
Do not compile rigs/winradio if disabled in configure
...
To disable:
./configure --disable-winradio
2025-07-03 23:39:22 +02:00
Daniele Forsi IU5HKX
d065bcb8ef
Sort SUBDIRS and DIST_SUBDIRS and fix them
...
"security" was added twice to SUBDIRS and BACKEND_LIST is not set
by configure.
2025-07-03 23:12:32 +02:00
Mark J. Fine
7a97578476
Fixed error in get_mem(), which was reading mode, not memory channel.
...
Adusted Report All to decode memory status AFTER mode, so VFO_MEM wouldn't get squashed.
2025-07-03 11:02:50 -04:00
Mark J. Fine
6ac3dd596b
Fixed squelch detection to use an asterisk instead of a hash (like in the manual).
...
Also fixed setting of meter based on the status of RIG_DCD_ON/OFF instead of true/false.
2025-07-03 00:30:11 -04:00
Mark J. Fine
48405744b5
Silence uninitiated variable warning in vfo_op on C99 compuler.
2025-07-02 22:08:47 -04:00
Mark J. Fine
db863a6921
Added stdbool.h for c99 compilers in drake.c
2025-07-02 20:34:17 -04:00
Mark J. Fine
3ff4bc99cc
Moved all r8's command debug routines over to drake.c and out of the r8-specifc backend.
...
Removed the r8-specific transaction routine and repointed it to the revised common one in drake.c.
2025-07-02 11:33:50 -04:00
Mark J. Fine
d32d605be6
Fix crashing when attempting to receive data on 'set' actions... helps if the receive buffer is appropriately sized.
...
Also, added intialization to the receive buffer in the comms loop.
2025-07-02 11:13:06 -04:00
Mark J. Fine
3b8a24179e
Fixed issue in comms loop where receive buffer was too small, causing buffer overflow crashes.
...
Also, added buffer initialization in case some receive errors are not handled properly.
Fixed potential C99 stdbool error.
2025-07-02 09:23:59 -04:00
Mark J. Fine
e1562e675f
Organized most of the redundant rig freq, mode, mem, and all reporting into their individual routines that decode and pool most of the 'get' settings into the private data area.
2025-07-01 23:47:41 -04:00
Mark J. Fine
03bf68c459
Removed redundant timout-specific error block.
2025-06-30 21:30:49 -04:00
Mark J. Fine
f94ec6a47b
Changes to smooth out the transaction process for all Drakes, and more test edits for the R8.
2025-06-30 21:17:37 -04:00
Daniele Forsi IU5HKX
623ff17f61
Build all language bindings
2025-07-01 00:32:06 +02:00
Daniele Forsi IU5HKX
7acb809eef
Do not try to compile Python code when building other bindings
...
Fixes the issue reported by @dl8fcl
f7d38f92ca (commitcomment-161078321)
2025-07-01 00:12:23 +02:00
Nate Bargmann
ca7353abaa
Merge GitHun PR #1788
2025-06-30 07:39:41 -05:00
声纳
a6fb8a079a
Update copyright to GUOHETEC in license headers for all GUOHETEC driver files
2025-06-30 08:43:04 +08:00
声纳
b95d349bff
Add LGPLv2.1 license headers to GUOHETEC driver files
2025-06-30 08:41:13 +08:00
Mark J. Fine
8316886063
Adds a backend for the Drake R8 for non-intrusive testing. Module contains copies of parts of drake.c because several routines are significantly different than R8a/b. Resopnses will be different.
...
Test rig includes better debugging of message transfers, that replace nulls, CRs and LFs with token strings so they can be properly seen and counted as part of the sending and receiving messages.
2025-06-29 12:14:21 -04:00
aa5sh
3b6577834e
Added RetVal
2025-06-28 16:55:25 -05:00
Michael Morgan
b365d988a4
FlexCW
...
Added the option to send CW using CWX commands on Flex's.
2025-06-28 08:08:59 -05:00
声纳
6797ab7646
guohetec: fix cppcheck warnings and improve code quality
...
Based on cppcheck analysis and maintainer feedback:
- Fix constParameterPointer warnings: declare reply parameters as const where appropriate
- Fix variableScope warnings: reduce reply variable scope to minimum required
- Apply IWYU (IncludeWhatYouUse) suggestions for header optimization:
* Add iofunc.h (for read_block, write_block functions)
* Add riglist.h (for RIG_MODEL_* constants)
* Remove unistd.h, misc.h, serial.h (unnecessary includes)
- Maintain backward compatibility and existing functionality
- Improve code maintainability and reduce compilation warnings
All changes follow maintainer recommendations and maintain WSJT-X compatibility.
2025-06-28 17:13:12 +08:00
声纳
c2d4fbe601
guohetec: comprehensive code quality improvements
...
- Fix compilation warnings by removing unnecessary dump_hex function calls
- Resolve implicit function declaration warnings for validation macros
- Remove duplicate GUOHE_MODE_TABLE_MAX definitions across files
- Optimize header includes based on IWYU suggestions:
* Add iofunc.h (for read_block/write_block functions)
* Add riglist.h (for RIG_MODEL_* constants)
* Remove unistd.h, misc.h, serial.h (unnecessary includes)
- Convert validation macros to functions for better compiler compatibility
- Maintain backward compatibility with existing macro definitions
- Improve code structure and maintainability
- Ensure WSJT-X compatibility with consistent error handling
All changes maintain existing functionality while improving code quality
and reducing compilation warnings.
2025-06-28 16:56:54 +08:00
声纳
a61877a60b
Fix duplicate stdint.h includes in pmr171.c and q900.c
2025-06-28 11:07:50 +08:00
声纳
19c2cc0315
Fix duplicate retval variable definition in guohetec.c probe function
2025-06-28 11:04:58 +08:00
声纳
dee29c555f
Implement consistent error handling for GUOHETEC drivers
...
- Use unified error handling mechanism in send_cmd2 functions
- Always return RIG_OK to prevent WSJT-X errors
- Update cache with requested values even when communication fails
- Use English comments and debug messages
- Ensure graceful degradation with cached values on protocol/timeout errors
2025-06-28 10:55:20 +08:00
声纳
abf6be0b5e
Fix compilation errors in GUOHETEC drivers
...
- Remove duplicate function declarations in pmr171_send
- Remove duplicate code blocks in pmr171_set_mode
- Remove duplicate pmr171_send calls in pmr171_set_ptt
- Add missing from_be function implementation
- Fix syntax errors that were causing CI failures
2025-06-28 10:22:26 +08:00
声纳
c9161e2e25
Improve error handling for GUOHETEC drivers to enhance WSJT-X compatibility
...
- Add graceful degradation for communication errors
- Return cached values instead of error codes on failures
- Implement unified response validation functions
- Add cache return macros for consistent error handling
- Maintain backward compatibility while improving stability
This change ensures WSJT-X and similar applications continue working
even when temporary communication issues occur with GUOHETEC radios.
Fixes: WSJT-X compatibility issues with PMR-171 and Q900 drivers
2025-06-28 10:11:21 +08:00
Nate Bargmann
862fda58be
Merge GitHub PR #1786
2025-06-27 07:40:51 -05:00
Nate Bargmann
9c18734911
Update NEWS for recent merges
2025-06-27 07:22:21 -05:00
Mark J. Fine
5eda68367f
Corrected a couple of cppcheck warnings: uninitialize variable and condition always false.
2025-06-27 08:05:03 -04:00