]> sigrok.org Git - libsigrokdecode.git/log
libsigrokdecode.git
10 years agodcf77: Consistency renames.
Uwe Hermann [Sun, 15 Sep 2013 14:39:59 +0000 (16:39 +0200)]
dcf77: Consistency renames.

10 years agodcf77: Drop PON pin handling.
Uwe Hermann [Sun, 15 Sep 2013 14:33:32 +0000 (16:33 +0200)]
dcf77: Drop PON pin handling.

The PON pin is specific to the Pollin "DCF1 module", but has nothing to
do with DCF77 itself. Thus, drop it from this PD. It can be part of
another stacked PD if needed.

This fixes bug #153.

10 years agodcf77: Use proper annotations for DCF77 components.
Uwe Hermann [Sun, 15 Sep 2013 14:31:00 +0000 (16:31 +0200)]
dcf77: Use proper annotations for DCF77 components.

10 years agodcf77: Fix bug in handling of DCF77 bit 0.
Uwe Hermann [Sat, 14 Sep 2013 21:20:48 +0000 (23:20 +0200)]
dcf77: Fix bug in handling of DCF77 bit 0.

10 years agodcf77: Fix start-/end-sample numbers.
Uwe Hermann [Sat, 14 Sep 2013 21:17:10 +0000 (23:17 +0200)]
dcf77: Fix start-/end-sample numbers.

This fixes bug #154.

10 years agoi2c: Drop unneeded 'addressing' option.
Uwe Hermann [Sat, 14 Sep 2013 18:28:40 +0000 (20:28 +0200)]
i2c: Drop unneeded 'addressing' option.

This (unimplemented so far) option is not needed at all, since the
decoder will be able to detect 7/10 bit slave addresses automatically,
the user doesn't have to specify slave address sizes.

10 years agoi2c: Drop obsolete TODOs.
Uwe Hermann [Sat, 14 Sep 2013 18:10:01 +0000 (20:10 +0200)]
i2c: Drop obsolete TODOs.

10 years agoi2c: Move OUTPUT_PROTO docs to pd.py.
Uwe Hermann [Sat, 14 Sep 2013 17:07:20 +0000 (19:07 +0200)]
i2c: Move OUTPUT_PROTO docs to pd.py.

10 years agoi2c: Moved extensive protocol docs to the wiki.
Uwe Hermann [Sat, 14 Sep 2013 17:06:05 +0000 (19:06 +0200)]
i2c: Moved extensive protocol docs to the wiki.

10 years agoi2c: Various fixes to make the PD suitable for GUIs.
Uwe Hermann [Fri, 13 Sep 2013 17:08:34 +0000 (19:08 +0200)]
i2c: Various fixes to make the PD suitable for GUIs.

The output format of the slave address is now a PD option. It can be
"shifted" or "unshifted", i.e. bit 0 (which contains a read/write
marker) is either shifted out or not, i.e., the slave address is
displayed as 8bit or 7bit number (or 11bit/10bit number for 10bit slave
addresses).

Data bytes (not address bytes) are always shown as 8bit values, of course.

Add annotation types for the individual I2C components such as
start conditions, stop conditions, ACK/NACK, address read/writes,
data read/writes and so on.

This fixes bug #151.

10 years agospi: Add some documentation, move OUTPUT_PROTO docs.
Uwe Hermann [Thu, 12 Sep 2013 19:22:09 +0000 (21:22 +0200)]
spi: Add some documentation, move OUTPUT_PROTO docs.

Add a short help text for the PD and move the OUTPUT_PROTO docs to pd.py
since they're not meant for the user too see.

10 years agospi: Make CS# optional and use it if supplied.
Uwe Hermann [Thu, 12 Sep 2013 19:19:55 +0000 (21:19 +0200)]
spi: Make CS# optional and use it if supplied.

The CS# pin is now optional, it can either be supplied to the PD or not.

If it _is_ supplied, reset the PD state every time it changes. This has
the effect that "incomplete" SPI frames and those where CS# is not
asserted are ignored and not decoded.

This fixes bug #152.

10 years agospi: Refactor code, use a state machine.
Uwe Hermann [Thu, 12 Sep 2013 19:14:06 +0000 (21:14 +0200)]
spi: Refactor code, use a state machine.

