]>
sigrok.org Git - libsigrok.git/log
Uwe Hermann [Sun, 10 Apr 2011 14:46:05 +0000 (16:46 +0200)]
gnuplot output: More error checks.
Uwe Hermann [Wed, 6 Apr 2011 19:51:36 +0000 (21:51 +0200)]
input/output formats: s/extension/id/.
The struct entry 'extension' is not really a (filename) extension, but
rather a unique ID used for input or output formats, e.g. in the sigrok
CLI or GUI interface. Thus, rename it accordingly.
Uwe Hermann [Wed, 6 Apr 2011 18:01:31 +0000 (20:01 +0200)]
LA8: Use the new SR_ERR_ARG macro.
Uwe Hermann [Wed, 6 Apr 2011 17:53:31 +0000 (19:53 +0200)]
Add SR_ERR_ARG #define.
Changing the number of SR_ERR_SAMPLERATE is not a problem ATM, as we
never had a public release of libsigrok, i.e. nobody relies on the API yet.
Uwe Hermann [Wed, 6 Apr 2011 17:51:11 +0000 (19:51 +0200)]
Binary output: Add more error checks.
Uwe Hermann [Wed, 6 Apr 2011 17:42:49 +0000 (19:42 +0200)]
input/output formats: Explicit struct member names.
This makes it immediately clear what an entry is supposed to be, no
need to look it up in some header file.
Uwe Hermann [Mon, 4 Apr 2011 17:40:30 +0000 (19:40 +0200)]
Add initial support for the ChronoVu LA8.
Uwe Hermann [Sun, 3 Apr 2011 21:18:46 +0000 (23:18 +0200)]
Revert temporary changes for 0.2 release.
Uwe Hermann [Sun, 3 Apr 2011 20:38:35 +0000 (22:38 +0200)]
Disable some stuff which should not be in 0.2.
Disable decoders, disable lib building.
Uwe Hermann [Sun, 3 Apr 2011 18:15:12 +0000 (20:15 +0200)]
Hook up output/text directory with autotools.
This is needed for 'make distcheck' to work.
Also, add missing text.h to the list of source files.
Bert Vermeulen [Sun, 3 Apr 2011 04:15:45 +0000 (06:15 +0200)]
OLS driver overhaul
support for metadata in recent versions of the FPGA code
moved constants and structs out to separate header file
got rid of all device instance-specific globals
Bert Vermeulen [Thu, 17 Mar 2011 13:53:06 +0000 (14:53 +0100)]
small warning fix
Bert Vermeulen [Mon, 14 Feb 2011 04:55:01 +0000 (05:55 +0100)]
output_ols: disabled cursors don't really need to be listed
Uwe Hermann [Fri, 25 Mar 2011 12:44:16 +0000 (13:44 +0100)]
ASIX Sigma: Fix firmware loading bug.
When no firmware file is found, return the right error code so sigrok
doesn't continue running with no firmware loaded.
Thanks Martin StensgÄrd <redacted> for the patch!
Uwe Hermann [Tue, 22 Feb 2011 22:20:22 +0000 (23:20 +0100)]
Kill unused functions (avoid namespace pollution).
Uwe Hermann [Tue, 22 Feb 2011 22:13:34 +0000 (23:13 +0100)]
Drop obsolete vcd_header.
Uwe Hermann [Tue, 22 Feb 2011 22:12:41 +0000 (23:12 +0100)]
Make some more items 'static'.
Uwe Hermann [Tue, 22 Feb 2011 22:01:29 +0000 (23:01 +0100)]
Add doxygen comment to sr_filter_probes().
Uwe Hermann [Tue, 22 Feb 2011 17:13:32 +0000 (18:13 +0100)]
sr_exit(): Return int to be able to report errors.
Uwe Hermann [Tue, 22 Feb 2011 17:08:41 +0000 (18:08 +0100)]
Make DATASTORE_CHUNKSIZE private.
Uwe Hermann [Tue, 22 Feb 2011 17:05:16 +0000 (18:05 +0100)]
Add SR_HZ macro for consistency.
Uwe Hermann [Tue, 22 Feb 2011 16:57:03 +0000 (17:57 +0100)]
Add SR_ prefix to the KHZ/MHZ/GHZ macros.
Uwe Hermann [Sun, 20 Feb 2011 17:39:47 +0000 (18:39 +0100)]
Add SR_ prefix for MAX_NUM_PROBES/MAX_PROBENAME_LEN.
Uwe Hermann [Sun, 20 Feb 2011 17:29:05 +0000 (18:29 +0100)]
Make ARRAY_SIZE/ARRAY_AND_SIZE private.
This is not libsigrok-specific and should not be part of our API.
Uwe Hermann [Sun, 20 Feb 2011 17:24:25 +0000 (18:24 +0100)]
Constify some more 'char *' parameters.
Uwe Hermann [Sun, 20 Feb 2011 13:20:15 +0000 (14:20 +0100)]
Add sr_ prefix for analog stuff some structs.
Uwe Hermann [Sun, 20 Feb 2011 13:14:13 +0000 (14:14 +0100)]
Add sr_ prefix to receive_data_callback typedef.
Also, drop obsolete add_source() prototype from sigrok-cli.h.
Uwe Hermann [Sun, 20 Feb 2011 13:09:15 +0000 (14:09 +0100)]
Add sr_ prefix to datafeed_callback typedef.
Uwe Hermann [Sun, 20 Feb 2011 13:04:12 +0000 (14:04 +0100)]
Drop obsolete source_callback_*().
Uwe Hermann [Sun, 20 Feb 2011 12:58:21 +0000 (13:58 +0100)]
Add sr_ prefix to filter_probes().
Uwe Hermann [Sun, 20 Feb 2011 12:53:13 +0000 (13:53 +0100)]
Constify a few more 'char *' parameters.
Uwe Hermann [Sun, 20 Feb 2011 12:27:08 +0000 (13:27 +0100)]
Make load_hwplugins() private.
Uwe Hermann [Sun, 20 Feb 2011 12:24:26 +0000 (13:24 +0100)]
Add sr_ prefix to list_hwplugins().
Uwe Hermann [Sun, 20 Feb 2011 12:19:27 +0000 (13:19 +0100)]
Add sr_ prefix to session_{add,remove}.
Uwe Hermann [Sun, 20 Feb 2011 12:08:44 +0000 (13:08 +0100)]
Disable analog bits/gnuplot output for now.
Uwe Hermann [Tue, 15 Feb 2011 18:38:46 +0000 (19:38 +0100)]
Mark some private stuff 'static'.
Uwe Hermann [Tue, 15 Feb 2011 18:24:52 +0000 (19:24 +0100)]
Add sr_ prefix for hwcap structs/functions.
Uwe Hermann [Sun, 20 Feb 2011 20:00:32 +0000 (21:00 +0100)]
Drop prototype for non-existant make_metadata().
Uwe Hermann [Sun, 13 Feb 2011 10:27:52 +0000 (11:27 +0100)]
Quickfix for a segfault with file input via -i.
Stuff like
./bin/sigrok-cli -i rnd.dd -a transitioncounter
would segfault (rnd.dd consists of random bytes) because device->plugin
was NULL and was being dereferenced.
Thanks Olivier Fauchon <redacted> for reporting.
Bert Vermeulen [Sat, 12 Feb 2011 05:18:16 +0000 (06:18 +0100)]
implement version 1.3 of the OLS output format, now streaming
Bert Vermeulen [Sat, 12 Feb 2011 02:24:23 +0000 (03:24 +0100)]
demo: forgot second part of samplerate support
Uwe Hermann [Tue, 8 Feb 2011 23:07:29 +0000 (00:07 +0100)]
Saleae: Make more private stuff static.
Uwe Hermann [Tue, 8 Feb 2011 22:46:29 +0000 (23:46 +0100)]
Doxygen config files: Initial configuration.
Uwe Hermann [Tue, 8 Feb 2011 22:00:49 +0000 (23:00 +0100)]
Add doxygen config files for both libs.
Uwe Hermann [Tue, 8 Feb 2011 20:50:27 +0000 (21:50 +0100)]
Rename probe_find() to sr_device_probe_find().
Uwe Hermann [Tue, 8 Feb 2011 20:47:50 +0000 (21:47 +0100)]
strutil.c: Fix typo, add some (API) docs/comments.
Uwe Hermann [Tue, 8 Feb 2011 20:22:10 +0000 (21:22 +0100)]
Add sr_ prefix for datastore API functions.
Uwe Hermann [Tue, 8 Feb 2011 17:19:38 +0000 (18:19 +0100)]
Add sr_ prefix for device related API functions.
Uwe Hermann [Tue, 8 Feb 2011 17:07:19 +0000 (18:07 +0100)]
Add sr_ prefix to 'struct samplerates'.
Uwe Hermann [Tue, 8 Feb 2011 17:00:49 +0000 (18:00 +0100)]
Add sr_ prefix to session related API functions.
Uwe Hermann [Tue, 8 Feb 2011 16:50:29 +0000 (17:50 +0100)]
Add sr_ prefix for 'struct session'.
Uwe Hermann [Tue, 8 Feb 2011 16:47:38 +0000 (17:47 +0100)]
Add sr_ prefix for 'struct probe'.
Uwe Hermann [Sun, 6 Feb 2011 01:14:57 +0000 (02:14 +0100)]
Fix warnings: g_fopen() needs <glib/gstdio.h>.
Uwe Hermann [Sat, 5 Feb 2011 19:03:17 +0000 (20:03 +0100)]
Use glib's g_fopen() instead of fopen().
Uwe Hermann [Fri, 4 Feb 2011 22:52:16 +0000 (23:52 +0100)]
MinGW: Use "b" in all fopen() calls.
This is required for proper operation on Windows/MinGW, and doesn't
affect other OSes, most POSIX systems simply ignore the "b".
Uwe Hermann [Fri, 4 Feb 2011 19:11:17 +0000 (20:11 +0100)]
Revert FIRMWARE_DIR / DECODERS_DIR method for now.
There were several issues with the other method, revert for now.
Bert Vermeulen [Fri, 4 Feb 2011 05:28:49 +0000 (06:28 +0100)]
demo: support setting sample rate
Bert Vermeulen [Tue, 1 Feb 2011 17:27:12 +0000 (18:27 +0100)]
ols: default to 200KHz samplerate
Uwe Hermann [Wed, 2 Feb 2011 12:13:13 +0000 (13:13 +0100)]
MinGW: Build fixes.
Uwe Hermann [Wed, 2 Feb 2011 09:25:52 +0000 (10:25 +0100)]
Fix build when no libusb-LA is compiled.
Until now the build would break if the user doesn't enable at least one
of the libusb1.0-based LAs. I.e., you could not compile only OLS, or
only the demo driver.
Bert Vermeulen [Tue, 1 Feb 2011 05:51:34 +0000 (06:51 +0100)]
demo: stored-pattern generator now keeps state
Bert Vermeulen [Tue, 1 Feb 2011 05:13:32 +0000 (06:13 +0100)]
output_ols: now fully compliant with spec
Bert Vermeulen [Tue, 1 Feb 2011 01:33:54 +0000 (02:33 +0100)]
don't just assume a device has a samplerate setting
Bert Vermeulen [Tue, 1 Feb 2011 00:41:33 +0000 (01:41 +0100)]
don't force .sigrok extension when saving session file
Bert Vermeulen [Mon, 31 Jan 2011 23:06:32 +0000 (00:06 +0100)]
session_driver: remove unneeded callbacks
Bert Vermeulen [Mon, 31 Jan 2011 22:44:18 +0000 (23:44 +0100)]
fix device probe adding
Bert Vermeulen [Mon, 31 Jan 2011 21:34:14 +0000 (22:34 +0100)]
implement session loading based on a virtual device driver
Bert Vermeulen [Mon, 31 Jan 2011 21:29:40 +0000 (22:29 +0100)]
move samplerate/period printers and parsers into libsigrok
Bert Vermeulen [Sun, 30 Jan 2011 20:57:45 +0000 (21:57 +0100)]
remove dead code
Uwe Hermann [Mon, 31 Jan 2011 13:14:28 +0000 (14:14 +0100)]
MinGW: Build fix.
Uwe Hermann [Sun, 30 Jan 2011 18:22:13 +0000 (19:22 +0100)]
Consistently use _exit prefix for functions.
Uwe Hermann [Sun, 30 Jan 2011 16:58:41 +0000 (17:58 +0100)]
SR_ prefix for all public enums.
Uwe Hermann [Sun, 30 Jan 2011 15:44:26 +0000 (16:44 +0100)]
Prefixes for *_device_instance.
Uwe Hermann [Sun, 30 Jan 2011 15:19:42 +0000 (16:19 +0100)]
Prefix device structs with sr_.
Uwe Hermann [Sat, 29 Jan 2011 16:10:24 +0000 (17:10 +0100)]
Add a field for the full name of a device.
Also, show this long/full name in 'sigrok-cli -V'.
Uwe Hermann [Sat, 29 Jan 2011 16:03:26 +0000 (17:03 +0100)]
Prefix datafeed structs with sr_.
Uwe Hermann [Sat, 29 Jan 2011 15:57:35 +0000 (16:57 +0100)]
get_sr_device_instance() -> sr_get_device_instance().
Uwe Hermann [Sat, 29 Jan 2011 15:43:45 +0000 (16:43 +0100)]
Change all sigrok_ prefixes to sr_.
Uwe Hermann [Sat, 29 Jan 2011 15:36:57 +0000 (16:36 +0100)]
Add sr_ prefix to input/output structs.
Uwe Hermann [Sat, 29 Jan 2011 15:23:12 +0000 (16:23 +0100)]
Change SIGROK_ prefix to SR_.
Bert Vermeulen [Sun, 30 Jan 2011 01:40:55 +0000 (02:40 +0100)]
move session main loop stuff into libsigrok (session_run)
Uwe Hermann [Thu, 27 Jan 2011 22:17:47 +0000 (23:17 +0100)]
Fix some compiler warnings.
Bert Vermeulen [Mon, 24 Jan 2011 06:46:16 +0000 (07:46 +0100)]
fix session saving and input file loading
cli: -i option now properly takes the -o option into account,
so sigrok can now be used for protocol conversion with just
those two options.
Bert Vermeulen [Mon, 24 Jan 2011 01:49:14 +0000 (02:49 +0100)]
cli: don't initialize and scan for hardware unless needed
If the -d <plugin> option is used, only initialize the specified plugin.
Uwe Hermann [Sun, 23 Jan 2011 18:53:50 +0000 (19:53 +0100)]
Introduce proper libtool versioning for the libs.
Uwe Hermann [Sun, 23 Jan 2011 17:21:58 +0000 (18:21 +0100)]
Build fix.
Bert Vermeulen [Sun, 23 Jan 2011 04:32:37 +0000 (05:32 +0100)]
fix compile warning on 32-bit platforms
Bert Vermeulen [Sun, 23 Jan 2011 04:32:13 +0000 (05:32 +0100)]
restore demo driver to working state
Bert Vermeulen [Sun, 23 Jan 2011 03:58:32 +0000 (04:58 +0100)]
cli: revamp option syntax
for device (-d) and format (-f), the syntax is:
<thing>:key=value:key2=value2
Daniel Ribeiro [Sat, 22 Jan 2011 14:23:34 +0000 (12:23 -0200)]
alsa: hide a few compiler warnings
Daniel Ribeiro [Sat, 22 Jan 2011 14:21:04 +0000 (12:21 -0200)]
finish alsa driver implementation
Yes, it works now.
Bert Vermeulen [Sat, 22 Jan 2011 13:18:31 +0000 (14:18 +0100)]
Revert "re-enable filter and datastore for DF_LOGIC"
This reverts commit
23da86dfc0a89c7ab951fea31a318a493830eb69 .
Bert Vermeulen [Fri, 21 Jan 2011 21:59:18 +0000 (22:59 +0100)]
split output_text into more manageable pieces
Daniel Ribeiro [Sat, 22 Jan 2011 03:01:53 +0000 (01:01 -0200)]
fix copynpaste glitch
Daniel Ribeiro [Sat, 22 Jan 2011 02:57:27 +0000 (00:57 -0200)]
initial version of alsa plugin.
It does NOT work yet.
Daniel Ribeiro [Sat, 22 Jan 2011 00:02:32 +0000 (22:02 -0200)]
alphabetical order
Uwe Hermann [Fri, 21 Jan 2011 20:04:01 +0000 (21:04 +0100)]
Remove duplicate FIRMWARE_DIR includes.
We use AC_DEFINE_UNQUOTED in configure.ac now to put the FIRMWARE_DIR #define
in the config.h file, which is included where we need the #define.
Daniel Ribeiro [Fri, 21 Jan 2011 20:04:09 +0000 (18:04 -0200)]
re-enable filter and datastore for DF_LOGIC
This definitely isn't the proper fix, but it should allow DF_LOGIC
and DF_ANALOG to coexist.
Daniel Ribeiro [Fri, 21 Jan 2011 18:11:44 +0000 (16:11 -0200)]
add incomplete DF_ANALOG support to output_gnuplot.c
RAW->Voltage conversion is not implemented yet, its hardcoded for
signed 16bit conversion.
Daniel Ribeiro [Fri, 21 Jan 2011 14:52:12 +0000 (12:52 -0200)]
add a sine wave to demo.c