Commit Graph

1658 Commits

Author SHA1 Message Date
Uwe Hermann decfe89d4e Drop some lines that are no longer needed. 2013-05-10 18:30:32 +02:00
Uwe Hermann 0bdb4f2e4a tondaj-sl-814: Use std_dev_clear(). 2013-05-10 17:56:53 +02:00
Uwe Hermann 25e7adada7 mic-985xx: Use std_dev_clear(). 2013-05-10 17:54:53 +02:00
Uwe Hermann 2a052cc4d6 Use consistent naming for internal libtool helper libs.
This now also matches what the 'new-driver' tool generates.
2013-05-10 17:44:01 +02:00
Uwe Hermann 9e165e742f Use consistent HW_ name prefixes everywhere.
Older drivers used LA_* previously, we now use HW_* everywhere though.
2013-05-10 17:18:42 +02:00
Uwe Hermann 576ff5b0ba device.c: Add missing @since markers.
Also, add Doxygen comments for functions which don't have any yet.
2013-05-08 16:52:49 +02:00
Uwe Hermann 01169de391 Doxyfile: Set version to "unreleased development snapshot". 2013-05-08 16:41:18 +02:00
Uwe Hermann 7ab89f4827 Re-enable link-mso19 and nexus-osciprime drivers. 2013-05-08 16:40:45 +02:00
Bert Vermeulen 9dc7a75e3d fx2lafw: Fix memory leak 2013-05-06 20:44:26 +02:00
Bert Vermeulen 03f4de8cf2 ols: Code cleanup
This also fixes a memory leak.
2013-05-06 00:42:18 +02:00
Bert Vermeulen a006798b99 Fix various memory leaks 2013-05-06 00:40:17 +02:00
Bert Vermeulen 12a33563b9 std: Fix memory leak, code cleanup 2013-05-06 00:37:29 +02:00
Uwe Hermann 26aec7fdc4 Drop link-mso19/nexus-osciprime in preparation for release.
These two drivers are currently unfinished and don't work, so disable
and "unhook" them for now in preparation of the next libsigrok release.

They're still in the git repository, but not hooked up to the build
system, so that they won't get detected or built, and also don't end up
in the release tarball.

Since link-mso19 is the only driver that currently requires libudev,
drop any reference to that, too.

It should be relatively easy to apply this patch in reverse after the
release to bring back both drivers.
2013-05-04 15:59:40 +02:00
Uwe Hermann a4fdbbe1c2 Doxyfile: Set version number to 0.2.0. 2013-05-04 15:55:11 +02:00
Uwe Hermann 7c3e7b4306 udev rules file: Add entry for the ZEROPLUS LAP-16128U. 2013-05-04 15:22:45 +02:00
Uwe Hermann 048e8babf7 NEWS: Minor update. 2013-05-04 15:17:50 +02:00
Uwe Hermann 6941f84568 Fix libsigrok lib version (current:revision:age).
The last release (libsigrok 0.1.1) had a lib version of 0:0:0.

