* added general settings tests
* fixed pre-219 switchUnlockState (CPN)
* X7 radio settings tests
* updated X10 model
* patched TESTS_PATH to point directly at the complete tests path
* fixed horus general settings switch conversion
* cpn x10 general settings tests
* fixed horus cpn import
* use x10 model from otx file to ease editing with companion
* added make targets "gtests" and "tests"
gtests builds all the tests (radio & companion)
tests builds and executes all the tests (radio & companion)
* fixed companion tests cmake
* fixed gtests-radio target
* fixed commit tests
* fixed converting LS & RS on X10
* fixed converting global functions on X10
* fixed source conversion on X10
* fixed throttle source on X10
* fixed throttle source on radio and companion
* more checks and re-enabled Horus screenData copy
* more tests (X10)
* [X10] restore correct direction for RS & LS
* [horus] convert "Value" widget source
* fixed conversion of ModelHeader::bitmap length
* added missing X10 radio tests to companion tests
* fixed conversion of telemetry sources in logical switches
* [horus] fixed potential crash
* fixed "AND switch" conversion in logical switches
* Model print and compare include GFs enhancement
* Model print and compare include checklist contents
* Add missing brackets and code tidy up
* Print message if cannot open or read checklist file
* Missing GV label translation
Move some checklist code to helpers
* Refactor to use helpers and add cursor position
* Move improved version of removeAccents to helpers and apply to checklist
* Force fixed width font for edit window
* Support new r9m firmwares
* More future proof, thx Kilrah
* (significant) typo
* Companion part
* Make support a compilation option
* Fix compilation for normal users
* Warning popup for usability tests
* Better implementation
* All sizes
* Cosmetics
* Flex is EU+/AU+ only
* [Companion] Handle "flexr9m" option in module settings UI (to match radio UI, including warning msg); Move some "toString" functions out of ModelPrinter into ModuleData/Multiprotocols; "Future-proof" available R9M power options based on "stdr9m" fw option; Fix missing "Hitec" MM protocol name; Fix printing of R9M-EU power level in ModelPrinter.
* Cosmetics
* Rename R9M flex option
* Move failsafe further back to prevent nav oddity
* [Companion] Qualify all remaining QObject translations with proper class/object names; Centralize some common strings into constants.h.
* [Companion] Replace all instances of some common strings with macros from constants.h.
* [Companion] Fix translation warnings from lupdate.
* Update multi protocols
* SFHSS also has failsafe implemented
* Show failsafe setting in Companion
* Fix missing protocol names
* Update failsafe format and only show bind when module reports to support it
* Implement R9M protocol according to PXX spec 1.7
Some of the things here are guesswork as I don’t have a R9M at hand. Also Companion support for the extra R9M options is not implemented yet.
* Fix build errors
+ some refactoring to hide irrelevant switches in the combobox
More refactoring to come:
- have only one SwitchModel per model instead of one per tab
- only do the update work if something has changed
* [Companion] Model editor Setup panel: Prevent bogus modification signals, eg. when populating protocols box or when removing focus from some fields w/out the value actually changing; Remove unnecessary function.
* [SetupPanel] Fix comparison warning and also a translation issue with Multiprotocols subtype and option names.
* [ModelPrinter] Add a missing include.
* [Companion] Move RadioData constructor.
* [Companion] Move getCapability(SwitchPositions) to Boards class.
* [Companion] Show custom channel, g-var, & curve names throughout UI; Remove redundant name formatting and other unused functions in ModelPrinter and Helpers; Add CustomFunctionData::isEmpty().
* [Companion] Add LogicalSwitchData::isEmpty().
* [Companion] Fix small bug in HardwarePanel.
* [Companion] Rename logical switches to "LSw##" in selections lists to avoid confusion with "L#" and "LS" hardware controls; remove unused RotaryEncoderString().
* [Companion] Introduce new Boards class to further consolidate hardware metadata and remove some globals.
* [Companion] * RawSource::toString() and RawSwitch::toString() can now return custom hardware names (if given a GeneralSettings object) for the following types (respectively):
SOURCE_TYPE_STICK, SOURCE_TYPE_SWITCH, SWITCH_TYPE_SWITCH, & SWITCH_TYPE_MULTIPOS_POT;
* RawSource::isPot() and isSlider() can now return their own index position in potConfig[]/sliderConfig[];
* Switch indicator strings can be localized if necessary.
* [Companion] Refactor model printers to use new RawSource/RawSwitch capabilities; Simplify model-to-printer mapping scheme in multimodelprinter; Use const ModelData pointer.
* [Companion] Refactor how RawSource and RawSwitch selection combo boxes are populated, using cache-able data models instead of direct manipulation; Refactor some other Helpers function into their own namespace.
* Cosmetics & forgotten qualifier.