Commit Graph
260 Commits
Author SHA1 Message Date
Peter FeerickandGitHub 27f0d043d0 [Companion] More direct donation link 2021-11-05 20:23:19 +11:00
Peter Feerick 68335304a8 Update Companion donation URL
Resolves #913
2021-11-05 12:23:19 +10:00
Peter FeerickandGitHub 47dac14b2f Add codename define, update radio version screens and tweak companion (#747)
* Add codename deffine and update all radio version screens

* Move string, make const and formatting

* Missed parentheses around version number

* Add codename to Companion

* Replace edge-tx.org with edgetx.org

* Change EdgeTX website http links to https
Also consistent URL

* Update copyright string
Leave second version for future years
2021-09-18 20:35:31 +10:00
Neil HorneandGitHub a9812688b0 Companion 2.5 (#555)
* Introduce yaml in Companion

* EdgeTX Companion
Replace some OpenTX refs
Data conversion to v220
Update Timers ui to cater for mode field split

* Fix some simulators crashing when started from Companion

* Disable firmware and app update checking and downloads from companion

* Some more rebranding

* Disable manual download actions and another rebrand

* Fix cmake warning

* Fix mode ON conversion gtests and enable switch in model edit

* Stop update message when updates turned off

* OpenTX #8580 Fixes missing negative sign for telemetry sources

* OpenTX #8604 fix curves tooltip colors

* OpenTX #8616 Fix release notes url references

* OpenTX #8548 Align file sync folder references

* OpenTX #8548 Link field once

* OpenTX #8550 Confirmation prompt before write models and settings to radio

* OpenTX #8550 Translate strings

* Title and splash images

* Change DEB package maintainer

* Start NV14

* NV14 continued

* NV14 sim

* Timer countdownStart data conversion and ui fixes

* Fix screen width

* Merge OpenTX PR 8675

* NV14 sim add computer keys and mouse to activate some functions

* Only allow supported protocols for each module on conversion

* Clear mismatched modules on conversion

* Replace colorlcd theme and layout blobs with detailed data structs in companion

* NV14 has 2 topbar zones

* Fix layout init

* Fix layout init again

* Reset to eepromimportexport.h to main branch

* Import/export does not like enum fields

* Model edit add custom screens tab for color and bw telemetry

* Free memory
2021-09-08 10:56:39 +10:00
Raphael Coeffic 77f6b5a5b1 Fixed Qt includes (sub-path) 2021-08-05 19:27:26 +02:00
Peter Feerick 384130583d Finish ripping out credits.txt by removing from companion24 2021-06-18 11:11:07 +10:00
Sjoer van der PloegandGitHub 9dfe19b0db Fix deprecated function 2021-01-12 22:24:09 +01:00
Ben LyeandGitHub 06d3110d7c Make radio profile choice synchronous in Companion startup (#7822)
* Update mainwindow.cpp

Choose profile synchronously, before update check and file load.

* Prevent profile choice dialog from being resized
2020-07-31 16:24:57 +02:00
DanielGeAandGitHub 5d4f6679e5 Remove Avr boards (#7713)
Remove AVR
2020-06-22 16:52:52 +02:00
Neil HorneandGitHub 9b64561246 Automate Companion About copyright years (#7754) 2020-06-18 23:25:24 +02:00
Bertrand Songis 38f6d5772f Change binaries version (origin added: otx / frsky / tbs / radiomaster) 2020-06-09 10:46:22 +02:00
Neil HorneandGitHub 70507779a8 Option to prompt for radio profile on companion start (#7565)
* Optional prompt for radio profile on companion start

* Sort out timings and use std appdata function

* Change dialog title
2020-05-04 14:44:33 +02:00
Bertrand Songis 88070d1d3e Cosmetics 2020-05-04 10:07:20 +02:00
3djcandGitHub 0f9114c524 Initial TX16S (#7344)
* TX16S initial push - Radio booting, navigation keys ok

* TX16S libsimu

* Please Travis

* Do not start radio on charger power

* USB charger led handling

* Revert "USB charger led handling" until we have proper details

* Pseudo sport power pin

* Please Travis

* tx16s serial debug

* Add tx16s calibration picture

* Review anadir for tx16s, needs to be checked on more radios

* Dump raw multi telem on AUX port

* More work on TX16S

* Fixes

* Compilation fix

* Compilation fix

* Fix Aux Serial power

* Various improvement

* USB charger led handling

* Cosmetics

* Cosmetics

* USB charger led handling

* Add charge indicator on GUI
2020-01-30 17:25:09 +04:00
3djc f8e159ba5f Quick'n'dirty : greyed companion backup radio non implemented option 2020-01-06 16:19:29 +01:00
Bertrand Songis 75a5dfef24 Warnings removed 2019-08-12 14:54:16 +02:00
Andre BernetandBertrand Songis 90f933aab1 Inform on channel / radio not available (#6574)
Inform on channel / radio not available
2019-07-22 15:00:17 +02:00
Bertrand Songis c6aba06a85 Compilation fix 2019-05-17 22:02:51 +02:00
Bertrand Songis 11cb2ea29b Compilation fix 2019-05-17 20:27:16 +02:00
Bertrand Songis e036e3afa1 Companion new error detected on flash (when no device found) 2019-05-17 19:47:35 +02:00
Bertrand Songis d3be834567 Typo 2019-03-27 16:42:12 +01:00
Bertrand Songis 844b270779 Dates updated to 2019 2019-03-27 16:41:15 +01:00
Kilrah 3407f91aa0 Use website for release notes 2019-01-06 10:29:55 +01:00
Max Paperno 13b156402f [Companion] Verify that radio type in chosen profile actually exists, and add warning to the contrary (at startup and also on profile switch); Add/move some functionality to AppMessages and make it classy (todo: rename file). 2018-09-19 06:47:35 -04:00
Max Paperno b6a97318ec [Companion][FirmwarePreferencesDialog] Update the displayed latest firmware version number after a download completes. 2018-07-16 18:38:36 -04:00
Max Paperno 8d00e1dc8c [Companion][MainWindow] Allow aborting version update check network request. 2018-07-16 17:48:19 -04:00
Max Paperno df5722717a [Companion] Centralize download URLs; URLs now based on build major.minor version macros; Remove AVR fw download URL; Make some QStrings cheaper. 2018-07-16 17:36:33 -04:00
Max Paperno 71c5132c57 [Companion][MainWindow] Fix update check progress bar dialog remaining open when unnecessary; Also check for firmware updates even if CPN check fails with error. 2018-07-16 16:54:36 -04:00
3djc 5dd365238e Merge branch '2.2' into 2.3 2018-07-06 07:16:27 +02:00
Bertrand SongisandGitHub e6aea64689 Merge pull request #6006 from opentx/mpaperno/cpn_settings_refact
Refactor Companion settings system
2018-07-05 19:09:47 +02:00
Max PapernoandBertrand Songis d253c3163b [Companion] Delete QNetworkReply after update checks and release notes d-load (prevents leftover open handles, see QNetworkAccessManager docs); Use only one QNetworkAccessManager in MainWindow and properly dispose of it. (#6010) 2018-07-05 19:01:55 +02:00
Max Paperno 66ffa18dce [Companion] Rework SD Sync implementation:
~ Move UI to new FileSyncDialog class;
  ~ Improve UI responsiveness during operation (closes #5005);
  + Add log verbosity option (also helps with UI response);
  + Add several filtering settings in new "extra options" panel (include/exlude patterns, symlinks, recursive, empty folders);
  ~ Exclude patterns ".*" and "System Volume*" by default (addresses #5213, #5106);
  + Sanity check file timestamps when using date comparison, future dates are invalid (addresses #5735);
  ~ Folders are no longer included in file counts (total/created/etc);
  ~ Ignore unreadable files/dirs (also enables NTFS permissions check);
  ~ Switch from QMutex to QReadWriteLock.
2018-06-30 12:03:49 -04:00
Max Paperno 63476c03f3 [Companion] Implement application settings import and export via GUI and CLI. 2018-06-29 20:18:35 -04:00
Max Paperno 988c837011 [Companion] Refactor settings system (CompStoreObj/AppData/etc):
~ All stored properties are fully dynamic, using an extended version of the Qt Property System;
 ~ CompStoreObj is now QObject subclass;
 + All properties now have change notifier signals;
 ~ Do not store default values in settings;
 + Add _reset() and _default() functions for each property;
 + Settings import now ignores all non-existent properties automatically;
 + Add settings export functions;
 + Add more version macros;
 ~ Remove template functions;
 ~ Move DownloadBranchType and create NewModelAction enums and register with Qt meta system;
 ~ Multiple efficiency and optimization changes (const functions, literals, etc).
2018-06-29 20:00:10 -04:00
3djcandBertrand Songis a9e88c272a Remove misleading RC99 (#5982)
Replace 'release' by 'version' in a few places
2018-06-23 09:07:13 +02:00
Max PapernoandBertrand Songis f018425e12 [Companion] Qualify all translation strings (#5557)
* [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.
2017-12-25 13:36:34 +01:00
Max Paperno a16e64420e [Companion] Recent files menu: show full path of each file in status bar and tooltips. 2017-12-19 21:21:20 -05:00
3djcandBertrand Songis 04547a9206 Merge companion and firmware notes, and get them from the server (#5530) 2017-12-18 23:02:40 +01:00
Max PapernoandBertrand Songis 0dbad182e8 [Companion] Radio conversion improvements (#5534)
* Move MultiposPots & MultiposPotsPositions capability lookups and getAnalogInputName() to Boards class.

* Add RawSource::isAvailable() and RawSwitch::isAvailable(); Add board type param to various RawSource lookup functions.

* Add CustomFunctionData::toString(), FlightModeData::toString(), FactoryInstalledPots board capability, MAX_SWITCH_TYPE, & break out GeneralSettings source/switch defaults to own function.

* Add RadioDataConversionState class for tracking conversion actions.

* Implement RadioDataConversionState handler, add conversion process report, and improve/fix conversion issues:
    * Make sure all switches/pots/knobs have default configs for destination board type;
    * Try to move more custom control names, intelligently;
    * Convert model timers and throttle source;
    * Adjust for Horus 6P switch in place of Taranis S2 knob;
    * Adjust for extra sliders on X12 and X9E to move LS and RS to proper slots as needed;
    * Make sure ALL controls are validated, eg. to always account for extra trims/analogs/switches/etc which don't exist on destination;
    * Properly indicate invalid RawSource::toString() items with "???".

* Allow user to cancel out of file conversions & provide ample warnings if switching radio type/profile with unsaved file(s) still open;
Also: Fix bug with some orphaned MdiChild windows never being deleted; Create static bool Storage::isBoardCompatible(b1, b2).

* Add maxLibQt "stub" (will not compile).

* Add ExportableTableView for better presentation of conversion results table.

* Move getFourCC() and isBoardCompatible() to Boards class.
2017-12-18 22:56:39 +01:00
3djcandBertrand Songis d90ac05d6e One settings to rule them all ! (#5449) 2017-12-01 11:54:30 +01:00
Bertrand SongisandGitHub 0faee13bc3 A 3rd branch for RC compilation (#5441)
A 3rd branch for RC compilation
2017-11-30 11:51:22 +01:00
Max Paperno 0f34bf3850 [Companion] Fix crash when closing main window while model/radio editor is open and cursor is in a field which has editingFinished() event handler. 2017-11-27 07:05:18 -05:00
Arne Schwabe 710e6ddc4c Also use https for nightlies 2017-09-28 15:05:57 +02:00
3djcandAndre Bernet f4ea92d1fc move to https (#5247) 2017-09-28 11:25:09 +02:00
Max PapernoandBertrand Songis 0fc1681d5c [Companion] Improve first use of Companion & upgrade notice (#4940)
* [Companion] On first use of Companion show preferences dialog and new welcome message (closes #4731); Improve detection of new version upgrade & reformat message; Add download link URL to Linux update notice (closes #4774); Fix issue with leftover top-level settings categories when checking for older versions which don't exist; Introduce basic structure for warnings/messages to be suppressed by user preferences (eg. "don't show this message again" option).

* Welcome msg typo fix.
2017-05-23 09:44:47 +02:00
Arne Schwabe 5825a2ec2c remove dubious GNUC and rename 9x refrences 2017-05-13 13:05:47 +02:00
Arne SchwabeandBertrand Songis 355f4b5f92 Also download and open new updates on OS X (#4926)
* Also download and open new updates on OS X

* Cosmetics
2017-05-13 13:03:39 +02:00
3djc 79d9359e56 More release prep 2017-05-13 11:46:13 +02:00
Max PapernoandBertrand Songis c1586b72bb [Companion] SD Sync reworked: (#4906)
* Complete re-write of SyncProcess, now more robust, UI-independent, runs in own thread, large speed boost;
    * Use file hash comparisons instead of byte-level compare with string methods (probable fixes for #4837 and #4848);
    * New pre-sync options dialog with selectable folders and other settings (settings are remembered until app exit);
    * Option to choose sync direction(s) (up/down/bi) and the order in which bi-directional sync runs;
    * Option to choose file comparison mode (timestamp/hash/both) or force overwrite (for one-way sync);
    * Option to set a maximum file size to copy;
    * Option to do a test run w/out actually copying any files;
    * Better reporting of progress, total counts (copied/updated/skipped), and errors, with color coding;
    * Much more reliable to cancel long-running/hung copy process;
    * ProgressWidget can now display rich-text in the text browser, added some new functions for usage;
    * Misc. small layout tweaks to ProgressDialog and ProgressWidget to make them behave/look better;
2017-05-08 20:51:26 +02:00
Max PapernoandBertrand Songis 96ccb4cb3f [Companion] Fix a few translations. (#4890)
* [Simulator] Fix keymap translations.

* [Companion] Fix translations in file type selector dialogs.

* [Simulator] Fix inadvertent help text delimiter change.
2017-05-06 18:04:51 +02:00