Mike Black W9MDB
534fe449a2
Fix more cppcheck items
2023-10-13 17:36:29 -05:00
Mike Black W9MDB
eb97c7c107
Change anytone.c to use bluetooth protocol
...
Update some things to keep debug quiet during thread operations in anytone.c
2023-06-04 15:56:01 -05:00
Mike Black W9MDB
2c8f8a9c29
Added rig_set_debug_filename due to Python not being able to pass a FILE*
...
https://github.com/Hamlib/Hamlib/issues/1307
2023-05-31 07:04:20 -05:00
Daniele Forsi IU5HKX
6de5aa7838
Fix Doxygen unmatched directives \cond and \endcond
2023-03-19 18:42:24 +01:00
Daniele Forsi IU5HKX
b93551712f
Remove unused includes of fcntl.h
2022-12-09 14:06:59 +01:00
Daniele Forsi IU5HKX
f7fe2912ec
Remove unused includes of errno.h
2022-12-09 12:32:54 +01: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
Daniele Forsi IU5HKX
4dfe46edbb
Remove unused includes related to times and dates
...
Removes includes of time.h sys/time.h hamlibdatetime.h
2022-07-23 18:12:10 +02:00
Mike Black W9MDB
bceac4b401
Remove debug statements
...
https://github.com/Hamlib/Hamlib/issues/1087
2022-07-18 08:01:51 -05:00
Mike Black W9MDB
6d329131af
Fix rigctld
...
https://github.com/Hamlib/Hamlib/issues/1087
2022-07-17 23:39:14 -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
82dd8da9cd
Change sprintf to SNPRINTF in debug.c
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-18 15:09:54 -06:00
Mike Black W9MDB
2c7394f638
Fix msys compilation with new pipe calls
...
Windows pipe will likely not work and needs to be replaced with overlapped I/O
2021-12-20 12:42:31 -06:00
Mike Black W9MDB
674a9868d9
Implement ISO8601 time standard in more places.
...
Debug time now shows localtime + utc offset
Rigs that can set the clock now can set either local or utc time on the rig
Icom rigs can only display clock#1 right now so users may want either local or utc
So here are IC7300 examples
rigctl -m 3073 -r com3 -s 115200 set_clock local
rigctl -m 3073 -r com3 -s 115200 set_clock utc
2021-12-06 10:23:18 -06:00
Mike Black W9MDB
bcfd59f3af
Move date_strget to misc.c
2021-05-21 12:33:42 -05:00
Nate Bargmann
a6f2180874
Update Doxygen comments.
2021-05-19 16:50:51 -05:00
Michael Black W9MDB
5639d49e48
Fix -Z time display
...
https://github.com/Hamlib/Hamlib/issues/360
2020-08-31 23:03:58 -05:00
Michael Black W9MDB
298a1be19a
Merge branch 'master' of https://github.com/Hamlib/Hamlib
2020-07-24 08:52:29 -05:00
Michael Black W9MDB
0ed89a77c8
Remove time() from date_strget as monotonicity was broken using this
2020-07-24 08:52:21 -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
f1f0d7f129
Fix some of the documentation
2020-04-09 17:56:19 -05:00
Michael Black
46cb356f11
Fix numerous gcc v10 warnings
2020-04-04 22:49:27 -05:00
Michael Black
ff8ddf018c
astyle all C files
2020-02-23 11:26:09 -06:00
Michael Black
f143d8abd9
Fix cppcheck warnings
2020-01-23 17:20:41 -06:00
Michael Black
5903cda8c6
Fix DLL warning on debug.c
2020-01-22 17:04:25 -06:00
Michael Black
a4d0d692e7
export dump_hex for DLL linkage
...
(cherry picked from commit 3631bb2bc8
)
2020-01-20 18:09:43 -06:00
Michael Black
e91df87a8f
Fix hex_dump..was printing negative values
2019-12-12 10:14:42 -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
531782d339
Fix cppcheck warnings in debug.c
2019-12-08 16:30:33 -06:00
Michael Black
6bf3b00c4f
astyle all files
2019-11-30 10:19:08 -06:00
Michael Black
2f4d62709e
Added a dummy snprintf to rig_debug to allow gcc to check format strings
...
This found tons of errors in rig_debug statements
So this patch cleans up all the files that were producing warnings or errors
This should fix a few segfaults when running with debug turned on
2019-11-30 10:04:31 -06:00
Michael Black
8dae7db02c
astyle debug.c
2019-05-22 08:52:50 -05:00
Michael Black
ba712ce904
Fix compiler warning in debug.c
2019-05-22 08:52:14 -05:00
Michael Black W9MDB
b6d4b29091
Reverse bad change for Android
2018-04-15 15:59:50 -05:00
Michael Black W9MDB
6c369109e6
Add debug time stamps via -Z and --debug-time-stamps
2018-04-15 15:06:52 -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
Michael Black
e780f2dc66
Flush the debug stream
...
Testing under JTSDK MSYS environment debug info was not being seen while
running rigctl -vvvv
Adding a flush to the debug stream fixes it.
Mike W9MDB
2015-05-07 17:13:44 -05:00
Ladislav Vaiz
6d4295af2c
Add Android build support
...
Android makefile fragments are distributed as extra distribution files
by the GNU build system but are otherwise ignored. The Android build
support is independent and does not rely on the GNU build system.
See android/README.android for more info.
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-04-26 22:31:56 -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
Nirgal Vourgère
b0f9f805bb
Correct dump_hex output
...
Changed dump_hex so that there is only one call to rig_debug()
per line.
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2011-06-19 19:37:25 -05:00
Stéphane Fillod, F8CFE
880ed4f89d
fix corner case in dump_hex(), where \n was sometime missing
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2929 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-29 14:18:48 +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
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
31c58d33a6
added rig_set_debug_callback example in documentation
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2063 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-01-16 21:00:25 +00:00
Stéphane Fillod, F8CFE
0945682dd1
moved debug primitives from misc.c to proprer debug.c
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2000 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-09 09:49:13 +00:00