Martin Ling
b31581f8a8
C++: Fix hash table initialisation in map_to_hash_variant.
2014-08-29 17:35:46 +01:00
Martin Ling
d01d231487
C++: Fix shared pointer handling for Device base class.
2014-08-29 14:01:51 +01:00
Martin Ling
f1830b225d
Clean Java files on any change that needs re-running SWIG.
2014-08-29 13:56:40 +01:00
Bert Vermeulen
7c03b56443
agilent-dmm: Fix value parser.
...
This considered 0.0 to be an invalid result for no good reason.
2014-08-28 17:44:24 +02:00
Peter Zotov
6f479a0a72
Add support for mcupro Logic16, a Saleae Logic16 clone.
...
From sigrok's point of view, this analyzer has two differences:
* It does not require uploading the firmware.
* It returns garbage in some registers used for sanity checks.
Saleae's software ignores that garbage; sigrok only does if it
specifically detects the mcupro clone.
2014-08-28 14:03:21 +02:00
Bert Vermeulen
f88c73732c
C++: Use sr_input_scan_*() API changes.
2014-08-28 12:19:55 +02:00
Bert Vermeulen
4f979115a4
input: sr_input_scan_*() now return a status code.
...
SR_OK: a match was found.
SR_ERR: no match.
SR_ERR_DATA: a match was found but the module cannot handle the input.
SR_OK_CONTINUE: some module didn't have enough data to be sure.
2014-08-28 00:22:13 +02:00
Bert Vermeulen
aad21bd866
Add error string for SR_OK_CONTINUE.
2014-08-28 00:19:36 +02:00
Bert Vermeulen
b7f446051c
Add SR_ERR_DATA.
2014-08-28 00:19:21 +02:00
Bert Vermeulen
cbd9e6e987
input/wav: Support for WAVE_FORMAT_EXTENSIBLE.
...
This is needed for supporting > 16-bit PCM samples.
2014-08-27 15:55:52 +02:00
Bert Vermeulen
962d43440a
input/wav: use our own endian macros.
...
These should work better on non-aligned memory locations.
2014-08-26 22:48:12 +02:00
Bert Vermeulen
5bf0dd6aff
Add RB16S and RB32S (signed) macros.
...
Also note signedness of all the endian macros.
2014-08-26 22:45:38 +02:00
Bert Vermeulen
06ad20bebf
input: Avoid warnings on all-zero static struct entries.
2014-08-26 12:38:41 +02:00
Martin Ling
7f5a036750
C++: Update InputFormat::get_options for latest version of input API.
2014-08-26 01:55:41 +02:00
Martin Ling
43942280bb
C++: Implement InputFormat::get_options()
2014-08-26 01:55:41 +02:00
Martin Ling
6e5240f418
C++: Correct ownership of InputDevice objects.
2014-08-26 01:55:41 +02:00
Martin Ling
ca3291e3ee
Update bindings for new input API.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
b84cba4dbf
input: Convert binary module.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
75cb428f9f
input: format_match() is not required in an input module.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
02e24c0ce0
input: Convert chronovu-la8 module.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
5e83cd741f
input/vcd: Minor code cleanup.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
33e4303baa
input: Only feed scanned header to streams, not scanned files.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
115fbe9410
input: Only use header buffer for modules that need it.
...
The buffer was leaking into modules that didn't ask for it.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
0a4d68f74b
input/wav: Send END packet on cleanup.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
c10ef17c23
input/vcd: Send END packet on cleanup.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
41d214f61a
input: Convert CSV module.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
3e2cd21115
Add second positive status code: SR_OK_CONTINUE.
...
Errors are thus always < 0, SR_OK == 0, and "OK but..." status
codes are > 0.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
57486a7528
input: sr_input_new() always allocates the instance buffer.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
fe4fe25bf5
input: Fix option enumeration.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
d65fcbcd41
input: Fix internal API docs.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
bd0bfaafd8
input: Actually return a NULL-terminated array.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
20e8882106
input: Frontends don't need to see SR_INPUT_META_*.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
7db0639495
input: Fixes and VCD.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
0f3dbc9530
input: Fix up API documentation.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
17bfaca62a
input: Introduce new input module API.
...
This is a work in progress.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
d514d35dab
input: make sr_input{_module} opaque to clients.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
d4c937749a
input: s/format/module in all naming.
2014-08-26 01:55:41 +02:00
Bert Vermeulen
81a3497655
fx2lafw: Code cleanup.
2014-08-26 01:49:00 +02:00
Bert Vermeulen
1685c27619
Avoid warnings on all-zero static struct entries.
2014-08-26 01:48:27 +02:00
Bert Vermeulen
84cbaf77b4
pipistrello-ols: Disable unused trigger stages.
...
Thanks to Magnus Karlsson for this fix.
2014-08-25 01:00:55 +02:00
Bert Vermeulen
acc885c755
pipistrello-ols: Preliminary port to current API.
2014-08-25 01:00:55 +02:00
magnuskarlsson
b94cff407f
DEMUX and RLE fixes
2014-08-25 01:00:55 +02:00
magnuskarlsson
1e0de84608
added edge triggers
2014-08-25 01:00:55 +02:00
magnuskarlsson
1f9bcd0f94
fixed typos
2014-08-25 01:00:55 +02:00
magnuskarlsson
72716f15be
fixed a problem with USB defines
2014-08-25 01:00:55 +02:00
magnuskarlsson
4bd80e1228
added pipistrello-ols
...
Conflicts:
configure.ac
src/hwdriver.c
2014-08-25 01:00:55 +02:00
Soeren Apel
562b7ae513
hameg-hmo / rigol-ds: Restore compatibility with std_dev_clear()
2014-08-24 16:54:38 +02:00
Martin Ling
14e1aa6df0
rigol-ds: Fix duplicated vendor string for Agilent devices.
2014-08-22 20:15:32 +01:00
Bert Vermeulen
81a69107de
build: Require libserialport version 0.2.0.
2014-08-20 23:39:27 +02:00
Aurelien Jacobs
01f6e330f8
serial: re-implement sr_serial_find_usb() using new libsp APIs
2014-08-20 17:48:26 +02:00