Willem Melching
30a0b40b5d
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
old-commit-hash: 4e4cb07297
3 years ago
Dean Lee
fab73e6e9f
remove trailing whitespaces ( #23716 )
...
old-commit-hash: 786152f0f1
3 years ago
Dean Lee
d76c70cb2f
WifiManager: fix crash if no wifi device found ( #23701 )
...
old-commit-hash: 4e0c08c0a6
3 years ago
Jason Wen
e2b296f0ae
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>
old-commit-hash: 4715510e91
3 years ago
Adeeb Shihadeh
c491f3fc2c
for those who want to live in the moment
...
old-commit-hash: e6d8a84578
3 years ago
Adeeb Shihadeh
9b9d6ce772
setup: add OS version to user agent ( #23656 )
...
old-commit-hash: e9cd0a059c
3 years ago
Adeeb Shihadeh
70f1418256
remove community features toggle ( #23214 )
...
* remove community features toggle
* bump cereal
* little more
* update refs
old-commit-hash: 3e9cb7fa12
3 years ago
Dean Lee
0d468d6253
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
.
old-commit-hash: 1e906366f8
3 years ago
Dean Lee
e3cc66beff
ui: fix lead vertex coordinates ( #23550 )
...
old-commit-hash: bca92a95cc
3 years ago
Dean Lee
a317526771
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
old-commit-hash: f7932f874d
3 years ago
Dean Lee
bbb691238a
ui/networking: simplify dbus calls with a helper function ( #23531 )
...
* simplify d-bus calls
* move template function to source file
old-commit-hash: 43a2674ffc
3 years ago
Dean Lee
a2caf11b9f
ui/networking: combine connect functions into one ( #23522 )
...
old-commit-hash: 39d904d2aa
3 years ago
Dean Lee
47d5114c1f
ui/WifiManager: inherit from QObject instead of QWidget ( #23523 )
...
old-commit-hash: 75be1223f8
3 years ago
Dean Lee
77b0d4363c
MainWindow::eventFilter: add static keyword for evts ( #23521 )
...
old-commit-hash: 785180d234
3 years ago
Dean Lee
d8f55a81ab
UI: reset interactivity timeout on PC ( #23508 )
...
* reset interactive timeout on pc
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6dbae9593e
3 years ago
HaraldSchafer
5aa495c85f
update comment ( #23495 )
...
old-commit-hash: 85dcfbbf36
3 years ago
Willem Melching
c8cb5abfbb
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>
old-commit-hash: d77782ea93
3 years ago
Willem Melching
8c1fe7647a
catch gl_buffer->map() returning nullptr ( #23411 )
...
old-commit-hash: 8d80c0107f
3 years ago
Adeeb Shihadeh
097110ba41
Revert "CameraView: sync pbo with glFence instead of calling glFinish ( #23293 )"
...
This reverts commit 7fcde6809582c5b8ddfe5a60723d70f9eae1d5de.
old-commit-hash: 25f51470fc
3 years ago
Adeeb Shihadeh
7c960e6a94
Revert "cameraview.cc: call glFlush after creating fence"
...
This reverts commit eac4c3cab90890e39b4a6009c59d023fb21997b8.
old-commit-hash: 34926dfab5
3 years ago
Willem Melching
0c24902e05
cameraview.cc: call glFlush after creating fence
...
old-commit-hash: 8655f6df6b
3 years ago
Dean Lee
1c61ba82b6
CameraView: sync pbo with glFence instead of calling glFinish ( #23293 )
...
* Sync pbo with fence
* use std::unique_ptr
old-commit-hash: 5dbdad3276
3 years ago
Dean Lee
70b297f5db
ui: set the bg color of controllerUnresponsivePermanent to blue ( #23308 )
...
* fix bg color
* blue
old-commit-hash: 5fe809b344
3 years ago
Ewout ter Hoeven
f206ebd054
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>
old-commit-hash: 332f568a82
3 years ago
Dean Lee
d30f82421d
OnroadHud: use function loadPixmap ( #23292 )
...
old-commit-hash: bf4d875c5a
3 years ago
cydia2020
af8143a333
use km/h in settings.cc ( #23290 )
...
old-commit-hash: db6c477373
3 years ago
Adeeb Shihadeh
2296b5727e
make that consistent with other labels
...
old-commit-hash: 6aeb542750
3 years ago
Dean Lee
54a3a91628
UI: call map::offroadTransition after creating map ( #23283 )
...
old-commit-hash: 50cce27e34
3 years ago
George Hotz
6bac4f1c4a
build for mac ( #23048 )
...
old-commit-hash: 16dd7ce1fe
3 years ago
Dean Lee
9321e1bb6c
ui: remove variable world_objects_visible, use rcv_frame ( #23264 )
...
old-commit-hash: e4de82f906
3 years ago
Dean Lee
d5e9c7ecf1
UI: always clear CameraView background ( #23231 )
...
* fix background
* gate that with Hardware::EON
* always call glclear
old-commit-hash: 5810583d57
3 years ago
Adeeb Shihadeh
85ff2fe9cb
Revert "Qt/SetingWindow: faster initialization and painting ( #21764 )"
...
This reverts commit 720e3a73e7befe597bb94f93e41f8f294431ba65.
old-commit-hash: 472177e2a8
3 years ago
Dean Lee
f0eb7a5402
qt/util: new function scaledPixmap ( #23103 )
...
* new function scaledPixmap
* rename to loadpixmap
old-commit-hash: 75687169eb
3 years ago
Dean Lee
1fc1819c2b
ui: singleton uistate ( #22789 )
...
* singleton uistate
* merge master
* merge master
* merge master
* connect uistate in sidebar
* move to device
old-commit-hash: 2483fc5d5d
3 years ago
Shane Smiskol
c413152da3
seems to be flipped ( #23213 )
...
old-commit-hash: c84310c94c
3 years ago
Dean Lee
31bf68c622
C2: display ip address in network panel ( #23215 )
...
* display ipv4 address
* refactor to class
* only display ip address
old-commit-hash: 084ef39489
3 years ago
Dean Lee
c031c1a8d4
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>
old-commit-hash: c5dbee4e58
3 years ago
Dean Lee
b462e5584f
move LayoutWidget,ClickableWidget to controls ( #23207 )
...
old-commit-hash: d4b8cba0f6
3 years ago
Adeeb Shihadeh
0bcb3936ad
add small minimum time between taps to onboarding ( #23212 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: df5b374033
3 years ago
Dean Lee
b7e08ff8fd
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
old-commit-hash: f482354e4e
3 years ago
Dean Lee
22a334b224
limit style scope ( #23181 )
...
old-commit-hash: 2335a20584
3 years ago
Willem Melching
bc267926ce
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>
old-commit-hash: f93d89b888
3 years ago
Willem Melching
f44ac2a806
Revert "dmonitoring/DriverView: get crop_rect & transform by video size ( #23014 )"
...
This reverts commit e312313d5c75a3914cdabc6e1382df602b005c84.
old-commit-hash: b5fdf646ff
3 years ago
Dean Lee
1e45fe1ee7
dmonitoring/DriverView: get crop_rect & transform by video size ( #23014 )
...
old-commit-hash: 1af715d6a2
3 years ago
Dean Lee
1b8be22a4c
DevicePanel: fix dangling reference to params ( #23154 )
...
old-commit-hash: 6e25ae9798
3 years ago
Willem Melching
e7bf88f29f
Remove Raw Upload toggle ( #23143 )
...
* Remove Raw Upload toggle
* fix tests
old-commit-hash: 2e0c73fc0c
3 years ago
Comma Device
aef1cbd1f8
fix UI build on comma two
...
old-commit-hash: 20dc4df024
3 years ago
Dean Lee
88ebf835bb
UI: move rest of NVG to Qt ( #23133 )
...
* move ui_draw_world to qt
* draw world if world_objects_visible is true
* cleanup
* cleanup includes
* continue
* cleanup
* cleanup
* enable multisampling on all devices
old-commit-hash: 20f571db3c
3 years ago
Willem Melching
e59fb59785
nav: open map on new route without valid OpenGL context ( #23140 )
...
old-commit-hash: 790a64af90
3 years ago
Dean Lee
89318a9491
UI: draw header gradient in OnroadHud ( #23137 )
...
old-commit-hash: 8545901c0c
3 years ago