James Turner
d52f1b5d47
Improve in-sim launcher behaviour
...
Restrict the UI to the pieces which make sense.
2020-03-17 10:00:17 +00:00
James Turner
7688007c68
Guard against potential cause of crash:
...
https://sourceforge.net/p/flightgear/codetickets/2138/
2020-03-17 10:00:12 +00:00
James Turner
2dcf9c30bb
Further path -> UTF8 fixes for Windows
...
Requires corresponding SimGear change. With this last round, we work
with FGData on non-Latin1 path on Windows. (Final fixes are for
Nasal io.readfile, which needed io.stat to work, and SGSky allowing
correct SGPath use)
2020-03-15 15:00:55 +00:00
James Turner
7e9930e871
Move fnt code from PLIB into 3rdparty
...
This enables us to fix TXF loading to use UTF8 paths, required for
handling non-ASCII paths on Windows.
2020-03-13 12:21:56 +00:00
James Turner
27410761f3
Lots of UTF8 path correctness fixes
2020-03-12 14:23:44 +00:00
James Turner
40a85cae28
Launcher: fix some warnings, maybe a crash
...
Avoid binding loop warning, and change logic around re-starting the
aircraft dirs scan, to hopefully clarify the crash Brendan and others
are seeing.
2020-03-10 16:10:55 +00:00
Lars Toenning
d14073cd24
[swift] Adding aircraft to property tree and map
2020-03-10 14:08:28 +00:00
James Turner
de172de5b3
Launcher: Fix a typo breaking path re-ordering
2020-03-10 10:28:56 +00:00
James Turner
410c249ba8
Launcher: enable/disable all add-on types
...
Allow enable/disable in the UI of everything in the ‘add-ons’ page of
the launcher.
2020-03-09 16:16:50 +00:00
James Turner
ff70578d57
Launcher: Fix a QML warning on startup
2020-02-24 11:33:05 +00:00
James Turner
a3731875a1
Make Launcher ratings settings persistent
2020-02-24 11:33:05 +00:00
James Turner
f76709a853
Save settings on Launcher window close.
...
Patch by Slawek Mikula, from:
https://sourceforge.net/p/flightgear/codetickets/2158/
2019-12-17 22:47:50 +00:00
James Turner
ba36bd90e0
Launcher respects —enable-fullscreen arg
...
Patch by Slawek Mikula from:
https://sourceforge.net/p/flightgear/codetickets/2162/
2019-12-17 22:40:25 +00:00
Julian Smith
10414fada4
src/GUI/new_gui.cxx: NewGUI::setStyle(): remove old nodes before copying across new style.
...
Previously old nodes that weren't in the new style, would be left in place,
leading to a confusing mix of styles sometimes.
2019-09-04 10:55:43 +01:00
Edward d'Auvergne
34a6cb3c74
SGSubsystem classes: Registration of all subsystems.
2019-07-01 14:51:32 +02:00
Edward d'Auvergne
fb5c36fc82
SGSubsystem classes: Renaming of the subsystem ID variables and functions.
2019-07-01 14:27:30 +02:00
Edward d'Auvergne
7a6e63ddb9
SGSubsystem classes: Subsystem and subsystem group API declaration standardisation.
...
This is a cleanup commit.
2019-07-01 14:27:30 +02:00
Edward d'Auvergne
60a2444766
SGSubsystem classes: Whitespace standardisation of the declarations.
...
This is a clean up commit prior to the subsystem API standardisation to simplify
the diffs. It includes all SGSubsystem and SGSubsystemGroup derived classes.
2019-07-01 14:27:28 +02:00
James Turner
79562bcf31
Avoid crash on Cmd-Q exit of the app on macOS
...
On this code path, AppKit uses exit, rather than letting main run as
normal. We handle most things via C++ destructors, which do run, but
Qt is happier if we clean it up explicitly.
2019-04-17 22:53:10 +01:00
James Turner
e2ed179f4c
Temporarily log out UI languages on launcher start
...
This is to help with diagnosing:
https://sourceforge.net/p/flightgear/codetickets/2121/
2019-04-17 15:11:23 +01:00
James Turner
4d562e2a90
Check existence of an OpenGL extension
2019-04-11 11:36:22 +01:00
James Turner
6860627dea
Tweaks to launcher diagrams, to debug parking clicks
...
Adding some info/qInfo log output, to try and diagnose missed clicks
reported by some users.
2019-03-23 14:46:03 +00:00
James Turner
669a80216d
Launcher: fix aircraft switching on update
...
Remove some obsolete code which caused the current aircraft to get
switched unexpectedley when updating
2019-03-20 17:09:12 +00:00
James Turner
d5ce11ce55
Merge /u/dancliff/flightgear/ branch launcher_addons_merge into next
...
https://sourceforge.net/p/flightgear/flightgear/merge-requests/151/
2019-03-04 15:20:44 +00:00
Dan Wickstrom
1e858767b1
Modifications to launcher to load Add-on modules and view related metadata. Each module can also be selectively enabled with a checkbox. Fixes also submitted by Florent Rougon.
2019-03-03 12:59:48 -05:00
James Turner
87f63c4cec
Property list: show group id/name in verbose mode
...
Patch from Henning to simplify debugging canvas trees
2019-03-03 11:56:52 +00:00
James Turner
dee1998979
Less Boost.
2019-02-06 17:36:36 +00:00
James Turner
a9a49bc2e6
Unboosting files
...
Use simgear::strutils replacements in places, C++11 features in others
2019-02-04 15:20:22 +00:00
James Turner
8c43b622e5
Launcher: fix handling carrier argument
2019-02-03 12:12:00 +00:00
danw
1c4e146a43
Modifications to the Launcher to enable the management of Add-on modules
2019-02-02 15:46:09 -05:00
Richard Harrison
7ab07eb1c0
Ensure fonts list cleared in destructor.
...
This is part of work trying to track down a segfault that is caused after a replay session (F-15).
2019-01-26 18:20:52 +01:00
Richard Harrison
58314f359a
Change screenshot filename to have date time
...
Format fgfs-YYYYMMDDHHMMSS[-#] where the # is for the rare case when there are multiple screenshots per second.
The change makes the filenames sortable based on date and slightly improves run time performance when there are a lot of screenshots in a particular directory
2019-01-20 23:26:58 +01:00
James Turner
4deb61d0af
Map dialog draws heliports now!
...
Patch from Daniel Wickstrom, with some style changes by James
2019-01-15 11:32:57 +00:00
James Turner
758518b248
Launcher: improve flight plan leg display
2019-01-12 23:40:50 +00:00
James Turner
6de242f184
Launcher: hook up ‘available parking’ option
...
Many cases of this option were not setup correctly, fix this so it
works as advertised.
2019-01-08 23:21:28 +00:00
James Turner
1e104bbdfe
Version the FG-root setting
...
This ensures fresh installs will see an empty value, and hence
default to the shipped version.
2018-11-25 14:06:51 +00:00
James Turner
4956386b84
Launcher: disable magnetic bearing/headings
...
These don’t work right now (FG doesn’t support passing them in via
arguments) so disable them in the UI to avoid confusion.
2018-11-25 13:51:06 +00:00
James Turner
0239d5ef44
Grid-view for the launcher
2018-11-14 17:11:13 +00:00
James Turner
2cd3036488
Improved launcher metric units support
...
For our Russian friends, especially. Also add preliminary support
for above-field elevations (needs FG changes)
2018-11-07 09:39:54 +01:00
James Turner
8cda76e92b
Fix a launcher console warning
2018-11-07 09:39:54 +01:00
James Turner
68813d1c57
Fix missed case in ModelDataExtractor
...
handle QList<QObject*> case, needed for location:airport runway
and parking selection. Thanks to Jonathan Redpath for the catch.
2018-11-07 09:39:54 +01:00
James Turner
66d635dc9c
Launcher: fix a bug when using MP server 0 or 1
...
Due to how the popup menu was refresh, using MP servers at index 0 or 1
didn’t work correctly. Change some logic and add a helper to make this
work reliably, without a second Repeater and dummy properties.
2018-10-25 12:10:42 +01:00
James Turner
196aa472fb
Fix crash on Ctrl-V in PUI
2018-10-23 11:00:40 +01:00
James Turner
f819750287
Launcher respects --language arg if set
2018-10-12 11:37:39 +01:00
James Turner
1613b44c6a
Text fix in ‘Install custom scenery’ dialog
2018-10-12 09:11:20 +01:00
Florent Rougon
4ee9021eab
Launcher: print the locale name when translations were successfully loaded
2018-10-11 22:37:33 +02:00
James Turner
d7d37ae137
Launcher: further flight plan tweaks
...
Various improvements based on discussion here:
https://sourceforge.net/p/flightgear/codetickets/2066/
2018-10-09 17:14:23 +01:00
James Turner
180cf66077
Launcher: tweak sidebar icons
2018-10-09 10:25:50 +01:00
James Turner
b3bcfb084e
Fix linux build: missing <cassert> include
2018-10-08 16:04:51 +01:00
James Turner
c450fa9f4e
Flight-plan: improve GPX loading
...
- support elevation values
- parse the first/last points in case they are airports, and set
as the plan airports in this case.
https://sourceforge.net/p/flightgear/codetickets/2066/
2018-10-08 15:09:46 +01:00