Martin Ling
e194c01197
bindings: Change return type of config_list to Glib::VariantContainerBase.
2014-07-24 23:42:53 +01:00
Martin Ling
1d67cfb4ea
bindings: Revise Session::append() API.
2014-07-24 23:42:53 +01:00
Martin Ling
6be7a7f287
bindings: Support get_channel_groups() on base Device class.
2014-07-24 23:42:53 +01:00
Martin Ling
2928f47d64
bindings: Overhaul packet & payload classes.
2014-07-24 23:42:53 +01:00
Martin Ling
7009a3921a
C++: Fix leak of GVariant in ConfigKey::parse_string().
2014-07-24 23:42:53 +01:00
Martin Ling
1797a887d7
C++: Fix Packet destructor for packets without payload.
2014-07-24 23:42:51 +01:00
Martin Ling
4178d9712f
C++: Add internal lookup to find Channel object from sr_channel *.
2014-07-24 21:00:45 +01:00
Martin Ling
7649683c2a
C++: Centralise code for preparing shared pointers.
2014-07-24 21:00:45 +01: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
Jens Steinhauser
c6036f755a
C++ bindings: Make enums.py work with newer versions of pygccxml.
2014-07-22 21:06:16 +02:00
Bert Vermeulen
9ae3eb121f
python: Don't install as a zip file.
2014-07-19 22:25:39 +02:00
Bert Vermeulen
6884b52bde
bindings: Filter out various pygccxml noise.
2014-07-19 19:48:01 +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
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
5a7e62211c
SWIG: Rename libsigrok.i to lowlevel.i.
2014-07-17 18:30:49 +01:00
Martin Ling
fb336bf9e5
SWIG: Remove obsolete lowlevel wrapper methods for sr_output_format.
2014-07-17 18:30:49 +01:00
Bert Vermeulen
5842817e45
swig: Use new output API.
2014-07-14 19:22:58 +02:00
Uwe Hermann
3f239f0803
Rename various *PROBE* macros to *CHANNEL*.
...
This fixes parts of bug #259 .
2014-03-25 20:58:54 +01:00
Uwe Hermann
91aea754aa
Rename 'struct sr_probe' to 'struct sr_channel' everywhere.
...
This fixes parts of bug #259 .
2014-03-25 20:58:54 +01:00
Uwe Hermann
660e398fe9
Replace 'probe group' with 'channel group' everywhere.
...
The name 'probe' (and thus 'probe group') is a relic from the times when
sigrok was mostly about logic analyzers. Nowadays we support a lot more
device types where 'probe' is not really a good term and 'channel' is
much better suited.
This fixes parts of bug #259 .
2014-03-25 20:58:54 +01:00
Martin Ling
865730188c
python: Use OrderedDict for input formats.
2013-12-17 16:29:41 +00:00
Martin Ling
772b21d425
python: Split up Device class and add InputFileDevice class.
2013-12-17 16:10:08 +00:00
Martin Ling
01e9ff61c2
python: Give config keys an auto lowercase name if they have none defined.
2013-12-17 13:11:43 +00:00
Martin Ling
cad0acef5d
python: Add ConfigKey.info and ConfigKey.<id> shortcuts.
2013-12-17 13:01:35 +00:00
Martin Ling
14e8eb3353
python: ConfigInfo: return None from constructor if not available.
2013-12-17 13:01:11 +00:00
Martin Ling
8593c8e30d
python: Add ConfigInfo and DataType classes.
2013-12-17 12:47:49 +00:00
Martin Ling
409d85b3ac
python: Finish output format support.
2013-12-17 02:00:09 +01:00
Martin Ling
f0e764de7b
python: Finish input format support.
2013-12-17 02:00:09 +01:00
Martin Ling
a64198c8ea
python: Add initial support for input and output formats.
2013-12-17 02:00:09 +01:00
Martin Ling
945e23a57d
python: fix setting device/probe group configuration.
2013-12-17 02:00:09 +01:00
Martin Ling
4e5c64e358
python: whitespace fix.
2013-12-17 02:00:09 +01:00
Martin Ling
af54bac90a
python: Map probe group configuration to ProbeGroup attributes.
2013-11-08 01:03:17 +01:00
Martin Ling
417e9f3ab4
python: Add classes for probes and probe groups.
2013-11-08 01:03:17 +01:00
Martin Ling
54e7a3d0d7
probe_groups: Update Python bindings for API change.
2013-11-08 01:03:16 +01:00
Uwe Hermann
0e77b7cab3
python: Add Session.open_device().
2013-04-25 00:15:49 +02:00
Uwe Hermann
57dd5e63ec
python: sr_config's value field is called 'data'.
2013-04-24 23:43:56 +02:00
Martin Ling
3124e80bfe
python: Support keyword arguments to scan()
2013-04-24 23:20:47 +02:00
Martin Ling
f245b7669e
python: Add a ConfigKey class.
2013-04-24 23:20:47 +02:00
Martin Ling
05cfe1147a
python: Add conversion functions to/from GSList *
2013-04-24 23:20:47 +02:00
Uwe Hermann
50985c2019
GPL headers: Use correct project name.
2013-04-23 22:24:30 +02:00
Martin Ling
1e2bd8af12
python: fix Fraction -> GVariant tuple conversion.
2013-04-21 19:52:09 +01:00
Uwe Hermann
ac070c7744
Add initial, lowlevel Ruby bindings.
2013-04-19 20:19:14 +02:00
Martin Ling
91bea31f6b
python: unify pkg-config calls in setup.py.
2013-04-19 17:41:44 +01:00
Martin Ling
0cd466ccd8
python: Use --cflags-only-I to get includes in setup.py.
2013-04-19 17:30:44 +01:00
Martin Ling
9bbd6a6a0d
python: Add classes for values of API enums.
2013-04-19 17:07:56 +01:00
Uwe Hermann
816aed6c91
python: Add a Log class to control libsigrok logging.
2013-04-19 13:15:51 +02:00
Uwe Hermann
0021b07741
python: config_get() now returns SR_ERR_NA.
2013-04-19 11:58:40 +02:00
Uwe Hermann
c2ec42ce93
python: Add further properties to Analog class.
2013-04-18 17:45:38 +02:00
Martin Ling
15574a3cec
python: Add Analog class.
2013-04-18 17:45:38 +02:00
Uwe Hermann
3bc55222c8
python: Add missing license headers.
2013-04-17 17:26:46 +02:00
Martin Ling
08d59537c3
python: fix cdata to work with Python 3.x.
2013-04-17 15:39:13 +01:00
Martin Ling
1cad211547
python: Fix syntax to support Python 3.x.
2013-04-17 15:39:09 +01:00
Martin Ling
d8f6e041aa
python: Add high level API.
2013-04-17 14:30:31 +01:00
Martin Ling
a8d162f6d3
swig: Wrap additional GVariant operations.
2013-04-17 14:03:38 +01:00
Martin Ling
cccb599147
python: Release GIL during libsigrok calls.
2013-04-17 14:01:19 +01:00
Martin Ling
a25932e08c
python: Adding callback can fail, and refcount must be incremented.
2013-04-17 13:59:30 +01:00
Martin Ling
0220626994
python: use setuptools and put bindings into sigrok.core.lowlevel.
2013-04-17 03:50:27 +01:00
Uwe Hermann
9bb2f327a9
Python bindings: Small fix for Python 3 support.
2013-04-16 22:35:17 +02:00
Martin Ling
22f8cb54d1
swig: wrap g_variant_new_uint64.
2013-04-16 12:07:54 +02:00
Martin Ling
d962ed92a1
swig: include cdata interface.
2013-04-16 12:07:54 +02:00
Martin Ling
966fcbe3e3
swig: add function to cast from void * to struct sr_datafeed_logic *
2013-04-16 12:07:54 +02:00
Martin Ling
0849c7d310
python: support datafeed callbacks implemented in python.
2013-04-16 12:07:54 +02:00
Martin Ling
ab0340c804
swig: use standard wrappers for integer types.
2013-04-16 12:07:54 +02:00
Uwe Hermann
f02121f8d2
Python bindings: Fix reported libsigrok version.
...
Use 'pkg-config --modversion libsigrok' to get the libsigrok package
version. 'pkg-config --version libsigrok' ignores the argument and just
reports the version of pkg-config itself.
2013-04-16 00:58:29 +02:00
Uwe Hermann
8dc93c841f
Python bindings: Cosmetics.
2013-04-16 00:57:25 +02:00
Martin Ling
7aafb89274
Tell SWIG that gpointer is really void *.
2013-04-16 00:41:11 +02:00
Martin Ling
758b01adcb
Add SWIG interface file and build script for Python bindings.
2013-04-16 00:41:11 +02:00