Wykres commitów

55 Commity (master)

Autor SHA1 Wiadomość Data
Mike Black W9MDB dc38d19449 Slow freq events to 4 per second 2024-03-03 12:23:33 -06:00
Mike Black W9MDB bb9b1f1783 Fix some printf problems for mingw64 2024-03-01 15:41:47 -06:00
George Baltz N3GB bf8bf51bf4 Convert some cache references to pointers
Affects issue #1420
2024-02-05 11:28:30 -05:00
Mike Black W9MDB 48b6b4910c Allow compilation for systems without pthreads
https://github.com/Hamlib/Hamlib/issues/1373
2023-12-18 11:56:41 -06:00
Mike Black W9MDB e267c62764 astyle files 2023-12-16 11:37:58 -06:00
Mikael Nousiainen 3a08bbe3d8 Detect also VFO changes in poll routine and allow detection of multiple changes at once. Remove old unused code. 2023-11-09 09:53:48 +02:00
Mikael Nousiainen 43d1fbb323 Add more detailed rig communication status to rig_state and multicast state data packets. Handle SIGINT and SIGTERM in a consistent way in both rigctl and rigctld. 2023-11-06 00:42:02 +02:00
Mikael Nousiainen 41c891251f Fix multicast receiver shutdown by using non-blocking sockets and select(). Use the same port number 4532 for both state snapshots and commands -- it is enough to have different multicast groups for them. Publish multicast state snapshots more often (change detection interval now set to 50ms), but at least at interval defined by poll_interval. 2023-11-03 17:18:49 +02:00
Mikael Nousiainen c8c8869a3c Refactor multicast publisher and rig poll routine. Create skeleton for multicast command server. 2023-11-01 00:26:37 +02:00
Mike Black W9MDB d72127f29a Fix cppcheck warnings 2023-10-11 23:22:42 -05:00
Mike Black W9MDB 9c246ed3fb Disable use_cached_freq/mode for Icom rigs -- we can't tell which VFO we're on
https://github.com/Hamlib/Hamlib/issues/1221
2023-07-23 09:19:25 -05:00
Mike Black W9MDB 7da1a1f6a1 Allow cached freq and mode to be used when rig is in transceive mode
https://github.com/Hamlib/Hamlib/issues/1108
2022-09-05 15:29:53 -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
Mikael Nousiainen c764336e73 Fix build warnings caused by changes to I/O function signatures 2021-12-18 23:49:45 +02:00
Mikael Nousiainen c20f397c24 Refactor WIN32 I/O port routines to be hopefully compatible with async data reader (not tested). Fix some incomplete data fields in UDP snapshot packets. 2021-11-30 09:25:51 +02:00
Mikael Nousiainen d857f18163 Initial implementation of: reader thread for async handling of rig data, UDP multicast publisher routine and rig state poll thread routine. The reader thread can correctly handle asynchronous data, such as transceive or spectrum data. Work in progress: multi-platform code for I/O routines still missing and the poll routine is not yet in use. Tested briefly on an IC-7300 so far. 2021-11-28 20:52:29 +02:00
Mike Black W9MDB 283281c4cb astyle all files preparing for 4.3 release 2021-08-26 06:49:24 -05:00
Mikael Nousiainen 3a67356bc1 Add some comments and improved debugging on SIGIO async data handling 2021-05-31 16:22:22 +03:00
Mikael Nousiainen b4ba22d369 Implemented initial abstraction for spectrum scope data and support for Icom spectrum data output. The abstraction is based on common features of both Icom and Kenwood rigs. Added TRANSCEIVE func and enumeration of supported AGC levels. Work in progress. 2021-05-26 23:40:53 +03: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 297bf9aa6b
Fix cppcheck warnings 2020-01-14 23:36:01 -06:00
Michael Black 67c3b56ccd
Fix cppcheck warnings in event.c 2019-12-08 16:32:13 -06:00
Nate Bargmann ab3e6bb5a5 Formatted src/ to final coding guidelines 2017-10-04 21:32:08 -05:00
Nate Bargmann f76b354588 Reformatted src directory 2017-08-09 06:14:31 -05:00
Nate Bargmann ea47d89f3f configure.ac: Quell autoconf obsolete warnings
Using the -Wall switch to autoconf/autoreconf revealed a number of
obsolete macros.  At the moment, offending macros have been commented
out using 'dnl'.  They will be removed at some later date.
2012-09-25 22:29:30 -05:00
Nate Bargmann dad27d1f69 Update LGPL header in src source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:37 -05:00
Stéphane Fillod, F8CFE b818045a0a - better portability check with HAVE_SIGACTION
- fix segfault when doing rig_set_trn(POLL->OFF->POLL)
- implement remove_trn_rig()/remove_trn_poll_rig() for rig_set_trn(TRN_OFF)


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2956 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-21 11:37:58 +00:00
Stéphane Fillod, F8CFE a539c8fe0c - Better state transitions in rig_set_trn()
- (weakly) prevent recursion in search_rig_and_poll()


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2953 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-20 21:56:45 +00:00
Stéphane Fillod, F8CFE 3f7d602f56 copyright clarification
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2709 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-06-23 20:30:22 +00:00
Martin Ewing, AA6E f6ddc3edad documentation
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2145 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-15 00:27:52 +00:00
Stéphane Fillod, F8CFE f23efe3a7c prepare work for Win32 systems which have 2 possible ABI: _stdcall and _cdecl
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1858 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-10-02 10:32:09 +00:00
Stéphane Fillod, F8CFE d003253de2 various hacks to make win32_serial_select to work (notify read)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1563 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-10-17 22:53:54 +00:00
Stéphane Fillod, F8CFE dadc34efef Patches for pipelined tuning and OS535 from Michael Smith
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1533 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-09-07 18:30:28 +00:00
Stéphane Fillod, F8CFE bc8b5a3fe4 mingw/cygwin fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1513 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-20 07:22:40 +00:00
Stéphane Fillod, F8CFE 343deb6f59 Support for pipelined tuning, including DCD on CD line.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1510 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-17 22:39:07 +00:00
Stéphane Fillod, F8CFE b47cf01e33 termios replacement for win32 support
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1506 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-15 01:25:26 +00:00
Stéphane Fillod, F8CFE a22c42b701 NetBSD HAVE_SIGINFO_T but no SA_SIGINFO
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1477 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-06-21 11:10:52 +00:00
Stéphane Fillod, F8CFE f8135d52df Implemented emulation of rig transceive mode using polling (based on SIGALRM),
moved all transceive and event related functions from rig.c to event.c.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1468 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-05-03 13:17:25 +00:00
Stéphane Fillod, F8CFE f9c5661564 * portability fixes
* On some arch (win32), backends cannot use exported global variables as initializers


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1443 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-16 22:33:18 +00:00
Stéphane Fillod, F8CFE ee79d87399 allow build on solaris
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1420 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-02 07:24:28 +00:00
Stéphane Fillod, F8CFE f86968030a fix typo
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1194 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-09-29 20:18:34 +00:00
Stéphane Fillod, F8CFE 3e02fc1937 bug fix with non file oriented rigs
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1193 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-09-29 19:40:56 +00:00
Stéphane Fillod, F8CFE bcdd5ad08c BSD port fix, by ke4rjq
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1164 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-09-08 22:30:09 +00:00
Stéphane Fillod, F8CFE 95c6c458dc static/dynamic build fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@745 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:14:47 +00:00
Stéphane Fillod, F8CFE 1c82c36aa6 added signal/siginfo detection
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@639 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-08-22 21:10:17 +00:00
Stéphane Fillod, F8CFE 1f01081335 converted to LGPL
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@582 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-13 19:08:15 +00:00
Stéphane Fillod, F8CFE 27436c6283 misc fix
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@559 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-17 21:54:31 +00:00
Stéphane Fillod, F8CFE c74995b05f further win32 porting
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@556 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-15 07:08:37 +00:00
Stéphane Fillod, F8CFE 9c32855611 more portability stuff
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@541 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-11 00:41:28 +00:00