]> sigrok.org Git - libsigrok.git/log
libsigrok.git
14 years agozeroplus: Fix compiler warnings.
Uwe Hermann [Fri, 9 Apr 2010 19:20:22 +0000 (21:20 +0200)]
zeroplus: Fix compiler warnings.

14 years agoFactor out trigger_helper() to reduce nesting.
Uwe Hermann [Fri, 9 Apr 2010 19:16:11 +0000 (21:16 +0200)]
Factor out trigger_helper() to reduce nesting.

14 years agoFactor out common ezusb_upload_firmware().
Uwe Hermann [Fri, 9 Apr 2010 18:44:51 +0000 (20:44 +0200)]
Factor out common ezusb_upload_firmware().

14 years agoezusb.c: Coding style fixes.
Uwe Hermann [Fri, 9 Apr 2010 18:36:29 +0000 (20:36 +0200)]
ezusb.c: Coding style fixes.

14 years agosl_open_device(): Refactoring to reduce nesting.
Uwe Hermann [Fri, 9 Apr 2010 18:31:43 +0000 (20:31 +0200)]
sl_open_device(): Refactoring to reduce nesting.

14 years agoSimplify code by reducing nesting level.
Uwe Hermann [Fri, 9 Apr 2010 17:25:29 +0000 (19:25 +0200)]
Simplify code by reducing nesting level.

14 years agoCoding style fixes, aided by 'indent'.
Uwe Hermann [Fri, 9 Apr 2010 17:04:36 +0000 (19:04 +0200)]
Coding style fixes, aided by 'indent'.

The following shell alias can be used:

  alias INDENT='indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs'

14 years agomove posix-specific serial port comms to serial.c
Bert Vermeulen [Fri, 9 Apr 2010 03:15:27 +0000 (05:15 +0200)]
move posix-specific serial port comms to serial.c

14 years agoswitch to SIGROK_ERR
Bert Vermeulen [Thu, 8 Apr 2010 14:58:07 +0000 (16:58 +0200)]
switch to SIGROK_ERR

14 years agovarious fixes, basic acquisition works
Bert Vermeulen [Thu, 8 Apr 2010 14:49:39 +0000 (16:49 +0200)]
various fixes, basic acquisition works

14 years agouse strdup() instead of g_strdup()
Bert Vermeulen [Thu, 8 Apr 2010 14:44:13 +0000 (16:44 +0200)]
use strdup() instead of g_strdup()

14 years agobetter buffer size calculation
Bert Vermeulen [Thu, 8 Apr 2010 14:42:22 +0000 (16:42 +0200)]
better buffer size calculation

14 years agofix off-by-one error
Bert Vermeulen [Sun, 4 Apr 2010 18:51:04 +0000 (20:51 +0200)]
fix off-by-one error

14 years agoFactor out common sigrok_samplerate_string().
Uwe Hermann [Wed, 7 Apr 2010 17:43:41 +0000 (19:43 +0200)]
Factor out common sigrok_samplerate_string().

14 years agoVCD output: Handle disabled probes correctly.
Uwe Hermann [Tue, 6 Apr 2010 13:02:14 +0000 (15:02 +0200)]
VCD output: Handle disabled probes correctly.

14 years agoGnuplot output format support.
Uwe Hermann [Tue, 6 Apr 2010 12:38:47 +0000 (14:38 +0200)]
Gnuplot output format support.

14 years agolibsigrokdecode: Add initial return code list.
Uwe Hermann [Mon, 5 Apr 2010 23:29:32 +0000 (01:29 +0200)]
libsigrokdecode: Add initial return code list.

14 years agoStart unification of libsigrok return codes.
Uwe Hermann [Mon, 5 Apr 2010 14:41:54 +0000 (16:41 +0200)]
Start unification of libsigrok return codes.

We have SIGROK_OK for functions calls where no errors occured. All
error code names start with SIGROK_ERR and are globally unique,
negative values.

The value SIGROK_ERR is a generic/unspecified error code, all others,
such as SIGROK_ERR_MALLOC, refer to a specific error condition.

This commit renames the old SIGROK_NOK etc.

14 years agoAllow output_format.init() to return errors.
Uwe Hermann [Mon, 5 Apr 2010 14:20:09 +0000 (16:20 +0200)]
Allow output_format.init() to return errors.

14 years agoMore consistent spelling of "samplerate".
Uwe Hermann [Mon, 5 Apr 2010 13:31:39 +0000 (15:31 +0200)]
More consistent spelling of "samplerate".

14 years agoInitial Value Change Dump (VCD) output support.
Uwe Hermann [Sun, 4 Apr 2010 11:19:20 +0000 (13:19 +0200)]
Initial Value Change Dump (VCD) output support.

14 years agoRename libbackend to libsigrok.
Uwe Hermann [Fri, 2 Apr 2010 18:26:48 +0000 (20:26 +0200)]
Rename libbackend to libsigrok.

14 years agoStart of code base layout restructuring.
Uwe Hermann [Fri, 2 Apr 2010 18:18:27 +0000 (20:18 +0200)]
Start of code base layout restructuring.