Wykres commitów

11884 Commity (a4b6ef4fd73dce67de5cb859f111d819d40313ed)

Autor SHA1 Wiadomość Data
George Baltz N3GB a4b6ef4fd7 Fix out of sequence merge for issue #1634
Still undetermined if fix is needed for TS-590SG
2025-05-29 05:41:39 -04:00
Daniele Forsi IU5HKX 9fdf8f201c Fix list of dependecies of aclocal.m4
Adds missing ax_lib_readline.m4 and ax_lua.m4 to the list of MACROS.
Also sorts the list.
2025-05-27 09:01:44 +02:00
Nate Bargmann 717d720a36
Merge GitHub PR #1744 2025-05-26 11:09:36 -05:00
Daniele Forsi IU5HKX 43017b38f0 Fix typo
Add closing tag for example text.
2025-05-26 08:31:39 +02:00
Daniele Forsi IU5HKX 3034631b2f Fix typo 2025-05-26 08:31:39 +02:00
Nate Bargmann f459eea516
Update NEWS for 4.6.3 release 2025-05-25 20:46:16 -05:00
George Baltz N3GB b5df48d8d9 Add locking around get/set levels 2025-05-24 20:20:10 -04:00
Mooneer Salem 0fd094f476
Fix issue where Hamlib attempts to use memory returned by setlocale() after being freed. 2025-05-22 21:18:38 -05:00
Nate Bargmann 9570d9963b
Merge GitHub PR #1742 2025-05-22 18:17:59 -05:00
Nate Bargmann 9b177cd8b3
Merge GitHub PR #1739. 2025-05-22 17:23:35 -05:00
Nate Bargmann 91a4d914d9
Merge branch 'fix/usage-texts' of github.com:dforsi/Hamlib into dforsi-fix/usage-texts
From GitHub PR #1735.
2025-05-22 17:11:55 -05:00
Nate Bargmann 73607aeb54
Merge branch 'dforsi-fix/ac_arg_enable'
Reference GitHub PR #1731.
2025-05-22 16:56:01 -05:00
Daniele Forsi IU5HKX dbe89b2092 Remove duplicated comment 2025-05-22 21:55:10 +02:00
Daniele Forsi IU5HKX 87311035ea Also mention amplifiers 2025-05-22 21:55:10 +02:00
Daniele Forsi IU5HKX 4109d606b5 Fix typos 2025-05-22 21:55:10 +02:00
Daniele Forsi IU5HKX 84376c4561 Use the variable with the version number in the example path 2025-05-22 21:55:10 +02:00
Daniele Forsi IU5HKX 5fe81cdef4 Fix compilation errors and warnings and link failure
Compile-tested with commit 8ea3f0e (tag: 3.4.10)
from https://github.com/osmocom/libusrp

Fixes:
usrp_impl.cc:33:10: fatal error: usrp_standard.h: No such file or directory
usrp_impl.cc:49:63: error: expected '(' before 'malloc'
usrp_impl.cc:49:100: error: expected ')' before ';' token
usrp_impl.cc:72:39: error: invalid 'static_cast' from type 'rig_state*' to type 'usrp_priv_data*'
usrp_impl.cc:86:39: error: invalid 'static_cast' from type 'rig_state*' to type 'usrp_priv_data*'
usrp_impl.cc:104:39: error: invalid 'static_cast' from type 'rig_state*' to type 'usrp_priv_data*'
usrp_impl.cc:129:45: error: invalid 'static_cast' from type 'rig_state*' to type 'usrp_priv_data*'
usrp_impl.cc:151:45: error: invalid 'static_cast' from type 'rig_state*' to type 'usrp_priv_data*'
usrp_impl.cc:169:45: error: invalid 'static_cast' from type 'rig_state*' to type 'usrp_priv_data*'

usrp_impl.cc:114:37: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
usrp_impl.cc:139:38: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]

