Adeeb Shihadeh
e9cd0a059c
setup: add OS version to user agent ( #23656 )
2022-01-28 14:21:37 -08:00
Adeeb Shihadeh
3e9cb7fa12
remove community features toggle ( #23214 )
...
* remove community features toggle
* bump cereal
* little more
* update refs
2022-01-24 14:49:47 -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
bca92a95cc
ui: fix lead vertex coordinates ( #23550 )
2022-01-21 15:14:18 -08:00
Dean Lee
f7932f874d
ui/networking: async dbus calls ( #23535 )
...
* async dbus calls
* simplify get ip address
* Revert "simplify get ip address"
This reverts commit 7ade7ec57dd0bb76cb3194f94f039498fdcd8881.
* cleanup getConnectionPath()
* remove unused functions
* cleanup
* rename to getIp4Address
* clenup class definition
2022-01-17 12:12:58 -08:00
Dean Lee
43a2674ffc
ui/networking: simplify dbus calls with a helper function ( #23531 )
...
* simplify d-bus calls
* move template function to source file
2022-01-14 11:46:45 -08:00
Dean Lee
39d904d2aa
ui/networking: combine connect functions into one ( #23522 )
2022-01-14 08:42:29 -08:00
Dean Lee
75be1223f8
ui/WifiManager: inherit from QObject instead of QWidget ( #23523 )
2022-01-14 08:40:39 -08:00
Dean Lee
785180d234
MainWindow::eventFilter: add static keyword for evts ( #23521 )
2022-01-14 15:28:38 +01:00
Dean Lee
6dbae9593e
UI: reset interactivity timeout on PC ( #23508 )
...
* reset interactive timeout on pc
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2022-01-13 19:20:22 -08:00
HaraldSchafer
85dcfbbf36
update comment ( #23495 )
2022-01-11 18:49:53 -08:00
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 >
2022-01-07 15:24:20 +01:00
Willem Melching
8d80c0107f
catch gl_buffer->map() returning nullptr ( #23411 )
2022-01-05 14:23:57 +01:00
Adeeb Shihadeh
25f51470fc
Revert "CameraView: sync pbo with glFence instead of calling glFinish ( #23293 )"
...
This reverts commit 5dbdad3276 .
2022-01-04 20:16:52 -08:00
Adeeb Shihadeh
34926dfab5
Revert "cameraview.cc: call glFlush after creating fence"
...
This reverts commit 8655f6df6b .
2022-01-04 20:16:42 -08:00
Willem Melching
8655f6df6b
cameraview.cc: call glFlush after creating fence
2022-01-04 15:55:28 +01:00
Dean Lee
5dbdad3276
CameraView: sync pbo with glFence instead of calling glFinish ( #23293 )
...
* Sync pbo with fence
* use std::unique_ptr
2022-01-04 14:14:38 +01:00
Dean Lee
5fe809b344
ui: set the bg color of controllerUnresponsivePermanent to blue ( #23308 )
...
* fix bg color
* blue
2021-12-27 23:50:24 -08:00
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 >
2021-12-24 11:18:39 -08:00
Dean Lee
bf4d875c5a
OnroadHud: use function loadPixmap ( #23292 )
2021-12-22 10:10:24 -08:00
cydia2020
db6c477373
use km/h in settings.cc ( #23290 )
2021-12-22 09:37:33 -08:00
Adeeb Shihadeh
6aeb542750
make that consistent with other labels
2021-12-21 16:38:18 -08:00
Dean Lee
50cce27e34
UI: call map::offroadTransition after creating map ( #23283 )
2021-12-21 11:06:45 -08:00
George Hotz
16dd7ce1fe
build for mac ( #23048 )
2021-12-18 22:00:09 -08:00
Dean Lee
e4de82f906
ui: remove variable world_objects_visible, use rcv_frame ( #23264 )
2021-12-17 21:37:29 -08:00
Dean Lee
5810583d57
UI: always clear CameraView background ( #23231 )
...
* fix background
* gate that with Hardware::EON
* always call glclear
2021-12-15 11:13:50 -08:00
Adeeb Shihadeh
472177e2a8
Revert "Qt/SetingWindow: faster initialization and painting ( #21764 )"
...
This reverts commit f482354e4e .
2021-12-15 09:58:25 -08:00
Dean Lee
75687169eb
qt/util: new function scaledPixmap ( #23103 )
...
* new function scaledPixmap
* rename to loadpixmap
2021-12-14 22:58:47 -08:00
Dean Lee
2483fc5d5d
ui: singleton uistate ( #22789 )
...
* singleton uistate
* merge master
* merge master
* merge master
* connect uistate in sidebar
* move to device
2021-12-14 22:28:12 -08:00
Shane Smiskol
c84310c94c
seems to be flipped ( #23213 )
2021-12-14 12:17:02 -08:00
Dean Lee
084ef39489
C2: display ip address in network panel ( #23215 )
...
* display ipv4 address
* refactor to class
* only display ip address
2021-12-14 12:14:51 +01:00
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 >
2021-12-14 11:22:16 +01:00
Dean Lee
d4b8cba0f6
move LayoutWidget,ClickableWidget to controls ( #23207 )
2021-12-14 11:00:01 +01:00
Adeeb Shihadeh
df5b374033
add small minimum time between taps to onboarding ( #23212 )
...
Co-authored-by: Comma Device <device@comma.ai >
2021-12-13 17:38:19 -08:00
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
2021-12-13 15:57:04 +01:00
Dean Lee
2335a20584
limit style scope ( #23181 )
2021-12-09 11:37:59 -08:00
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 >
2021-12-09 16:20:50 +01:00
Willem Melching
b5fdf646ff
Revert "dmonitoring/DriverView: get crop_rect & transform by video size ( #23014 )"
...
This reverts commit 1af715d6a2 .
2021-12-08 19:13:38 +01:00
Dean Lee
1af715d6a2
dmonitoring/DriverView: get crop_rect & transform by video size ( #23014 )
2021-12-08 17:51:56 +01:00
Dean Lee
6e25ae9798
DevicePanel: fix dangling reference to params ( #23154 )
2021-12-07 10:41:41 -08:00
Willem Melching
2e0c73fc0c
Remove Raw Upload toggle ( #23143 )
...
* Remove Raw Upload toggle
* fix tests
2021-12-07 11:25:40 +01:00
Comma Device
20dc4df024
fix UI build on comma two
2021-12-06 14:34:20 -08:00
Dean Lee
20f571db3c
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
2021-12-06 14:02:39 -08:00
Willem Melching
790a64af90
nav: open map on new route without valid OpenGL context ( #23140 )
2021-12-06 13:50:42 +01:00
Dean Lee
8545901c0c
UI: draw header gradient in OnroadHud ( #23137 )
2021-12-05 21:06:47 -08:00
Dean Lee
5ab6bff670
OnroadHud: update engageability and DM icons at 2Hz ( #23134 )
2021-12-05 12:54:35 -08:00
Dean Lee
ad09507e1b
UI: move onroad hud to Qt ( #23040 )
...
* onroad hud
* improve boudingrect, same as nanvg
* QRect
* Update selfdrive/ui/paint.cc
* stacked with nvgWindow
* cleanup ui.h
* rename to road_view_layout
* no lambda
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-12-04 23:02:10 -08:00
Dean Lee
8c6242888c
CameraView: use unique_ptr for CameraView::program ( #23096 )
2021-12-02 13:37:49 -08:00
Cosmo Borsky
faecf4e4c1
keyboard: replace backtick with apostrophe ( #23104 )
...
* Replace existing symbol with apostrophe
Without `'`, I cannot type my WiFi password... though it might be time
to rotate it.
* Replace extra bactic with apostrophe
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-12-02 01:23:59 -08:00
Dean Lee
b2bcacf590
ui: singleton networkAccessManager ( #22994 )
2021-11-29 14:49:53 +01:00