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
Martin Ling
9c48c2e91e
Remove SR_MAX_NUM_PROBES, which is now no longer used.
2013-04-27 15:49:50 +02:00
Martin Ling
a1be7b6c3f
vcd output: Replace fixed length array of indices with GArray.
2013-04-27 15:49:50 +02:00
Martin Ling
d601c0e9b3
vcd output: Eliminate unnecessary array of probe names.
2013-04-27 15:49:50 +02:00
Martin Ling
90f680ff00
gnuplot: Eliminate fixed-size header buffer based on max probes.
2013-04-27 15:49:50 +02:00
Martin Ling
deb0908338
gnuplot: Remove unnecessary array of probe names.
2013-04-27 15:49:50 +02:00
Martin Ling
1c5b099a13
csv: Remove unnecessary array of probe names.
2013-04-27 15:49:50 +02:00
Martin Ling
91a44f50f0
chronovu-l8: remove unused array of probe names.
2013-04-27 15:49:50 +02:00
Martin Ling
d53e4e8d92
text: Use a GSList of enabled probe names, not an array.
2013-04-27 15:49:50 +02:00
Martin Ling
db9679afc9
vcd input: Use a GSList rather than fixed size array of probes.
2013-04-27 15:49:49 +02:00