Wykres commitów

3828 Commity (3709fcb9827d39948fb7b384d2c76caf02de059d)

Autor SHA1 Wiadomość Data
Jaroslav Skarvada 3709fcb982 Fix hardcoded pcconfig libdir
Hi,

on 64 bit distros with /usr/lib64 (e.g Fedora) the hardcoded libdir in
pcconfig is wrong. The attached patch tries to fix it. It also applies
to 3.1

73! Jaroslav, OK2JRQ

Expand variable substituion for hamlib.pc

Further testing showed that 'exec_prefix' and 'includedir' would benefit from
variable substitution by the configure script.

- N0NB
2017-09-03 12:33:00 -05:00
Bill Somerville f9856c6b85 Take out unecessary delays in K(X)3(S) back end. 2017-08-12 22:09:39 +01:00
Nate Bargmann 32dfa04e25 Format the 'barrett/' directory.
Apply formatting to Barrett.
2017-08-11 09:33:32 -05:00
Nate Bargmann 214ddfd22f Merge branch 'master' of https://github.com/dl1ycf/hamlib into dl1ycf-master 2017-08-10 21:59:26 -05:00
Nate Bargmann 7056aa7f69 Format the 'adat/' directory.
Apply formatting to Adat.
2017-08-10 20:41:48 -05:00
Nate Bargmann d489b8bcb5 Apply formatting to 'tests/' directory
Format per style guide.
2017-08-10 05:46:12 -05:00
Bill Somerville 80a4097aba Add best guess transmit status to rig state structure
This flag can  be used by back  ends that need to  take special action
while the  rig is transmitting e.g.  the FT-747GX and similar  that do
not process CAT commands while transmitting.

The flag  is also used as  a default answer to  rig_get_ptt if nothing
better is available.

Deal with inaccurate CAT query for Rx/Tx on the Yaesu FT-847

This rig  doesn't set the Rx/Tx  status flag when PTT  is asserted via
the PTT pin on the rear PACKET  socket so we need to override which we
can do if we known we have asserted PTT via rig_set_ptt().

Adjust style and fix set PTT defects

Fix a warning from a declaration of a deleted function definition
2017-08-09 21:54:50 -05:00
Nate Bargmann cedd914e68 Apply formatting to 'include/' directory.
Format public and private header files per new formatting guide.
2017-08-09 06:14:31 -05:00
Nate Bargmann f76b354588 Reformatted src directory 2017-08-09 06:14:31 -05:00
Nate Bargmann 01bef2d158 New document detailing source code formatting
New indentation and alignment rules and recommended formatting style for
the C and C++ source code.
2017-08-09 06:14:31 -05:00
c vw ed8a0fa5cd Get rid of compiler warnings, fix Kenwood RF get_level 2017-08-08 11:49:01 +02:00
Bill Somerville 3fade92c0d Fix some issues with commands not supported by TS-2000 CAT emulations
Various SDR  consoles are  supported by the  TS-2000 back  end, ensure
that commands  unsupported are  not sent  to them.  Added a  flag that
shows back end is talking to an emulation like SmartSDR or PowerSDR.
2017-08-03 06:26:27 -05:00
Bill Somerville ffb9f21d3a Fix off-by-one issue in reading memory mode from IF command response 2017-08-03 11:17:45 +01:00
Nate Bargmann a3522a627f Install certain top level files into docdir
Install generated Texinfo HTML manual into docdir/html.
2017-07-27 21:33:14 -05:00
Nate Bargmann a8c56853d3 Rename autogen.sh to bootstrap to follow GNU guidelines
Update relevant document files to describe 'boostrap' and 'configure'.
2017-07-27 21:30:13 -05:00
Nate Bargmann f1c0267867 Apply silent rules to LUA
Use $(LUA) to run luatest.lua.
2017-07-27 16:48:03 -05:00
Nate Bargmann 2ef6d5ce0e Apply silent rules to Perl to the extent possible
Run the perltest.pl script for the check-perl test.
2017-07-27 15:54:57 -05:00
Nate Bargmann 7f76171259 Apply silent rule variables to Python 2017-07-27 15:08:22 -05:00
Nate Bargmann 21a86f429e Fix TCL script test target--check-tcl
Found that when nothing was installed that check-tcl failed with a
failure of tclsh not being able to load the shared library.  Thanks to
assistance from comp.lang.tcl, copying pkgIndex.tcl to $(builddir)/.libs
prior to loading the test script allows the script to load the shared
library immediately after 'make' and before 'make install'.

Prefixed various TCL section target commands with either $(AM_V_GEN) or
$(AM_V_at) to conditionally silence the output of 'make'.
2017-07-27 14:44:40 -05:00
Nate Bargmann 4f9085f8f5 Bindings tweaks for Python and TCL
Remove execute bits for all test scripts and install them into
doc/examples.

Make sure check-py and check-tcl targets work.

Set a conditional for Python3 or Python2 and install/test the correct
script file.

Use Makefile variables instead of configure substitutions wherever
possible.

Generate tcltest.tcl at make time to insert installation library path
into the script so that tests pass.
2017-07-26 06:33:42 -05:00
Nate Bargmann 965c1f15f9 Merge branch 'master' of ssh://git.code.sf.net/p/hamlib/code 2017-07-23 10:53:17 -05:00
Nate Bargmann a2a873bbc9 Update ax_python_devel.m4 macro
Also reorder its call in configure.ac which now allows the PYTHON_VERSION
environment variable to be recognized and processed correctly by the
build system.

Correctly add PYTHON_LIBS (correct ouput variable of AX_PYTHON_DEVEL) to the
Makefile for the Python bindings.

