summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-06-24QML/Hvac: Do not hard-code window sizeMarius Vlad1-3/+4
Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I86e660d40c4387a64fe44cc49f0dfe308923a50e
2020-06-10Update autobuild scriptsScott Murray4-112/+140
Update autobuild scripts with reworked version that fixes building outside of the source tree. As well, the project files have been tweaked to strip the release build binaries and add "-debug" in the name of the debug widget file. Bug-AGL: SPEC-2049, SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I6c95323eaf8c7bbcd3658f809c569a8cd8f34686
2020-06-05replace qtappfw with qtappfw-hvac packageRaquel Medina1-1/+1
Bug-AGL: SPEC-3390 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I30fe1827fe41d15149fcb8ec8e6db0db85eab80c
2020-03-12update autobuild scriptsRaquel Medina2-31/+111
Modify autobuild scripts: - to fix warnings on yocto build - to fix linux/autobuild syntax errors - to add new standard targets Bug-AGL: SPEC-2049 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I8caa4d8ff70bf4cfe0f05eb05a1502d80c606a68
2020-01-17hvac: switch to libqtappfw access for websocket dataicefish_8.99.5icefish/8.99.58.99.5Matt Ranostay6-125/+21
Remove QML processing of websocket data from appfw, and replace with new libqtappfw support. Bug-AGL: SPEC-2984 Change-Id: I0a0a422f25359da48798d3ec5e9948247a83d98e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2020-01-13hvac: add initial .vimrcMatt Ranostay1-0/+2
Bug-AGL: SPEC-2984 Change-Id: Ia3662651582c09a738625455404f60f0e089da97 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-21fix(Binding.qml): Remove qml M126 warningicefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.18.99.48.99.38.99.28.99.1Li Xiaoming1-1/+1
Message: == and != may perform type coercion, use === or !== to avoid it. Description: The non-strict equality comparison is allowed to convert its arguments to a common type. That can lead to unexpected results such as ' \t\r\n' == 0 being true. Use the strict equality operators === and !== and be explicit about conversions you require. Bug-AGL: SPEC-2814 Change-Id: If91ecbc6a1b92c63f7fcdbc94478c58b3aa3e692 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-04-26Add permission to use displayhalibut_8.0.6halibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut_7.99.2halibut_7.99.1halibut/8.0.6halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.3halibut/7.99.2halibut/7.99.18.0.68.0.58.0.48.0.38.0.28.0.18.0.07.99.37.99.27.99.1halibutJosé Bollo1-0/+1
Add the permission required to access the display through the wayland socket. Change-Id: I8e7d8fa6efe17b108bd7790e9ef2043e328598fe Bug-AGL: SPEC-2357 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-03-11autobuild: add autobuild scriptsRaquel Medina2-0/+121
The autobuild scripts provide an unified way to build agl apps & services; for the agl modules missing these scripts, a workaround is in place to warn of this scenario and allow for build completion. This commit add these missing scripts for hvac app withoud modifying the existing qmake files. The original scripts, which were designed for cmake use, are slimmed down and adapted to use qmake. - autobuild/agl/autobuild: allows aglwgt_package task to complete, eliminating the verbose warnings. - autobuild/linux/autobuild: allows to build the wgt file natively on linux using the agl sdk. Change-Id: I609e59c2915833f44dbdfc006fba15a8841f3c5f Bug-AGL: SPEC-2164 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2018-11-05Simplify main.cpphalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy_6.99.3guppy_6.99.2guppy_6.99.1guppy/6.99.4guppy/6.99.3guppy/6.99.2guppy/6.99.17.90.06.99.46.99.36.99.26.99.1Kazumasa Mitsunari7-134/+6
Adopt qtaglextras to simplify application code Bug-AGL: SPEC-1893, SPEC-1754 Change-Id: I1514f4347d07c603d0d7ec4cedea4e359c0468c6 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-10-30delete application_name check in tap_shortcut eventwang_zhiqiang1-10/+2
because of now homescreen-service emit event to one application, delete the applciation_name check. Bug-AGL: SPEC-1764 Change-Id: I870e93eafb22242aa29dbd6c7ba7d001a219ae3f Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-10-12hvac: remove hvac binding from packageMatt Ranostay6-820/+3
HVAC binding needs to be split into its own package so must be removed from the hvac application Bug-AGL: SPEC-1757 Change-Id: I9b1a6b2bc6371a285e468205fa7c00f0ac662d64 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-10-09Use feature 'required-binding'Jose Bollo1-0/+2
The feature "urn:AGL:widget:required-binding" is now preferred to the feature "urn:AGL:widget:required-api" for requiring a local binding. Bug-AGL: SPEC-1800 Change-Id: I6ddcd82387beb7d0148464c8d4029689c4729152 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-08-24Revert "Use appid between homescreen-service and apps"guppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder/5.99.6flounder/5.99.5flounder/5.99.46.90.05.99.65.99.55.99.4Tadao Tanikawa1-2/+10
This reverts commit f136a3336344a6dc8b84549672acbfe19a296bb0. Bug-AGL: SPEC-1685 Change-Id: Ie9f189fdede28d499dcf68276cd3c6be722bc87c Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-06Use appid between homescreen-service and appsflounder_5.99.3flounder/5.99.35.99.3zheng_wenlong1-10/+2
Use appid between hss and apps, and check event destination in libhomescreen. So these is no need compare code when recived Event_TapShortcut Event. BUG-AGL: SPEC-1645 Change-Id: Ibd969e8bc51a5227bfa1e21b3f6b0e92f7a5a3fb Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-08-02Improve output of multiple screen resolutionTadao Tanikawa2-1/+14
To improve output on various monitor with various resolution, use scale_factor from WM to fit various screen resolution. Bug-AGL: SPEC-1568, SPEC-1569, SPEC-1611 Change-Id: I26b274d1342471d63acc09433323385afd9f36f3 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-07-10Setting up a JSON configuration file to change LED paths without recompilingflounder_5.99.2flounder/5.99.25.99.2Yordan Dimitrov2-36/+89
v1 - the change allows the paths to the LED folders to be changed without having to recompile the widget - the JSON file itself is included in this commit with the name "hvac.json" - the location which the parser expects the configuration file to be in is /etc v2 - optimised code in terms of opening and closing paths for writing - put afb header definitions together v3 - removed all caps warning notifications Change-Id: If075c6650d8802849cbd706be4adbca9f1996c9e Signed-off-by: Yordan Dimitrov <y.dimitrov.14@gmail.com>
2018-06-19Changing LED colour gradient according to temperature slidersflounder_5.99.1flounder/5.99.15.99.1Yordan Dimitrov3-191/+453
v1 - the colour of the LED reflects the temperature of both sliders at the same time - colour gradient starts from blue and ends with red: for low and high temperatures, respectively. v2 - removed all A/C code - paths are read from a predefined variables v3 - removed trailing spaces and converted tabs to spaces v4 - changed some tabs to space where appropriate and removed unnecessary code Change-Id: I989d6779c0a72b9def74bc9bcf41ae01d368ba8a Signed-off-by: Yordan Dimitrov <y.dimitrov.14@gmail.com>
2018-01-09Merge "Languages changing depending on identity logged in"Jan-Simon Moeller5-46/+121
2018-01-09Merge "Add basic translation support"Jan-Simon Moeller9-10/+235
2018-01-04Languages changing depending on identity logged inLoïc Collignon5-46/+121
Change-Id: I8eca6e0f7ddd042c9434132537eeccd74b982718 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> update translation on language changed Change-Id: I12130b4a1c5c6dad9658972d32b4b9e362a8d1cc Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-12-29Add basic translation supportTasuku Suzuki9-10/+235
Added French and Japanese translations Change-Id: I58eca5ffaad2367a4dd26b6472bdbcd45c957061 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-27Desktop PC development supportTasuku Suzuki6-43/+83
Add tests if libhomescreen and qlibwindowmanager are available and use them only when they are available. Change-Id: I6b219721b279542bf474f3df34bfb3adbc6e9ff0 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2017-12-27Apply QtQuickControls2 style from platformTasuku Suzuki2-4/+1
AGL now set its own style through an environment variable. App doesn't need to take care of it any more. Change-Id: Id0d43e7c05328ed5fef0e3cca7c1ddac78e69b3d Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2017-12-15Update to new color schemeTadao Tanikawa15-1390/+714
The color scheme has been changed to new one. Bug-AGL: SPEC-673 Change-Id: I713a8116931524505aa549c68d27559ae518a612 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-11-14qlibwindowmanager is now outside of the projecteel_4.99.3eel/4.99.34.99.3Romain Forlot4-159/+9
Change-Id: Ifdabb7a3456ade9449e399a13ec43aac68ded108 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-11-14Remove debug messagesRomain Forlot2-7/+3
Change-Id: I465e3ed3e4cb6dadd808437133bddb56ed50c72e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-14update gitignoreRomain Forlot1-0/+3
Change-Id: I883c80db1786eb32445facf4b2f68c794b0ad7d4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-14Porting to new HMI FrameworkRomain Forlot6-25/+203
Changes following guidelines given in "Kickstart: New HMI Framework" document at: https://wiki.automotivelinux.org/_media/kickstart_apps_migration_guide.pdf Change-Id: Ifb298e09db821dba5dc1a28ad2d1c2193c511ee9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-09-06Adapt to recent version of bindingeel_4.99.2eel_4.99.1eel/4.99.2eel/4.99.14.99.24.99.1José Bollo1-19/+19
Change-Id: Ib01fd9c29b567f718a9b603e5e2bc4ffaa56bc96 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-04-24Fix reverse fan speed issue in demodab_3.99.1dab/3.99.13.99.1Jan-Simon Möller1-1/+1
The reversal of the fanspeed was due to the wrong fan type. As the fan is replaced, undo it. Bug-AGL: SPEC-456 Change-Id: Ie6300e41b24962c072170ab4606252fcdce4b073 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-03-24Update config.xml to new framework on systemdJosé Bollo1-0/+6
Change-Id: I4cd2c117d2980b66339239a5c9b10765e573c9bc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-01-11Temperature setting is decoupled from the seat-heating buttonTasuku Suzuki1-2/+0
SPEC-394 Change-Id: I27fc85dbe99db46556e4f0fc078417cf3a23c556 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-30Add fallback to simulation modeScott Murray1-25/+31
Add logic to fall back to simulation mode in the absence of the CAN interface, based on a modified form of the dropped changes from patch #2 of: https://gerrit.automotivelinux.org/gerrit/#/c/7641 This should fix SPEC-383 by allowing the HVAC demo to run on setups without the CAN hardware again. Bug-AGL: SPEC-383 Change-Id: I3ee11c92baccde427986ceb077a37e9b9c900b11 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2016-12-20Fix math for tempTasuku Suzuki1-1/+1
QML sets temp to 15~30 and this binding convert it to 0x10~0xF0 Change-Id: I027853e2279ff8b9a5e4a169bf7a7f549cf73a1e Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-19Merge "Remove SIMULATE_HVAC define to make hvac use can bus"Jan-Simon Moeller1-16/+55
2016-12-19Remove SIMULATE_HVAC define to make hvac use can busRomain Forlot1-16/+55
Change-Id: I13ab17ec3183a8c7a2994d372a405779e08247ed Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2016-12-19Merge "Fix reverse fanspeed value since test over a real fan at f2f"Jan-Simon Moeller1-1/+1
2016-12-18Merge "Copy icon and config file for wgt always"Jan-Simon Moeller1-12/+10
2016-12-18Merge "Add LICENSE file"Jan-Simon Moeller1-0/+54
2016-12-17Copy icon and config file for wgt alwaysTasuku Suzuki1-12/+10
We have to do it regardless of shadow building Change-Id: I861077c76158c46afa4062bb1735a5265475b2df Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-16Add LICENSE fileTasuku Suzuki1-0/+54
Change-Id: I5c90a65e996fe9600ae883774bca2b960db020d7 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-16Fix reverse fanspeed value since test over a real fan at f2fRomain Forlot1-1/+1
Change-Id: I4d1a952cc21311847975071aaab7f5d0aadd2eb9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2016-12-15add .gitreviewStephane Desneux1-0/+5
Change-Id: Ifebe9d67daeee9728acfe2a8cd34ff8f72da9d5f Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-12-15app: use range [0..255] for slider, send temperatures updatesStephane Desneux2-1/+25
Change-Id: I020b2a1c14d09be99e4ecfe645915a666b7759ea Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-12-15config.xml: rename application name using lowercaseStephane Desneux1-1/+1
Homescreen uses lowercase names for apps to be launched. Change-Id: Ief7d9377e2d1d84ebc8bb5f2bd62a248aa8d4cb8 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-12-14binding: handle integer or double values for fanSpeed or temperaturesStephane Desneux1-9/+25
Change-Id: I8e3db290422adc221fec931390bc934a78ec17af Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-12-14.gitignore: enhanceStephane Desneux1-0/+5
Change-Id: I680715111e1be0211e74da6343e12894af6e5657 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-12-13add binding initial code in qmlTasuku Suzuki5-4/+127
Change-Id: I0efeb67ff2659a0a01be116ab59947db77ec6574 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-13move hvac app and hvac plugin to new repositoryTasuku Suzuki41-0/+3456
$ qmake && make will generate package/hvac.wgt Change-Id: I67057f1f3b511a3af4a22aedd32f6614dc56b503 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>