Commit graph

  • 2eef2dd362 Merge branch 'master' into t108 Micke Prag 2012-02-24 11:56:05 +01:00
  • f0a07fd424 Added CallbackMainDispatcher to TelldusCore namespace Stefan Persson 2012-02-24 09:29:49 +01:00
  • 9f8ceec805 Merge remote branch 'origin/master' into t108 Micke Prag 2012-02-23 16:59:50 +01:00
  • c049b97a64 Dispatching of events in own thread, to somewhat counter problems with long running events. Stefan Persson 2012-02-23 15:44:36 +01:00
  • a0e9fd963b Add qmldir for plugin Controllers Micke Prag 2012-02-23 15:27:20 +01:00
  • 5bc43a21ab Fix settings functions on Windows for our refactoring Micke Prag 2012-02-23 15:26:38 +01:00
  • 23437505d6 Initialize variable dwLength, we might get ERROR_MORE_DATA otherwize Micke Prag 2012-02-23 15:24:50 +01:00
  • ab8bda2247 Export our controller functions on Windows Micke Prag 2012-02-23 15:21:46 +01:00
  • 6d47870856 Return 'TellStick not found' when no controller is connected instead of 'No device found' Micke Prag 2012-02-23 15:21:18 +01:00
  • 20840d5d8b Initialize private variable Micke Prag 2012-02-23 15:20:28 +01:00
  • d5166d26f8 Add function com.telldus.core.controller() to the script engine to iterate over controllers Micke Prag 2012-02-23 12:38:56 +01:00
  • 5238978d32 Allow for controller removal in TelldusCenter Micke Prag 2012-02-23 12:37:58 +01:00
  • a766fe32de Add public function tdRemoveController() to telldus-core, see #108 Micke Prag 2012-02-23 12:34:31 +01:00
  • 3de0a98f89 Add new 'Controllers' plugin to admin controllers, see #108 Micke Prag 2012-02-17 15:36:36 +01:00
  • 345ff62a93 Add new function tdControllerValue(), see #108 Micke Prag 2012-02-17 15:32:39 +01:00
  • fae493f497 Store the new name in tdSetControllerValue() Micke Prag 2012-02-17 15:31:21 +01:00
  • 0800cfde10 When enumerating usb-devices, try matching them to the stored ones and add them if they are not found Micke Prag 2012-02-17 13:10:23 +01:00
  • 23f368b968 If the requested controller is not avaialable, find the firt available one Micke Prag 2012-02-17 13:06:15 +01:00
  • bfb24c3aeb Add functions to get/set controller serial and type Micke Prag 2012-02-17 13:04:59 +01:00
  • f1c71e64a0 Don't remove controllers, just mark them as unavailable Micke Prag 2012-02-17 13:04:08 +01:00
  • 94ca412554 Load controllers from settings Micke Prag 2012-02-15 14:34:23 +01:00
  • 210b41b262 Add function QMLView::sizeRootObjectToView() Micke Prag 2012-02-15 14:33:39 +01:00
  • 62fa35926c Name should be wide Micke Prag 2012-02-15 14:31:27 +01:00
  • 39265caa01 Refactor to reuse same functions in settings for both devices and controllers Micke Prag 2012-02-15 11:33:58 +01:00
  • 1ad79b663e Add function Settings::getNumberOfControllers() Micke Prag 2012-02-15 10:28:54 +01:00
  • 541e656fe1 Add controllers to our settings file Micke Prag 2012-02-15 10:28:18 +01:00
  • 433f4db3e0 Make the mutex for Settings static to be shared between instances Micke Prag 2012-02-15 10:27:28 +01:00
  • cd044d818d Implement tdSetControllerValue in telldus-core Micke Prag 2012-02-15 10:25:07 +01:00
  • 979e6082c2 Implement tdSetControllerValue in TelldusService Micke Prag 2012-02-15 10:24:04 +01:00
  • f8226be943 Add overloaded function ConfigurationDialog::addPage() to load a QWidget directly Micke Prag 2012-02-14 11:24:28 +01:00
  • 2b7f02bbb4 Add public function tdController() to telldus-core. See #108 Micke Prag 2012-02-13 18:10:20 +01:00
  • 00eeea1283 Add function to query controllers in the service Micke Prag 2012-02-13 18:08:21 +01:00
  • 799c25f98e Refactor ControllerManager's list of controllers to allow for metadata storage and loaded controller without an actual connected controller Micke Prag 2012-02-13 18:05:09 +01:00
  • f34e1ad53f Fix Client::close to allow for reinitialization Torbjörn Lönnemark 2012-02-17 23:36:55 +01:00
  • 0fda29f7a1 The udev script should be sh instead of bash to keep dependencies low Lauri 2012-02-20 09:27:28 +01:00
  • 2896cc74ad Add missing include stdarg.h, seems to be needed by uClibc Lauri 2012-02-20 09:24:22 +01:00
  • 629fbaca99 Escape paths Micke Prag 2012-02-13 18:13:25 +01:00
  • 7951232857 Add version info to all functions exported in telldus-core Micke Prag 2012-02-13 14:46:09 +01:00
  • d53543922b Fix common realloc mistake Micke Prag 2012-02-10 16:41:05 +00:00
  • af183d2870 The -i option doesn't seem to be supported in the version of cppcheck used in debian 6 Micke Prag 2012-02-10 16:48:09 +01:00
  • a1809f410a This test seems to return undefined results Micke Prag 2012-02-10 16:41:04 +01:00
  • 01f70d69c0 We must enable unit tests explicit in our builds Micke Prag 2012-02-10 16:39:15 +01:00
  • 12ecb1adb9 Fixed resource leak Micke Prag 2012-01-31 16:32:19 +01:00
  • 9f24d01e43 Fixed memory leak Micke Prag 2012-01-31 16:29:48 +01:00
  • a740591380 Only check using cppcheck on Linux Micke Prag 2012-01-31 16:23:07 +01:00
  • f4ece8a4f9 Ignore the build directory in cppcheck Micke Prag 2012-01-31 16:22:10 +01:00
  • 670e5f1c72 Fixed mismatching allocation and deallocation Micke Prag 2012-01-31 16:21:06 +01:00
  • d260100d38 Add real test for TelldusCore::formatf() Micke Prag 2012-01-17 17:00:09 +01:00
  • 06be6ecedc Add cppcheck to our tests Micke Prag 2012-01-09 16:31:43 +01:00
  • 4014158e8f Add CppUnit test with just a simple dummy failing test Micke Prag 2012-01-06 18:17:48 +01:00
  • 5fd3b2c425 First example on how to communicate with the TellStick Net locally Micke Prag 2012-02-09 17:16:55 +01:00
  • 371a8bf24a The strings length-prefix must be in upper case Micke Prag 2012-02-09 17:16:25 +01:00
  • ca4c10021a Emphasize that this is still under development Micke Prag 2012-02-09 17:15:25 +01:00
  • c235062c39 Add TellStick Net message format to the documentation Micke Prag 2012-02-09 12:34:13 +01:00
  • a1079c48da Add missing namespace for Mac OS X v2.1.1 Micke Prag 2012-02-03 17:53:37 +01:00
  • ba9c50f625 Fix missing namespace in Events on Windows and Mac OS X Micke Prag 2012-02-03 17:32:54 +01:00
  • e834160492 Move class Event and EventHandler into the TelldusCore namespace Micke Prag 2012-02-03 17:09:38 +01:00
  • 1250681514 Missed the Event files for Linux Micke Prag 2012-02-03 16:18:15 +01:00
  • 868c8b322c The mutex must be locked and unlocked by the same thread. We easily get deadlocks in Windows otherwise Micke Prag 2012-02-03 15:52:15 +01:00
  • ceec23dfed Add function Thread::startAndLock() Micke Prag 2012-02-03 15:50:04 +01:00
  • 938187b2a6 Move the event system into common to be used by our threads Micke Prag 2012-02-03 14:51:39 +01:00
  • 189ddc9383 Convert the number in hexTo64l() it to a long long int instead of long int to be safe for 32-bit systems Micke Prag 2012-02-03 11:41:20 +01:00
  • e718228a12 hexTo64l() should convert it to an unsigned value on Linux Micke Prag 2012-02-03 11:17:36 +01:00
  • 72e480a870 Add a (hopefully) 64-bit safe conversion on OS X Micke Prag 2012-02-03 11:07:14 +01:00
  • 24f7755358 Workaround for dependencies in plugins not resolved correctly Micke Prag 2012-02-02 17:21:48 +01:00
  • 7834d935e2 Fixed wrong endpoint in our php example Micke Prag 2012-02-02 15:58:55 +01:00
  • f15fd887e8 Escape command line paths since they might containing spaces or other strange chars Micke Prag 2012-02-02 15:16:23 +01:00
  • f62881d42e Removed 'beta1' from version Stefan Persson 2012-02-02 12:40:34 +01:00
  • 6cbdac52b9 Fixed TelldusCenter freeze when saving device changes in Linux/Mac Stefan Persson 2012-02-02 12:35:08 +01:00
  • 91cf55816c Rewrite dependencies for QtComponents desktop on install Micke Prag 2012-01-31 11:34:39 +01:00
  • 4ef7de7ac5 Change path to qt-components-desktop submodule to our own mirror since gitorious fails so often Micke Prag 2012-01-30 15:42:08 +01:00
  • 9a8c76513f Bump version from 2.1.1_beta1 to 2.1.1 Micke Prag 2012-01-30 13:21:16 +01:00
  • 924fe1cf20 Set a minimum width for the sensor view, closes #165 Micke Prag 2012-01-30 12:56:59 +01:00
  • 03f00a0fff Changed graphics on deletebutton, see #165 Micke Prag 2012-01-30 12:53:07 +01:00
  • e7a2e9dc76 Copy the framworks the plugins depends on, not only rewrite the path Micke Prag 2012-01-27 11:31:32 +01:00
  • 4ccb9b3563 Fix crash when removing sensor with name textfield selected Stefan Persson 2012-01-26 17:01:50 +01:00
  • c6ecc4a1d4 Use @VAR@ syntax in the file, else cmake complaints Micke Prag 2012-01-26 15:13:22 +01:00
  • de745731df Set the environmental variables from the udev rule makeing sure they exists in all distributions. This closes #115 Micke Prag 2012-01-26 15:01:23 +01:00
  • 1ef4610f52 Make sure the substration is made using two doubles. Since value is unsigned negative results might overflow otherwise. This closes #177 Micke Prag 2012-01-26 12:42:56 +01:00
  • f1e58433c1 Add --debug option for unix as well Micke Prag 2012-01-26 11:55:15 +01:00
  • ee8f3b41d0 Print debug message on all platforms activating it, not only Windows Micke Prag 2012-01-26 11:54:51 +01:00
  • afa1e88e62 Changed usage of strol method, so that windows uses _strtoui64 instead. Closes #172, #175 Stefan Persson 2012-01-26 14:38:42 +01:00
  • bf72debefb Output when debug mode is enabled Micke Prag 2012-01-25 17:43:16 +01:00
  • 5f1d6e7fe5 Listen for suspend/resume signals and disconnect all usb-devices. This closes #171 Micke Prag 2012-01-25 17:42:41 +01:00
  • c35be687c0 pid=0 and vid=0 means all. This way we can easily disconnect all controllers or initiate a rescan Micke Prag 2012-01-25 17:41:27 +01:00
  • e69f7abba8 Sensor view now starts up in view mode if no sensors are set to be visible. Closes #168 Stefan Persson 2012-01-25 17:01:44 +01:00
  • 430871bebf Temperature sign removed from tdtool in windows. Closes #166 Stefan Persson 2012-01-24 17:40:55 +01:00
  • 6289a1138e Fixed listing of sensors in tdtool. Closes #164 Stefan Persson 2012-01-24 15:21:13 +01:00
  • 31a0b22da9 Workaround for building targeting Leopard using SnowLeopard SDK. Some symbols in stdlibc is missing Micke Prag 2012-01-24 14:34:38 +01:00
  • e384c5b677 When reading the target executable for prerequisites we must include the DESTDIR, else we might read an already installed file Micke Prag 2012-01-23 18:07:49 +01:00
  • fec44a8e77 Tried to clarify the fallback mechanism used in tdMethods() Micke Prag 2012-01-23 11:12:46 +01:00
  • a26244fa95 Typo Micke Prag 2012-01-23 10:54:39 +01:00
  • d2dd460490 Documentation for TellStick Net auto discovery Micke Prag 2011-11-14 14:01:34 +01:00
  • 000148a6c8 Rename files to allow easier reorder of chapters in doc Micke Prag 2011-11-14 13:30:30 +01:00
  • 17de443f19 Add missing breaks in select. tdtool showed the list of devices on --version Micke Prag 2012-01-18 12:02:21 +01:00
  • 4f181a05ce Sign tdtool Micke Prag 2012-01-18 12:01:36 +01:00
  • 6a9a390eb7 Remove extra empty row Micke Prag 2012-01-18 11:54:37 +01:00
  • 982c470387 Since tdtool now builds on Windows it can be included by default. This closes #89 Micke Prag 2012-01-18 11:47:46 +01:00
  • 8d9679bf77 The size of the array must be a constant on Windows Micke Prag 2012-01-18 11:46:06 +01:00
  • 5807bceda8 The function strcasecmp is named _stricmp on Windows Micke Prag 2012-01-18 11:45:25 +01:00