Commit graph

1875 commits

Author SHA1 Message Date
Micke Prag
b7bc071557 Don't redefine pseudo-ANSI C keywords on Windows 2012-01-18 11:33:02 +01:00
Micke Prag
d78d37a597 Add my support header for letting getopt build on Windows 2012-01-18 11:27:59 +01:00
Micke Prag
848f65803c Add getopt implementation from OpenBSD 2012-01-18 11:21:42 +01:00
Stefan Persson
44b60a20ec Merge branch 'ticket96' 2012-01-17 15:32:56 +01:00
Stefan Persson
645ef2098e Sensor save and load from storage, and deletion. Closes #96 2012-01-17 15:18:03 +01:00
Micke Prag
5ce0b81e39 Add function QMLArray::removeLater() 2012-01-17 13:31:01 +01:00
Micke Prag
5b3b669997 Remove Stefans debug code 2012-01-17 13:20:19 +01:00
Stefan Persson
a182ba2111 Delete sensors from model and storage 2012-01-17 13:16:10 +01:00
Micke Prag
48daf2ca2f Bump version to 2.1.1_beta1 2012-01-17 12:20:05 +01:00
Micke Prag
9afb2cbbac Fix for building qt-components on Mac OS X. Master branch. 2012-01-16 16:54:32 +01:00
Micke Prag
bdb766e7cf Merge branch 'master' into ticket96
Conflicts:
	telldus-gui/Plugins/Sensors/main.qml
	telldus-gui/Plugins/Sensors/sensor.cpp
2012-01-16 16:30:41 +01:00
Micke Prag
1e650c7142 Fix compiling issues for qt-components-desktop on Windows 2012-01-13 18:22:31 +01:00
Micke Prag
99c2b0e158 Convert the textbox to qt-components as well 2012-01-13 16:47:20 +01:00
Micke Prag
64e2b354af Convert our checkbox to a qt-component checkbox 2012-01-13 16:12:13 +01:00
Micke Prag
c90a4c1f12 Change the flickable area to a ScrollArea. Better for the desktop 2012-01-13 15:50:21 +01:00
Micke Prag
69b16f0baf Plugin extra files should be a custom command and not built after linking. This fixes the issue that the plugin needed to be relinked for new files to be copied to destination 2012-01-13 15:29:55 +01:00
Stefan Persson
cc0b37e179 Fix for building if cmake doesn't understand -1 length in STRING(SUBSTRING) 2012-01-13 15:05:22 +01:00
Micke Prag
aadc4554fc Convert the edit button to a qt-component button 2012-01-13 14:37:07 +01:00
Micke Prag
5531d6b313 Add QtComponents to the QML plugin 2012-01-13 14:36:38 +01:00
Micke Prag
ab436a212f Add cmake build file for QtComponents 2012-01-13 14:34:53 +01:00
Micke Prag
5db7658a47 Add Qt Components for desktop as submodule 2012-01-13 12:05:22 +01:00
Micke Prag
1dfacddf1a Make the list flickable 2012-01-12 17:39:11 +01:00
Micke Prag
3942702881 Move SensorList to its own file 2012-01-12 17:33:08 +01:00
Micke Prag
332bf966f5 Change plugin name to have capital first letter 2012-01-12 17:32:41 +01:00
Micke Prag
df5e08ff9c Move SensorView to its own file 2012-01-12 17:30:23 +01:00
Stefan Persson
d326331538 Returning correct error code on reset success 2012-01-12 15:03:01 +01:00
Stefan Persson
915d47dc1c Changed reset method for in ftd2xx for non-windows platforms. 2012-01-12 14:59:29 +01:00
Micke Prag
46d70ad451 Return TELLSTICK_ERROR_COMMUNICATION_SERVICE if we timeout when communicating with the service instead of returning success. This closes #152 2012-01-12 14:43:58 +01:00
Micke Prag
5190c42f77 Fixed indentation (space to tabs) 2012-01-12 14:40:43 +01:00
Micke Prag
01855cac96 Add qtcreator build directory and CMakeLists.txt.user file to .gitignore 2012-01-12 14:40:43 +01:00
Stefan Persson
e2e9ba4634 Code cleanup 2012-01-12 14:27:15 +01:00
Stefan Persson
3ce58f019f Added sleep time to allow TellStick to finish air sending when ignoring answer from TellStick 2012-01-12 14:21:03 +01:00
Stefan Persson
c527223bc4 Made use of TELLSTICK_ERROR_BROKEN_PIPE in windows too 2012-01-12 14:17:24 +01:00
Stefan Persson
b84e8b3806 Added TELLSTICK_ERROR_BROKEN_PIPE to distinguate between when communication with TellStick fails due to timeout or actual error. 2012-01-12 11:39:04 +01:00
Micke Prag
69059b935b Lower the retry count (again).
ftdi_read_data() uses the latency times as a timeout. This is set to
16ms so 250 retries take about 4s if we don't get a response (worst
case).
The longest protocol we could think of is "learn" for risingsun
selflearning. It takes roughly 3s to finish.
2012-01-12 10:33:11 +01:00
Micke Prag
b0f092e98d Lower the read timeout for events in the client. This should be reset
again when #157 is fixed.
See #157.
2012-01-12 10:30:23 +01:00
Stefan Persson
4068742b25 Setting for 'Not wait for confirmation from TellStick' implemented on windows too. This setting must be set manually. Closes #98 2012-01-11 16:16:31 +01:00
Stefan Persson
d7cce515ff Added setting for 'Not wait for confirmation from TellStick', see ticket 98, in Linux 2012-01-11 14:53:46 +01:00
Stefan Persson
8d22eff5da Added wait for ack on noop-command 2012-01-11 11:38:03 +01:00
Stefan Persson
0c8de249d4 Cycling port and trying to reconnect TellStick on noop or send when missing 2012-01-10 17:35:18 +01:00
Stefan Persson
673daf471d Sending noop to TellStick every 5 minutes, attempting to reconnect if TellStick is missing. In Linux. 2012-01-10 16:00:14 +01:00
Stefan Persson
dfae48ef33 Merge remote-tracking branch 'origin/t132' into ticket132
Conflicts:
	telldus-core/service/DeviceManager.cpp
2012-01-10 10:01:55 +01:00
Stefan Persson
06ac023b4a Resetting USB and retrying send once if TellStick is not found, in Linux 2012-01-10 09:55:26 +01:00
Micke Prag
fb8e978acc Implement class Timer in Windows 2012-01-09 17:40:44 +01:00
Micke Prag
542d17a45d Add janitor object for regular maintenance and cleanups 2012-01-09 16:53:57 +01:00
Micke Prag
988b443810 Add class Timer 2012-01-09 16:52:15 +01:00
Micke Prag
6fa59e9ca9 Add Telldus Live! authentication example 2012-01-09 12:37:41 +01:00
Micke Prag
f58793ca59 Implement decoding of Oregon 0x1A2D. This closes #144 2012-01-05 14:35:18 +01:00
Micke Prag
265daf4714 iconv() cannot convert ascii chacacters > 127. In order for
tdSendRawCommand() to work with longer pulses we need to convert to
wchar_t manually. This closes #126.
2012-01-04 16:18:01 +01:00
Micke Prag
36bfa0ba8b Remove raw events from tdSendRawCommand(). It think this was added by mistake in 464000515c 2012-01-04 16:14:50 +01:00