10 years agospi: Provide multiple annotation types.
Uwe Hermann [Thu, 12 Sep 2013 19:05:22 +0000 (21:05 +0200)]
spi: Provide multiple annotation types.

For now SPI gets the following annotation types:

 - MISO/MOSI SPI data
 - MISO SPI data
 - MOSI SPI data

(i.e. you can see either MISO, or MOSI, or both; the latter is most
useful for CLI usage)

Also, show the hex values as e.g. F5 (upper-case letters, no "0x" prefix).

10 years agospi: Fix start-/end-sample numbers.
Uwe Hermann [Thu, 12 Sep 2013 18:57:04 +0000 (20:57 +0200)]
spi: Fix start-/end-sample numbers.

This now makes the SPI decoder suitable for use in GUIs.

This fixes bug #150.

10 years agospi: Make data format a PD option, add annotation types.
Uwe Hermann [Thu, 12 Sep 2013 18:45:02 +0000 (20:45 +0200)]
spi: Make data format a PD option, add annotation types.

The data format can be specified via the PD's "format" option now, it is
no longer an annotation type.

Also, add and use two annotation types: "Data" and "Warnings".

10 years agocan: Use proper annotation types for the CAN fields.
Uwe Hermann [Thu, 12 Sep 2013 14:36:25 +0000 (16:36 +0200)]
can: Use proper annotation types for the CAN fields.

This allows GUIs to show different fields in different colors.

10 years agouart: Output data in separate RX and TX annotation types.
Uwe Hermann [Thu, 12 Sep 2013 07:40:40 +0000 (09:40 +0200)]
uart: Output data in separate RX and TX annotation types.

There is one annotation type for the RX side of the communication/data
output now, and another one for the TX side.

This allows GUIs to show them in two different traces, and/or show them in
the same trace but with different colors.

This also has the additional benefit that it is clear which databyte
belongs to which direction. Previously the annotations had to look like
"RX: 5F" or "TX: 11001011", but the "RX: " and "TX: " prefixes are now
no longer required, making the GUI traces (and CLI output too) much more
readable.

10 years agouart: Use same length for data output in all cases.
Uwe Hermann [Thu, 12 Sep 2013 07:32:28 +0000 (09:32 +0200)]
uart: Use same length for data output in all cases.

Until now you could get e.g. "d" or "df" as hex output from the UART PD.

This will now be a common-length "0D" and "DF". When all data byte
annotations are of the same lengths the readability in GUI traces is a lot
better. Also, hardcode hex characters to be upper-case (for now).

The same applies to oct ("021" instead of "21") and bin output
("00001001" instead of "1001").

10 years agouart: Put annotations into proper annotation types.
Uwe Hermann [Thu, 12 Sep 2013 07:17:12 +0000 (09:17 +0200)]
uart: Put annotations into proper annotation types.

There are now extra annotation types for data, start/stop/parity bits and
for warnings (e.g. "invalid parity" or "frame error" or such).

This allows users to select which of the annotation types they want to
see (they can select one/multiple/all annotations as needed), and also
allows them to use different visual representation for the different
annotation types in GUIs (e.g. different colors for the blobs, different
fonts, rectangle/round/elliptic blobs, and so on; how the annotation
blobs are displayed is entirely up to the GUI and its configuration by
the user).

10 years agouart: Move OUTPUT_PROTO format description to pd.py.
Uwe Hermann [Thu, 12 Sep 2013 07:07:53 +0000 (09:07 +0200)]
uart: Move OUTPUT_PROTO format description to pd.py.

