Commit graph

577 commits

Author SHA1 Message Date
Stefan Persson
0b6bc13466 Specifying chars as unsigned where needed 2017-06-28 15:46:32 +02: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
c9567f3698 Added support for Oregon Scientific C844 (pool thermometer) 2014-01-13 14:39:15 +01: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
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
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
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
Stefan Persson
475fdb9d59 Code cleanup, removed debug messages 2012-12-06 16:12:42 +01:00
Micke Prag
6796129cb5 Use C++ casting instead of C casting according to Google style guidelines
"readability/casting"
2012-12-05 14:28:29 +01:00
Micke Prag
641598a359 We need this on one line so the style guidelines check will detect it is a struct 2012-12-05 14:07:18 +01:00
Micke Prag
630db4f483 Cast the long to int. Since the value is never greater than 2 bytes this is safe. 2012-12-05 13:59:31 +01:00
Micke Prag
5933cf104e Use Windows type LONG instead of long to follow the API better 2012-12-05 13:58:06 +01:00
Stefan Persson
3d05f2d510 Added missing space after comma, according to Google style guidelines "whitespace/comma" 2012-12-05 13:02:11 +01:00
Stefan Persson
fcb798d466 Removed blank lines at start/end of code blocks according to Google style guidelines "whitespace/blank_line" 2012-12-05 13:02:06 +01:00
Stefan Persson
58d58a8640 Use tabs for indentation according to Google style guidelines "whitespace/usr_tab_for_indentation" 2012-12-05 13:01:52 +01:00
Stefan Persson
8d90a4e14a Added whitespaces to comments according to Google style guidelines "whitespace/comments" 2012-12-05 13:01:46 +01:00
Micke Prag
ce24cabff9 Streams are highly discouraged except for logging according to
Google style guidelines "readability/streams"
2012-12-05 12:58:17 +01:00
Micke Prag
7000632f6c Fix #ifndef header guard style, according to Google style guidelines
"build/header_guard"
2012-12-05 12:05:11 +01:00
Micke Prag
e36b2287e8 Uncommented text after #endif is non-standard. Use a comment. [build/endif_comment] 2012-12-05 12:01:12 +01:00
Stefan Persson
fb79664508 Removed whitespace after line end, accoring to Google style guidelines "whitespace/end_of_line" 2012-12-05 11:43:31 +01:00
Stefan Persson
e38eb0f72d Ordered header files correctly according to Google style guidelines "build/include_order" 2012-12-05 11:39:48 +01:00
Stefan Persson
69c67e3c09 Fixed placement of curly braces according to Google style guidelines "whitespace/braces" 2012-12-05 11:36:03 +01:00
Micke Prag
bca00ef148 F_SETFD must be supplied to fcntl() to set options 2012-12-05 11:21:13 +01:00
Micke Prag
174c31f4ca Use fcntl() to set FD_CLOEXEC on OS X since the SOCK_CLOEXEC flag for socket() isn't supported. 2012-12-05 11:18:07 +01:00
Micke Prag
2cb1a2ac97 Set the flag O_CLOEXEC on all file handles so they don't interferes with the execution of scripts. See #100 2012-12-04 17:28:49 +01:00
Micke Prag
3441b9cc45 Missing username in TODO according to Google style guidelines "readability/todo" 2012-12-04 17:25:17 +01:00
Micke Prag
6136c16d83 Use static_cast<int>(...) instead of C-style cast [readability/casting] 2012-12-04 17:16:06 +01:00
Stefan Persson
7d0f3747fe Include directory when naming .h files, according to Google style guidelines "build/include" 2012-12-04 16:39:39 +01:00
Stefan Persson
d5e8c1f941 Adding copyright messages according to Google style guidelines "legal/copyright" 2012-12-04 16:10:17 +01:00
Stefan Persson
05197abf6e Fixed regression errors for windows 2012-12-04 15:14:40 +01:00
Stefan Persson
9f68c2083a Some code/comment cleanup 2012-12-04 15:05:45 +01:00
Stefan Persson
9d39fe8d47 Merged with Windows_service_fixes 2012-12-04 15:01:46 +01:00
Stefan Persson
df6bd27883 More logging for TelldusService debug, ticket #266, 266-1. 2012-12-04 11:34:06 +01:00