Commit graph

1993 commits

Author SHA1 Message Date
Micke Prag
629fbaca99 Escape paths 2012-02-13 18:13:25 +01:00
Micke Prag
7951232857 Add version info to all functions exported in telldus-core 2012-02-13 14:46:09 +01:00
Micke Prag
d53543922b Fix common realloc mistake 2012-02-10 17:41:41 +01:00
Micke Prag
af183d2870 The -i option doesn't seem to be supported in the version of cppcheck used in debian 6 2012-02-10 16:48:09 +01:00
Micke Prag
a1809f410a This test seems to return undefined results 2012-02-10 16:41:04 +01:00
Micke Prag
01f70d69c0 We must enable unit tests explicit in our builds 2012-02-10 16:39:15 +01:00
Micke Prag
12ecb1adb9 Fixed resource leak 2012-02-10 15:37:34 +01:00
Micke Prag
9f24d01e43 Fixed memory leak 2012-02-10 15:37:34 +01:00
Micke Prag
a740591380 Only check using cppcheck on Linux 2012-02-10 15:37:34 +01:00
Micke Prag
f4ece8a4f9 Ignore the build directory in cppcheck 2012-02-10 15:37:34 +01:00
Micke Prag
670e5f1c72 Fixed mismatching allocation and deallocation 2012-02-10 15:37:34 +01:00
Micke Prag
d260100d38 Add real test for TelldusCore::formatf() 2012-02-10 15:37:34 +01:00
Micke Prag
06be6ecedc Add cppcheck to our tests 2012-02-10 15:37:34 +01:00
Micke Prag
4014158e8f Add CppUnit test with just a simple dummy failing test 2012-02-10 15:37:34 +01:00
Micke Prag
5fd3b2c425 First example on how to communicate with the TellStick Net locally 2012-02-09 17:27:49 +01:00
Micke Prag
371a8bf24a The strings length-prefix must be in upper case 2012-02-09 17:27:49 +01:00
Micke Prag
ca4c10021a Emphasize that this is still under development 2012-02-09 17:27:49 +01:00
Micke Prag
c235062c39 Add TellStick Net message format to the documentation 2012-02-09 17:27:49 +01:00
Micke Prag
a1079c48da Add missing namespace for Mac OS X 2012-02-03 17:53:37 +01:00
Micke Prag
ba9c50f625 Fix missing namespace in Events on Windows and Mac OS X 2012-02-03 17:32:54 +01:00
Micke Prag
e834160492 Move class Event and EventHandler into the TelldusCore namespace 2012-02-03 17:09:38 +01:00
Micke Prag
1250681514 Missed the Event files for Linux 2012-02-03 16:18:15 +01:00
Micke Prag
868c8b322c The mutex must be locked and unlocked by the same thread. We easily get deadlocks in Windows otherwise 2012-02-03 15:52:15 +01:00
Micke Prag
ceec23dfed Add function Thread::startAndLock() 2012-02-03 15:50:04 +01:00
Micke Prag
938187b2a6 Move the event system into common to be used by our threads 2012-02-03 14:51:39 +01:00
Micke Prag
189ddc9383 Convert the number in hexTo64l() it to a long long int instead of long int to be safe for 32-bit systems 2012-02-03 11:41:20 +01:00
Micke Prag
e718228a12 hexTo64l() should convert it to an unsigned value on Linux 2012-02-03 11:17:36 +01:00
Micke Prag
72e480a870 Add a (hopefully) 64-bit safe conversion on OS X 2012-02-03 11:07:14 +01:00
Micke Prag
24f7755358 Workaround for dependencies in plugins not resolved correctly 2012-02-02 17:22:11 +01:00
Micke Prag
7834d935e2 Fixed wrong endpoint in our php example 2012-02-02 15:58:55 +01:00
Micke Prag
f15fd887e8 Escape command line paths since they might containing spaces or other strange chars 2012-02-02 15:16:23 +01:00
Stefan Persson
f62881d42e Removed 'beta1' from version 2012-02-02 12:40:34 +01:00
Stefan Persson
6cbdac52b9 Fixed TelldusCenter freeze when saving device changes in Linux/Mac 2012-02-02 12:35:08 +01:00
Micke Prag
91cf55816c Rewrite dependencies for QtComponents desktop on install 2012-01-31 11:34:39 +01:00
Micke Prag
4ef7de7ac5 Change path to qt-components-desktop submodule to our own mirror since gitorious fails so often 2012-01-30 15:42:08 +01:00
Micke Prag
9a8c76513f Bump version from 2.1.1_beta1 to 2.1.1 2012-01-30 13:21:16 +01:00
Micke Prag
924fe1cf20 Set a minimum width for the sensor view, closes #165 2012-01-30 12:56:59 +01:00
Micke Prag
03f00a0fff Changed graphics on deletebutton, see #165 2012-01-30 12:53:07 +01:00
Micke Prag
e7a2e9dc76 Copy the framworks the plugins depends on, not only rewrite the path 2012-01-27 11:35:54 +01:00
Stefan Persson
4ccb9b3563 Fix crash when removing sensor with name textfield selected 2012-01-26 17:01:50 +01:00
Micke Prag
c6ecc4a1d4 Use @VAR@ syntax in the file, else cmake complaints 2012-01-26 15:13:22 +01:00
Micke Prag
de745731df Set the environmental variables from the udev rule makeing sure they exists in all distributions. This closes #115 2012-01-26 15:01:23 +01:00
Micke Prag
1ef4610f52 Make sure the substration is made using two doubles. Since value is unsigned negative results might overflow otherwise. This closes #177 2012-01-26 14:46:28 +01:00
Micke Prag
f1e58433c1 Add --debug option for unix as well 2012-01-26 14:46:28 +01:00
Micke Prag
ee8f3b41d0 Print debug message on all platforms activating it, not only Windows 2012-01-26 14:46:28 +01:00
Stefan Persson
afa1e88e62 Changed usage of strol method, so that windows uses _strtoui64 instead. Closes #172, #175 2012-01-26 14:38:42 +01:00
Micke Prag
bf72debefb Output when debug mode is enabled 2012-01-25 17:43:16 +01:00
Micke Prag
5f1d6e7fe5 Listen for suspend/resume signals and disconnect all usb-devices. This closes #171 2012-01-25 17:42:41 +01:00
Micke Prag
c35be687c0 pid=0 and vid=0 means all. This way we can easily disconnect all controllers or initiate a rescan 2012-01-25 17:41:27 +01:00
Stefan Persson
e69f7abba8 Sensor view now starts up in view mode if no sensors are set to be visible. Closes #168 2012-01-25 17:01:44 +01:00