Wykres commitów

3631 Commity (libusb-1-0)

Autor SHA1 Wiadomość Data
Nate Bargmann d8ebe0b862 Merge branch 'master' into libusb-1-0
FT-757GXII update from Torsten, DG3XT.
2016-02-24 05:53:42 -06:00
Nate Bargmann ec46fa915b Merge pull request #14 from t0r5tn3/master
fixed get_vfo for FT-757GX(II)
2016-02-24 05:48:26 -06:00
Torsten Eberhardt 4f2b090b8a fixed get_vfo for FT-757GX(II) 2016-02-24 10:20:00 +01:00
Nate Bargmann f441166d72 Merge branch 'master' into libusb-1-0 2016-02-23 18:45:55 -06:00
Nate Bargmann 49e2233f9f Apply Linux C Style to ft757gx.c 2016-02-23 18:42:29 -06:00
Michael Black 99cbb5b1ad Allow the ft757gx to work with WSJT-X.
Adds a new config param "-C fakefreq=1"

The ft757gx only has one-way comm so this simply returns the last freq
set.

WSJT-X can operate in fake it split mode with this too.

RRR
Mike W9MDB
2016-02-23 18:24:07 -06:00
Nate Bargmann 30fa612a2b Merge branch 'master' into libusb-1-0 2016-02-22 06:13:16 -06:00
Nate Bargmann 97594e1c96 Apply Linux C Style to ic910.c 2016-02-22 06:10:48 -06:00
Bill Somerville ed3c48e71e Add 23cms to IC-910(H) backend 2016-02-22 01:53:36 +00:00
Nate Bargmann 0db862e560 Apply Linux C Style to parallel.c 2016-02-21 15:06:16 -06:00
Nate Bargmann 6a3214fd43 Apply Linux C style
Update files modified to support libusb-1.0.
2016-02-21 14:56:44 -06:00
Nate Bargmann 07353e1f80 Fix compiler warnings with x86_64-w64-mingw32-gcc
Compiling for Windows 64 resulted in several warnings.  Correct them by
using proper Windows function calls rather than casts.
2016-02-20 11:44:19 -06:00
Nate Bargmann b3e6c460fe Merge branch 'master' into libusb-1-0
Catch up this branch to changes made in master.
2016-02-15 08:16:48 -06:00
Nate Bargmann 9ec98e0fe3 Check for libusb-1.0/libusb.h
Some distributions--Debian and Alpine tested--put libusb.h under the
libusb-1.0 directory.  Test for its presence and if found define
HAVE_LIBUSB_1_0_LIBUSB_H.  Also test for HAVE_LIBUSB or
HAVE_LIBUSB_1_0_LIBUSB_H and conditionally include the correct header
file in the sources.
2016-02-15 08:10:07 -06:00
Nate Bargmann 785e926db9 Reformat optoscan.c to Linux Style
Use astyle to format to Linux Style.
2016-02-14 18:08:54 -06: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 65f87fb78c Touch up drake.c with astyle
Prior reformat had only been a reindent with Emacs.  Now use astyle.
2016-02-14 18:07:16 -06:00
Nate Bargmann 4595f77f99 Touch up rigctld.c and rotctld.c with astyle
Prior reformat had only been a reindent with Emacs.  Now use astyle.
2016-02-14 18:05:55 -06:00
Nate Bargmann 022ba0f48b Add preferred astylerc configuration
Astyle is a code formatting utility that can quickly reformat a source
file based on the settings of its configuration file.  The added
configuration file will format to a style mostly consistent with the
Linux Kernel Style guide:

https://www.kernel.org/doc/Documentation/CodingStyle

While conformance to this document is not the goal, it supplies a
reasonable set of guidelines to be used in Hamlib.
2016-02-14 13:40:35 -06:00
Stephane Fillod 8d7697c3bd Migrating from libusb-0.1 to libusb-1.0 2016-02-14 18:02:26 +01:00
Nate Bargmann c26b893498 Quell clang warning from optoscan.c
clang warned that lvl_len could be used unitialized in a call to
rig_debug.  Initialze lvl_len to 0 as its assignement is inside an if
conditional.

Also reported by Greg Troxel.
2016-02-13 21:49:51 -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
Nate Bargmann 0e2ee1c4d5 Reformat drake.c to Linux C Style 2016-02-12 21:07:39 -06:00
Greg Troxel 5436f26023 Warning about dodgy code in drake.c
Quell warning from clang about semicolon immediately trailing an if
conditional.
2016-02-12 20:52:53 -06:00
Nate Bargmann 9b45fce776 Reformat rigctld.c and rotctld.c
Several lines in each file benefitted from formatting so just reformat
the entire files into Linux C Style.
2016-02-12 20:46:38 -06:00
Bill Somerville e4e17ce862 Improve IPv6 portability and consistency
After  discussions with  Greg  N1DAM  I have  changed  the dual  stack
support to  explicitly allow IPv4  connections mapped to IPv6  for any
AF_INET6 address  since BSD  as well as  Windows defaults  this socket
option to on (disallowed).

