Commit graph

1968 commits

Author SHA1 Message Date
Micke Prag
db1d6c4d47 Fix coding style in CMakeLists.txt 2012-03-30 14:55:34 +02:00
Erik Johansson
2eb0453f4d Clarify that controller availability is a string 2012-03-19 10:57:56 +01:00
Erik Johansson
da0371d803 Minor doc fixes 2012-03-19 10:55:35 +01:00
Erik Johansson
8ace17c8f0 Reformat the doxygen comment 2012-03-19 10:50:11 +01:00
Erik Johansson
5061c759f3 Minor doc cleanups 2012-03-19 10:00:05 +01:00
Erik Johansson
0d84d52ebe Document TDControllerEvent 2012-03-17 19:18:56 +01:00
Erik Johansson
ee4d821a7a Document TDSensorEvent 2012-03-17 19:02:17 +01:00
Erik Johansson
034b5a03e6 Document TDRawDeviceEvent 2012-03-17 18:55:44 +01:00
Erik Johansson
296be6a068 Document TDDeviceEvent 2012-03-17 18:46:25 +01:00
Erik Johansson
d715e4ad41 Extend the documentation for device change events 2012-03-17 08:51:19 +01:00
Erik Johansson
690b730607 Add missing documentation for parameters and return value 2012-03-14 11:25:37 +01:00
Erik Johansson
2ce2984d67 More doxygen warnings and fix WINAPI define 2012-03-14 11:00:28 +01:00
Erik Johansson
435778d2ba Document the callback functions 2012-03-14 11:00:08 +01:00
Erik Johansson
8dc64032a8 Add Doxygen config file and docs target to build documentation 2012-03-14 08:34:12 +01:00
Erik Johansson
7b65980b56 Document final parameter to tdControllerValue 2012-03-14 07:24:44 +01:00
Erik Johansson
e6f777b5fa Add callback typedefs to documentation 2012-03-13 21:06:30 +01:00
Erik Johansson
75000993dc Add documentation for missing defines 2012-03-13 21:01:15 +01:00
Erik Johansson
7434351cf5 Group defines in documentation 2012-03-13 20:37:32 +01:00
Erik Johansson
cc6420920e Use doxygen command @since instead of "Added in..." 2012-03-13 20:20:02 +01:00
Micke Prag
4760aa8a32 Add possible constant for detecting mountain lion 2012-03-01 15:32:27 +01:00
Micke Prag
5e8a3c965a Add the version number if we cannot detect the platform on Windows 2012-03-01 15:30:40 +01:00
Micke Prag
a35ad875d2 Add Telldus Live! python example. A tdtool implementation 2012-02-28 18:39:35 +01:00
Micke Prag
c2be82e5d6 Copy the plugin to the destination folder after build instead of the combination using LIBRARY_OUTPUT_DIRECTORY and PREFIX. This allows us to build the plugins as universal binaries. Closes #121 2012-02-28 14:28:55 +01:00
Micke Prag
aff9b973a8 Convert dos endings to unix in telldus-gui, closes #160 2012-02-27 17:44:58 +01:00
Micke Prag
9500c4c898 Convert dos endings to unix in telldus-core, see #160 2012-02-27 17:37:52 +01:00
Micke Prag
bdd95b8d78 Merge branch 't108' into master
Closes #108
2012-02-27 16:51:52 +01:00
Micke Prag
5fcc391c95 Update CoreFoundationPreerences settings engine to handle both controllers and devices 2012-02-27 16:46:16 +01:00
Micke Prag
5dd66bfb03 Compability fixes on unix since the interface changed in a previous commit 2012-02-27 15:56:02 +01:00
Micke Prag
c0fe38e0eb Implement the controller callback 2012-02-27 15:35:59 +01:00
Micke Prag
6196793ff6 Make the firmware setable from C++ 2012-02-27 15:34:32 +01:00
Micke Prag
d728664785 Signal the firmware version as a modified signal. This since we don't know the firmware when a new controller is found. We need to communicate with the device first and the version will be detected later 2012-02-27 15:32:21 +01:00
Micke Prag
237cf4e8e7 Implement controller callback in telldus-service 2012-02-27 15:28:09 +01:00
Micke Prag
246b4273ce Add callback TDControllerEvent 2012-02-27 15:19:04 +01:00
Lauri Aarnio
842a042cdb tdtool: Added an alternative listing format (new options --list-sensors and --list-devices)
- These options list devices and sensors in a more machine-readable-friendly
  format: tab-separated key=value fields, one line/device, and no header
  lines, percent- or degree signs. Additionally, for sensors, age (in seconds)
  of the collected data is also printed.
2012-02-27 11:27:52 +01:00
Lauri Aarnio
d51e301f6b tdtool: minor bugfix: clear timeBuf, so that it won't be used uninitialized 2012-02-27 11:27:10 +01:00
Lauri Aarnio
11950d6c2d Fixed a nonportable bash'ism: Use "=" for comparing strings
- the "==" operator is specific to bash, use "=" instead;
  it is compatible with the "test" utility and other shells
  (and posix, too)
2012-02-27 11:24:40 +01:00
Micke Prag
42beb57169 Pass around an EventRef instead of a raw Event pointer. This is safer 2012-02-24 17:39:52 +01:00
Micke Prag
148fd52c76 Create one generic callback dispatcher that can handle all our
callbacks.

This minimize code duplication and allows us much easier to add and
maintain callbacks.
2012-02-24 16:47:30 +01:00
Micke Prag
5d4ee9a4be Protect against including common.h twice 2012-02-24 16:45:47 +01:00
Micke Prag
2eef2dd362 Merge branch 'master' into t108 2012-02-24 11:56:05 +01:00
Stefan Persson
f0a07fd424 Added CallbackMainDispatcher to TelldusCore namespace 2012-02-24 09:29:49 +01:00
Micke Prag
9f8ceec805 Merge remote branch 'origin/master' into t108
Conflicts:
	telldus-core/client/Client.cpp
2012-02-23 16:59:50 +01:00
Stefan Persson
c049b97a64 Dispatching of events in own thread, to somewhat counter problems with long running events. 2012-02-23 15:48:39 +01:00
Micke Prag
a0e9fd963b Add qmldir for plugin Controllers 2012-02-23 15:27:20 +01:00
Micke Prag
5bc43a21ab Fix settings functions on Windows for our refactoring 2012-02-23 15:26:38 +01:00
Micke Prag
23437505d6 Initialize variable dwLength, we might get ERROR_MORE_DATA otherwize 2012-02-23 15:24:50 +01:00
Micke Prag
ab8bda2247 Export our controller functions on Windows 2012-02-23 15:21:46 +01:00
Micke Prag
6d47870856 Return 'TellStick not found' when no controller is connected instead of 'No device found' 2012-02-23 15:21:18 +01:00
Micke Prag
20840d5d8b Initialize private variable 2012-02-23 15:20:28 +01:00
Micke Prag
d5166d26f8 Add function com.telldus.core.controller() to the script engine to iterate over controllers 2012-02-23 12:38:56 +01:00