Wykres commitów

248 Commity (8ba011eaf7dbcd9ae9b7f36d4d36cbd3b9b94627)

Autor SHA1 Wiadomość Data
Nonoo 8ba011eaf7 Add INDI rotator backend
This backend lets Hamlib control an astronomical (telescope) rotator through an
INDI (https://indilib.org/) server.
2020-11-15 12:46:35 +01:00
Michael Black W9MDB 0e44e2f317 Move dummy to rigs directory
Remove unneeded references to dummy
2020-10-05 09:58:20 -05:00
Nate Bargmann 120c6b2ca6
Advance to 4.1~git 2020-09-05 07:58:24 -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 038b87b299 Add lua 5.4 support
https://github.com/Hamlib/Hamlib/issues/349
2020-07-20 12:02:05 -05:00
Nate Bargmann 97f6b4319e
Remove backticks in top source directory
Reasoning is given in the update to README.coding_style.
2020-05-30 18:38:34 -05:00
Nate Bargmann a279ab1bba
Do not link libpython >= 3.8
Per issue https://github.com/Hamlib/Hamlib/issues/253 when building
Python binding for version 3.8 or later, set PYTHON_LIBS="".
2020-05-24 12:06:44 -05:00
Michael Black 8eb09c2a38 More cppcheck fixes 2020-03-23 07:52:01 -05:00
Michael Black W9MDB 8884e0d1f1 Increase version requirement for swig and add swig 3.0 detection
Change bindings test scripts to executable
2020-03-04 09:41:43 -06:00
Michael Black 09df074570
Fix -ldl linking when --disable-winradio is used 2020-01-22 23:39:03 -06:00
Michael Black a419379fc2
Move winradio to new structure 2020-01-17 17:36:54 -06:00
Michael Black 8d6e2fc781
Directory migration to new layout 2020-01-17 09:22:44 -06:00
Michael Black 444fcfa575 Replace XOPEN with AC_USE_SYSTEM_EXTENSIONS 2019-12-10 15:54:12 -06:00
Michael Black 7e9c566944
Add first cut at amplifier control 2019-06-12 15:52:35 -05:00
Robert Benedict 3724ce87ee New iOptron rotator backend
I have an potential initial release of a backend for iOptron alt-az mounts.
I have tested it and it appears to work well both from the command line and
driven by Gpredict with my iEQ45Pro. I ran the source through astyle and I
think that it's OK. Compiling and testing was done under Unbuntu 18.

   Bob KD8CGH
2018-12-13 15:23:46 -06:00
HB9EIK bde028485a Update build system for ELAD backend 2018-08-21 06:07:09 -05:00
Nate Bargmann ac83428f7b Merge branch 'master' of https://github.com/JeroenVreeken/Hamlib 2018-08-05 21:11:40 -05:00
Nate Bargmann 1c3f22a872 Advance to 4.0~git 2018-08-05 21:11:00 -05:00
andz 75228aa974 Added Meade LX200 Protocol to Rotors
* Added new rotor module (18) for Meade telescope rotors
* Implemented all needed rotor functions
* Added README.md

* Tested with DS-2000 Rotor with Autostar 494 and 506 serial cable
* Tested on Linux (Debian) with rotctl and gpredict
2018-07-17 08:57:05 -05:00
Jeroen Vreeken 9c7ce6eacb Merge branch 'master' of github.com:Hamlib/Hamlib 2018-05-06 00:12:23 +02:00
Michael Black W9MDB 6eb18a9b34 Fix ar warning during linking 2018-04-22 18:41:49 -05:00
Jeroen Vreeken bfa948ebc5 Add GPIO and GPION options for DCD.
Also bump abi version since the config params struct needed resizing.
2018-03-29 23:55:25 +02:00
Bill Somerville 489564a1af Make rig_open() call in rigctld lazy and add graceful termination
Because some  rigs lock their  front panel when  opened for CAT  it is
helpful  to   call  rig_close()  in   rigctld  when  no   clients  are
connected. This change does that.

A  CTRL+C handler  is also  added to  allow rig_close()  to be  called
during exit.
2018-03-12 19:47:45 +00:00
Nate Bargmann 312acd05f0 Advance to 3.3~git 2018-03-02 06:44:51 -06:00
Nate Bargmann 1dea67a656 Add --without-libusb option to configure script.
At the request of David Ranhc, KI6ZHD, add an option for the user to
disable the libusb backends.
2017-11-20 04:38:40 -06:00
c vw 028732bdfd Changes to make microHam support compile under MinGW 2017-09-21 17:55:21 +02: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 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
Michael Black W9MDB 21a6909a9a Add Barrett 2050 backend 2017-07-04 12:50:23 -05: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
Bill Somerville 317ea83684 Do not pass --no-cpp_precomp to compilers on Mac OS X
This option is  obsolete since Apple gcc 3.0, by  dropping support for
gcc 2.95.x we no longer have to pass this option.  By not passing this
option we sidestep  an issue for Mac  OS X when a GNU  gcc compiler is
used to build instead Apple gcc or clang.
2017-02-27 17:52:10 +00:00
Jeroen Vreeken 70127b6b9c Add Dorji DRA818 modules (VHF and UHF variants)
Also works with NiceRF SA818 modules
2017-02-22 12:14:50 +01:00
Nate Bargmann 3fef67ae7d Advance to 3.2~git 2016-12-25 11:53:56 -06:00
Ervin Hegedus 2b657e7c9d Added Lua binding and demo script 2016-12-13 16:28:41 -06:00
Nate Bargmann af0f094310 Bump ABI revision due to recent API additions
Tells the runtime linker that a slight ABI change has occured.
2016-04-02 07:06:32 -05: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
Stephane Fillod 8d7697c3bd Migrating from libusb-0.1 to libusb-1.0 2016-02-14 18:02:26 +01: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
Nate Bargmann d3d859fb80 Advance to 3.1~git
Next release of development.
2015-09-19 09:34:02 -05:00
Bob Freeman d899805ae6 New CNCTRK rotor backend
Am sending the source file for my CNCTRK backend used to pass AZ/EL data
to a linuxcnc-enabled rotator.

Thanks,
Bob
KI4SBL
2015-08-22 10:05:00 -05:00
Stephane Fillod 80f921954b New IC-M700PRO backend
Backend for the ICOM IC-M700PRO marine transceiver.
2015-01-21 23:57:08 +01:00
Nate Bargmann 5fbef72af3 Properly exclude non-Linux/MS Windows build of G313
While the Winradio G313 backend wasn't being compiled on a non-Linux
POSIX system, the register function in winradio.c was which caused an
error linking rigctl.  Also, the host_os test in the configure script
now looks for a string containg "*linux-gnu*" which accepts such systems
as the Raspberry Pi which is defined as "linux-gnueabihf".

Thanks to Lorenzo Simoncello, IW3HER, for reporting this build error on
the Raspberry Pi.
2014-11-19 22:02:30 -06:00
Bill Somerville 6e44327a7c Fix configure.ac
Added missing bracket that was causing configure without pkg-config to
fail.
2014-03-04 15:45:54 +00:00
Nate Bargmann 6ea09a138a Clean up build system, fix test programs
Clean up various left over commented lines from dlopen to single
libhamlib transition.  Remove unneeded configure variables.

Correct minor inconsistencies in Makefile.am files.

Define a new variable, READLINE_LIBS, so that only programs that offer
Readline support are linked against it.

Fix various compilation warnings and errors in test files revealed with
'make check' on MinGW.

Define rig and rotor backends to (mostly) be built in alphabetical
order.
2013-12-10 20:14:22 -06:00
Julian Cable 3c15a1d6c3 Use Automake conditionals for G313 build
Split G313 sources into POSIX and Windows versions and use Automake
conditionals for building on *linux-gnu or  mingw*, pw32*, or cygwin
platforms.

Fixed dlopen issue on g313 backend which broke rigmatrix generation.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-11-23 08:03:17 -06:00
Nate Bargmann 0eda2b55d1 No longer rely on pkg-config for libusb
Use AC_CHECK_LIB macro to search for libusb rather than rely on
pkg-config.  Preserve environment variables LIBUSB_CFLAGS and
LIBUSB_LIBS as user precious variables.  Two features,
--with-xml-support and --enable-usrp still rely on pkg-config so only
invoke pkg-config when either or both of these features are selected.
Only the Winradio g313 model uses libdl so test for it only when
Winradio backend is enabled.
2013-10-30 22:29:50 -05:00
Nate Bargmann 87688bc254 hamlib.pc.in: Use AC_SUBST variables
Use AC_SUBST variables for generating hamlib.pc based on local
configuration of Hamlib.

Rework libusb pkg-config section and set LIBUSB as an AC_SUBST variable.
2013-10-01 03:00:59 -05:00
Nate Bargmann 1f0590dfbe Fix conditional build of winradio backend
With the new registration code set the HAVE_WINRADIO preprocessor
conditional if the winradio backend is to be built and test this
conditional in src/register.c whether to build winradio support.
2013-09-22 20:45:49 -05:00
Nate Bargmann 9210621c75 Remove dependency on libltdl
No longer depend on libltdl from the libtool package.  The
winradio/linradio/wg313api backend still depends on libdl, but since it
is only compiled on POSIX, it will use the POSIX supplied libdl.

Update documentation to remove references to libltdl.
2013-09-18 22:58:00 -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