]> sigrok.org Git - libsigrok.git/log
libsigrok.git
9 years agoJava: ignore Meta::get_config() due to SWIG typemap issues.
Martin Ling [Sat, 26 Jul 2014 19:37:53 +0000 (20:37 +0100)]
Java: ignore Meta::get_config() due to SWIG typemap issues.

9 years agoAdd bindings/swig/classes.i to Python binding dependencies.
Martin Ling [Sat, 26 Jul 2014 17:34:40 +0000 (18:34 +0100)]
Add bindings/swig/classes.i to Python binding dependencies.

9 years agoFix python-quietclean Makefile target.
Martin Ling [Sat, 26 Jul 2014 17:34:20 +0000 (18:34 +0100)]
Fix python-quietclean Makefile target.

9 years agoUpdate bindings to use new output API.
Martin Ling [Sat, 26 Jul 2014 15:03:25 +0000 (16:03 +0100)]
Update bindings to use new output API.

9 years agooutput: Finish output module API wrappers.
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.

9 years agobindings: Add Channel::get_index() method.
Martin Ling [Thu, 24 Jul 2014 14:01:26 +0000 (15:01 +0100)]
bindings: Add Channel::get_index() method.

9 years agobindings: Add Device::get_description() method.
Martin Ling [Thu, 24 Jul 2014 13:45:58 +0000 (14:45 +0100)]
bindings: Add Device::get_description() method.

9 years agobindings: Change return type of config_list to Glib::VariantContainerBase.
Martin Ling [Thu, 24 Jul 2014 12:17:19 +0000 (13:17 +0100)]
bindings: Change return type of config_list to Glib::VariantContainerBase.

9 years agobindings: Revise Session::append() API.
Martin Ling [Thu, 24 Jul 2014 11:43:27 +0000 (12:43 +0100)]
bindings: Revise Session::append() API.

9 years agobindings: Support get_channel_groups() on base Device class.
Martin Ling [Thu, 24 Jul 2014 11:41:49 +0000 (12:41 +0100)]
bindings: Support get_channel_groups() on base Device class.

9 years agobindings: Overhaul packet & payload classes.
Martin Ling [Sun, 20 Jul 2014 01:20:13 +0000 (02:20 +0100)]
bindings: Overhaul packet & payload classes.

9 years agoC++: Fix leak of GVariant in ConfigKey::parse_string().
Martin Ling [Thu, 24 Jul 2014 17:26:19 +0000 (18:26 +0100)]
C++: Fix leak of GVariant in ConfigKey::parse_string().

9 years agoC++: Fix Packet destructor for packets without payload.
Martin Ling [Thu, 24 Jul 2014 17:10:33 +0000 (18:10 +0100)]
C++: Fix Packet destructor for packets without payload.

9 years agoC++: Add internal lookup to find Channel object from sr_channel *.
Martin Ling [Thu, 24 Jul 2014 02:22:44 +0000 (03:22 +0100)]
C++: Add internal lookup to find Channel object from sr_channel *.

9 years agoC++: Centralise code for preparing shared pointers.
Martin Ling [Thu, 24 Jul 2014 02:12:40 +0000 (03:12 +0100)]
C++: Centralise code for preparing shared pointers.

9 years agodemo: Free analog channel groups when done with them.
Bert Vermeulen [Thu, 24 Jul 2014 19:01:39 +0000 (21:01 +0200)]
demo: Free analog channel groups when done with them.

This fixes a memory leak.

9 years agostd: Free channel groups from device instances as well.
Bert Vermeulen [Thu, 24 Jul 2014 19:01:08 +0000 (21:01 +0200)]
std: Free channel groups from device instances as well.

9 years agoAdd Doxyfile for C++ bindings and adaptations to C++ header file.
Martin Ling [Wed, 23 Jul 2014 21:40:17 +0000 (22:40 +0100)]
Add Doxyfile for C++ bindings and adaptations to C++ header file.

9 years agobindings: Add Packet.get_type() method.
Martin Ling [Sun, 20 Jul 2014 00:38:31 +0000 (01:38 +0100)]
bindings: Add Packet.get_type() method.

