Wykres commitów

35 Commity (master)

Autor SHA1 Wiadomość Data
George Baltz N3GB 12552bff64 Do rigs/tuner/, rigs/uniden/, rigs/winradio/ & rigs/wj/
This leaves only rigs/yaesu
2024-02-05 11:28:31 -05:00
Mike Black W9MDB e267c62764 astyle files 2023-12-16 11:37:58 -06:00
Mike Black W9MDB 534fe449a2 Fix more cppcheck items 2023-10-13 17:36:29 -05:00
Mike Black W9MDB 3b5f7a6dcf Add and fix some cppcheck suppress items
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-03 17:11:09 -05:00
Mike Black W9MDB deaf44c8c6 Remove deprecated code 2023-08-02 22:26:34 -05:00
Daniele Forsi IU5HKX 52be0797d8 [rigs/*] Fix includes 2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX d09c048161 [rigs/*] Remove unused include of config.h 2023-02-14 19:57:48 +01:00
Daniele Forsi IU5HKX 7a132e2703 Remove unused includes
Removes includes of stdio.h stdlib.h string.h unistd.h
2022-07-24 17:08:57 +02:00
Daniele Forsi IU5HKX 34018600ee Remove unused includes of math.h 2022-07-23 18:39:55 +02:00
Mike Black W9MDB 8c34ce1a2d astyle source code 2022-02-05 15:27:43 -06:00
Mike Black W9MDB 68e121d82c Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
Mike Black W9MDB a277d7ab9b Changes changing hamlib_port_t to pointer are not backwards compatible 2022-01-25 17:41:26 -06:00
Mike Black W9MDB 9e86e62238 Enable async I/O by default
Change hamlib_port_t to a pointer in rig.state
Deprecate static hamlib_port_t structure
New hamlib_port_t structure at end of rig.state
Clients built with older hamlib will use old structure in DLL
Clients built with newer hamlib will use new structure in DLL
So we maintain backwards compatibility until Hamlib 5.0
https://github.com/Hamlib/Hamlib/issues/894
2022-01-25 07:59:47 -06:00
Mike Black W9MDB 18f7036fb0 Change sprintf to snprint in uniden.c
https://github.com/Hamlib/Hamlib/issues/857
2022-01-16 08:59:40 -06:00
Mike Black W9MDB ac3b854818 Change sprintf to snprint in uniden.c
https://github.com/Hamlib/Hamlib/issues/857
2022-01-16 08:52:45 -06:00
Mikael Nousiainen c764336e73 Fix build warnings caused by changes to I/O function signatures 2021-12-18 23:49:45 +02:00
Mikael Nousiainen 56c95b1529 Merge upstream changes and fix conflicts 2021-12-12 23:05:26 +02:00
Mikael Nousiainen d857f18163 Initial implementation of: reader thread for async handling of rig data, UDP multicast publisher routine and rig state poll thread routine. The reader thread can correctly handle asynchronous data, such as transceive or spectrum data. Work in progress: multi-platform code for I/O routines still missing and the poll routine is not yet in use. Tested briefly on an IC-7300 so far. 2021-11-28 20:52:29 +02:00
Mike Black W9MDB d820ee9dbf Add expected_len to read_string function for potential serial I/O speedup
https://github.com/Hamlib/Hamlib/issues/850
2021-11-24 13:02:39 -06:00
Mike Black W9MDB 8fe190d622 Reduce error messages about RIG_VFO_OTHER which only applies to some rigs like Icom rigs with the 0x25 command
Add a flush_flag to read_string so that the new serial_flush will not produce a timeout value when flushing
https://github.com/Hamlib/Hamlib/issues/835
2021-11-01 23:43:45 -05:00
Mike Black W9MDB 386b08dc4f Add ctcss_list and dcs_list to rigctld so rigcctld caps reflects the connected rig
https://github.com/Hamlib/Hamlib/issues/659
2021-04-29 10:49:29 -05:00
Michael Black W9MDB c70d841b83 Add NOCHANGE_PASSBAND to icom...cascading effect on adding vfo elsewhere...which is needed anyways
https://github.com/Hamlib/Hamlib/issues/448
2020-11-29 23:32:14 -06:00
Michael Black W9MDB 7bee01f785 Add suppress for AST broken bug in cppcheck 2020-09-19 16:09:44 -05:00
Daniele Forsi d7b332c3f7 Fix spelling errors
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"

Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 09:02:48 +02:00
Michael Black W9MDB b6a960d48e All conversions to rig_flush now done
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 09:01:46 -05:00
hiteki 63357389d6 get_dcd responds without crashing #323 2020-06-21 19:10:21 +02:00
hiteki abe2697f4e uniden_get_mode report WFM mode correctly #321 2020-06-21 18:09:18 +02:00
hiteki 68e6dd0e21 Correctly compare response strings #319 2020-06-21 16:09:45 +02:00
hiteki 0bd366b05b uniden_get_channel correctly parses rig's response #315 2020-06-21 12:06:40 +02:00
tb b2f1b1880a uniden_get_freq_2 to use SG<cr> instead of RF<cr> for bc780xlt #313
- RF<cr> responds NG on bc780xlt
- SG<cr> responds with the gain + the current frequency
- SG<cr> is valid in manual mode, scan mode and search mode
2020-06-20 20:38:46 +02:00
Michael Black W9MDB 2813f0ef63 astyle files 2020-05-11 22:39:10 -05:00
mdblack98 8ad431a344 Change #warn on get_channel to RIG_ENIMPL errors
This needs to be validated on the rigs to see the individual behavior
It only gives an error when read_only=0, read_only=1 does not give any error
We want the behavior of actually setting the rig display to be based on this flag
https://github.com/Hamlib/Hamlib/issues/227
2020-05-06 08:06:14 -05:00
mdblack98 bf1a05084d astyle files 2020-05-03 17:24:42 -05:00
mdblack98 5eb5b6f3d8 https://github.com/Hamlib/Hamlib/issues/227
Added read_only flag everywhere
2020-04-26 14:37:03 -05:00
Michael Black 8d6e2fc781
Directory migration to new layout 2020-01-17 09:22:44 -06:00