James Turner
e6a3b9c012
Extend Nasal FlightPlan API for new members
...
Cruise alt/speed, remarks and callsign are now exposed and settable
from Nasal. Duration and route path still to be done.
2018-08-30 16:40:16 +01:00
James Turner
40d5d918ba
Allow local acft to override packaged acft
...
When an explicit aircraft-dir is set, check this location before
checking installed packages. This allows setting —aircraft and
-aircraft-dir to correctly take precedence over a package.
2018-08-30 15:23:45 +01:00
James Turner
ec7816a565
Reduce the launcher minimum vertical height
2018-08-30 14:41:22 +01:00
James Turner
b184a7f06e
Unify SGGeodVec definition
2018-08-29 14:55:23 +01:00
James Turner
7fe11b800a
Launcher: use a more robust resource path
...
Some version of Qt seem to dislike the qrc:/// format, so use the
single-slash format here.
2018-08-28 23:35:38 +01:00
James Turner
47847a5a57
Fix an assert in debug mode
2018-08-28 23:34:55 +01:00
James Turner
41687767b9
Translations looked up correctly
...
Tweak both the launcher and main locale lookups, to tolerate the
different region suffixes encountered in reality.
2018-08-28 23:34:44 +01:00
James Turner
2329654e3b
Disabling translations is tricky.
2018-08-28 17:12:31 +01:00
James Turner
61f33e0195
One more fix for translations-disabled case
2018-08-28 16:32:23 +01:00
James Turner
f99a25ba7f
Fix build when translations are not defined
2018-08-28 16:15:26 +01:00
James Turner
df7e13d734
Flight planning in the launcher
...
Still evolving but usable to import or build a route now
2018-08-28 12:23:01 +01:00
James Turner
331939f640
Reduce level of some debug output
2018-08-28 12:23:01 +01:00
James Turner
e062026d9c
UI: small fixes to various controls
...
Especially, add return key handling to many editing controls
2018-08-28 12:23:01 +01:00
James Turner
f33b15575f
Navaid search: optionally constrain results
2018-08-28 12:23:01 +01:00
James Turner
f0c48110d3
Units model knows about frequency units
2018-08-28 12:23:01 +01:00
James Turner
cd0b493426
Base diagram can draw airways
2018-08-28 12:23:01 +01:00
James Turner
69dbfc0a27
Core airway and flight-plan enhancements
...
Add better airway support, fix various issues with VIA, and add
parsing / generation of ICAO route strings. Also fix the
serialisation of flight-plans with airway enroute segments, so these
can be restored correctly.
2018-08-28 12:23:01 +01:00
James Turner
5c9771fb00
Airport tweaks for flight-planning
2018-08-28 12:23:01 +01:00
James Turner
f4b98cf204
Fix CMake dependencies for translations
...
When only building the fgfs target (which IDEs tend to do), we didn’t
update the translations. Add an explicit dependency to remedy this.
2018-08-28 12:04:56 +01:00
James Turner
eaa2ed5cbb
Launcher translations enabled
...
Translations are build into the executable at compile time, providing
FGData is available during the build.
2018-08-27 13:20:23 +01:00
James Turner
5bb3f10ba1
Linux / GCC compile fixes
2018-08-26 15:39:30 +01:00
James Turner
e3d032942e
Move aircraft-performance code into a public API
...
Upcoming flight-planning changes want to use the perf computation code
in route-path, so move it to a public class, and implement some of the
missing functionality, especially correct GS computation for altitude.
2018-08-26 14:39:42 +01:00
Michael Danilov
e425f74a7d
Fix crash on invalid(?) fallback model id.
2018-08-25 18:43:05 +05:00
James Turner
a419a80de4
Clang/C++11 warning fixes
2018-08-20 02:59:23 +01:00
James Turner
f54cba9586
Fix a warning, remove unused
2018-08-20 02:58:12 +01:00
James Turner
9848930e16
Fix translations context for some strings
2018-08-19 16:50:38 +01:00
James Turner
3f5a0a47ad
Improved build.h generation (each build)
...
Use a custom_target to recursively invoke Cmake at build time; this
ensures the build ID and Git revision are always up to date.
2018-08-19 16:06:16 +01:00
James Turner
8b72229ffd
C++11 improvements in Mac event-input code
2018-08-19 12:34:47 +01:00
James Turner
09918a6862
Fix Nasal duplicate init
...
Also ensure Nasal reset is handled correctly (requires corresponding
SimGear commit)
2018-08-19 12:34:27 +01:00
James Turner
26bc3713b5
Changes for SimGear subsystem add/remove tracking
...
Since the subsystem manager tracks group state, it now binds/inits
automatically. This means groups which create subsystems during init
no longer need to manually bind() them.
2018-08-12 11:18:50 -07:00
James Turner
f5117109fe
Load translations from XLIFF format
...
When an <xliff> entry is present inside a locale specification,
this takes precedence over the legacy translations.
2018-08-12 11:18:50 -07:00
James Turner
d534a5ba36
Move build-ID variables to their own header
...
This is to reduce rebuilding by changing version.h needlessly, since
only a few places use the build ID info.
2018-08-12 11:18:50 -07:00
Richard Harrison
8ac8446256
GUIDialog: attempts to fix segfault
...
- change to get property node rather than calling set string.
- only set dialog name on mouse down event; (Scott's suggestion)
2018-08-12 10:43:20 +02:00
James Turner
e24134f34a
HID-input: fix crash with null manufacturer name
...
https://sourceforge.net/p/flightgear/codetickets/2041/
2018-08-10 15:11:32 +01:00
James Turner
696c95d612
Fix passing —-config files via the launcher
...
Curt found this, allow using --config from the launcher additional
settings box.
2018-08-10 12:51:51 +01:00
Richard Harrison
518fb79e01
PUI Dialogs fixes
...
- fix double zoom on mouse wheel in map
- change getName() to return const char* to see if that fixes the crash in linux.
2018-08-10 02:00:38 +02:00
James Turner
c4e4f83030
Launcher: hide sidebar tooltips when button updates
...
Happens with Fly! button when refresh or update occurs.
2018-08-08 11:30:38 +02:00
Richard Harrison
c13bfe2722
PUI: window (FgPopup) handling changes
...
- I think I've fixed a long standing problem with clicks traveling through windows and bringing the dialog window underneath to the foreground.
- Added /sim/gui/dialogs/current-dialog that contains the name of the currently active (in front) dialog window.
- Changed dialog-open to bring a dialog to the front if it is already open.
2018-08-07 18:54:29 +02:00
Richard Harrison
6513dc1137
Added better AI handling of replay - part of the new carrier handling in replays.
2018-08-07 18:54:29 +02:00
Scott Giese
402a71100e
Enabled locating plib via the naming convention used by vcpkg
2018-08-06 22:14:53 -05:00
Stuart Buchanan
e43fe82094
Fallback AI model implementation
...
Aircraft can now set a /sim/model/fallback-model-index property that is transmitted over the MP network.
Receiving clients use this as an index into AI/Aircraft/fallback_models.xml to determine a model to use if the model path (/sim/model/path) cannot be found under Aircraft or AI/Aircraft. This allows aircraft developers to identify a suitable fallback model to be used for those who do not have their aircraft installed.
2018-07-27 19:51:37 +01:00
James Turner
23196184cc
add missing assert
2018-07-27 19:43:42 +01:00
James Turner
7e3c1a1b1d
Fixes for the sim-pit
...
* ensure the UI disappears with no user interaction
* comoile fix for GCC
2018-07-27 18:45:25 +01:00
James Turner
d2c3ecace1
Fix PNG sRGB iCC warning
2018-07-27 08:26:38 +01:00
James Turner
78a3e8d979
Expose performance/ICAO planning data to QML
2018-07-26 23:08:49 +01:00
Edward d'Auvergne
401a0dd22d
TestSuite: Silence some warnings.
2018-07-26 15:52:07 +02:00
Edward d'Auvergne
688f0b5ea0
TestSuite: Minor output formatting changes and disabling of the GUI tests.
...
The GUI tests are disabled as there are no such tests yet.
2018-07-26 15:52:07 +02:00
Edward d'Auvergne
ab36c9760d
TestSuite: Command line option for disabling the summary printout.
2018-07-26 15:52:07 +02:00
Edward d'Auvergne
f8c2cb5284
TestSuite: Migration of the old Navaids tests to the CppUnit framework.
...
This test suffers from significant bit-rot (it is designed for operation prior
to the NavDataCache), so it is deactivated.
2018-07-26 15:52:07 +02:00
Edward d'Auvergne
02c3c6dc97
TestSuite: Migration of the old GPS tests to the CppUnit framework.
...
As this code has significant bit-rot and requires a lot of work to compile and
run again, it is currently deactivated.
The test also writes to the files "/Users/jmt/Desktop/airways.kml" and
"/Users/jmt/Desktop/procedures.kml" and would need to be modified to write to a
temporary directory and the file contents reread and checked by the test.
2018-07-26 15:52:07 +02:00