Commit Graph
60 Commits
Author SHA1 Message Date
Andre Bernet af34a1568f [companion] Don't disable standard buttons on printdialog 2017-01-05 23:01:28 +01:00
Max PapernoandBertrand Songis e90bd0fd70 Enable Windows build with Qt5.5+ & MinGW-w64 (#4150)
* [Windows][MinGW] Update some WIN32 macro checks in source code to be MSVC-specific (not needed for GCC-based builds).

* [build] CMakeLists updates:
  Adjust for Windows MinGW builds: now fully compatible with Qt5.5+ and MinGW-w64 toolchain (included in Qt installs);
  Add option to specify path to required libraries/includes (instead of hard-coding `c:\programs`);
  Add package check for Python and use found executable name;
  Remove custom FindSdl package handler in favor of stock (and improved) CMake one (still works with Windows);
  Do not force SIMU_AUDIO and LUA_COMPILER in SIMU builds (leave it up to user);
  Add SIMU_LUA_COMPILER option specifically for SIMU builds (default = ON);

* [build][Windows] Rewrite/Fix Windows Companion `install` target, with two options:
    a) just copy supporting Qt and c++ DLLs to build folder so programs can be quickly be run from there (this is default and similar to the old behavior);
    b) full installation to CMAKE_INSTALL_PREFIX path, including all binaries, supporting DLLs, language files, and OTx utilities.
  Option b) can be selected with new WIN_DO_FULL_INSTALL parameter;
  Also cleans up the Linux install a bit and consolidates the OS X parts;

* [simulator][Windows] Add option to build Windows simulator with system console/terminal enabled (both standalone and when launched from Companion). Mostly useful for debug as it gives output messages much sooner in the startup process than the current debug console. Also helpful because you don't have to open it manually on every launch, and it remembers last window position and size. Possible candidate for a user-selectable runtime option in the future.

* [Windows] Fix MSVC build issues.

* [build] More build fixes:
  Use a customized FindSDL.cmake script again due to bugs and deficiencies in the official version (based on script from CMake v3.7);
  Fixes missing SDL DLL error in NSIS installer);
  Use string for Timers option (checkbox in GUI is confusing);
  Remove an unused variable.

