Commit Graph

13 Commits

Author SHA1 Message Date
TheAssassin
485507a2d1 Buffer subprocess communication 2018-10-07 00:05:59 +02:00
TheAssassin
276c6f2d18 Improve multiplexing of subprocess output
Setting pipes to be non-blocking now, and reading using fgets() instead
of getline(), using std::getline() to read lines after non-blocking read
from pipes.

Fixes #14
2018-08-28 22:35:05 +02:00
TheAssassin
bd052a5b1f Add prefix to every line in plugin output 2018-07-10 15:08:17 +02:00
TheAssassin
f06d5e5832 Store plugin name in plugin class 2018-07-10 15:06:39 +02:00
TheAssassin
5f146507ef Fix API level check 2018-06-20 20:42:09 +02:00
TheAssassin
c5d15b54ba Add support for output plugins 2018-06-20 00:44:39 +02:00
TheAssassin
f1d8c807f3 Implement run method for plugins 2018-06-20 00:39:03 +02:00
TheAssassin
65b204ddfd Extract exceptions into own header 2018-06-19 23:32:06 +02:00
TheAssassin
e7664d462b Remove unused comment 2018-06-19 23:30:41 +02:00
TheAssassin
2a769ac3d9 Make findPlugins return plugin name
Required to let users enable them by hand.
2018-06-19 22:47:01 +02:00
TheAssassin
12c7ec7166 Implement standard mechanism to find plugins on the system
First searches in current directory, then searches directories in
$PATH.
2018-06-19 20:46:53 +02:00
TheAssassin
e977d16dc9 Custom plugin base exception
Useful to differentiate between plugin and non-plugin exceptions.
2018-06-19 20:45:16 +02:00
TheAssassin
7c06295cfd Plugin system, mk. 1 2018-06-19 18:02:23 +02:00