9 years agoAdd bindings for getting/setting session trigger.
Martin Ling [Sat, 19 Jul 2014 21:45:35 +0000 (22:45 +0100)]
Add bindings for getting/setting session trigger.

9 years agobuild: More dependency fixes.
Bert Vermeulen [Wed, 23 Jul 2014 14:33:42 +0000 (16:33 +0200)]
build: More dependency fixes.

9 years agobuild: If language binding dependency checks fail, summarize the reason.
Bert Vermeulen [Wed, 23 Jul 2014 12:36:11 +0000 (14:36 +0200)]
build: If language binding dependency checks fail, summarize the reason.

9 years agobuild: Add more dependency checks for building bindings.
Bert Vermeulen [Wed, 23 Jul 2014 10:57:37 +0000 (12:57 +0200)]
build: Add more dependency checks for building bindings.

9 years agobuild: We only need python 2.x for generating the bindings.
Bert Vermeulen [Wed, 23 Jul 2014 10:45:41 +0000 (12:45 +0200)]
build: We only need python 2.x for generating the bindings.

9 years agofx2lafw: Check for valid samplerate before setting.
Bert Vermeulen [Wed, 23 Jul 2014 10:32:35 +0000 (12:32 +0200)]
fx2lafw: Check for valid samplerate before setting.

9 years agodemo: Support continuous acquisition.
Bert Vermeulen [Wed, 23 Jul 2014 02:53:25 +0000 (04:53 +0200)]
demo: Support continuous acquisition.

9 years agofx2lafw: Fix continuous mode.
Bert Vermeulen [Tue, 22 Jul 2014 22:24:23 +0000 (00:24 +0200)]
fx2lafw: Fix continuous mode.

9 years agoDrop references to obsolete sigrok-commits mailing list.
Uwe Hermann [Tue, 22 Jul 2014 21:54:18 +0000 (23:54 +0200)]
Drop references to obsolete sigrok-commits mailing list.

9 years agosession*.c: Remove some unneeded lines.
Uwe Hermann [Tue, 22 Jul 2014 21:25:24 +0000 (23:25 +0200)]
session*.c: Remove some unneeded lines.

9 years agoconfigure: Show glibmm and gobject versions in the summary.
Uwe Hermann [Tue, 22 Jul 2014 21:15:11 +0000 (23:15 +0200)]
configure: Show glibmm and gobject versions in the summary.

9 years agoconfigure.ac: Add versioned dependency on pygobject.
Uwe Hermann [Tue, 22 Jul 2014 21:11:44 +0000 (23:11 +0200)]
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).

9 years agoMakefile.am: Add beaglelogic.h so it ends up in the tarball.
Uwe Hermann [Tue, 22 Jul 2014 20:50:06 +0000 (22:50 +0200)]
Makefile.am: Add beaglelogic.h so it ends up in the tarball.

9 years agoC++ bindings: Make enums.py work with newer versions of pygccxml.
Jens Steinhauser [Tue, 22 Jul 2014 10:40:57 +0000 (12:40 +0200)]
C++ bindings: Make enums.py work with newer versions of pygccxml.

9 years agoReorganize project tree.
Bert Vermeulen [Mon, 21 Jul 2014 19:27:33 +0000 (21:27 +0200)]
Reorganize project tree.

9 years agobuild: Portability fixes.
Bert Vermeulen [Tue, 22 Jul 2014 16:17:34 +0000 (18:17 +0200)]
build: Portability fixes.

This also defers reporting on enabled drivers until it's really decided.

9 years agopython: Fix build dependency.
Bert Vermeulen [Tue, 22 Jul 2014 02:31:54 +0000 (04:31 +0200)]
python: Fix build dependency.

This also makes it more portable, notably to non-bash shells.

9 years agobeaglelogic: Implementation with soft triggers
Kumar Abhishek [Mon, 21 Jul 2014 20:11:53 +0000 (01:41 +0530)]
beaglelogic: Implementation with soft triggers

