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
James Turner
22c5c456cc
Launcher flight-planning: UI to sync initial location
...
Show a prompt message to ensure the initial startup location matches
the flight-plan departure airport.
https://sourceforge.net/p/flightgear/codetickets/2068/
2018-10-08 13:31:33 +01:00
James Turner
290261d1ae
Launcher flight-planning, allow GPX loading
...
https://sourceforge.net/p/flightgear/codetickets/2067/
2018-10-08 13:30:46 +01:00
James Turner
28f55889b0
Fix launcher ratings order and labelling
...
Had a dumb string naming glitch, and also we didn’t check for the
ordering of ratings being different when dealing with packaged
aircraft.
2018-10-08 12:31:27 +01:00
James Turner
1c08ca0e2d
Launcher: don’t update already updating aircraft
2018-10-04 21:22:05 +01:00
James Turner
1d20913b1f
Fix initial launcher screen state
...
This showed up as environment page controls being active under the
summary logo image. Thanks to Nikolai Verner Christensen for spotting
the bug.
2018-10-03 08:41:50 +01:00
James Turner
40c0710f2b
Change launcher pop-up to support scrolling
...
Use an internal window (instead of a real OS window) for popup choices,
and cap the maximum size. Use a scrollbar when the number of items is
too large, and adjust the position to fit in the window.
2018-10-02 14:19:14 +01:00
James Turner
cce3ae0268
Launcher: tweak aircraft list key handling
2018-10-01 14:22:48 +01:00
James Turner
22bf5eb6e5
Launcher: tweak alignment of thumbnails
...
If the thumbnail is less than 172px wide, centre in the available
space. This ensures consistent alignment of the main content (name
and aircraft description)
2018-09-27 15:23:14 +01:00
James Turner
421a5601c1
Launcher state naming fix (parked vs parking)
...
Ensure both ‘parked’ and ‘parking’ are handled by the launcher display
code and auto-state-selection logic.
2018-09-24 14:52:32 +01:00
James Turner
eb70f5edd4
Mac build fix for updated SDK
2018-09-22 17:23:50 +01:00
James Turner
518d3cbd0f
Tweak launcher update timer to sleep the CPU
...
Fix the launcher keeping the main thread busy all the time (use a non-
zero timeout to ensure the dispatcher sleeps a bit)
2018-09-20 11:03:47 +01:00
James Turner
110aec6039
Tiny code cleanups while doing other changes
2018-09-18 17:34:23 +01:00
James Turner
47d33b5de3
Fix disabled appearance of ToggleSwitch
2018-09-12 12:04:38 +02:00
James Turner
ec488bf204
Launcher: fix missing translation annotations
...
Thanks to Sidi Liang for catching these.
2018-09-09 14:52:54 +01:00
James Turner
f39b81c872
Launcher: update Advanced-weather handling
...
Use the information from Environment/environment.xml to init the
local-weather control properties.
2018-09-07 15:56:10 +01:00
James Turner
e7f2c1439c
Fix some integer signed-ness warnings
2018-09-06 17:12:12 +02:00