Wykres commitów

1413 Commity (a360bd0a070f5a451239b39d6e621643df0cf219)

Autor SHA1 Wiadomość Data
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
Mike Black W9MDB afd595d2da Allow asyncio rigs to use cached-only values for rig_get_freq and rig_get_mode
https://github.com/Hamlib/Hamlib/issues/894
2022-01-29 08:39:27 -06:00
Mike Black W9MDB 86c62d5dbb Remove ASYNC_BUG #ifdef blocks as it is all working now 2022-01-28 09:55:48 -06:00
Mike Black W9MDB fab7f4d54c Revert "Revert "Deprecate hamlib_port_t to hamlib_port_t_deprecated""
Fixing hamlib_port_t deprecation
This reverts commit f696123a3b.
https://github.com/Hamlib/Hamlib/issues/894
2022-01-27 06:37:55 -06:00
Mike Black W9MDB b5bcae4af3 Fix compilation after revert 2022-01-26 18:04:29 -06:00
Mike Black W9MDB f696123a3b Revert "Deprecate hamlib_port_t to hamlib_port_t_deprecated"
This reverts commit 401e718d60.
2022-01-26 17:56:58 -06:00
Mike Black W9MDB 2028d4d1fa Add some more memcpy's to sync hamlib_port_t_deprecated
https://github.com/Hamlib/Hamlib/issues/894
2022-01-26 17:44:03 -06:00
Mike Black W9MDB 81bb70bb84 Deprecate hamlib_port_t to hamlib_port_t_deprecated
New hamlib_port_t at end of structure -- eventually need to change this to a pointer'
Enable ASYNC_BUG now works with new hamlib_port_t
Backwards compatible with already-compiled clients and newly-compiled clients
https://github.com/Hamlib/Hamlib/issues/894
2022-01-26 12:39:13 -06:00
Mike Black W9MDB 9407ef3860 Fix VFO for cache
https://github.com/Hamlib/Hamlib/issues/920
2022-01-25 23:20:48 -06:00
Mike Black W9MDB f3a38b73fc Add VFO to allowable VFO for cache and vfo_fixup
https://github.com/Hamlib/Hamlib/issues/920
2022-01-25 23:14:39 -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 cb36210ddb Revert "Fix rig.c memcpy to deprecated hamlib_port_t"
This reverts commit 27adcc2e75.
2022-01-25 15:02:51 -06:00
Mike Black W9MDB 27adcc2e75 Fix rig.c memcpy to deprecated hamlib_port_t 2022-01-25 14:52:07 -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