Signed-off-by: Kumar Abhishek <redacted>
9 years agobeaglelogic: Initial driver skeleton.
Kumar Abhishek [Mon, 21 Jul 2014 20:11:52 +0000 (01:41 +0530)]
beaglelogic: Initial driver skeleton.

9 years agoRemove unnecessary level of indirection for source manipulation.
Bert Vermeulen [Mon, 21 Jul 2014 13:08:53 +0000 (15:08 +0200)]
Remove unnecessary level of indirection for source manipulation.

9 years agoGet rid of global session.
Bert Vermeulen [Mon, 21 Jul 2014 13:08:17 +0000 (15:08 +0200)]
Get rid of global session.

9 years agoAdd struct sr_session parameter to all session source backends.
Bert Vermeulen [Mon, 21 Jul 2014 12:35:27 +0000 (14:35 +0200)]
Add struct sr_session parameter to all session source backends.

9 years agoscpi: sr_scpi_scan_resource() never returns more than one sdi.
Bert Vermeulen [Sat, 19 Jul 2014 13:31:08 +0000 (15:31 +0200)]
scpi: sr_scpi_scan_resource() never returns more than one sdi.

No need to always make it a one-entry GSList.

9 years agopython: Silence irrelevant build warnings.
Bert Vermeulen [Sun, 20 Jul 2014 20:37:32 +0000 (22:37 +0200)]
python: Silence irrelevant build warnings.

9 years agomake check: Update to new session API.
Uwe Hermann [Sun, 20 Jul 2014 10:09:10 +0000 (12:09 +0200)]
make check: Update to new session API.

9 years agoFix 'make check' invocation wrt new libsigrok.h location.
Uwe Hermann [Sun, 20 Jul 2014 10:03:29 +0000 (12:03 +0200)]
Fix 'make check' invocation wrt new libsigrok.h location.

9 years agopython: Don't install as a zip file.
Bert Vermeulen [Sat, 19 Jul 2014 20:22:12 +0000 (22:22 +0200)]
python: Don't install as a zip file.

9 years agobuild: Silence language bindings building.
Bert Vermeulen [Sat, 19 Jul 2014 18:21:19 +0000 (20:21 +0200)]
build: Silence language bindings building.

9 years agoconfigure: Add --enable-bindings switch.
Bert Vermeulen [Sat, 19 Jul 2014 18:20:47 +0000 (20:20 +0200)]
configure: Add --enable-bindings switch.

9 years agobindings: Filter out various pygccxml noise.
Bert Vermeulen [Sat, 19 Jul 2014 17:48:01 +0000 (19:48 +0200)]
bindings: Filter out various pygccxml noise.

9 years agoAdditional build system fixes for C++/Python/Java bindings.
Martin Ling [Sat, 19 Jul 2014 16:05:29 +0000 (17:05 +0100)]
Additional build system fixes for C++/Python/Java bindings.

9 years agoAssorted build system fixes for C++/Python/Java bindings.
Martin Ling [Sat, 19 Jul 2014 15:23:45 +0000 (16:23 +0100)]
Assorted build system fixes for C++/Python/Java bindings.

9 years agoPass configured prefix to python setup.py install step.
Martin Ling [Sat, 19 Jul 2014 14:43:03 +0000 (15:43 +0100)]
Pass configured prefix to python setup.py install step.

9 years agoSuppress some SWIG warnings that don't matter.
Martin Ling [Sat, 19 Jul 2014 14:27:41 +0000 (15:27 +0100)]
Suppress some SWIG warnings that don't matter.

9 years agoFix building Python bindings with pygobject >= 3.7.91.
Martin Ling [Sat, 19 Jul 2014 14:10:25 +0000 (15:10 +0100)]
Fix building Python bindings with pygobject >= 3.7.91.

9 years agoconfigure: Fix java --enable check.
Bert Vermeulen [Fri, 18 Jul 2014 19:20:40 +0000 (21:20 +0200)]
configure: Fix java --enable check.

