Commit graph

34 commits

Author SHA1 Message Date
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
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
475fdb9d59 Code cleanup, removed debug messages 2012-12-06 16:12:42 +01:00
Stefan Persson
8d90a4e14a Added whitespaces to comments according to Google style guidelines "whitespace/comments" 2012-12-05 13:01:46 +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
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
Micke Prag
e5f6858cf5 Cleanup our new environment after its use 2012-11-22 13:10:11 +01:00
Micke Prag
46c24d4a6e Make the path for the scripts configurable 2012-11-22 13:10:10 +01:00
Micke Prag
b2948cba5b Preload all scripts to execute on startup to avoid scanning the
directory on every event.
2012-11-22 13:10:10 +01:00
Micke Prag
d48ee1f02b Execute a script from /usr/local/share/telldus/scripts on all events.
Closes #100
2012-11-22 13:09:59 +01:00
Stefan Persson
0d8bf77a45 Only a lot of debug printouts, but this version is working for SwitchKing at least 2012-09-03 16:59:09 +02:00
Micke Prag
39c6bb012e Use dynamic_cast instead of reinterpret_cast for our events 2012-06-19 16:49:26 +02:00
Micke Prag
2fc9d470dd If an else has a brace on one side, it should have it on both according to Google style guidelines "readability/braces" 2012-06-19 12:30:52 +02:00
Micke Prag
a01b42b4d7 An else should appear on the same line as the preceding } according to Google style guidelines "whitespace/newline" 2012-06-19 12:30:51 +02:00
Micke Prag
3a0cee353a Fix include header order according to Google style guidelines "build/include_order" 2012-06-19 12:30:50 +02:00
Micke Prag
75f21588e5 Should have a space between // and comment "whitespace/comments" 2012-06-19 12:30:50 +02:00
Micke Prag
e1608f94a8 { should almost always be at the end of the previous line, according to Google style guidelines "whitespace/braces" 2012-06-19 12:30:50 +02:00
Micke Prag
8d0228ced2 Add copyright message according to Google style guidelines "legal/copyright" 2012-06-19 12:30:50 +02:00
Micke Prag
5b5be387cd Include the directory when naming .h files. According to Google style guideline "build/include". 2012-06-19 12:30:49 +02:00
Micke Prag
9500c4c898 Convert dos endings to unix in telldus-core, see #160 2012-02-27 17:37:52 +01:00
Micke Prag
237cf4e8e7 Implement controller callback in telldus-service 2012-02-27 15:28:09 +01:00
Micke Prag
e834160492 Move class Event and EventHandler into the TelldusCore namespace 2012-02-03 17:09:38 +01:00
Stefan Persson
86554b26ac Code cleanup 2011-12-28 11:14:59 +01:00
Stefan Persson
24586433d9 Windows service, 2.1.0a and new changes for possible new version. 2011-11-04 14:32:22 +01:00
Micke Prag
f25ca42ed7 Added TDSensorEvent to EventUpdateManager 2011-05-12 14:54:28 +00:00
Micke Prag
41c763cbd4 Converted Event pointers to smart pointers instead 2010-10-28 08:45:17 +00:00
Micke Prag
a1d0f1401a Implemented EventData as shared pointers. We are now dependent on tr1 2010-10-28 08:08:12 +00:00
Stefan Persson
6c881923f4 Compile fixes for linux 2010-10-25 15:00:40 +00:00
Micke Prag
a815b3426b Use smart pointers in the EventUpdateManager. 2010-10-21 15:31:11 +00:00
Stefan Persson
2c2a030c9b Callback events implemented on client side (not tested for device and raw events) 2010-10-19 12:31:32 +00:00
Stefan Persson
80843dc99c Device callback events implemented server side (untested) 2010-10-18 15:33:05 +00:00
Stefan Persson
eabfd97db5 Update events, stubs 2010-10-18 12:49:42 +00:00
Stefan Persson
08e93318a2 EventUpdateManager added 2010-10-18 10:42:10 +00:00