Commit Graph
10439 Commits
Author SHA1 Message Date
Sebastien CharpentierandBertrand Songis c545a2f0ed Updated French Translation. (#5580)
* Initial version

* Updated French translation.
2017-12-30 15:44:38 +01:00
Arne Schwabe 7f1dea6129 Silence CLangs warnings so -DWARNING_AS_ERROR does not break the build under OS X 2017-12-30 11:16:35 +01:00
Neil HorneandMax Paperno 96d9ae4776 Model print enhancements - General settings (#5568)
* General model settings enhancements
* General model settings add custom failsafe settings
2017-12-29 06:19:34 -05:00
3djcandBertrand Songis 8ee9199abc R9M : activate automatically MODULE telem when possible (#5553)
* Fix #5543

* Auto activate R9M telem

* Adjust radio ui

* Thx @schwabe

* Stop being stupid ?

* PR rework

* [Companion] Removed "Module Telemetry" checkbox.
2017-12-29 09:47:45 +01:00
Bertrand Songis 3cba3a76a4 Sonar completely removed from Travis builds 2017-12-29 01:14:48 +01:00
Alexander NovikovandBertrand Songis 84d2a22b18 [Companion] Missing "Russian" voice in Radio Settings (#5570) 2017-12-29 01:11:46 +01:00
Sebastien CharpentierandBertrand Songis 8f87a07f62 Check Fr translations (#5567)
* Initial version.

* Check and updated French Translation.
2017-12-28 15:17:49 +01:00
Bertrand SongisandGitHub fa9e829f5d Update CREDITS.txt 2017-12-27 20:31:24 +01:00
Bertrand SongisandGitHub 920faa97d2 Update CREDITS.txt 2017-12-27 09:42:40 +01: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
3djcandBertrand Songis ad0f727880 128x64 Display RAS when needed (#5563)
* Display RAS when needed on 128x64

* AVR compile fixes
2017-12-25 13:34:54 +01:00
3djc 9696284e1d Make server build use 2 threads 2017-12-24 13:36:06 +01:00
Bertrand SongisandGitHub 10d733d312 Update CREDITS.txt 2017-12-23 22:40:29 +01:00
3djc e9c2768cc0 Fix compilation in several languages 2017-12-23 10:36:46 +01:00
Bertrand Songis 4f7aba9c05 Revert "Bsongis/sonar (#5555)"
This reverts commit 7806c20
2017-12-22 20:18:21 +01:00
Bertrand SongisandGitHub 892cece2aa Update CREDITS.txt 2017-12-22 08:05:01 +01:00
Bertrand SongisandGitHub 7cb3f43862 Update CREDITS.txt 2017-12-21 22:13:54 +01:00
3djc 04ab98a634 Fix for stretch cmake in docker environment 2017-12-21 20:47:24 +01:00
Bertrand SongisandGitHub 18ff09d52f Update CREDITS.txt 2017-12-21 18:32:11 +01:00
Max PapernoandBertrand Songis a951292f27 [Companion] Radio data translation/strings (#5554)
* [Companion] Add Qt tr() functions to all radio data classes instead of using generic QObject type.  (no functional changes)

* Small fix for gcc.

* Move more element name string generation to individual classes; settle on nameToString as function name.

* Also put firmware build options translations into Firmware scope.
2017-12-21 18:26:11 +01:00
Bertrand SongisandGitHub 7806c2096d Bsongis/sonar (#5555)
Some sonar issues fixed
2017-12-21 18:25:27 +01:00
3djc b7855cf14d Fix firmware compile 2017-12-21 13:10:50 +01:00
Bertrand SongisandGitHub dfb4153049 Update CREDITS.txt 2017-12-21 07:27:00 +01:00
Alexander NovikovandBertrand Songis 14d5416616 Added: scripts for nightly/rc/release builds (SD card content, Russian voice), Audio normalization, PSV files for TTSAutomate (#5469)
* Added: scripts for nightly build (SD card content, Russian voice), system sounds: done, other sounds: partially
Fixed: gTTS issue with unicode (Cyrillic) chars in command params (gTTS module instead of system command)

* Fixed: gTTS issue with Unicode (Cyrillic) chars in command params (gTTS module instead of system command), for release candidates and release
Changed: SOX params to normalize the audio
Added: "psv" parameter to export list of audio files into PSV format (see TTSAutomate https://github.com/CaffeineAU/TTSAutomate , to generate voice files using TTS engines from Microsoft, Amazon, Google etc)
Added: some extra voice files for RU
2017-12-20 18:30:44 +01:00
Max Paperno 63f6e0c43d Fix Companion build with Qt 5.2. 2017-12-20 11:22:36 -05:00
3djc 8069426b5c Prep 2.2.2N 2017-12-20 13:44:50 +01:00
Max PapernoandBertrand Songis 59a835b1b3 [Companion] Radio data refactoring (#5551)
* [Companion] Refactor radio data classes to own files, out of eeprominterface.cpp.  No functional changes.

* Move files related to refactoring. No functional or code changes.

* Fix clang warning and an include path.

* Fix indents on curvereference.cpp. [ci skip]
2017-12-20 13:31:43 +01:00
Bertrand SongisandGitHub 727da06266 Files refactoring + costmetics (#5552) 2017-12-20 11:03:33 +01:00
Max PapernoandBertrand Songis 38762fb618 Move __attribute__ ((section(s), used)) macro, and cosmetics in definitions.h. (#5549) 2017-12-20 10:19:59 +01:00
3djc aff40dac8d Move a decade forward ! 2017-12-20 09:56:07 +01:00
Max Paperno e097d88ab2 Fix build with CMake < 3.1. 2017-12-20 03:04:50 -05: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
Max Paperno 76ee7cdd7f Fix libsimulator builds, especially MSVC. 2017-12-19 17:58:15 -05:00
3djcandArne Schwabe 0e0ae3c4d1 1 too short (#5542)
* 1 too short

* Let the compiler do it's magic
2017-12-19 18:30:23 +01:00
Max PapernoandBertrand Songis 76ce186bd4 [Companion] Adjust source value ranges and editors in LS/CF/Telemetry (#5437)
* [Companion] RawSourceRange: Fix for timers and RTC; Remove unused "single precision" flag and logic; Add logic for "short" timer handling.

* [Companion] Add TimerEdit class for editing negative times; Implement TimerEdit in LS, CF, and Telemetry (bars) editors;

* [Companion] Refactor LogicalSwitchesPanel for fewer & more efficient updates; Fix newly-added LS not being available in source lists; Fix bug with timer/rtc comparison values getting reset to value of spin box instead of time editor.

* Add forgotten #include.

* [Companion] LogicalSwitchesPanel: Update raw sources list upon screen refresh (fixes #5374); Improve data entry in spin boxes (fixes #5375).

* Make gcc happy.

* [Companion] Set proper RawSourceRange for GVars, trims, mixer scripts, and sticks/switches/cyclic/MAX.

* [Companion] Fix backwards precision/range logic on telemetry sensors offset spinbox; Fix other minor range issues with ratio & offset.

* [Companion] Remove short limit on min/max timer values for LS & telem. bars.

* Switch to TimerEdit in maxLibQt.

* Fix gcc build.

* Remove unused files.

* Caps fix.
2017-12-19 12:17:49 +01:00
Max PapernoandBertrand Songis b69f36afe4 [Radio] Adjust value limits for mix sources and update UI for LSs, CFs & telem. (#5445)
* [firmware][ARM] Adjust some value limits for mix sources and update editing UI for LSs, CFs, & telem. bars:
    * Increase timer limits to +/-8:59:59 when used with LSs, CFs, & bars;
    * Increase Lua script output limits to +/-30K;
    * Trim limits based on extended limit model setting;
    * Limit TX voltage to 25.5;
    * Limit TX time comparison value to 29:59m;
    * Use proper GVar limits (user-configured), display precision, & unit in LSs & telem. bars;
    * Display timer values properly with hours (instead of mmm:ss).

* [firmware] getTimerString() would fail with times >= 100min if hours weren't shown.

* Fix builds w/out GVars.
2017-12-19 12:17:12 +01:00
Raphael CoefficandBertrand Songis 716a91fc0c allow splash image to be loaded from SD on Horus (#5463)
* allow splash image to be loaded from SD on Horus

* added a new menu entry to assign splash screen
2017-12-19 12:15:03 +01:00
Raphael CoefficandBertrand Songis 0d7832b208 Horus bootloader (#5455)
Horus bootloader
2017-12-19 12:13:59 +01:00
Max PapernoandBertrand Songis 908adb4d2b [sim] Cosmetics for switch position macros (also removes PCBFLAMENCO from simuSetSwitch). (#5474) 2017-12-19 12:13:18 +01:00
Bertrand SongisandGitHub 7697bcb087 Update CREDITS.txt 2017-12-19 09:40:59 +01:00
Arne SchwabeandBertrand Songis 975759284d Implement reading firmware on Horus via USB (#5442)
* Add firmware lun target for non EEPROM platforms

* Fix Fat fat tables and make FAT 1024 byte big

* Niceify some constants

* Cleanup (saves 1024 byte of flash) and fix reporting wrong Size of drive

* Silence compiler warning, set right size for flash on X12/X10

* Add firmware.txt/bootload.txt to virtual drive that displays version information

* Report also version of other component (bootloader/firmware)

* Show version also in bootloader and fix F4 platforms

* Save space on X7

* Fix X7 logic

* Compile fix for AVR

* avr-gcc does not like no newline after ifdef

* Really fix avr
2017-12-18 23:19:19 +01:00
Raphael CoefficandBertrand Songis d13e770ac4 improved Horus rotary encoder driver and generic behavior (#5510)
Improved Horus rotary encoder driver
2017-12-18 23:12:29 +01:00
3djcandBertrand Songis 04547a9206 Merge companion and firmware notes, and get them from the server (#5530) 2017-12-18 23:02:40 +01:00
Arne SchwabeandBertrand Songis 7dd32c8878 Implement s.port polling for multi (#5521)
Sport polling is implemented quite low level for regular s.port.
Go another approach for multi and add another multi type for s.port polling
2017-12-18 23:00:03 +01:00
Arne SchwabeandBertrand Songis d0ec3e0266 Fix problem with multi frsky fallback (#5496)
* Fix problem with frsky fallback

* Try to fix code style
2017-12-18 22:58:24 +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
Raphael CoefficandBertrand Songis e63a877ed6 added getRtcTime() LUA function (#5524)
This allows for retrieving the UNIX timestamp kept internally.
2017-12-18 21:04:02 +01:00
3djcandBertrand Songis 4df64695c7 BT Pin code (#5536)
* x7

* add x12 pin code
make strings translatable

* Cosmetics
2017-12-18 21:03:18 +01:00
3djcandBertrand Songis 394bc1689f Massive cleaning (#5538) 2017-12-18 20:54:22 +01:00
Bertrand SongisandGitHub 6839939140 Update CREDITS.txt 2017-12-18 19:41:43 +01:00