Wykres commitów

29 Commity (00d578074ec65db1747ad5f0443b5268f548b12b)

Autor SHA1 Wiadomość Data
Michael Black ba7d3645fc
Fix cppcheck warning in adat.c 2019-12-18 17:19:55 -06:00
Michael Black 444fcfa575 Replace XOPEN with AC_USE_SYSTEM_EXTENSIONS 2019-12-10 15:54:12 -06:00
Michael Black 3220c37ff2
Change XOPEN to 600 2019-12-10 14:50:24 -06:00
Michael Black 3a3d66d52d Now compiles with -std=c99 and no c99 warnings 2019-12-09 22:45:37 -06:00
Michael Black 2b4400b2be
Block the correct function in adat.c 2019-12-06 15:17:34 -06:00
Michael Black 3be393c015
Remove two unused functions from adat.c and adat.h 2019-12-06 14:52:09 -06:00
Michael Black 19467b7780
Fix cppcheck for adat.c 2019-12-06 14:48:16 -06:00
Michael Black dc3f33bc11
Change %z to %d with casts for portability 2019-11-30 13:05:21 -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
Nate Bargmann c16a7d6f5f Formatted adat/ to final coding guidelines 2017-10-07 07:51:30 -05:00
Nate Bargmann 7056aa7f69 Format the 'adat/' directory.
Apply formatting to Adat.
2017-08-10 20:41:48 -05:00
Bill Somerville 222ad74de7 Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument
This change  allows the set_mode  functions to leave the  rig passband
unchanged  if required.  For the  few rigs  that do  not have  explcit
passband width control either current state is read and rewritten or a
"normal" width  is chosen e.g. select  a normal width when  there is a
choice like CW and CW-NARROW.
2016-04-19 21:27:52 +01:00
Nate Bargmann dbf25c5139 Touch up adat.c with astyle
Prior reformat had only been a reindent with Emacs.  Now use astyle.
2016-02-14 18:08:05 -06:00
Nate Bargmann c0a77e72a6 Reformat adat.c to Linux C Style. 2016-02-13 13:48:37 -06:00
Nate Bargmann dcaa1c7660 Quell clang warning from adat.c
Comment out the conditional:

                    if( pCmd->pacCmdStrs != NULL )

as the structure does not have a terminating NULL, this expression will
never evaluate to false.  Should the structure assigned be modified to
have a NULL as the last element, then uncomment these lines to restore
the test.
2016-02-13 13:45:07 -06:00
Michael Black 8902ab0689 Clean up clang warnings on adat.c
Really simple stuff to remove extraneous parenthese

RRR
Mike W9MDB
2016-02-05 18:27:30 -06:00
Nate Bargmann c39b51327b Revise test for MinGW with sleep()
Revise the preprocessor conditional test for MinGW variables.  Tested on
all of my MinGW installations.  The prior test was broken by MinGW 3.0
on Debian Unstable.
2013-09-19 21:59:42 -05:00
Ladislav Vaiz f632695131 Android build updates for monolithic build
Android is now built as a static library.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-09-19 07:25:08 -05:00
Nate Bargmann 332a04b7cd Clean up backend Makefile.am files
Moved all backend *.h files into the SOURCES primary as Automake
documentation states all source file types should be listed.  This
causes Automake to include *.h files in rebuild rules for the targets.

Removed the '-DIN_HAMLIB' assignment from the CFLAGS primary in each
backend and assigned it to AM_CPPFLAGS in configure.ac.  The effect is
the same and it simplifies the backend Makefile.am files.

Removed all commented lines.
2013-09-16 21:51:39 -05:00
Remi Chateauneu 60019c9444 Monolitic libraries. 2013-09-08 14:56:28 +01:00
Nate Bargmann 1fd85febee MinGW build: Fix sleep() substitution
MinGW does not natively support the POSIX sleep() function so we have
had an override that was a part of the GR_PWIN32 macro and included in
the generated config.h file.  When compiling for Windows on POSIX using
MinGW, Autotools will detect sleep() and set HAVE_SLEEP which prevented
the substitution from being included in the source.  Adding a test for
_WIN32 (set by MinGW's gcc) then caused a warning from src/network.c on
POSIX about winsock2.h needing to be included before windows.h.  As
config.h needed to be included first, the solution to break out the
substitution that includes windows.h into its own file.  This patch
provides that solution and allows the code to compile cleanly on POSIX,
using MinGW on both POSIX and Windows, and on Cygwin.
2013-07-29 12:38:22 -05:00
Nate Bargmann 245ab86441 Quell compiler warnings on Cygwin
Quell mostly harmless warnings from the older GCC installed in Cygwin.
Produces a quiet compilation.
2013-05-09 22:06:39 -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
Frank Goenninger 35c04bf033 ADAT fixes on Windows
"I have been testing again based on RC4 - and still found some issues on
Windows."

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-10-30 20:01:36 -05:00
Frank Goenninger 06671cd6af adat updates from Frank, DG1SBG
Diffs for the ADAT TRX found to be required for stable operation of the
ADAT backend.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-10-29 06:31:24 -05:00
Nate Bargmann b6a9206fc2 Patch from Frank, DG1SBG, to quell warning
(cherry picked from commit 7bbfac55fd)
2012-02-07 15:46:02 -06:00
Nate Bargmann 86caab9466 Add LGPL boilerplate to adat source files.
Frank had originally released the files to us under "Creative Commons
License."  After contacting him, he agreed to allow it to be changed to
LGPL:

Date: Tue, 10 Jan 2012 09:16:07 +0100
From: Frank Goenninger <frgo@me.com>
To: Nate Bargmann <n0nb@n0nb.us>
Subject: Re: Hamlib Backend for the ADAT ADT-200A

Hi Nate,

sure - change it to LGPL. Do you do this or should I do and resend the
files?

Tnx!

73 Frank

----------------8<------------------

I have now done so.

Only other change is stripping of trailing white space.
2012-01-20 19:48:34 -06:00
Frank Goenninger f6ea9f1246 Add ADAT ADT-200A backend
Signed-off-by: Stephane Fillod <fillods@users.sf.net>
2012-01-11 23:16:41 +01:00