e2c8859d79
use new state STATE_STOPPING to trigger shutdown
2019-02-11 16:42:38 +01:00
4f6aea8bf2
file: refactor FILE_EOF_EXIT -> FILE_EOF_STOP
2019-02-06 15:09:44 +01:00
1740df596b
separated in/out signal descriptors
2019-02-06 13:14:38 +01:00
d3ff9f2d41
node: allow nodes to have multiple filedescriptors
2019-01-21 15:47:34 +01:00
8f7c8ae71e
update copyright year to 2019
2019-01-13 00:42:39 +01:00
760292e111
file: create non-existant dirs only for local files
2018-12-04 10:54:31 +01:00
70cc94b5c7
refactor: warn() => warning() due to name collision with libc
2018-11-30 21:37:52 +01:00
707affc027
cpp: update unit tests
2018-11-30 21:36:26 +01:00
437cfb646d
file: add restart callback
2018-11-23 21:00:20 +02:00
f7e3e54ccb
file: last fix for dir creation
2018-10-21 11:09:20 +02:00
4f85e7b82c
file: yet another fix for directory creation
2018-10-21 11:01:15 +02:00
8534d1980a
file: fix directory creation
2018-10-21 10:32:09 +02:00
ed27d25823
file: create directory if does not exist yet
2018-10-20 15:13:29 +02:00
df3b02b55f
fix smaller merge errors
2018-08-20 18:57:54 +02:00
d35971c26c
refactor: update copyright years
2018-08-20 18:40:03 +02:00
198649b9b1
file: adapt to new signal code and separate node-type configuration into in/out sections
2018-08-20 18:29:23 +02:00
abdec22993
plugin: replace plugin_name() by type-specific wrappers
2018-08-20 18:16:44 +02:00
d77879fa7d
io: refactor input/output -> in/out
2018-08-13 00:00:10 +02:00
Dennis Potter
0c1e92bced
Added separate buffer for input and output section
2018-08-06 23:48:13 +02:00
Dennis Potter
2a1dc60d16
Changed configuration section of
2018-08-05 11:07:45 +02:00
Dennis Potter
117913287d
Added configurable setvbuf to output of file node
2018-08-04 15:20:21 +02:00
f6c91f4ac9
file: fix assertion raised in file_destroy() when node was never started ( closes #186 )
2018-07-26 16:38:26 +02:00
Dennis Potter
49a92ffeaf
Made in and out section optional for file node
...
This is discussed in the comment section of commit
d0f4513122
2018-07-25 18:13:01 +02:00
Dennis Potter
eb80945699
Added missing curly bracket
2018-07-24 10:35:51 +02:00
d0f4513122
file: implement in/out config sections
2018-07-23 16:07:47 +02:00
Dennis Potter
72e627b327
Fixes #166 , all node interfaces are modified
...
The functions now look like this
int node_read(struct node *n, struct sample *smps[], unsigned cnt, unsigned *release);
int node_write(struct node *n, struct sample *smps[], unsigned cnt, unsigned *release);
This commit enables nodes to control how many samples will
be released by the framework through *release
2018-07-11 18:14:29 +02:00
Dennis Potter
6150a36411
Changed all node_write() functions
2018-07-07 17:48:07 +02:00
Dennis Potter
4663f55e4b
Changed all node_read() functions to support a *cnt instead of cnt
2018-07-07 17:07:45 +02:00
8b18bd35e0
file: destroy IO in file_destroy() instead of file_stop()
2018-05-12 18:03:40 +02:00
4ba077d14e
io: remove state-less IO calls
2018-05-12 15:25:29 +02:00
c0313c7963
refactored: io_format -> format_type
2018-05-12 13:57:39 +02:00
39f955c947
io: renamed some fields within struct io
2018-05-12 10:41:40 +02:00
bd72556b1d
refactor: remove last appearances of old format naming scheme
2018-05-09 10:27:38 +02:00
0017d1bcb1
refactor: change include prefix
2018-02-04 16:40:52 +01:00
702dc34052
c++: add proper casts from void *
2017-10-20 11:54:00 +02:00
fba30731aa
task: simplify interface
2017-09-16 15:33:01 +02:00
5e620942ce
adding new field "flags" to struct sample
2017-09-16 15:04:59 +02:00
9beda12c4c
fix compiler errors on OS X
2017-09-05 10:11:23 +02:00
12973f9088
json: accept integers for floating point settings
2017-09-04 23:16:58 +02:00
6922e273bb
io: renamed formats (msg -> villas-binary, villas -> villas-human)
2017-09-04 14:39:15 +02:00
6d495c1a35
add new bitmask to samples to indicate which fields are valid
2017-09-04 14:28:55 +02:00
9f3d806755
add node_fd() support to most node types
2017-08-30 09:21:35 +02:00
2e3a6ef90b
refactoring: periodic_task => task
2017-08-22 12:20:14 +02:00
3eea0c67bb
- introduce low-level interface for new IO subsystem: we now have a fully extensible system for new IO formats and file formats
...
- reworked file node-type to remove in / out directions
2017-08-14 14:42:07 +02:00
434fe6dbd6
replaced libconfig by jansson for parsing the configuration (huge commit)
2017-08-03 00:19:27 +02:00
bc83463831
added new format subsystem
2017-07-28 18:11:52 +02:00
b59a989278
cleanup trailing whitespaces
2017-07-25 12:07:06 +02:00
f569f14602
fix: several compiler warnings / errors emitted by clang
2017-07-25 12:07:05 +02:00
45ec574011
utils: die() has been superseeded by killme()
2017-07-12 12:20:11 +02:00
Georg Reinke
1cc9c2177d
file: prevent stack corruption when reading first sample
2017-07-07 11:55:33 +02:00