]> sigrok.org Git - libsigrok.git/log
libsigrok.git
12 years agosr: Initial 0.1.0 release. libsigrok-0.1.0
Uwe Hermann [Mon, 16 Apr 2012 22:12:33 +0000 (00:12 +0200)]
sr: Initial 0.1.0 release.

12 years agosr/srd: SR_API/SRD_API/etc. is a no-op on MinGW.
Uwe Hermann [Mon, 16 Apr 2012 21:16:00 +0000 (23:16 +0200)]
sr/srd: SR_API/SRD_API/etc. is a no-op on MinGW.

This avoids warnings on a MinGW build. The feature depends on ELF files,
but MinGW/Windows uses PE files.

12 years agosr: Add functions to query sr version(s).
Uwe Hermann [Sun, 15 Apr 2012 18:33:45 +0000 (20:33 +0200)]
sr: Add functions to query sr version(s).

12 years agosr: sr_err() et. al. don't need trailing \n.
Uwe Hermann [Sat, 7 Apr 2012 15:40:52 +0000 (17:40 +0200)]
sr: sr_err() et. al. don't need trailing \n.

12 years agosr: sr_parse_triggerstring docs/improvements.
Uwe Hermann [Sat, 7 Apr 2012 15:35:14 +0000 (17:35 +0200)]
sr: sr_parse_triggerstring docs/improvements.

Also fix smaller typos and cosmetics.

12 years agosr: fx2lafw: Cosmetics.
Uwe Hermann [Tue, 10 Apr 2012 20:32:31 +0000 (22:32 +0200)]
sr: fx2lafw: Cosmetics.

12 years agofx2lafw: Added command to verify firmware version
Joel Holdsworth [Tue, 10 Apr 2012 17:27:24 +0000 (18:27 +0100)]
fx2lafw: Added command to verify firmware version

12 years agofx2lafw: Safer use of libusb_get_device_list
Joel Holdsworth [Sun, 8 Apr 2012 16:19:52 +0000 (17:19 +0100)]
fx2lafw: Safer use of libusb_get_device_list

12 years agosr/srd: Fix 'make distcheck'.
Uwe Hermann [Sat, 31 Mar 2012 10:09:37 +0000 (12:09 +0200)]
sr/srd: Fix 'make distcheck'.

12 years agosr/srd: Add ChangeLog to ignore list, it's generated.
Uwe Hermann [Sat, 31 Mar 2012 10:05:20 +0000 (12:05 +0200)]
sr/srd: Add ChangeLog to ignore list, it's generated.

12 years agosr: Disable fx2lafw driver again (for now).
Uwe Hermann [Sat, 31 Mar 2012 09:57:46 +0000 (11:57 +0200)]
sr: Disable fx2lafw driver again (for now).

After some more testing, it will probably be enabled by default and will
replace/deprecate the Saleae Logic driver at some point.

12 years agosr: Add NEWS file.
Uwe Hermann [Sat, 31 Mar 2012 09:37:08 +0000 (11:37 +0200)]
sr: Add NEWS file.

12 years agosr: SR_PACKAGE_VERSION_* for consistency.
Uwe Hermann [Sat, 31 Mar 2012 09:28:24 +0000 (11:28 +0200)]
sr: SR_PACKAGE_VERSION_* for consistency.

No need to use the LIBSIGROK_ prefix here when we use SR_ everywhere
else. Also, better distinction between package version and lib version.

12 years agosr: fx2lafw: Consistency fixes.
Uwe Hermann [Thu, 29 Mar 2012 06:55:12 +0000 (08:55 +0200)]
sr: fx2lafw: Consistency fixes.

12 years agosr: s/_clear/_remove_all/ for consistency.
Uwe Hermann [Wed, 28 Mar 2012 19:55:48 +0000 (21:55 +0200)]
sr: s/_clear/_remove_all/ for consistency.

12 years agosr: out: Use uint8_t (not char) for buffers.
Uwe Hermann [Wed, 28 Mar 2012 18:00:13 +0000 (20:00 +0200)]
sr: out: Use uint8_t (not char) for buffers.

12 years agosr: Make wrappers honor return values.
Uwe Hermann [Wed, 28 Mar 2012 16:52:17 +0000 (18:52 +0200)]
sr: Make wrappers honor return values.