9 years agoconfigure: Add C++ bindings dependency checks.
Bert Vermeulen [Fri, 18 Jul 2014 19:12:31 +0000 (21:12 +0200)]
configure: Add C++ bindings dependency checks.

9 years agoconfigure: Deal with missing macro a bit better.
Bert Vermeulen [Fri, 18 Jul 2014 17:55:38 +0000 (19:55 +0200)]
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.

9 years agoRemove obsolete low-level language bindings.
Martin Ling [Sun, 4 May 2014 20:13:52 +0000 (21:13 +0100)]
Remove obsolete low-level language bindings.

9 years agoAdd Java bindings.
Martin Ling [Sun, 27 Apr 2014 08:48:18 +0000 (09:48 +0100)]
Add Java bindings.

9 years agoReimplement high-level Python bindings on top of SWIG/C++ bindings.
Martin Ling [Thu, 17 Jul 2014 17:45:29 +0000 (18:45 +0100)]
Reimplement high-level Python bindings on top of SWIG/C++ bindings.

9 years agoAdd new generic SWIG bindings based on C++ classes.
Martin Ling [Thu, 17 Jul 2014 17:45:05 +0000 (18:45 +0100)]
Add new generic SWIG bindings based on C++ classes.

9 years agoAdd C++ bindings.
Martin Ling [Thu, 17 Jul 2014 17:39:49 +0000 (18:39 +0100)]
Add C++ bindings.

9 years agoChange prototype of sr_trigger_new to take const char *.
Martin Ling [Thu, 17 Jul 2014 17:39:17 +0000 (18:39 +0100)]
Change prototype of sr_trigger_new to take const char *.

9 years agoSWIG: Rename libsigrok.i to lowlevel.i.
Martin Ling [Mon, 21 Apr 2014 00:30:41 +0000 (01:30 +0100)]
SWIG: Rename libsigrok.i to lowlevel.i.

9 years agoSWIG: Remove obsolete lowlevel wrapper methods for sr_output_format.
Martin Ling [Mon, 21 Apr 2014 01:13:10 +0000 (02:13 +0100)]
SWIG: Remove obsolete lowlevel wrapper methods for sr_output_format.

9 years agoMove public headers into include/libsigrok.
Martin Ling [Sat, 26 Apr 2014 02:03:11 +0000 (03:03 +0100)]
Move public headers into include/libsigrok.

This is needed so that the C++ bindings, the header for which
references "libsigrok/libsigrok.h", can have a valid include
directory passed to build them before the headers are installed.

9 years agoRevise session API to allow for multiple sessions in future.
Martin Ling [Sun, 4 May 2014 22:07:00 +0000 (23:07 +0100)]
Revise session API to allow for multiple sessions in future.

9 years agogmc-mh-1x-2x-rs232: Support for Metrahit 16T and similiar models.
Matthias Heidbrink [Thu, 17 Jul 2014 10:40:02 +0000 (12:40 +0200)]
gmc-mh-1x-2x-rs232: Support for Metrahit 16T and similiar models.

9 years agoswig: Use new output API.
Bert Vermeulen [Mon, 14 Jul 2014 17:22:58 +0000 (19:22 +0200)]
swig: Use new output API.

9 years agoMove conditional driver cruft to separate source file.
Bert Vermeulen [Fri, 11 Jul 2014 00:14:14 +0000 (02:14 +0200)]
Move conditional driver cruft to separate source file.

9 years agoautoconf: Use DRIVER macro to declare drivers.
Bert Vermeulen [Thu, 10 Jul 2014 15:26:22 +0000 (17:26 +0200)]
autoconf: Use DRIVER macro to declare drivers.

9 years agoMinor code cleanup.
Bert Vermeulen [Wed, 9 Jul 2014 18:06:19 +0000 (20:06 +0200)]
Minor code cleanup.

9 years agotesto: Remove unused dependency on libserialport.
Bert Vermeulen [Wed, 9 Jul 2014 16:09:01 +0000 (18:09 +0200)]
testo: Remove unused dependency on libserialport.

