Mike Black W9MDB
3b5f7a6dcf
Add and fix some cppcheck suppress items
...
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-03 17:11:09 -05:00
Daniele Forsi IU5HKX
b93551712f
Remove unused includes of fcntl.h
2022-12-09 14:06:59 +01:00
Mike Black W9MDB
1aebee2da9
Fix clang warning on callback functions
...
https://github.com/Hamlib/Hamlib/issues/1149
2022-11-14 16:37:20 -06:00
Mike Black W9MDB
a83eb3bf42
astyle files for 4.5 release
2022-07-27 17:16:17 -05:00
Mike Black W9MDB
627ec83652
Change malloc to calloc
2022-07-27 10:26:08 -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
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
618cf90145
Ensure map_arg is zeroized in mem.c
2021-11-28 16:44:16 -06:00
Michael Black W9MDB
3d613519d5
Rename macros to avoid collisions with other software
2021-03-06 12:37:53 -06:00
Michael Black W9MDB
ee60a68bec
astyle files
2021-02-28 09:46:01 -06:00
Michael Black W9MDB
b835c47b23
Fix compilation warnings in mem.c
2021-02-26 11:06:37 -06:00
Stephane Fillod
64e88e2461
typo
2021-02-17 18:36:21 +01:00
Michael Black W9MDB
5fc36df249
astyle files
2020-11-30 14:53:55 -06:00
Michael Black W9MDB
c70d841b83
Add NOCHANGE_PASSBAND to icom...cascading effect on adding vfo elsewhere...which is needed anyways
...
https://github.com/Hamlib/Hamlib/issues/448
2020-11-29 23:32:14 -06:00
Michael Black W9MDB
5721db70be
Added two more targetable flags for MEM and BANK to avoid VFO swapping
...
https://github.com/Hamlib/Hamlib/issues/430
https://github.com/Hamlib/Hamlib/issues/414
2020-11-01 07:48:52 -06:00
Mikael Nousiainen
c3ca7ef3a6
Propagate variable read_only value to rig implementation of get_channel
2020-09-09 18:12:17 +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 W9MDB
6f8100ffc0
Fix cppcheck warnings
2020-07-08 11:48:48 -05:00
mdblack98
5eb5b6f3d8
https://github.com/Hamlib/Hamlib/issues/227
...
Added read_only flag everywhere
2020-04-26 14:37:03 -05:00
Michael Black
f1f0d7f129
Fix some of the documentation
2020-04-09 17:56:19 -05:00
Michael Black
82f47afed0
clean up compiler warning
2020-03-08 08:42:11 -05:00
Michael Black W9MDB
4b4eeae35c
Fix clang warning on unitialized var in mem.c
2020-03-03 22:15:12 -06:00
Michael Black
ff8ddf018c
astyle all C files
2020-02-23 11:26:09 -06:00
Michael Black
e315f5e3ac
Added skeleton for new get_ant function that will return ant_tx and ant_rx if known
...
Every rig will need to be reviewed to fill these in as appropriate
2020-02-18 23:10:14 -06:00
Michael Black
7e8938ae65
Changed y command to now use mandatory antenna argument
...
Put a looplimit on icom_get_ant_count trying to get autodetect to work
Changes to icom_get_ant_count to try and get this working
Added dummy antenna # args to rigs that don't care i.e. only have 1 antenna
2020-02-02 08:38:10 -06:00
Michael Black
d853c36fb3
Change get_ant to add another option for icom rigs (and others if needed)
2020-01-21 17:53:12 -06:00
Michael Black
702535c218
Restore rig_mem_count used by rig.swg
2020-01-18 14:05:28 -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
7020aba16d
Fix cppcheck warnings in mem.c
2019-12-08 17:04:08 -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
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
Kamal Mostafa
3466512dbd
Fix spelling errors
2012-08-21 19:54:50 -07: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
Stephane Fillod
cd5950c2ac
Emulate get/set channel through vfo_op (FROM/TO_VFO)
2011-06-01 09:19:55 +02:00
Stéphane Fillod, F8CFE
462ebd1df4
Copyright date update
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2851 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-07 14:00:34 +00:00
Stéphane Fillod, F8CFE
3aeba72501
copyright year
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2647 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-20 12:26:13 +00:00
Stéphane Fillod, F8CFE
946a153560
in generic save/restore chan, only process decalred properties from mem_caps
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2363 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-23 14:19:50 +00:00
Stéphane Fillod, F8CFE
6e4ed42cca
allow rig_lookup_mem_caps() to retrieve a union of all the mem_caps sets
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2336 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-01 12:32:43 +00:00
Stéphane Fillod, F8CFE
020dbd17b5
added rig_lookup_mem_caps() and rig_mem_count()
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2331 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-27 09:51:24 +00:00
Stéphane Fillod, F8CFE
222d72e1ad
malloc/realloc success check
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2318 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-11 14:43:09 +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
Martin Ewing, AA6E
587703d4c0
minor - doxygen parameters
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2139 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-12 18:56:48 +00:00
Alexandru Csete OZ9AEC
63f2b1a73a
Cast from const to variable in order to avoid compiler warnings.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2119 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 13:26:06 +00:00
Stéphane Fillod, F8CFE
1059d1be9e
win32 fixes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2084 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-02-26 23:28:13 +00:00
Stéphane Fillod, F8CFE
2f375edc3d
flesh out rig_[sg]et_mem_all{,_cb} functions, still some work needed on it though
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2062 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-01-15 14:25:25 +00:00
Stéphane Fillod, F8CFE
579823eb53
extend API to support save/load memory at once
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2025 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-20 14:44:04 +00:00
Stéphane Fillod, F8CFE
8c5dc8e225
fix targetable all
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1984 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-03 22:33:08 +00:00