Commit Graph
54 Commits
Author SHA1 Message Date
HarpalykeandAndre Bernet a9c25d1935 Adding a button to the log viewer to save the currently selected session to its own CSV log file (#5379) 2017-11-18 12:14:55 +01:00
Max PapernoandBertrand Songis 1eead1504c Clean up build warnings (#4169)
* [build][OSX] Fix clang warnings.

* [build][OSX] A few more warnings taken care of.

* [build] Fixed yet more build warnings across all platforms.

* [build] Fix final warning due to bad CMake flag.

* [build] Remove unused variables as requested, fix indent.

* Fix output display limit type for 8-bit targets.
2016-12-30 18:16:11 +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
Damjan Adamic ff2fdacfb2 Fixes #3872: Companion export to Google Earth now converts feet to meters if GPS altitude is logged in feet. 2016-10-31 11:58:35 +01:00
Bertrand Songis e8f043921f [Companion] Warning removed 2016-10-21 08:37:05 +02:00
Damjan Adamic 5157a9f33c Fixes #3843: GPS logging in decimal degrees format. Companion export to Google Earth fixed. 2016-10-05 17:57:02 +02:00
Damjan Adamic 7522e54c83 More decimal places for small climb rates. 2016-08-28 11:38:38 +02:00
Bertrand Songis 43d618a1de Cosmetics 2016-07-22 18:16:50 +02:00
Damjan AdamicandBertrand Songis c6f13de505 Log viewer improvements (#3442)
* Added:
 * max altitude
 * two cursors for time/altitude measurement

* Fix if multiple altitude related telemetry items are selected (only put cursors on the first one)
2016-04-29 18:59:39 +02:00
Damjan Adamic 981d133607 Log viewer session finder fix (caused by different Qt4/5 behavior of QDateTime) 2016-04-23 20:40:18 +02:00
Bertrand Songis aec2170e7e Move to Qt5 and Qt5Multimedia 2016-03-10 07:12:44 +01:00
Damjan Adamic 70d67dd7dd Export to Google Earth now working (only) with the new telemetry fields (GPS, GAlt and GSpd) 2015-08-01 10:53:06 +02:00
bsongis e1dfb15ba9 Fixes #2546 2015-07-24 10:42:12 +02:00
Damjan Adamic 64315baf3a Added session duraton information in Log Viewer 2015-06-29 20:38:20 +02:00
Damjan Adamic c0afcb51f7 Fixes #2326: Google Earth export GPS glitch filtering and lat/lon synchronization (ported from master) 2015-06-19 18:40:42 +02:00
Grieb 546aa42f56 logsdialog.cpp: removes unused function. 2015-05-21 22:08:47 -03:00
Grieb 3609e2df56 Log Viewer: add a second legend and reference to axes in the legends. 2015-05-21 22:08:47 -03:00
Grieb 46ccd15924 Log Viewer multi-axes. Fixes #2267. 2015-05-21 22:08:46 -03:00
Grieb 22dab11ccf No real changes, just preparing for multi axes in Log Viewer. 2015-05-21 22:08:45 -03:00
Grieb 7f4567c165 Solves item 2 of #2267. And add top/botton margin in graphs. 2015-05-21 22:08:44 -03:00
Grieb 99ee35f88c [companion][logsdialog]Small glitch when loading a second file. 2015-04-28 09:48:11 -03:00
Grieb 647693909a Fix bug found by @projectkk2glider: X axis was messed up in fly sessions. 2015-04-25 14:11:52 -03:00
Grieb a1d9e31bac [companion][logsDialog]Removed some old comented out code. 2015-04-21 22:50:48 -03:00
Grieb da62ac501f [companion][logsDialog]A 50% improvement performance on open file. 2015-04-21 12:47:29 -03:00
Grieb a341c7f4f2 [companion][logsDialog]Two recomendations from QCustomPlot for performance. 2015-04-14 15:52:45 -03:00
Grieb bf7c083590 [companion][logsDialog]Fixed last commit performance decrease when closing log viewer. 2015-04-14 14:18:07 -03:00
Grieb 5707e89ddd [companion][logsDialog]Improved, a bit, performance when opening a new log file. 2015-04-14 12:37:17 -03:00
Grieb 208f80f07e [companion][logsDialog]Updated qCustomPlot. Made fly sessions selection instantaneous. 2015-04-14 01:39:31 -03:00
Grieb bc60135f86 [companion][logsDialog]Add missing tr(). 2015-04-13 09:58:04 -03:00
Grieb e150310715 [Companion][logsDialog]Fixes for #1863 in next. 2015-04-11 00:49:26 -03:00
Damjan Adamic d732bb836c Fixes #1869: Google Earth additional fields exported as strings, support for variable number of columns 2014-12-14 10:05:43 +01: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
Andy Jenkinson bd42cbed33 Fixes #1302 2014-06-20 01:57:53 +01:00
bsongis e9b28898d0 OSX compilation errors fixed 2014-06-05 07:45:34 +02:00
Andre Bernet db419fd459 Reset button in telemetry log viewer (fix #962) 2014-04-12 15:57:32 +02:00
Kjell Kernen d57697460b Cleaned tabs from code. The ones in mainwindow.cpp are mine. The rest come from other contributors. 2014-02-26 15:23:42 +01:00
Kjell Kernen 58d8a99511 Merge branch 'origin/next'
Conflicts:
	companion/src/eeprominterface.cpp
	companion/src/firmwares/opentx/opentxinterface.cpp
	companion/src/mainwindow.cpp
	companion/src/simulatordialog.cpp
	companion/src/xsimulatordialog.cpp
2014-02-20 21:37:51 +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
Kjell Kernen 80ef2b8d38 All function names changed to a consistent standard.
Cleaned up indentation of appdata.h
2014-02-19 14:01:34 +01:00
Kjell Kernen da68c593cf Changed every single QSetting in Companion.
Next step: Function renaming
2014-02-18 23:48:57 +01:00
Kjell Kernen c23a096a73 Almost all global settings wrapped in protective object to guarantee type safety and protect against tag spelling errors (I have found and corrected a lot of those!).
Joystick settings and burner configuration is not yet within the global object.
2014-02-17 23:47:40 +01:00
Romolo Manfredini 125650d230 Google Earth export fixes and proper process startup implementation on MACOS 2014-01-20 20:49:13 +01:00
Bertrand Songis 439cabe83c Another code reduction. Settings are now stored in "OpenTX/Companion",
instead of "companion/companion"
2014-01-20 16:50:06 +01:00
Dvogonen 9fd20a87fe Fixes #511 2014-01-15 21:54:43 +01:00
Dvogonen e5ad887be9 companion9x renamed Companion 2014-01-05 02:23:06 +01:00
Romolo Manfredini 64419ffd3f Companion google-earth export: remove absolute path for icons. 2013-12-30 09:46:34 +01:00
romoloman@github.comandromoloman@github.com aadce547a5 Merge origin/romolo/companion9x_ge 2013-12-29 23:17:02 +01:00
romoloman@github.comandromoloman@github.com 53f48dc487 Allow selection of fields for GE export 2013-12-29 18:19:14 +01:00
romoloman@github.comandromoloman@github.com f31e14153a KML support for logs 2013-12-29 12:12:55 +01:00