9 years agosaleae-logic16: Drop unused variable.
Bert Vermeulen [Tue, 8 Jul 2014 13:20:52 +0000 (15:20 +0200)]
saleae-logic16: Drop unused variable.

9 years agotesto: Detach kernel driver as needed, and code optimization.
Bert Vermeulen [Mon, 7 Jul 2014 15:37:36 +0000 (17:37 +0200)]
testo: Detach kernel driver as needed, and code optimization.

Thanks to Aurelien Jacobs for the CRC check code improvement.

9 years agotesto: More robust probing and packet checking.
Bert Vermeulen [Sun, 6 Jul 2014 23:14:06 +0000 (01:14 +0200)]
testo: More robust probing and packet checking.

The CRC in every packet is now also checked. Thanks to Aurelien
Jacobs for the CRC function.

9 years agotesto: Initial driver implementation.
Bert Vermeulen [Sat, 5 Jul 2014 19:49:39 +0000 (21:49 +0200)]
testo: Initial driver implementation.

This adds support for the Testo 435-4, with differential pressure
measurement built in, and probes for wind speed and temperature/humidity
at 293 kelvin.

Support for other probe types will have to be added by people with
access to those probes.

Models other than the 435-4 may well work unchanged, but this is
difficult to predict. Most likely new unit types will need to be added,
and possibly the protocol handling may need to be more flexible and
model-dependent to cope with 5-byte values and other minor changes
in the protocol.

9 years agotesto: Initial driver skeleton.
Bert Vermeulen [Mon, 30 Jun 2014 23:34:29 +0000 (01:34 +0200)]
testo: Initial driver skeleton.

9 years agoAdd printers for wind speed, pressure and humidity at 293 kelvin.
Bert Vermeulen [Sat, 5 Jul 2014 19:47:21 +0000 (21:47 +0200)]
Add printers for wind speed, pressure and humidity at 293 kelvin.

9 years agoAdd MQ/units for wind speed, pressure and humidity at 293 kelvin.
Bert Vermeulen [Sat, 5 Jul 2014 19:46:30 +0000 (21:46 +0200)]
Add MQ/units for wind speed, pressure and humidity at 293 kelvin.

9 years agoAdd VID/PID for Testo 435.
Bert Vermeulen [Sat, 5 Jul 2014 19:45:54 +0000 (21:45 +0200)]
Add VID/PID for Testo 435.

9 years agomanson-hcs-3xxx: Use maximum voltage and current read from device.
Matthias Heidbrink [Thu, 26 Jun 2014 15:56:54 +0000 (17:56 +0200)]
manson-hcs-3xxx: Use maximum voltage and current read from device.

9 years agoserial: docs.
Matthias Heidbrink [Thu, 26 Jun 2014 12:22:50 +0000 (14:22 +0200)]
serial: docs.

9 years agomanson-hcs-3xxx: Implemented setting voltage, current and output.
Matthias Heidbrink [Thu, 26 Jun 2014 12:14:31 +0000 (14:14 +0200)]
manson-hcs-3xxx: Implemented setting voltage, current and output.

9 years agomanson-hcs-3xxx: Cleanup, improved error handling, docs.
Matthias Heidbrink [Thu, 26 Jun 2014 09:23:29 +0000 (11:23 +0200)]
manson-hcs-3xxx: Cleanup, improved error handling, docs.

9 years agomanson-hcs-3xxx: Added missing models of series, fixed current resolution.
Matthias Heidbrink [Wed, 25 Jun 2014 21:22:50 +0000 (23:22 +0200)]
manson-hcs-3xxx: Added missing models of series, fixed current resolution.

9 years agomanson-hcs-3xxx: Fixed build without libserialport.
Matthias Heidbrink [Fri, 27 Jun 2014 21:31:50 +0000 (23:31 +0200)]
manson-hcs-3xxx: Fixed build without libserialport.

9 years agomanson-hcs-3xxx: Initial driver implementation.
Uwe Hermann [Sun, 22 Jun 2014 22:40:58 +0000 (00:40 +0200)]
manson-hcs-3xxx: Initial driver implementation.

