Commit Graph
18158 Commits
Author SHA1 Message Date
elecpowerandPeter Feerick 28f38f4c9e Rename update options dialog button labels 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick edbf638357 Fix manual check for updates and some renames 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 3e6a9ddd5a Fix sounds chooser cancel action and improve progress messaging 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 7ce07f5a82 Wording tweak 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 1d91d289a7 Split housekeeping tasks 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 38749d713d Invoke interactive update mode if any updates found on startup 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 19db99c4c2 Use sounds.json release asset for available languages and variants 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 1d9f0d7d76 Sounds language pack choice 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 316ab766fa Fix firmware install filter 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 4f089acf65 Minor msg wording change 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick b99514c5b8 Move settingsIdx to private 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 2578c759ce Check if any components flagged as updateable 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick d9237cc320 Tweak dialog sizing 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 443f4f349a Delay initialisation of fw flavour and language until update process runs 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 887902bf4f Include OpenSSL 1.1 in Win32 and Win64 installer packages 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick d86e60c45a Offer to restart Companion after install on linux 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick caa5100077 Rework companion installer for linux 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 8d99c66491 Fix decompress result to calling function 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 5a9b5bfc23 Comment out more msgs 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick ba2ceca8d7 Comment out informative debug messages 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick df8bec52c4 Change msgs from info to debug 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick bb4ed8023d Improve messages and update options dialog checkbox after Forget 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 7ee796d56a Fix autoupdate not doing anything, release dir name validation, various msgs 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick cc68bd2d84 Handle no sd path set 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 0248a1c7d6 Code tidy 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 696118052e Update radio detection for deciding whether to display splahs settings 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 07f9d38237 Rename settings and change the way post install deletes are configured and operate 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 97048a1544 Add prompt sd sync and install app setting 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 5b5d4de288 Add log level to settings reset 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 66a2eb996c Miniz change some msg types 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 954159776a Change settings default updateLogLevel to QtInfoMsg 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 3d340fa39e Rename resetRun functions 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 3621b26403 Fix MacOSX OS compile and warnings 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick bbfaf86bc8 Refactor firmware and companion updates plus add extra supporting components 2022-09-06 09:29:41 +10:00
b4e1ceb4f8 fix(MPM): Various UI elements for MPM opts weren't updating correctly (#2209)
* fix: Get current values for MPM options

* fix: Don't show sub-proto dropdown when empty

* Add suggested call to `update()`

* Add callback to refresh when subtype changed

* Trip `SetValueHandler` rather than setting value
Thank you to @raphaelcoeffic for the hint ;)

* fix: Saving values when changed is a good idea!

* Load option flags properly when using internal proto list

* NumberEdit fields don't implement LV_EVENT_VALUE_CHANGED, use update() instead

* Fix checkbox behaviour

* Fix autobind checkbox after switching away from DSM

* Fix more parameter needing update on MPM sub-proto changes

* fix: Also update servo rate if present

