Commit Graph

25 Commits

Author SHA1 Message Date
Michael Black
e3cfdbd453 Fix cppcheck warnings in memcsv.c 2020-03-24 10:00:46 -05:00
Michael Black
8eb09c2a38 More cppcheck fixes 2020-03-23 07:52:01 -05:00
Davide Gerhard
38d76f33bf
tests/{memcsv.c,memsave.c}: partially revert commit 4072f9f4
this partially revert the commit 4072f9f4
because it introduced duplication of channel_desc
2020-01-21 10:52:48 +01:00
Michael Black
4072f9f4a5
Fix ic746pro_get_channel and buffer overflow
Add channel_desc to dump_csv and dump_xml
2020-01-18 08:53:18 -06:00
Michael Black
fb73e5abd7
Fix some cppcheck warnings
Fix declarations after statements
Remove some !rig checks...we either don't need them or need them everywhere with a new error code
If you pass a NULL rig you get what you deserve :-)
2019-12-09 17:12:13 -06:00
Michael Black
6bf3b00c4f
astyle all files 2019-11-30 10:19:08 -06:00
Michael Black
73c1ecd165
Change freq & chan struct start/end to avoid colliding with LUA SWIG start/end 2019-08-17 23:20:48 -05:00
Michael Black
7123bb4403 Change rmode_t to uint64_t and remove unneeded casts 2018-12-22 23:56:30 -05:00
Michael Black
160c8f015d Fixup for 64-bit in memcsv.c 2018-12-21 17:19:22 -05:00
Michael Black
422b266b9b Change RIG_MODE and RIG_FUNC to 64-bit values 2018-12-21 12:39:20 -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
Michael Black
95a99fa37d Quell clang warnings in tests directory
Remove unnecessary parentheses in memcsv.c.

Fix cfp->u.c.combostr as old check was always true since it's statically
allocated.

RRR
Mike W9MDB
2016-02-09 11:12:28 -06:00
Stephane Fillod
8b26904aa5 Quell cppcheck warnings 2012-01-29 23:37:59 +01:00
Dariusz Bismor, SQ9KEJ
90f44c2b73 rigmem: implement CSV file loading
Patch SF#3406922 from Dariusz, SQ9KEJ, allowing for loading csv
(comma-separated values) files with rigmem.

Signed-off-by: Stephane Fillod <fillods@users.sf.net>
2011-09-11 15:25:36 +02:00
Nate Bargmann
96b1460e24 Remove set but unused variable errors in tests. 2011-08-26 15:07:40 -05: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
1fe29dce61 make use of save memory at once API, and make CSV separator a parameter
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2026 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-20 14:47:04 +00:00
Stéphane Fillod, F8CFE
d4d86f0d05 continue over empty channels
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2017 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-15 21:14:10 +00:00
Stéphane Fillod, F8CFE
23369a0c25 * abstract 64bit int format type to cope with portability issues.
introduce PRIll (printf format) and SCNll (scanf) in misc.h.
  This needs to have config.h included beforehand.
* do likewise with freq_t type (double) in rig.h
  FREQFMT is deprecated.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1903 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-01-24 23:04:35 +00:00
Thierry Leconte, F4DWV
a5849641bb use RIG_ENAVAIL as return code for empty channels in get_channel
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1893 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-12-27 12:53:02 +00:00
Stéphane Fillod, F8CFE
66360b4f14 Prefixed misc str* and parse_* calls with rig_ to export them in rig.h
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1738 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-05-17 21:09:45 +00:00
Stéphane Fillod, F8CFE
64d539acd9 be freq_t and setting_t type agnostic
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1641 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-01-15 22:43:59 +00:00
Stéphane Fillod, F8CFE
02e5735c72 gcc-2.x fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1630 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-12-08 08:46:11 +00:00
Stéphane Fillod, F8CFE
1c21ccee24 Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1621 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-12-04 23:15:02 +00:00