Currently supports only few HCS-3xxx models (tested on HCS-3202), and
not all commands/operations yet.

9 years agomanson-hcs-3xxx: Initial driver skeleton.
Uwe Hermann [Sun, 22 Jun 2014 22:31:22 +0000 (00:31 +0200)]
manson-hcs-3xxx: Initial driver skeleton.

9 years agoserial-dmm: Implement request timeout mechanism.
Matthias Heidbrink [Fri, 23 May 2014 20:26:34 +0000 (22:26 +0200)]
serial-dmm: Implement request timeout mechanism.

(fixes request flooding for Voltcraft ME-42 and M-3650CR)

This fixes bug #345.

9 years agoREADME: Document that libftdi1 is also an option.
Uwe Hermann [Mon, 16 Jun 2014 11:20:56 +0000 (13:20 +0200)]
README: Document that libftdi1 is also an option.

9 years agoLower libftdi1 requirement to 1.0 (builds fine too).
Uwe Hermann [Mon, 16 Jun 2014 11:19:34 +0000 (13:19 +0200)]
Lower libftdi1 requirement to 1.0 (builds fine too).

9 years agodetect version 1.x of libftdi library
Dan Horák [Sun, 15 Jun 2014 09:08:37 +0000 (11:08 +0200)]
detect version 1.x of libftdi library

The FDTI library changed version, module name and also soname, so add an option to detect it
when the 0.x version is not found. The 1.x API is compatible enough for libsigrok to build.

9 years agodo not add check to common cflags/libs
Mike Frysinger [Sat, 14 Jun 2014 02:44:39 +0000 (22:44 -0400)]
do not add check to common cflags/libs

Only the unittests use these flags, so don't go linking them in for
the main library too.

9 years agoasix-sigma: fix build time warnings
Mike Frysinger [Sat, 14 Jun 2014 02:44:40 +0000 (22:44 -0400)]
asix-sigma: fix build time warnings

We need to include unistd.h for usleep():
hardware/asix-sigma/asix-sigma.c: In function 'sigma_fpga_init_bitbang':
hardware/asix-sigma/asix-sigma.c:450:3: warning: implicit declaration of function 'usleep'
   usleep(10000);

And we need to tweak the type of chunks_per_read to match dl_lines_total:
hardware/asix-sigma/asix-sigma.c: In function 'download_capture':
hardware/asix-sigma/asix-sigma.c:1161:39: warning: comparison between signed and unsigned integer expressions
   dl_lines_curr = MIN(chunks_per_read, dl_lines_total);

9 years agoadd explicit configure flags for ftdi/serial/usb libraries
Mike Frysinger [Sat, 14 Jun 2014 02:44:38 +0000 (22:44 -0400)]
add explicit configure flags for ftdi/serial/usb libraries

This makes it a lot easier for distros to control this functionality.

9 years agonorma-dmm: Added request timeout mechanism; docs.
Matthias Heidbrink [Fri, 13 Jun 2014 19:22:11 +0000 (21:22 +0200)]
norma-dmm: Added request timeout mechanism; docs.

9 years agonorma-dmm: Added separate driver siemens-b102x for Siemens B1024-B1028 DMMs (just...
Matthias Heidbrink [Sat, 7 Jun 2014 17:45:41 +0000 (19:45 +0200)]
norma-dmm: Added separate driver siemens-b102x for Siemens B1024-B1028 DMMs (just for cosmetic reasons).

9 years agochronovu-la: re-add return that was inadvertently removed in commit aeff7fa2
Aurelien Jacobs [Tue, 3 Jun 2014 14:43:04 +0000 (16:43 +0200)]
chronovu-la: re-add return that was inadvertently removed in commit aeff7fa2

9 years agotrigger: Rename sr_trigger_stage_new() to sr_trigger_stage_add().
Bert Vermeulen [Sat, 31 May 2014 08:34:56 +0000 (10:34 +0200)]
trigger: Rename sr_trigger_stage_new() to sr_trigger_stage_add().