Commit Graph

86 Commits

Author SHA1 Message Date
Cameron Clough
488975f06e UI: add missing QPushButton pressed styles (#28289)
* UI: add missing QPushButton pressed styles

* keyboard is special
2023-05-24 22:44:10 -07:00
Cameron Clough
f64fa07b0a setup: set download timeout (#27441) 2023-02-23 19:46:06 -08:00
Cameron Clough
79e6910106 setup: detailed error messages (#27429)
* setup: specific error state for non-executable file

* Result -> DownloadResult

* complete -> finished

* rename widgets to be more consistent

* fix typos

* fix setCurrentIndex

This appears to have different behaviour on device than on PC (off by
one)

* load fonts

* copy

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Revert "load fonts"

This reverts commit e8756598ed99aea39ef5721453e97920a494051c.

* font family

* undo

* less widgets more better

* font size

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-02-23 19:45:48 -08:00
Cameron Clough
90db46e775 setup: write installer URL to tmpfile (#27426)
* setup: write installer URL to tmpfile

* missed ptr type
2023-02-22 17:26:37 -08:00
Adeeb Shihadeh
72539fa177 AGNOS system reset: handle ABL reset (#27418)
* AGNOS system reset: handle ABL reset

* no more tapping

* eta
2023-02-21 21:34:02 -08:00
Cameron Clough
1a0a638740 setup: replace software selection widget with input dialog (#27236)
* setup: replace software selection widget with input dialog

* revert

3f7047651c
2023-02-07 11:37:25 -08:00
Cameron Clough
074e74ad08 setup: check installer is elf (#27241) 2023-02-07 11:37:03 -08:00
Cameron Clough
6fb5661abb setup: add serial to request headers (#27237)
* setup: add dongle ID to request headers

* rename openpilot

* fix str

* hardware: get_serial

* set serial instead

* fix typo

* static

* fixes
2023-02-06 20:02:30 -08:00
Cameron Clough
9a51275cd2 setup: fix button label on ethernet (#27235)
* setup: continue without wi-fi on ethernet

* switch around
2023-02-06 15:43:25 -08:00
Shane Smiskol
879a7c3201 UI: wrap all text for translation (#24961)
* rough multiple language demo

* more wrappings

* stash

* add some bad translations

* updates

* map from french to spanish still has same problem of needing to call setText on everything

* add files

* restart UI

* use return code

* relative path

* more translations

* don't loop restart

* Toggle and prime translations

* try on device

* try QComboBox with readable style

* stash

* not yet scrollable

* stash

* dynamic translations (doesn't work for dynamic widget strings yet)

* clean up multiple option selector

* store languages in json

* try transparent

* Try transparent popup

* see how this looks

* tweaks

* clean up

* clean up

* clean up 2 and missing tr

* wrap more strings

* missing updater

* fixes

* add basic test to ensure all strings wrapped

* try in CI

* clean up

* test name

* fix test

* always install qt dev tools

* fix deps

* fast test

* add section so it prints multiple errors

* debug

* debug

get rid of those

* make any difference?

* comment

* oh...

* run with offscreen platform

* try out section

* clean up

* fix missing wrappings (it works!)

* move down

* space

* clear relevant params, set TICI=1
2022-06-29 14:47:46 -07:00
Adeeb Shihadeh
1139fe507b Move selfdrive/hardware/ to system/ (#24725)
* move hardware to system/

* fix mypy
2022-06-11 16:38:24 -07:00
Adeeb Shihadeh
cb8885cffb Merge common/ and selfdrive/common (#24556)
* Merge common/ and selfdrive/common

* fix that

* fix version

* fix unit tests
2022-05-18 14:11:57 -07:00
Adeeb Shihadeh
5c48e7bc86 remove comma two support (#24248)
* remove comma two support

* cleanup release files

* little more

* more libs

* no more gralloc

* add snpe back
2022-04-18 17:55:23 -07:00
Willem Melching
ca8d4e417e MacOS: ensure 1:1 rendering on HiDPI screens (#23860) 2022-02-25 14:36:27 +01:00
Adeeb Shihadeh
e6d8a84578 for those who want to live in the moment 2022-01-31 14:30:40 -08:00
Adeeb Shihadeh
e9cd0a059c setup: add OS version to user agent (#23656) 2022-01-28 14:21:37 -08:00
Dean Lee
1e906366f8 ui/setup: check http status code (#23597)
* check resp code

* always cleanup curl and close file

* curl_global_init

* space

* cleaner

* Revert "curl_global_init"

This reverts commit c3f1a7cee87804993ce8f5fd5939570a8e9ffd3a.
2022-01-22 13:49:03 -08:00
Dean Lee
3fd0264960 refactor httprequest: emit single signals (#23039)
* refactor httprequest

* Trigger Build
2021-11-29 11:19:08 +01:00
Mayfield
5246f0231e enable wshadow (#22756)
* enable wshadow (#22714)

* fix replay

* more build fixes

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-11-02 17:08:53 +01:00
Adeeb Shihadeh
f4c2398db4 add sdcard support (#22703)
* generalize

* factory reset
2021-10-26 19:34:08 -07:00
Adeeb Shihadeh
0d0aad05ce setup: add low voltage warning (#22342)
* setup: add low voltage warning

* read voltage

* fix path
2021-09-24 14:30:49 -07:00
cydia2020
70e1c9c40c UI: Fix mph and wi-fi spelling (#22334)
* display WiFi as Wi-Fi

* fix typo in metric setting description
2021-09-23 22:23:34 -07:00
Adeeb Shihadeh
b3705ede5e Unify neos/agnos updaters (#22109)
* start moving neos updater

* downloading

* ui

* move recovery

* resuming

* add verification

* fix up launch

* test

* update updater

* fix mypy

* fake updater

* review suggestions

* more tests

* abc

* update bin

* raise

Co-authored-by: Comma Device <device@comma.ai>
2021-09-10 17:03:54 -07:00
Adeeb Shihadeh
1ebe06d1c2 unify agnos/neos installers (#22023)
* c2 installer

* remove old installer

* move to its own dir

* die immediately

* fix that

* init app
2021-08-23 16:01:21 -07:00
Adeeb Shihadeh
4f9e568019 system reset improvements (#21844)
* reset improvements

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2021-08-03 17:44:27 -07:00
Adeeb Shihadeh
31a4b55218 embed continue scripts in installer (#21846)
* embed continue scripts in installer

* cleanup
2021-08-03 17:32:02 -07:00
Adeeb Shihadeh
ae1f5e0e8c remove wifisetup 2021-08-03 17:29:01 -07:00
Adeeb Shihadeh
3129e058f8 use continue_dashcam for dashcam installer 2021-08-03 00:04:54 -07:00
Adeeb Shihadeh
f1635eabdb installer: repaint -> update 2021-08-02 10:55:46 -07:00
Comma Device
56d682831b fix updater UI repaints 2021-07-29 17:12:12 -07:00
Adeeb Shihadeh
14d26d6d89 agnos updater UI (#21776)
* start agnos updater UI

* wifi

* progress

* sometimes things fail

* fix wifi

* in launch script

* fwd

* fwd stderr

* update that

* release files

Co-authored-by: Comma Device <device@comma.ai>
2021-07-29 15:57:58 -07:00
Adeeb Shihadeh
c7d75ffb5d setup: continue without wifi (#21766) 2021-07-28 14:55:42 -07:00
Adeeb Shihadeh
adb079efcd precheckout installer (#21752)
* precheckout installer

* repaint

* cleanup
2021-07-27 17:29:36 -07:00
Adeeb Shihadeh
b0da8b2281 back to choose software 2021-07-26 23:40:28 -07:00
Adeeb Shihadeh
a2bd5e002e installer: hang around after done (#21728) 2021-07-26 17:13:48 -07:00
Dean Lee
c24227c3ab HttpRequest: don't send request in ctor (#21665) 2021-07-25 15:36:04 -07:00
Dean Lee
41538753f9 Qt/Networking: same border-radius as other panels (#21646)
* fix border-radius

* setup:set style for Networking
2021-07-19 09:26:08 -07:00
Adeeb Shihadeh
9215748080 UI: button released -> clicked (#21606) 2021-07-17 13:58:09 -07:00
Adeeb Shihadeh
62077abd3c more touchups (#21634)
* wait to hide

* same msg

* networking ui fixups

* clicked

Co-authored-by: Comma Device <device@comma.ai>
2021-07-17 00:14:50 -07:00
Adeeb Shihadeh
4f9ac7a1aa show network connecting indicator (#21631)
* spinner for connecting

* move that

* cleanup

* fix that

* connecting label

* touchups

* cleanup
2021-07-16 20:38:31 -07:00
Adeeb Shihadeh
62e63f0573 more setup (#21628)
* fix up kb

* blue continue

* dashcam

* clean up
2021-07-16 15:06:10 -07:00
Adeeb Shihadeh
6039f1e7ac setup qt resources (#21617)
* setup qt resources

* networking

* input

* fix that

* nicer scrolling

* big eye

* fix flashing

* why is it linking against map stuff

Co-authored-by: Comma Device <device@comma.ai>
2021-07-15 21:30:23 -07:00
sshane
0076dd3588 Update wifi setup design (#21604)
* wifi design draft

* ui draft 2

* draft

* updates

* fix spacing

* strength indicator

* font weight

* fix lock icon aspect ratio

* fix font weights

* new checkmark

* fix spacing

* was being applied to everything

* network handles its own padding

* fix spacing

* cleanup

* looks pretty good

* little more

* revert that

* scroll bar

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-15 17:41:01 -07:00
Adeeb Shihadeh
ddd1342fc5 setup improvements (#21505)
* getting started

* downloading

* some more

* nice checkmark

* nice triangle

* fixup style

* wait for internet

* more responsive

* waiting for internet
2021-07-15 16:47:18 -07:00
Adeeb Shihadeh
3f8c63a4d9 installer improvements (#21588)
* installer ui

* progress

* works

* cleanup

* header

* exit

* small

* revert that
2021-07-14 16:46:36 -07:00
Adeeb Shihadeh
deb67ff870 reset improvements (#21603)
* reset design

* clean up
2021-07-14 14:37:33 -07:00
Dean Lee
5be75f5354 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
2021-07-07 21:06:50 -07:00
Dean Lee
4145988756 installer.cc: fix wrong db path (#21494) 2021-07-06 10:14:07 -07:00
Adeeb Shihadeh
ec00e71b64 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>
2021-07-05 23:48:10 -07:00
Dean Lee
2c6d27f482 Qt: cleanup includes (#21282)
* cleanup includes

* remove include <qtwidgets>

* more
2021-06-16 00:08:02 -07:00