Wykres commitów

128 Commity (bdb4ff5b45f71c6910420cd7b15f779db363cdcb)

Autor SHA1 Wiadomość Data
Michael Black W9MDB fd0c8cba7c Another attempt to get MacOS python2 binding working
https://github.com/Hamlib/Hamlib/issues/477
2021-03-10 23:45:38 -06:00
Michael Black W9MDB 8a2a51b221 Possible fix for MacOS python2 binding build
https://github.com/Hamlib/Hamlib/issues/477
2021-03-09 10:09:22 -06:00
Michael Black W9MDB 0f0705d014 Fix python binding for future deprecation of distutils.sysconfig
Hopefully works on MacOS
Also hopefully works on python2
https://github.com/Hamlib/Hamlib/issues/477
2021-03-08 23:26:44 -06:00
Michael Black W9MDB 92492c4627 Modify perltest.pl for multi-line rig_error return
https://github.com/Hamlib/Hamlib/issues/526
2021-02-04 07:23:53 -06:00
Michael Black W9MDB 3038921655 Add version check for lutest to only to 64-bit when 5.4 or greater 2020-12-06 15:04:51 -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
Michael Black W9MDB 2df1e2e199 Add installation path to py3test.py 2020-10-12 15:40:22 -05:00
Michael Black W9MDB fb9acd8b5e Adding phpdemo 2020-09-13 08:08:23 -05:00
Michael Black W9MDB d47987db85 Fix bindings since itu_region has been deprecated 2020-09-12 08:59:55 -05:00
Michael Black W9MDB 741499c260 Add amplifier.swg to Makefile.am
https://github.com/Hamlib/Hamlib/issues/367
2020-09-07 09:59:32 -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
Nate Bargmann 762ca51cba
Remove backticks from bindings/Makefile.am 2020-05-30 13:14:33 -05:00
Daniele Forsi 3baabad45b Set the executable bits on py3test.py 2020-05-02 11:11:27 +02:00
mdblack98 b170cb9f0e Fix binding get_channel 2020-05-01 22:37:53 -05:00
mdblack98 b888124f76 Fix perltest.pl get_channel 2020-05-01 22:35:30 -05:00
mdblack98 c4590e125d Fix rig_get_channel in rig.swg
https://github.com/Hamlib/Hamlib/issues/227
2020-04-30 09:14:39 -05:00
Michael Black 209ce2c8a1 Change CXXFLAGS for swig compilation to avoid warnings which we can't do anything about 2020-04-10 08:36:51 -05:00
Michael Black 9ae78642aa Update luatest.lau verbiage 2020-03-30 00:19:53 -05:00
Michael Black 40ab38e757 Fix bindings for VOXDELAY 2020-03-29 23:57:28 -05:00
Michael Black f89ef8fffb Remove bad commit and fix perltest.pl check 2020-03-29 23:47:38 -05:00
Michael Black b040803765 Standard all version numbers to YYYYMMDD.N where n is intended for multiple versions in one day.
So typically .N will be .0
2020-03-29 23:03:21 -05:00
Michael Black 8eb09c2a38 More cppcheck fixes 2020-03-23 07:52:01 -05:00
Michael Black 6dd71c84a0 Fix value_t compile warnings on swig java 2020-03-14 12:10:47 -05:00
Michael Black 3ce527a24d Update amplifier.swg 2020-03-14 09:59:56 -05:00
Michael Black 3503d5e603 Add amplifier.swg to bindings 2020-03-14 08:46:28 -05:00
Michael Black e51f16d7e7 Cleanup Java warning in SWIG files
Comment out misc.h in hamlib.swg
2020-03-13 23:40:32 -05:00
Michael Black W9MDB 07b8c280cd rig.swg updates
g/set_split_freq_mode
get_parm
g/set_ext_level
g/set_ext_parm
g/set_ext_func
2020-03-04 11:42:39 -06:00
Michael Black W9MDB c9e8bf1c0a Added rig_get_parm to rig.swg 2020-03-04 10:16:27 -06:00
Michael Black W9MDB 1d86b81518 Add get/set_split_freq_mode to rig.swg 2020-03-04 10:05:23 -06: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 W9MDB fb1d28ee3e Fix get_ant in rig.swg 2020-03-04 08:30:11 -06:00
Michael Black da3059fb07 Add get_dcd to swg bindings 2020-02-07 23:03:29 -06:00
Michael Black 04ff3dee97 Fix get_ant for bindings 2020-02-07 12:29:47 -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 09b5d87449
Fix lua bindings for 64-bit compilation
Tested on swig 4.0.1 and lua 5.3.5
2020-01-19 11:15:44 -06:00
Gisle Vanem d1c194bdf6
Enable verbose mode in bindings/pytest.py
Support 'pytest.py -v to show more details.
2019-10-12 01:47:44 +02:00
Bill Somerville df4ec51909 Simplify SWIG interface definition and hide 64-bit values from Lua binding
By  including the  stdint  SWIG  typemaps we  can  directly use  types
derived from [u]int64_t etc.

