Commit graph

  • 2fc9d470dd If an else has a brace on one side, it should have it on both according to Google style guidelines "readability/braces" Micke Prag 2012-06-15 16:20:31 +02:00
  • 31ee1880ad Use sizeof(varname) instead of sizeof(type) according to Google style guidelines "runtime/sizeof" Micke Prag 2012-06-18 16:07:18 +02:00
  • 1ac3fc25e0 Use pointers when passing references according to Google style guidelines "runtime/references" Micke Prag 2012-06-08 16:27:22 +02:00
  • 3dcc7a04ba Use int16/int64/etc, rather than the C types according to Google style guidelines "runtime/int" Micke Prag 2012-06-08 16:45:39 +02:00
  • 6666dc0294 Do not use namespace using-directives according to Google style guidelines "build/namespaces" Micke Prag 2012-06-15 18:24:06 +02:00
  • 67d8bf7fb0 We need spaces after semicolon in for loops according to Google style guidelines "whitespace/semicolon" Micke Prag 2012-06-15 16:24:12 +02:00
  • e7bb22cf34 We need spaces surrounding operators according to Google style guidelines "whitespace/operators" Micke Prag 2012-02-29 10:47:18 +01:00
  • a01b42b4d7 An else should appear on the same line as the preceding } according to Google style guidelines "whitespace/newline" Micke Prag 2012-02-29 17:53:52 +01:00
  • 1f9a069df7 Remove extra spaces at end of line according to Google style guidelines "whitespace/end_of_line" Micke Prag 2012-02-29 18:10:47 +01:00
  • dc357ddeca Remove extra blank lines according to Google style guidelines "whitespace/blank_line" Micke Prag 2012-02-29 10:47:01 +01:00
  • 110dcc2c57 Should have spaces after comma according to Google style guidelines "whitespace/comma" Micke Prag 2012-02-29 10:38:01 +01:00
  • 3a0cee353a Fix include header order according to Google style guidelines "build/include_order" Micke Prag 2012-06-19 11:57:22 +02:00
  • 75f21588e5 Should have a space between // and comment "whitespace/comments" Micke Prag 2012-02-28 22:20:03 +01:00
  • e1608f94a8 { should almost always be at the end of the previous line, according to Google style guidelines "whitespace/braces" Micke Prag 2012-02-28 22:19:02 +01:00
  • 78444e20b9 Add #include <string> for string, according to Google style guidelines "build/include_what_you_use" Micke Prag 2012-06-19 10:58:31 +02:00
  • a4dfd27d35 Single-argument constructors should be marked explicit. According to Google style guideline "runtime/explicit" Micke Prag 2012-02-28 22:08:55 +01:00
  • 0d25f0b389 Fix #ifndef header guard style, according to Google style guidelines "build/header_guard" Micke Prag 2012-02-28 22:07:56 +01:00
  • 8d0228ced2 Add copyright message according to Google style guidelines "legal/copyright" Micke Prag 2012-06-19 10:06:47 +02:00
  • 5b5be387cd Include the directory when naming .h files. According to Google style guideline "build/include". Micke Prag 2012-06-19 11:15:24 +02:00
  • 3101fd0969 Add test for checking that tab is used for indentation Micke Prag 2012-06-19 12:30:31 +02:00
  • d3b75fc4f6 Change the test so a tab character before a braces is ok Micke Prag 2012-06-15 14:53:22 +02:00
  • 506c740d81 Add Google style guideline check tool: cpplint Micke Prag 2012-02-28 21:21:58 +01:00
  • 488ab8c754 The function close() is declared in unistd.h. We must include this since it might not be pulled in by other headers on all platforms. Closes #216 Micke Prag 2012-06-08 12:28:13 +02:00
  • 4af5c5b658 Check that the option we set in Settings::setStringSetting() actually exists before write when using libConfuse. Writing to a non existing option makes telldusd SIGABRT. Closes #207. Micke Prag 2012-06-01 15:28:59 +02:00
  • 72b31cc86e Add headers for ftd2xx, needed at least in Windows Micke Prag 2012-06-01 12:33:03 +02:00
  • d4b46c71ec Add some different xPL implementations done by Telldus Micke Prag 2012-05-29 14:18:28 +02:00
  • 00f95d22e1 Add support for flashing TellStick Duo Micke Prag 2012-04-20 14:34:15 +02:00
  • 7e287a6079 Check the current firmware version Micke Prag 2012-04-20 14:33:44 +02:00
  • 9095ba6090 Load class TellStick for TellStick Duo also Micke Prag 2012-04-18 17:29:24 +02:00
  • 0ebdba4dbc Add option to update firmware for TellStick Micke Prag 2012-04-18 17:28:47 +02:00
  • bf4ad2a1a7 Add aml item ControllerUpgradeDialog Micke Prag 2012-04-18 17:27:54 +02:00
  • 13cd76e8ac Add qml item StateLabel Micke Prag 2012-04-18 17:26:43 +02:00
  • 3b137c0326 Load class TellStick for TellStick controllers Micke Prag 2012-04-18 17:26:05 +02:00
  • a2f8d08511 Add properties to the controller object for showing the upgrade status Micke Prag 2012-04-18 17:25:17 +02:00
  • 4cc16757ad Link plugin against libftd2xx Micke Prag 2012-04-18 16:32:05 +02:00
  • 6bc548af2b Add firmware to the products as resource Micke Prag 2012-04-18 15:58:40 +02:00
  • be9d0ecca5 Add class TellStick Micke Prag 2012-04-18 15:56:47 +02:00
  • deebf2045e Add quit key shortcut (ctrl+q) Micke Prag 2012-04-16 12:03:47 +02:00
  • e6fc4d3034 Merge remote branch 'stromnet/stromnet-master' Micke Prag 2012-04-13 11:31:49 +02:00
  • 1e6767fa65 Return an appropriate error code instead of true/false in tdUnregisterCallback(), closes #200 Micke Prag 2012-04-13 11:22:47 +02:00
  • 8babf9913d If the protocol is not valid, return TELLSTICK_ERROR_CONFIG_SYNTAX instead of TELLSTICK_ERROR_UNKNOWN. Closes #119 Micke Prag 2012-04-13 11:10:27 +02:00
  • 12eb097ce4 Add error message for syntax error in the configuration file, see #119 Micke Prag 2012-04-13 10:56:36 +02:00
  • eb95ffe8a5 Fix missing separator. Micke Prag 2012-04-13 10:55:24 +02:00
  • c137bca9fe Only log SIGPIPE as debug messages. Closes #194 Micke Prag 2012-04-13 10:24:11 +02:00
  • 6670f627a0 Race-fix for OSX ControllerListener. Johan Ström 2012-04-09 21:28:39 +02:00
  • f57eebad74 Merge remote branch 'erijo/get-controller-value'. This closes #202. Micke Prag 2012-03-30 16:49:29 +02:00
  • c77fd899a1 Merge branch 'misc-fixes' Micke Prag 2012-03-30 16:29:59 +02:00
  • 957921b01e Merge branch 'docs' Micke Prag 2012-03-30 14:55:46 +02:00
  • db1d6c4d47 Fix coding style in CMakeLists.txt Micke Prag 2012-03-30 14:55:34 +02:00
  • 0aab73dcbe Cleanup the STATE_INSTALL_DIR variable in CMake. Only define it one time Micke Prag 2012-03-30 14:03:34 +02:00
  • 748d19c58c Merge pull request #1 from erijo/confuse-paths Micke Prag 2012-03-30 04:59:52 -07:00
  • 3bedad336a Make tdadmin handle only one parameter w/o crashing Erik Johansson 2012-03-21 16:20:23 +01:00
  • 5492623ecd Avoid one extra strlen Erik Johansson 2012-03-20 16:37:56 +01:00
  • 2eb0453f4d Clarify that controller availability is a string Erik Johansson 2012-03-19 10:57:56 +01:00
  • da0371d803 Minor doc fixes Erik Johansson 2012-03-19 10:55:35 +01:00
  • bd0e01bfad Correct spelling in error message Erik Johansson 2012-03-19 10:50:43 +01:00
  • 8ace17c8f0 Reformat the doxygen comment Erik Johansson 2012-03-19 10:50:11 +01:00
  • 5061c759f3 Minor doc cleanups Erik Johansson 2012-03-19 10:00:05 +01:00
  • 0d84d52ebe Document TDControllerEvent Erik Johansson 2012-03-17 19:12:30 +01:00
  • 902c12d88d The controller added callback should pass the controller type Erik Johansson 2012-03-17 19:16:27 +01:00
  • ee4d821a7a Document TDSensorEvent Erik Johansson 2012-03-17 19:02:17 +01:00
  • 034b5a03e6 Document TDRawDeviceEvent Erik Johansson 2012-03-17 18:55:44 +01:00
  • 296be6a068 Document TDDeviceEvent Erik Johansson 2012-03-17 18:46:25 +01:00
  • d715e4ad41 Extend the documentation for device change events Erik Johansson 2012-03-17 08:51:19 +01:00
  • 8170629f48 Make "available" a valid parameter to query with tdControllerValue Erik Johansson 2012-03-16 14:36:24 +01:00
  • 5e49cfffe4 Make it possible to get controller name with tdControllerValue Erik Johansson 2012-03-13 15:24:30 +01:00
  • 690b730607 Add missing documentation for parameters and return value Erik Johansson 2012-03-14 11:25:37 +01:00
  • 2ce2984d67 More doxygen warnings and fix WINAPI define Erik Johansson 2012-03-14 11:00:28 +01:00
  • 435778d2ba Document the callback functions Erik Johansson 2012-03-14 11:00:08 +01:00
  • 8dc64032a8 Add Doxygen config file and docs target to build documentation Erik Johansson 2012-03-14 08:34:12 +01:00
  • 7b65980b56 Document final parameter to tdControllerValue Erik Johansson 2012-03-14 07:24:44 +01:00
  • e6f777b5fa Add callback typedefs to documentation Erik Johansson 2012-03-13 21:06:30 +01:00
  • 75000993dc Add documentation for missing defines Erik Johansson 2012-03-13 21:01:15 +01:00
  • 7434351cf5 Group defines in documentation Erik Johansson 2012-03-13 20:37:32 +01:00
  • cc6420920e Use doxygen command @since instead of "Added in..." Erik Johansson 2012-03-13 20:20:02 +01:00
  • 104ce0fb23 Use configured paths when accessing settings files Erik Johansson 2012-03-13 15:00:07 +01:00
  • e5c2a9c847 Store configured settings paths in header file Erik Johansson 2012-03-13 14:59:44 +01:00
  • 1108f3fad2 Return type for callbacks is void, not void* Erik Johansson 2012-03-06 13:58:31 +01:00
  • e921be65b4 Fix variable name in code example Erik Johansson 2012-03-06 13:53:39 +01:00
  • bda20c75f0 Remove stray statement Erik Johansson 2012-03-06 13:51:06 +01:00
  • 4760aa8a32 Add possible constant for detecting mountain lion Micke Prag 2012-03-01 15:32:07 +01:00
  • 5e8a3c965a Add the version number if we cannot detect the platform on Windows Micke Prag 2012-03-01 15:30:40 +01:00
  • a35ad875d2 Add Telldus Live! python example. A tdtool implementation Micke Prag 2012-02-28 18:39:35 +01:00
  • 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 Micke Prag 2012-02-28 14:28:55 +01:00
  • aff9b973a8 Convert dos endings to unix in telldus-gui, closes #160 Micke Prag 2012-02-27 17:43:29 +01:00
  • 9500c4c898 Convert dos endings to unix in telldus-core, see #160 Micke Prag 2012-02-27 17:37:52 +01:00
  • bdd95b8d78 Merge branch 't108' into master Closes #108 Micke Prag 2012-02-27 16:51:33 +01:00
  • 5fcc391c95 Update CoreFoundationPreerences settings engine to handle both controllers and devices Micke Prag 2012-02-27 16:46:16 +01:00
  • 5dd66bfb03 Compability fixes on unix since the interface changed in a previous commit Micke Prag 2012-02-27 15:56:02 +01:00
  • c0fe38e0eb Implement the controller callback Micke Prag 2012-02-27 15:35:59 +01:00
  • 6196793ff6 Make the firmware setable from C++ Micke Prag 2012-02-27 15:34:32 +01:00
  • 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 Micke Prag 2012-02-27 15:32:21 +01:00
  • 237cf4e8e7 Implement controller callback in telldus-service Micke Prag 2012-02-27 15:26:56 +01:00
  • 246b4273ce Add callback TDControllerEvent Micke Prag 2012-02-27 15:19:04 +01:00
  • 842a042cdb tdtool: Added an alternative listing format (new options --list-sensors and --list-devices) Lauri Aarnio 2012-02-25 23:35:41 +02:00
  • d51e301f6b tdtool: minor bugfix: clear timeBuf, so that it won't be used uninitialized Lauri Aarnio 2012-02-25 13:18:49 +02:00
  • 11950d6c2d Fixed a nonportable bash'ism: Use "=" for comparing strings Lauri Aarnio 2012-02-25 12:59:20 +02:00
  • 42beb57169 Pass around an EventRef instead of a raw Event pointer. This is safer Micke Prag 2012-02-24 17:39:52 +01:00
  • 148fd52c76 Create one generic callback dispatcher that can handle all our callbacks. Micke Prag 2012-02-24 16:47:30 +01:00
  • 5d4ee9a4be Protect against including common.h twice Micke Prag 2012-02-24 16:45:47 +01:00