Thomas LESNE
8e3274a7c2
FGFSDemo.py: update properties to match the ones available in 2020.x
...
New properties available at least with the c172p.
2020-08-05 12:45:59 +02:00
James Turner
379748fc6b
Remove obsolete terraSync code
2020-08-03 17:57:59 +01:00
James Turner
f40c6187fb
Launcher: omit some setup for in-sim mode
...
Unfortunately this doesn’t fix the weirdness reported in:
https://sourceforge.net/p/flightgear/codetickets/2180/
.. but will keep trying.
2020-07-30 12:30:23 +01:00
James Turner
ebdf34e81a
Launcher add-ons: tweak display of missing version
...
Show missing min/max FG version as ‘-‘ to avoid a translation headache.
Thanks to Slawek Mikula for the suggestion.
2020-07-30 12:29:06 +01:00
legoboyvdlp R
d6b7eaf60f
Fix that tp_type will return nil for transitions
2020-07-30 12:26:04 +01:00
legoboyvdlp R
02c7b37122
Add test case for issue with last waypoint being a runway
2020-07-30 12:25:17 +01:00
legoboyvdlp R
668b499ff4
Correct restrictions above and below. Add test case. Fix contributed by Tobias Dammers
2020-07-30 12:25:02 +01:00
James Turner
25d88573d1
Launcher add-ons styling fixes
...
Suggested by Slawek Mikula, thanks!
2020-07-29 20:43:37 +01:00
Chris Speck
932938cbee
Send fuel tank capacity, fuel density and level in m3
2020-07-29 20:13:07 +01:00
Florent Rougon
3300ac543e
Print missing --data path in the "fatal message box"
...
As suggested by Slawek Mikula:
https://sourceforge.net/p/flightgear/codetickets/2164/#c397
2020-07-28 10:25:25 +02:00
Stuart Buchanan
3fc1bdff45
Fix W/S ground net position strings.
2020-07-26 20:20:28 +01:00
James Turner
1e403ae6dd
Fix an assert running aero tests
...
FGLocale needs to be init-ed, before calling splash progress.
2020-07-22 11:49:14 +01:00
legoboyvdlp R
3255105190
Ensure that cruise parameters are set when cloning flightplan
2020-07-22 11:31:07 +01:00
Lars Toenning
cdacea1315
[swift] Fix coding style
2020-07-21 11:57:58 +01:00
Lars Toenning
d78b19546a
[swift] Add parts support
2020-07-21 11:57:53 +01:00
James Turner
3893754537
Refactor dynamics lat/lon parsing
...
Using C++11 idioms, and avoid conversion to C strings for atof
2020-07-21 11:52:32 +01:00
James Turner
f5f3054a7a
Launcher: Fix cast of helipd to runway
...
Should fix trying to retrieve an ILS from a pad.
2020-07-17 12:04:12 +01:00
James Turner
ae094f9a77
Nasal: fix valgrind error in print/logprint
...
Requires matching Simgear change.
2020-07-17 12:03:28 +01:00
James Turner
2f4b2153ef
Fix test: find airways.
...
Fix handling of ‘both’ level option in several places, and amend
the test to make it explicit that we want Clacton VOR, not NDB.
2020-07-16 11:28:50 +01:00
James Turner
ae5b17920c
Launcher: Fix a missed translation tag
2020-07-16 09:21:33 +01:00
James Turner
9df688659e
Remove redundant line from prior commit.
2020-07-16 09:18:34 +01:00
James Turner
dc4201ed9f
Launcher: improve hit-testing of helipad
...
Use the other circle only, for hit testing pads in the airport diagram.
2020-07-15 09:52:02 +01:00
Florent Rougon
f105e8dfb2
Improve locale handling
...
- fgfs --language=fr-FR now works as expected for the launcher (also with
--language=fr_FR as before): the value added by option --language to
the _languages member of FGLocale is normalized in "underscore" style
(e.g., fr_FR).
- Add-on translations must now use a hyphen in their property node names
in addon-metadata.xml (talking about children of <localized>): i.e.,
use for instance <fr-FR> there, not <fr_FR>. An exception
(addons::errors::error_loading_metadata_file) is thrown if one of
these nodes has a name containing an underscore.
2020-07-14 12:23:23 +01:00
James Turner
54264e6591
Add —disable-gui option
...
Prevents showing a GUI message box if the user wants to run from the
console.
As requested here:
https://sourceforge.net/p/flightgear/codetickets/2306/
2020-07-14 12:05:53 +01:00
James Turner
f9e9dbf309
Fix naming of Traffic PerformanceDB props
...
Use correct spelling and splitting of names, but keep reading the old
values as well, for backwards compatibility.
2020-07-14 11:24:42 +01:00
James Turner
1c1a41ed22
Remove an obsolete comment
2020-07-13 14:29:20 +01:00
James Turner
3993fc7d35
Launcher: fix helipad selection
...
Helipads were not being shown for convention airports, only for
heliports. Fix this up so helipads work alongside runways at
conventional airports, when the selected aircraft is a helicopter.
2020-07-13 14:29:20 +01:00
James Turner
b08de513d0
Launcher: show helipads and runways for airports
...
Where an airport (as opposed to heliport) has helipads, show them
as well in the diagram.
2020-07-13 14:29:20 +01:00
James Turner
f5c70e01b0
Launcher: fix detection of seaplanes and helis.
2020-07-13 14:29:20 +01:00
James Turner
ece20db882
Fix helipad runtime type definition
...
This broke various places trying to detect helipads vs runways.
2020-07-13 14:29:20 +01:00
James Turner
faa211bf5d
Launcher: cap the search history at 20 items.
2020-07-13 14:29:20 +01:00
Florent Rougon
37aba7dbd4
Remove unused code and fix typos
2020-07-11 13:22:33 +02:00
James Turner
0bb9600795
Add-ons localization support
...
Add-on meta-data can be localized now, in the same manner as aircraft
metadata.
2020-07-09 18:14:56 +01:00
James Turner
f0d3663102
Nasal unit-testing: allow deep struct equality.
...
Add a deep comparison of vecs and hashes, when deciding equality in
test assertions.
2020-07-08 15:22:27 +01:00
Stuart Buchanan
2bb15866b8
WS3.0 AirportBuilder update to use Effects.
2020-07-07 13:09:34 +01:00
James Turner
c71fc5ae73
Fix missing File menu in Dutch translation
...
Set the menu action roles to avoid the text heuristic, which erroneously
confuses our configuration menu items with preferences and moves them.
Fixes bug:
https://sourceforge.net/p/flightgear/codetickets/2253/
Will pick to 2018.3, 2020.1 and 2020.2 since it’s nicely self-contained
and rather annoying.
2020-07-04 14:38:38 +01:00
Julian Smith
d0aaf240f6
renamed version -> flightgear-version to avoid breaking clang++.
...
clang++ headers end up including <version>, which picked up this file instead
of the system one, breaking builds.
2020-07-04 09:02:51 +01:00
James Turner
73c15c4d5c
Improve a method name, as suggested by Florent
2020-07-03 12:34:37 +01:00
James Turner
9e00715079
Allow cmd line & add-ons to supply FGData extensions
...
Allow add-ons to define an FGData subdir, and support multiple —data=
command line arguments, to avoid the need to modify FG_ROOT (which might
be read-only). Allow additional data paths to be either higher or lower
priority than FG_ROOT, so that add-ons cannot replace files in FG_ROOT.
2020-07-03 12:29:21 +01:00
James Turner
f97ea1f621
Fix route-path hiding of waypoints
...
Also hide the path, if the preceding waypoint is hidden. Fixes the
route-manager test JonathanR added.
2020-07-02 12:19:19 +01:00
James Turner
c3fce7e436
Tests: load loadprioirty.xml
...
Otherwise we screw up Nasal load order.
2020-07-02 12:19:19 +01:00
Stuart Buchanan
39cedd1256
Fix fgviewer for Compositor
2020-07-01 21:02:16 +01:00
Stuart Buchanan
c4942eaa69
AirportBuilder to generate airports from apt.dat
2020-07-01 20:57:15 +01:00
James Turner
bb75d24fc0
Make the launcher defensive about bad add-ons
...
Tolerate missing add-on data if a bogus add-on is added by the user.
https://sourceforge.net/p/flightgear/codetickets/2266/
2020-07-01 11:57:04 +01:00
James Turner
736485ab76
Expose a Nasal FP method under a better name
...
Match the C++ name for this, not sure why I ever though pathGeod was a
good name for this.
2020-06-30 17:09:55 +01:00
legoboyvdlp R
cd5a0ffe0b
Expose totalDistanceNm to Nasal flightplan ghost
...
Requested by Tobias Dammers, includes associated test.
May be cherry-picked to 2020.2.
2020-06-30 13:30:35 +01:00
Scott Giese
034c9f4c86
VPB: Initial Commit
...
Not for LTS
2020-06-28 11:34:37 -05:00
James Turner
de89d72593
Keep more old log files
...
Suggested on the tracker, keep log files around longer. Currently we
keep the previous ten files.
Note we still don’t log for secondary running copies, since this would
violate the ‘only one copy can write to FGHome’ principle.
https://sourceforge.net/p/flightgear/codetickets/2243/
2020-06-26 10:13:13 +01:00
James Turner
4a568a42e4
Tweak a log-level
2020-06-25 11:03:08 +01:00
James Turner
05e40bfde3
Log-to-file level can be raised to debug/bulk
...
Fixes ticket:
https://sourceforge.net/p/flightgear/codetickets/2100/
2020-06-25 11:01:52 +01:00