Wykres commitów

52 Commity (9d5bc2f3853f251d66c0396ff0fabc10794e3c63)

Autor SHA1 Wiadomość Data
Michael Black b017750fe6
Fix c++ amplifier compilation 2019-10-15 09:07:19 -05:00
Michael Black 73c1ecd165
Change freq & chan struct start/end to avoid colliding with LUA SWIG start/end 2019-08-17 23:20:48 -05:00
Michael Black cf2a551524
Fixup some amplifier code 2019-06-26 06:39:42 -05:00
Bill Somerville 21c346453a Implement combined split VFO frequency and mode setting.
CAT protocols that don't allow  direct addressing of VFOs require that
the  "other" VFO  be queried  or set  via a  select then  get/set then
select back  to original or  swap then  get/set then swap  again. When
both frequncy and  mode need to be set the  sequences can be optimized
if a single funciton is avaiable.

This enhancement adds those single functions rig_set_split_freq_mode()
and  rig_get_split_freq_mode()  with  a default  impelementation  that
calls the individual rig_{get,set}_split_{freq,mode}() functions. Back
ends  can choose  to  implement  an optimized  version  which is  used
instead of the default if present.

Using these  functions when  an optimized implementation  is available
allows the TX VFO's frequency and mode to be set in a single operation
with  only  one   VFO  exchange  or  selection  either   side  of  the
operation.  Many CAT  protocols  are very  efficient  when getting  or
setting both  frequency and mode  and some even  combine the two  in a
single command.

The letters 'K' and 'k' are used for the rigctl short command name for
these functions.
2016-03-23 17:09:26 +00: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 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 0232e30fc0 ABI backward compatibility enhancement
Use the libtool link mode argument '-version-info' to set the Hamlib 3
ABI to be compatible with Hamlib 1.2 ABI.  As the current ABI has not
been changed or removed, we should be able to maintain backward
compatibility.  The libtool docs state that so long as the ABI is only
added to, backward compatibility should be maintained.

My idea here is to be able to have presently compiled programs be able
to use binary libraries of Hamlib 3 without recompiling.  So far I have
tested this locally on Linux and Windows.  More testing is welcome.
2012-10-08 13:07:35 -05:00
Nate Bargmann 8c145cfc6b Merge branch 'API_3'
Conflicts:
	.gitignore
	Makefile.am
	NEWS
	c++/Makefile.am
	configure.ac
	hamlib.spec.in
	rpcrig/rpcrig.x
	rpcrig/rpcrig_backend.c
	rpcrig/rpcrig_backend.h
	rpcrig/rpcrig_proc.c
	rpcrig/rpcrigd.c
	rpcrot/rpcrot.x
	rpcrot/rpcrot_backend.c
	rpcrot/rpcrot_backend.h
	rpcrot/rpcrot_proc.c
	rpcrot/rpcrotd.c
	src/Makefile.am
	tests/rigctl.1
	tests/rotctl.1
2012-02-03 15:03:39 -06:00
Nate Bargmann bd7101d8cc Synchronize C++ library version with C. 2012-01-12 06:20:41 -06:00
Nate Bargmann 13ca0caff3 Update LGPL header in c++ source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:34 -05:00
Nate Bargmann 5f2bf62947 Setup for 1.2.15 development cycle 2011-07-13 22:03:12 -05:00
Nate Bargmann e02864ce28 Bump -version-info revision to 14 for C++ 2011-06-20 22:27:31 -05:00
Nate Bargmann deda9ccc4a Set versions for 1.3.0~alpha 2011-06-08 21:01:23 -05:00
Stéphane Fillod, F8CFE 49f0f17a86 more example code
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2866 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-05 10:10:16 +00:00
Stéphane Fillod, F8CFE 43c2084e31 drop the release version from shared library name
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2085 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-03-06 23:02:38 +00:00
Stéphane Fillod, F8CFE 1c47d9ced6 follow frontend ABI version
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1681 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-02-09 22:05:51 +00:00
Stéphane Fillod, F8CFE a07a4a336e Adopt new split_vfo handling. Basically, rename set_split/get_split
to set_split_vfo/get_split_vfo, and take an extra transmit vfo arg.
Ascending compatibility is retained at the API frontend level.
NOTE: only function name has changed. The backends do not implement
necessarily the new semantic (the extra tx vfo is just ignored).


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1425 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-06 18:40:36 +00:00
Stéphane Fillod, F8CFE 937a002b01 misc fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1423 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-06 18:30:42 +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 771f3d896c bump version info, testcpp is TEST
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1239 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-04 22:17:48 +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
Stéphane Fillod, F8CFE 48730cb9f7 misc fix for picky compilers
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1187 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-09-22 11:41:49 +00:00
Stéphane Fillod, F8CFE 7bf3972b30 - removed rig_save_channel and rig_restore_channel from API
- rig_set_channel and rig_get_channel can now target VFO, besides memories
- emulation of set_channel and get_channel has been kept in generic routines.
  Added in these routines the support for ext_levels.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1113 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-09 22:17:14 +00:00
