OK1CTR
83e5b14cf6
Manually applied diff from older HamLib version.
2022-02-23 22:36:57 +01:00
challinan
d6f05e1974
Correct compiler warning - s.b. bitwise or
2022-02-19 21:39:17 -05:00
Michael Black
c0630312a3
Merge pull request #965 from challinan/master
...
Removed redundant RETURNFUNC() call
2022-02-16 12:03:16 -06:00
challinan
779c2d344e
Removed redundant RETURNFUNC() call
2022-02-16 12:55:44 -05:00
Michael Black
44c4e45eec
Merge pull request #964 from challinan/master
...
Add support for extlevels in rig_token_foreach()
2022-02-15 16:44:01 -06:00
challinan
4b60373d66
Add support for extlevels in rig_token_foreach()
2022-02-15 17:30:41 -05:00
Mike Black W9MDB
799b588a7c
Add some RETURNFUNC2 to rig.c for errors
2022-02-14 17:44:40 -06:00
Mike Black W9MDB
86af300d4e
Balance RETURNFUNC2 in snapshot_data.c
2022-02-13 16:17:41 -06:00
Mike Black W9MDB
98887b32da
Balance RETURNFUNC2 in network.c
2022-02-13 16:16:02 -06:00
Mike Black W9MDB
7a5bcf0f4a
Balance RETURNFUNC2 in network.c
2022-02-13 16:15:14 -06:00
Mike Black W9MDB
eac7d76a07
Change ENTERFUNC to ENTERFUNC2 in cache.c
2022-02-13 16:13:50 -06:00
Mike Black W9MDB
d44ca477ae
Make the RETURNFUNC message more distinctive for debugging purposes
2022-02-13 15:23:14 -06:00
Mike Black W9MDB
a770d5c0b3
Allow .\com3\\ as a valid COM port address
2022-02-12 17:06:24 -06:00
Mike Black W9MDB
9e8c68ccdf
Add some debug to amplifier.c
2022-02-10 15:24:41 -06:00
Mike Black W9MDB
abca36a6f8
Add some more debug to amplifier.c
2022-02-10 14:39:48 -06:00
Mike Black W9MDB
5c1b328b22
Add some more memcpy's to amplifier.c rotator.c for deprecated structure
2022-02-10 11:31:01 -06:00
Mike Black W9MDB
2f38a32b0a
Move memcpy of deprecated structure in rotator.c and add memcpy to amplifier.c
...
https://github.com/Hamlib/Hamlib/issues/960
2022-02-10 09:54:54 -06:00
Mike Black W9MDB
a0fc3eaffa
Add a check to a bogus warning in rig.c to make it correct
2022-02-07 07:17:51 -06:00
Mike Black W9MDB
7876f17551
Add A_B_ONLY when VFO_TX is requested in vfo_fixup
...
https://github.com/Hamlib/Hamlib/issues/957
2022-02-06 13:05:40 -06:00
Mike Black W9MDB
776c68e3b1
Allow backwards compatibility for rigctl and rigctld by copying deprecated values to new port_t structures
2022-02-05 23:55:46 -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
81d61c09cc
Remove temp debug from rig.c
...
https://github.com/Hamlib/Hamlib/issues/947
2022-02-03 23:10:04 -06:00
Mike Black W9MDB
9aade8de3f
Add config.h to include/hamlib so HAVE_PTHREAD is available if needed
...
https://github.com/Hamlib/Hamlib/issues/947
2022-02-03 22:31:42 -06:00
Mike Black W9MDB
bbd20c45dd
Fix valgrind-discovered unitialized curr_vfo in rig.c
2022-02-03 10:41:54 -06:00
Mike Black W9MDB
5a1e73396c
Remove FUNC calls from rig_cleanup as rig is closed
2022-02-03 08:38:17 -06:00
Mike Black W9MDB
9852288992
Baland RETURNFUNC statements in rig.c
2022-02-02 23:48:42 -06:00
Mike Black W9MDB
c4e01ddadb
Change debug level from BUG to VERBOSE for debugging.
...
Causes abort in JTDX when BUG is used
https://github.com/Hamlib/Hamlib/issues/947
2022-02-02 08:45:46 -06:00
Mike Black W9MDB
9ede1174a3
Add temporary debug for rig->state.pttport.type.ptt diagnosis
...
https://github.com/Hamlib/Hamlib/issues/947
2022-02-02 07:45:00 -06:00
Mike Black W9MDB
324e663d81
Also update rig->state.pttport.type.ptt -- used by JTDX and WSJXT right now so have to copy it
...
https://github.com/Hamlib/Hamlib/issues/947
2022-02-02 07:06:59 -06:00
Mike Black W9MDB
4c6f9bf9f2
Another copy of deprecated info
2022-02-01 14:12:16 -06:00
Mike Black W9MDB
4ae7d6d158
Change behavior in misc.c for RIG_VFO_TX
...
https://github.com/Hamlib/Hamlib/issues/949
2022-02-01 14:10:29 -06:00
Mike Black W9MDB
9dd5f70b01
Add some more copy for hamlib_deprected structures
...
https://github.com/Hamlib/Hamlib/issues/947
2022-02-01 11:29:26 -06:00
Mike Black W9MDB
011f9789e2
Add another copy to deprecated hamlib_port to fix PTT method in JTDX/WSJTX
...
https://github.com/Hamlib/Hamlib/issues/947
2022-02-01 07:57:59 -06:00
Mike Black W9MDB
f6941437ba
Add deprecated port references to amp and rot conf
2022-01-31 22:12:29 -06:00
Mike Black W9MDB
64af7ca65a
Fix depreated references in conf.c
...
https://github.com/Hamlib/Hamlib/issues/947
2022-01-31 17:01:05 -06:00
Mike Black W9MDB
931037450e
Add deprectead hamlib_port references in conf.c
...
https://github.com/Hamlib/Hamlib/issues/947
2022-01-31 15:18:34 -06:00
Mike Black W9MDB
4ef62a8436
Export spaces() functions
...
https://github.com/Hamlib/Hamlib/issues/946
2022-01-31 09:28:52 -06:00
Mike Black W9MDB
024e7b7555
Recommit misc.c -- somehow did not get committed
...
https://github.com/Hamlib/Hamlib/issues/946
2022-01-31 08:50:47 -06:00
Mike Black W9MDB
a33f1b7920
Add ENTERFUNC2 and RETURNFUN2 for functions that don't have rig structure
2022-01-31 08:34:06 -06:00
Mike Black W9MDB
918ca72202
Fix some more mingw compilation errors on network.c
2022-01-31 07:49:37 -06:00
Mike Black W9MDB
9102358fee
Fix more mingw compilation errors on network.c
2022-01-31 07:46:44 -06:00
Mike Black W9MDB
46cd85fb60
Fix mingw compilation errors on network.c
2022-01-31 07:45:56 -06:00
Mike Black W9MDB
2e218c56b6
Fix some more mingw errors on iofunc.c
2022-01-31 07:42:04 -06:00
Mike Black W9MDB
6e6d22ae36
Fix iofunc.c compilation error on mingw
2022-01-31 07:40:53 -06:00
Mike Black W9MDB
171f581243
Fix rig_set_ptt to copy new hamlib_port_t structure to deprecated
2022-01-31 06:58:49 -06:00
Mike Black W9MDB
7b4b7ee630
Add a depth count to debug statements to help understand calling sequences
...
First call into rig functions is level 1
Top level like rigctl, rigctld is level 0
Non-depth calls are internal debug statements -- which can be modified to also show levels but that's a whole lot of statements not really necessary
Normal calls from other clients will be level 1
2022-01-30 23:37:01 -06:00
Mike Black W9MDB
63b31eac4e
Add tx_freq to debug statement
2022-01-30 10:51:49 -06:00
Mike Black W9MDB
3c60636b80
In rig_set_split rx_vfo set to vfo value passed in
2022-01-30 07:28:52 -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