Mike Black W9MDB
5c269964c2
astyle files in preparation for release 4.6
2024-11-06 08:07:34 -06:00
George Baltz N3GB
494787cb3c
First batch of state pointers in rigs/yaesu/
...
Almost all by sed -i
2024-06-08 03:55:08 -04:00
George Baltz N3GB
e26e6cd7f2
Convert rigs/yaesu
...
No more code references to raw port structures in rigs/*
2024-02-05 11:28:31 -05:00
Mike Black W9MDB
9841e500b9
Fix ptt_share segmentation fault
...
https://github.com/Hamlib/Hamlib/issues/1433
Fix ID5100 0x25 and simplex VFO actions
https://github.com/Hamlib/Hamlib/issues/1429
2023-11-23 15:00:05 -06:00
Mike Black W9MDB
5ac1e50b80
Fix always true conditions found by cppcheck
...
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-02 23:10:58 -05:00
Mike Black W9MDB
f00661a8ae
Fix unused cppcheck warnings
...
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-01 12:01:38 -05:00
Daniele Forsi IU5HKX
a04abe6e04
[yaesu] Remove unused include of config.h
2023-02-14 19:30:51 +01:00
Mike Black W9MDB
4f5bf9aadd
Fix some dumpcaps warnings in many rigs
2022-11-14 16:02:28 -06:00
Mike Black W9MDB
c844b02ed1
Fix dumpcap level_gran for Yaesu rigs
2022-11-11 16:56:42 -06: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
74b3d13d6a
Update hamlib_check_rig_caps
2022-02-11 11:44:18 -06: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
991e314820
Add RIG_LEVEL_BAND_SELECT for Yaesur rigs
...
https://github.com/Hamlib/Hamlib/issues/919
2022-01-29 16:25:18 -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
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
Mikael Nousiainen
c764336e73
Fix build warnings caused by changes to I/O function signatures
2021-12-18 23:49:45 +02:00
Mike Black W9MDB
63a51c36a1
astyle files preparing for 4.4 release
2021-11-28 12:41:10 -06:00
Mike Black W9MDB
388294c3d6
Fix RIG_STATUS_STABLE misspelling
2021-09-15 13:50:31 -05:00
Mike Black W9MDB
8cc59cca3b
Rigs have been at BETA status forever so promoting all to STABLE
2021-09-15 13:44:42 -05:00
Michael Black
187dcff6c5
Merge pull request #787 from wutje/yeasu_move_native_cmd_to_c_file
...
Yeasu rigs: move native command to C file, move function declaration to C file
2021-09-04 15:46:51 -05:00
Wouter van Gulik
0ebf99742e
Yeasu rigs: move native command to C file, move function declration to C
...
file.
There is no point in having it in the header file if data that is used only in
the C file.
Export ft857_[sg]et_vfo via the ft857 header and use the header in
ft897.
2021-09-04 21:37:28 +02:00
Wouter van Gulik
2ed6142851
Drop pointless rig_s assignment from Yeasu code.
...
rig_s was assigned once and use once, better use rig->state direct;
it gives less code to read.
Also dramatically shrinked send_priv_cmd for ft1000mp, ft100, ft600,
ft747 and ft847 by simply using ncmd direct instead of via a variabel.
2021-08-30 22:42:51 +02:00
Mike Black W9MDB
283281c4cb
astyle all files preparing for 4.3 release
2021-08-26 06:49:24 -05:00
Wouter van Gulik
d1bfa0172f
ft600.c: Drop width check, code below has no check.
...
The lower code would have crashed if width was NULL, so 'width == NULL' never
happens.
2021-08-21 20:45:43 +02:00
Wouter van Gulik
673733700f
Move private data structs of ft100, ft600, ft817, ft857, ft897 to the C file.
...
Note that is already so for all other Yaesu device.
Leave private data in newcat; it is used by multiple rigs.
2021-08-17 20:23:03 +02:00
Michael Black W9MDB
c31fb3dcc4
Change a few Yaesu rigs to use slider-compatible width settings
...
https://github.com/Hamlib/Hamlib/issues/391
2020-10-09 10:42:34 -05: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
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
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
8d6e2fc781
Directory migration to new layout
2020-01-17 09:22:44 -06:00