12 years agosr: Generate ChangeLog from git upon 'make dist'.
Uwe Hermann [Wed, 28 Mar 2012 00:32:52 +0000 (02:32 +0200)]
sr: Generate ChangeLog from git upon 'make dist'.

12 years agosr: fx2lafw: Cosmetics.
Uwe Hermann [Sun, 25 Mar 2012 20:02:19 +0000 (22:02 +0200)]
sr: fx2lafw: Cosmetics.

12 years agosr: fx2lafw: Use SR_PRIV where needed.
Uwe Hermann [Sun, 25 Mar 2012 13:23:31 +0000 (15:23 +0200)]
sr: fx2lafw: Use SR_PRIV where needed.

12 years agosr: fx2lafw: command.h: Add missing include guards.
Uwe Hermann [Sun, 25 Mar 2012 13:21:56 +0000 (15:21 +0200)]
sr: fx2lafw: command.h: Add missing include guards.

12 years agosr: fx2lafw: Cosmetics.
Uwe Hermann [Sun, 25 Mar 2012 13:20:55 +0000 (15:20 +0200)]
sr: fx2lafw: Cosmetics.

12 years agosr: Build ezusb.c for fx2lafw as well as saleae-logic
Joel Holdsworth [Sun, 25 Mar 2012 18:39:06 +0000 (19:39 +0100)]
sr: Build ezusb.c for fx2lafw as well as saleae-logic

12 years agosalae: Only terminate session after all transfers have been aborted
Joel Holdsworth [Sun, 25 Mar 2012 17:53:54 +0000 (18:53 +0100)]
salae: Only terminate session after all transfers have been aborted

12 years agofx2lafw: Made finish_acquisition a static function
Joel Holdsworth [Sun, 25 Mar 2012 17:52:30 +0000 (18:52 +0100)]
fx2lafw: Made finish_acquisition a static function

12 years agosr: Fix some samplerate fields.
Uwe Hermann [Sat, 24 Mar 2012 21:32:47 +0000 (22:32 +0100)]
sr: Fix some samplerate fields.

12 years agosr: sigrok.h: Add version macros.
Uwe Hermann [Sat, 24 Mar 2012 18:42:26 +0000 (19:42 +0100)]
sr: sigrok.h: Add version macros.

12 years agosr: Rename sigrok.h. to sigrok.h.in, needed soon.
Uwe Hermann [Sat, 24 Mar 2012 09:03:36 +0000 (10:03 +0100)]
sr: Rename sigrok.h. to sigrok.h.in, needed soon.

12 years agofx2lafw: Only terminate session after all transfers have been aborted
Joel Holdsworth [Sat, 24 Mar 2012 10:04:36 +0000 (10:04 +0000)]
fx2lafw: Only terminate session after all transfers have been aborted

12 years agofx2lafw: Removed a line of redundant code
Joel Holdsworth [Sat, 24 Mar 2012 10:07:22 +0000 (10:07 +0000)]
fx2lafw: Removed a line of redundant code

12 years agofx2lafw: Imported software triggering from fx2lafw
Joel Holdsworth [Wed, 21 Mar 2012 20:42:41 +0000 (20:42 +0000)]
fx2lafw: Imported software triggering from fx2lafw

12 years agosr: udev: Add missing Hantek DSO-2090 entry.
Uwe Hermann [Wed, 21 Mar 2012 22:42:19 +0000 (23:42 +0100)]
sr: udev: Add missing Hantek DSO-2090 entry.

12 years agosr/srd: Remove API warnings from READMEs.
Uwe Hermann [Wed, 21 Mar 2012 21:33:51 +0000 (22:33 +0100)]
sr/srd: Remove API warnings from READMEs.

We'll have a libsigrok and a libsigrokdecode release soon. After that,
any API changes must be properly documented and reflected in the
SO version (and package version) numbers of the libs.

12 years agosr: Various fixes in the udev file.
Uwe Hermann [Wed, 21 Mar 2012 21:29:41 +0000 (22:29 +0100)]
sr: Various fixes in the udev file.

12 years agocli: Fix -V/-h output a bit.
Uwe Hermann [Wed, 21 Mar 2012 18:58:56 +0000 (19:58 +0100)]
cli: Fix -V/-h output a bit.

