Commit Graph
10536 Commits
Author SHA1 Message Date
eshifriandGitHub c19f7eafd4 fix(color): Unable to paste after Copy/Move of a mixer line (#2423) 2022-09-30 20:14:30 +10:00
eshifriandGitHub eff7bfaeea fix(color): Add extra line in telemetry screen for vertical LCD (#2422)
TODO: Is a temporary fix only until telemetry screen is reworked
2022-09-30 12:28:18 +10:00
eshifriandGitHub 53c91ce8a0 fix(color): Restore "go to channel monitor" Button (#2390)
* Restore go to channel monitor go_to_monitor_Button

* Remove unnecessary parameter.
2022-09-30 12:26:07 +10:00
ParkerEdeandGitHub 4bed15c535 feat: More German translations 🇩🇪 (#2380)
* few more german translations

* Update de.h

* Update de.h

* Update de.h

Update "RTC Spann. prüfen"

* Update de.h

"Binden" Button at ISRM

* Update de.h

TR_ANALOGS_BTN and TR_KEYS_BTN translated
2022-09-29 21:06:42 +10:00
Peter FeerickandGitHub 228461acaf fix(color): Trainer stick labels not updating (#2401)
Stick labels for trainer mode should match default channel order setting
2022-09-29 19:26:54 +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
Malte LangermannandGitHub 6b17c26610 fix(gui): vertical tab title alignment on color lcd radios fixed (#2402) 2022-09-28 21:13:29 +10:00
Raphael CoefficandGitHub 74349cb371 fix: default input names on model creation (#2395)
Fixes #2389
2022-09-28 18:35:41 +10:00
Raphael CoefficandGitHub f579eeb9fc fix(color): focus order after layout choice (#2394) 2022-09-28 18:26:17 +10:00
CliffandGitHub ac091b779d fix(color): Deleting empty label caused EM/Hang (#2392)
* If deleting a label, don't check size

* If rename to blank, do nothing
2022-09-28 18:19:59 +10:00
Raphael Coeffic 6fd69f8053 fix: volume controlled by I2C on taranis targets
This is essentially X9D(+) (NOT 2019) and X9E.
2022-09-28 10:00:56 +02:00
Peter FeerickandGitHub 40018cdb69 fix(color): Radio tools buttons fit screen better (#2377) 2022-09-28 12:26:10 +10:00
Jesper FrickmannandGitHub 83fbf1a7f8 feat(lua): Add getSourceValue (#2316)
* Moved getFieldInfo and getValue up right after related functions

* Modified getValue to return a valid status, so Lua can see if it got zero because of invalid source id

* Added new getSourceValue Lua function per Issue #781
Also added alias getSourceInfo for getFieldInfo

* Updated according to comment https://github.com/EdgeTX/edgetx/pull/2175#issuecomment-1245605114

* Replaced isFresh() by !isOld() as requested in https://github.com/EdgeTX/edgetx/pull/2316#issuecomment-1246759370

* Clean up `lua_pushtablenil` - tables cannot hold nil values

* Changed isFresh() to !isOld() ... AGAIN

* Return both `!isOld()` and `isFresh()`

* Return nil for all values if the item does not exist

* Return 0 instead of pushing three nil values

* Update documentation
2022-09-28 09:42:16 +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
MichaelandGitHub 513578643c fix(cpn): Calculated telemetery sensors in simulator not updating (#2369) 2022-09-27 19:10:58 +10:00
ParkerEdeandGitHub adaecb4a46 feat: Updated German translations 🇩🇪 (#2360)
* Update de.h

* Update de.h

* Update de.h

* Update de.h

* Update de.h
2022-09-27 13:08:14 +10:00
Malte LangermannandGitHub 248c160dbf fix(color): Lua vertical font alignment corrections (#2371) 2022-09-27 13:01:12 +10:00
Raphael CoefficandGitHub d8bcecfc82 fix(color): Unify button colors (#2367)
* Button: change bg color to COLOR_THEME_PRIMARY2

And text color to COLOR_THEME_SECONDARY1

Fixes #2304

* fix: TextButton constuctor calls

Setting the font in the constructor never worked, but did set the text color to black.

* chore: Bump libopenui
2022-09-27 12:52:08 +10:00
Gábor BányászandGitHub 8ad390d59b fix(lua): lcd.drawGauge wide gauge error (#2375) 2022-09-27 12:03:53 +10:00
Raphael CoefficandGitHub af7679a486 feat(color): More tuning of rotary encoder acc, enable for color picker (#2366)
* Smoother encoder acceleration

* Enable encoder accel on color picker
2022-09-27 11:52:28 +10:00
Gábor BányászandGitHub 4d85f67a00 fix(color): Remove Main View - Main Zone left side offset (#2374) 2022-09-27 11:43:17 +10:00
Malte LangermannandGitHub 83c21ad054 feat: add support UTF-8 ° symbol for B&W radios (#2359)
- remove translation workaround for the `°` symbol
- switch every use of the `@` char for a `°` char to a new define
  - same for `≥` and `}`
2022-09-26 12:45:04 +10:00
Raphael CoefficandGitHub 22d784a20e feat: Use rotary encoder velocity only on specific components (#2356)
* feature: use rotary encoder velocity iff LV_OBJ_FLAG_ENCODER_ACCEL
* chore: bump libopenui
2022-09-26 11:52:51 +10:00
Raphael CoefficandGitHub c2451085ec fix(lua): handle ENTER_LONG properly (#2353)
Fixes #2267
2022-09-26 09:49:51 +10:00
gagarinlg 30c54b48c9 fix(gui): add degree symbol '°' to all fonts 2022-09-25 18:59:34 +02:00
Raphael CoefficandGitHub 78e99311c8 feat(GT911): Add CLI command to reset touch panel cfg (#2351)
* GT911: add CLI command to reset config

Related to #2063

* X12S: touch coordinate inversion in GT911 config

Note: config reset with CLI "reset_gt911" required.

* Remove touch sensor software inversion
2022-09-25 20:27:22 +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
Raphael CoefficandPeter Feerick 41cfeee5b0 fix: pop-up dialog should not transmit key events to parent
Related #2182
2022-09-25 19:23:17 +10:00
Raphael CoefficandPeter Feerick e4fb5e43f4 fix: disable widget select mode when going full screen 2022-09-25 19:23:17 +10:00
Malte LangermannandGitHub 0b2cb334af fix(color): @ displayed on radios instead of ° (#2347)
fix: curve selector for predefined curves now shows °, instead of @
2022-09-25 18:42:07 +10:00
EldenrootandGitHub c9b817a7a3 fix: Updates to Czech translations 🇨🇿 (#2336)
* Update Czech language

Czech translation

* Small changes _)

* Improving :)
2022-09-23 13:04:08 +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 FeerickandGitHub 2d608bac32 fix: TX-12MK2 status led sequence, Zorro BLUE/GREEN swap (#2346)
* fix: Zorro LED_GREEN and LED_BLUE GPIO swapped

* fix: TX12-MK2 Blue=>Green led sequence also
Also add Zorro since it's GPIO has been changed.
2022-09-23 13:00:01 +10:00
7e540594fa fix: Re-add Switch and Curve long press functionality (#2332)
* Restore go to edit curve on lobg press from inputs tab.

* Restore long press functionaliy for switches SA_UP -> !SA_UP

* chore: Auto-formatting and bump libopenui

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-09-20 19:45:29 +10:00
Raphael Coeffic e8f9f646e0 fix: prevent window trash processing in confirmationDialog()
Fixes "use after free" when confirmationDialog() is used in a menu handler.
2022-09-20 08:07:09 +02:00
Raphael Coeffic d6764ca0f8 fix: prevent out of bounds access if g_eeGeneral.templateSetup has an invalid value 2022-09-20 08:05:34 +02:00
Peter FeerickandGitHub bccae96917 chore: Add some translation strings + update helper script (#2328)
* fix: Update translation helper for LVGL changes
Also:
- make paths more OS agnostic
- auto-ignore `untranslated.h` since adding to all translations
- flag required parameter as required

* fix: Add more Label related translatable strings

* chore: Italian translations from @robustini
Also some minor formatting tidyup

* chore: Swedish translation from @ulfhedlund

* chore: Danish translation from @HThuren
2022-09-20 12:35:19 +10:00
MichaelandGitHub 43bb5d2bcd fix(color): Improve layout of Module / RX version pop up (#2325)
* initial commit for Module / RX version pop up - fixes #2320

* got rid of "no information" module names. Module names are now identical to the settings internal and external RF dialog, expect PXX2 which sets name depending on hw info.

* cosmetics

* hide int/ext status when there is no status to report

* fix: Also unhide PXX2 module status if set

* feat: Move NV14 fw version to module info screen
2022-09-20 12:04:34 +10:00
Marco RobustiniandGitHub ea313b95c5 fix(color): Fix appearance of Italian shutdown warning messages 🇮🇹 (#2333)
Minor fix
2022-09-19 20:59:36 +10:00
Marco RobustiniandGitHub 538dfb7379 feat: Updates to Italian translation on radio 🇮🇹 (#2330)
* Update italian translation

Minor fix

* Update italian translation

Other fix

* Revert to label

Alignment as in the Companion

* Correct label here too
2022-09-18 22:05:18 +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
Peter Feerick 8307458399 chore: Bump libopenui
- BMP color fix
- remove compiler type argument warnings
2022-09-18 19:24:32 +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
Raphael CoefficandGitHub 3765e678b9 fix(color): Disallow fullscreen mode for topbar widgets (#2327)
Related #2182
2022-09-18 13:15:01 +10:00
Raphael CoefficandGitHub c2b1b6febf feat(color): re-add support for rotary encoder velocity increase (#2318) 2022-09-18 13:01:19 +10: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 Coeffic c3660ab931 fix(color): fullscreen widget exit when entered via keys
Related #2182
2022-09-17 09:40:13 +02:00
CliffandGitHub c903e5bc97 fix (color): Inability to select labels after editing them (#2308)
* (fw) Instantly update model bitmap

* (fw) Delete menu first, then call update
2022-09-16 13:13:28 +10:00
Peter FeerickandGitHub d54e656608 fix: Don't allow select MULTI_TRAINER if no MULTI (#2299)
* fix: Don't allow select MULTI_TRAINER if no MULTI
Fixes #1563 by ensuring Multi Trainer opt is not shown if no MPM
is enabled, as well as if MPM suport is not even compiled in.

* chore: Uppercase "OFF" or equiv for Trainer OFF
2022-09-14 12:34:43 +10:00
Peter FeerickandGitHub d9c7cfae6f fix: Show degree symbol ° instead of @ (#2199)
* fix: Use degree symbol instead of `@`
For temperature and degree units, @C, @F and @ were being shown, rather than °C, °F and °.

Also hoping this will also resolve the GPS sensor showing @ instead of ° as mentioned in #2163

* fix: B&W need prior `@` for degrees

* fix: `dBm` missing from some translations
2022-09-14 12:28:48 +10:00