Commit graph

893 commits

Author SHA1 Message Date
Micke Prag
b0a75060c7 Added Valgrind suppression file 2010-10-28 09:35:01 +00:00
Micke Prag
b5fc49747f Fixed small error in the returned value from Settings::getDeviceStateValue() using libConfuse engine 2010-10-28 09:32:06 +00:00
Micke Prag
00b7713761 Removed debug message 2010-10-28 09:19:18 +00:00
Micke Prag
93fa34545d By having smartpointers, the function EventHandler::removeEvent() is obsolete 2010-10-28 09:17:42 +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
Micke Prag
cd7cdd15f2 The threads library is required 2010-10-28 07:53:45 +00:00
Micke Prag
bb32eb0115 Class EventData lacked virtual destructor 2010-10-28 06:49:29 +00:00
Micke Prag
144083dd62 Removed unused event 2010-10-27 15:58:15 +00:00
Stefan Persson
af19b80d2e List with multiple events in linux eventhandler 2010-10-27 15:20:46 +00:00
Micke Prag
d7dd125037 Added message at the end of our execution 2010-10-27 15:13:05 +00:00
Micke Prag
c59ec99c6d Added an extra scope so we don't delete the d variable while we have a MutexLocker locking anything inside the d variable 2010-10-27 15:11:58 +00:00
Micke Prag
aad55f5307 The lock in send was not properly locked 2010-10-27 14:31:47 +00:00
Micke Prag
287802d527 The lock in send was not properly locked 2010-10-27 14:26:43 +00:00
Micke Prag
d0e006c481 LoggedMutex now works on Linux 2010-10-27 14:26:06 +00:00
Micke Prag
9e5308bbb4 Added Linux version of debugLog 2010-10-27 14:25:33 +00:00
Micke Prag
1e856c989a Clear the buffer before each read 2010-10-27 13:37:39 +00:00
Micke Prag
99d2be5270 Translate correct housecode for X10 2010-10-27 13:00:55 +00:00
Micke Prag
99dfb8ec4a Missed both prepending 'S' and appending '+' 2010-10-27 12:55:12 +00:00
Micke Prag
1c61acbecc House and unit should be substracted with on in protocol risingsun codeswitch 2010-10-27 12:30:58 +00:00
Stefan Persson
7fe03d2dad Now closing client socket after use 2010-10-27 12:24:25 +00:00
Stefan Persson
0a2748f84b Reporting error when error in socket creation 2010-10-27 12:22:08 +00:00
Stefan Persson
10f86876b1 Implemented some locks in settings for linux 2010-10-27 12:19:36 +00:00
Micke Prag
d71a9fa2f9 If the protocol returns an empty string this means the method is not supported 2010-10-27 12:12:09 +00:00
Micke Prag
f4a9cc6e83 Missed sending 'S' in protocol Fuhaote 2010-10-27 12:09:30 +00:00
Micke Prag
0d0933494c Made the ftdi engine easily configurable 2010-10-27 10:56:40 +00:00
Micke Prag
e460279157 Added lock for receiving/sending in TellStick 2010-10-27 10:33:46 +00:00
Micke Prag
c854a3aba4 Added check in eternal loop to stop if neccesary 2010-10-27 10:12:22 +00:00
Micke Prag
35c8539b73 Workaround for sending 99% to ArcTech dimmers 2010-10-27 10:10:18 +00:00
Micke Prag
2697fd928f Compare our device strings as uppercase strings. The casing seems to differ on different platforms. 2010-10-27 09:12:08 +00:00
Micke Prag
509985293d RegDeleteKeyEx() was introduced in Vista, that means we cannot use it. Changed to RegDeleteKey() instead. 2010-10-27 09:10:44 +00:00
Micke Prag
b9663ab8ac Changed (buggy?) CriticalSection code and replaced with (marginally?) slower Mutex code. 2010-10-27 09:09:14 +00:00
Stefan Persson
fbc72cff52 Receive messages in linux. Deadlocks fixed 2010-10-26 15:06:02 +00:00
Stefan Persson
db6ac7b939 Linux actions implemented 2010-10-26 10:40:10 +00:00
Micke Prag
635b3c9105 Fixed compiler warning on 64 bit compiler 2010-10-26 07:23:24 +00:00
Micke Prag
8a08ba2b28 Added rc file for the client 2010-10-26 07:22:31 +00:00
Micke Prag
29a759d6e0 Fixed compiler warnings 2010-10-25 15:29:19 +00:00
Stefan Persson
6c881923f4 Compile fixes for linux 2010-10-25 15:00:40 +00:00
Micke Prag
34e8586440 Removed error strings from the service. Let us have it in the client instead. 2010-10-25 14:53:35 +00:00
Micke Prag
216c35685f Use our real conversion from wstring to string 2010-10-25 14:51:33 +00:00
Micke Prag
5e6b13e1d0 Removed TODO, lets have it in the main thread for now 2010-10-25 14:42:42 +00:00
Micke Prag
4e9b4a55e5 Added controllerId 2010-10-25 14:42:08 +00:00
Micke Prag
fbe3e7b41c Save the firmware version 2010-10-25 14:40:25 +00:00
Micke Prag
d5ef022688 Removed TODO, we decided to keep the row 2010-10-25 14:39:51 +00:00
Micke Prag
c5d5c2079b Added function TelldusCore::charToInteger() 2010-10-25 14:39:01 +00:00
Micke Prag
a408850d98 Convert the strings in wrapStdWstring() 2010-10-25 14:10:49 +00:00
Stefan Persson
592280ad99 Code cleanup 2010-10-25 14:09:51 +00:00
Stefan Persson
f704ba782c Protocol/model changes are now reflected immediately in clients. 2010-10-25 13:54:46 +00:00
Stefan Persson
24e2611adc Receiving duo-messages, and changing device status and notifying clients 2010-10-25 13:42:14 +00:00
Micke Prag
8529b0f3b1 Implemented function Protocol::getParametersForProtocol() 2010-10-25 10:08:42 +00:00