Options and their defaults should not be documented there, but rather in
the manpage or such.

12 years agosr: Enable fx2lafw driver per default.
Uwe Hermann [Wed, 21 Mar 2012 18:45:46 +0000 (19:45 +0100)]
sr: Enable fx2lafw driver per default.

12 years agosr/srd: Small fixes, constifications, doc updates.
Uwe Hermann [Wed, 21 Mar 2012 18:28:43 +0000 (19:28 +0100)]
sr/srd: Small fixes, constifications, doc updates.

12 years agosr/cli/gtk/qt: Fix package version numbers / docs.
Uwe Hermann [Wed, 21 Mar 2012 17:40:25 +0000 (18:40 +0100)]
sr/cli/gtk/qt: Fix package version numbers / docs.

The next (and first) libsigrok release will be called 0.1.0.

The next (and first) libsigrokdecode release will be called 0.1.0.

The next sigrok-cli release will be called 0.3.0 (as we already had a 0.1
and 0.2 release of sigrok-cli; those did not yet use the libs, though).

sigrok-gtk and sigrok-qt didn't have any releases yet, so their version
numbers are set to 0.1.0.

Also, consistently use three numbers/digits for our version numbers.

12 years agosr/cli: s/patternmode/pattern/ in a few places.
Uwe Hermann [Tue, 20 Mar 2012 17:09:18 +0000 (18:09 +0100)]
sr/cli: s/patternmode/pattern/ in a few places.

12 years agosr: s/err/ret/ for consistency.
Uwe Hermann [Tue, 20 Mar 2012 16:51:18 +0000 (17:51 +0100)]
sr: s/err/ret/ for consistency.

We use ret, err, error, and others for return codes of functions.
Standardize on 'ret' for consistency reasons for now.

12 years agosr: Fix handling of virtual devices.
Uwe Hermann [Sun, 18 Mar 2012 11:57:34 +0000 (12:57 +0100)]
sr: Fix handling of virtual devices.

I.e., handling of sessions which use input from files (not from actual
logic analyzer hardware).

12 years agoMerge remote-tracking branch 'joel/public'
Bert Vermeulen [Thu, 15 Mar 2012 23:04:51 +0000 (00:04 +0100)]
Merge remote-tracking branch 'joel/public'

12 years agofx2lafw: Upped NUM_SIMUL_TRANSFERS to 32
Joel Holdsworth [Wed, 14 Mar 2012 22:56:15 +0000 (22:56 +0000)]
fx2lafw: Upped NUM_SIMUL_TRANSFERS to 32

12 years agosr: session_driver: Naming consistency fixes.
Uwe Hermann [Wed, 14 Mar 2012 21:22:32 +0000 (22:22 +0100)]
sr: session_driver: Naming consistency fixes.

Use 'receive_data()', and 'cb_data' as all the other drivers do.

12 years agosr: demo: s/struct databag/struct context/.
Uwe Hermann [Wed, 14 Mar 2012 21:09:52 +0000 (22:09 +0100)]
sr: demo: s/struct databag/struct context/.

12 years agosr: demo: s/mydata/ctx/.
Uwe Hermann [Wed, 14 Mar 2012 21:08:31 +0000 (22:08 +0100)]
sr: demo: s/mydata/ctx/.

12 years agosr: s/SR_{USB,SERIAL}_INST/SR_INST_{USB,SERIAL}/.
Uwe Hermann [Wed, 14 Mar 2012 19:02:48 +0000 (20:02 +0100)]
sr: s/SR_{USB,SERIAL}_INST/SR_INST_{USB,SERIAL}/.

12 years agofx2lafw: Added CWAV USBee SX to the device list
Joel Holdsworth [Mon, 12 Mar 2012 21:49:34 +0000 (21:49 +0000)]
fx2lafw: Added CWAV USBee SX to the device list

12 years agofx2lafw: Corrected a comment
Joel Holdsworth [Mon, 12 Mar 2012 21:38:25 +0000 (21:38 +0000)]
fx2lafw: Corrected a comment

