Commit Graph

717 Commits

Author SHA1 Message Date
Adeeb Shihadeh c583cc99a3 nav: scroller for recents (#21549)
* nav: scroller for recents

* stretch

* one more stretch
old-commit-hash: bec054116f4eea51c3ed9db606076be4c460d5af
2021-07-10 22:56:18 -07:00
sshane 9847b9b661 networking: clean up refreshing (#21537)
old-commit-hash: eb37e409ee085b8489c656e350b47f5b5930aa0a
2021-07-10 22:28:24 -07:00
Adeeb Shihadeh c3e445a486 UI: fix mismatch between checked button and panel when dragging
old-commit-hash: 0f6bb5ae6286ecb944de4c7f20299730ba1fccf5
2021-07-10 17:19:09 -07:00
Adeeb Shihadeh 468032d27e remove gps accuracy from sidebar
old-commit-hash: 8b6cf406abcb45496ca4f5d57291bde6e44c4910
2021-07-10 14:40:11 -07:00
Dean Lee f587147efe OffroadHome: separate the update and alert buttons (#21326)
* refactor

* better loop

* remove stretch

* only refreshed by timer

* fix wrong bg color

* descending sort alert labels  by severity

* remove duplicate stylesheet

* Update selfdrive/ui/qt/widgets/offroad_alerts.cc

* rebase master

* qt best pratice

* split offroadAlerts

* only show first time

* short variable name

* space

* don't do refresh in every showEvent

* Revert "don't do refresh in every showEvent"

This reverts commit 2b0032fb0af7138e9d9df1ad052c589fd96d2e05.

* cleanup

rename name to key

cleanup

* add stretch back

* hide alert widgets when not alerts

* rebase master

* fix flash on startup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e836ed7f6e9fd53f386b8dd07bcb0aa39b8f571f
2021-07-10 14:09:05 -07:00
Dean Lee 24563f4b11 Qt: new class ElidedLabel (#21277)
* shorten ssid

* truncate with ellipsis

* rename to trancate

* truncate 22 characters

* elidedLabel

* trimmed

* remove function elidedString

* cache elidedTest

* rebase master

* minimizeSizeHint

* add sizeHint

* cleanup

* revert

* inherit from QLabel

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: aee2b893a7467a05b6d49c16c5b6e0b6cf2f9275
2021-07-10 01:43:47 -07:00
Willem Melching 0c30fbbe62 nav: hide ETA on destination reached
old-commit-hash: 35a5aae334e2409c432499a868fae69bd6ceb285
2021-07-09 11:28:53 +02:00
Willem Melching 8155c856f8 nav: cleanup error messages
old-commit-hash: 779d6479b402f3f73d11910adb62547a37d12cc4
2021-07-09 11:16:51 +02:00
Willem Melching e0378d41cb Refactor camerad exposure logging (#21506)
* simplify gain logging

* clean up metadata

* log grey fractions

* those are not used

* set grey fracs in message

* fix qcom
old-commit-hash: 47be6c751ec69d2f8957c9a1c6f7776a8bde4f7e
2021-07-08 15:22:00 +02:00
Willem Melching c042bbf09c nav: various cleanup (#21521)
* nav: various cleanup

* eta resize instant

* show
old-commit-hash: 9ea913bcc812ed55d2f8204ced892b81f20af326
2021-07-08 14:33:58 +02:00
Dean Lee cc75e9ba9f UI: remove zoom from struct UIState (#21520)
old-commit-hash: 13b2ce9391ca132a1d4fbeb7e40c32cc1f3264e0
2021-07-08 10:42:34 +02:00
sshane 9c85470a56 Fix active AP (#21511)
* Revert "Qt logging through cloudlog (#21452)"

This reverts commit c8c9177899ab187bc8f6c1216d0d80c37f2a7a28.

* set activeAp after scan so it's not blocking

* Revert "Revert "Qt logging through cloudlog (#21452)""

This reverts commit d9689a55057d53f7afe8e2ea28542eb80175a705.

* clean up

* move to another PR
old-commit-hash: 648639787c318d4d39b64da07f518dc55b6c2f86
2021-07-07 21:48:46 -07:00
Dean Lee 86cc8f615c qt/spinner: reduce CPU usage from 17% to 12% (#21495)
* faster spinner

* initApp

* no brightness

* Update selfdrive/ui/qt/util.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b7f8c6ad03e70b9b73ef67238c7a5946b315483e
2021-07-07 21:19:56 -07:00
Dean Lee 0c59f626c7 input.cc: close dialog when parent is hidden (#21318)
* close dialog when parent is hidden

* Q_OBJECT

* apply reviews

* rebase master

* rebase master

* fix wroing minLength

* merge master
old-commit-hash: 5be75f53541c83f0681e55959023bc03758ac62a
2021-07-07 21:06:50 -07:00
Adeeb Shihadeh b4e26fa46b fix offroad alert precedence (#21517)
old-commit-hash: 5a20cc6cae95f0f3eb7518acbce8fa380fb9ad80
2021-07-07 20:07:27 -07:00
Adeeb Shihadeh 30e5122004 terms & conditions (#21504)
* looks pretty good

* little closer

* ugh qml

* margin

* scrollbar

* cleanup

* fix line height

* tighter

* little more
old-commit-hash: 53430f87a0a03e59221e6a4d9157eb958378766f
2021-07-07 16:03:55 -07:00
Willem Melching f1fdf6e9c6 nav: add source to route logging
old-commit-hash: d1010008525d5fe4d7e2641f743c3b2e890d56df
2021-07-07 16:22:45 +02:00
Adeeb Shihadeh cba45a5416 fix default tethering password
old-commit-hash: e773749f32065d65604a4213badce8f33eca8ceb
2021-07-06 19:33:08 -07:00
Dean Lee 1f9a5d6bc3 installer.cc: fix wrong db path (#21494)
old-commit-hash: 41459887560bd25eb600804e2b8e125f977d965b
2021-07-06 10:14:07 -07:00
Adeeb Shihadeh 93461be530 add recover mode to factory resetter (#21492)
* recover mode

* clean up

* less margin

* use inter

* little nicer

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ec00e71b643e6bb6abcb1f977cb51df31bd8c058
2021-07-05 23:48:10 -07:00
Adeeb Shihadeh be6b9b024c training guide fixups (#21485)
* training images

* wide training guide

* fixup some images

* cleanup

* one more

* release files
old-commit-hash: a334203f7b656a10085e5d4b808a0787b57ce3d1
2021-07-05 01:31:31 -07:00
sshane 52c951e797 Tethering: Edit password while enabled (#21457)
* restart tethering if password is edited

* fixes

* connect straight to WifiManager

* revert
old-commit-hash: f96b3cc597b5b700edd2e81fdaee34e01895bc97
2021-07-04 18:17:46 -07:00
Willem Melching c266cffa97 nav: improve logging (#21477)
* nav: add logging

* handle errors in route reply
old-commit-hash: 32d5239912b592078faf50628e0f08b07a0eb755
2021-07-04 15:34:25 +02:00
sshane 8256cd7564 Networking: use active AP signal (#21461)
* use active ap signal

* working
old-commit-hash: d2d1aaad0859dafe9c9acb39925dc319da775315
2021-07-02 13:30:42 -07:00
Willem Melching 9d4829523d nav: don't set FBO, render when not loaded and resize once (#21468)
* nav: don't set FBO and resize once

* always update

* when visible
old-commit-hash: 06acd76d6d9583429b1c0977a6d18586997e3623
2021-07-02 15:19:33 +02:00
Willem Melching 34678fb7fb Qt logging through cloudlog (#21452)
* Qt logging through cloudlog

* sort imports

* rename to swaLogMessageHandler

* move to util

* info is high enough

* smaller diff
old-commit-hash: 54b6a9f121aa7af0920016d7288b0037beca1260
2021-07-02 14:01:59 +02:00
Adeeb Shihadeh 82731ecb31 UI: faster offroad transition (#21466)
old-commit-hash: 30683e62910125e8a35205a2e3ac8f958f84e4d1
2021-07-02 00:37:30 -07:00
sshane 6755365476 Networking: populate tethering password (#21455)
* populate password from hotspot connection

move to setup()

populate tethering password

fix password editing

setup tethering when editing password or enabling

fix

* fixes

* last fix, don't activate when adding

* check before

* if not
old-commit-hash: 146973da7faace08cc49f4edde4b01377cf4f6bb
2021-07-01 19:59:02 -07:00
sshane 1226f91637 Networking: refresh once in background (#21453)
clean up

move to setup()
old-commit-hash: 07d393499661cbac94e4d13c6b9258f56cfb436a
2021-07-01 18:32:55 -07:00
sshane c110154869 Networking: Use common header (#21456)
old-commit-hash: 4cdd26596e83470e4213b4c024d95d7d65b3e996
2021-07-01 15:33:51 -07:00
sshane d28d90818d Wait for adapter to setup WifiManager (#21432)
* wait for adapter to initialize wifimanager

* clean up

* formatting

* don't try to use adapter when not available

* Revert "don't try to use adapter when not available"

This reverts commit 3887fc87ebfea2e8acc6b440b4c7a49b0feb1975.

* only tetheringEnabled for now

* request scan once adapter is up (prev behavior)

* populate introspection cache when we need it

populate introspection cache when we need it
old-commit-hash: 924e8d5c28ad88b8180cdee5ea296d6bb13d3647
2021-07-01 14:01:29 -07:00
ShaneSmiskol 68ac29452d Fix logging unsupported empty ssid networks
old-commit-hash: a680d0cea18698347e2791e2d7546e711353dc00
2021-06-30 17:28:06 -07:00
sshane 90e49777ec Networking: Only refresh when visible (#21445)
* only refresh when visible

* catch other case
old-commit-hash: 4000d4a8d2bdcf127a323d788064e0fd43138321
2021-06-30 17:24:44 -07:00
ShaneSmiskol 3a6b434870 Revert "debugging"
This reverts commit 66852f118478b5bdc65ce66644b6426b9d3bddac.

old-commit-hash: f1ee79ef14fcee03f4c2a790ab997677c9c97e20
2021-06-30 12:39:15 -07:00
ShaneSmiskol 098b580197 debugging
old-commit-hash: 67e32b4a3cc76aa13bd8bd6347e683dc71efa817
2021-06-30 12:38:53 -07:00
Willem Melching 3ad659a211 nav: truncate favorite length
old-commit-hash: 240214afc0531cf9611b462deca8033c4172ea91
2021-06-30 16:14:12 +02:00
Dean Lee 476a5e2e05 qt/util.h: move implementation to source file (#21412)
* Move implementation to source file

* space

* include the headers

* mv all to cc

* space
old-commit-hash: f90a3eeb20d5222a949239a3e2a511d45e7e742f
2021-06-29 14:05:37 -07:00
Willem Melching 2db1d4589e nav: show star for favorites (#21434)
old-commit-hash: 2de4c09e6284e14885ac02c83721163d86138111
2021-06-29 15:16:16 +02:00
Willem Melching 9980d08915 nav: use mapChanged signal alongside isFullyLoaded()
old-commit-hash: f73dc9f19c81539312743376bd21142bd28b47e2
2021-06-29 15:13:23 +02:00
Willem Melching 492083a4a8 nav: pull next location while onroad (#21421)
old-commit-hash: 60cc07c62ac5dd8a5cd63312758353695cf040de
2021-06-29 11:08:37 +02:00
Adeeb Shihadeh e56a6919bd fixup release build (#21430)
* fixup release3 build

* works on pc

* install release3

* push dashcam

* only import on tici

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 49d96f0acc5d6675357b5f9bed3958ada48c0874
2021-06-28 14:30:44 -07:00
sshane f3f9c7b5b9 Quicker refreshing and use connection signals (#21408)
* Quicker refreshing and use connection signals

* Android remembers connections with incorrect passwords

* forget network on password incorrect

* knownConnections is already filled here
old-commit-hash: 01773c11f0be4578f1f14c344efa9789a499fd57
2021-06-28 13:26:24 -07:00
sshane 255f39a2c2 Fix connect button race condition (#21406)
old-commit-hash: 0a603d2d21489c9bc55903ebf635ad5ab73ab1fb
2021-06-25 14:30:04 -07:00
Willem Melching fba42aab80 nav: show recents (#21405)
* add recent buttons

* remove static request

* layout

* recent doesn't have to be a favorite

* work

* spacing

* spacing

* no recents

* query next

* not null

* this needs to live here

* less spacing between items
old-commit-hash: 9f98a3e44f3b5b70d7e420f9e51f737bb854266d
2021-06-25 16:26:02 +02:00
sshane e2eddf74ee keyboard: backspace key repeat (#21395)
old-commit-hash: 6402edb8985f8188ff89e6944af2bc308fb18a96
2021-06-24 21:40:51 -07:00
Willem Melching ff0c7a27f2 nav: change map loaded detection (#21397)
old-commit-hash: 4c9aba2dd542df7eef4f396e7c11f2e51852ad73
2021-06-24 14:56:38 +02:00
Adeeb Shihadeh 784601c8e1 remove lte toggle (#21392)
* remove lte toggle

* little more
old-commit-hash: a420c7ad50eec716e53537957b1439b2ce44d73e
2021-06-23 17:01:17 -07:00
Adeeb Shihadeh 28c60666ff tici: differentiate ethernet and tethering (#21391)
* differentiate ethernet

* fix tethering

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 050a89e5981a1cf48abec38c9c7a362092e7dad2
2021-06-23 15:55:51 -07:00
sshane 1a0ebedad0 Support WPS with no security (#21372)
* Support WPA with no security

* clean up

* add logging
old-commit-hash: cd5c931461bdfacf7dd442d162e98bd3dc72e976
2021-06-23 14:53:11 -07:00
Willem Melching 3aae7b5fc3 nav: simplify segment transition (#21383)
old-commit-hash: f32ca73724243ffaca59d8c4ef6fa46ff29fed38
2021-06-23 15:00:32 +02:00