Daniel Elstner
564d009e88
Java: Remove obsolete SourceCallback interface
2015-10-26 07:11:20 +01:00
Martin Ling
d0fa4ac1e7
java: Don't use SWIG attribute mechanism.
...
Using the attribute mechanism results in badly named wrappers like
getLog_level(), as well as incompletely applied typemaps for templated
container types. If we just avoid this mechanism entirely, we get the
same foo() and set_foo() accessors as we have in the C++ API.
2015-10-24 22:12:41 +02:00
Martin Ling
d4db558810
java: Remove overrides for overloaded methods.
...
These are now wrapped correctly without needing this.
2015-10-24 22:12:41 +02:00
Martin Ling
f3095e7e2e
java: Remove need for conversion methods on container wrappers.
2015-10-24 22:12:41 +02:00
Martin Ling
c7855def61
SWIG: Declare template specialisations for containers before typemaps.
...
It seems this is necessary to correctly apply typemaps involving
these template specialisations.
2015-10-24 22:12:41 +02:00
Uwe Hermann
dd13d47a9e
bindings: Use SR_DF_ANALOG, drop SR_DF_ANALOG_OLD support.
...
All SR_DF_ANALOG_OLD packets are automatically converted to SR_DF_ANALOG
in the session already.
2015-10-21 00:29:29 +02:00
Uwe Hermann
5faebab290
SR_DF_ANALOG_OLD and sr_datafeed_analog_old renames.
...
Rename SR_DF_ANALOG to SR_DF_ANALOG_OLD, and 'struct sr_datafeed_analog'
to 'struct sr_datafeed_analog_old'.
2015-10-20 23:32:45 +02:00
Martin Ling
85aa1b599f
java: Fix SWIG warnings due to dodgy %extend redefinitions.
...
If we're going to %extend these methods, we need to firstly ignore the
originals, and secondly implement all possible argument combinations.
This fixes the rest of bug #417 .
2015-10-20 21:12:29 +01:00
Daniel Elstner
ee9953ef12
session: Make event source injection API private
...
Also remove the corresponding functionality from the bindings.
2015-10-17 17:40:42 +02:00
Uwe Hermann
52ff4f6a04
Rename libsigrokxx to the more common libsigrokcxx.
2015-01-17 18:52:43 +01:00
Aurelien Jacobs
24287ea9e3
Add a public API to list available serial ports.
2015-01-03 17:51:51 +01:00
Uwe Hermann
b71356d631
bindings: Re-enable Java, but ignore create_analog_packet().
...
This will need some fixing.
2014-11-14 16:58:38 +01:00
Martin Ling
7a36ceacb9
bindings: Support per-language extensions to EnumValue wrappers.
2014-11-12 02:27:05 +01:00
Martin Ling
062430a2fb
bindings: Use new %attributevector and %attributemap macros.
2014-11-12 02:27:05 +01:00
Martin Ling
3b16108573
bindings: Remove 'get_' prefix from all accessors.
2014-09-11 21:27:32 +01:00
Martin Ling
ca3291e3ee
Update bindings for new input API.
2014-08-26 01:55:41 +02:00
Martin Ling
8a314e90ff
java: Add documentation generation.
2014-08-10 15:47:14 +02:00
Martin Ling
bd4fda2407
bindings: Transfer C++ documentation strings to Python and Java wrappers.
2014-08-10 15:47:13 +02:00
Martin Ling
7a958e2a07
Java: correct input map type in create_output() wrapper.
2014-07-26 21:28:05 +01:00
Martin Ling
90bd765640
Java: Move interfaces into org.sigrok.core.interfaces, tidy build system.
2014-07-26 20:41:08 +01:00
Martin Ling
9455b6df6f
Java: ignore Meta::get_config() due to SWIG typemap issues.
2014-07-26 20:41:08 +01:00
Martin Ling
2928f47d64
bindings: Overhaul packet & payload classes.
2014-07-24 23:42:53 +01:00
Martin Ling
9fcf4d0b5b
Add Java bindings.
2014-07-18 21:34:57 +01:00