Wykres commitów

30 Commity (master)

Autor SHA1 Wiadomość Data
George Baltz N3GB 07f8023d17 Convert tests/* to pointers 2024-03-01 12:27:26 -05:00
Mike Black W9MDB d72127f29a Fix cppcheck warnings 2023-10-11 23:22:42 -05: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 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
Michael Black W9MDB c2cab54650 Change all FILPATHLEN names to HAMLIB_FILPATHLEN 2021-03-09 10:16:18 -06:00
Michael Black W9MDB 82126a4f09 Phase 1 of changing sprintflst functions to use buffer length
https://github.com/Hamlib/Hamlib/issues/580
2021-03-03 08:03:18 -06:00
Michael Black W9MDB eb8082b1f8 Fix rig_get_channel API change in dumpmem.c
https://github.com/Hamlib/Hamlib/issues/430
2020-12-02 07:10:12 -06:00
Michael Black W9MDB f9da2d0b82 Remove RIG_LEVEL_BRIGHT from dumpmem.c 2020-09-11 08:04:43 -05:00
Michael Black W9MDB 24fb47cbe0 Added IC-705
Added RIG_LEVEL_BRIGHT -- IC705 has this level
Fixed range printout
https://github.com/Hamlib/Hamlib/issues/364
2020-09-06 12:28:35 -05:00
mdblack98 ec180bdda8 Fix rig_get_channel in dumpmem.c 2020-05-01 16:26:05 -05:00
Michael Black 8eb09c2a38 More cppcheck fixes 2020-03-23 07:52:01 -05:00
Michael Black 646900862b
Fix cppcheck warnings in dumpmem.c 2019-12-08 23:42:47 -06:00
Michael Black 6bf3b00c4f
astyle all files 2019-11-30 10:19:08 -06:00
Michael Black 63fc56e9c8
Fix dumpmem.c channel structure 2019-08-23 08:16:51 -05:00
Nate Bargmann b692fb22ef Formatted tests/ to final coding guidelines 2017-10-06 18:58:42 -05:00
Nate Bargmann d489b8bcb5 Apply formatting to 'tests/' directory
Format per style guide.
2017-08-10 05:46:12 -05:00
Nate Bargmann 6ea09a138a Clean up build system, fix test programs
Clean up various left over commented lines from dlopen to single
libhamlib transition.  Remove unneeded configure variables.

Correct minor inconsistencies in Makefile.am files.

Define a new variable, READLINE_LIBS, so that only programs that offer
Readline support are linked against it.

Fix various compilation warnings and errors in test files revealed with
'make check' on MinGW.

Define rig and rotor backends to (mostly) be built in alphabetical
order.
2013-12-10 20:14:22 -06:00
Nate Bargmann 1229a0a42a Assure NULL terminated strings in tests programs.
Various strncpy operations could result in a port pathname that is not a
NULL terminated string as the allowed string length is the same size as
the buffer per the strncpy manual page.  This is corrected by assuring
that the allowed length is FILPATHLEN - 1.
2012-01-07 20:36:50 -06:00
Nate Bargmann 0882cd696d Update GPL/LGPL header in tests source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:37 -05:00
Stéphane Fillod, F8CFE d5d2736642 make use of factorized rig_strmtype/rig_strptrshift
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2333 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-27 09:56:06 +00:00
Nate Bargmann, N0NB c85dcd5105 20060718:
Update:
		Committing patches received from AD7AI for several Icom
		models including IC-746, IC-756, and IC-7800.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2111 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-07-18 22:51:43 +00:00
Stéphane Fillod, F8CFE 11baf8ecfb fixed support for new vfo param in get_channel
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1119 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-10 21:34:53 +00:00
Stéphane Fillod, F8CFE 1a69673402 renamed freq_sprintf to sprintf_freq
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@935 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 23:55:45 +00:00
Stéphane Fillod, F8CFE ba1fac643c minor cleanups
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@657 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-09-20 21:21:14 +00:00
Stéphane Fillod, F8CFE bdfe0b969a 'path' field renamed in port_t
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@608 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-25 21:59:55 +00:00
Stéphane Fillod, F8CFE c9dc785aaa renamed xet_ctcss to xet_ctcss_tone and xet_dcs to xet_dcs_code to make it less ambiguous in regards to the squelch functions
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@576 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-01 11:46:17 +00:00
Stéphane Fillod, F8CFE c1cb77c643 new automatic backend loading and sparse rig_model scheme
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@529 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-04 21:17:53 +00:00
Stéphane Fillod, F8CFE da19dd9a47 new port_t design
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@523 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-04 17:01:21 +00:00
Stéphane Fillod, F8CFE e0800d3fbf * Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@482 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-05-04 22:47:35 +00:00