sshane
e2eddf74ee
keyboard: backspace key repeat ( #21395 )
...
old-commit-hash: 6402edb898
4 years ago
Dean Lee
f883cfec39
DevicePanel: set specific stylesheet for reboot & poweroff buttons ( #21364 )
...
* set specific stylesheet for reboot&poweroff buttons
* remove hack
* fix css in network panel
old-commit-hash: c9d4dfe99f
4 years ago
Joost Wooning
3590f9b56f
Change QR code to url for pairing with both explorer and connect ( #21314 )
...
old-commit-hash: dd959412e3
4 years ago
Dean Lee
701ee27c91
HttpRequest: move http cache to RequestRepeater ( #21228 )
...
* move cache from HttpRequest to RequestRepeater
* apply review
old-commit-hash: 9ebfc2ba8d
4 years ago
Dean Lee
775ed1428f
CommaApi: class to namespace ( #21329 )
...
old-commit-hash: 85f134da6a
4 years ago
Dean Lee
95a9e22120
UI: refactor ButtonControl ( #21315 )
...
old-commit-hash: 8675c970d4
4 years ago
Willem Melching
fd6dddfc33
only clean up openGL buffers if context is still valid
...
old-commit-hash: 1ce3184c16
4 years ago
Dean Lee
d8ac1df789
Qt: cleanup includes ( #21282 )
...
* cleanup includes
* remove include <qtwidgets>
* more
old-commit-hash: 2c6d27f482
4 years ago
Willem Melching
196f96f057
UI: check if dongle id is valid before calling API ( #21275 )
...
old-commit-hash: e85fa7f1c9
4 years ago
Dean Lee
17c7f9c806
DriveStats: switch between MILES and KM in real time,based on setting. ( #21234 )
...
* update distance unit
* remove main_layout_ from header
* cleanup
* add title in add_stats_layouts
old-commit-hash: f55bb5d98f
4 years ago
Dean Lee
71b346b3e8
UI: refactor SoftwarePanel ( #21244 )
...
* refactor
cleanup
* one params
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7009ba0344
4 years ago
Dean Lee
63ff493fe8
UI widgets: remove unnecessary setLayout ( #21232 )
...
* remove setlayout
* remove setLayout
* space
* Update selfdrive/ui/qt/maps/map.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8f5c7e7bb5
4 years ago
Dean Lee
147b355dde
add space after function name and if statement ( #21225 )
...
old-commit-hash: e4e669bb0f
4 years ago
Dean Lee
51cf285c31
Passing arguments by reference ( #21205 )
...
old-commit-hash: ee46672d3c
4 years ago
Dean Lee
3a698faadc
Use full include path ( #21194 )
...
old-commit-hash: b06b3ecb60
4 years ago
Dean Lee
33d48d8139
ssh_keys.cc: remove shadowed params ( #21184 )
...
old-commit-hash: e772bbf723
4 years ago
Adeeb Shihadeh
56e9dbcf99
Qt driverview ( #21063 )
...
* CameraViewWidget
* continue
* cleanup
* mv DriverViewWindow to ui/qt/offroad
* write IsDriverViewEnabled in showEvent/hideEvnet
* sm.update(0) in onTimeout()
* CameraViewWidget
* use unique_ptr for vipc_client
* virtual draw
* fix viewport
* connected()->frameReceived()
* bg_colors use QColor
* fix draw
* rebase master
* whitespace
* apply reviews
* indent
* like onroad
continue
* white space
* continue
* show == false
* remove border
* use widget's size
* fix shadowed rect
* cleanup driverview
* fix transform
* remove video_rect
Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9876723169
4 years ago
Maxime Desroches
88ae07b37b
UI: add missing override identifiers ( #21081 )
...
old-commit-hash: 3c058e0b64
4 years ago
Adeeb Shihadeh
4f29e600a7
prime ad: comma connect -> explorer
...
old-commit-hash: ace5ee9d46
4 years ago
Adeeb Shihadeh
8002b848b6
offroad alert for unregistered devices ( #20870 )
...
* offroad alert for unregistered devices
* update tests
* add param
* fix stretch
old-commit-hash: b93ccc465d
4 years ago
Dean Lee
cd50782410
OffroadAlert: add stretch at the bottom ( #20856 )
...
old-commit-hash: b0e2374635
4 years ago
Dean Lee
e333e4f189
Cleanup selfdrive/ includes ( #20822 )
...
* cleanup include path
* continue
* format includes
* fix testraw.cc
* remove include path from SConstruct
* regroup
* rebase master
* almost done
* apply review
* rename FileReader.xx to filereader.xx
* rename Unlogger.x->unlogger.x
* rename FrameReader.xx -> framereader.xx
* apply reviews
* ui.h
* continue
* fix framebuffer.cc build error:mv util.h up
* full path to msm_media_info
* fix qcom2 camerad
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7222d0f20d
4 years ago
Willem Melching
78bf4f5867
Replace ifdef with hw abstraction layer ( #20843 )
...
* Replace ifdefs with hardware abstraction layer (#20801 )
* add type to class hadwareXXX
* replace ifdefs with hardware layer
* continue
* continue
* new function get_driver_view_transform
* full path to hw.h
* fix build error setup.cc
* apply review
* fix typo
* fix deprecated error:replace deprecated fromPath with new
* fix build error
* Fixes after ifdef clenaup (#20842 )
* inheritance doesnt work with static
* fix debayer
* small cleanup
* Update selfdrive/camerad/cameras/camera_common.cc
* Update selfdrive/ui/qt/offroad/settings.cc
* Update selfdrive/common/modeldata.h
* flip conditions
* fix comment
Co-authored-by: Dean Lee <deanlee3@gmail.com>
old-commit-hash: ab319d4f54
4 years ago
Willem Melching
39c18d4c5a
Revert "Replace ifdefs with hardware abstraction layer ( #20801 )"
...
This reverts commit 9f2ad462f39f4c880f283b71bffbc9248a2b577d.
old-commit-hash: 3a95d3ccaa
4 years ago
Dean Lee
e0282ced49
Replace ifdefs with hardware abstraction layer ( #20801 )
...
* add type to class hadwareXXX
* replace ifdefs with hardware layer
* continue
* continue
* new function get_driver_view_transform
* full path to hw.h
* fix build error setup.cc
* apply review
* fix typo
* fix deprecated error:replace deprecated fromPath with new
* fix build error
old-commit-hash: 757d2923d2
4 years ago
Dean Lee
03f823a3fc
SshControl: use HttpRequest to get ssh keys ( #20784 )
...
* use HttpRequest
* remove eventloop
* rebase master
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 00aa20f55a
4 years ago
Adeeb Shihadeh
2fb8b563eb
UI: fast startup ( #20781 )
...
* faster startup
* faster
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ed3b6bd90c
4 years ago
Dean Lee
9a827fea20
c++ cleanup: standardize file extensions to .cc and .h ( #20800 )
...
* c++ cleanup: standardize file extensions to .cc and .h
* cleanup files_common
old-commit-hash: 81491dc57f
4 years ago
Comma Device
eda1bcaef9
configure SSL globally on NEOS
...
old-commit-hash: 23faedd25e
4 years ago
Dean Lee
309a873e7d
Qt: use new signal slot syntax ( #20783 )
...
* new signal slot syntax
continue
* continue
old-commit-hash: 4781598e12
4 years ago
Dean Lee
ee9280d9d3
HttpRequest: passing references in signals ( #20782 )
...
old-commit-hash: ad57cd3759
4 years ago
iejMac
ff2138d905
qt replay ( #20602 )
...
* initial commit, works
* remove nui
* working again
* visionipc
* cleanup
* cleanup
* moving VisionIpcServer to Unlogger class
* works
* tab cleanup
* headless mode
* headless mode works
* working headless mode
* gitignore update
* small unlogger refactor
* refactor param in UIState
* works, very slow, hacks
* cleanup
* works
* cleanup
* cleanup
* unused
* works for whole route
* nicer
* a little nicer
* different threshold
* maintains 1 segment window
* works with public api
* comments
* networkTimer works
* cleanup
* unified HttpRequest
* tabs
* tabs
* comments'
* gitignore
* gitignore
* only on PC
* same line else
* no changes in home.cc
* scons
* update scons
* works
* revert mainc.c
* revert home
* else
* just api + problem with api send
* works
* include cleanup
* general json fail
* whitespace
* remove active
* adding request repeater
* removing comments
* tabs
* update comment
* cereal
* fix
* trailing new lines
* grammar
* if whitespace
* indentation
* Update selfdrive/ui/SConscript
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/ui/qt/request_repeater.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* works
* sort by dir
* no blockSignal
* replay is now QOBject
* cant take const char
* rename inner it
* get width and height from frame readeR
* resolve TODO
* seek in next pr
* spaces
* ui stuff
* fix CI
* remove comments
* no repalce
* trim segment fix
* remove seek from stream
* no cache key
* final changes'
* fix
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 19d962cdf3
4 years ago
iejMac
fbe27337ca
UI: close dialogs on settings close ( #20541 )
...
* this works
* fix
* fix
* fix
* blacklist
* style
* tabs
* tabs
* temporary
* hideEvent
* fix
* changes
* dont need this
* works
* no signal
* Merge branch 'master' of github.com:commaai/openpilot into ui_close_after_timeout
* works
* cleanup
* little more cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0fe155b7c3
4 years ago
Adeeb Shihadeh
d1d828ad1e
UI: fix initial toggle state after #20670
...
old-commit-hash: a60effc112
4 years ago
iejMac
5dddcac027
UI: Reset settings state when hiding panels ( #20670 )
...
* git stat
* first panel and button reset
* progress
* toggles parent + list
* check if label nullptr
* style
* fixes
* fixes
* remove line
* white space
* tabs and spaces
old-commit-hash: 928fbecec0
4 years ago
Dean Lee
d33538e5f3
Qt: show current calibration values ( #20455 )
...
* show current calibration
* read calibration from capnp
* use CalStatus
* cleanup calibrationd.py
* remove import capnp
* keep json writing,remove comment
* fix test error
* cleanup
* remove test_read_saved_params
* cleanup
* write out capnp
* restore test
* clean up
* get calibration from CalibrationParams
* cleanup
* update calibration when the description is visible
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 57fe8488ac
4 years ago
Comma Device
7a01d56255
fix cut off qr code
...
old-commit-hash: 18e60751c2
4 years ago
Dean Lee
65a52f5163
remove memory leak in create_jwt() ( #20547 )
...
old-commit-hash: d14aba4580
4 years ago
iejMac
9238fade18
scrolling in text window ( #20564 )
...
* grid layout + better scrollbar
* style
* style
* tabs
* scrollbar behind button fix
* alerts background color fix (#20568 )
* horizontal style + more space for scrollbar
* fixes
* fixes
* fixes
* remove background on scroll bar
* fix horizontal overflow
* indent'
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 10e4d32197
4 years ago
iejMac
bcbf844dda
alerts background color fix ( #20568 )
...
old-commit-hash: 86a78581e3
4 years ago
Comma Device
c671dca363
update qt setup
...
old-commit-hash: 204d878c6f
4 years ago
iejMac
a2e14a8a0c
Qt scroller class ( #20549 )
...
* initial commit
* class works
* cleanup
* naming
* text window
* fixes
* alerts are now scrollable
* dismiss
* fixed placement
* realease scrolling
* better
* better
* revert text
* naming
* parent
old-commit-hash: 9afa14c47f
4 years ago
Dean Lee
405df8b165
Params: python-like interface ( #20506 )
...
* rebase master
* delete outdated test_params.c
* putBool & more robust getBool
* putBool(SshEnabled)
old-commit-hash: 98e55996f6
4 years ago
Dean Lee
86a217dca7
OffroadAlert: update alerts inplace ( #20463 )
...
* refactor
* cleanup
* use QWdiget instead of QStackWidget
* continue
* remove duplicate setMargin
* dont parse alerts if updateAvailable
* kind of works
* alerts work
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: bf1001e54b
4 years ago
Adeeb Shihadeh
846a43b3e4
scrolling improvements ( #20524 )
...
* fix scrolling problem
* continue
* set panel margin in one place&add stretch to prevent title flicker
* adjust padding
* remove stretch
* no border
* fix padding
* better padding
* cleanup
* continue
* add stretch to prevent flicker
* reduce padding
* typo
* revert taht
* no background
* pretty good
* remove
Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c73781f840
4 years ago
iejMac
4a3e73ddb5
disable buttons when onroad ( #20475 )
...
* disables reset calib
* works for all buttons
* naming convention + final works on PC
* stylesheets + works on manager.py
* fixing stylesheet
* add that backg
* no reviewing while onroad
* better disabled hint
* little cleanup
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d63dab950a
4 years ago
Dean Lee
c5194fcb85
Qt: show username for current SSH keys ( #20508 )
...
* Show username for current SSH keys
* Update ssh_keys.cc
* Update ssh_keys.cc
* Update selfdrive/ui/qt/widgets/ssh_keys.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* rename param
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5cd676797a
4 years ago
Willem Melching
8c296312e3
Cache prime/points widget ( #20497 )
...
* cache prime status on homescreen
* use stacked widget
* add caching and clear on 404
old-commit-hash: d43d625610
4 years ago
Willem Melching
69cc390ffb
drive_stats.cc: fix distance rounding
...
old-commit-hash: 32330bbf89
4 years ago
Dean Lee
ae8893a77f
Qt: cache home screen state ( #20395 )
...
* cache drive stats
* don't parse response if it's the same as previous
* remove blank line
* cleanup
* update stats in place
* validate json
* add DriveStats to params.pyx
* cleanup
* cleanup
* remove //#include
* simplify
* add cache to RequestRepeater
* rename CachedDriveStats to ApiCacheDriveStats
* rename ApiCacheDriveStats to ApiCache_DriveStats
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 80ae6a7e1b
4 years ago