* fix: Channel mapping needs updating also

Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
2022-09-05 21:56:24 +10:00
Peter FeerickandPeter Feerick 07431c3432 chore: Bump libopenui 2022-09-05 19:27:50 +10:00
Raphael CoefficandPeter Feerick 8725ade854 fix: simu LCD buffer pointer init to properly display splash image 2022-09-05 19:27:50 +10:00
Raphael CoefficandPeter Feerick 0d3b2c027b splash: force pixel format to RGB565 when loading the bitmap 2022-09-05 19:27:50 +10:00
TheIsotopesandGitHub ba814db38a hotfix for german translation (#2265)
fixed typo made in #1374
2022-09-03 17:34:54 +02:00
HThurenandPeter Feerick f5cef9775a fix: Remove left over defines from untranslated.h
Removed #define TR_NEW, #define TR_NEW_LABEL, #define TR_RENAME_LABEL, #define TR_DELETE_LABEL, #define TR_ENTER_LABEL, #define TR_LABEL, #define TR_NONE, #define TR_CURRENT_MODEL, in untranslated.h, since also in the specific language files, fx. da.h. Give error when translate and the #define differ.
2022-09-03 22:01:41 +10:00
Peter FeerickandGitHub bce73a9398 feat(B&W): Lua tools list sorted alphabetically (#2258)
Resolves #1886
2022-09-03 09:01:46 +10:00
c8693569b0 feat(color): New label based Model Selector (#1374)
* Model Labels Selector

* Portrait Layout

* Receiver ID Check

* Fix Labels .yml format

* Companion Initial Commit

commit 967ddf3979b4954402fe62c858faba4b7a416bba
Author: dlktdr <cblackburn320@gmail.com>
Date:   Mon Aug 29 01:49:15 2022 -0700

    Fix Labels .yml format

commit 534221cad9e01146c47a9ac1080a655e04f1f6c8
Author: dlktdr <cblackburn320@gmail.com>
Date:   Mon Aug 29 01:20:57 2022 -0700

    Receiver ID Check

commit f32c0939d44e9ae60bc0705a9176354c23fec198
Author: dlktdr <cblackburn320@gmail.com>
Date:   Sun Aug 28 23:13:25 2022 -0700

    Portrait Layout

commit 961181217c7841ff3f21299ac6aa419b810f80e9
Author: dlktdr <cblackburn320@gmail.com>
Date:   Sat Dec 11 16:56:13 2021 -0800

    Model Labels Selector

commit dc99dd40d2
Author: David PHAM-VAN <1387855+DavBfr@users.noreply.github.com>
Date:   Fri Aug 26 03:04:34 2022 -0300

    feat: Allow Lua widget to override built-in widget with same name (#2208)

    * Allow CPP Widgets Override with LUA

    * Reset a widget option it the type differs

commit 4b747caff9
Author: eshifri <46511024+eshifri@users.noreply.github.com>
Date:   Thu Aug 25 19:47:53 2022 -0700

    fix: Write model name into models.yml when duplicating model (#2224)

    * Update model name in the models.yml file (#2214)

    * Fix the length of the name.

commit e97f23a305
Author: eshifri <46511024+eshifri@users.noreply.github.com>
Date:   Wed Aug 24 21:19:52 2022 -0700

    fix(cpn): Fix full path to model notes for Simulator (#2223)

* Correct Highlighted Column

* labels .yml indentation

* Update da.h

New defines translated to Danish

* Update dataconstants.h

Omit warnings due to difference of LEN_MODEL_FILENAME and LEN_MODEL_NAME in modellist.cpp

* Update modelslist.cpp

Wonder if this are the right file in PR #1374 (?), seems a lot are changed to the better in #1374

* Update dataconstants.h

Restore #define for LEN_MODEL_FILENAME to 16

* Rebase, Correct Issues

Delete now deletes instead of select
New model stores correct information
Duplicate save all information in cell
Rework items to use cell over button
Reword function variables

* CMPN: Add context menu

Fix output not functional. Removed Yaml::null at some point :)
Fix some compiler warnings

* CMPN: Compiler warning, replace ,->_ in list

* FW: Various Changes

Change view to a grid
Don't allow comma in label name
Add scroll indicators
Save sort order

Co-authored-by: HThuren <99370924+HThuren@users.noreply.github.com>
2022-09-03 09:01:19 +10:00
ulfhedlundandGitHub 20dc9c4d26 fix(B&W): Add characters for Swedish translations (#2259) 2022-09-02 18:10:05 +10:00
elecpowerandPeter Feerick 8aa2b55c50 fix(cpn): Improve module and protocol conversion (#2237) 2022-09-01 20:56:59 +10:00
HThurenandGitHub c6b7aca5fa chore(translation): More updates to Danish 🇩🇰 (#2257) 2022-09-01 17:47:37 +10:00
Raphael Coeffic a79f00f675 fix(x9d): navigation in both directions using +/-
This issue was introduced in 62692dba6a.
2022-09-01 07:21:14 +02:00
Bryan MaylandandGitHub 8422640199 feat: Optionally support CRSF_VARIO in BARO_ALT telemetry 2022-08-31 21:38:27 +10:00
e576925bee feat: Reduce risk of corrupt radio.yml (#1481)
* reduce risk of corrupt radio.yml #1412

Adds CRC16 checksum to radio.yml when saved.
Adds save to temporary file, folowed by rename to radio.yml
Adds check on load, with fall-back to temporary file

* Made sure that only the first read block of radio.yml is checked for the 'checksum' value.
Added checksum generation on radio.yml produced by conversion.

* Added namespace.
Github actions triggered build failed on this - compiler difference.

* Fixed typo in code not run locally.

* Made checksum result code a enum class.
Fixed null-poionter dereference bug.

* Added check and handling for radio.yml file not read (will be handled as if checksum failed)
Added evaluation of checksum when radio_new.yml is read.
Added f_unlink() calls before f_rename() to ensure the target filename does not exist.

* Added radio.yml cheksum handling to Simulator/Companion.
Cleaned radio firmware handling of checksum field up to be newline agnostic.

* Added handling of files without checksum.
- Letting files pass the check if no checksum field is present (old files) and the size is realistic (25 bytes)

* Fixed bug causing new conversion from binary if no radio.yml BUT a radio_new.yaml
is present in the filesystem.

Now the conversion is only performed if neither file exsits.

* repair rebase problems

* rerun yaml generator

* fix another rebase problem

* update text in companion to be more meaningful when the radio.yml file has a checksum error
fix wrong error message in trace

* add trigger to check radio config when leavin menu_radio

* fix: add handling for temporary and error yaml radio settings files to simu/simulator/libsimulator

* fix corner cases when comverting non crc-ed files

* chore: Tweak radio data warnings for screen sizes
- Changed the define to be a little shorter
- Added missing define for TW
- Three string lengths to suit 128, 212 and basically colorlcd

Co-authored-by: gagarinlg <malte@langermann.net>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-08-31 12:56:17 +10:00
gagarinlgandRaphael Coeffic e6697bca89 fix: center splash screen 2022-08-29 07:09:04 +02:00
Raphael CoefficandRaphael Coeffic a7335be7ec Re-added vertical 0-line for mixer monitors 2022-08-28 13:07:03 +02:00