]>
sigrok.org Git - libsigrok.git/log
Bert Vermeulen [Tue, 19 Aug 2014 14:49:27 +0000 (16:49 +0200)]
input/wav: Send END packet on cleanup.
Bert Vermeulen [Tue, 19 Aug 2014 14:49:18 +0000 (16:49 +0200)]
input/vcd: Send END packet on cleanup.
Bert Vermeulen [Mon, 18 Aug 2014 22:14:47 +0000 (00:14 +0200)]
input: Convert CSV module.
Bert Vermeulen [Mon, 18 Aug 2014 22:12:32 +0000 (00:12 +0200)]
Add second positive status code: SR_OK_CONTINUE.
Errors are thus always < 0, SR_OK == 0, and "OK but..." status
codes are > 0.
Bert Vermeulen [Mon, 18 Aug 2014 22:09:09 +0000 (00:09 +0200)]
input: sr_input_new() always allocates the instance buffer.
Bert Vermeulen [Mon, 18 Aug 2014 22:07:36 +0000 (00:07 +0200)]
input: Fix option enumeration.
Bert Vermeulen [Fri, 15 Aug 2014 21:31:39 +0000 (23:31 +0200)]
input: Fix internal API docs.
Bert Vermeulen [Fri, 15 Aug 2014 21:31:20 +0000 (23:31 +0200)]
input: Actually return a NULL-terminated array.
Bert Vermeulen [Fri, 15 Aug 2014 17:59:38 +0000 (19:59 +0200)]
input: Frontends don't need to see SR_INPUT_META_*.
Bert Vermeulen [Wed, 13 Aug 2014 12:18:12 +0000 (14:18 +0200)]
input: Fixes and VCD.
Bert Vermeulen [Sun, 10 Aug 2014 16:44:39 +0000 (18:44 +0200)]
input: Fix up API documentation.
Bert Vermeulen [Sun, 10 Aug 2014 14:57:04 +0000 (16:57 +0200)]
input: Introduce new input module API.
This is a work in progress.
Bert Vermeulen [Sun, 3 Aug 2014 13:12:49 +0000 (15:12 +0200)]
input: make sr_input{_module} opaque to clients.
Bert Vermeulen [Sun, 3 Aug 2014 13:11:24 +0000 (15:11 +0200)]
input: s/format/module in all naming.
Bert Vermeulen [Mon, 25 Aug 2014 23:49:00 +0000 (01:49 +0200)]
fx2lafw: Code cleanup.
Bert Vermeulen [Mon, 25 Aug 2014 23:48:27 +0000 (01:48 +0200)]
Avoid warnings on all-zero static struct entries.
Bert Vermeulen [Sun, 24 Aug 2014 23:00:00 +0000 (01:00 +0200)]
pipistrello-ols: Disable unused trigger stages.
Thanks to Magnus Karlsson for this fix.
Bert Vermeulen [Fri, 22 Aug 2014 12:59:04 +0000 (14:59 +0200)]
pipistrello-ols: Preliminary port to current API.
magnuskarlsson [Thu, 5 Jun 2014 21:28:50 +0000 (14:28 -0700)]
DEMUX and RLE fixes
magnuskarlsson [Thu, 29 May 2014 01:53:22 +0000 (18:53 -0700)]
added edge triggers
magnuskarlsson [Sat, 10 May 2014 23:15:19 +0000 (16:15 -0700)]
fixed typos
magnuskarlsson [Sat, 10 May 2014 23:04:58 +0000 (16:04 -0700)]
fixed a problem with USB defines
magnuskarlsson [Sat, 10 May 2014 22:44:13 +0000 (15:44 -0700)]
added pipistrello-ols
Conflicts:
configure.ac
src/hwdriver.c
Soeren Apel [Sun, 24 Aug 2014 14:54:38 +0000 (16:54 +0200)]
hameg-hmo / rigol-ds: Restore compatibility with std_dev_clear()
Martin Ling [Fri, 22 Aug 2014 19:15:32 +0000 (20:15 +0100)]
rigol-ds: Fix duplicated vendor string for Agilent devices.
Bert Vermeulen [Wed, 20 Aug 2014 21:39:27 +0000 (23:39 +0200)]
build: Require libserialport version 0.2.0.
Aurelien Jacobs [Tue, 1 Jul 2014 20:33:03 +0000 (22:33 +0200)]
serial: re-implement sr_serial_find_usb() using new libsp APIs
Bert Vermeulen [Wed, 20 Aug 2014 15:33:09 +0000 (17:33 +0200)]
output: Fix options enumeration. Again.
Martin Ling [Wed, 20 Aug 2014 11:58:33 +0000 (12:58 +0100)]
Close zip file at end of sr_session_file_check.
From patch sent to sigrok-devel by jerryxjtu.
Marcus Comstedt [Wed, 20 Aug 2014 12:15:24 +0000 (14:15 +0200)]
configure.ac: Fix jni.h check when cross compiling
Since AX_JNI_INCLUDE_DIR does not work for cross compilation, don't
invoke it when cross compiling. Also, add a configure option to
set the jni.h include path manually if needed.
Marc Schink [Wed, 20 Aug 2014 11:54:53 +0000 (13:54 +0200)]
output: Allocate additional memory for NULL terminator.
Best regards,
Marc
>From
a7228150fdea91a65b5d70359bf51b87d2572edf Mon Sep 17 00:00:00 2001
From: Marc Schink <redacted>
Date: Wed, 20 Aug 2014 05:34:57 -0400
Subject: [PATCH] output: Allocate additional memory for NULL terminator.
Marc Schink [Wed, 20 Aug 2014 11:55:04 +0000 (13:55 +0200)]
ikalogic-scanaplus: Free device context to fix memory leak.
Best regards,
Marc
>From
779ef3a1150b3679ab357ceb0e2f50785ad90d28 Mon Sep 17 00:00:00 2001
From: Marc Schink <redacted>
Date: Wed, 20 Aug 2014 05:42:07 -0400
Subject: [PATCH] ikalogic-scanaplus: Free device context to fix memory leak.
Bert Vermeulen [Mon, 18 Aug 2014 21:55:39 +0000 (23:55 +0200)]
output: Fix double free.
Bert Vermeulen [Mon, 18 Aug 2014 21:54:46 +0000 (23:54 +0200)]
output: Fix output option enumeration.
Uwe Hermann [Sun, 17 Aug 2014 15:32:46 +0000 (17:32 +0200)]
unitests: Adapt to recent API changes.
Marcus Comstedt [Sun, 17 Aug 2014 12:20:01 +0000 (14:20 +0200)]
saleae-logic16: Recognize FPGA FIFO overflow status
Marcus Comstedt [Sat, 16 Aug 2014 21:44:19 +0000 (23:44 +0200)]
Makefile.am: Fix out-of-tree build for Python bindings
Marcus Comstedt [Fri, 15 Aug 2014 13:55:22 +0000 (15:55 +0200)]
configure.ac: Look for python-2.7.pc as well when making bindings
Marcus Comstedt [Thu, 14 Aug 2014 21:07:45 +0000 (23:07 +0200)]
Makefile.am: Fix out-of-tree build for C++ and Java bindings
Marcus Comstedt [Fri, 15 Aug 2014 12:42:18 +0000 (14:42 +0200)]
Makefile.am: Fix doxygen invocation in out-of-tree build
Marcus Comstedt [Thu, 14 Aug 2014 21:04:06 +0000 (23:04 +0200)]
Fix include paths for out-of-tree builds
Martin Ling [Sun, 17 Aug 2014 10:44:05 +0000 (11:44 +0100)]
bindings: update for sr_output_options_{get,free} API change.
Bert Vermeulen [Fri, 15 Aug 2014 18:21:50 +0000 (20:21 +0200)]
output: Constify module options.
Bert Vermeulen [Fri, 15 Aug 2014 18:16:31 +0000 (20:16 +0200)]
output: Actually return a NULL-terminated array.
This returned an array of structs with an NULL-ed element at the end.
The drivers still do this, but the wrappers now make and free a NULL-
terminated array around it.
sr_output_options_free() now takes the pointer returned by
sr_output_options_get(), instead of the module owning it.
Soeren Apel [Wed, 13 Aug 2014 14:33:38 +0000 (16:33 +0200)]
hameg-hmo: Make sure the enabled_channels list is empty before populating it
Previous runs of dev_acquisition_start() keep the enabled_channels list
populated if they fail. This means that once an invalid channel
configuration was detected, it will be detected again even if the channel
configuration was changed. With this change, the list will be cleared
before being populated so that any stale entries are removed.
Bert Vermeulen [Wed, 13 Aug 2014 12:34:24 +0000 (14:34 +0200)]
session: Remove irrelevant logging.
Bert Vermeulen [Wed, 13 Aug 2014 12:30:30 +0000 (14:30 +0200)]
output/wav: Minor code cleanup.
Bert Vermeulen [Wed, 13 Aug 2014 12:22:41 +0000 (14:22 +0200)]
output: Deal properly with NULL (no) options on a new output instance.
Uwe Hermann [Mon, 11 Aug 2014 11:20:50 +0000 (13:20 +0200)]
tests: Factor out srtest_setup() and srtest_teardown().
Uwe Hermann [Mon, 11 Aug 2014 11:15:43 +0000 (13:15 +0200)]
sr_session_new(): Return SR_ERR_ARG upon invalid argument.
(instead of segfaulting)
Uwe Hermann [Mon, 11 Aug 2014 10:37:54 +0000 (12:37 +0200)]
Add a small set of unit tests for session handling.
Uwe Hermann [Mon, 11 Aug 2014 10:31:01 +0000 (12:31 +0200)]
session_file.c: Drop left-over extern.
Uwe Hermann [Sun, 10 Aug 2014 16:56:54 +0000 (18:56 +0200)]
Doxygen: Exclude more non-public files and directories.
Uwe Hermann [Sun, 10 Aug 2014 16:56:24 +0000 (18:56 +0200)]
trigger.c: Add Doxygen @file and @defgroup tags.
Uwe Hermann [Sun, 10 Aug 2014 16:18:30 +0000 (18:18 +0200)]
Makefile.am: Silence some more Doxygen output.
This silences stuff like this (among others), depending on the
Doxygen version used:
Warning: Tag `XML_SCHEMA' at line 1814 of file `Doxyfile' has become
obsolete. To avoid this warning please remove this line from your
configuration file or upgrade it using "doxygen -u"
Uwe Hermann [Sun, 10 Aug 2014 15:59:34 +0000 (17:59 +0200)]
Doxygen: Silence Doxygen warnings by default.
This allows for a clean build per default. Developers can enable
those switches while writing documentation to get a few useful
warnings.
Uwe Hermann [Sun, 10 Aug 2014 15:27:43 +0000 (17:27 +0200)]
Doxygen: Add a few missing @param lines for sessions.
This fixes a bunch of Doxygen warnings.
Martin Ling [Fri, 1 Aug 2014 19:08:44 +0000 (20:08 +0100)]
bindings: Transfer C++ method parameter documentation to Python/Java bindings.
Martin Ling [Sun, 27 Jul 2014 11:05:44 +0000 (12:05 +0100)]
C++: Add parameter documentation and additional method descriptions.
Martin Ling [Fri, 1 Aug 2014 18:29:48 +0000 (19:29 +0100)]
java: Add documentation generation.
Martin Ling [Fri, 1 Aug 2014 18:22:24 +0000 (19:22 +0100)]
python: Add documentation generation.
Martin Ling [Fri, 1 Aug 2014 17:17:33 +0000 (18:17 +0100)]
bindings: Transfer C++ documentation strings to Python and Java wrappers.
Martin Ling [Fri, 1 Aug 2014 16:40:56 +0000 (17:40 +0100)]
C++ bindings: Attach documentation to enum wrapper classes.
Martin Ling [Fri, 1 Aug 2014 16:18:09 +0000 (17:18 +0100)]
C++ bindings: Reimplement enums.py using doxygen XML output instead of gccxml.
Soeren Apel [Wed, 6 Aug 2014 14:06:09 +0000 (16:06 +0200)]
Fix typo in the Hameg HMO driver and add some error message for when the float comparison breaks
Uwe Hermann [Mon, 4 Aug 2014 20:00:17 +0000 (22:00 +0200)]
configure.ac: Don't build BeagleLogic where a build would fail.
The BeagleLogic driver needs sys/mman.h and sys/ioctl.h in order to
build, so disable the driver if those headers aren't available.
This is the case (for example) on MinGW.
Bert Vermeulen [Sun, 3 Aug 2014 12:09:04 +0000 (14:09 +0200)]
output/vcd: Drop obsolete string.
Bert Vermeulen [Sun, 3 Aug 2014 12:00:07 +0000 (14:00 +0200)]
hameg-hmo: Implement SR_CONF_SCAN_OPTIONS.
Bert Vermeulen [Sat, 2 Aug 2014 23:24:30 +0000 (01:24 +0200)]
output: Check options hash before destroying.
Bert Vermeulen [Sat, 2 Aug 2014 23:16:03 +0000 (01:16 +0200)]
output: Move option checks to the wrapper.
Output modules are now guaranteed:
- Every option is always given, with the default value if not supplied
by the user, and is the right GVariantType.
- No invalid options are ever passed.
Bert Vermeulen [Sat, 2 Aug 2014 17:20:00 +0000 (19:20 +0200)]
output: Modules can keep track of option resources without wrapper help.
Bert Vermeulen [Sat, 2 Aug 2014 01:48:55 +0000 (03:48 +0200)]
output/wav: Add 'scale' option.
Audio tools processing WAV failes generally need the samples to be in
the range -1 to +1. The scale option adds postprocessing to any samples
going into a WAV file, by dividing the sample values by the given factor.
Janne Huttunen [Wed, 30 Jul 2014 07:28:58 +0000 (10:28 +0300)]
Implement Brymen BM25x series as a serial DMM.
The Brymen BM25x series supports the BC-20X that is an opto-isolated
serial cable. The link seems to be unidirectional i.e. when activated
the DMM periodically sends updates to the host while the host cannot
control the DMM in any way.
The protocol is documented in "6000-count-digital-multimeters-r1.pdf"
that is available from the manufacturer. Every 15 byte packet consists
of a bitmap where the bits correspond to segments or symbols on the
LCD display i.e. the DMM essentially sends the contents of its screen
to the host in every update. This driver then decodes the measured
quantity, unit and its value from the bitmap.
Bert Vermeulen [Fri, 1 Aug 2014 14:31:13 +0000 (16:31 +0200)]
Doxygen: Update paths.
Bert Vermeulen [Fri, 1 Aug 2014 10:04:20 +0000 (12:04 +0200)]
input/vcd: Make less noise in format match failure.
Bert Vermeulen [Fri, 1 Aug 2014 10:03:42 +0000 (12:03 +0200)]
input/csv: Match format on .csv extension in filename.
Bert Vermeulen [Fri, 1 Aug 2014 10:02:09 +0000 (12:02 +0200)]
input/wav: Deal with IEEE float samples in WAV files.
This also skips chunks before the 'data' chunk in WAV files, as
this is quite common.
Bert Vermeulen [Fri, 1 Aug 2014 10:00:51 +0000 (12:00 +0200)]
output/wav: Fix channel deinterleaving.
Bert Vermeulen [Fri, 1 Aug 2014 09:57:59 +0000 (11:57 +0200)]
output/analog: Fix channel deinterleaving.
Bert Vermeulen [Sat, 26 Jul 2014 15:19:52 +0000 (17:19 +0200)]
output/wav: Initial module implementation.
Bert Vermeulen [Sat, 26 Jul 2014 09:00:51 +0000 (11:00 +0200)]
output/wav: Initial module skeleton.
Bert Vermeulen [Mon, 28 Jul 2014 23:56:19 +0000 (01:56 +0200)]
demo: Attach analog generator to channel, not channel group.
This also adds a new channel group "Analog", which has all analog
channels in it.
Bert Vermeulen [Mon, 28 Jul 2014 13:56:17 +0000 (15:56 +0200)]
output: Rename instance private storage pointer to priv.
This makes it consistent with other libsigrok fields used for this purpose.
Bert Vermeulen [Sun, 27 Jul 2014 22:01:03 +0000 (00:01 +0200)]
demo: Support changing the amplitude of analog channels.
Bert Vermeulen [Sun, 27 Jul 2014 21:59:49 +0000 (23:59 +0200)]
Add config key for amplitude.
This is intended for setting (or getting) the amplitude of a source
which doesn't really have an MQ associated with it, such as the demo
driver's analog channels.
Martin Ling [Sat, 26 Jul 2014 20:28:05 +0000 (21:28 +0100)]
Java: correct input map type in create_output() wrapper.
Martin Ling [Sat, 26 Jul 2014 18:11:11 +0000 (19:11 +0100)]
Java: Move interfaces into org.sigrok.core.interfaces, tidy build system.
Martin Ling [Sat, 26 Jul 2014 19:37:53 +0000 (20:37 +0100)]
Java: ignore Meta::get_config() due to SWIG typemap issues.
Martin Ling [Sat, 26 Jul 2014 17:34:40 +0000 (18:34 +0100)]
Add bindings/swig/classes.i to Python binding dependencies.
Martin Ling [Sat, 26 Jul 2014 17:34:20 +0000 (18:34 +0100)]
Fix python-quietclean Makefile target.
Martin Ling [Sat, 26 Jul 2014 15:03:25 +0000 (16:03 +0100)]
Update bindings to use new output API.
Bert Vermeulen [Fri, 25 Jul 2014 03:56:52 +0000 (05:56 +0200)]
output: Finish output module API wrappers.
The sr_output and sr_output_module structs are now no longer accessible
from the client.
Martin Ling [Thu, 24 Jul 2014 14:01:26 +0000 (15:01 +0100)]
bindings: Add Channel::get_index() method.
Martin Ling [Thu, 24 Jul 2014 13:45:58 +0000 (14:45 +0100)]
bindings: Add Device::get_description() method.
Martin Ling [Thu, 24 Jul 2014 12:17:19 +0000 (13:17 +0100)]
bindings: Change return type of config_list to Glib::VariantContainerBase.
Martin Ling [Thu, 24 Jul 2014 11:43:27 +0000 (12:43 +0100)]
bindings: Revise Session::append() API.
Martin Ling [Thu, 24 Jul 2014 11:41:49 +0000 (12:41 +0100)]
bindings: Support get_channel_groups() on base Device class.
Martin Ling [Sun, 20 Jul 2014 01:20:13 +0000 (02:20 +0100)]
bindings: Overhaul packet & payload classes.
Martin Ling [Thu, 24 Jul 2014 17:26:19 +0000 (18:26 +0100)]
C++: Fix leak of GVariant in ConfigKey::parse_string().
Martin Ling [Thu, 24 Jul 2014 17:10:33 +0000 (18:10 +0100)]
C++: Fix Packet destructor for packets without payload.