* [simu][Windows] Fix f_getcwd() cutting off too many characters (fixes SD browser interactions).
2016-12-24 00:11:07 +01:00
Bertrand Songis b0f5b646af [Companion] Copyright added to all files 2016-11-23 16:40:47 +01:00
Bertrand Songis 5f9737fc70 [Companion] Old EEPROM support removed 2016-11-23 16:40:47 +01:00
Damjan Adamic 365d2b6c58 Fixes #2896: draw curves without using temporary disk files 2015-09-19 18:19:08 +02:00
Bertrand Songis ed05174fc8 PrintDialog / CompareDialog refactoring 2015-08-23 09:54:15 +02:00
Damjan Adamic 4e4d0fe883 Re #1063: Deduplication of code for Inputs, Mixers, Logical Switches and Special Functions 2015-07-28 20:57:06 +02:00
Bertrand Songis 7e7a762617 Fixes #2535 2015-07-24 09:31:04 +02:00
Romolo ManfrediniandRomolo Manfredini e549224c53 Fix for FM trims 2015-04-26 11:57:28 +02:00
Romolo ManfrediniandRomolo Manfredini 6a1f3d5d96 Trainermode in printdialog 2015-04-26 11:57:27 +02:00
Romolo ManfrediniandRomolo Manfredini 2fdde52fcd printdialog - internal and external modules, skip not defined curves in printing 2015-04-26 11:57:27 +02:00
bsongis 38a639cef6 Refactoring 2014-12-16 21:17:39 +01:00
bsongis f2751979e6 Removes one warning here 2014-11-20 20:10:57 +01:00
bsongis ef7bbea285 Global Functions now integrated inside Companion - Fixes #502 2014-09-18 15:32:55 +02:00
bsongis 2f8b9347a4 Global functions (only Firmware) - saves 20bytes flash on 9X stock 2014-09-18 11:44:09 +02:00
bsongis 3ada9f7cf5 Companion PrintDialog bugfixes 2014-08-08 18:08:42 +02:00
Damjan Adamic 8bd2c120d6 Re #1567: cleanup 2014-08-03 19:27:02 +02:00
Damjan Adamic 741ef45f3e Re #1567:
introduced generateProcessUniqueTempFileName() which is used everywhere we need temporary file
renamed unlink() into qunlink()
fixed missing deletion of curve pngs in print dialog
2014-08-03 19:21:46 +02:00
Damjan Adamic 4103adf75d Re #1567: introduced unlink() function that takes QString parameter 2014-08-03 18:03:13 +02:00
bsongis 62fca3f8b6 Fixes #1534 2014-07-21 20:09:39 +02:00
bsongis 58f81b193b PPM polarity was inverted in Companion PrintDialog and CompareDialog 2014-07-05 23:17:57 +02:00
bsongis ed90015503 Fixes #1272 2014-06-19 11:59:18 +02:00
bsongis e6391f04c4 Firmware options refactoring. It allows
FirmwareInterface::getCapability() to know which options are enabled in
the preferences. The Heli tab and the GVars are displayed according to
these options.
2014-06-18 10:43:35 +02:00
bsongis 2094e87da5 'phase' renamed to 'flight mode' everywhere in the code 2014-06-17 10:59:00 +02:00
bsongis 2fbd68ecb3 Google analytics removed. Completely wrong, we use the compilation
server numbers instead.
2014-06-13 10:17:36 +02:00
Damjan Adamic 5a0f154876 Fixes #1215 2014-06-08 19:31:02 +02:00
Damjan Adamic d641147ef0 The "No DR/Expo" was (after conversion from 215) showing in mixes for Taranis. Taranis does not have this setting. 2014-06-01 16:01:35 +02:00
bsongis b736517986 More statistics 2014-05-27 16:21:19 +02:00
bsongis fdde364307 Refactoring 2014-05-27 15:17:39 +02:00
Damjan Adamic c5a526f3b3 Merge branch 'next' 2014-05-05 22:49:44 +02:00
Damjan Adamic 77bafb5364 Converted CR back to CRLF. SmartGit did this to me previously when merging. 2014-05-05 22:41:33 +02:00
Damjan Adamic 5316931fa1 Merge branch 'next' 2014-05-05 22:37:04 +02:00
Damjan Adamic 61addd3d4e Merge branch 'next' 2014-05-05 22:13:24 +02:00
Damjan Adamic b9ee1d5dee Sorted fade times for printPhases() 2014-05-05 21:51:56 +02:00
Damjan Adamic 97bbdd3be1 More compaction of printInputs() 2014-05-05 21:04:50 +02:00
Damjan Adamic b9b4e441e7 renamed printExpo() to printInputs() and compacted code, output is the same. 2014-05-05 21:02:26 +02:00
bsongis f178748090 Fixes #986
Fixes #1058
2014-05-05 16:07:07 +02:00
Damjan Adamic 1f3e67f912 Telemetry for Taranis print improvement 2014-05-04 19:52:26 +02:00
Damjan Adamic fe719686d9 Special Functions print improvement 2014-05-04 18:37:58 +02:00
Damjan Adamic 7027d809c1 Logical switches print improvement 2014-05-04 18:21:03 +02:00
Damjan Adamic 8787dd05cd Many improvements of print dialog. Some minor changes in mixes and inputs formatting. 2014-05-04 10:37:49 +02:00
Andre Bernet 7bb54201cb Typos
French translations
2014-04-22 15:06:20 +02:00
bsongis a5085cf7e2 Refactoring continued 2014-04-18 17:20:46 +02:00
bsongis c5ac19a054 Refactoring FirmwareInterface / EepromInterface 2014-04-18 16:27:27 +02:00
bsongis 7d5b876e27 ARM boards now allow 1 blade in Companion. Shift in Stock-9X EEPROM. 2014-03-31 09:58:28 +02:00
Kjell Kernen 838bf165ba Improvement of Bertrands fix for #875 2014-03-27 17:21:35 +01:00
bsongis 6d1ad5d121 Issue #875 fixed 2014-03-27 16:30:04 +01:00
Andre Bernet a2aeaa3d69 Switch assignments -> Special functions 2014-03-23 22:38:57 +01:00
Kjell Kernen cea4c89fe2 Turned down the light green color hue od curve 11, 12, 13 to be more readable.
Fixes #479
2014-03-08 15:25:22 +01:00
Kjell Kernen 2ac79a7791 Most icons set correctly. Icons only seen in Windows (perhaps Mac).
I have not figured out how to set icons of daughter-windows, only dialogs.
2014-02-20 15:34:13 +01:00