Adeeb Shihadeh
95da470795
same check
3 years ago
Adeeb Shihadeh
00d469dbc9
UI: fix power buttons disable logic ( #23774 )
3 years ago
Willem Melching
f8c81103fc
nav: set settings stack based on uiState.prime_type ( #23770 )
...
* nav: set settings stack based on uiState.prime_type
* also show on success
3 years ago
Willem Melching
14f7a78251
nav: handle route responses with duplicate points ( #23769 )
3 years ago
Willem Melching
e76ef93a83
ui: fix onroad transition with active nav ( #23757 )
3 years ago
Lee Jong Mun
ab9fb0541d
missing optional include ( #23749 )
3 years ago
Willem Melching
4e4cb07297
ui: configure tethering based on prime type ( #23733 )
...
* Store prime type in param
* set tethering metric based on prime type
* update existing connections
* returning zero is fine
* always set
* add callback on activate
* call systemctl
* match server enum
* add delay
* assume field is there
* snake case
3 years ago
Dean Lee
786152f0f1
remove trailing whitespaces ( #23716 )
3 years ago
Dean Lee
4e0c08c0a6
WifiManager: fix crash if no wifi device found ( #23701 )
3 years ago
Jason Wen
4715510e91
UI: hide power off button on C3 while onroad ( #23689 )
...
* Grey out power button while onroad - comma three only
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Adeeb Shihadeh
e6d8a84578
for those who want to live in the moment
3 years ago
Adeeb Shihadeh
e9cd0a059c
setup: add OS version to user agent ( #23656 )
3 years ago
Adeeb Shihadeh
3e9cb7fa12
remove community features toggle ( #23214 )
...
* remove community features toggle
* bump cereal
* little more
* update refs
3 years ago
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 c3f1a7cee8
.
3 years ago
Dean Lee
bca92a95cc
ui: fix lead vertex coordinates ( #23550 )
3 years ago
Dean Lee
f7932f874d
ui/networking: async dbus calls ( #23535 )
...
* async dbus calls
* simplify get ip address
* Revert "simplify get ip address"
This reverts commit 7ade7ec57d
.
* cleanup getConnectionPath()
* remove unused functions
* cleanup
* rename to getIp4Address
* clenup class definition
3 years ago
Dean Lee
43a2674ffc
ui/networking: simplify dbus calls with a helper function ( #23531 )
...
* simplify d-bus calls
* move template function to source file
3 years ago
Dean Lee
39d904d2aa
ui/networking: combine connect functions into one ( #23522 )
3 years ago
Dean Lee
75be1223f8
ui/WifiManager: inherit from QObject instead of QWidget ( #23523 )
3 years ago
Dean Lee
785180d234
MainWindow::eventFilter: add static keyword for evts ( #23521 )
3 years ago
Dean Lee
6dbae9593e
UI: reset interactivity timeout on PC ( #23508 )
...
* reset interactive timeout on pc
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
HaraldSchafer
85dcfbbf36
update comment ( #23495 )
3 years ago
Willem Melching
d77782ea93
CameraView: sync pbo with glFence instead of calling glFinish ( #23409 )
...
* CameraView: sync pbo with glFence instead of calling glFinish (#23293 )
* Sync pbo with fence
* use std::unique_ptr
* cameraview.cc: call glFlush after creating fence
Co-authored-by: Dean Lee <deanlee3@gmail.com>
3 years ago
Willem Melching
8d80c0107f
catch gl_buffer->map() returning nullptr ( #23411 )
3 years ago
Adeeb Shihadeh
25f51470fc
Revert "CameraView: sync pbo with glFence instead of calling glFinish ( #23293 )"
...
This reverts commit 5dbdad3276
.
3 years ago
Adeeb Shihadeh
34926dfab5
Revert "cameraview.cc: call glFlush after creating fence"
...
This reverts commit 8655f6df6b
.
3 years ago
Willem Melching
8655f6df6b
cameraview.cc: call glFlush after creating fence
3 years ago
Dean Lee
5dbdad3276
CameraView: sync pbo with glFence instead of calling glFinish ( #23293 )
...
* Sync pbo with fence
* use std::unique_ptr
3 years ago
Dean Lee
5fe809b344
ui: set the bg color of controllerUnresponsivePermanent to blue ( #23308 )
...
* fix bg color
* blue
3 years ago
Ewout ter Hoeven
332f568a82
Pyupgrade 3.6: Update syntax with Python 3.6+ features ( #23305 )
...
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
3 years ago
Dean Lee
bf4d875c5a
OnroadHud: use function loadPixmap ( #23292 )
3 years ago
cydia2020
db6c477373
use km/h in settings.cc ( #23290 )
3 years ago
Adeeb Shihadeh
6aeb542750
make that consistent with other labels
3 years ago
Dean Lee
50cce27e34
UI: call map::offroadTransition after creating map ( #23283 )
3 years ago
George Hotz
16dd7ce1fe
build for mac ( #23048 )
3 years ago
Dean Lee
e4de82f906
ui: remove variable world_objects_visible, use rcv_frame ( #23264 )
3 years ago
Dean Lee
5810583d57
UI: always clear CameraView background ( #23231 )
...
* fix background
* gate that with Hardware::EON
* always call glclear
3 years ago
Adeeb Shihadeh
472177e2a8
Revert "Qt/SetingWindow: faster initialization and painting ( #21764 )"
...
This reverts commit f482354e4e
.
3 years ago
Dean Lee
75687169eb
qt/util: new function scaledPixmap ( #23103 )
...
* new function scaledPixmap
* rename to loadpixmap
3 years ago
Dean Lee
2483fc5d5d
ui: singleton uistate ( #22789 )
...
* singleton uistate
* merge master
* merge master
* merge master
* connect uistate in sidebar
* move to device
3 years ago
Shane Smiskol
c84310c94c
seems to be flipped ( #23213 )
3 years ago
Dean Lee
084ef39489
C2: display ip address in network panel ( #23215 )
...
* display ipv4 address
* refactor to class
* only display ip address
3 years ago
Dean Lee
c5dbee4e58
UI: add timeout to close settings window while onroad ( #22980 )
...
* refactor updateWakefulness
* don't hide sidebar
* rename reset->reset_timeout
* move related variables and functions into class Device
* reset timeout in ctor
* set timeout to 10s if ignition is on
* cleanup
* remove unused QTimer *timer
* check getTimestamp
* keep socket reading in update_state
* keep filtering
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Dean Lee
d4b8cba0f6
move LayoutWidget,ClickableWidget to controls ( #23207 )
3 years ago
Adeeb Shihadeh
df5b374033
add small minimum time between taps to onboarding ( #23212 )
...
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Dean Lee
f482354e4e
Qt/SetingWindow: faster initialization and painting ( #21764 )
...
* reduce init time from ~520ms to ~350ms
* faster init toggle
setfixedheight in ctor
delay init TogglesPanel,reduce init time to ~180ms
cleanup
* precise style, reduce to ~100ms
* revert 'faster toggle
* fix horizontal_line
* fix background
* cleanup
3 years ago
Dean Lee
2335a20584
limit style scope ( #23181 )
3 years ago
Willem Melching
f93d89b888
dmonitoring/DriverView: get crop_rect & transform by video size ( #23169 )
...
* dmonitoring/DriverView: get crop_rect & transform by video size (#23014 )
* keep rounding the same
Co-authored-by: Dean Lee <deanlee3@gmail.com>
3 years ago
Willem Melching
b5fdf646ff
Revert "dmonitoring/DriverView: get crop_rect & transform by video size ( #23014 )"
...
This reverts commit 1af715d6a2
.
3 years ago
Dean Lee
1af715d6a2
dmonitoring/DriverView: get crop_rect & transform by video size ( #23014 )
3 years ago