Commit graph

1278 commits

Author SHA1 Message Date
Stefan Persson
cc326285c5 Bumped version to 2.1.3-beta1 2017-06-28 15:48:56 +02:00
Stefan Persson
0b6bc13466 Specifying chars as unsigned where needed 2017-06-28 15:46:32 +02:00
Micke Prag
95f93cd6d3 Add dependency on client for tdtool. Build fails if parallel building is used otherwise 2015-04-09 12:49:21 +02:00
John
ed3ce34422 Only create the socket once. If we fail to connect is we should try to reuse it later. 2014-03-18 20:43:03 +01:00
Stefan Persson
1f93cf91f8 Small fix that might or might not fix "EFAULT (bad address)"-errors when executing scripts on events 2014-03-06 14:13:29 +01:00
Stefan Persson
c542059299 Bumped version to 2.1.2_rc1 2014-02-14 10:26:19 +01:00
Micke Prag
1ea1cc5add Merge branch 'callbackdispatcher-rewrite' 2014-02-04 11:10:03 +01:00
Micke Prag
94dfe84e1d There is no need for Event::signal(EventData *) to be virtual. It is not subclassed anywhere 2014-02-04 11:08:13 +01:00
Stefan Persson
c9567f3698 Added support for Oregon Scientific C844 (pool thermometer) 2014-01-13 14:39:15 +01:00
Micke Prag
6842c24818 Made the loop a bit smaller 2014-01-08 14:12:47 +01:00
Micke Prag
4d366f483e Remove debug code 2014-01-08 14:12:29 +01:00
Micke Prag
25542e7f90 Remove old code 2014-01-08 14:09:15 +01:00
Micke Prag
f7336b34f9 Rewrite our callback dispatcher. Instead of dynamically create new
threads for each callback they are now precreated when they are
registered. Each callback will now be called using the same thread each
time.
2014-01-08 13:55:02 +01:00
Micke Prag
fbaa8ccbbd Add convenience function to supply a EventDataRef to Event::signal() 2014-01-08 12:27:29 +01:00
Stefan Persson
89b4253d54 Code cleanup for callback hangings in Linux 2014-01-08 12:23:30 +01:00
Stefan Persson
0f7937711f Fixes for callback hangings in Linux 2014-01-08 12:01:37 +01:00
Stefan Persson
46e3d8f61f Bumped version to 2.1.2 Beta10 2013-11-22 12:06:56 +01:00
Stefan Persson
22fbc6b9df Bumped version to 2.1.2 Beta9 2013-11-21 09:39:07 +01:00
Stefan Persson
405f2f7f70 Bumped version to 2.1.2 Beta8 2013-09-20 14:22:28 +02:00
Stefan Persson
6880ca5555 Bumped version to 2.1.2 Beta7 2013-09-17 12:42:21 +02:00
Stefan Persson
17a269e7c1 The ugly temporary fix for segfault in TelldusCenter did not suffice. Trying this instead. 2013-09-16 13:51:41 +02:00
Stefan Persson
c77c84886a Ugly temporary fix for segfault in TelldusCenter 2013-09-13 14:11:13 +02:00
Stefan Persson
fd5ffa3ad4 Added missing space before braces, according to Google style guidelines "whitespace/braces" 2013-09-13 14:08:11 +02:00
Stefan Persson
87845ca31e Moved "else" to same line as previous closing braces, according to Google style guidelines "whitespace/newline" 2013-09-13 14:06:42 +02:00
Stefan Persson
b9f28d6e6e Added whitespaces to comments according to Google style guidelines "whitespace/comments" 2013-09-13 14:04:41 +02:00
Stefan Persson
f812ec4307 Removed blank lines at start/end of code blocks according to Google style guidelines whitespace/blank_line 2013-09-13 13:56:21 +02:00
Stefan Persson
194ca57295 Fixed telldus-core segfault because of config file path not set in correct order 2013-09-12 11:54:16 +02:00
Stefan Persson
35028b1c82 Added support for rain and wind sensors (Oregon Scientific) in telldus-core 2013-09-02 16:28:39 +02:00
Stefan Persson
668dd99ac2 unistd.h must be explicitly included on some platforms to have access to for example environ. This closes #313 2013-06-13 12:18:10 +02:00
Stefan Persson
64ed7d4afa Inital Oregon Scientific v3 support (F824) 2013-06-03 12:08:30 +02:00
Stefan Persson
a231b56d57 Removed redundunt test suite registration command from Hasta unit test 2013-05-17 11:49:38 +02:00
Stefan Persson
b00cbdb37c Added unit test for Hasta protocol 2013-05-17 11:41:58 +02:00
Micke Prag
b56823a6e7 Some compilers seems to optimize away our tests. Compiling them
statically and force initiating them seems to do the trick.
2013-05-17 11:26:30 +02:00
Stefan Persson
a78773a8ed Changed casting, according to Google style guidelines "readability/casting" 2013-05-16 16:29:57 +02:00
Stefan Persson
107d7669e7 Moved "else" to same line as previous closing braces, according to Google style guidelines "whitespace/newline" 2013-05-16 16:24:47 +02:00
Stefan Persson
14399b2d7f Added missing space after braces, according to Google style guidelines "whitespace/braces" 2013-05-16 16:21:37 +02:00
Stefan Persson
ae841861b2 Added missing space in comment, according to Google style guidelines "whitespace/comments" 2013-05-16 16:16:53 +02:00
Stefan Persson
d37ff4ff0b Added missing space after comma, according to Google style guidelines "whitespace/comma" 2013-05-16 16:14:36 +02:00
Stefan Persson
10ced92ec6 Made sure Hasta send works for TellStick too 2013-05-16 15:32:43 +02:00
Stefan Persson
dc61911e7e Fixed syntax error (a typical C++-is-not-python-error) 2013-05-08 14:10:12 +02:00
Stefan Persson
b0d3d2af30 Added hasta version 2 2013-05-08 13:44:25 +02:00
Stefan Persson
a912ee2872 Added compability for EventUpdateManager-fix on Windows too 2013-04-17 12:39:46 +02:00
Stefan Persson
c3bf46124d Fixed crash in EventUpdateManager on receive on some platforms. 2013-04-15 11:16:50 +02:00
Micke Prag
ccd7fcb2f3 Add unit test for Oregon EA4C data. See #261 2013-03-07 15:01:39 +01:00
Micke Prag
59e3ab8c16 Handle Oregon EA4C temperatures over 100 degrees. This closes #261 2013-03-07 15:01:39 +01:00
Micke Prag
2effb362a0 We should of course skip it on OS X and run it on all other platforms. See #245 2013-02-20 15:46:11 +01:00
Micke Prag
f49e83f0e7 Do not query for controllers on OS X. This seems to make the trackpad freeze sometimes. We listen for usb-events anyway. Closes #245 2013-02-20 15:28:43 +01:00
Micke Prag
b6b78ad157 Convert spaces to tabs. 2013-02-13 17:54:43 +01:00
Micke Prag
d5d22aceb5 Do not log SIGPIPE. This is a normal signal when a client disconnects.
Closes #280
2013-02-13 17:29:26 +01:00
Micke Prag
05f5db163c Add IKEA non dimmer. This closes #251 2013-02-13 17:29:25 +01:00