Nate Bargmann
49d2124a03
Binding test scripts--fix set_freq ordering
...
Due to the changes of the patch contributed by Ervin Hegedüs, correct
the bindings test scripts to work with the corrected ordering of VFO and
frequency arguments.
Also add a call to send_morse() in each script.
2013-02-12 18:51:38 -06:00
Ervin Hegedüs
d9fc9c04d7
rig.swg: New properly formatted macro
...
I made a patch, you can see in that there is the solution, which
describe the error: if a function in hamlib looks 3 argument
(rig, vfo, any 3rd arg), the order of the 2nd and 3rd argument
were reversed, because the macro METHOD1 reversed them.
I've collected these functions, compared its arguments with
hamlib docs (http://hamlib.sourceforge.net/manuals/1.2.15/ ), and
where 1st arg is rig, 2nd arg is vfo, and 3rd is any kind of
type, changed to METHOD3, which is a new macro, and keeps the
correct order of original function - see the patch. (I didn't
find any info about the expected diff format, so I just created
the `diff -uprN ORIG NEW'.)
To check my theory, I've tested with another function, which uses
vfo type at 2nd argument, eg. rig_set_freq; here is the Python
code:
my_rig.set_freq(Hamlib.RIG_VFO_A, 7013200.0)
and the original code drop the exception:
my_rig.set_freq(Hamlib.RIG_VFO_A, 7012500.0)
File "/usr/local/lib/python2.7/dist-packages/Hamlib.py", line 2513, in
set_freq
def set_freq(self, *args): return _Hamlib.Rig_set_freq(self, *args)
TypeError: in method 'Rig_set_freq', argument 3 of type 'vfo_t'
As you can see, it's same as my original error above.
So, after I patched the source and recompiled it again, these two
function works correctly - I will test it at soon, but I think
_this_ is good and stable.
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-02-12 18:35:03 -06:00
Nate Bargmann
44d99a61cd
Build system fixes for the Perl/Python/TCL bindings
...
Various fixes for building the bindings properly.
Install TCL binding to $(libdir)/tcl/Hamlib, arbitrarily chosen since
there seems to be no standard installation location. When install
location is changed, tcltest.tcl documents the needed change to a TCL
script.
In the Perl and Python test scripts, improved the QRA examples. In all
scripts used tabs to line up printed values nicely.
Updated INSTALL and NEWS for recent updates. Better documented bindings
installation and uninstallation in INSTALL.
2012-11-28 17:11:41 -06:00
Nate Bargmann
aa504fe024
bindings/Makefile.am: Group variables and targets
2012-11-19 14:30:48 -06:00
Nate Bargmann
a62d40647e
bindings/Makefile.am: Fix 'make dist'
...
'make dist' was broken by the previous patch. Now tell Automake not to
build or distribute Hamlib.py.
2012-11-19 12:10:25 -06:00
Nate Bargmann
00aaaf4c50
configure.ac: Clean up the binding builds a bit.
...
A Perl file was being compile whether Perl binding was enabled or not.
Fixed that and configured an AM_CONDITIONAL for Perl so its components
will not be built when it is not enabled.
2012-11-17 08:45:16 -06:00
Nate Bargmann
33f25820ac
Fix bindings build by replacing *all* INCLUDES!
2012-02-04 07:51:25 -06:00
Nate Bargmann
a5f13e0056
Set AC_PREREQ to 2.67, enable Automake warnings
...
Deprecate the use of the INCLUDES variable in favor of the AM_CPPFLAGS
variable per Automake warnings and documentation.
2012-02-03 22:09:45 -06:00
Frank Goenninger
f6ea9f1246
Add ADAT ADT-200A backend
...
Signed-off-by: Stephane Fillod <fillods@users.sf.net>
2012-01-11 23:16:41 +01:00
Stephane Fillod
443cf020e4
add rig_debug() in python binding
2011-09-14 22:43:06 +02:00
Nate Bargmann
a7f758d582
Update LGPL header in bindings source files.
...
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:34 -05:00
Stephane Fillod
be74cf0f54
add rotator Celestron/Orion Teletrack Az-G telescope mount
2011-08-21 23:30:41 +02:00
Stephane Fillod
b60c28894a
Add IF-100 rotor support
2011-05-26 22:07:26 +02:00
Stéphane Fillod, F8CFE
1d8e24003a
added TRM8060
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2997 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-26 20:47:35 +00:00
Stéphane Fillod, F8CFE
a02cf50c71
fix simple make dist
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2906 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-04 22:18:11 +00:00
Stéphane Fillod, F8CFE
3de1b6918d
fix build when tcl binding selected but not python
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2903 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-02 21:55:00 +00:00
Stéphane Fillod, F8CFE
30f7124435
declare M2 and ARS backends
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2894 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-25 17:24:25 +00: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
Thomas Beierlein, DL1JBE
28eb7c00b0
Fix for python install path. Goes now to .../site-packages where it belongs.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2855 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-14 15:01:09 +00:00
Stéphane Fillod, F8CFE
4c0e471128
SPID backend
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2748 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-11-01 22:03:54 +00:00
Stéphane Fillod, F8CFE
9b363f9c96
Make building tcl-bindings optional
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2684 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-03-23 22:49:45 +00:00
Stéphane Fillod, F8CFE
28b80e4931
add IC-7200 and R&S ESMC
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2672 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-03-05 15:45:28 +00:00
Stéphane Fillod, F8CFE
8dd158daa6
Heathkit HD 1780 Intellirotor backend, by Rob Frohne, KL7NA
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2590 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-20 19:44:04 +00:00
Stéphane Fillod, F8CFE
5d3e8c1385
new kit backend
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2462 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-02 17:05:54 +00:00
Thomas Beierlein, DL1JBE
bd65eb907e
fix for gcc warnings: dereferencing type-punned pointer will break strict-aliasing rules"
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2369 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-06-26 15:23:06 +00:00
Stéphane Fillod, F8CFE
f6a7e6628c
added GS-232A rotator controller
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2361 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-23 14:14:17 +00:00
Stéphane Fillod, F8CFE
1cba659924
allow perl binding to find libhamlib in src, but nuke LD_RUN_PATH, hence preventing any rpath backdoor
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2360 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-17 16:36:54 +00:00
Stéphane Fillod, F8CFE
dad9fe5f7c
more tests/examples
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2353 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 21:47:06 +00:00
Stéphane Fillod, F8CFE
fa8ca11137
* fix/improve memory oriented methods
...
* made all methods returning strings more handy
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2352 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 21:42:04 +00:00
Stéphane Fillod, F8CFE
42143f1976
make locator/qrb/longlat functions to work from bindings
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2351 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 21:38:25 +00:00
Stéphane Fillod, F8CFE
24e179a397
partly fix dependencies
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2350 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 21:36:33 +00:00
Stéphane Fillod, F8CFE
a446ff44d6
more symbols to ignore
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2349 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 21:31:25 +00:00
Joop Stakenborg, PG4I
6486540e36
no need to link to python
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2259 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-27 19:55:19 +00:00
Nate Bargmann, N0NB
dcefad2213
Revert change in bindings/Makefile.am that broke autogen.sh
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2175 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-01-27 02:14:00 +00:00
Diane Bruce, VA3DB
456b899b2b
- first cut at fixing configure to recognise --without-tcl-binding
...
and --without-python-binding options
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2173 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-12-27 04:41:39 +00:00
Nate Bargmann, N0NB
fcf1546fdd
20061108:
...
Update:
Commented out the commands to the uninstall-perl target
as it's broken and causes a make error and failure.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2161 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-11-09 04:32:35 +00:00
Nate Bargmann, N0NB
d7e04abffd
20061106:
...
Update:
Fix distclean bug in bindings Makefile
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2158 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-11-07 04:28:26 +00:00
Joop Stakenborg, PG4I
00610b3321
remove rpath backdoor
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2102 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-04-10 17:27:42 +00:00
Joop Stakenborg, PG4I
96e9a41339
fix coding, python2.4 compatibility
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2086 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-03-07 18:25:48 +00:00
Stéphane Fillod, F8CFE
645dc96100
example how to change baud rate
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2065 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-02-20 22:40:26 +00:00
Stéphane Fillod, F8CFE
1a47b54ec9
fix problem: build bindings libs as real LT libs and not convenience libs(ar format) with some automake/libtool
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2060 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-01-15 14:22:00 +00:00
Stéphane Fillod, F8CFE
2f18531e26
check for Python presence
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2012 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-13 18:56:19 +00:00
Stéphane Fillod, F8CFE
81d9a7b369
allow to select indivial bindings to build, patch by Hargobind S. Khalsa
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1960 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-03 17:06:37 +00:00
Stéphane Fillod, F8CFE
72ddb64f4b
identify Tcl test
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1872 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-11-15 14:50:38 +00:00
Stéphane Fillod, F8CFE
ad95e93a10
identify python test
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1871 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-11-15 14:50:21 +00:00
Stéphane Fillod, F8CFE
07bbfd8611
identify perl test
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1870 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-11-15 14:49:51 +00:00
Stéphane Fillod, F8CFE
8cf3b09716
Not sure about Object, Long on 32 bits arch is ok
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1810 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-17 20:05:21 +00:00
Stéphane Fillod, F8CFE
caee8b612a
added ECSSUSB/ECSSLSB and FAX modes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1785 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-08 19:42:59 +00:00
Stéphane Fillod, F8CFE
7f7b2c6dd6
VB script
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1774 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-01 21:18:23 +00:00
Stéphane Fillod, F8CFE
2ecee9ce94
closer to working script
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1773 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-07-30 23:09:12 +00:00