12 years agofx2lafw: Added Saleae Logic (and clones) to the device list
Joel Holdsworth [Mon, 12 Mar 2012 21:36:17 +0000 (21:36 +0000)]
fx2lafw: Added Saleae Logic (and clones) to the device list

12 years agofx2lafw: Moved firmware path into fx2lafw_profile
Joel Holdsworth [Mon, 12 Mar 2012 21:31:43 +0000 (21:31 +0000)]
fx2lafw: Moved firmware path into fx2lafw_profile

12 years agofx2lafw: Made fx2lafw profiles const
Joel Holdsworth [Mon, 12 Mar 2012 21:06:45 +0000 (21:06 +0000)]
fx2lafw: Made fx2lafw profiles const

12 years agofx2lafw: Made string pointers constant
Joel Holdsworth [Mon, 12 Mar 2012 21:04:53 +0000 (21:04 +0000)]
fx2lafw: Made string pointers constant

12 years agofx2lafw: Added ESLA201A to device list
Joel Holdsworth [Mon, 12 Mar 2012 21:03:13 +0000 (21:03 +0000)]
fx2lafw: Added ESLA201A to device list

12 years agofx2lafw: Send start command after bulk transfer have been set up
Joel Holdsworth [Sun, 11 Mar 2012 19:00:52 +0000 (19:00 +0000)]
fx2lafw: Send start command after bulk transfer have been set up

12 years agools: fixed *ctx null dereferences that would SEGFAULT on probing for a OLS or attempt...
Matt Ranostay [Fri, 9 Mar 2012 06:26:30 +0000 (22:26 -0800)]
ols: fixed *ctx null dereferences that would SEGFAULT on probing for a OLS or attempting to read from it.

Signed-off-by: Matt Ranostay <redacted>
12 years agofx2lafw: Corrected check_conf_profile checks
Joel Holdsworth [Sun, 4 Mar 2012 18:02:44 +0000 (18:02 +0000)]
fx2lafw: Corrected check_conf_profile checks

12 years agofx2lafw: Implemented control of sample rates
Joel Holdsworth [Sun, 4 Mar 2012 14:10:44 +0000 (14:10 +0000)]
fx2lafw: Implemented control of sample rates

12 years agofx2lafw: Ensure default sample rate is set
Joel Holdsworth [Sun, 4 Mar 2012 14:10:05 +0000 (14:10 +0000)]
fx2lafw: Ensure default sample rate is set

12 years agofx2lafw: Removed CMD_STOP and renumbered commands
Joel Holdsworth [Sat, 3 Mar 2012 18:09:29 +0000 (18:09 +0000)]
fx2lafw: Removed CMD_STOP and renumbered commands

12 years agofx2lafw: Moved num_samples into context struct
Joel Holdsworth [Sat, 3 Mar 2012 15:22:51 +0000 (15:22 +0000)]
fx2lafw: Moved num_samples into context struct

12 years agosaleae-logic: Moved num_samples into context struct
Joel Holdsworth [Sat, 3 Mar 2012 15:18:19 +0000 (15:18 +0000)]
saleae-logic: Moved num_samples into context struct

12 years agofx2lafw: Removed CMD_SET_SAMPLERATE
Joel Holdsworth [Sat, 3 Mar 2012 14:57:57 +0000 (14:57 +0000)]
fx2lafw: Removed CMD_SET_SAMPLERATE

12 years agofx2lafw: Implemented initial support for start capture
Joel Holdsworth [Thu, 1 Mar 2012 20:34:20 +0000 (20:34 +0000)]
fx2lafw: Implemented initial support for start capture

12 years agosr: Added device IDs for CWAV USBee AX to udev rules
Joel Holdsworth [Thu, 1 Mar 2012 19:47:47 +0000 (19:47 +0000)]
sr: Added device IDs for CWAV USBee AX to udev rules

12 years agofx2lafw: Devices now retain the same PID/VID after fw load
Joel Holdsworth [Thu, 1 Mar 2012 19:45:08 +0000 (19:45 +0000)]
fx2lafw: Devices now retain the same PID/VID after fw load

12 years agofx2lafw: Implemented SR_HWCAP_PROBECONFIG and SR_HWCAP_LIMIT_SAMPLES
Joel Holdsworth [Wed, 29 Feb 2012 22:47:05 +0000 (22:47 +0000)]
fx2lafw: Implemented SR_HWCAP_PROBECONFIG and SR_HWCAP_LIMIT_SAMPLES

