Wykres commitów

86 Commity (2a1c11dae01ad98e2329952d5b7e09bc8a107122)

Autor SHA1 Wiadomość Data
Nate Bargmann 2a1c11dae0
Remove backticks in tests/ 2020-05-30 21:41:58 -05:00
Nate Bargmann 9bafc86fec
Rename tests/hamlibdatetime.h
Rename tests/hamlibdatetime.h to tests/hamlibdatetime.h.in which is
tracked and ignore tests/hamlibdatetime.h which is not tracked and will
be generated or copied depending on whether the top source directory is
a Git working tree or not.
2020-05-30 09:18:19 -05:00
Nate Bargmann b534f1b36e
Generated hamlibdatetime.h time string is now in UTC 2020-05-30 08:03:44 -05:00
Nate Bargmann 2de3f95bcd
Ensure hamlibdatetime.h works with VPATH builds 2020-05-27 07:54:09 -05:00
Nate Bargmann 4395f540eb
Rename datebuilt.h to hamlibdatetime.h in tests/Makefile.am
The name conflict caused 'make dist' to fail.
2020-05-27 07:04:36 -05:00
Michael Black W9MDB fb68d9f561 Add better version info to utilities 2020-05-23 10:58:25 -05:00
mdblack98 c5f7857f6e Add cachetest and cachtest2 to make check 2020-05-01 16:28:48 -05:00
Michael Black 09df074570
Fix -ldl linking when --disable-winradio is used 2020-01-22 23:39:03 -06:00
Michael Black 2b96ab4907
Remove -ldl from tests/Makefile.am -- need to find another solution 2020-01-21 18:03:50 -06:00
Michael Black 2ce7721506 Add -ldl to tests/Makefile.am 2020-01-21 11:58:25 -06:00
Bill Somerville d931bd4e18
Move unnecessary global and file static variables to the stack 2019-08-29 00:39:39 +01:00
Michael Black 7e9c566944
Add first cut at amplifier control 2019-06-12 15:52:35 -05:00
Michael Black d4f95010dc merge master 2019-01-14 09:36:35 -06:00
Nate Bargmann 5f05a0491e Move utility man page files to doc/man1
Maintain manual page files in the doc directory rather than the source
directories.
2018-04-30 07:19:59 -05: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
Nate Bargmann 81775bc03d Add library paths for tests.
Richard Sahw, KF5OIM, reported a failure in the C++ test when attempting
to build an RPM package in a clean environment.  This patch amends the
LD_LIBRARY_PATH in the generated shell scripts in the c++ and tests
directories.
2015-09-03 12:03:53 -05: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
Nate Bargmann f66da71719 Honor LIBUSB_LIBS when set by user
LIBUSB_LIBS was not passed to the LDADD variable for the Hamlib test
utilities.  This fix permits the user invoking 'configure' to specify a
static libusb to include the libusb symbols in libhamlib:

	./configure LIBUSB_LIBS="/usr/lib/i386-linux-gnu/libusb.a"

Note that the actual path will vary from system to system.
2013-09-23 14:27:31 -05:00
Nate Bargmann 36f5f4cf6a Revert to previous handling of getaddrinfo()
Use the system gettaddrinfo function when possible as before.  Tested on
GNU, Cygwin, MinGW on Linux, and MinGW on Windows.  Under MinGW the
replacement getaddrinfo is used.  Perhaps this is an area for
investigation to be certain MinGW really doesn't supply getaddrinfo.
This reverts some of the patches from Remi Chateauneu in commit
60019c9.  This fixes build issues encountered building the Windows
binary daily snapshots.

Enabled static library build by default at configure time.

Fixed pthread library linking for the ars backend on MinGW.
2013-09-15 19:47:49 -05:00
Remi Chateauneu 60019c9444 Monolitic libraries. 2013-09-08 14:56:28 +01:00
Nate Bargmann ea97c7c3e9 Preserve CFLAGS & CXXFLAGS for the configure user
The Automake manual makes it clear that certain user variables such as
CC, CFLAGS, CXXFLAGS, CPPFLAGS, and so on are to be preserved for the
user running configure.  This patch cleans up such assignments and
assures that PTHREAD_CFLAGS and so forth are applied to those targets
that require it.
2013-05-25 06:00:36 -05:00
Nate Bargmann 2d6361397b Link to Pthread-win32 library in MinGW
The AX_PTHREAD macro sets the PTHREAD_LIBS variable, however we were not
providing this variable to the needed *_LDFLAGS variable.  With the
addition of PTHREAD_LIBS, rigctld and rotctld are now multi-threaded on
MS Windows.  Tested on Windows 2000, Windows XP, and Windows 7.
2013-05-17 21:34:24 -05:00
Nate Bargmann 69c2ceb957 Set LD_LIBRARY_PATH for test programs
Setting LD_LIBRARY_PATH for testcpp and testrig in the generated test
shell scripts corrects a long-standing bug that broke 'make check'.

