Commit graph

28 commits

Author SHA1 Message Date
Ian Abbott
a68c805998 Fix out-of-tree build of ruby bindings. 2007-11-02 16:03:58 +00:00
Frank Mori Hess
9e4c195b92 Patch from steven.jenkins@ieee.org (Steven Jenkins):
The SWIG interface file (swig/comedi.i) is out of date with respect to comedi.h
and comedilib.h. I've attempted to make it current by applying most of the
changes since 1.22 (both headers).

My ability to test is limited. The swig/ruby/demo/cmd application runs
successfully using the comedi_test device. The python extension library
compiles, but that's as far as I've taken it.
2007-10-15 00:02:49 +00:00
Frank Mori Hess
c1082cee65 Fixed comedi_get_cmd_generic_timed() by adding a chanlist_len
parameter.  Old version is still available in library, thanks to the
magic of the version_script.
2007-08-02 19:46:44 +00:00
Frank Mori Hess
5d4729b9ec mmap works for output waveforms now. 2005-01-23 03:11:30 +00:00
Frank Mori Hess
ca83900fcf patch from steven.jenkins@ieee.org (Steven Jenkins):
'setup.rb config' calls 'extconf.rb' in the ext directory to build the extension
Makefile. 'extconf.rb' looks for C source files in the directory when it runs,
so SWIG needs to run before 'setup.rb config'. The attached patch makes the
output of SWIG a prerequisite for ext/Makefile.
2004-12-04 18:12:35 +00:00
Frank Mori Hess
0942349bb8 patch from Steven Jenkins <steven.jenkins@ieee.org>:
If configure attempts to build the Ruby extension on a system without a previous
installation of comedilib, compilation fails because gcc can't find comedilib.h.

The attached patch adds the distribution include directory to the gcc search
path when compiling the extension.
2004-11-23 01:18:14 +00:00
Frank Mori Hess
366b8b5da0 fix handling of swig so it is run at compile time instead of when
building tarball (due to possible dependence on swig library).
2004-09-27 03:27:43 +00:00
David Schleef
f8389c58f5 Fix distcheck 2004-08-11 21:37:46 +00:00
Frank Mori Hess
9a84e6a44b use setup.rb for clean-local and distclean-local 2004-06-20 03:36:33 +00:00
Frank Mori Hess
06a5a7846a added some files to EXTRA_DIST that were left out of tarball 2004-06-19 17:55:38 +00:00
Frank Mori Hess
d20c5e18c9 fix compilation when builddir != srcdir 2004-06-19 15:06:00 +00:00
David Schleef
2541e7b171 distcheck fixes 2004-06-12 20:56:06 +00:00
Frank Mori Hess
dfc1ffbdba update to ruby binding from steven jenkins:
Better exception handling. More consistent handling of return values. Updated
documentation.
2004-03-29 01:39:36 +00:00
Frank Mori Hess
41ce3f70a0 patch from Steven Jenkins -------
The attached patch updates files in comedilib/swig/ruby. lib/comedi.rb is
updated to raise Ruby exceptions as indicated by the comedilib API
documentation. README and demo/cmd are updated accordingly.
2004-03-06 22:13:37 +00:00
Frank Mori Hess
ad69935bad don't make comedi_command arg INOUT 2004-01-18 20:26:47 +00:00
Frank Mori Hess
2fe5055c25 clean up object files 2004-01-17 19:18:08 +00:00
Frank Mori Hess
3e81d9e11e update README to reflect automake support for compilation/installation 2004-01-17 19:17:42 +00:00
Frank Mori Hess
b8d7e64c4d more autoconf support for ruby binding 2004-01-17 19:08:46 +00:00
Frank Mori Hess
a3005f2922 start of automake support for ruby extension 2004-01-17 17:11:17 +00:00
Frank Mori Hess
cac5a2eac6 ruby binding and example from Steven Jenkins. I still need to tweak
the Makefiles a bit to integrate it properly
2004-01-17 16:33:09 +00:00
Frank Mori Hess
a7ad74bf2d include typemaps.i 2004-01-12 22:41:40 +00:00
Frank Mori Hess
153547a047 ruby fix from steven jenkins 2004-01-12 01:38:06 +00:00
Frank Mori Hess
37cc8552e8 add some comments on obsolete sections 2004-01-11 23:16:02 +00:00
Frank Mori Hess
711679b1e2 restore README.txt that got lost when I moved the python directory 2004-01-11 23:14:44 +00:00
Frank Mori Hess
09aa989c1f swig deprecated BOTH in favor of INOUT 2004-01-11 23:04:35 +00:00
Frank Mori Hess
a64c59b46d make cvs checkout compilable by people without swig 2004-01-08 03:10:32 +00:00
Frank Mori Hess
76c73a0956 fix typo 2004-01-04 17:07:04 +00:00
Frank Mori Hess
bc7a0262b2 moved SWIG code from python directory to new swig directory. Added
beginnings of support for ruby swig binding
2004-01-04 16:56:35 +00:00