1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
Commit graph

85 commits

Author SHA1 Message Date
60f55ec178 improve naming of struct node_type function pointers (closes #150) 2018-07-16 11:00:15 +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
bb70be0b2c memory: refactored memory subsystem 2018-07-02 15:57:56 +02:00
d3169c404a websocket: fix some bugs when requesting non-existant node 2018-06-12 20:02:43 +02:00
355831d8a9 websocket: fix connection state handling 2018-06-12 18:38:08 +02:00
cc0bca6ab2 websocket: improve log messages 2018-05-26 01:18:15 +02:00
18a1daede8 websocket: check return value of list_destroy() calls 2018-05-26 01:18:15 +02:00
8819c4101f websocket: clear buffer of received data once completely parsed 2018-05-26 01:13:22 +02:00
a7bd77944f websocket: fix possible segmention fault 2018-05-26 01:12:00 +02:00
6c4127da2e websocket: improve error handling for buffer creation 2018-05-24 09:12:27 +02:00
63021392d4 websocket: get rid of { } block 2018-05-23 00:17:41 +02:00
a96667b970 websocket: fix possible memory leak 2018-05-23 00:17:25 +02:00
7dc66355f3 websocket: fix format selection 2018-05-14 18:53:28 +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
a3fe2f184d websocket: return allocated samples before destroying client connection 2018-05-07 18:56:26 +02:00
39651db3d8 websocket: fix buffer overrun in reverse-channel 2018-05-07 18:48:34 +02:00
ed03a92cee websocket: remove support for catch-all connections 2018-03-28 14:29:55 +02:00
8a6237fa98 websocket: associate received samples to correct node 2018-02-06 23:30:37 +01: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
80ee8d786d refactored sample by adding more *_many() functions 2017-10-16 08:09:07 +02:00
ce5f4e5a60 some refactoring in json parsing 2017-10-16 08:09:07 +02:00
adb81f39d2 websocket: fix segfault 2017-09-19 04:12:34 +02:00
5e620942ce adding new field "flags" to struct sample 2017-09-16 15:04:59 +02:00
876a147842 fix memory leaks detected by valgrind 2017-09-05 01:09:34 +02:00
0447aeee00 io: fix old format names 2017-09-04 23:04:21 +02:00
6d495c1a35 add new bitmask to samples to indicate which fields are valid 2017-09-04 14:28:55 +02:00
8fdcaa3c4e add support for node_fd() to more node types 2017-08-30 13:30:31 +02:00
5d0ba771c6 Merge branch 'node-test' into develop
# Conflicts:
#	include/villas/api/session.h
#	lib/api.c
#	lib/super_node.c
#	lib/web.c
2017-08-27 18:44:03 +02:00
7dd8407960 websocket: more refactoring 2017-08-27 17:59:24 +02:00
53fae53aeb websocket: major improvements to websocket node type 2017-08-27 17:05:34 +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
c5fc72dd78 adding pluggable IO formats 2017-08-05 21:02:09 +02:00
434fe6dbd6 replaced libconfig by jansson for parsing the configuration (huge commit) 2017-08-03 00:19:27 +02:00
f569f14602 fix: several compiler warnings / errors emitted by clang 2017-07-25 12:07:05 +02:00
fb4bbbfb26 websocket: reuse buffer to construct payload and send bigger payload at once 2017-07-13 22:39:38 +02:00
49c0e9957a using memdup() will invalidate pointers to the object which might have been used during _init() and _parse() calls 2017-07-09 14:36:09 +02:00
2b913d4d69 tests: fix valgrind warnings 2017-07-02 23:57:03 +02:00
8cbbb8b4f1 fixed unused return value warnings / errors emitted by Ubuntu's GCC 5.4.0 2017-06-17 03:16:14 +02:00
c1154faf40 fixed several format string compiler warnings / errors emitted by Ubuntu's GCC 5.4.0 2017-06-17 03:13:42 +02:00
2036c2bdfa websocket: fix bug in receive path 2017-05-08 00:50:55 +02:00
49054eef9f cleanup: removed trailing whitespaces in code 2017-05-05 19:24:16 +00:00
5be1853649 added GPL license to file headers 2017-04-27 12:56:43 +02:00
6da1070e56 minor improvements 2017-04-24 19:56:14 +02:00
4e5dc58e18 added first version of web socket client support 2017-04-24 19:28:45 +02:00
414fcc72f1 websocket: add destinations to websocket_print() 2017-04-24 18:11:05 +02:00
8c4f291fd9 changed byte-order for websocket messages to little-endian 2017-04-24 13:25:30 +02:00