Jason Wen
87ff98dc7c
ui: update names ( #678 )
...
* ui: update names
* Revert "ui: update names"
This reverts commit 313510c8c0f112758ca1cc3e625d47ba47989bd5.
* gone
* init
* Changed all occurrences of 'openpilot' to 'sunnypilot'
All instances of 'openpilot' in the user interface, documentation, and prompts have been updated to 'sunnypilot'. These changes include source strings, warning messages, and the prompts shown to users. The adjustment is part of the rebranding process and aims to avoid any uncertainty or confusion for users.
* vanish translations
* translations
---------
Co-authored-by: DevTekVE <devtekve@gmail.com >
2025-04-03 23:11:27 -04:00
Dean Lee
c0b6d58236
setup: fix dangling pointer Issue in curl header setup ( #34860 )
...
fix dangling pointer in curl header setup
2025-03-13 10:42:22 -07:00
Adeeb Shihadeh
e243663520
Revert "setup: no low voltage warning without INA"
...
This reverts commit 7ecedbc39f .
2024-11-20 16:14:30 -08:00
Adeeb Shihadeh
7ecedbc39f
setup: no low voltage warning without INA
2024-11-08 13:31:43 -08:00
Dean Lee
ef428ccefc
ui/setup: Initially disable continue button ( #32180 )
...
old-commit-hash: eb0b1ce97599290680f8b6b817e3b262da2f2afc
2024-04-12 10:32:23 -07:00
Dean Lee
be58bf6209
ui/setup: use the mode "wb" instead of "w". ( #32181 )
...
old-commit-hash: 1c491513b6a2dafd470a90186e7bb327ada503aa
2024-04-12 10:32:11 -07:00
Adeeb Shihadeh
62bbd08492
setup: add openpilot button ( #31628 )
...
* setup: add openpilot button
* rename
old-commit-hash: 6cf7599bcd1a0218bb359f72c3d17e15c53bae93
2024-02-28 15:54:21 -08:00
Adeeb Shihadeh
972650f0eb
remove dashcam branch ( #31081 )
...
* remove dashcam branch
* fix
* more cleanup
* remove param
* one more
old-commit-hash: 7cd9568423a2e78187d16018b70a78f56c02027d
2024-01-19 14:05:03 -08:00
royjr
1761c1837d
setup: Enhance URL Handling to Support Partial Inputs ( #30681 )
...
* easy urls
* better
old-commit-hash: 4df85062c52fbbbdc4e461e317b6cb01a6d76ec1
2023-12-26 19:08:57 -08:00
Dean Lee
875b160fc6
ui/network: move to selfdrive/ui/qt/network/ ( #29656 )
...
* move to ui/qt/network
* wifimanager->wifi_manager
old-commit-hash: 125bd2cd9ef930f23c8d435ccf2a76b91228abe8
2023-08-27 15:23:19 -07:00
Dean Lee
ce0e2ec905
AGNOS setup: multi-lang support ( #25680 )
...
* multilang
* update translations
* Specifies dependency
* load lang from json file
* update translations
* fix white border
* remove stretch
* update translations
* fix tr
* no default language
* update translations
* rm main_en.qm
* cleanup
* cleanup
* add language files
* remove type=unfinish
* build languages before assets
* depends lrelease
old-commit-hash: 0767a6dee5355d1d7c0b6aaed8f358d9045268a9
2023-08-26 08:17:07 -07:00
Dean Lee
97e9d55588
cpplint: build/include_what_you_use ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 2d99521e7500902070d0aacce69528bcfd8b9964
2023-08-23 13:25:17 -07:00
Cameron Clough
b7b61c1faa
setup: set download timeout ( #27441 )
...
old-commit-hash: f64fa07b0a42bb04d036f1280953dbbd27de41a0
2023-02-23 19:46:06 -08:00
Cameron Clough
8491b5db66
setup: detailed error messages ( #27429 )
...
* setup: specific error state for non-executable file
* Result -> DownloadResult
* complete -> finished
* rename widgets to be more consistent
* fix typos
* fix setCurrentIndex
This appears to have different behaviour on device than on PC (off by
one)
* load fonts
* copy
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Revert "load fonts"
This reverts commit e8756598ed99aea39ef5721453e97920a494051c.
* font family
* undo
* less widgets more better
* font size
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 79e6910106de6ae25127613728332e8b743d962a
2023-02-23 19:45:48 -08:00
Cameron Clough
d35ed17e63
setup: write installer URL to tmpfile ( #27426 )
...
* setup: write installer URL to tmpfile
* missed ptr type
old-commit-hash: 90db46e7756e2eb6d61b1ff23f7cb4a7b356abb9
2023-02-22 17:26:37 -08:00
Cameron Clough
4d4c0c45b9
setup: replace software selection widget with input dialog ( #27236 )
...
* setup: replace software selection widget with input dialog
* revert
https://github.com/commaai/openpilot/pull/21617/commits/3f7047651c31b209c9c4a0b8ff7bd408aca3f9e5
old-commit-hash: 1a0a6387409203e1a2611eb35882de7a931ca703
2023-02-07 11:37:25 -08:00
Cameron Clough
23cf988d3c
setup: check installer is elf ( #27241 )
...
old-commit-hash: 074e74ad08e199f189d4d84f73b2a9df1061eb97
2023-02-07 11:37:03 -08:00
Cameron Clough
0276badcc0
setup: add serial to request headers ( #27237 )
...
* setup: add dongle ID to request headers
* rename openpilot
* fix str
* hardware: get_serial
* set serial instead
* fix typo
* static
* fixes
old-commit-hash: 6fb5661abba34971e547941e0f6a6625bef3b75a
2023-02-06 20:02:30 -08:00
Cameron Clough
3f75cdb6e3
setup: fix button label on ethernet ( #27235 )
...
* setup: continue without wi-fi on ethernet
* switch around
old-commit-hash: 9a51275cd246bcbf53da764495a944af8a0b51bd
2023-02-06 15:43:25 -08:00
Shane Smiskol
2c5e890a23
UI: wrap all text for translation ( #24961 )
...
* rough multiple language demo
* more wrappings
* stash
* add some bad translations
* updates
* map from french to spanish still has same problem of needing to call setText on everything
* add files
* restart UI
* use return code
* relative path
* more translations
* don't loop restart
* Toggle and prime translations
* try on device
* try QComboBox with readable style
* stash
* not yet scrollable
* stash
* dynamic translations (doesn't work for dynamic widget strings yet)
* clean up multiple option selector
* store languages in json
* try transparent
* Try transparent popup
* see how this looks
* tweaks
* clean up
* clean up
* clean up 2 and missing tr
* wrap more strings
* missing updater
* fixes
* add basic test to ensure all strings wrapped
* try in CI
* clean up
* test name
* fix test
* always install qt dev tools
* fix deps
* fast test
* add section so it prints multiple errors
* debug
* debug
get rid of those
* make any difference?
* comment
* oh...
* run with offscreen platform
* try out section
* clean up
* fix missing wrappings (it works!)
* move down
* space
* clear relevant params, set TICI=1
old-commit-hash: 879a7c3201a037c27c92ad6b92143114f52f29d3
2022-06-29 14:47:46 -07:00
Adeeb Shihadeh
9a45a3b99b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
old-commit-hash: 1139fe507b01f34de9714c99228f411558b44231
2022-06-11 16:38:24 -07:00
Adeeb Shihadeh
f4675fc260
Merge common/ and selfdrive/common ( #24556 )
...
* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests
old-commit-hash: cb8885cffb313bea258c012c3026461a22bf8135
2022-05-18 14:11:57 -07:00
Adeeb Shihadeh
9b9d6ce772
setup: add OS version to user agent ( #23656 )
...
old-commit-hash: e9cd0a059c0985e16bdd64eeffb1791c1001088c
2022-01-28 14:21:37 -08:00
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 c3f1a7cee87804993ce8f5fd5939570a8e9ffd3a.
old-commit-hash: 1e906366f8439e3ef3f4f8fc01e2f2ec0f951a86
2022-01-22 13:49:03 -08:00
Dean Lee
67c748d62a
refactor httprequest: emit single signals ( #23039 )
...
* refactor httprequest
* Trigger Build
old-commit-hash: 3fd02649601856b2780168d36c49940ff49f4de2
2021-11-29 11:19:08 +01:00
Mayfield
43e1903073
enable wshadow ( #22756 )
...
* enable wshadow (#22714 )
* fix replay
* more build fixes
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 5246f0231e6bfa572c0dd89c60e538910817faa2
2021-11-02 17:08:53 +01:00
Adeeb Shihadeh
a2e6e1c021
setup: add low voltage warning ( #22342 )
...
* setup: add low voltage warning
* read voltage
* fix path
old-commit-hash: 0d0aad05ce8f168b1723fa9c08ed4dbda43d9db5
2021-09-24 14:30:49 -07:00
cydia2020
d3bed07840
UI: Fix mph and wi-fi spelling ( #22334 )
...
* display WiFi as Wi-Fi
* fix typo in metric setting description
old-commit-hash: 70e1c9c40c7f2fdc881de31ea5551bc792339e87
2021-09-23 22:23:34 -07:00
Adeeb Shihadeh
9195b93843
setup: continue without wifi ( #21766 )
...
old-commit-hash: c7d75ffb5dac712344d5444a240b079c4c3b4782
2021-07-28 14:55:42 -07:00
Adeeb Shihadeh
56773ae0a7
back to choose software
...
old-commit-hash: b0da8b2281941a99f2157bf2a70c079cb9d32e16
2021-07-26 23:40:28 -07:00
Dean Lee
9d12eb4d3a
HttpRequest: don't send request in ctor ( #21665 )
...
old-commit-hash: c24227c3abb9bfd371c89845c75b7104d0862fb2
2021-07-25 15:36:04 -07:00
Dean Lee
66efddac39
Qt/Networking: same border-radius as other panels ( #21646 )
...
* fix border-radius
* setup:set style for Networking
old-commit-hash: 41538753f9578969d270edc1f6ba3e23bcd60b3a
2021-07-19 09:26:08 -07:00
Adeeb Shihadeh
e2c0ec924d
more touchups ( #21634 )
...
* wait to hide
* same msg
* networking ui fixups
* clicked
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 62077abd3c3dc5824bb55fc5521537c438af2ad5
2021-07-17 00:14:50 -07:00
Adeeb Shihadeh
dd31ac2c18
show network connecting indicator ( #21631 )
...
* spinner for connecting
* move that
* cleanup
* fix that
* connecting label
* touchups
* cleanup
old-commit-hash: 4f9ac7a1aa6e5d54fbd26991ca2d88edd02245b0
2021-07-16 20:38:31 -07:00
Adeeb Shihadeh
5bdb0f7b18
more setup ( #21628 )
...
* fix up kb
* blue continue
* dashcam
* clean up
old-commit-hash: 62e63f0573a1d6d719fe3c4715d00b3893306c73
2021-07-16 15:06:10 -07:00
Adeeb Shihadeh
75886ce093
setup qt resources ( #21617 )
...
* setup qt resources
* networking
* input
* fix that
* nicer scrolling
* big eye
* fix flashing
* why is it linking against map stuff
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 6039f1e7acb286e9b6705f96084ca90d733df34b
2021-07-15 21:30:23 -07:00
sshane
a089058fd4
Update wifi setup design ( #21604 )
...
* wifi design draft
* ui draft 2
* draft
* updates
* fix spacing
* strength indicator
* font weight
* fix lock icon aspect ratio
* fix font weights
* new checkmark
* fix spacing
* was being applied to everything
* network handles its own padding
* fix spacing
* cleanup
* looks pretty good
* little more
* revert that
* scroll bar
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 0076dd3588921e9dd88c6a871988dded626c38a1
2021-07-15 17:41:01 -07:00
Adeeb Shihadeh
65002c7b53
setup improvements ( #21505 )
...
* getting started
* downloading
* some more
* nice checkmark
* nice triangle
* fixup style
* wait for internet
* more responsive
* waiting for internet
old-commit-hash: ddd1342fc548a7a6cc1bdc007eb9d91d9336deb0
2021-07-15 16:47:18 -07:00
Dean Lee
0c59f626c7
input.cc: close dialog when parent is hidden ( #21318 )
...
* close dialog when parent is hidden
* Q_OBJECT
* apply reviews
* rebase master
* rebase master
* fix wroing minLength
* merge master
old-commit-hash: 5be75f53541c83f0681e55959023bc03758ac62a
2021-07-07 21:06:50 -07:00
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: 8f5c7e7bb5e4796708a8be672529bf65e89edaca
2021-06-12 21:28:17 -07:00
Dean Lee
f70a79b838
Use C++ header files instead of C header files. ( #21192 )
...
* use cstring instead of string.h
* use cstdio instead of stdio.h
* remove inttypes.h
* use cstdlib instead of stdlib.h
* use cstdint instead of stdint.h
* #include <cstddef>
* cstdlib
* use cmath
* remove stddef.h
* use cassert
* use csignal
* use ctime
* use cerror
* rebase master
old-commit-hash: c53cb5d570adb82bc454fcabab458d7e7f09738c
2021-06-08 13:46:22 -07:00
Dean Lee
a88660795a
Properly set parent for widgets ( #21196 )
...
old-commit-hash: 4a74d777f09b606abdde141c456cd73281d20947
2021-06-08 13:32:10 -07:00
Dean Lee
3a698faadc
Use full include path ( #21194 )
...
old-commit-hash: b06b3ecb60c651dacf079513635f7d9d99228783
2021-06-08 12:09:30 -07:00
Adeeb Shihadeh
4d137f459f
fix inlcude in setup.cc after include cleanup
...
old-commit-hash: efca6eaa702dedb08a6bfa7c0f562e434ac6e8c8
2021-05-18 20:28:16 -07:00
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: 7222d0f20dc8edfe0d2f3417d1ce7c84fbd32805
2021-05-08 22:15:17 -07:00
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: ab319d4f54a53e1a0aa1c2c0d94d56a9acef8362
2021-05-06 14:39:05 +02:00
Willem Melching
39c18d4c5a
Revert "Replace ifdefs with hardware abstraction layer ( #20801 )"
...
This reverts commit 9f2ad462f39f4c880f283b71bffbc9248a2b577d.
old-commit-hash: 3a95d3ccaae7168073410cd7d392a9564d9d45ba
2021-05-06 12:29:30 +02:00
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: 757d2923d2bfcda620b252e21a348ac3f87f3a63
2021-05-06 11:41:46 +02:00
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: 81491dc57f5080c602a0be58dd5f9feba2fa31b9
2021-05-03 11:53:11 +02:00
Dean Lee
7d042b746f
Fix build errors in qt/setup ( #20795 )
...
* fix build error
* remove line
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 4bb3619a0ec8d4b76698d7b86e0f224495a6f1f1
2021-05-02 16:50:14 -07:00