Wykres commitów

23 Commity (68e121d82c8000d60075c51a9e1f115772ad0620)

Autor SHA1 Wiadomość Data
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 01b7f81119 Add a data tag to the caps structure and a test in rig_init to ensure the data tag is where it is expected
Modify testrigcaps.c to test new data tag
This should detect any changes which corrupt rig_caps from additons/subtractions/changes to the structure
2021-12-31 23:49:29 -06:00
Mike Black W9MDB aae3ec4996 Allow IC-7300 and many other Icom rigs to find current vfo on startup
Icom rigs that do not have 0x25 or XCHG cannot do this yet which are older Icom rigs
XCHG rigs cannot get_vfo while transmitting but 0x25 rigs can
https://github.com/Hamlib/Hamlib/issues/806
2021-09-26 17:03:47 -05:00
Michael Black W9MDB 5fc36df249 astyle files 2020-11-30 14:53:55 -06: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 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 b040803765 Standard all version numbers to YYYYMMDD.N where n is intended for multiple versions in one day.
So typically .N will be .0
2020-03-29 23:03:21 -05:00
Michael Black c489f97624 More cppcheck changes 2020-03-20 07:51:32 -05:00
Michael Black 109a6f6d8e Fix boolean logic in set_channel in ic746.c 2020-03-19 12:25:14 -05:00
Michael Black d856248178 Add RIG_MODEL macro and change all rigs to support it 2020-03-05 08:44:18 -06:00
Michael Black ff8ddf018c astyle all C files 2020-02-23 11:26:09 -06:00
Michael Black 864fe6f5c1 Update icom priv_data entries to standardize them 2020-02-03 23:33:49 -06:00
Michael Black bf5180d77b Add antack_len and ant_count to all Icom rigs that have get/set_ant 2020-02-03 15:59:36 -06:00
Michael Black f143d8abd9
Fix cppcheck warnings 2020-01-23 17:20:41 -06:00
Davide Gerhard ccd1010e3e
ic746.c: add ic746pro_set_channel() to load memory from csv
tested with IC-7400 (aka IC-746Pro)

note:
if the csv line is without frequency or mode the memory channel
will be cleared

Closes: https://github.com/Hamlib/Hamlib/issues/125
2020-01-22 08:20:34 +01:00
Davide Gerhard 999bc11b74
ic746.c: correct chanbuf length, fix channel structure and support split
on channel_str_t
- enable pol to align the structure with membuf
  needed by ic746pro_get_channel() to save the description name

on ic746pro_get_channel()
- fix chanbuf length
- add split configuration
2020-01-22 08:09:30 +01:00
Michael Black 4072f9f4a5
Fix ic746pro_get_channel and buffer overflow
Add channel_desc to dump_csv and dump_xml
2020-01-18 08:53:18 -06:00
Michael Black 347e351ea6
Add icom_rig_open/close to all icom rigs 2020-01-17 09:22:01 -06:00