Philippe Proulx [Wed, 30 Mar 2016 21:32:45 +0000 (17:32 -0400)]
templates: fix generated indentation
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 30 Mar 2016 21:32:07 +0000 (17:32 -0400)]
gen: statically compute event field sizes when possible
Closes #7
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 30 Mar 2016 21:30:39 +0000 (17:30 -0400)]
Add barectf(1) man page
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 26 Mar 2016 07:14:35 +0000 (03:14 -0400)]
config: is_valid_identifier() -> _is_valid_identifier()
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 26 Mar 2016 07:10:26 +0000 (03:10 -0400)]
config: override default env entries
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 26 Mar 2016 06:59:17 +0000 (02:59 -0400)]
tests/config/fail/metadata: add multiple streams, no stream_id
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 26 Mar 2016 06:57:04 +0000 (02:57 -0400)]
config: add "(more than one X)" in missing id/stream_id error msgs
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 26 Mar 2016 06:50:47 +0000 (02:50 -0400)]
Fix: tsdl182gen: do not write stream_id/id when PH's stream_id is missing
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 25 Mar 2016 21:44:10 +0000 (17:44 -0400)]
tests/config/pass/everything: add no payload type test
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 25 Mar 2016 18:03:59 +0000 (14:03 -0400)]
barectf v2.1.3
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 25 Mar 2016 17:59:12 +0000 (13:59 -0400)]
doc/example: add .gitignores
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 25 Mar 2016 17:57:17 +0000 (13:57 -0400)]
tests/config/fail/event: add empty event test
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 25 Mar 2016 17:54:13 +0000 (13:54 -0400)]
doc/examples/linux-fs-simple: add events with no payload type
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 25 Mar 2016 17:53:25 +0000 (13:53 -0400)]
Support empty payload type, as long as the event is not empty
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 23 Mar 2016 16:40:29 +0000 (12:40 -0400)]
README.md: add Community section
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 22 Mar 2016 23:03:19 +0000 (19:03 -0400)]
README.md: put image on top
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 19 Mar 2016 03:10:57 +0000 (23:10 -0400)]
barectf v2.1.2
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 19 Mar 2016 03:09:07 +0000 (23:09 -0400)]
Fix: stdint.yaml: fix self-aligned signed ints size
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 19 Mar 2016 02:39:03 +0000 (22:39 -0400)]
CHANGELOG.md: update for v2.1.1
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 19 Mar 2016 02:35:55 +0000 (22:35 -0400)]
barectf v2.1.1
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 19 Mar 2016 02:32:24 +0000 (22:32 -0400)]
Fix: config: clock offset object: null sets prop to default value
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 19 Mar 2016 00:31:49 +0000 (20:31 -0400)]
README.md: update Babeltrace's URL
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 19 Mar 2016 00:30:26 +0000 (20:30 -0400)]
README.md: add --python=python3 to virtualenv line
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 19 Mar 2016 00:15:43 +0000 (20:15 -0400)]
barectf v2.1.0
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 19 Mar 2016 00:09:40 +0000 (20:09 -0400)]
README.md: add CI badge
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 18 Mar 2016 22:40:58 +0000 (18:40 -0400)]
CHANGELOG.md: update for v2.1.0
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 18 Mar 2016 23:43:54 +0000 (19:43 -0400)]
tests: fix message in config/pass/everything
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 18 Mar 2016 23:42:51 +0000 (19:42 -0400)]
tests: add missing "config/fail/event/pt-empty.yaml"
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 18 Mar 2016 21:54:19 +0000 (17:54 -0400)]
doc/examples: use provided include files in configs
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 18 Mar 2016 21:51:54 +0000 (17:51 -0400)]
cli: error msg: specify "regular file"
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 18 Mar 2016 21:40:21 +0000 (17:40 -0400)]
Fix: gen: use appropriate prefix for event context type params
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 18 Mar 2016 20:47:25 +0000 (16:47 -0400)]
Fix: templates: use prefix in _write_cstring()
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 18 Mar 2016 20:13:13 +0000 (16:13 -0400)]
config: null $include means no inclusions
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 17 Mar 2016 22:07:51 +0000 (18:07 -0400)]
config: config object: null sets prop to default value
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 17 Mar 2016 22:06:49 +0000 (18:06 -0400)]
config: metadata object: null sets prop to default value
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 17 Mar 2016 22:06:42 +0000 (18:06 -0400)]
config: trace object: null sets prop to default value
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 17 Mar 2016 21:59:32 +0000 (17:59 -0400)]
config: stream object: null sets prop to default value
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 17 Mar 2016 21:56:31 +0000 (17:56 -0400)]
config: event object: null sets prop to default value
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 17 Mar 2016 21:30:47 +0000 (17:30 -0400)]
config: clock object: null sets prop to default value
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 17 Mar 2016 21:20:05 +0000 (17:20 -0400)]
config: variant type object: null sets prop to default value
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 17 Mar 2016 21:04:53 +0000 (17:04 -0400)]
config: struct type object: null sets prop to default value
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 17 Mar 2016 21:02:20 +0000 (17:02 -0400)]
config: array type object: null sets prop to default value
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 17 Mar 2016 21:00:00 +0000 (17:00 -0400)]
config: string type object: null sets prop to default value
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 17 Mar 2016 20:58:44 +0000 (16:58 -0400)]
Fix: config: start from cur last value when updating enum type obj
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 17 Mar 2016 20:47:57 +0000 (16:47 -0400)]
config: enum type object: null sets prop to default value
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 17 Mar 2016 20:43:48 +0000 (16:43 -0400)]
config: float type object: null sets prop to default value
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 17 Mar 2016 07:49:06 +0000 (03:49 -0400)]
config: int type object: null sets prop to default value
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 16 Mar 2016 19:36:01 +0000 (15:36 -0400)]
Write log level name to metadata comment if available
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 16 Mar 2016 17:10:56 +0000 (13:10 -0400)]
.gitignore: add virt and *.o
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 16 Mar 2016 16:16:01 +0000 (12:16 -0400)]
Update copyright notices
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 16 Mar 2016 01:28:49 +0000 (21:28 -0400)]
Add tests
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 16 Mar 2016 01:07:48 +0000 (21:07 -0400)]
Fix: config: check id (EH) and stream_id (PH) sizes
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 16 Mar 2016 00:50:06 +0000 (20:50 -0400)]
config: error reporting: "ts" -> "timestamp"
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 16 Mar 2016 00:44:27 +0000 (20:44 -0400)]
Fix: config: timestamp_begin and timestamp_end must be mapped to the same clock
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 16 Mar 2016 00:32:52 +0000 (20:32 -0400)]
Fix: config: check for content_size gt packet_size
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 16 Mar 2016 00:29:03 +0000 (20:29 -0400)]
Fix: config: packet context type is mandatory and must be a struct
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 15 Mar 2016 23:19:30 +0000 (19:19 -0400)]
README.md: move documentation to the project's wiki
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 15 Mar 2016 21:12:14 +0000 (17:12 -0400)]
linux-fs: zero packet buffer initially
This fixes Valgrind warnings.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 15 Mar 2016 20:12:07 +0000 (16:12 -0400)]
config: fix comment
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 15 Mar 2016 19:41:57 +0000 (15:41 -0400)]
metadata: add is_dynamic to type objs and fix align
The alignment of any type is None if it's not known statically,
i.e. if the type contains a variant containing more than one types
not having the same alignment, recursively.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 15 Mar 2016 19:38:09 +0000 (15:38 -0400)]
Fix: config: entity type: check for struct type
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 15 Mar 2016 01:14:27 +0000 (21:14 -0400)]
Add a few provided includable config files
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Mon, 14 Mar 2016 22:57:39 +0000 (18:57 -0400)]
Fix: config: check for enum type member object value outside range
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Mon, 14 Mar 2016 22:00:50 +0000 (18:00 -0400)]
Fix: config: check for unknown props in enum type member object
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Mon, 14 Mar 2016 21:51:19 +0000 (17:51 -0400)]
config: "integer type" -> "value type" (for enum type)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Mon, 14 Mar 2016 21:10:36 +0000 (17:10 -0400)]
config: error reporting: type obj can be an assoc array or a string
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Mon, 14 Mar 2016 21:10:22 +0000 (17:10 -0400)]
Fix: config: check unknown props in float type object size
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Mon, 14 Mar 2016 20:55:24 +0000 (16:55 -0400)]
Fix: config: check for unknown "base" values in int type object
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Mon, 14 Mar 2016 19:55:46 +0000 (15:55 -0400)]
Fix: config: check for trace object's "byte-order" node type
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Mon, 14 Mar 2016 19:39:51 +0000 (15:39 -0400)]
Fix: config: check PH "uuid" field's element type's signedness
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 12 Mar 2016 05:59:31 +0000 (00:59 -0500)]
Fix: do not allow negative log level values
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 12 Mar 2016 05:56:23 +0000 (00:56 -0500)]
config: make event's log-level property accept integer
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 12 Mar 2016 05:55:56 +0000 (00:55 -0500)]
config: prefer using $log-levels prop in 2.1
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 12 Mar 2016 05:36:02 +0000 (00:36 -0500)]
Fix: config: check for unknown props in config object
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 17 Mar 2016 06:50:05 +0000 (02:50 -0400)]
Add include functionality
README.md is not modified because its content will be moved
to the project's wiki anyway.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 11 Mar 2016 18:38:11 +0000 (13:38 -0500)]
Fix: config: check for node type before checking props
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 11 Mar 2016 18:37:09 +0000 (13:37 -0500)]
config: prefer using $inherit prop in 2.1
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 23:06:51 +0000 (18:06 -0500)]
config: prefer using $return-ctype prop in 2.1
All properties of config objects which do not end up in the
TSDL metadata, i.e. properties for barectf itself, should be
prefixed with $ in the future.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 23:05:51 +0000 (18:05 -0500)]
config: convert config version to integer
'2.0' -> 200
'2.1' -> 201
'2.10' -> 210
This makes versions comparable.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 23:05:18 +0000 (18:05 -0500)]
Fix: metadata: add missing return_ctype property
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 22:50:18 +0000 (17:50 -0500)]
README.md: add C99 compliance limitation
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 22:35:07 +0000 (17:35 -0500)]
Fix: use unions to write floats to avoid aliasing warnings
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 22:02:31 +0000 (17:02 -0500)]
Examples: add -Wall -pedantic to CFLAGS
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 21:58:52 +0000 (16:58 -0500)]
templates: add __extension__ before statement expressions
This removes the warnings printed by GCC with -pedantic, since
statement expressions are a GCC extension.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 21:31:53 +0000 (16:31 -0500)]
barectf v2.1.0-dev
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 21:16:14 +0000 (16:16 -0500)]
Add CHANGELOG.md
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 30 Oct 2015 03:50:11 +0000 (23:50 -0400)]
barectf v2.0.2
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 30 Oct 2015 03:46:47 +0000 (23:46 -0400)]
Fix: _split_version_suffix() may return 1 element
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 23 Oct 2015 20:56:36 +0000 (16:56 -0400)]
README.md: fix Arch Linux install command-line
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 14 Oct 2015 16:18:56 +0000 (12:18 -0400)]
README.md: add PyPI badge
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 14 Oct 2015 16:18:35 +0000 (12:18 -0400)]
barectf v2.0.1
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 13 Oct 2015 18:08:20 +0000 (14:08 -0400)]
Parallella plat.: close_packet(): fix array indexing
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 13 Oct 2015 18:05:08 +0000 (14:05 -0400)]
Parallella platform: is_backend_full(): do not init. `full`
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 13 Oct 2015 18:04:42 +0000 (14:04 -0400)]
barectf-platform-parallella.c: fix spacing
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Thomas Bertauld [Sat, 10 Oct 2015 23:41:00 +0000 (19:41 -0400)]
Enhance the understandability of some actions in the parallella platform
Thomas Bertauld [Sat, 10 Oct 2015 23:37:18 +0000 (19:37 -0400)]
Fixing the missing initialization of the field 'initialized' in the global context of an eCore on the parallella platform
Philippe Proulx [Wed, 22 Jul 2015 15:30:07 +0000 (11:30 -0400)]
platforms/parallella/consumer: minor cleaning
Philippe Proulx [Tue, 2 Jun 2015 17:18:20 +0000 (13:18 -0400)]
barectf v2.0.0
Jérémie Galarneau [Fri, 5 Jun 2015 09:34:56 +0000 (11:34 +0200)]
Docs: Capitalize README.md section headers
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Mon, 8 Jun 2015 21:21:48 +0000 (17:21 -0400)]
barectf v0.3.1
This page took 0.048809 seconds and 4 git commands to generate.