Commit Graph
148 Commits
Author SHA1 Message Date
John 193bd9ae64 fix for weird string ctor behaviour 2021-11-13 10:43:56 +01:00
John 3af8ede096 updated copyright year 2021-01-16 08:32:09 +01:00
John 8bd35646d3 formatting 2021-01-10 15:12:59 +01:00
John cff4e4a8cb fix stupid merge 2021-01-10 14:13:07 +01:00
John c129222ffc Merge remote-tracking branch 'origin/master' into enhanced_device
# Conflicts:
#	docs/enhanced_proto.md
#	src/ebusd/bushandler.cpp
#	src/lib/ebus/device.cpp
#	src/lib/ebus/device.h
2021-01-10 13:51:53 +01:00
john30 61feda2f34 Revert "Merge branch 'enhanced_device' of github.com:john30/ebusd"
This reverts commit aaccb15a9b, reversing
changes made to edfe09a383.
2020-12-06 17:57:22 +01:00
John-Michael Baier b5616c1126 add NotifiableThread 2020-12-06 16:28:12 +01:00
john30 a46292468a don't require logging if log file is not set 2020-04-11 13:26:10 +02:00
john30 dae039e563 add FORWARD_RAW_TTY define to use raw output as option to forward data to a serial connection with same params as a usual bus interface 2020-04-11 13:20:10 +02:00
john30 fb32960402 add option to reduce dump flush buffer size to 1 2020-01-25 15:22:30 +01:00
john30 fa977f45f4 add support for logging to syslog (fixes #293), log exit on errors during daemonization, log config path on error, better variable names 2019-10-06 14:12:52 +02:00
Alex SamorukovandJohn 67fc6e59cc FreeBSD and MacOS related fixes and improvements: compilation and serial port access (#290)
fixes for compilation and usage under FreeBSD+MaxOS including setting low latency for FTDI device (thanks @samm-git)
2019-08-11 08:06:13 +02:00
john30 45b9bad57e missing include (fixes #212) 2018-10-21 14:42:00 +02:00
john30 1eb3518145 code style, documentation 2018-05-10 13:01:21 +02:00
john30 35afd9908c code style 2018-05-06 15:27:44 +02:00
john30 1c17f7c466 use nullptr instead of NULL 2018-05-06 14:54:52 +02:00
john30 dc12476bc1 fix for previous commit 2018-04-15 08:38:24 +02:00
john30 f0763ce293 allow more than one fd to be set by ppoll for checking error 2018-04-08 09:07:43 +02:00
john30 8badc83b05 watch sockets for error as well in connect 2018-04-04 17:51:13 +02:00
john30 230abbb9fb added connect timeout, fixed non-closed sockets on connect error 2018-04-04 17:25:39 +02:00
john30 bd5f800426 code style, missing initializers and imports 2018-04-04 15:48:26 +02:00
john30 a77b740720 extended request and get to optionally retrieve last-modified header, fix for potentially wrong content-length extraction 2018-04-04 09:57:38 +02:00
john30 f2f70d400a accept urls without trailing '/' 2018-02-04 16:18:10 +01:00
john30 c94da06975 made http client more flexible and support content-length response header 2018-02-03 23:27:02 +01:00
J0EK3RandGitHub 79fb47240e Update tcpsocket.h
added #include <sys/time.h> for Type timeval
2018-02-02 16:20:04 +01:00
john30 fa78ae73f0 updated copyright year 2018-01-28 15:17:33 +01:00
john30 d6668713d1 extracted http client 2018-01-28 15:12:59 +01:00
Daniel Strigl dc20cfeb1b ! Fixed setsockopt call for timeout 2017-12-08 21:47:04 +01:00
john30 a87ea4a6d8 file mode 2017-11-19 11:59:33 +01:00
john30 0c16712c5f fix for repeated wait in Queue::remove, better variable naming 2017-11-19 11:50:42 +01:00
john30 52c737233e compatibility to cmake < 3.0 (fixes #105) 2017-09-16 11:00:31 +02:00
john30 45f7f8a753 formatting 2017-08-29 22:56:34 +02:00
john30 46f60e821c fixed testing 2017-08-27 16:46:41 +02:00
john30 125cbcd661 use own reentrant mutex implementation 2017-08-27 14:58:23 +02:00
john30 31f3c2f5b3 formatting 2017-07-02 10:10:55 +02:00
john30 77b018b500 fixed weird flushing (#95) 2017-06-24 07:00:44 +02:00
john30 5e76637a57 formatting 2017-05-13 15:57:02 +02:00
john30 cfc9f8567c fix for endless wait for thread death 2017-04-29 09:17:38 +02:00
john30 d5ad81d531 revert 22e89cf 2017-04-26 09:35:44 +02:00
john30 930ae49513 enhanced raw command to log complete messages, fix for shutdown 2017-04-22 17:43:13 +02:00
john30 22e89cf896 always detach thread 2017-04-22 12:05:56 +02:00
john30 9461e64cc5 avoid virtual with override 2017-03-04 14:08:19 +01:00
john30 3b26cf1f38 define _GNU_SOURCE via autoconf 2017-03-04 14:00:39 +01:00
john30 d168dd31e0 use override declaration 2017-03-04 13:51:25 +01:00
john30 7f142e5916 added missing _GNU_SOURCE for pthread_setname_np 2017-03-04 09:06:51 +01:00
john30 c8c9e76684 added missing _GNU_SOURCE for vasprintf 2017-03-04 08:40:59 +01:00
john30 4dfcff7c87 bb86b8b 2017-03-04 08:38:41 +01:00
john30 bb86b8b713 added setTimeout() 2017-03-04 08:38:27 +01:00
john30 ca164185dc fix doxygen and put everything besides main function in namespace ebusd 2017-02-25 16:12:09 +01:00
john30 551f71ba21 aligned makefiles to using include with paths 2017-02-25 14:59:31 +01:00