summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-06-16Add VIS vehicle signal supportneedlefish_13.93.0needlefish/13.93.013.93.0Scott Murray2-2/+5
Update the use of the HVAC API from libqtappfw for its rework to use VIS signals instead of the previous signal-composer usage. Bug-AGL: SPEC-4409 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7cd2511248c67896c91908f56e1f91fd15b7a0dd
2021-12-20Add .desktop and icon file installationmarlin_12.93.0marlin_12.92.0marlin_12.91.0marlin/12.93.0marlin/12.92.0marlin/12.91.012.93.012.92.012.91.0Scott Murray6-512/+370
Add initial .desktop file and icon copied from the launcher source tree, and updated .pro files to install them. Also removed potentially confusing use of non-existent $$PREFIX variable. Bug-AGL: SPEC-4182 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5b6a0fee2b02e4e5132689b8d892ce5f8480cc42
2021-12-16Update for app framework removalScott Murray7-292/+18
Changes: - Remove the autobuild scripts and config.xml used by the app framework widget build. - Update the qmake files to just build a "hvac" binary and install it into /usr/bin by default. - Remove the code in main.cpp that handled reading the WebSocket command-line arguments and passing them to binding related code. - Add setenv of QT_QUICK_CONTROLS_STYLE to "AGL" to get the AGL styling used. This replaces a global environment variable definition tied to the old app framework, and makes it more obvious that the style is required for the app to properly work. Bug-AGL: SPEC-4182 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I6634a611741b442597dca2978a8dd0a6b6b75341
2020-09-15Remove identity api dependencymarlin_12.90.1marlin_12.90.0marlin/12.90.1marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.0koi_10.93.0koi_10.92.0koi_10.91.0koi/10.93.0koi/10.92.0koi/10.91.012.90.112.90.011.92.011.91.010.93.010.92.010.91.0Li, Xiaoming1-1/+0
identity api is required by agl-service-hvac, not by hvac app. Bug-AGL: SPEC-3579 Change-Id: Ie40e6b69b9b54fc15dbfef210c70f098312e798a Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com>
2020-06-24app/HVAC.qml: Use the Window width and height instead of using Screenjellyfish_9.99.4jellyfish_9.99.3jellyfish_9.99.2jellyfish_9.99.1jellyfish/9.99.4jellyfish/9.99.3jellyfish/9.99.2jellyfish/9.99.19.99.49.99.39.99.29.99.1Marius Vlad1-4/+4
width and height Hard-code the width as the slider can't seem to resolve the correct width. Bug-AGL: SPEC-3379 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Id946d7350fef1970d1868024887bd924e352c957
2020-06-24app/: Avoid any AGL wrappers and use plain QtMarius Vlad3-23/+50
Removes homescreen/windowmanger requirements from config Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I99a2221e44d04a06b8d3cf412b22e0204a9c89a5
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>