12 years agofx2lafw: Fixed a compiler error, and made cv_data consistent with saleae-logic.c
Joel Holdsworth [Sun, 4 Mar 2012 14:34:16 +0000 (14:34 +0000)]
fx2lafw: Fixed a compiler error, and made cv_data consistent with saleae-logic.c

12 years agosr: Fix some TODOs, improve comments/docs.
Uwe Hermann [Sun, 4 Mar 2012 14:08:11 +0000 (15:08 +0100)]
sr: Fix some TODOs, improve comments/docs.

12 years agosr/srd: s/handler/callback/.
Uwe Hermann [Sat, 3 Mar 2012 13:13:21 +0000 (14:13 +0100)]
sr/srd: s/handler/callback/.

We should consistently use the same name for the same thing.

12 years agosr: More callback param renames.
Uwe Hermann [Sat, 3 Mar 2012 08:56:49 +0000 (09:56 +0100)]
sr: More callback param renames.

Start/stop acquisition callbacks: Consistently name the 'void *' parameter
cb_data for now. The per-device-instance device pointer is called
'session_dev_id' everywhere for now, but this should be renamed to
something more clear.

12 years agosr: Name all callback data 'cb_data'.
Uwe Hermann [Wed, 29 Feb 2012 21:32:34 +0000 (22:32 +0100)]
sr: Name all callback data 'cb_data'.

12 years agosr: s/sr_session_bus/sr_session_send/.
Uwe Hermann [Wed, 29 Feb 2012 21:08:45 +0000 (22:08 +0100)]
sr: s/sr_session_bus/sr_session_send/.

12 years agosr/srd: Consistency fixes for callbacks.
Uwe Hermann [Wed, 29 Feb 2012 20:56:24 +0000 (21:56 +0100)]
sr/srd: Consistency fixes for callbacks.

 - Callback function pointer typedefs end with _t.

 - Variables holding callback functions are named 'cb' everywhere.

12 years agosr/cli/gtk/qt: s/hw/driver/ in some places.
Uwe Hermann [Wed, 29 Feb 2012 18:56:15 +0000 (19:56 +0100)]
sr/cli/gtk/qt: s/hw/driver/ in some places.

12 years agosr: sr_hw_has_hwcap(): More docs, error checks.
Uwe Hermann [Wed, 29 Feb 2012 18:32:39 +0000 (19:32 +0100)]
sr: sr_hw_has_hwcap(): More docs, error checks.

12 years agosr: s/sr_dev_probe_name/sr_dev_probe_name_set/.
Uwe Hermann [Wed, 29 Feb 2012 18:17:36 +0000 (19:17 +0100)]
sr: s/sr_dev_probe_name/sr_dev_probe_name_set/.

12 years agosr: datastore: More error checks.
Uwe Hermann [Wed, 29 Feb 2012 18:11:09 +0000 (19:11 +0100)]
sr: datastore: More error checks.

12 years agosr: Rename hwplugin.c to hwdriver.c.
Uwe Hermann [Tue, 28 Feb 2012 22:53:17 +0000 (23:53 +0100)]
sr: Rename hwplugin.c to hwdriver.c.

12 years agosr/cli/gtk/qt/: s/plugin/driver/.
Uwe Hermann [Tue, 28 Feb 2012 22:52:30 +0000 (23:52 +0100)]
sr/cli/gtk/qt/: s/plugin/driver/.

12 years agosr: code cleanup
Bert Vermeulen [Tue, 28 Feb 2012 16:47:02 +0000 (17:47 +0100)]
sr: code cleanup

12 years agosr: Fix/document probe names.
Uwe Hermann [Tue, 28 Feb 2012 00:09:29 +0000 (01:09 +0100)]
sr: Fix/document probe names.

12 years agosr: fx2lafw: Consistent #include guard naming.
Uwe Hermann [Mon, 27 Feb 2012 22:55:06 +0000 (23:55 +0100)]
sr: fx2lafw: Consistent #include guard naming.

12 years agosr: fx2lafw: Use gboolean consistenly.
Uwe Hermann [Mon, 27 Feb 2012 22:53:44 +0000 (23:53 +0100)]
sr: fx2lafw: Use gboolean consistenly.

