Commit Graph
3606 Commits
Author SHA1 Message Date
Neil HorneandGitHub 6723b21140 fix(cpn): Model print remove B&W EEPROM size (#2426) 2022-09-30 20:12:40 +10:00
Neil HorneandGitHub f42166d610 fix(cpn): Model print pot warnings (#2421) 2022-09-30 10:03:07 +10:00
ulfhedlundandGitHub 7fd3cf0507 feat: More Swedish translations 🇸🇪 (#2382)
* Minor changes

* Translations for new items (primarily related to update)

* One typo corrected
2022-09-29 10:52:21 +10:00
Neil HorneandGitHub ad86b934e0 fix(cpn): Start up interface error 301 (#2378) 2022-09-28 12:00:01 +10:00
73861554ec feat: Support for 8s Cell Sensor such as FrSky FLVS ADV (#2302)
* first commit for FrSky 8s Lipo Sensor

FLVS Advanced transfers up to 8 cell voltages for Cels sensor

* correcting mistake made transferring local change to PR

* complementary extension of Companion telemetry simulator to enable simulation of  8 cells

* change to allow selection of cells 7 and 8 in calculated sensor with formula Cell

* (cpn) Add bin and yml conversions and basic semantic version helper

Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-09-27 20:06:26 +10:00
Neil HorneandGitHub 3563e917c6 feat(cpn): Enhancements to update component runtime options (#2324)
* enh(cpn): Save update component asset options and manage in app settings

* Add option to delete decompress folders independent of delete download folder

* Fix sdsync to point to last update folder

* Update options dlg to allow choosing release channel and saving settings as defaults

* Rename params

* Asset options dialog shared between settings and update run. Add to Save as defaults
2022-09-26 08:55:16 +10:00
3969b2b7e3 feat: Remove TR# mixsrc when trainer disabled (#2323)
* feat: Remove TR# mixsrc when trainer disabled
When trainer mode is not enabled, there is no point
showing the TR# mixer sources. Once you enable a
trainer option, they will become visible again.

* fix: Add missing "Input" check for B&W radios

* fix(cpn): Trainer mode default is off

* chore(cpn): If trainer mode off, hide TR/PPM srcs

* (cpn) Refresh all source lists on change of trainer mode

Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-09-25 19:51:35 +10:00
ulfhedlundandGitHub 4343a504f4 fix: More Swedish translations and typo fixes 🇸🇪 (#2345)
* Corrected spelling mistake for TR_MOVE_UP

* New label-related items in MdiChild

* Added three not previously translated items

* Minor change

* Minor tweaks

* One minor spelling mistake fixed ("imgage" to "image")

Might cause some confusion for translators (did for me) but the text is probably is never displayed so perhaps doesn't really matter. Now fixed anyways.

* One misplaced bracket (causing build errors) removed

* A few additional improvements

* One minor change for "Menu laguage" translation

* Spelling error corrected
2022-09-23 13:01:02 +10:00
Peter Feerick 40149c487c fix(cpn): Zorro, not T-Lite talks to Lite modules
Also, BetaFPV LR3Pro doesn't talk to Lite modules
Fixes #2343
2022-09-22 21:27:11 +10:00
ulfhedlundandGitHub e4fc166e77 feat: Updated all Swedish Companion translations, minor changes to radio translations 🇸🇪 (#2321)
* New translations for download and update functionality (#2148)

* Minor changes only

* Added translations for setName

* Regenerated translation file using QT Linguist tool "lupdate", now complete to >99%

Regenerated Swedish translation file for Companion, using "lupdate" tool as described here: https://doc.qt.io/qt-5/qtlinguist-index.html.

The result:
Updating 'companion/src/translations/companion_sv.ts'...
    Found 2833 source text(s) (185 new and 2648 already existing)
    Removed 529 obsolete entries
    Number heuristic provided 3 translation(s)
    Same-text heuristic provided 29 translation(s)

Then reviewed and added all missing translations.

* Changes after PR review by @pfeerick

* fix: Re-add missing `TR_SF_SET_SCREEN`
2022-09-18 20:17:03 +10:00
RistoGitHubNiel Horne (elecpower), Raphael Coeffic (raphaelcoeffic) and Peter Feerick (pfeerick).
9dc4065525 feat: Add support for SpaceMouse mod (6D input knob) (#1853)
Use `-DSPACEMOUSE=YES` CMake option to activate on Horus color targets.
Co-authored-by: Niel Horne (elecpower), Raphael Coeffic (raphaelcoeffic) and Peter Feerick (pfeerick).
2022-09-18 09:23:48 +02:00
CliffandGitHub 333c2828ea fix(color): Limit label lengths, improve lbl display, prevent inv. char (#2287)
* (cpn) Add bullets & length warning

* (fw) Show labels with bullet separators

* (fw) Check all running twice. Remove from here

* (fw) Correct buffer overflow when labels too long

* (fw) Rem bullets in model label string

* (fw, cpn) Labels length

cpn,fw Limit label length
cpn Check correct model on rename length
cpn Focus issues
cpn Add rename,  move up/down.. still has an issue with selection. TODO...
cpn Switch to utf8 encoding
cpn Rename button ;)

* (cpn) Move up down working

re-Fix Checkbox, partially isn't what I thought (not greyed)

* (fw) Add CSV string funcs

Limit length of model edit shorter in portrait mode

* (cpn) Correct Label option showing on B&W

* (fw) Radio filename set but no file exists don't create

* (cpn) Simplify wording

* (fw) Correct debug values

* (fw) Reduce truncation length

* (both) Don't allow special chars in label name

(cpn) Prevent move when at top and bottom
(fw) Remove multiple label length defines
(fw) Shorten truncate length even more

* (fw) Close model_select on new model
2022-09-18 10:47:21 +10:00
Raphael CoefficandGitHub 9fbf0b7b0a fix(simu): prevent mouse wheel event to be handled twice (#2319)
Fixes #2188
2022-09-15 21:15:09 +10:00
Neil HorneandGitHub 7d9ecd275a fix(cpn): Missing brackets in model print (#2297) 2022-09-08 21:42:22 +10:00
Neil HorneandGitHub ab640e3055 feat(cpn): Rename model Save to Export (#2296) 2022-09-08 19:10:08 +10:00
4e49ac68be feat(colorlcd): Special Function to set main screen (#2160)
* Special Function to set main screen (#2135)

* chore: Add new SF to LUA constants list

* Companion support

* Formatting

* get rid of magic number

* Add function to get the number of custom screens

* Change screen numbering from 0-based to 1-based.

* Allow SetScreen custom function for Color LCD only

* add range protection

* cleanup

* yet, range protection once again

* fix: paintSpecialFunctionLine can't alter SF param data

* Fix screen initialization in companion

* move screen switching to the UI

* Trigger view change from guiMain()

* chore: Change "SET" to "Set" for consistency

* fix: Somehow missed extra comma in `TW`

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
2022-09-07 21:40:34 +10:00
Neil HorneandGitHub 435e4c86f5 fix(cpn): Add model with template crashed simulator (#2289) 2022-09-07 20:13:43 +10:00
Neil HorneandGitHub 58a6239ac5 fix(cpn): Companion simulator would crash post add model (#2281) 2022-09-06 21:08:02 +10:00
dlktdrandPeter Feerick aec0639e66 (fw+cpn) libsim not loading models, set mod on new lbl 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 4067c6df07 (fw,cpn) Support commas in labels
Remove more cpn unused code
2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 441d7a25f1 (cpn) Warning if rename to duplicate 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 93bfd5b264 (cpn) fix not marking as modified 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 18a51dcf4f (cpn) Fix - Always show checkboxes 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 9131125b58 (cpn) Remove more un-unsed code, new set. add "Fav" lbl 2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick d462e24862 (cpn) Labels - Various fixes
Don't allow duplicate
Partial labels of others also selected
Paste doesn't update labels list
2022-09-06 21:04:10 +10:00
dlktdrandPeter Feerick 32a6f792b9 fix(cpn) Delete Label, Import models, Add fav
CMPN: Correct not reading models if no labels.yml

CMPN: Fix crash if no delete with no label selected
2022-09-06 21:04:10 +10:00
elecpowerandPeter Feerick c434f49cae Fix disabled File and Edit menus 2022-09-06 09:29:41 +10:00
elecpowerandPeter Feerick 1f50bb29f4 Disable Manuals and other Documents menu action 2022-09-06 09:29:41 +10:00
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