Commit Graph
2591 Commits
Author SHA1 Message Date
Bertrand Songis 2c47883cc2 Companion GCC8 warnings removed 2018-08-05 19:33:28 +02:00
Bertrand Songis 49aac252d7 Remaining Phase instead of Flightmode 2018-08-05 13:35:52 +02:00
Bertrand SongisandGitHub bba0e5e00c Merge pull request #6038 from opentx/mpaperno/cpn_src_models
Conitnued RawSource/RawSwitch data models refactoring
2018-08-04 10:19:53 +02:00
Arne Schwabe eaae858a38 Update Multi protocols 2018-08-03 13:21:31 +02: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 989abd017e [Companion][downloadDialog] Canceling the download dialog during download now terminates the active network request and removes the file. 2018-07-16 18:37:00 -04:00
Max Paperno 71fd6dfa47 [Companion][AppData] Fix firmware version storage path when reading. 2018-07-16 18:34:21 -04:00
Max Paperno 8d00e1dc8c [Companion][MainWindow] Allow aborting version update check network request. 2018-07-16 17:48:19 -04:00
Max Paperno 34e1075582 [Companion][AppPreferencesDialog] If not ALLOW_NIGHTLY_BUILDS then either hide nightly channel option, or if user already has it selected then display a warning (in case they also have nightly installed in parallel). 2018-07-16 17:39:22 -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
Max Paperno ca63b92e5b [Companion] Refactor RawSource & RawSwitch data models to abstract the base classes and reduce redundancy; Move data models to own folder. 2018-07-12 13:20:07 -04:00
Max Paperno 70aa7c6ad8 [Companion] Refactor FlightModePanel and TimerPanel to use shared RawSwitch data models instead of one per instance. 2018-07-12 13:20:07 -04:00
Max Paperno 81c33b6432 [Companion] Refactor RawSwitchItemModel and RawSwitchFilterItemModel for better efficiency, does not invalidate whole model on updates (structure is almost identical to the RawSource variants). 2018-07-12 13:20:07 -04:00
Max Paperno b76a0a8789 Minor cleanup on RawSourceItemModel and TelemetryCustomScreen. 2018-07-12 13:20:07 -04:00
Max Paperno ed255ce1c3 [Companion] Updates to use new RawSource data models in UI. 2018-07-12 13:20:06 -04:00
Max Paperno 3b8d177861 [Companion] Start RawSource / RawSwitch data models refactor; Create RawSourceItemModel and RawSourceFilterItemModel. 2018-07-12 13:20:06 -04:00
Max Paperno 7bc59784b5 Merge branch '2.2' into 2.3 2018-07-12 13:09:34 -04:00
Bertrand SongisandGitHub 3f1d09bc68 Merge pull request #6016 from opentx/schwabe/removeAVR
Remove a lot more AVR specific code
2018-07-11 13:19:23 +02:00
Max Paperno 39db1b6537 [Companion][LogicalSwitchesPanel] Workaround for added LSs missing from Sources selector on LS edit page (closes #4917 (again)). 2018-07-10 14:38:00 -04:00
Max Paperno 6110bbce98 Support Companion build with clang-cl on Windows (fw/libsimu not working yet due to compiler-specific macros in that code). 2018-07-09 12:02:26 -04:00
Max Paperno d507dbb5dd Add SIMU_TARGET build option to exclude libsimulator & simu from all/install. 2018-07-09 11:53:38 -04:00
Max Paperno f60d3b80be Exclude Qt rendering engine binaries from Windows Companion install. 2018-07-09 11:48:04 -04:00
Max Paperno e24a736fc9 Merge branch '2.2' into 2.3 2018-07-08 21:01:01 -04:00
Raphael CoefficandMax Paperno e916c6dc9a fixed GPS coords precision in telemetry simulator when loaded from CSV log 2018-07-08 21:00:37 -04:00
Max Paperno 10e6745e21 Don't send telemetry when main simulator is not running. 2018-07-06 15:15:14 -04:00
Max Paperno b2713df6bb Cosmetics. 2018-07-06 14:59:43 -04:00
Max Paperno 23aaee9ecf [Simulator][TelemetrySimulator] Add persistent option to enable simulation when window is opened; Add option to pause simulation on window hide (was always true); Add option to set RSSI=0 on simulation pause to trigger “telemetry lost” alarm. 2018-07-06 14:03:41 -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
Bertrand SongisandGitHub 86b48d8258 Merge pull request #6009 from opentx/mpaperno/cpn_fsync_v2
SD Sync "version 3"
2018-07-05 19:07:10 +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
Arne Schwabe 961c1d60e0 Remove templates 2018-07-05 12:05:55 +02:00
LapinFouand3djc ec49fb9e49 Shorten translation.
(cherry picked from commit 337e224)
2018-07-05 08:44:28 +02:00
LapinFouand3djc 4313d23ba7 Updated French Translation.
(cherry picked from commit 8dda878)
2018-07-05 08:44:19 +02:00
LapinFouand3djc 5a6f3f04e7 Initial version.
(cherry picked from commit eeaab12)
2018-07-05 08:44:13 +02:00
LapinFou 337e224ad3 Shorten translation. 2018-07-02 10:17:25 +02:00
LapinFou 8dda878c62 Updated French Translation. 2018-07-01 18:05:56 +02:00
LapinFou eeaab1268e Initial version. 2018-07-01 18:03:23 +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 a236b4c59b [Companion][ProgressWidget] Improve handling of showing/hiding details text; Speed up addMessage(); Adjust layout size policies. 2018-06-30 10:24:09 -04:00
Max Paperno ff82a575f6 [Companion][AutoLineEdit] Add ability to work with QString data type w/out default validation. 2018-06-30 10:24:08 -04:00
Max Paperno 86fb88cdee [Companion][AutoComboBox] Add updateValue() function in line with other Auto* widgets; Add currentDataChanged() signal. 2018-06-30 10:24:08 -04:00
Max Paperno 316a2508a5 [Companion] Add AutoBitsetCheckBox 2018-06-30 10:24:08 -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
Max Paperno 2869d8574d [SimulatorOptions] Add comparison operators. 2018-06-29 19:47:25 -04:00
Max PapernoandBertrand Songis 71912cfdbd Refactor Companion Windows install and installer targets (#5949)
* [companion][build][Windows] Refactor 'install' and 'installer' targets: Use qtwindeploy to collect Qt dependencies; 'install' with WIN_DO_FULL_INSTALL=YES now really copies everything needed; Simplified NSIS script, now also supports MinGW build; Refactor libeay search.

* Rename nsis input script.

* Fix NSIS input script name in CMakeLists.txt.

* [Companion][build] Create new Windows icon with more sizes; move icon files out of src root.
2018-06-29 08:07:02 +02:00
Max PapernoandBertrand Songis 2eec091ac0 Companion custom functions sound playback fixes (#6000)
* [CompanionIcon] Can now add multiple image files to icon for representing different UI states (checked/active/etc).

* [Companion][CustomFunctionsPanel] Fix sound file locked after playback (fixes #5222, fixes #5997); Refactor play button (fixes #4929); Create new QMediaPlayer on each play and load in "LowLatency" mode instead of stream.
2018-06-29 08:04:45 +02:00
Sebastien CharpentierandBertrand Songis 54e0795e51 Fr Translation update (#5991)
* Initial version.

* Updated French translation.
2018-06-27 16:13:40 +02:00