Cameron Clough
a09300385b
mypy: use implicit-optional ( #31590 )
...
* mypy: set implicit-optional = true
* find and replace '| None = None' -> '= None' in function args
old-commit-hash: 80da3aee14
1 year ago
Cameron Clough
9bd90112d0
use pyupgrade to update to new typing syntax ( #31580 )
...
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b
.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae49
1 year ago
Adeeb Shihadeh
22e8a76cd9
fix spinner asset paths ( #31524 )
...
old-commit-hash: 27c56722cc
1 year ago
Adeeb Shihadeh
97b823efe6
Make ui independent of launch path ( #31517 )
...
* Make ui independent of launch path
* comment
old-commit-hash: 5d4dc1dc2f
1 year ago
Adeeb Shihadeh
b4c03185d4
bump cereal ( #31392 )
...
* bump cereal
* update those
* update refs
* bump cereal
* bump
* bump cereal
* bump
* fix
* bump
* typo:
old-commit-hash: daceb171bd
1 year ago
Adeeb Shihadeh
ba78f80850
bring this back
...
old-commit-hash: 714e02d0bd
1 year ago
James
e0c1cb2f61
Re-use existing params declaration in onboarding ( #31363 )
...
Re-use existing params declarations in onboarding
old-commit-hash: d265f5a6ab
1 year ago
James
0a57f061ec
Fix whitespace ( #31361 )
...
old-commit-hash: 75b72c2c4b
1 year ago
Hoang Bui
4c05358aad
map: Transfer to MapLibre ( #31185 )
...
* change codebase
* compile
* add mapboxprovider
* works with map_renderer in c
* remove maplibre temp
* maplibre works
* cleanup build.sh
* x86 stuff
* add lib
* update release files
* don't need that
* tici build
* tici build
* add tici lib
* update refs
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 08037594e2
1 year ago
Justin Newberry
05204fbde3
Create message mocking tools ( #31249 )
...
* add mocking tools
* fix map renderer
* use for power draw
* fix those
* whitespace
* rename to services
* fix the rate
* remove
old-commit-hash: 086c509fde
1 year ago
ugtthis
eeaef9b353
UI/sidebar_layout: Removed redundant piece of margin code ( #31106 )
...
old-commit-hash: 14e83ac9cc
1 year ago
Justin Newberry
d9a324dc92
CI: generate test_ui report ( #31151 )
...
* add test
* simpler
* simpler
* false
* move these here
* faster
* map takes logner to render
old-commit-hash: faf99ba711
1 year ago
Alexandre Nobuharu Sato
ecaa3d08d2
Multilang: Update pt-BR translations ( #31167 )
...
* add instructions to my fork
* add paypall.png to gitignore
* Revert "add instructions to my fork"
This reverts commit a6a6f93533
.
* translate
* revert this
* why?
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f21ccfbf79
1 year ago
Adeeb Shihadeh
83039032ac
update translations
...
old-commit-hash: 4ecaa6da45
1 year ago
Adeeb Shihadeh
533206be2f
update factory reset
...
old-commit-hash: 80ea4db7bb
1 year ago
Justin Newberry
89e0ad2902
test_ui: add onroad state ( #31148 )
...
add onroad
old-commit-hash: 3676ae4da3
1 year ago
Justin Newberry
d3ead5e4ff
test_ui: create test ui screenshots and html report ( #31147 )
...
* test ui
* report + common
* in ci
* fix
* dont enable in ci yet
old-commit-hash: e2ec5be6ee
1 year ago
Adeeb Shihadeh
12d2d861f2
Revert "Switch from json11 to nlohmann/json ( #31093 )"
...
This reverts commit 8fa1e8aa53defca264272a66531d639b3d569418.
old-commit-hash: 88757c12b3
1 year ago
mtribiere
cb3a834067
Switch from json11 to nlohmann/json ( #31093 )
...
* Initial commit
* fix release/file_common
* Update common/swaglog.cc
* Swtiched serialize cc
* move to lfs
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ee036482b8
1 year ago
Adeeb Shihadeh
972650f0eb
remove dashcam branch ( #31081 )
...
* remove dashcam branch
* fix
* more cleanup
* remove param
* one more
old-commit-hash: 7cd9568423
1 year ago
Andrei Radulescu
1498eaf7c6
Support for newer versions of Qt ( #31072 )
...
* Dynamic QtGui version
* Fixed use of undeclared identifier 'va_start'
* Fix for Qt deprecations
* Fix for dynamic QtGui version
* Update selfdrive/ui/SConscript
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 28028aef17
1 year ago
ugtthis
294656275d
UI/close_btn: Removed unused border code ( #31073 )
...
old-commit-hash: a6695e4489
1 year ago
Korben
158445c2d8
Update French language ( #30992 )
...
Update main_fr.ts
validation of new elements
old-commit-hash: 2f744f5df4
1 year ago
Lee Jong Mun
deffb8de48
kor translation update ( #30990 )
...
old-commit-hash: f55d04c172
1 year ago
Alexandre Nobuharu Sato
4b903c3c88
Multilang: Update pt-BR translation ( #30987 )
...
* add instructions to my fork
* Revert "add instructions to my fork"
This reverts commit 46fbee3ebe
.
* test llm
* Revert "test llm"
This reverts commit fc531f0a1b
.
* update pt-BR translation
old-commit-hash: 4178f7c1e1
1 year ago
royjr
244396e23c
networking: add hidden network option ( #30808 )
...
* init
* once
* match
* fix
* maybe
* maybe
* Revert "maybe"
This reverts commit 8386a0a381
.
* Revert "maybe"
This reverts commit 3abf7b1983
.
* Revert "fix"
This reverts commit 09e0146f4d
.
* Revert "match"
This reverts commit 39a90c6cf8
.
* fix not at bottom
* padding
* match
* Update networking.cc
* min chars
* translations
* shouldn't need
* need!
* just in case
* Revert "just in case"
This reverts commit a3c1e09068
.
* finish translations
* not secret
* optional
* allow open networks
* fix
* try
* working
* add divider
* update translations
* fix
* better name
* translate hidden network
* auto
* v2
* remove v1
* fix
* fix translations
old-commit-hash: 96c91c486e
1 year ago
Shane Smiskol
f9db24d9d4
pre-commit: speed up translation step ( #30966 )
...
* formatting
fix
* fix missing class attr warning
* add translation_files option, remove pluralonly, type hint
* updates
* update
old-commit-hash: bef6d7f0bb
1 year ago
ugtthis
312e786542
UI/MapETA: Increased contrast of widget texts for better readability ( #30952 )
...
old-commit-hash: db3ef3e1d8
1 year ago
Shane Smiskol
fc23ab6c8d
Fix string indentation ( #30943 )
...
* fix bad spacing
* more
* these aren't important
old-commit-hash: d689a4e653
1 year ago
Adeeb Shihadeh
7243b9b68e
Revert "UI: single-threaded CameraView ( #30397 )"
...
This reverts commit 69dcd240fcf3bac7a6bddb1647219b710d255554.
old-commit-hash: 073fc89ad4
1 year ago
Shane Smiskol
b53b4c67b5
Auto translate: fix prompt & formatting ( #30922 )
...
fixes
old-commit-hash: 084871ed5b
1 year ago
Meir
fc941b87a3
Auto translate with OpenAI ( #30899 )
...
* auto translate with OpenAI
* change model
* fix mypy typing errors
* update
* fix lint errors
* check api key after args parser
* fix input args
* use languages.json
* just print
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2378f311d2
1 year ago
Dean Lee
2f8e66dbb8
UI: single-threaded CameraView ( #30397 )
...
* single-threaded CameraView
* updateFrame
* inherit from CameraWidget
* clear frame on offroadTransition
* check frame_id
* optional
* unique_ptr
* CameraView
* cleanup
* cleanup
* log skipping frame
* fix driverview
* disconnectVipc
* debug inconsistent frame
* skip frame if uiPlan is outdate
* cleanup
* set connected = false
* support camerad reboot&seeking in replay
* cleanup
* qDebug
* use deque
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 17ac1d3c7b
1 year ago
royjr
f82d7f453f
multilang: parameterize unit tests ( #30842 )
...
* init
* fix indents
* remove import
* safer
* TemporaryDirectory
* much cleaner
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9d7f618bc5
1 year ago
royjr
b2112b81af
multilang: bad language translation check ( #30783 )
...
* compare bad against list
* use web
* Update test_translations.py
* uncomment
* override
* wrap
* AssertionError
* better
* detent
* selfish
* check numerusforms
* already checked
* use name
* not again
* combined
* sets
* assume available
* fix assume
* check regardless of other tests
* assert not print
* raise for status
* better
* done
* useless
* happy ruff
* better set
* quiet
* clean
* obvious
* clearer
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* IGNORED_WORDS
* assert match
* direct assert
* show bad word
* fix numerous empty string checks
* fix IGNORED_WORDS
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fd88990006
1 year ago
royjr
1761c1837d
setup: Enhance URL Handling to Support Partial Inputs ( #30681 )
...
* easy urls
* better
old-commit-hash: 4df85062c5
1 year ago
Dean Lee
6ae3e95542
camerad: cleanup includes ( #30782 )
...
* cleanup includes
* continue
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ab0b26d2b8
1 year ago
Andrei Radulescu
2c7427c203
wifiManager: fix for lteConnectionPath not set on boot ( #30517 )
...
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: b75cdd1542
1 year ago
Adeeb Shihadeh
70a03a0f2d
ui: show wifi password by default ( #30766 )
...
* ui: show wifi password by default
* update immediately
old-commit-hash: 2d466e70cd
1 year ago
Dean Lee
cd7430d1ce
ui: remove unused `roadCameraState` from submaster ( #30757 )
...
old-commit-hash: f9ee7bff00
1 year ago
Adeeb Shihadeh
c3567151f0
bump up installer size ( #30722 )
...
old-commit-hash: 2b12a499f7
1 year ago
Dean Lee
5ada7c007b
ui: destroy egl_images in main thread ( #30253 )
...
* call eglDestroyImageKHR in ui thread
* assert
old-commit-hash: dbda641cee
1 year ago
Dean Lee
62525a60ee
ui/onroad: avoid drawing invalid lanes and leads ( #29666 )
...
old-commit-hash: 33987d4cc9
1 year ago
Justin Newberry
b914f0a27f
soundd/micd: retry getting stream ( #30701 )
...
retry soundd/micd
old-commit-hash: 4f3a186a6f
1 year ago
Justin Newberry
6601d7d8b5
soundd/micd: increase stream buffer size ( #30685 )
...
* increase buffer
* update cpu refs
* go to 100ms
* correct spot
old-commit-hash: b0831fb117
1 year ago
Dean Lee
916921be5b
ui/driverview: inherit from CameraWidget ( #29769 )
...
* refactor DriverViewWidow to inherit from CameraWidget
* emit done on visible
* merge master
* cleanup
* lock_guard
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 48cf7eb6d9
1 year ago
Adeeb Shihadeh
2526dcf30c
remove Qt wrapper scripts ( #30454 )
...
* remove Qt wrapper scripts
* revert those
old-commit-hash: 3831bf19e4
1 year ago
Shane Smiskol
f5d1c4f371
ruff: check newline ( #30668 )
...
* check newline
* nothing catches this
old-commit-hash: 97da129e11
1 year ago
Justin Newberry
2d50661b94
soundd/micd: more robust setup procedure ( #30640 )
...
* just use the default device :/
* Ruff
* this seems like the most reliable way
* Ruff
* move comments too
* wait for devices
* fix that
* and that
* ruff
* add logging for avaliable devices
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: bc70c94f75
1 year ago
Dean Lee
2a948de1f6
ui/ParamControl: do not create ConfirmationDialog on every click ( #30496 )
...
old-commit-hash: 011b1a6e6a
1 year ago