This release thus gets 1:0:0 according to the libtool manual guidelines.
2013-05-04 15:12:20 +02:00
Uwe Hermann c5ffac4148 uni-t-dmm: Add missing SR_CONF_LIMIT_MSEC support. 2013-05-04 00:13:25 +02:00
Uwe Hermann 29a27196a1 s/DRIVER_LOG_DOMAIN/LOG_PREFIX/.
This is more correct anyway, and also a bit shorter and more readable.
2013-05-03 21:59:32 +02:00
Uwe Hermann 06c45a66f7 Minor whitespace fixes. 2013-05-03 14:03:49 +02:00
Uwe Hermann e6b2b4df9d README.devices: Document how to make some DMMs log. 2013-05-03 13:31:02 +02:00
Uwe Hermann 456dfd9f70 NEWS: Various updates and minor fixes. 2013-05-03 13:31:02 +02:00
Uwe Hermann a0c7e23ad8 Fix the build when libusb is not available.
Thanks Simon Richter <Simon.Richter@hogyros.de> for reporting.
2013-05-03 13:29:49 +02:00
Bert Vermeulen 3a277f3b2b Deal with uninitialized drivers 2013-05-01 23:30:37 +02:00
Uwe Hermann c2fa697afa serial-dmm: Add Tecpel DMM-8060 support. 2013-05-01 03:16:47 +02:00
Uwe Hermann b38e08fbb7 serial-dmm: Add Tecpel DMM-8061 support. 2013-05-01 03:13:43 +02:00
Uwe Hermann 4554314c4f uni-t-dmm: Add Tecpel DMM-8060 support.
This is _very_ likely to be a rebadged Voltcraft VC-820, treating as such.
2013-05-01 03:04:46 +02:00
Uwe Hermann b6bad47c91 uni-t-dmm: Add Tecpel DMM-8061 support. 2013-05-01 03:00:41 +02:00
Uwe Hermann 2451a20ff5 fs9721: Factor out common code from serial-dmm.
These functions are FS9721 specific (and DMM specific), and can be used
from various drivers (e.g. serial-dmm or uni-t-dmm or possibly others).
2013-05-01 02:16:55 +02:00
Uwe Hermann 4853559466 uni-t-dmm/serial-dmm: Handle Voltcraft VC-840 temperature. 2013-05-01 01:58:42 +02:00
Uwe Hermann ad00a54da6 fs9922: Fix beep mode. 2013-05-01 01:02:46 +02:00
Uwe Hermann 649a4cd672 fs9922: Fix diode mode parsing. 2013-05-01 01:00:54 +02:00
Uwe Hermann 767aae30ed uni-t-dmm: Fix incorrect UNI-T UT61D baudrate. 2013-04-30 20:22:18 +02:00
Uwe Hermann 695d0e1efa uni-t-dmm: Add support for the Voltcraft VC-840.
This DMM is already supported via the serial-dmm driver when using the
RS232 cable. The uni-t-dmm support makes it usable with the USB/HID
cable too.
2013-04-30 20:22:17 +02:00
Uwe Hermann bbef5e326d uni-t-dmm: Add support for the UNI-T UT61E.
This DMM is already supported via the serial-dmm driver when using the
RS232 cable. The uni-t-dmm support makes it usable with the USB/HID
cable too.
2013-04-30 20:22:17 +02:00
Uwe Hermann ae3a59de62 serial-dmm: Add support for the UNI-T UT61D.
This DMM is already supported via the uni-t-dmm driver when using the
USB/HID cable. The serial-dmm support makes it usable with the RS232
cable too.
2013-04-30 20:22:17 +02:00
Uwe Hermann 3ece1dff6c uni-t-dmm: Use sr_dev_inst to store connection handle. 2013-04-30 20:22:17 +02:00
Uwe Hermann d9a7c349ed brymen-dmm: Use sr_dev_inst to store connection handle. 2013-04-30 20:22:17 +02:00
Bert Vermeulen af51a7718e output: Use sr_config_get() wrapper
This obviates the need for a valid driver, and thus makes converting
from any (non-sr) input format to any output format possible; the only
thing missing is the samplerate.

Fixes bug 105.
2013-04-30 16:03:37 +02:00
Bert Vermeulen 0a7da5f8c9 fx2lafw: Keep track of our own libusb fds 2013-04-30 09:55:44 +02:00
Bert Vermeulen 0372864451 Don't remove stray source from the session after stopping
It's up to the drivers and frontends to remove the sources they
added to the session.

Also don't tell the driver about a forced session stop more than
once, because it's sloppy.

Fixes bug 62.
2013-04-30 00:09:20 +02:00
Bert Vermeulen 2a67abfe34 fx2lafw: Properly initialize operational state before acquisition 2013-04-29 19:02:26 +02:00
Bert Vermeulen 0f75d6f5a9 ols: Don't close serial port after acquisition is done 2013-04-29 12:39:26 +02:00
Bert Vermeulen 681803dfde Don't try to close devices when removing them from the session
That's the frontend's job.
2013-04-28 22:35:42 +02:00
Uwe Hermann 115f829396 NEWS: Add most important items since last release. 2013-04-28 00:08:55 +02:00
Uwe Hermann a5e44c3247 tondaj-sl-814: Use sr_dev_inst to store connection handle. 2013-04-27 21:22:15 +02:00
Uwe Hermann 44f91e2950 unittests: Disable a broken test for now. 2013-04-27 19:06:27 +02:00
Bert Vermeulen 50c604f50b Don't automatically clear known instances from USB drivers on scan
This invalidates previously returned sr_dev_inst pointers, which a
frontend may be holding. It's the frontend's responsibility to clear
the list of instances a driver keeps track of by calling

	sr_dev_clear(driver);

if it wants a completely new scan done.
2013-04-27 18:27:32 +02:00
Bert Vermeulen c2523f2213 Explicitly initialize all struct parameters on init 2013-04-27 18:24:50 +02:00
Bert Vermeulen 17f63de642 Fix output API receive() function
This changes the new output API's recv() to receive(), and has it
return an integer status code. The output of the function, if any,
is stored in a new parameter as a pointer to a newly allocated GString.

All output modules using this API have been adjusted.
2013-04-27 17:29:46 +02:00