Martin Ling
7649683c2a
C++: Centralise code for preparing shared pointers.
2014-07-24 21:00:45 +01:00
Bert Vermeulen
ed0b7fed10
demo: Free analog channel groups when done with them.
...
This fixes a memory leak.
2014-07-24 21:01:39 +02:00
Bert Vermeulen
886413b6d2
std: Free channel groups from device instances as well.
2014-07-24 21:01:08 +02:00
Martin Ling
07443fd204
Add Doxyfile for C++ bindings and adaptations to C++ header file.
2014-07-23 22:45:37 +01:00
Martin Ling
90ba83f21d
bindings: Add Packet.get_type() method.
2014-07-23 22:45:37 +01:00
Martin Ling
6fa0eb86af
Add bindings for getting/setting session trigger.
2014-07-23 22:45:37 +01:00
Bert Vermeulen
de44e114fc
build: More dependency fixes.
2014-07-23 16:33:42 +02:00
Bert Vermeulen
1029d384d1
build: If language binding dependency checks fail, summarize the reason.
2014-07-23 14:36:11 +02:00
Bert Vermeulen
0afa91b765
build: Add more dependency checks for building bindings.
2014-07-23 13:05:10 +02:00
Bert Vermeulen
57d62c4c71
build: We only need python 2.x for generating the bindings.
2014-07-23 12:45:41 +02:00
Bert Vermeulen
4d7b36a0b5
fx2lafw: Check for valid samplerate before setting.
2014-07-23 12:32:35 +02:00
Bert Vermeulen
b62bb97afb
demo: Support continuous acquisition.
2014-07-23 04:53:25 +02:00
Bert Vermeulen
2f663c826a
fx2lafw: Fix continuous mode.
2014-07-23 00:24:39 +02:00
Uwe Hermann
b88c3e4923
Drop references to obsolete sigrok-commits mailing list.
2014-07-23 00:04:07 +02:00
Uwe Hermann
f4d2042d3c
session*.c: Remove some unneeded lines.
2014-07-22 23:25:24 +02:00
Uwe Hermann
271cdfd267
configure: Show glibmm and gobject versions in the summary.
2014-07-22 23:18:38 +02:00
Uwe Hermann
022a7fe09f
configure.ac: Add versioned dependency on pygobject.
...
Roughly around 3.0.0 usage changed from "import gobject" to the new
"from gi.repository import GObject" etc. (which we use).
2014-07-22 23:18:38 +02:00
Uwe Hermann
3db4b08b2d
Makefile.am: Add beaglelogic.h so it ends up in the tarball.
2014-07-22 23:18:37 +02:00
Jens Steinhauser
c6036f755a
C++ bindings: Make enums.py work with newer versions of pygccxml.
2014-07-22 21:06:16 +02:00
Bert Vermeulen
155b680da4
Reorganize project tree.
2014-07-22 18:19:29 +02:00
Bert Vermeulen
43cd463728
build: Portability fixes.
...
This also defers reporting on enabled drivers until it's really decided.
2014-07-22 18:17:34 +02:00
Bert Vermeulen
c26162ffe0
python: Fix build dependency.
...
This also makes it more portable, notably to non-bash shells.
2014-07-22 04:31:54 +02:00
Kumar Abhishek
ad9dbc1cdb
beaglelogic: Implementation with soft triggers
...
Signed-off-by: Kumar Abhishek <abhishek@theembeddedkitchen.net>
2014-07-22 01:49:01 +02:00
Kumar Abhishek
bb99379761
beaglelogic: Initial driver skeleton.
2014-07-22 01:47:02 +02:00
Bert Vermeulen
64668fae19
Remove unnecessary level of indirection for source manipulation.
2014-07-21 18:37:19 +02:00
Bert Vermeulen
3337e9a1c9
Get rid of global session.
2014-07-21 18:37:14 +02:00
Bert Vermeulen
102f123966
Add struct sr_session parameter to all session source backends.
2014-07-21 18:34:11 +02:00
Bert Vermeulen
85b69c2b64
scpi: sr_scpi_scan_resource() never returns more than one sdi.
...
No need to always make it a one-entry GSList.
2014-07-21 06:20:56 +02:00
Bert Vermeulen
8eb10b625e
python: Silence irrelevant build warnings.
2014-07-20 22:37:32 +02:00
Uwe Hermann
dfa4cd0e57
make check: Update to new session API.
2014-07-20 12:09:10 +02:00
Uwe Hermann
6592c36995
Fix 'make check' invocation wrt new libsigrok.h location.
2014-07-20 12:03:29 +02:00
Bert Vermeulen
9ae3eb121f
python: Don't install as a zip file.
2014-07-19 22:25:39 +02:00
Bert Vermeulen
f2a189f0a7
build: Silence language bindings building.
2014-07-19 22:25:11 +02:00
Bert Vermeulen
6223feeb8e
configure: Add --enable-bindings switch.
2014-07-19 20:20:47 +02:00
Bert Vermeulen
6884b52bde
bindings: Filter out various pygccxml noise.
2014-07-19 19:48:01 +02:00
Martin Ling
580ed4005b
Additional build system fixes for C++/Python/Java bindings.
2014-07-19 18:06:52 +02:00
Martin Ling
d1785122c7
Assorted build system fixes for C++/Python/Java bindings.
2014-07-19 17:25:37 +02:00
Martin Ling
815a6b95f4
Pass configured prefix to python setup.py install step.
2014-07-19 16:44:05 +02:00
Martin Ling
d615a3962a
Suppress some SWIG warnings that don't matter.
2014-07-19 16:28:42 +02:00
Martin Ling
abc7146d03
Fix building Python bindings with pygobject >= 3.7.91.
2014-07-19 16:12:34 +02:00
Bert Vermeulen
762aee1e91
configure: Fix java --enable check.
2014-07-18 21:40:27 +01:00
Bert Vermeulen
bcacb8633e
configure: Add C++ bindings dependency checks.
2014-07-18 21:40:20 +01:00
Bert Vermeulen
f8158d5655
configure: Deal with missing macro a bit better.
...
The AX_CXX_COMPILE_STDCXX_11 macro is found in the autoconf-archive
package. If this is not installed, invoking the macro spits out an
error message that makes it look like a syntax error. This wraps it
in a check.
2014-07-18 21:40:14 +01:00
Martin Ling
f0f1d90d9c
Remove obsolete low-level language bindings.
2014-07-18 21:34:57 +01:00
Martin Ling
9fcf4d0b5b
Add Java bindings.
2014-07-18 21:34:57 +01:00
Martin Ling
f774095496
Reimplement high-level Python bindings on top of SWIG/C++ bindings.
2014-07-18 20:47:10 +01:00
Martin Ling
608b848d8b
Add new generic SWIG bindings based on C++ classes.
2014-07-18 20:47:10 +01:00
Martin Ling
c23c8659b8
Add C++ bindings.
2014-07-18 20:47:10 +01:00
Martin Ling
00ebcbf48a
Change prototype of sr_trigger_new to take const char *.
2014-07-17 18:39:17 +01:00
Martin Ling
5a7e62211c
SWIG: Rename libsigrok.i to lowlevel.i.
2014-07-17 18:30:49 +01:00