This is information that a user (when viewing PD info in a GUI/CLI)
should not see (and doesn't care to see), it is meant for developers only.

Thus, make it a comment in pd.py instead.

10 years agouart: Drop extensive protocol info (moved to wiki).
Uwe Hermann [Thu, 12 Sep 2013 07:01:52 +0000 (09:01 +0200)]
uart: Drop extensive protocol info (moved to wiki).

Move the full details of the protocol to the wiki, the docs in the PD
itself should only be a short description and/or a collection of notes
that could be useful for a user in a GUI (or CLI) to decide which
PD to select, which options to set how, what PDs to stack where, and so on.

The full protocol description (including photos, examples, ...) is here:

  http://sigrok.org/wiki/Protocol_decoder:Uart

10 years agouart: Make data format selection a PD option.
Uwe Hermann [Thu, 12 Sep 2013 06:31:59 +0000 (08:31 +0200)]
uart: Make data format selection a PD option.

Until now we (ab)used annotation types for outputting the same data
(numbers) in different formats (hex, ascii, binary, and so on).

Turn this into a proper PD option, since annotation types should rather be
used for different _types_ of annotations (e.g. "CRC", "Stop bit",
"Preamble", "Sequence counter", "Warnings", and similar things), not
different _formats_ for the same annotation type.

Old sigrok-cli invocation for hex output:

  sigrok-cli ... -P uart:rx=0:tx=1 -A uart=hex

New:

  sigrok-cli ... -P uart:rx=0:tx=1:format=hex

In GUIs there is now a new "Data format" option where the user can
select the output format for UART data (default is 'ascii').

10 years agouart: Use T for stop bit, P for parity bit.
Uwe Hermann [Thu, 12 Sep 2013 06:20:03 +0000 (08:20 +0200)]
uart: Use T for stop bit, P for parity bit.

The short(est) annotations for "Stop bit" and "Parity bit" have both
been "P" until now, which is confusing for users (on certain zoom levels
in GUIs). Use "T" for stop bits now instead.

10 years agouart: Don't prefix databyte output numbers.
Uwe Hermann [Wed, 11 Sep 2013 17:53:31 +0000 (19:53 +0200)]
uart: Don't prefix databyte output numbers.

Previously the output was 0x41 or 0o101 or 0b1000001, now it is 41 or
101 or 1000001. We drop these prefixes, since they decrease the readability
of the PD output (especially when displayed in GUIs) and are not needed
anyway since the user knowingly selected the number format before running
the respective PD.

10 years agouart: Fix corner-case that can occur with LA triggers.
Uwe Hermann [Wed, 11 Sep 2013 17:20:15 +0000 (19:20 +0200)]
uart: Fix corner-case that can occur with LA triggers.

Assume that the initial pin state is 1/high for the RX and TX lines.

This fixes the decode when an LA triggers on e.g. TX=low (the first
sample would be low in that case, so the falling edge for the start bit
would be missed by the decoder).

10 years agouart: Fix start-/end-sample numbers.
Uwe Hermann [Wed, 11 Sep 2013 17:15:51 +0000 (19:15 +0200)]
uart: Fix start-/end-sample numbers.

This now makes the UART decoder suitable for use in GUIs.

This fixes bug #148.

10 years agocan: Use annotation abbreviations.
Uwe Hermann [Tue, 10 Sep 2013 07:33:11 +0000 (09:33 +0200)]
can: Use annotation abbreviations.

Supply long, middle, and short versions for most annotations, so that
GUIs can show nicely readable and useful annotations on various zoom
levels.

10 years agocan: Fix annotation start/end samples.
Uwe Hermann [Mon, 9 Sep 2013 19:48:42 +0000 (21:48 +0200)]
can: Fix annotation start/end samples.

With this change pretty much all CAN annotations that are currently
output should have the correct values, including single-bit and
multi-bit fields, standard and extended CAN frames, and so on.

This fixes #146.

10 years agocan: Prepare for fixing annotation start/end samples.
Uwe Hermann [Mon, 9 Sep 2013 17:38:38 +0000 (19:38 +0200)]
can: Prepare for fixing annotation start/end samples.

10 years agoi2c: Fix corner-case that can occur with LA triggers.
Uwe Hermann [Sun, 8 Sep 2013 13:16:11 +0000 (15:16 +0200)]
i2c: Fix corner-case that can occur with LA triggers.

Until now the I2C PD was basically ignoring the very first sample, and
using that as the initial 'oldscl'/'oldsda' value.

However, if your logic analyzers trigger on, say, SDA=low that will
result in a file where the first sample is really important since it
is the one which the PD will need to know that there's a falling edge
on SDA.

Thus, assume both SCL and SDA are high/1 when the PD starts. This is
a good assumption since both pins have pullups on them in practice
and are thus high/1 when the bus is idle.

Later on we might want to have config options to let the PD assume
other states of SDA/SCL initially.

10 years agoi2s: Fixed annotation sample numbers
Joel Holdsworth [Tue, 3 Sep 2013 15:36:44 +0000 (16:36 +0100)]
i2s: Fixed annotation sample numbers

10 years agopan1321: Improve commands documentation.
Uwe Hermann [Thu, 15 Aug 2013 15:12:33 +0000 (17:12 +0200)]
pan1321: Improve commands documentation.

10 years agopan1321: Initial JSDA support.
Uwe Hermann [Fri, 9 Aug 2013 18:17:03 +0000 (20:17 +0200)]
pan1321: Initial JSDA support.

10 years agopan1321: Add support for JAAC.
Uwe Hermann [Fri, 9 Aug 2013 17:19:00 +0000 (19:19 +0200)]
pan1321: Add support for JAAC.

10 years agopan1321: Properly check for \r\n, not just \n.
Uwe Hermann [Fri, 9 Aug 2013 17:13:20 +0000 (19:13 +0200)]
pan1321: Properly check for \r\n, not just \n.

10 years agopan1321: Code simplifications.
Uwe Hermann [Fri, 9 Aug 2013 17:11:08 +0000 (19:11 +0200)]
pan1321: Code simplifications.

10 years agopan1321: Add warnings for invalid protocol usage.
Uwe Hermann [Sun, 4 Aug 2013 12:24:40 +0000 (14:24 +0200)]
pan1321: Add warnings for invalid protocol usage.

10 years agopan1321: Support JSEC and JPRO.
Uwe Hermann [Sun, 4 Aug 2013 12:15:33 +0000 (14:15 +0200)]
pan1321: Support JSEC and JPRO.

10 years agoUse frontend-registered callback with correct parameters
Bert Vermeulen [Sun, 1 Sep 2013 16:20:36 +0000 (18:20 +0200)]
Use frontend-registered callback with correct parameters

10 years agoxfp: Decoder for XFP I2C structures
Bert Vermeulen [Sat, 31 Aug 2013 09:18:49 +0000 (11:18 +0200)]
xfp: Decoder for XFP I2C structures

10 years agoIgnore __pycache__ entries
Bert Vermeulen [Sat, 31 Aug 2013 09:17:02 +0000 (11:17 +0200)]
Ignore __pycache__ entries

10 years agolpc: Bugfix: Sample data at rising clock edges.
Uwe Hermann [Tue, 13 Aug 2013 19:30:04 +0000 (21:30 +0200)]
lpc: Bugfix: Sample data at rising clock edges.

10 years agolpc: Various fixes to make the PD actually work.
Uwe Hermann [Tue, 13 Aug 2013 19:06:03 +0000 (21:06 +0200)]
lpc: Various fixes to make the PD actually work.

10 years agoFix double free
Bert Vermeulen [Thu, 23 May 2013 09:24:25 +0000 (11:24 +0200)]
Fix double free

10 years agoFix double free
Bert Vermeulen [Wed, 8 May 2013 20:25:37 +0000 (22:25 +0200)]
Fix double free

10 years agoDoxyfile: Set version to "unreleased development snapshot".
Uwe Hermann [Wed, 8 May 2013 14:46:07 +0000 (16:46 +0200)]
Doxyfile: Set version to "unreleased development snapshot".

10 years agoFix various memory leaks
Bert Vermeulen [Sun, 5 May 2013 15:20:13 +0000 (17:20 +0200)]
Fix various memory leaks

10 years agoUse enums for error codes and loglevels as in libsigrok. libsigrokdecode-0.2.0
Uwe Hermann [Fri, 3 May 2013 21:51:35 +0000 (23:51 +0200)]
Use enums for error codes and loglevels as in libsigrok.

10 years agoAdd srd_strerror() and srd_strerror_name().
Uwe Hermann [Fri, 3 May 2013 21:28:10 +0000 (23:28 +0200)]
Add srd_strerror() and srd_strerror_name().

10 years agolibsigrokdecode-internal.h: Cosmetics.
Uwe Hermann [Fri, 3 May 2013 21:09:53 +0000 (23:09 +0200)]
libsigrokdecode-internal.h: Cosmetics.

10 years agoNEWS: Minor updates.
Uwe Hermann [Fri, 3 May 2013 19:37:54 +0000 (21:37 +0200)]
NEWS: Minor updates.

10 years agoDoxygen: Various fixes.
Uwe Hermann [Fri, 3 May 2013 19:21:30 +0000 (21:21 +0200)]
Doxygen: Various fixes.

10 years agoMain header is <libsigrokdecode/libsigrokdecode.h> now.
Uwe Hermann [Fri, 3 May 2013 12:49:21 +0000 (14:49 +0200)]
Main header is <libsigrokdecode/libsigrokdecode.h> now.

This matches the convention used in libsigrok. Potential other headers
might end up in libsigrokdecode/, but only libsigrokdecode.h is meant
to be #included by frontends directly.

10 years agoDoxygen: Add @since markers to API functions.
Uwe Hermann [Fri, 3 May 2013 12:45:49 +0000 (14:45 +0200)]
Doxygen: Add @since markers to API functions.

Also, document the functions in version.c.

10 years agoHACKING: Document the @since Doxygen tag.
Uwe Hermann [Fri, 3 May 2013 12:31:11 +0000 (14:31 +0200)]
HACKING: Document the @since Doxygen tag.

10 years agoDoxyfile: Set version number to 0.2.0.
Uwe Hermann [Fri, 3 May 2013 12:22:01 +0000 (14:22 +0200)]
Doxyfile: Set version number to 0.2.0.

10 years agoUpdate package version to new 0.2.0 release
Bert Vermeulen [Fri, 3 May 2013 09:20:06 +0000 (11:20 +0200)]
Update package version to new 0.2.0 release

10 years agoGPL headers: Use correct project name.
Uwe Hermann [Tue, 23 Apr 2013 20:27:20 +0000 (22:27 +0200)]
GPL headers: Use correct project name.

11 years agoconfigure.ac: Show $build, $host, and lib versions.
Uwe Hermann [Mon, 15 Apr 2013 10:21:04 +0000 (12:21 +0200)]
configure.ac: Show $build, $host, and lib versions.

11 years agoconfigure.ac: Look for python-config-3.x besides python3.x-config.
Peter Stuge [Sat, 6 Apr 2013 13:01:25 +0000 (15:01 +0200)]
configure.ac: Look for python-config-3.x besides python3.x-config.

11 years agoREADME: Add "Copyright and license" section.
Uwe Hermann [Tue, 19 Mar 2013 23:03:03 +0000 (00:03 +0100)]
README: Add "Copyright and license" section.

11 years agouse GVariant for passing decoder options and probes
Bert Vermeulen [Tue, 19 Mar 2013 00:47:53 +0000 (01:47 +0100)]
use GVariant for passing decoder options and probes

Decoder options are now exposed in struct srd_decoder, via a GSList
of the new struct srd_decoder_option. The 'def' field represents
the default value as set in the decoder, converted to GVariant. This
allows a library user to determine the type as well as default value.

11 years agocode cleanup
Bert Vermeulen [Tue, 19 Mar 2013 00:01:25 +0000 (01:01 +0100)]
code cleanup

11 years agoconfigure.ac: Drop std-options, unneeded.
Uwe Hermann [Sun, 17 Mar 2013 12:21:35 +0000 (13:21 +0100)]
configure.ac: Drop std-options, unneeded.

The automake 'std-options' option checks whether all installed tools
and scripts have a --help and --version CLI option. This check is not
needed for libsigrokdecode though, since it doesn't install any tools.

11 years agoREADME: Refer to INSTALL and new Building wiki page.
Uwe Hermann [Sun, 17 Mar 2013 11:53:49 +0000 (12:53 +0100)]
README: Refer to INSTALL and new Building wiki page.

11 years agods1307: Fix date/day-of-week printing.
Uwe Hermann [Tue, 12 Mar 2013 14:12:09 +0000 (15:12 +0100)]
ds1307: Fix date/day-of-week printing.

11 years agoAdd Dallas DS1307 RTC protocol decoder
Matt Ranostay [Mon, 11 Mar 2013 08:03:20 +0000 (08:03 +0000)]
Add Dallas DS1307 RTC protocol decoder

Dallas DS1307 RTC protocol decoder that works stacked
with the I2C PD. Based on the rtc8564 protocol decoder.

Signed-off-by: Matt Ranostay <redacted>
11 years agoDoxygen: Initial groups and topic short descriptions.
Uwe Hermann [Sat, 9 Feb 2013 21:25:15 +0000 (22:25 +0100)]
Doxygen: Initial groups and topic short descriptions.

11 years agoDoxygen: Add @file items for the relevant files.
Uwe Hermann [Sat, 9 Feb 2013 21:10:57 +0000 (22:10 +0100)]
Doxygen: Add @file items for the relevant files.

These short descriptions are shown in the "Files" section of the
Doxygen output.

11 years agoDoxygen: Mark private functions/variables properly.
Uwe Hermann [Sat, 9 Feb 2013 20:44:11 +0000 (21:44 +0100)]
Doxygen: Mark private functions/variables properly.

11 years agoDoxygen: Document how to mark private stuff.
Uwe Hermann [Sat, 9 Feb 2013 20:43:46 +0000 (21:43 +0100)]
Doxygen: Document how to mark private stuff.

11 years agoDoxygen: Add intro section and some docs.
Uwe Hermann [Sat, 9 Feb 2013 20:32:31 +0000 (21:32 +0100)]
Doxygen: Add intro section and some docs.

11 years agoAdd contrib/sigrok-logo-notext.png.
Uwe Hermann [Sat, 9 Feb 2013 20:07:53 +0000 (21:07 +0100)]
Add contrib/sigrok-logo-notext.png.

This is used in the generated Doxygen HTML output.

11 years agoDoxyfile: Update to match the libsigrok file/settings.
Uwe Hermann [Sat, 9 Feb 2013 20:03:08 +0000 (21:03 +0100)]
Doxyfile: Update to match the libsigrok file/settings.

This uses a template generated by Doyxgen 1.8.1.2 (like libsigrok
currently does) and adapts it to libsigrokdecode needs.

11 years ago.gitignore: Add INSTALL (copied by automake).
Uwe Hermann [Sat, 2 Feb 2013 11:19:22 +0000 (12:19 +0100)]
.gitignore: Add INSTALL (copied by automake).

11 years agoBring back temporarily reverted changes.
Uwe Hermann [Sat, 2 Feb 2013 11:18:29 +0000 (12:18 +0100)]
Bring back temporarily reverted changes.

11 years agocan: Temporary quickfix for a bug. libsigrokdecode-0.1.1
Uwe Hermann [Wed, 30 Jan 2013 00:16:35 +0000 (01:16 +0100)]
can: Temporary quickfix for a bug.

11 years agoUpdate package version to new 0.1.1 release.
Uwe Hermann [Sun, 20 Jan 2013 23:59:59 +0000 (00:59 +0100)]
Update package version to new 0.1.1 release.

11 years agoUpdate libtool version numbers for libsigrokdecode.
Uwe Hermann [Sun, 20 Jan 2013 23:50:14 +0000 (00:50 +0100)]
Update libtool version numbers for libsigrokdecode.

The last release of libsigrokdecode (package version number 0.1.0) had the
initial libtool version numbers (current:revision:age) of 0:0:0.

The upcoming release (0.1.1) is API-compatible with 0.1.0 and can be used
as drop-in replacement. Programs linked against 0.1.0 do not need to
be recompiled or relinked.

As per the libtool guidelines this release only increments the
libtool "revision" number. The new libtool version numbers
(current:revision:age) are thus 0:1:0.

See here for details:
http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info

11 years agoNEWS: Various updates.
Uwe Hermann [Sun, 20 Jan 2013 23:39:53 +0000 (00:39 +0100)]
NEWS: Various updates.

11 years agoMinor autotools improvements.
Uwe Hermann [Sun, 20 Jan 2013 20:46:42 +0000 (21:46 +0100)]
Minor autotools improvements.

 - Don't use "foreign" option for automake. Without this automake will
   perform some additional sanity checks e.g. on missing files. It will also
   now add the usual INSTALL file which documents the configure options etc.

 - Add AUTHORS file.

 - Add 'check-news' automake option, which will abort 'make dist' if
   the NEWS file doesn't list the current (to be released) package
   version at the top (i.e., if we forget to update NEWS).

11 years agoTemporarily revert API changes in preparation of release.
Uwe Hermann [Sun, 20 Jan 2013 20:26:45 +0000 (21:26 +0100)]
Temporarily revert API changes in preparation of release.

The upcoming libsigrokdecode release should not contain any API changes
so it is compatible with existing released frontends (sigrok-cli 0.3.1).

11 years agoconfigure.ac: Drop AC_PROG_CXX.
Uwe Hermann [Sat, 19 Jan 2013 20:23:25 +0000 (21:23 +0100)]
configure.ac: Drop AC_PROG_CXX.

We don't need a C++ compiler for libsigrokdecode, so don't check for one.

This would cause a build failure on all systems where there is a C compiler
but no C++ compiler installed.

11 years agoLower glib-2.0 requirement to 2.24.0.
Uwe Hermann [Sat, 19 Jan 2013 15:38:46 +0000 (16:38 +0100)]
Lower glib-2.0 requirement to 2.24.0.

We don't use any of the recent glib features in libsigrokdecode, it
compiles fine with 2.24.x.

11 years agoMakefile.am: Fix typo in 'ChangeLog' target.
Uwe Hermann [Mon, 7 Jan 2013 22:11:22 +0000 (23:11 +0100)]
Makefile.am: Fix typo in 'ChangeLog' target.

11 years agoCosmetics, fix typos.
Uwe Hermann [Mon, 7 Jan 2013 21:30:17 +0000 (22:30 +0100)]
Cosmetics, fix typos.

11 years agoNEWS: Add list of user-visible changes so far.
Uwe Hermann [Mon, 7 Jan 2013 21:25:33 +0000 (22:25 +0100)]
NEWS: Add list of user-visible changes so far.

11 years agoSmall cosmetic/consistency fixes in the PDs.
Uwe Hermann [Tue, 1 Jan 2013 18:11:13 +0000 (19:11 +0100)]
Small cosmetic/consistency fixes in the PDs.

11 years agoconstify srd_decoder_list() output
Bert Vermeulen [Tue, 1 Jan 2013 12:04:16 +0000 (13:04 +0100)]
constify srd_decoder_list() output

11 years agosrd_inst_new() options can be NULL
Bert Vermeulen [Tue, 1 Jan 2013 00:09:46 +0000 (01:09 +0100)]
srd_inst_new() options can be NULL

11 years agoFix compiler warning.
Uwe Hermann [Fri, 28 Dec 2012 16:16:19 +0000 (17:16 +0100)]
Fix compiler warning.

11 years agoconfigure.ac: Add missing -fvisibility=hidden to CFLAGS.
Uwe Hermann [Fri, 28 Dec 2012 16:12:19 +0000 (17:12 +0100)]
configure.ac: Add missing -fvisibility=hidden to CFLAGS.

11 years agoconfigure.ac: Fix CFLAGS settings.
Uwe Hermann [Fri, 28 Dec 2012 16:03:20 +0000 (17:03 +0100)]
configure.ac: Fix CFLAGS settings.

Don't override/overwrite CFLAGS in configure.ac, but rather amend it
with (currently) "-Wall -Wextra".

This properly allows users/packagers to do things like:

 ./configure (this will default to using "-g -O2" additionally)

 CFLAGS="-g -O2" ./configure (same as above)

 CFLAGS="" ./configure (no additional flags)

 CFLAGS="-g -O0" ./configure (disable optimization, e.g. for valgrind use)

 etc. etc.

11 years agoAdd intial CAN protocol decoder.
Uwe Hermann [Wed, 28 Nov 2012 18:06:17 +0000 (19:06 +0100)]
Add intial CAN protocol decoder.

11 years agoconfigure.ac: Also check for python3.3-config.
Uwe Hermann [Wed, 12 Dec 2012 18:45:52 +0000 (19:45 +0100)]
configure.ac: Also check for python3.3-config.

11 years agomlx90614: "Kelvin", not "degrees Kelvin".
Uwe Hermann [Wed, 21 Nov 2012 21:56:01 +0000 (22:56 +0100)]
mlx90614: "Kelvin", not "degrees Kelvin".

11 years agoFix bugs in "Invalid state" printing/exceptions.
Uwe Hermann [Wed, 21 Nov 2012 21:51:31 +0000 (22:51 +0100)]
Fix bugs in "Invalid state" printing/exceptions.

11 years agoAll PDs: Name the files pd.py consistently.
Uwe Hermann [Wed, 21 Nov 2012 21:43:02 +0000 (22:43 +0100)]
All PDs: Name the files pd.py consistently.

The Python module name is determined by the directory name (e.g. dcf77),
the *.py file names in that directory don't matter and can be kept
consistent.

11 years agoconfigure.ac/Makefile.am: Alphabetical order.
Uwe Hermann [Wed, 21 Nov 2012 21:29:43 +0000 (22:29 +0100)]
configure.ac/Makefile.am: Alphabetical order.