c249dcc89d
refactor: use C-style commenting everywhere
2019-03-26 15:39:07 +01:00
e8de9df993
update VILLAScommon submodule with new list functions
2019-02-24 09:23:31 +01:00
5b553f2496
refactor: use strtok_r() instead of strtok()
2019-02-18 01:09:33 +01:00
a9f5b782f6
fixups for separation of in/out signals
2019-02-06 15:11:08 +01:00
d3ff9f2d41
node: allow nodes to have multiple filedescriptors
2019-01-21 15:47:34 +01:00
5415e57c8e
websocket: remove obsolete debugging comment
2019-01-17 20:28:53 +01:00
b84f6b8a47
lws: check return value of lws_write()
2019-01-14 10:00:09 +01:00
8f7c8ae71e
update copyright year to 2019
2019-01-13 00:42:39 +01:00
9e018fa4a2
websocket: properly parse payload format for client connections
2019-01-12 19:06:23 +01:00
8347dc705f
improve logging
2019-01-12 19:05:32 +01:00
8052b15377
websocket: add workaround for C++ port
2019-01-12 19:05:09 +01:00
d18d786801
refactor: list_* -> vlist_*
2019-01-07 10:28:55 +01:00
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