Add Hamlib_design.eps to allow 'make dvi' to succeed when running
'make distcheck'.
2013-05-07 22:22:07 -05:00
Nate Bargmann 3bb0556f9f rigmatrix.html target is conditional in tests/Makefile
If libgd-dev is not installed, an Automake conditional will disable the
rigmatrix.html target in tests/Makefile.  Optionally, this target may
also be disabled by use of the '--disable-html-matrix' option passed to
the configure script.  By default the configure script will enable the
target if the libgd development files are found and disable it when they
are not.
2012-10-17 21:06:03 -05:00
Nate Bargmann 55d034c834 Build system: Syntax and formatting cleanup
Cleaned up M4sh syntax for variable quoting, replaced shell 'if'
conditionals with M4sh AS_IF macro and shell 'case' with AS_CASE macro.
Properly quoted macro variables.  Added comments to configure.ac
describing actions, commented out obsolete macros, commented obsolecent
macros, and added comments for major sections.

Corrected a Mingw linker error on the .EXE files adding
'--enable-auto-import' to their LD flags.  Testing this commit on win32
shows that rigctld is now working properly.  Will need to port this to
the Stable branch and test.

Replaced older local macros with newer replacements from GNU Autoconf
archive.
2012-09-27 14:22:07 -05:00
Nate Bargmann c3bc66eafc Tidy up rotctl --list output
Implemented hash table to temporarily store and sort the rot models by ID
to print the --list by model numbers.  Hash is implemented using
uthash.h, see http://uthash.sourceforge.net/

Suppressed rot backend register output by setting rig_debug_level to 0
for list output.

Removed rotlist definition of RPC backend.
2012-02-13 15:28:03 -06:00
Nate Bargmann cb1732fc2a Fix error for 'make check'
Implement several simple shell scripts to exercise various aspects of
Hamlib.  The previous implementation relied on the installation of
DejaGNU and the tests/config and tests/*.test directories were not
distributed.  Also, later Autotools documenation seems to suggest that
DejaGNU is to be replaced by Autotest.  The generation and use of simple
scripts was chosen to provide a usable check target until Autotest can
be supported.
2012-01-12 15:34:38 -06:00
Nate Bargmann, N0NB 121f4a996b Implement and document Extended Response Protocol for rotctld
New test program, testrotctld.pl for rotctld
Implemented locator.c functions in rotctl and rotctld



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2831 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-02-14 22:18:00 +00:00
Nate Bargmann, N0NB 52a87d096c Added initial support for Block protocol in rigctld and documented same.
Rewrote testctld.pl for new block protocol and included it with 
source distribution.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2813 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-01-24 23:24:20 +00:00
Stéphane Fillod, F8CFE c14de60c41 Use pkg-config check for libxml2 instead of ancient m4 macro, patch by Priit Laes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2677 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-03-21 11:19:02 +00:00
Thomas Beierlein, DL1JBE 636911225b Added missing script for build of distribution.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2425 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-27 20:45:40 +00:00
Stéphane Fillod, F8CFE 4cbfe38c1d initial rotctld release (same idea as rigctld)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2382 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-12 22:55:10 +00:00
Stéphane Fillod, F8CFE b58bd02ef3 do not make rigctld conditional anoymore, check for winsock2 so rigctld can compile on mingw32
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2358 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-08 16:21:33 +00:00
Stéphane Fillod, F8CFE b133ee9062 rigctld.8 man page
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2280 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-01-06 22:48:59 +00:00
Stéphane Fillod, F8CFE 13cd46419e new rigctld
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2244 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-11 23:05:37 +00:00
Stéphane Fillod, F8CFE 467fe36b23 automated generation of <backend>_lst.html files for web site sup-info
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2200 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-05-21 20:35:41 +00:00
Stéphane Fillod, F8CFE c8f0b6052d new rigsmtr
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2198 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-05-21 20:03:17 +00:00
Stéphane Fillod, F8CFE 3a976e1c84 fix vpath build of rigmatrix.html
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2196 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-05-21 19:53:46 +00:00
Stéphane Fillod, F8CFE 45a0e41c0c Use the lib XML 2 macro file
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1807 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-16 22:32:25 +00:00
Stéphane Fillod, F8CFE d2c9605fd5 fix typo
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1759 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-06-14 21:07:58 +00:00
Thierry Leconte, F4DWV 22eb95c38e add rigswr
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1756 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-06-14 20:13:35 +00:00
Stéphane Fillod, F8CFE 7ed7ab59e9 added rigmem
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1623 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-12-04 23:15:54 +00:00
Stéphane Fillod, F8CFE 916a21ad52 moved some sprintf's out of library into dumpcap application.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1594 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-16 17:34:00 +00:00
Stéphane Fillod, F8CFE 9bb96bc753 lib replacement needed for portability
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1557 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-10-01 21:51:19 +00:00
Stéphane Fillod, F8CFE b8b048189e DejaGNU tests
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1515 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-20 07:28:49 +00:00
Stéphane Fillod, F8CFE fd9075048d added rig_bench app to measure get_freq/get_mode speed
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1381 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-02-24 20:55:12 +00:00
Stéphane Fillod, F8CFE 7c57c346ae testfreq doesn't need backends
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1341 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-01-06 22:13:09 +00:00
Stéphane Fillod, F8CFE 3497d098a5 misc Makefile fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1282 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-13 20:39:07 +00:00
Stéphane Fillod, F8CFE 2cbac50168 user app need libmisc, in case of
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1229 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-10-31 00:23:12 +00:00
Stéphane Fillod, F8CFE 440ebc0c99 build only when requested
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1206 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-10-07 21:55:28 +00:00