Uwe Hermann
c0a1e532f5
transform: Hook up transforms.
2015-02-11 12:23:02 +01:00
Uwe Hermann
5801d558e7
Lower dependency to glib 2.32.
...
By avoiding g_slist_copy_deep() for now, we can easily allow libsigrok
to build against glib 2.32 (less hassle for users of stable/older
distros or OSes).
2015-01-29 13:55:55 +01:00
Uwe Hermann
9f42e2e6be
sr_session_trigger_{get,set}: Document, add error checks.
2014-11-24 00:50:11 +01:00
Uwe Hermann
91219afc75
Use g_malloc0() consistently, simplify error handling.
...
Use g_malloc0() for small allocations and assume they always
succeed. Simplify error handling in a few places accordingly.
Don't always sanity-check parameters for non-public (SR_PRIV)
functions, we require the developers to invoke them correctly.
This allows further error handling simplifications.
2014-11-22 17:02:57 +01:00
Bert Vermeulen
1954dfa963
Show SR_DF_ANALOG2 packets in debug output.
2014-11-18 00:24:37 +01:00
Martin Ling
1de3ccede9
Track sdis created by sr_session_load(), and free in sr_session_destroy().
2014-10-15 13:44:25 +02:00
Soeren Apel
1b9e567b08
Removal of sdi->index, step 1: remove it from headers and helper funcs
2014-09-30 01:42:58 +02:00
Bert Vermeulen
8143cfdc90
Add sr_packet_copy/_free functions.
...
These will be used to make a copy of a packet on the session bus,
valid for the duration of the device instance that generated it.
2014-09-26 01:35:02 +02:00
Bert Vermeulen
79f92686c6
session: Don't try to send packets if no session has been set.
...
This indicates a bug, but let's not segfault if it happens.
2014-09-22 00:47:22 +02:00
Bert Vermeulen
013ec84b83
Don't start session with 0-channel devices.
...
Drivers aren't really able to deal with that in some cases, and it
denotes a frontend bug.
2014-09-10 18:21:51 +02:00
Bert Vermeulen
3c1cafebb3
session: Remove irrelevant logging.
2014-08-13 14:34:55 +02:00
Uwe Hermann
41de54ffb1
sr_session_new(): Return SR_ERR_ARG upon invalid argument.
...
(instead of segfaulting)
2014-08-11 13:15:43 +02:00
Uwe Hermann
7efe889e7a
Doxygen: Add a few missing @param lines for sessions.
...
This fixes a bunch of Doxygen warnings.
2014-08-10 17:31:33 +02:00
Uwe Hermann
f4d2042d3c
session*.c: Remove some unneeded lines.
2014-07-22 23:25:24 +02:00
Bert Vermeulen
155b680da4
Reorganize project tree.
2014-07-22 18:19:29 +02:00