Wykres commitów

69 Commity (master)

Autor SHA1 Wiadomość Data
Mike Black W9MDB 05033171c3 Change token_t to hamlib_token_t to avoid collsions with libbsm and others
https://github.com/Hamlib/Hamlib/issues/1469
2024-01-21 23:11:55 -06:00
Mike Black W9MDB 79737df92a Change testcpp.cc back to dummy rig for make test 2023-07-18 22:39:55 -05:00
Mike Black W9MDB d6b8575eb3 Fix simic7300 to work with testcpp.cc 2023-07-18 22:33:14 -05:00
Mike Black W9MDB 68e121d82c Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
Mike Black W9MDB 4e4c93ff73 Fix c++ rig class 2021-07-15 17:26:48 -05:00
Mike Black W9MDB 4501c1c97b Remove generated files 2021-04-14 15:41:01 -05:00
Mike Black W9MDB 9d310062eb More files for git clone configure to work 2021-04-14 09:19:27 -05:00
Michael Black W9MDB 3d613519d5 Rename macros to avoid collisions with other software 2021-03-06 12:37:53 -06:00
Michael Black W9MDB 82126a4f09 Phase 1 of changing sprintflst functions to use buffer length
https://github.com/Hamlib/Hamlib/issues/580
2021-03-03 08:03:18 -06:00
Michael Black W9MDB 65a9895361 Fix c++ make check when -static flag is used 2021-02-08 12:54:10 -06:00
Michael Black W9MDB c70d841b83 Add NOCHANGE_PASSBAND to icom...cascading effect on adding vfo elsewhere...which is needed anyways
https://github.com/Hamlib/Hamlib/issues/448
2020-11-29 23:32:14 -06:00
mdblack98 5eb5b6f3d8 https://github.com/Hamlib/Hamlib/issues/227
Added read_only flag everywhere
2020-04-26 14:37:03 -05:00
Michael Black 679db60483 Fix some more cppcheck warnings 2020-03-19 12:10:20 -05:00
Michael Black e315f5e3ac Added skeleton for new get_ant function that will return ant_tx and ant_rx if known
Every rig will need to be reviewed to fill these in as appropriate
2020-02-18 23:10:14 -06:00
Michael Black 7e8938ae65 Changed y command to now use mandatory antenna argument
Put a looplimit on icom_get_ant_count trying to get autodetect to work
Changes to icom_get_ant_count to try and get this working
Added dummy antenna # args to rigs that don't care i.e. only have 1 antenna
2020-02-02 08:38:10 -06:00
Michael Black d853c36fb3
Change get_ant to add another option for icom rigs (and others if needed) 2020-01-21 17:53:12 -06:00
Michael Black 9e3f29447d
Clean up cppcheck warnings in c++ 2019-12-06 16:22:16 -06:00
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