Mike Black W9MDB
b17d681fc2
More portable debug method -- should work on any compiler
2021-11-08 10:28:28 -06:00
Mike Black W9MDB
5eb169edc1
Add new method for debugging calling functions -- need to test with multiple compilers to see if it compiles OK
2021-11-08 10:19:12 -06:00
Mike Black W9MDB
cc886b46f5
Make parse_hoststr delcaration match implementation
2021-09-11 11:13:23 -05:00
Mike Black W9MDB
4bfd71f91f
Fix Icom split and implement reverse split
...
These should work now from rigctl and via the API
S VFOB 1 VFOA
S Sub 1 Main
https://github.com/Hamlib/Hamlib/issues/754
2021-08-02 23:37:31 -05:00
Mike Black W9MDB
bcfd59f3af
Move date_strget to misc.c
2021-05-21 12:33:42 -05:00
Mike Black W9MDB
b74bf05541
astyle misc.c and add CRC function for future use
2021-04-17 22:47:14 -05:00
Michael Black W9MDB
1ba72fa725
Improve caching
...
https://github.com/Hamlib/Hamlib/issues/280
https://github.com/Hamlib/Hamlib/issues/606
2021-03-15 11:16:11 -05:00
Michael Black W9MDB
7b58661d12
Fix RETURNFUNC -- when RETURNFUNC(function) was used is was calling the function multiple times
...
https://github.com/Hamlib/Hamlib/issues/595
2021-03-10 08:24:33 -06:00
Michael Black W9MDB
2fa65f11fd
Fix rc return in RETURNFUNC to parenthesize it
2021-03-08 09:56:59 -06:00
Michael Black W9MDB
c3a1b489b7
Add return code to debug statements
...
Remove some RETURNFUNC that don't work with this change
2021-03-05 11:51:56 -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
252f939105
Add do while for RETURNFUNC -- helps catch syntax errors
2021-02-25 06:35:56 -06:00
Michael Black W9MDB
4c68bc25af
Improve formatting of RETURNFUNC macro
...
003bc93dd0 (commitcomment-47545928)
2021-02-25 06:02:06 -06:00
Michael Black W9MDB
ad9d464822
Remove MainC from caching due to effect on rig_caps structure offsets
...
https://github.com/Hamlib/Hamlib/issues/537
2021-02-08 12:54:33 -06:00
Michael Black W9MDB
03924db38c
Modify __FILE__ to use __FILENAME__ macro to avoid full path in misc.c
2021-01-28 10:25:05 -06:00
Michael Black W9MDB
dd0765309e
Added CACHE_RESET macro
...
newcat_set_cmd_validate now queries VFO freq instead of using cache
2021-01-19 07:17:07 -06:00
Michael Black W9MDB
ce96f42483
Fix RETURNFUNC in misc.h
2021-01-17 17:16:50 -06:00
Michael Black W9MDB
c5c60f0f43
First phase of improving debug messages
2021-01-17 07:25:28 -06:00
Mikael Nousiainen
7cbe39d5ab
Add routines to convert between morse code dot duration and milliseconds. Implement Yaesu break-in delay level correctly using these conversion routines.
2020-11-07 15:03:54 +02:00
Michael Black W9MDB
0fef98fc43
remove some cppcheck statements not needed anymore
2020-10-29 12:52:54 -05: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
e092a4a0a4
rigctld -T ::1 now works with rigctl -r ::1
...
More IPV6 testing needed on Windows and MacOS
Still not binding to link local addresses to be addressed next
https://github.com/Hamlib/Hamlib/issues/29
2020-06-21 17:47:04 -05:00
Michael Black W9MDB
815db24852
Fix MSVC compile by removing unistd.h and defining our own rig_useconds_t
...
https://github.com/Hamlib/Hamlib/issues/301
2020-06-13 17:40:47 -05:00
Michael Black W9MDB
1317bb8034
Fix vfo_fixup link error
...
Make vfo_fixup a HAMLIB function so it can be used elsewhere
https://github.com/Hamlib/Hamlib/issues/299
2020-06-12 08:28:05 -05:00
Michael Black W9MDB
d540def11b
Change return type of elapsed_ms
2020-05-16 21:33:14 +02:00
mdblack98
3794bc5a0a
Fix cppcheck warnings
2020-05-05 09:38:36 -05:00
mdblack98
eb7829bd06
Add caching for the Yaesu IF command
...
It should speed up the WSJT-X/JTDX sequence of v,f,m,t by a fair bit removing two unnecessary IF commands that should get cached
2020-04-26 15:44:38 -05:00
Michael Black
b7e8f01701
Fix mingw32 DLL linkage of hl_sleep
2020-01-10 15:58:16 -06:00
Michael Black
772b1ba2c1
Fix rig_idx2settings for 64-bit sprintf_list functions
2018-12-31 15:39:49 -06:00
Michael Black
64b35ccbee
Add PRXll macro for 64-bit use
2018-12-21 16:46: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
Bill Somerville
aebe52a45e
Add a new command line option '--no-restore-ai' ('-n') to rigctl
...
As Hamlib now restores the rig auto information state (AI) on exit
there is now a need to disable that functionality so that rigctl can
be used to set/reset AI mode on the rig explicitly.
A new public API function 'rig_no_restore_ai()' is also added that
allows any client to disable this auto AI restore functionality if
required. Most clients should do nothing as restoring AI state is a
good thing.
2015-12-04 00:22:01 +00: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
7c91105efd
added helper functions for cache timeout management
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2858 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-28 16:33:03 +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
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
916a21ad52
moved some sprintf's out of library into dumpcap application.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1594 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-16 17:34:00 +00:00
Stéphane Fillod, F8CFE
ee248adb53
fixed a bug with even numbers of digits in BCD conversion
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1207 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-10-07 21:57:17 +00:00
Stéphane Fillod, F8CFE
27f6be0fd0
WARNING: renamed strmode to strrmode because the symbol is already in use on BSD systems
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1139 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-08-26 21:26:06 +00:00
Stéphane Fillod, F8CFE
ef95000c65
misc fix for C++
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1095 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-06 09:26:59 +00:00
Stéphane Fillod, F8CFE
9217752595
added more str and sprintf funcs, renamed freq_sprintf to sprintf_freq
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@928 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 23:47:41 +00:00
Stéphane Fillod, F8CFE
c61ba8604b
added new strvfop/strscan and parse functions from rigctl
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@891 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-22 00:50:32 +00:00
Stéphane Fillod, F8CFE
8e4ef3c614
misc adjunction
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@782 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-20 07:48:38 +00:00
Stéphane Fillod, F8CFE
0fa8de4664
static/dynamic build fixes and added str functions
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@749 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:24: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
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
9b44155fb1
* more win32 portability stuff
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@546 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-12 23:59:21 +00:00
Stéphane Fillod, F8CFE
2fa640d629
* added freq_sprintf helper
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@457 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-04-24 19:52:28 +00:00
Frank Singleton, VK3FCS
92c0043aad
removed unused calc_ functions.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@301 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-12-22 01:16:17 +00:00