Stéphane Fillod, F8CFE 51ea94cdb5 removed autogenerated files, use autogen.sh instead
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1088 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-02 18:03:25 +00:00
Stéphane Fillod, F8CFE cf23615f9e regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1056 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-05-28 21:46:50 +00:00
Stéphane Fillod, F8CFE 2fd1486135 added a private data pointer argument to event callbacks
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@977 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-02-27 23:25:42 +00:00
Stéphane Fillod, F8CFE 95571eb3a4 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@937 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 23:59:42 +00:00
Stéphane Fillod, F8CFE b507e4df84 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@915 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 14:47:29 +00:00
Stéphane Fillod, F8CFE 01b565d2b3 testcpp moved from ../tests
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@913 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 14:45:52 +00:00
Stéphane Fillod, F8CFE 1c5f7d1393 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@880 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-16 23:36:16 +00:00
Stéphane Fillod, F8CFE 1fa554a818 added Rotator class
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@874 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-16 22:44:18 +00:00
Stéphane Fillod, F8CFE a1c2782a33 Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@873 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-16 22:43:29 +00:00
Francois Retief d88cbe7307 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@872 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-16 19:18:46 +00:00
Stéphane Fillod, F8CFE dcf4cb10ba augmented C++ API
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@813 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-27 21:50:14 +00:00
Stéphane Fillod, F8CFE 170644f6e5 removed useless vfo arg to set_trn/get_trn funcs
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@780 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-20 07:46:13 +00:00
Stéphane Fillod, F8CFE 11ce718be6 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@778 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-19 03:58:00 +00:00
Stéphane Fillod, F8CFE 382c69b2bd cleaned up static build and flags, introduced lib version 0:0:0
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@772 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-19 03:31:53 +00:00
Stéphane Fillod, F8CFE 17f0e53d0f regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@748 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:19:57 +00:00
Stéphane Fillod, F8CFE cf3f159b4d static/dynamic build fixes and added split wrappers
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@747 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:18:40 +00:00
Stéphane Fillod, F8CFE dc9487a284 static/dynamic build fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@744 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:07:54 +00:00
Stéphane Fillod, F8CFE 3c0bc9a18c added 2 news calls
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@703 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-11-08 07:38:38 +00:00
Stéphane Fillod, F8CFE e70124ef5a regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@700 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-22 20:34:48 +00:00
Stéphane Fillod, F8CFE 897e3582e4 misc dep update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@699 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-22 20:33:11 +00:00
Stéphane Fillod, F8CFE 5fb2b7c978 regenerated (automake 1.5 upgrade)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@677 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-07 21:53:48 +00:00
Stéphane Fillod, F8CFE be7022260a regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@651 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-09-19 22:04:44 +00:00
Stéphane Fillod, F8CFE 0257d6f089 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@635 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-08-12 23:20:14 +00:00
Stéphane Fillod, F8CFE 6c0d2e2a70 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@603 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-21 13:11:13 +00:00
Stéphane Fillod, F8CFE fdec672130 workaround for automake/libtool install bug?
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@601 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-21 13:03:13 +00:00
Stéphane Fillod, F8CFE 48bc28ecf5 converted to LGPL
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@583 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-13 19:16:58 +00:00