James Turner
1ca5ceb318
Launcher can see install Airports/ data.
2016-08-19 12:12:02 +01:00
Rebecca N. Palmer
db825d3119
fix "QObject::connect: No such slot
...
NaturalEarthDataLoaderThread::onFinished()" error message
2016-08-15 23:10:06 +01:00
Erik Hofman
bd9e43e613
Fix a problem for MSVC
2016-08-12 11:48:34 +02:00
Rebecca N. Palmer
63ab28f0e6
QtLauncher: fix build with Qt < 5.4
2016-08-11 22:32:29 +01:00
James Turner
a60d07ea9c
Incremental insert of NE data to the index.
2016-08-09 09:38:54 +01:00
James Turner
7cebc76b9d
Async loading of NaturalEarth data for launcher.
2016-08-08 23:13:57 +01:00
James Turner
8577d74430
Move launcher summary to a separate tab.
...
This is an experiment to reduce the vertical height needed by the
launcher.
2016-08-08 17:47:09 +01:00
James Turner
ffdf542871
Launcher: fix ‘midnight’ time of day option.
...
TimeManager uses ‘midnight’ so we need to do the same.
2016-07-31 23:24:51 +01:00
Erik Hofman
c17c3595c8
Set /sim/rendering/initialized to true at the appropriate moment and use it instead of /sim/initialized for the messagebox
2016-07-21 13:55:31 +02:00
Erik Hofman
08916602bb
Make sure FlightGear is initialized before using the PUI dialog box, dump the the console otherwsise
2016-07-21 13:42:09 +02:00
Erik Hofman
e2216891be
Move the PUI dialog code to James' new messagebox code and use that one instead for SG_LOG_POPUP to get a native popup window if available and fall back to a PUI one if not
2016-07-21 08:56:05 +02:00
James Turner
4e239d2628
Fix persistence of on-ground location.
2016-07-16 18:23:48 +01:00
James Turner
07109d79f5
Improve rendering of longer parking names.
2016-07-16 17:49:12 +01:00
James Turner
e765d1c0fa
Enforce a minimum pixel width for runway clicking
...
- ensures runways can be clicked when zoomed out.
2016-07-16 17:48:55 +01:00
James Turner
d90b8dcb33
Fix selection of parking positions by clicking.
2016-07-16 16:57:19 +01:00
James Turner
38202b0774
Launcher: show selected parking in yellow.
2016-07-16 12:07:34 +01:00
James Turner
c0d93235de
Fix for launcher always enabling MP
2016-07-15 22:48:37 +01:00
James Turner
ecb8ec57c0
FlightGear path API tweaks
2016-07-15 10:16:08 +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
40b74c4e32
Fix an assert on Windows
2016-06-29 16:25:42 +01:00
James Turner
0b11dd626a
Further Windows SGpath fixes
2016-06-28 16:52:42 +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
6f95e61da8
For stable versions, download data tarball directly
...
Part of https://sourceforge.net/p/flightgear/codetickets/1865/
2016-06-17 22:48:24 +01:00
James Turner
1d912c91df
Avoid overlap of ratings / progress bar
...
Part of issues mentioned in:
https://sourceforge.net/p/flightgear/codetickets/1865/
2016-06-17 22:42:33 +01:00
James Turner
3f7e59a1a5
Allow scenery installation from the launcher.
...
Replaces FGadmin functionality.
2016-06-15 22:28:54 +01:00
James Turner
3a15b2f979
Launcher: fix a crash on searching locations
...
When hitting return multiple times, could hit a null-pointer
crash here.
2016-06-09 11:04:32 +01:00
James Turner
95f86b658c
Hide add-ons tab when running launcher in-app
2016-06-08 12:00:35 +01:00
James Turner
5d624b4882
Fallback URL when official catalog is not found.
...
Tolerate the case where a URL matching the exact FG version is
not found; lookup a generic URL, in the hope it supports our
version (additional changes will make this more likely)
2016-05-26 17:37:26 +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
James Turner
2da1d38c56
Clearer aircraft search prompt.
2016-04-17 18:00:37 +01:00
Alessandro Menti
98a6b60b00
Launcher: silence 'Unknown aircraft URI scheme' warning on empty selection
...
------------------------------------------------------------------------
If no aircraft is selected in the launcher, the routine
AircraftItemModel::indexOfAircraftURI is called with an empty QUri,
triggering a warning in the terminal.
This commit removes such warning by ignoring QUris with empty schemes
(the routine still returns an invalid index).
2016-04-17 17:55:05 +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
4820026907
Launcher: fix window flags on the "Add catalog" progress dialog
2016-04-17 17:54:02 +01:00
Alessandro Menti
e9e05081d5
Launcher: state that it is needed to press Enter to search for the airport
2016-04-17 17:53:36 +01:00
Alessandro Menti
0381ba8468
Launcher: disable Close button on the initial progress dialog
2016-04-17 17:53:24 +01:00
Alessandro Menti
34fd51d35c
Launcher: spelling fix in "Add Catalog" dialog window
2016-04-17 17:53:02 +01:00
James Turner
bbd15eb370
Fix a typo
2016-04-15 18:03:01 +01:00
James Turner
a63da0cbde
Minor improvement to hangar list in the launcher.
2016-04-15 17:27:29 +01:00
James Turner
31cad6d384
Fixes to launcher description rendering.
2016-04-15 17:21:49 +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
43add4f820
Fix stray back-button in Qt launcher
...
- when no location is set, don’t show the back button.
2016-04-14 18:54:27 +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
08ea386197
Fix corrupt HUD fonts
...
osg::texture2D changes GL_UNPACK_ROW_LENGTH, which fntLoadTXF is not
prepared to deal with. Reset the value back to 0 before loading +
caching TXF fonts on the PLIB side.
2016-03-28 22:54:24 +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