Commit graph

1992 commits

Author SHA1 Message Date
Micke Prag
deebf2045e Add quit key shortcut (ctrl+q) 2012-04-16 12:03:47 +02:00
Micke Prag
e6fc4d3034 Merge remote branch 'stromnet/stromnet-master' 2012-04-13 11:31:49 +02:00
Micke Prag
1e6767fa65 Return an appropriate error code instead of true/false in tdUnregisterCallback(), closes #200 2012-04-13 11:22:47 +02:00
Micke Prag
8babf9913d If the protocol is not valid, return TELLSTICK_ERROR_CONFIG_SYNTAX instead of TELLSTICK_ERROR_UNKNOWN. Closes #119 2012-04-13 11:10:27 +02:00
Micke Prag
12eb097ce4 Add error message for syntax error in the configuration file, see #119 2012-04-13 10:56:36 +02:00
Micke Prag
eb95ffe8a5 Fix missing separator. 2012-04-13 10:55:24 +02:00
Micke Prag
c137bca9fe Only log SIGPIPE as debug messages. Closes #194 2012-04-13 10:24:11 +02:00
Johan Ström
6670f627a0 Race-fix for OSX ControllerListener.
If the destructor was called very close (in time) after the constructor
was called, we'd get a race where gRunLoop was not inited properly, and
when trying to release it we crashed with EXC_BAD_ACCESS.

An example when this would happen is if the user SIGINTs while starting
up. The ControllerManager can be quite slow (seconds) to init sometimes,
and if we'd SIGINT while waiting for it, the ControllerListener ctor
would be called after, the mainloop would be skipped, and then the dtor
would be called -> triggering crash.
2012-04-09 21:28:39 +02:00
Micke Prag
f57eebad74 Merge remote branch 'erijo/get-controller-value'. This closes #202.
Conflicts:
	telldus-core/client/telldus-core.cpp
2012-03-30 16:49:42 +02:00
Micke Prag
c77fd899a1 Merge branch 'misc-fixes' 2012-03-30 16:29:59 +02:00
Micke Prag
957921b01e Merge branch 'docs' 2012-03-30 14:55:46 +02:00
Micke Prag
db1d6c4d47 Fix coding style in CMakeLists.txt 2012-03-30 14:55:34 +02:00
Micke Prag
0aab73dcbe Cleanup the STATE_INSTALL_DIR variable in CMake. Only define it one time 2012-03-30 14:03:34 +02:00
Micke Prag
748d19c58c Merge pull request #1 from erijo/confuse-paths
Make settings paths set in cmake be used by telldusd
2012-03-30 04:59:52 -07:00
Erik Johansson
3bedad336a Make tdadmin handle only one parameter w/o crashing
Fixes SIGSEGV when running tdadmin - (ticket #194).
2012-03-21 16:20:23 +01:00
Erik Johansson
5492623ecd Avoid one extra strlen 2012-03-20 16:37:56 +01: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
bd0e01bfad Correct spelling in error message 2012-03-19 10:50:43 +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
902c12d88d The controller added callback should pass the controller type
This unifies the behavior between loadControllers() and
loadStoredControllers().
2012-03-17 19:16:27 +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
8170629f48 Make "available" a valid parameter to query with tdControllerValue 2012-03-16 14:36:24 +01:00
Erik Johansson
5e49cfffe4 Make it possible to get controller name with tdControllerValue
The name can be changed with tdSetControllerValue but unless you listen to the
change event you had to fetch all controllers again to get the new name.
2012-03-16 14:34:48 +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
Erik Johansson
104ce0fb23 Use configured paths when accessing settings files 2012-03-13 15:00:07 +01:00
Erik Johansson
e5c2a9c847 Store configured settings paths in header file 2012-03-13 14:59:44 +01:00
Erik Johansson
1108f3fad2 Return type for callbacks is void, not void* 2012-03-06 13:58:31 +01:00
Erik Johansson
e921be65b4 Fix variable name in code example 2012-03-06 13:53:39 +01:00
Erik Johansson
bda20c75f0 Remove stray statement 2012-03-06 13:51:06 +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