Commit graph

2229 commits

Author SHA1 Message Date
Øyvind Saltvik
517c987b6d PyEval_InitThreads 2012-08-08 13:25:47 +02:00
Øyvind Saltvik
f09ebea266 no semicolon 2012-08-08 13:15:57 +02:00
Øyvind Saltvik
d6fcd4a5dc tdsensor 2012-08-08 13:12:51 +02:00
Øyvind Saltvik
71e13196f3 add tdUnregisterCallback 2012-08-07 16:08:13 +02:00
Øyvind Saltvik
6496e71026 removed stray spaces 2012-08-07 14:25:13 +02:00
Øyvind Saltvik
384c81d85a add dev dir to find telldus-core.h file 2012-08-07 13:45:04 +02:00
Øyvind Saltvik
bd766e6254 no .h file 2012-08-07 13:42:07 +02:00
Øyvind Saltvik
a5da11945e native dir 2012-08-07 13:23:25 +02:00
Øyvind Saltvik
44869cbd4f tabs/ final newlines 2012-08-07 13:22:20 +02:00
Øyvind Saltvik
cadcf0b48a comment out code that might not be correct, add memoryerror 2012-08-07 03:30:57 +02:00
Øyvind Saltvik
48efae5a6f builds on 64 bit with howto 2012-08-07 01:16:51 +02:00
Øyvind Saltvik
241538d107 telldus 2012-08-04 22:16:58 +02:00
Øyvind Saltvik
d1b6208435 four spaces 2012-08-04 22:16:04 +02:00
Øyvind Saltvik
ed3b37439a example fix 2012-08-04 22:11:50 +02:00
Øyvind Saltvik
7130ad71c9 device 2012-08-04 22:10:58 +02:00
Øyvind Saltvik
cce0c16801 fix example 2012-08-04 22:09:31 +02:00
Øyvind Saltvik
9d11cfb07f added telldus python bindings 2012-08-04 18:42:00 +02:00
Micke Prag
84330f8518 Print the message before executing them. 2012-06-27 17:21:42 +02:00
Micke Prag
b9d2324552 Implement ping 2012-06-27 17:21:42 +02:00
Micke Prag
6feb0ee2f3 Implement pong 2012-06-27 17:21:41 +02:00
Micke Prag
648b713955 First version of a headless server for Telldus Live! 2012-06-27 17:21:41 +02:00
Micke Prag
83dbd675cf Add python compiled files to gitignore 2012-06-21 17:21:16 +02:00
Micke Prag
d22793ed12 We cannot iterate over a QHash since the order is by design not guaranteed. Loop using a counter instead 2012-06-21 11:53:11 +02:00
Micke Prag
246e043551 Fix typo in deviceSettings index 2012-06-21 11:43:39 +02:00
Micke Prag
ed9d1237b4 Add device Anslut selflearning on/off 2012-06-20 17:15:53 +02:00
Micke Prag
61d0b2ac09 Implement protocol Comen by hardcoding the last to bits in the housecode 2012-06-20 17:15:26 +02:00
Micke Prag
d6dcd11973 Protocol::getStringParameter() and Protocol::getIntParameter() should be virtual so they can be overriden by a protocol 2012-06-20 17:14:10 +02:00
Micke Prag
1ea754da3d Bugfix, all the parameters for a device tried to be saved as non parameters 2012-06-20 17:12:30 +02:00
Micke Prag
9eac84fb4a Remove sscanf() from ProtocolSartano and add a unittest for ProtocolSartano::decodeData() 2012-06-20 15:22:10 +02:00
Micke Prag
ddfb87f45d Remove sscanf() from ProtocolEverflourish and add a unittest for ProtocolEverflourish::decodeData() 2012-06-20 15:21:29 +02:00
Micke Prag
b50e9dd3d5 Remove sscanf() from ProtocolX10 and add a unittest for ProtocolX10::decodeData() 2012-06-20 14:18:29 +02:00
Micke Prag
41816f36a3 Configure SettingsConfusePaths.h in the correct section in CMakeLists.txt 2012-06-20 12:22:03 +02:00
Micke Prag
264b92889a Add unittest for ProtocolNexa::decodeData() 2012-06-20 12:20:23 +02:00
Micke Prag
ae7b9b8c1a If we enable testing, build TelldusService as a static library that can be used by the TestRunner 2012-06-20 12:18:50 +02:00
Micke Prag
6e47588096 Add comment on why we disable some of the default tests 2012-06-19 16:51:35 +02:00
Micke Prag
ffebd4ed4c Enable test whitespace/use_tab_for_indentaion and disable test runtime/rtti 2012-06-19 16:51:18 +02:00
Micke Prag
c97c88ba8d Extra check for the value in Nexa device settings. This could lead to a potential crash otherwise 2012-06-19 16:50:21 +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
7b82e529cc Convert sscanf in ProtocolNexa and ProtocolWaveman to a faster and platform independent implementation 2012-06-19 16:48:44 +02:00
Micke Prag
818ae8abed Rename ControllerMessage::getIntParameter() to ControllerMessage::getInt64Parameter() 2012-06-19 16:47:01 +02:00
Micke Prag
dbb11602ec Temporarily suppress cpplint errors "runtime/printf" for sscanf(). We should prpbably remove them later 2012-06-19 16:23:36 +02:00
Micke Prag
58bf51a6e8 Convert strcpy to snprintf. This is better according to Google style guidelines "runtime/printf" 2012-06-19 16:18:44 +02:00
Micke Prag
77b128f2fd Add exception for using getgwnam() and getpwnam(). This is safe so early in the startup 2012-06-19 14:40:00 +02:00
Micke Prag
c26efc1305 Convert strtok() to strtok_r() for improved thread safety. 2012-06-19 14:13:18 +02:00
Micke Prag
d2332cb605 Convert non utf-8 characters in ProtocolIkea 2012-06-19 14:02:38 +02:00
Micke Prag
6067c776c5 Since we use tabs for indentation, convert to one line instead 2012-06-19 12:30:52 +02:00
Micke Prag
6688f44084 Missing username in TODO according to Google style guidelines "readability/todo" 2012-06-19 12:30:52 +02:00
Micke Prag
a165e414fd Streams are highly discouraged according to Google style guidelines "readability/streams" 2012-06-19 12:30:52 +02:00
Micke Prag
9352ae0807 All parameters should be named in a function according to Google style guidelines "readability/function" 2012-06-19 12:30:52 +02:00
Micke Prag
5d2e3f33c8 Use C++ casting instead of C casting according to Google style guidelines "readability/casting" 2012-06-19 12:30:52 +02:00