12 years agofx2lafw: Small consistency fixes.
Uwe Hermann [Mon, 27 Feb 2012 22:40:38 +0000 (23:40 +0100)]
fx2lafw: Small consistency fixes.

12 years agofx2lafw: Compile fix.
Uwe Hermann [Mon, 27 Feb 2012 22:26:05 +0000 (23:26 +0100)]
fx2lafw: Compile fix.

12 years agofx2lafw: Implemented hw_dev_acquisition_stop
Joel Holdsworth [Mon, 27 Feb 2012 19:34:24 +0000 (19:34 +0000)]
fx2lafw: Implemented hw_dev_acquisition_stop

12 years agofx2lafw: Implemented hw_dev_acquisition_start
Joel Holdsworth [Mon, 27 Feb 2012 19:32:58 +0000 (19:32 +0000)]
fx2lafw: Implemented hw_dev_acquisition_start

12 years agofx2lafw: Basic implementation of hw_dev_config_set with SR_HWCAP_LIMIT_SAMPLES
Joel Holdsworth [Mon, 27 Feb 2012 19:21:08 +0000 (19:21 +0000)]
fx2lafw: Basic implementation of hw_dev_config_set with SR_HWCAP_LIMIT_SAMPLES

12 years agofx2lafw: Added more to hw_cleanup
Joel Holdsworth [Mon, 27 Feb 2012 19:02:52 +0000 (19:02 +0000)]
fx2lafw: Added more to hw_cleanup

12 years agofx2lafw: Implemented hw_dev_close
Joel Holdsworth [Mon, 27 Feb 2012 19:00:22 +0000 (19:00 +0000)]
fx2lafw: Implemented hw_dev_close

12 years agofx2lafw: Implemented hw_dev_open
Joel Holdsworth [Sun, 26 Feb 2012 12:39:40 +0000 (12:39 +0000)]
fx2lafw: Implemented hw_dev_open

12 years agosr: Moved GTV_TO_MSEC to sigrok-internal.h
Joel Holdsworth [Sun, 26 Feb 2012 12:18:05 +0000 (12:18 +0000)]
sr: Moved GTV_TO_MSEC to sigrok-internal.h

12 years agofx2lafw: Implemented firmware upload
Joel Holdsworth [Sat, 25 Feb 2012 11:58:55 +0000 (11:58 +0000)]
fx2lafw: Implemented firmware upload

12 years agofx2lafw: Renamed fx2lafw_dev to ctx in hw_dev_info_get
Joel Holdsworth [Mon, 27 Feb 2012 19:42:08 +0000 (19:42 +0000)]
fx2lafw: Renamed fx2lafw_dev to ctx in hw_dev_info_get

12 years agofx2lafw: Renamed fx2lafw_dev to ctx in hw_init
Joel Holdsworth [Mon, 27 Feb 2012 19:41:10 +0000 (19:41 +0000)]
fx2lafw: Renamed fx2lafw_dev to ctx in hw_init

12 years agofx2lafw: Renamed dev_insts variable in hw_init
Joel Holdsworth [Mon, 27 Feb 2012 20:50:00 +0000 (20:50 +0000)]
fx2lafw: Renamed dev_insts variable in hw_init

12 years agosr: sr_samplerate_string: Allow 3.15Hz etc. as output.
Uwe Hermann [Mon, 27 Feb 2012 21:27:33 +0000 (22:27 +0100)]
sr: sr_samplerate_string: Allow 3.15Hz etc. as output.

This is required for some hardware, e.g. ChronoVu LA8, where
33.333333 MHz or 2.439024 MHz are valid samplerates. This is because the
hardware takes a sampleperiod (in nanoseconds) as input, not a
samplerate (in Hz).

12 years agofx2lafw: Implemented hw_get_status
Joel Holdsworth [Sat, 11 Feb 2012 17:41:22 +0000 (17:41 +0000)]
fx2lafw: Implemented hw_get_status

12 years agofx2lafw: Exposed capabilities data
Joel Holdsworth [Sat, 11 Feb 2012 17:39:39 +0000 (17:39 +0000)]
fx2lafw: Exposed capabilities data