]>
git.mxchange.org Git - flightgear.git/log
James Turner [Sun, 10 Jan 2016 22:38:01 +0000 (16:38 -0600)]
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.
James Turner [Sun, 10 Jan 2016 19:47:57 +0000 (13:47 -0600)]
Launcher: Maintain aircraft selection better
- when launching or toggling settings, try to keep the current
aircraft selected and in-view.
James Turner [Sun, 10 Jan 2016 18:56:46 +0000 (12:56 -0600)]
‘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.
James Turner [Sun, 10 Jan 2016 18:55:18 +0000 (12:55 -0600)]
Fix some FDM warnings with Clang
James Turner [Sat, 9 Jan 2016 23:17:58 +0000 (17:17 -0600)]
Allow re-ordering of paths in the launcher.
- suggested by Gilberto, allow the user to set the order of the
scenery and aircraft paths by dragging.
James Turner [Sat, 9 Jan 2016 16:07:16 +0000 (10:07 -0600)]
Fallback for runway assignment logic
- when no runway use preferences XML exists, be smarter about using
available runways. Makes the common case of using two parallel
runways for arrivals and departures work, greatly improving AI
traffic behaviour.
James Turner [Thu, 7 Jan 2016 04:27:33 +0000 (22:27 -0600)]
Fix a dumb AI traffic bug I introduced.
James Turner [Wed, 6 Jan 2016 23:58:24 +0000 (17:58 -0600)]
Fix acceleration path of default takeoff taxi.
James Turner [Wed, 6 Jan 2016 05:16:34 +0000 (23:16 -0600)]
Fix some more uses of libC time()
James Turner [Wed, 6 Jan 2016 04:04:19 +0000 (22:04 -0600)]
Apply /sim/speed-up to general subsystem dt
- consistent with pause (freeze), /sim/speed-up is now applied to the
dt value for all subsystems, not just the FDM and some instruments.
For example AI traffic can now be sped-up or slowed down.
- requires both an FGData and Simgear update.
James Turner [Wed, 6 Jan 2016 04:00:12 +0000 (22:00 -0600)]
Use SGTime instead of time() in traffic/AI code
- avoids manual handling of /sim/time/warp in many places
James Turner [Wed, 6 Jan 2016 02:58:47 +0000 (20:58 -0600)]
Remove dt member of AIAircraft
Torsten Dreyer [Tue, 5 Jan 2016 19:44:42 +0000 (20:44 +0100)]
Version 2016.1.0
James Turner [Mon, 4 Jan 2016 18:10:04 +0000 (12:10 -0600)]
Make TrafficRecord own its AIAircraft.
- use the ref-counting system, hopefully avoid a dangling pointer
crash I encountered. (Of course it may turn into a leak)
James Turner [Mon, 4 Jan 2016 02:58:03 +0000 (20:58 -0600)]
Package variants working.
James Turner [Fri, 1 Jan 2016 20:53:02 +0000 (14:53 -0600)]
Chatter-queue moved out of globals
- now lives as part of the sound-manager, yay.
James Turner [Fri, 1 Jan 2016 20:33:17 +0000 (14:33 -0600)]
Remove FontCache from globals.
- access via a singleton instead.
Erik Hofman [Sun, 3 Jan 2016 13:38:18 +0000 (14:38 +0100)]
Remove scenefx code, it keeps crashing in untracable places and I lost interrest. It was a hughe waste of time
James Turner [Thu, 31 Dec 2015 05:11:54 +0000 (23:11 -0600)]
Pull Sound-manager out of FGGlobals
James Turner [Thu, 31 Dec 2015 05:11:06 +0000 (23:11 -0600)]
Pull Ephemeris out of FGGlobals
James Turner [Wed, 30 Dec 2015 23:05:25 +0000 (17:05 -0600)]
Update to newer version of HTS engine
- version 1.1, released 25th December 2015
(note there is no corresponding update to Flite)
James Turner [Wed, 30 Dec 2015 20:27:54 +0000 (14:27 -0600)]
Avoid view-manager returning default SGGeod
- when switching views, force an update() to ensure view position
is valid. Otherwise various subsystems such as AI traffic and the
tile manager see a request for a 0,0 location.
- when switching to model view, we still generate a 0,0
location initially - to be fixed.
Erik Hofman [Tue, 29 Dec 2015 13:55:22 +0000 (14:55 +0100)]
Prevent two possible nan's
Erik Hofman [Thu, 24 Dec 2015 12:44:34 +0000 (13:44 +0100)]
Do not call setIsPushback, it causes a segmentation fault after about 10 minutes. I did commit this change in
6b9a28a568dee493dc76be76a2d8eb106133d4e4 to fix a warning, but it night not have been the wisest thing to do.
Erik Hofman [Thu, 24 Dec 2015 10:52:09 +0000 (11:52 +0100)]
Fix the tile-manager subsystem name
James Turner [Tue, 22 Dec 2015 21:15:09 +0000 (15:15 -0600)]
Better Traffic performance data warnings.
Torsten Dreyer [Tue, 22 Dec 2015 10:42:27 +0000 (11:42 +0100)]
don't always open "file opened in new browser window" popup
Setting /sim/gui/show-browser-open-hint to false disables the popup.
Default is true (show the popup)
Torsten Dreyer [Tue, 22 Dec 2015 10:41:56 +0000 (11:41 +0100)]
Remove unused code
James Turner [Sat, 19 Dec 2015 08:32:25 +0000 (00:32 -0800)]
Fix a typo
James Turner [Sat, 19 Dec 2015 08:30:31 +0000 (00:30 -0800)]
AI subsystem now does an orderly shutdown
- remove special case logic which is no longer required
James Turner [Sat, 19 Dec 2015 08:29:00 +0000 (00:29 -0800)]
Make PerformanceDB a real subsystem
James Turner [Sat, 19 Dec 2015 08:08:07 +0000 (00:08 -0800)]
Fix off-by-one errors in GroundController
findSegment() and segments[] array use different indexing, account
for this in the conversion to always use findSegment
James Turner [Sat, 19 Dec 2015 06:00:37 +0000 (22:00 -0800)]
Stop OSG threading earlier on shutdown.
Avoid intermittent race conditions on shutdown when the OSG
pager/Db thread is running. Ensure the OSG threads are stopped before
we start tearing down any scene graph nodes.
James Turner [Sat, 19 Dec 2015 05:59:28 +0000 (21:59 -0800)]
Quiet down Traffic error logging.
James Turner [Sat, 19 Dec 2015 05:42:22 +0000 (21:42 -0800)]
Trying to bullet-proof the traffic code.
James Turner [Sat, 19 Dec 2015 04:13:23 +0000 (20:13 -0800)]
Aircraft-model subsystem behaves better
- make shutdown logic more robust
- shutdown is no longer special cased in globals.
James Turner [Sat, 19 Dec 2015 03:56:56 +0000 (19:56 -0800)]
Proper shutdown() for the model manager
- also move property setup to bind/unbind
James Turner [Fri, 18 Dec 2015 04:23:45 +0000 (20:23 -0800)]
Runtime checks for GroundContoller crashes.
Trying to identify what’s actually going wrong here.
James Turner [Fri, 18 Dec 2015 03:22:14 +0000 (19:22 -0800)]
Fixes for first/last legs on a route
- fixes total route distance calculation
James Turner [Wed, 16 Dec 2015 21:02:06 +0000 (13:02 -0800)]
Asserts to pin down a reported crash.
Erik Hofman [Tue, 15 Dec 2015 08:47:08 +0000 (09:47 +0100)]
Sync with JSBSim again: remove a lot of unused trimming code
James Turner [Mon, 14 Dec 2015 20:59:33 +0000 (14:59 -0600)]
Fix a startup issue Vic Mar reported
- accept invalid/missing airport IDs when starting ATC
James Turner [Mon, 14 Dec 2015 16:56:42 +0000 (10:56 -0600)]
Interim windows build fix
(real fix to follow shortly)
James Turner [Mon, 14 Dec 2015 14:57:18 +0000 (14:57 +0000)]
Merge /u/userid-
1550991 /flightgear/ branch next into next
http://sourceforge.net/p/flightgear/flightgear/merge-requests/31/
Erik Hofman [Mon, 14 Dec 2015 10:14:40 +0000 (11:14 +0100)]
Replace a program segmentation fault by an annoying message
www2 [Sun, 13 Dec 2015 14:57:53 +0000 (15:57 +0100)]
Add feedback if prompt mode is use
www2 [Fri, 11 Dec 2015 02:24:43 +0000 (03:24 +0100)]
Add new commands to telnet protocall
New comands:
setb set a Boolean value
setd set a Floaring point value
seti set a integer value
del delete a node
James Turner [Sun, 22 Nov 2015 20:14:03 +0000 (20:14 +0000)]
Work on visualisation of Vias
James Turner [Sun, 22 Nov 2015 15:14:13 +0000 (15:14 +0000)]
GUI support for VIA/Discontinuity
James Turner [Sun, 22 Nov 2015 15:14:01 +0000 (15:14 +0000)]
Nasal support for VIA / Discontinuity
James Turner [Thu, 13 Nov 2014 21:03:24 +0000 (21:03 +0000)]
Work on FlightPlan VIA / discontinuity support.
Needed for realistic FMS route support.
James Turner [Fri, 11 Dec 2015 18:49:32 +0000 (12:49 -0600)]
Fix a JSBSim crash on OSG-quit
(i.e Cmd-Q / window closing, not the normal FlightGear quit sequence)
James Turner [Fri, 11 Dec 2015 18:11:46 +0000 (12:11 -0600)]
ATC/Traffic doesn’t crash reset.
- remove some global headers from AI headers, to avoid pollution
- change how ATC owns the ‘player’ FGAIAircraft so reset works
- ensure AIAircraft controllers are cleared on unbind for reset
James Turner [Thu, 10 Dec 2015 22:48:02 +0000 (16:48 -0600)]
Remove view/tile/scenery members from globals
- also fix sound manager creation
Erik Hofman [Fri, 11 Dec 2015 10:39:29 +0000 (11:39 +0100)]
Fix warning: variable ‘isPushBackRoute’ set but not used
James Turner [Thu, 10 Dec 2015 22:30:26 +0000 (16:30 -0600)]
Progress towards testing
- remove route-manager from global variables
James Turner [Thu, 10 Dec 2015 22:39:31 +0000 (22:39 +0000)]
Merge /u/edauvergne/flightgear/ branch lat_lon_precision_fix_v3 into next
http://sourceforge.net/p/flightgear/flightgear/merge-requests/23/
James Turner [Thu, 10 Dec 2015 22:35:07 +0000 (22:35 +0000)]
Merge /u/edauvergne/flightgear/ branch fdm_restoration into next
http://sourceforge.net/p/flightgear/flightgear/merge-requests/24/
James Turner [Thu, 10 Dec 2015 21:07:21 +0000 (15:07 -0600)]
Remove /sim/temp/winding-ccw property
- part of work on unit-testing, remove OpenGL usage in fg_props
James Turner [Thu, 10 Dec 2015 21:06:33 +0000 (15:06 -0600)]
Relocate implementation of geocRadialIntersection
James Turner [Thu, 10 Dec 2015 21:05:54 +0000 (15:05 -0600)]
Templated subsystem handling
- remove explicit FGControls var from globals, as part of work
towards unit-testing infrastructure.
James Turner [Wed, 9 Dec 2015 13:01:24 +0000 (14:01 +0100)]
Split GroundNetwork class down the middle
- ATC functions move to GroundController, which layers above
remaining GroundNetwork functionality
- dynamics owns both the groundNetwork and the ground controller.
James Turner [Thu, 10 Dec 2015 20:22:56 +0000 (20:22 +0000)]
Merge /u/edauvergne/flightgear/ branch warning_cleanup_UIUC_LaRCsim into next
http://sourceforge.net/p/flightgear/flightgear/merge-requests/26/
Erik Hofman [Thu, 10 Dec 2015 12:24:52 +0000 (13:24 +0100)]
Read the scenery global scene effects configration file and update them every frame. The SceneFX class is not yet registered though.
Edward d'Auvergne [Thu, 10 Dec 2015 09:07:21 +0000 (10:07 +0100)]
LaRCsim FDM - detabbing of all files.
All '\t' have been replaced with 8 spaces, as most of the code is indented with spaces.
Edward d'Auvergne [Thu, 10 Dec 2015 09:04:45 +0000 (10:04 +0100)]
UIUC FDM - detabbing of all files.
All '\t' have been replaced with 8 spaces, as most of the code is indented with spaces.
Edward d'Auvergne [Thu, 10 Dec 2015 08:36:04 +0000 (09:36 +0100)]
LaRCsim cleanup of -Wimplicit-function-declaration compilation warnings.
The stub FDM/LaRCsim/default_model_routines.h header has been expanded and completed.
Edward d'Auvergne [Thu, 10 Dec 2015 08:23:29 +0000 (09:23 +0100)]
LaRCsim cleanup of -Wunused-variable compilation warnings.
A number of static array definitions were shifted into the scope of the function.
Edward d'Auvergne [Thu, 10 Dec 2015 08:13:34 +0000 (09:13 +0100)]
LaRCsim cleanup of -Wformat-contains-nul compilation warnings.
The sprintf() function automatically adds the terminating null character, so no
need to have it in the formatting string.
Edward d'Auvergne [Thu, 10 Dec 2015 08:11:09 +0000 (09:11 +0100)]
UIUC cleanup of -Wunused-but-set-variable compilation warnings.
The two unused variables were commented out.
Edward d'Auvergne [Thu, 10 Dec 2015 08:02:00 +0000 (09:02 +0100)]
UIUC cleanup for -Wsign-compare compilation warnings.
The string find_first_not_of() and find_first_of() functions return string::npos
if not found, rather than -1.
Edward d'Auvergne [Thu, 10 Dec 2015 07:47:35 +0000 (08:47 +0100)]
UIUC and LaRCsim cleanup of -Wunused-variable compilation warnings.
This is for defined but unused variables, many of which are in commented out
code.
Edward d'Auvergne [Thu, 10 Dec 2015 07:25:17 +0000 (08:25 +0100)]
UIUC cleanup of -Wparentheses compilation warnings.
James Turner [Tue, 8 Dec 2015 20:46:54 +0000 (20:46 +0000)]
On Mac, force the macon-min-version value
- Workaround for CMAKE_OSX_DEPLOYMENT_TARGET not behaving as it’s
supposed to reliably.
Erik Hofman [Mon, 7 Dec 2015 10:10:03 +0000 (11:10 +0100)]
Sync JSBSim again
Edward d'Auvergne [Sat, 5 Dec 2015 14:24:47 +0000 (15:24 +0100)]
The OSG version is now printed with --version.
This adds the OSG version number between the simgear and PLIB versions.
Edward d'Auvergne [Sat, 5 Dec 2015 13:35:23 +0000 (14:35 +0100)]
Reactivated the UIUC, LaRCsim, and special purpose FDMs.
As the FlightGear distribution ships aircraft based on these FDMs with each
release, the shipped FlightGear executables should therefore be able to handle
these aircraft. For example the unique ornithopter can only be flown with the
UIUC FDM, hence it is available for download but will be non-functional for most
users.
This partly reverts commit
e819a4aaa44da6be816460fe719b1f65e0a2db3c from Nov 1,
2011 which deactivated the compilation of these in the CMakeLists.txt file.
Signed-off-by: Edward d'Auvergne <edward@nmr-relax.com>
James Turner [Sat, 5 Dec 2015 00:25:29 +0000 (00:25 +0000)]
Add airport dynamics manager
- decouple dynamic airport data from the static (nav-db) data.
Edward d'Auvergne [Wed, 2 Dec 2015 15:16:32 +0000 (16:16 +0100)]
Minor rounding error fix for the latitude and longitude strings.
This is for the FGProperties::getLongitudeString() and
FGProperties::getLatitudeString() functions. The previous algorithm was to
round the degrees up by the smallest fraction required to prevent a round up to
60 minutes or seconds, and then round down the final minutes or seconds by the
same fraction. The new algorithm is to detect if the final minute or seconds
will be rounded to 60 by the string formatting and, if so, the higher unit
(degrees or minutes) is incremented by one, and the lower unit decremented by
60.
James Turner [Tue, 1 Dec 2015 00:01:27 +0000 (00:01 +0000)]
Checkpoint - ground-net skips the cache
Rebecca N. Palmer [Mon, 30 Nov 2015 23:10:32 +0000 (23:10 +0000)]
Revert "Initialise Qt earlier, and whenever available"
Temporary workaround for
http://sourceforge.net/p/flightgear/codetickets/1819/
This reverts commit
3e67417bf009493f8f2ae1e362b6014028fc3cbf .
James Turner [Sun, 29 Nov 2015 21:51:08 +0000 (21:51 +0000)]
Merge /u/r-harrison/flightgear/ branch next into next
http://sourceforge.net/p/flightgear/flightgear/merge-requests/21/
Richard Harrison [Sun, 29 Nov 2015 18:15:24 +0000 (19:15 +0100)]
Fix indentation and use naIsNil to determine if _globals is nil
James Turner [Sun, 29 Nov 2015 14:18:30 +0000 (14:18 +0000)]
Use a transaction when indexing polylines.
James Turner [Fri, 27 Nov 2015 23:25:53 +0000 (23:25 +0000)]
Move functionality into clear_fg_scenerey helper.
James Turner [Fri, 27 Nov 2015 23:25:24 +0000 (23:25 +0000)]
Remove some debugs
James Turner [Fri, 27 Nov 2015 23:25:11 +0000 (23:25 +0000)]
Clamp diagram zoom.
- avoid poor performance and unusable UI when zooming out
James Turner [Thu, 26 Nov 2015 23:44:27 +0000 (23:44 +0000)]
Fix some coastline issues.
James Turner [Thu, 26 Nov 2015 16:48:23 +0000 (16:48 +0000)]
Launcher shows polygon/polyline data
James Turner [Tue, 24 Nov 2015 22:36:07 +0000 (22:36 +0000)]
SHPParser
James Turner [Thu, 26 Nov 2015 16:49:55 +0000 (16:49 +0000)]
Remove accidentally duplicated functions.
James Turner [Wed, 25 Nov 2015 00:15:34 +0000 (00:15 +0000)]
Remove a stray debug.
James Turner [Thu, 26 Nov 2015 23:40:14 +0000 (23:40 +0000)]
Handle libCurl linkage when enabled in SimGear
Detect if SimGear was built with Curl support,
and if so, find and link against libCurl
James Turner [Tue, 24 Nov 2015 22:14:22 +0000 (22:14 +0000)]
Graphical picking of parking/helipads too.
James Turner [Tue, 24 Nov 2015 21:46:05 +0000 (21:46 +0000)]
Add helipad support to the diagram.
- stops crashes selecting a heliport.
James Turner [Tue, 24 Nov 2015 21:45:44 +0000 (21:45 +0000)]
Remove long-obsolete fields
James Turner [Tue, 24 Nov 2015 20:58:01 +0000 (20:58 +0000)]
Initial work on rendering parking locations.
Rebecca N. Palmer [Tue, 24 Nov 2015 18:40:54 +0000 (18:40 +0000)]
Use SLOT for both uses of QTimer::singleShot
(fix Qt < 5.4 build)
James Turner [Tue, 24 Nov 2015 15:36:53 +0000 (15:36 +0000)]
Fix MSVC2012 build
- multi-line QStringLiteral doesn’t work on MSVC prior to 2013. Boo.
James Turner [Tue, 24 Nov 2015 08:05:05 +0000 (08:05 +0000)]
Use old-style SLOT macro for Qtimer::singleShot
- member-function-pointer variant was only added in 5.4