Wykres commitów

137 Commity (dad55ef1481cb82a93bac73d7d5793b7bfe4cdf5)

Autor SHA1 Wiadomość Data
Mike Black W9MDB dad55ef148 astyle files getting ready for WSJT-x-2.7.0rc1 2023-05-08 07:37:13 -05:00
Mike Black W9MDB 41113de9a2 Reduce debug level in iofunc.c 2023-05-05 09:10:43 -05:00
Mike Black W9MDB fd4b3eb103 Reduce read_string_generic timeout debug to TRACE level 2023-05-05 08:11:51 -05:00
Mike Black W9MDB 4ada211713 Do 1 retry when timing out in read_string_generic 2023-04-30 17:02:09 -05:00
Mike Black W9MDB 0591aee8e6 Remove dead code 2023-03-06 11:32:58 -06:00
Mike Black W9MDB edc18103f0 Move semicolon removal after complete string is read.
xg3 was expecting single ; response and old way was causing timeouts
2023-03-06 11:27:41 -06:00
Mike Black W9MDB fb12668f06 Allow single semicolon characaters to be skipped 2023-02-20 22:49:27 -06:00
Mike Black W9MDB bc6c14e430 Add Apex Shared Loop rotator
https://github.com/Hamlib/Hamlib/issues/1159
2022-12-25 17:07:26 -06:00
Daniele Forsi IU5HKX 3f077a5cf5 Remove unused includes of gpio.h 2022-12-09 17:31:23 +01:00
Mike Black W9MDB ca4814c472 astyle files 2022-11-23 23:31:08 -06:00
Mike Black W9MDB edcbd17612 Fix rig_send_raw to return bytes read, fill buffer, and also work with fixed length response/null terminator
https://github.com/Hamlib/Hamlib/issues/1157
2022-11-22 15:51:26 -06:00
Mike Black W9MDB 6c5e0e6974 Update astyle formatting 2022-11-16 15:30:36 -06:00
Mike Black W9MDB 5a6b0b4719 Reduce debug verbosity 2022-10-28 16:30:39 -05:00
Mike Black W9MDB b63460f05f Future code information in iofunc.c 2022-10-25 23:23:13 -05:00
Mike Black W9MDB e6d0403cd2 Add future change notes to iofunc.c as part of serial I/O speedup to be done 2022-10-12 22:40:49 -05:00
Mike Black W9MDB 6c746c310b Improve debug distinction in iofunc.c 2022-09-04 11:38:41 -05:00
Mike Black W9MDB 86245cffa6 Remove some debug from iofunc.c 2022-09-04 10:48:53 -05:00
Mike Black W9MDB 0ff94e1a7e Reduce verbosity in iofunc.c 2022-07-31 12:12:30 -05: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
Mike Black W9MDB 5e6c1eaef8 Rename TRACE to HAMLIB_TRACE to avoid conflict with MSVC 2022-07-04 07:26:30 -05:00
Mike Black W9MDB 6f9d057162 astyle files getting ready for release 2022-05-13 16:50:13 -05:00
Mike Black W9MDB a5fb30d5b6 Improve windows iofunc a bit 2022-03-29 16:16:07 -05: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 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 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 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 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 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 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 4dfaa03838 Enable ASYNC and rename async to asynio to avoid python name collision
https://github.com/Hamlib/Hamlib/issues/894
2022-01-24 10:37:07 -06:00
Mikael Nousiainen 26e5692119 Remove comments added during debugging 2022-01-23 19:35:15 +02:00
Mikael Nousiainen 1f428c8d95 Allow icom_rig_open() to succeed even if the rig is powered off. Fix issues with async I/O error code propagation. Allow rigctld daemon to start even if rig is powered off. Add mutex locks around rig_open()/rig_close() calls as multiple client connections could end up calling them concurrently, which could lead to all kinds of issues as the functions are not meant to be thread-safe. This also blocks execution of rigctl commands during rig open/close. 2022-01-22 23:19:07 +02:00
Mike Black W9MDB 1eb474f2e6 Allow read_string_generic to timeout even when some chars have been received 2022-01-20 17:04:20 -06:00
Mike Black W9MDB b6c5ecd584 Move write_block debug statement before post_write_delay so the debug timing makes more sense 2022-01-19 12:54:31 -06:00
Mike Black W9MDB 21ac4aaf05 Add method debug to write_block to show port_write logic used 2022-01-10 11:32:29 -06:00
Mike Black W9MDB 13e50f1a03 Fix compile warning in iofunc.c 2022-01-08 17:09:05 -06:00
Mike Black W9MDB 2f0b12fbb3 Fix WIN32 build 2022-01-05 13:13:12 -06:00
Mike Black W9MDB 0b6d423633 Revert "Fix win32 build"
This reverts commit 3f431314d8.
2022-01-05 13:11:34 -06:00
Mike Black W9MDB 3f431314d8 Fix win32 build 2022-01-05 13:08:38 -06:00
Mikael Nousiainen 8ee0383464 Merge branch 'master' into async-io-on-windows 2022-01-03 14:40:09 +02:00
Mikael Nousiainen a00d78c860 Implement pipes using asynchronous/overlapped I/O on Windows 2022-01-03 14:18:49 +02:00
Mike Black W9MDB 8a78069975 Make write_block fail when device is not open
https://github.com/Hamlib/Hamlib/issues/912
2021-12-30 06:59:26 -06:00
Mike Black W9MDB e223cf8ac9 Remove debug statements from iofunc.c 2021-12-28 23:02:03 -06:00
Mike Black W9MDB c8cf296711 https://github.com/Hamlib/Hamlib/issues/907 2021-12-28 18:14:35 -06:00
Mike Black W9MDB 0974680022 Fix compiler error from async code 2021-12-27 08:33:53 -06:00
Mike Black W9MDB 2fe9117639 Disable async processing and move async definitions out of hamlib_port_t
This broke backwards compatibility with DLL/shared libraries
2021-12-26 22:24:09 -06:00