Update README.python for use of PYTHON_VERSION.
2017-07-23 10:52:16 -05:00
Nate Bargmann 2d790dd72a Merge branch 'master' of https://github.com/mdblack98/hamlib into mdblack98-master 2017-07-20 14:11:53 -05:00
Michael Black 41a5e64dd5 Add icm710.h to icmarine Makefile.am 2017-07-20 08:42:39 -05:00
Nate Bargmann 6e3b79fc69 Initial Python3 build steps and test script
The increasing popularity of Python3 requires that Hamlib provide a
means of instruction for building and installing its module concurrent
with the Python2 module.  README.python outlines the required steps.
py3test.py is a reworking of the pytest.py script for Python3 syntax.
2017-07-19 21:17:34 -05:00
Michael Black b06b185af0 IC-M710 now working with WSJST-X 2017-07-19 17:57:18 -05:00
Bill Somerville 72a9bff55d Use snprintf throughout kenwood/kenwood.c for buffer safety
Also extend one short buffer.

Also read current VFO when asked to set something on it when we do not
already know which VFO is current.
2017-07-16 15:12:09 +01:00
Nate Bargmann bf3406c95f Merge branch 'master' of https://github.com/mdblack98/hamlib into mdblack98-master 2017-07-10 11:26:16 -05:00
Michael Black W9MDB fd31b41d3b Fix FLRig segfault and strlen cast 2017-07-10 17:13:45 +01:00
c vw 555197a9a5 Getting rid of compiler warnings, especially
- using "abs" function for long or double arguments
 - passing data which is not initialized
2017-07-10 09:55:45 +02:00
Nate Bargmann cdeb73ee8e Merge branch 'master' of https://github.com/dl1ycf/hamlib into dl1ycf-master 2017-07-08 07:52:13 -05:00
c vw 4838a349a6 This enables netrigctld to trigger two different CAT commands (Mic or DATA)
on the real rig. In rigctl_parse.c, we make sure that invalid attempts to
so so are mapped on a safe variant.

Second change to netrigctl: drain the input line before sending a new
command, to reach sync again after a timeout.
2017-07-07 11:52:35 +02:00
Michael Black W9MDB 8978d0ab9b Add FLRig backend 2017-07-06 22:53:58 +01:00
Michael Black W9MDB 21a6909a9a Add Barrett 2050 backend 2017-07-04 12:50:23 -05:00
Michael Black W9MDB 0b1a58d308 Fixed indentation warnings detected by newer gcc
Fixed one error discovered by these warnings in easycomm.c
2017-06-28 18:00:20 +01:00
Michael Black W9MDB cab7eb1647 Fix FT-891/991 behavior with WSJT-X
Separate FT-891 features
Fix rigctl and rigctld to not abort on function not available
Change Yaesu detection of FA length to automatic method instead of rig specific
2017-06-27 16:48:44 +01:00
Nate Bargmann 32e6d8c25d Merge branch 'rs-hfiq' of https://github.com/dl1ksv/hamlib into dl1ksv-rs-hfiq 2017-05-29 21:15:35 -05:00
dl1ksv 23eae7edc1 Merge branch 'master' into rs-hfiq 2017-05-29 16:43:34 +02:00
dl1ksv bb11fa9107 Initial controls for the rs-hfiq sdr 2017-05-29 13:12:52 +02:00
c vw fc6d87addf Do not set DTR/RTS on dedicated PTT port if it is already closed. 2017-05-29 09:37:32 +02:00
Bill Somerville 2828422e92 Stop rigctld and rotctld crashing when service threads cannot write to clients
Although there is  no reasonable recovery from SIGPIPE we  do not want
to terminate the server process,  just the client servicing thread. We
do this by setting the disposition for SIGPIPE to ignored, this causes
an EPIPE to be returned from blocked write() and send() calls that end
up trying to send to a broken pipe/socket.
2017-05-22 21:56:41 -05:00
c vw e156ef65fb fixes for kenwood backends 2017-05-22 19:09:47 +02:00
Norvald H. Ryeng fbef95f30f New rotator model: SPID MD-01/02 in ROT2 mode
Add driver for SPID MD-01 and MD-02 in ROT2 mode. The MD-01 and MD-02
extend the command set from the original ROT2PROG and deviate slightly
from the original protocol on the set_position command.
2017-05-14 20:54:49 -05:00
Tobias Wellnitz 42de040bcb fixed reading the rig's return value in newcat_get_tx_vfo 2017-05-14 20:41:21 -05:00
Malcolm Herring b04c910d53 Icom IC-R10 & 20 testing complete. Move to Beta 2017-05-10 21:43:01 -05:00
Nate Bargmann 71ab7c1f18 Merge branch 'malcolmh-icom_updates'
New model: Icom IC-R6 wideband hand held receiver.
2017-04-06 05:12:37 -05:00
Malcolm Herring a8e89505e3 New model: Icom IC-R6
Icom's hand held wideband receiver.
2017-04-06 05:04:27 -05:00
Malcolm Herring ce7a5d7e4b init branch 2017-04-06 04:59:53 -05:00
Nate Bargmann f746295098 Merge branch 'netrig-level-emulation-setup'
of git://git.code.sf.net/u/bsomervi/hamlib into netrig-level-emulation-setup
2017-03-31 16:58:06 -05:00
Bill Somerville 2d6bb183f2 Allow RIG_LEVEL_STRENGTH queries over the network link
The rig  frontend may be  able to emulate RIG_LEVEL_STRENGTH  by using
RIG_LEVEL_RAWSTR and an S-meter  calibration curve.  The netrig client
doesn't know  this so it must  pass STRENGTH queries regardless  if it
knows a RIG_LEVEL_RAWSTR query is allowed. If the server cannot oblige
it will return a -RIG_EINVAL error which should be fine.
2017-03-31 18:17:16 +01:00