IPv4 mapped to IPv6 makes sense  for Hamlib servers since starting two
servers  one  for each  protocol  family  (the  other option)  is  not
possible  since there  is only  a single  rig/rotator which  cannot be
shared between two servers.
2016-02-12 20:20:25 -06:00
Michael Black 2c1c1a4b63 Simply define TRUE to 1 in omnivii.c
Clears a Clang warning.
2016-02-12 13:44:49 -06:00
Michael Black e1f0433620 Various Yaesu updates
Fix typo in ft990.c
Remove unused var in newcat.c
Make rit and xit use labs() to match data type
Fix frequency print in newcat.c to use PRIll

RRR
Mike W9MDB
2016-02-12 13:36:37 -06:00
Bill Somerville 04c545b9b9 Only use IPv6 features on Windows versions that support it (>=XP) 2016-02-12 15:30:41 +00:00
Nate Bargmann cc21c64662 Advise on use of int64_t cast
Advise on testing with clang compiler and using int64_t cast with PRIll
macro.

Fix GCC warning when 'make distcheck' is run.
2016-02-09 11:26:23 -06: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
Michael Black 61a0e77110 Fix port->pathname checks
Was always true since it's statically allocated

RRR
Mike W9MDB
2016-02-09 10:59:09 -06:00
Nate Bargmann 732309e9d9 Quell compiler warning on MinGW
Use the PRIll macro and int64_t cast to quell the warning from the MinGW
compiler.
2016-02-09 10:51:58 -06:00
Michael Black 4abafcdd29 Clean up clang warnings in tentec
Remove double attenuator assignment in tt588_caps.
Assign correct type (int) to priv->agc in tt550_init.
2016-02-09 06:31:54 -06:00
Bill Somerville 0264e73688 Redundant split mode directives on Elecraft rigs cause Tx failures 2016-02-09 00:30:10 +00:00
Bill Somerville f0bd8061b1 Elecraft rigs do not switch VFO in IF command responses during split Tx. 2016-02-07 12:51:36 +00:00
Michael Black 94973f706f Clear up a clang compiler warning in kenwood/elecraft.h
EXT_LEVEL_NONE should be part of the enum

RRR
Mike W9MDB
2016-02-05 18:34:28 -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
Bill Somerville 5244086e07 Detect C-IV NAK returns as rejected commands
Only  ask Icom  rigs once  then  desist if  bandwidth request  returns
command  rejected. This  avoids sending  the request  with every  mode
query  and possibly  retrying 'retries'  times  for rigs  that do  not
suport the '1a 03' command which wastes much time at slow baud rates.
2016-02-05 19:22:29 +00:00
Nate Bargmann 683853d669 Make sure new file frg100.h is distributed
Fix a goof from absent minded maintainer that resulted in an unbuildable
repository.  Always run 'make distcheck'!
2016-02-04 09:09:35 -06:00
Bill Somerville fca48348a6 Add missing configuration getters 2016-02-04 09:09:35 -06:00
Michael Black 03c04209d2 Add get_freq to FRG-100
This patch adds get_freq to frg100 allowing it to work with WSJT-X.
Added rest of Yaesu command set for future expansion too.

RRR
Mike W9MDB
2016-02-02 17:34:24 -06:00
Nate Bargmann 1f8f4510dd Merge branch 'ic910-set-freq' of git://git.code.sf.net/u/bsomervi/hamlib
Fix a logic error in band detection during IC-910 set frequency.
2016-01-20 21:26:56 -06:00
Bill Somerville 87eb9e50b7 Fix a logic error in band detection during IC-910 set frequency
Also optimized to not check other band when already on the right band.
2016-01-20 23:35:32 +00:00
Nate Bargmann 9c2989e1a4 Favor $HOME over '~' in text
As perhaps not all shells support '~' as a shortcut for $HOME, use $HOME
instead to clarify text.
2016-01-16 09:17:39 -06:00
Michael Black a55a72cd2a Fix possible frequency overflow on Kenwood and Yaesu
This patch fixes a frequency overflow problem on kenwood and yaesu that
can occur with frequencies that over a 32-bit signed int.  This has been
shown to fix the problem on kenwood.

73
Mike W9MDB
2016-01-15 10:18:42 -06:00
Nate Bargmann efb7860e4d Install daemon man files to man1
As the rigctld and rotctld programs are actually user programs and
installed in ${prefix}/bin, it was erroneous to install the associated
manual pages into the man8 directory.  Correct this error going forward
and install them into man1 with the other manual pages.
2016-01-12 15:53:53 -06:00
Dario Ventura dd79038d9e Add elevation code to Prosistel backend
Warnings are cleaned up.

I also added elevation code as comment for future testing.

73, Dario IZ7CRX
2016-01-04 21:37:30 -06:00
Dario Ventura 46fe57190e New Prosistel rotor backend from IZ7CRX
This is patch adding prosistel rotator backend.
Simply reading and setting azimuth for now.

73,
Dario Iz7crx
2015-12-31 08:25:14 -06:00