James Turner
c0d93235de
Fix for launcher always enabling MP
2016-07-15 22:48:37 +01:00
James Turner
d800c49cb9
Custom MP server support.
2016-07-12 16:52:59 +01:00
James Turner
9650cf4e6a
Initial MP support in the launcher.
2016-07-08 09:36:54 +01:00
James Turner
6d0c2070fd
Use future-proof SGPath APIs.
...
Remove uses of .str(), .c_str() and some other methods of SGPath.
Pass SGPath directly where possible, or explicitly convert to the
appropriate 8-bit encoding.
2016-06-28 10:08:38 +01:00
James Turner
16814800ce
Use Paths instead of strings.
2016-06-22 17:36:05 +01:00
James Turner
03ecac9dbc
Work with new SGPath API.
2016-06-22 17:36:05 +01:00
James Turner
95f86b658c
Hide add-ons tab when running launcher in-app
2016-06-08 12:00:35 +01:00
James Turner
7dfe556b4a
Real fix for Mac deployment issues.
2016-05-21 14:00:29 +01:00
James Turner
f2273c7793
Testing if this change broke Mac deployment.
...
Hopefully it didn’t but the time-frame is correct and it’s just
about the only code that happens before QApplication is created.
2016-05-21 10:36:51 +01:00
Alessandro Menti
550dde314f
Launcher: do not launch the simulator when closing the Qt launcher with ESC
2016-04-17 17:54:41 +01:00
Alessandro Menti
0381ba8468
Launcher: disable Close button on the initial progress dialog
2016-04-17 17:53:24 +01:00
James Turner
6095646a62
Prompt the user when the default hangar is missing.
...
In the Qt launcher, when the default hangar isn’t found, show
a hint in the aircraft list.
2016-04-15 17:06:53 +01:00
James Turner
5e4063b761
Move launcher settings store inside FG_HOME
...
Settings now in .ini format, at $FG_HOME/flightgear.org/FlightGear.ini
2016-04-08 10:40:26 +01:00
James Turner
5341d327fd
Restructure paths handling in the launcher
...
- move the dialog into a new ‘add-ons’ tab
- separate out ‘restore settings’ from selecting a new fg-data
- actually relaunch the app
2016-04-08 10:26:34 +01:00
James Turner
5baca8598f
Improve download-dir behaviour.
...
When set on the command line, will be used for aircraft packages. When
set in the Qt launcher, will also be used for aircraft downloads at
all times.
When changing the path in the launcher, the set of aircraft catalogs
is refresh automatically. Note the default catalog may need to be
re-installed.
2016-03-24 15:10:06 +00:00
James Turner
733e3b3f0c
HTTP subsystem has a default name.
...
Switch to using type-safe accessors now.
2016-03-24 15:08:38 +00:00
James Turner
cbf16b7966
Fix copy-paste bug setting season in the Qt guy
...
Spotted by Adrian Serrano!
2016-03-22 10:56:05 +00:00
James Turner
74f17d2882
Fix missing menubar on Mac in some setups
...
- Only clear the OSG ‘pose as standalone’ flag when we really show
a dialog, as opposed to when we /might/ show.
Tested:
- Qt build using launcher
- No Qt build
- Qt build but launcher not requested
2016-03-19 14:46:11 +00:00
James Turner
1aa6482a59
Fix bug #1845 , closing the Qt launcher
...
Intercept the close event and quit the app instead of continuing to
run the main FlightGear application.
https://sourceforge.net/p/flightgear/codetickets/1845/
2016-02-24 21:50:48 +02:00
James Turner
c72309360e
Defensive handling of locales.
...
- Use setlocale() to ensure consistent handling of locales and
string handling irrespective of whether or not QCoreApplication
is invoked. Forces a the C locale for numerics and collation,
since many pieces of FG assume this.
2016-02-02 20:44:46 +00:00
James Turner
d81d353940
Improved fg-root control from the Qt Launcher
...
- add a button to the main dialog, explaining how to adjust the
fg-root path via the GUI
- tweak the GUI flow to support explicitly changing the path even
when the default path is acceptable.
2016-01-18 20:06:43 -05:00
James Turner
e32b02b28f
Launcher: fix slot name for old-style syntax
2016-01-12 17:25:54 -06:00
Erik Hofman
f19c8ac05d
Apperently maybeRestoreAircraftSelection() needs to be a slot
2016-01-11 09:46:16 +01:00
James Turner
d10d279064
Launcher finds parking positions from scenery
...
- change launcher to examine the scenery paths and hence load
ground-net files for airports to populate parking data.
- refactor ground-net XML parsing to use FGGroundNetwork only, not
AirportDynamics.
- change parenting of GroundNetwork to Airport, since it contains
immutable data now.
2016-01-10 16:38:01 -06:00
James Turner
4befe0e6ea
Launcher: Maintain aircraft selection better
...
- when launching or toggling settings, try to keep the current
aircraft selected and in-view.
2016-01-10 13:47:57 -06:00
James Turner
b0ee3f98f3
‘only show installed checkbox’ for Qt launcher
...
- will be replaced when I think of a prettier UI, but this
feature is important to have for now.
2016-01-10 12:56:46 -06:00
James Turner
359f924ec9
Package variants working.
2016-01-03 20:58:03 -06:00
James Turner
cec1de6219
Use a transaction when indexing polylines.
2015-11-29 14:18:30 +00:00
James Turner
5e4f212b84
Remove some debugs
2015-11-27 23:25:24 +00:00
James Turner
242e79f5e9
Fix some coastline issues.
2015-11-27 23:02:42 +00:00
James Turner
bfb539f090
Launcher shows polygon/polyline data
2015-11-27 23:02:42 +00:00
James Turner
6a41353bdc
Remove accidentally duplicated functions.
2015-11-26 23:48:16 +00:00
James Turner
f39fc0f086
Remove a stray debug.
2015-11-26 23:48:16 +00:00
James Turner
3ccea681ea
Fix merge noise
2015-11-23 01:19:03 +00:00
James Turner
e356e691b2
Cap number of airports displayed in diagrams
...
- restrict heliports / seaports by aircraft type
- prioritise by runway length
- clean up airport label names
2015-11-23 00:48:21 +00:00
James Turner
1010caeaf6
Remove some debugs.
2015-11-23 00:48:20 +00:00
James Turner
19a8fc8822
Fixing launcher save/restore of settings.
2015-11-23 00:48:20 +00:00
James Turner
a39df48772
Navaid diagram for launcher
...
- work in progress, needs labels
2015-11-23 00:47:01 +00:00
James Turner
c277395010
Start-paused for in-air starts
2015-11-23 00:47:01 +00:00
James Turner
09cac14089
Work on LocationWidget for Qt launcher
2015-11-23 00:47:01 +00:00
James Turner
56d7d049bc
Launcher GUI for in-air / navaid starts
2015-11-23 00:46:25 +00:00
James Turner
1e213201cf
Work on the launcher
2015-11-23 00:45:21 +00:00
Rebecca N. Palmer
9d0fe40a45
QtLauncher::initApp: store argc to avoid crash
...
As QApplication only stores a reference to argc, it may crash if
the argc passed to it goes out of scope. (One way to trigger this
is to pass an invalid --fg-root, triggering an initApp call from
Options::setupRoot.) Copy argc to prevent this.
2015-11-22 21:05:09 +00:00
James Turner
b49dd70de9
Remove some debug noise
2015-09-27 23:13:18 -05:00
James Turner
43bcc85919
Correct handling of updating packages
2015-09-27 19:44:29 -05:00
James Turner
18a898f5f9
Lots of work on aircraft package support
2015-09-20 19:46:35 -05:00
James Turner
67352a1a52
Fix SIGSEGV with Qt launcher on Linux.
...
- patch from Dirk Dittmann
2015-08-02 18:33:05 -05:00
James Turner
9f5a4609d6
Launcher: airport diagram runways can be clicked
...
- indicate selected runway visually
2015-06-05 14:27:23 +02:00
James Turner
4f15e1a840
New PathsDialog, for managing locations.
2015-04-10 15:11:14 +01:00
James Turner
aa20e0acd8
Work on new download-dir option
...
- simplify management of a single, user-facing
location for large downloaded data.
2015-04-10 15:01:54 +01:00