Because Lua numbers are  implemented using a double-precision floating
point type and  also because SWIG when generating a  Lua wrappings can
only define  constants from #define and  enum values that fit  into an
'int' type we  must hide any constants that require  more than 32-bits
to represent themselves,  as they cannot be represented  in Lua.  This
applies  to  rmode_t  and  the  RIG_FUNC... defines  at  the  time  of
writing. By  hiding them from  the Lua binding  they will get  a 'nil'
value in Lua i.e. undefined so clients using the Lua binding will know
they are  not there.  This is  a nasty hack  but without  major design
changes to the Hamlib API it is do this or drop the Lua binding.
2018-12-28 20:33:30 +00:00
Nate Bargmann a8c56853d3 Rename autogen.sh to bootstrap to follow GNU guidelines
Update relevant document files to describe 'boostrap' and 'configure'.
2017-07-27 21:30:13 -05:00
Nate Bargmann f1c0267867 Apply silent rules to LUA
Use $(LUA) to run luatest.lua.
2017-07-27 16:48:03 -05:00
Nate Bargmann 2ef6d5ce0e Apply silent rules to Perl to the extent possible
Run the perltest.pl script for the check-perl test.
2017-07-27 15:54:57 -05:00
Nate Bargmann 7f76171259 Apply silent rule variables to Python 2017-07-27 15:08:22 -05:00
Nate Bargmann 21a86f429e Fix TCL script test target--check-tcl
Found that when nothing was installed that check-tcl failed with a
failure of tclsh not being able to load the shared library.  Thanks to
assistance from comp.lang.tcl, copying pkgIndex.tcl to $(builddir)/.libs
prior to loading the test script allows the script to load the shared
library immediately after 'make' and before 'make install'.

Prefixed various TCL section target commands with either $(AM_V_GEN) or
$(AM_V_at) to conditionally silence the output of 'make'.
2017-07-27 14:44:40 -05: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
Nate Bargmann 6e3b79fc69 Initial Python3 build steps and test script
The increasing popularity of Python3 requires that Hamlib provide a
means of instruction for building and installing its module concurrent
with the Python2 module.  README.python outlines the required steps.
py3test.py is a reworking of the pytest.py script for Python3 syntax.
2017-07-19 21:17:34 -05:00
Ervin Hegedus b91768360a Added new example to Python demo script (set/get float type level) 2016-12-13 16:28:41 -06:00
Ervin Hegedus 2b657e7c9d Added Lua binding and demo script 2016-12-13 16:28:41 -06:00
Hegedüs Ervin 37cac121f4 Fixed int[10] type variable error in bindings 2016-08-27 21:24:17 +02:00
Hegedüs Ervin cef8c2d157 Leave off multiply 'typedef const char * const_char_string' definition (in rig.swg and rotator.swg) 2016-05-20 22:46:23 +02:00
Hegedüs Ervin c7476de364 Check SWIG string functions for some languages 2016-05-20 22:08:10 +02:00