/usr/bin/ld: ../src/.libs/libhamlib.so: undefined reference to `usrp_caps'
2025-05-17 23:00:08 +02:00
Daniele Forsi IU5HKX 94bf1d717a Fix failure of ./configure --with-tcl-binding --with-xml-support
If pkg-config has found tcl.pc, then tclConfig.sh is not executed
and $TCL_INCLUDE_SPEC is empty so the test for tcl.h fails.
This patch moves the test inside the "else" case where the variable
is always defined.
The is a bug exposed by the fact that --with-xml-support redefines
the macro PKG_CHECK_MODULES.
Fix verified moving aside /usr/lib/x86_64-linux-gnu/pkgconfig/tcl.pc

Fixes:
configure: error: Unable to find Tcl headers
2025-05-17 15:51:57 +02:00
Daniele Forsi IU5HKX 435a354ee0 Fix --with-indi[=no] being considered =yes 2025-05-17 10:57:23 +02:00
Daniele Forsi IU5HKX b03dea99b5 Allow to give the command lines options --list or --version 2025-05-14 19:41:34 +02:00
Daniele Forsi IU5HKX 55cae893f0 Fix definition of -B/--mapa2b command line option
It doesn't accept an argument.
2025-05-14 19:41:34 +02:00
Daniele Forsi IU5HKX e34ae180a2 Remove unused definition of -z command line option 2025-05-14 19:41:34 +02:00
Daniele Forsi IU5HKX dc3a71da1b Document existing option to read commands from stdin 2025-05-14 19:41:34 +02:00
Daniele Forsi IU5HKX 57e5dba438 Make usage texts more similar 2025-05-14 19:41:34 +02:00
Daniele Forsi IU5HKX ce95b034c6 Fix --with-libusb[=yes] being considered =no 2025-05-13 21:04:44 +02:00
Daniele Forsi IU5HKX 9aee8f8343 Fix --with-readline[=yes] being considered =no 2025-05-13 21:04:44 +02:00
Daniele Forsi IU5HKX 5370bbd32e Fix --enable-html-matrix[=yes] being considered =no 2025-05-13 21:04:44 +02:00
Daniele Forsi IU5HKX 50462e6564 Fix --enable-parallel[=yes] being considered =no 2025-05-13 21:04:44 +02:00
Daniele Forsi IU5HKX daa5c83a82 Fix --enable-winradio[=yes] being considered =no 2025-05-13 21:04:44 +02:00
Daniele Forsi IU5HKX ad824fa85e Remove duplicated assignment of compilation flags
Fixes a double "-g -O2 -g -O2" in compiler invocation.
2025-05-09 22:39:17 +02:00
Daniele Forsi IU5HKX c7ba4f5384 Fix --without-cxx-binding being ignored
Do not build the C++ bindings if the configure script was called
with the option --without-cxx-binding.
2025-05-09 22:37:35 +02:00
Daniele Forsi IU5HKX da60d2d383 Replace non-portable make rule with one that is also easier to understand
Fixes:
warning: '%'-style pattern rules are a GNU make extension
2025-05-09 21:08:42 +02:00
Daniele Forsi IU5HKX de01821c51 Fix typo 2025-05-08 23:51:47 +02:00
Daniele Forsi IU5HKX 1e7b1a628e Fix error return values
All constant error values RIG_E* should be negated when returned.
Found with:
grep -nrE RETURNFUNC.?.RIG_E.+ --include=*.{c,h} | grep -v \-
2025-05-08 23:51:47 +02:00
Daniele Forsi IU5HKX 56eea198be Remove unneeded test script testcpp.sh
Library directory ../dummy/.libs doesn't exist anymore and ../c++/.libs
(a.k.a. .libs) is already used by the libtool wrapper script that runs
the testcpp program.
2025-05-08 23:51:47 +02:00
Daniele Forsi IU5HKX 23a54a7bdf Remove unneeded dependency 2025-05-08 23:51:47 +02:00
Daniele Forsi IU5HKX 5c05881e0e Add rules to build dependencies of libhamlib.la in other directories
This makes it possible to run "make -C src/" or "make -C tests/ rigctl"
or "make -C bindings/ check" (and so on) in a clean tree, but it doesn't
rebuild those targets if libhamlib.la is changed; for this run make from
the top directory as usual, to rebuild all SUBDIRS if needed.
2025-05-08 23:51:47 +02:00
Daniele Forsi IU5HKX b73f64f498 Remove redundant dependencies
All *.swg files are in $(SWIGDEP) via $(SWGFILES).
2025-05-08 23:51:47 +02: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 0b68dc5885 Also check the "name" parameter
Avoids a segfault if calling strtol(NULL, NULL, 0).
2025-05-08 23:11:21 +02:00
Daniele Forsi IU5HKX 6dfa118dac Describe the use of simulators 2025-05-04 16:47:39 +02:00
Daniele Forsi IU5HKX e5d8dc0f07 Fix compilation error in simicr8600.c
Fixes:
simicr8600.c:445:5: warning: ‘main’ is normally a non-static function [-Wmain]
2025-05-04 16:47:30 +02:00
Daniele Forsi IU5HKX 584ddb001d Fix compilation error in simid5100.c
Fixes:
simid5100.c:90:35: error: ‘errno’ undeclared (first use in this function)
2025-05-04 16:47:22 +02:00
Daniele Forsi IU5HKX f4b95826d4 Explain how to use the simulators 2025-05-04 16:46:20 +02:00
Daniele Forsi IU5HKX fb8abe93bb List more optional dependencies 2025-05-04 16:46:20 +02:00
Daniele Forsi IU5HKX 6f789b60ec Update copyright year 2025-05-04 16:46:20 +02:00
Daniele Forsi IU5HKX 7a466c779a Remove old version numbers 2025-05-04 16:46:20 +02:00
Daniele Forsi IU5HKX 49b0be5be2 Update the directory tree 2025-05-04 16:46:20 +02:00
Kenji Rikitake 12cc40f4f7
Fix IC-705 filter selection and bandwidth handling for FM and WFM
* Enable `.fm_filters` in `IC705_priv_caps`
* `icom_get_mode_without_data()`: activate FM filter selection code if `RIG_IS_IC705`
* `icom2rig_mode()`: activate FM filter fixed width code if `RIG_IS_IC705`
* TODO: cases in WFM should be solved independently
* `icom2rig_mode()`: handle FM and WFM separately and correctly at least for IC-705, no changes for IC-7300 and IC-9700
* `icom_get_mode_without_data()`: add WFM to the code assuming that values from `icom2rig_mode()` is correct
* icom.c: A partial rollback for a395b91be6
* The workaround to use `icom_set_mode_without_data()` is not necessary
* The later experiments showed CI-V command 0x26 worked OK too for WFM
* Add WFM freq to ic705_caps.filters
* Fix icom_set_mode_x26() FM behavior

`icom_set_mode_x26()` did not pass the correct command value
for FM or PKTFM modes when width is set to
`RIG_PASSBAND_NORMAL` (i.e., 0 (zero)).
With this source code change,
the command value `buf[2]` is forcefully set to 1
when `RIG_PASSBAND_NORMAL` or `RIG_PASSBAND_NOCHANGE` are
passed to the parameter `width`.

This fix solves the bug for IC-705 with rigctl when
entering the command `M FM 0` after `M WFM 0` *did not*
change the mode properly to (narrow) FM.
2025-05-03 10:38:31 -05:00
Nate Bargmann fa2520c894
Merge pull request #1723 from jj1bdx/jj1bdx-ic705-meters
Fix IC-705 COMP, VD, and ID meter calibration values
2025-05-02 21:43:46 -05:00