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

100 commits

Author SHA1 Message Date
caf3e45960 workaround for C-compatability 2018-12-02 03:11:31 +01:00
70cc94b5c7 refactor: warn() => warning() due to name collision with libc 2018-11-30 21:37:52 +01:00
39320dbf56 websocket: temporary fixes for C++ port 2018-11-30 21:36:26 +01:00
3c11acb8b5 cpp: ported web and api 2018-11-30 21:33:56 +01:00
987a59a5aa cpp: ported SuperNode 2018-11-30 20:46:59 +01:00
88b1ec7850 web: fix lws_callback_on_writable() on macOS caused by multithreading issues 2018-11-23 21:00:20 +02:00
8e052eaa5e do not send offsets of network node-types 2018-10-20 16:23:26 +02:00
d35971c26c refactor: update copyright years 2018-08-20 18:40:03 +02:00
b067d91544 websocket: adapt to new signal code and separate node-type configuration into in/out sections 2018-08-20 18:27:45 +02:00
0240d5b2c4 refactor: json_foreach: index -> i 2018-08-13 00:00:10 +02:00
1f16b4bf07 refactor: {sample,signal}_{put,get} -> {sample,signal}_{incref,decref} 2018-08-13 00:00:09 +02:00
170c86dca4 refactor:
- WEBSOCKET_DEFAULT_SAMPLELEN -> WEBSOCKET_DEFAULT_SAMPLE_LENGTH
- WEBSOCKET_DEFAULT_QUEUELEN -> WEBSOCKET_DEFAULT_QUEUE_LENGTH
2018-08-12 23:59:15 +02:00
32de7761fe refactor:
- DEFAULT_SAMPLELEN -> DEFAULT_SAMPLE_LENGTH
- DEFAULT_QUEUELEN -> DEFAULT_QUEUE_LENGTH
2018-08-12 23:59:15 +02:00
f35588aad8 refactor:
- SAMPLE_LEN() -> SAMPLE_LENGTH()
- SAMPLE_DATA_LEN() -> SAMPLE_DATA_LENGTH()
2018-08-12 23:59:15 +02:00
9a7f2afd0d do not include libwebsockets.h in header files as it breaks compliation together with complex.h 2018-08-12 23:59:15 +02:00
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