]> git.mxchange.org Git - flightgear.git/log
flightgear.git
8 years ago—config options can load non-XML files
James Turner [Wed, 7 Sep 2016 22:30:34 +0000 (23:30 +0100)]
—config options can load non-XML files

Expand existing —-config option to read either property-XML files (as
it previously did) but for non-XML files, to parse them as command
line argument files.

8 years agoFix setting start offset with MP enabled.
James Turner [Wed, 7 Sep 2016 21:51:08 +0000 (22:51 +0100)]
Fix setting start offset with MP enabled.

8 years agoUpdate default aircraft hangar catalog.xml url.
Curtis L. Olson [Wed, 7 Sep 2016 16:38:45 +0000 (11:38 -0500)]
Update default aircraft hangar catalog.xml url.

8 years agoClean up some 'visually' misleading indentation (where the indentation suggests
Curtis L. Olson [Tue, 6 Sep 2016 16:11:06 +0000 (11:11 -0500)]
Clean up some 'visually' misleading indentation (where the indentation suggests
a different logic flow than is actually there.)

8 years agonew version: 2016.4.0
Automatic Release Builder [Tue, 6 Sep 2016 10:51:04 +0000 (12:51 +0200)]
new version: 2016.4.0

8 years agonew version: 2016.3.1
Automatic Release Builder [Tue, 6 Sep 2016 10:51:04 +0000 (12:51 +0200)]
new version: 2016.3.1

8 years agoAdjust behaviour of —no-default-config option
James Turner [Mon, 5 Sep 2016 14:45:37 +0000 (15:45 +0100)]
Adjust behaviour of —no-default-config option

Still read autosave and preferences.xml in this case, but skip all
config files (.fgfsrc, etc)

8 years agoFix launcher failure when MP is enabled.
James Turner [Wed, 31 Aug 2016 22:07:21 +0000 (23:07 +0100)]
Fix launcher failure when MP is enabled.

Only set —callsign argument if the user entered one.

8 years agoFixed the initial location so that geodetic latitude and ASL are kept in sync.
Bertrand Coconnier [Sun, 28 Aug 2016 10:23:17 +0000 (12:23 +0200)]
Fixed the initial location so that geodetic latitude and ASL are kept in sync.

8 years agoFix re-selection of start location.
James Turner [Sun, 21 Aug 2016 15:36:54 +0000 (10:36 -0500)]
Fix re-selection of start location.

8 years agoLauncher sets location via properties.
James Turner [Fri, 19 Aug 2016 15:09:52 +0000 (16:09 +0100)]
Launcher sets location via properties.

Bypass the options system to set location from the launcher; this
allows the same code to be used in-sim for repositioning, while
keeping compatibility with other repositions approaches.

8 years agoLauncher can see install Airports/ data.
James Turner [Fri, 19 Aug 2016 11:12:02 +0000 (12:12 +0100)]
Launcher can see install Airports/ data.

8 years agoPass the install dir to Terrasync.
James Turner [Thu, 18 Aug 2016 15:23:39 +0000 (16:23 +0100)]
Pass the install dir to Terrasync.

With Simgear commit d7d59b08a2f1a77a4247ec1a89d6ff48ed73f5c7, this
allows terrasync to be initialised from files in the install data,
which avoids downloading them again.

8 years agoOptionally use fixed osgDB build for linking
James Turner [Tue, 16 Aug 2016 11:59:52 +0000 (12:59 +0100)]
Optionally use fixed osgDB build for linking

This allows us to drop the /FORCE:MULTIPLE work-around.

8 years agofix "QObject::connect: No such slot
Rebecca N. Palmer [Mon, 15 Aug 2016 22:10:06 +0000 (23:10 +0100)]
fix "QObject::connect: No such slot
NaturalEarthDataLoaderThread::onFinished()" error message

8 years agofix hang on exit when multithreaded (bug 1830)
Rebecca N. Palmer [Mon, 15 Aug 2016 06:58:40 +0000 (07:58 +0100)]
fix hang on exit when multithreaded (bug 1830)

8 years agoFix a problem for MSVC
Erik Hofman [Fri, 12 Aug 2016 09:48:34 +0000 (11:48 +0200)]
Fix a problem for MSVC

8 years agoQtLauncher: fix build with Qt < 5.4
Rebecca N. Palmer [Thu, 11 Aug 2016 21:32:29 +0000 (22:32 +0100)]
QtLauncher: fix build with Qt < 5.4

8 years agoIncremental insert of NE data to the index.
James Turner [Tue, 9 Aug 2016 08:38:54 +0000 (09:38 +0100)]
Incremental insert of NE data to the index.

8 years agoAsync loading of NaturalEarth data for launcher.
James Turner [Mon, 8 Aug 2016 22:13:57 +0000 (23:13 +0100)]
Async loading of NaturalEarth data for launcher.

8 years agoMove launcher summary to a separate tab.
James Turner [Mon, 8 Aug 2016 16:47:09 +0000 (17:47 +0100)]
Move launcher summary to a separate tab.

This is an experiment to reduce the vertical height needed by the
launcher.

8 years agoRemove some debugging statements
Erik Hofman [Mon, 8 Aug 2016 09:19:14 +0000 (11:19 +0200)]
Remove some debugging statements

8 years agoUse a bit less intrusive solution
Erik Hofman [Mon, 8 Aug 2016 09:16:21 +0000 (11:16 +0200)]
Use a bit less intrusive solution

8 years agoFix the startup position error. I'll leave it to Bertrand wether this is the best...
Erik Hofman [Sun, 7 Aug 2016 09:41:03 +0000 (11:41 +0200)]
Fix the startup position error. I'll leave it to Bertrand wether this is the best way to fix it

8 years agoAlso use SBRJ as fallback.
Torsten Dreyer [Sat, 6 Aug 2016 21:12:43 +0000 (23:12 +0200)]
Also use SBRJ as fallback.

Sigh. No real good idea how to /not/ hardcode this.

8 years agoFix the header location
Erik Hofman [Sat, 6 Aug 2016 09:27:22 +0000 (11:27 +0200)]
Fix the header location

8 years agoAeonWave is off by default
Erik Hofman [Fri, 5 Aug 2016 08:58:05 +0000 (10:58 +0200)]
AeonWave is off by default

8 years agoReplace the NOAA METAR URL with the new, updated one
Alessandro Menti [Thu, 4 Aug 2016 18:34:34 +0000 (20:34 +0200)]
Replace the NOAA METAR URL with the new, updated one

8 years agoCheck for the proper header file
Erik Hofman [Thu, 4 Aug 2016 16:42:45 +0000 (18:42 +0200)]
Check for the proper header file

8 years agoAdd support for AeonWave
Erik Hofman [Wed, 6 Jul 2016 11:27:28 +0000 (13:27 +0200)]
Add support for AeonWave

8 years agoAdd support for AeonWave
Erik Hofman [Wed, 6 Jul 2016 11:27:14 +0000 (13:27 +0200)]
Add support for AeonWave

8 years agoLauncher: fix ‘midnight’ time of day option.
James Turner [Sun, 31 Jul 2016 22:24:51 +0000 (23:24 +0100)]
Launcher: fix ‘midnight’ time of day option.

TimeManager uses ‘midnight’ so we need to do the same.

8 years agoAdjustments to mouse picking API
James Turner [Sun, 31 Jul 2016 21:30:58 +0000 (22:30 +0100)]
Adjustments to mouse picking API

8 years agoPort more HUD code to use line-segment list.
James Turner [Sun, 31 Jul 2016 21:12:26 +0000 (22:12 +0100)]
Port more HUD code to use line-segment list.

8 years agoSet /sim/rendering/initialized to true at the appropriate moment and use it instead...
Erik Hofman [Thu, 21 Jul 2016 11:55:31 +0000 (13:55 +0200)]
Set /sim/rendering/initialized to true at the appropriate moment and use it instead of /sim/initialized for the messagebox

8 years agoMake sure FlightGear is initialized before using the PUI dialog box, dump the the...
Erik Hofman [Thu, 21 Jul 2016 11:42:09 +0000 (13:42 +0200)]
Make sure FlightGear is initialized before using the PUI dialog box, dump the the console otherwsise

8 years agoMove the PUI dialog code to James' new messagebox code and use that one instead for...
Erik Hofman [Thu, 21 Jul 2016 06:56:05 +0000 (08:56 +0200)]
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

8 years agoShow a popup dialog for every SG_POPUP message in the queue
Erik Hofman [Wed, 20 Jul 2016 13:03:15 +0000 (15:03 +0200)]
Show a popup dialog for every SG_POPUP message in the queue

8 years agoAdjust runway startup position with MP enabled
James Turner [Sun, 17 Jul 2016 20:11:14 +0000 (21:11 +0100)]
Adjust runway startup position with MP enabled

Relocate the start-up position to a plausible hold-short position
when MP is active and a runway start is requested. This does not (yet)
use ground-net data to identify a real hold-short position.

8 years agoBrendan Black:
Erik Hofman [Sun, 17 Jul 2016 09:30:07 +0000 (11:30 +0200)]
Brendan Black:
when active does not touch the way the YASim jet calculates fuel flow, but separates out the afterburning component of thrust, calculates the TSFC of that component and uses the same method of fuel flow calculation for the afterburning component then adds it to the existing fuel flow

When inactive (atsfc doesn't exist or is zero) it just behaves exactly as before

I finally got around to testing this small patch thoroughly, and I'm satisfied that it doesn't affect anything else & works across many different versions (i've been testing it with current as it has changed over the last 7 months)

8 years agoFix persistence of on-ground location.
James Turner [Sat, 16 Jul 2016 17:23:48 +0000 (18:23 +0100)]
Fix persistence of on-ground location.

8 years agoImprove rendering of longer parking names.
James Turner [Sat, 16 Jul 2016 16:49:12 +0000 (17:49 +0100)]
Improve rendering of longer parking names.

8 years agoEnforce a minimum pixel width for runway clicking
James Turner [Sat, 16 Jul 2016 16:48:55 +0000 (17:48 +0100)]
Enforce a minimum pixel width for runway clicking

- ensures runways can be clicked when zoomed out.

8 years agoFix selection of parking positions by clicking.
James Turner [Sat, 16 Jul 2016 15:57:19 +0000 (16:57 +0100)]
Fix selection of parking positions by clicking.

8 years agoLauncher: show selected parking in yellow.
James Turner [Sat, 16 Jul 2016 11:07:18 +0000 (12:07 +0100)]
Launcher: show selected parking in yellow.

8 years agoFix starting up at a parking location.
James Turner [Sat, 16 Jul 2016 10:45:30 +0000 (11:45 +0100)]
Fix starting up at a parking location.

Move parking-pos selection to finalizePosition, so that dynamics and
ATC controllers are available and work correctly.

8 years agoFix for launcher always enabling MP
James Turner [Fri, 15 Jul 2016 21:48:37 +0000 (22:48 +0100)]
Fix for launcher always enabling MP

8 years agoFurther SGPath API usage improvements.
James Turner [Fri, 15 Jul 2016 15:35:17 +0000 (16:35 +0100)]
Further SGPath API usage improvements.

8 years agoFlightGear path API tweaks
James Turner [Fri, 15 Jul 2016 09:15:55 +0000 (10:15 +0100)]
FlightGear path API tweaks

8 years agoCustom MP server support.
James Turner [Fri, 8 Jul 2016 08:36:42 +0000 (09:36 +0100)]
Custom MP server support.

8 years agoJSBSim sync.
Bertrand Coconnier [Sun, 10 Jul 2016 12:45:09 +0000 (14:45 +0200)]
JSBSim sync.
* Fixed the initial conditions settings (geodetic altitude is now correctly computed).
* FGLGear reports the time at which it detected a violent ground hit (aka crash)
* Doc update of the kinematic component
* TurboProp code cleanup with the removal of lots of obsolete/no-op members.

8 years agoUse CMAKE_INSTALL_BINDIR
Jeremy Bicha [Sat, 9 Jul 2016 21:14:28 +0000 (17:14 -0400)]
Use CMAKE_INSTALL_BINDIR

Allow /bin install directory to be overriden. Debian for example uses this
to install FlightGear to /usr/games/ instead of /usr/bin/

https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html

8 years agoInitial MP support in the launcher.
James Turner [Fri, 8 Jul 2016 08:36:42 +0000 (09:36 +0100)]
Initial MP support in the launcher.

8 years agoFix fgValidatePath on Windows
James Turner [Mon, 4 Jul 2016 21:22:32 +0000 (22:22 +0100)]
Fix fgValidatePath on Windows

8 years agoBuild fixes for yasim tests / SGPath changes.
James Turner [Mon, 4 Jul 2016 09:17:41 +0000 (10:17 +0100)]
Build fixes for yasim tests / SGPath changes.

8 years agoUpdate for changed SGPath::realpath signature
James Turner [Mon, 4 Jul 2016 08:06:42 +0000 (09:06 +0100)]
Update for changed SGPath::realpath signature

8 years agofgValidatePath uses SGPath
James Turner [Sun, 3 Jul 2016 22:59:40 +0000 (23:59 +0100)]
fgValidatePath uses SGPath

8 years agoMore std::ifstream -> sg_ifstream
James Turner [Sun, 3 Jul 2016 22:48:44 +0000 (23:48 +0100)]
More std::ifstream -> sg_ifstream

8 years agoUpdate for path-aware easyXML API
James Turner [Sun, 3 Jul 2016 22:43:39 +0000 (23:43 +0100)]
Update for path-aware easyXML API

8 years agoAdded the dependency to Shlwapi for the Windows build (needed by SimGear).
Bertrand Coconnier [Sun, 3 Jul 2016 13:38:14 +0000 (15:38 +0200)]
Added the dependency to Shlwapi for the Windows build (needed by SimGear).

8 years agoFurther SGPath encoding fixes.
James Turner [Fri, 1 Jul 2016 09:54:29 +0000 (04:54 -0500)]
Further SGPath encoding fixes.

8 years agoFix an assert on Windows
James Turner [Wed, 29 Jun 2016 15:25:42 +0000 (16:25 +0100)]
Fix an assert on Windows

8 years agoFurther Windows SGpath fixes
James Turner [Tue, 28 Jun 2016 15:52:42 +0000 (16:52 +0100)]
Further Windows SGpath fixes

8 years agoUse future-proof SGPath APIs.
James Turner [Thu, 23 Jun 2016 13:26:34 +0000 (14:26 +0100)]
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.

8 years agoRemove a debug message
Erik Hofman [Mon, 27 Jun 2016 11:21:26 +0000 (13:21 +0200)]
Remove a debug message

8 years agoUse the SimGear sample format types
Erik Hofman [Mon, 27 Jun 2016 11:21:13 +0000 (13:21 +0200)]
Use the SimGear sample format types

8 years agoconvert another path to std::string before using it to prevent a compiler error
Bertrand Coconnier [Sat, 25 Jun 2016 19:26:50 +0000 (21:26 +0200)]
convert another path to std::string before using it to prevent a compiler error

8 years agoconvert the path to std::string before using it to prevent a compiler error
Erik Hofman [Sat, 25 Jun 2016 13:00:35 +0000 (15:00 +0200)]
convert the path to std::string before using it to prevent a compiler error

8 years agoConvert PKGLIBDIR to SGPath before returing it to prevent a compiler error
Erik Hofman [Fri, 24 Jun 2016 10:54:01 +0000 (12:54 +0200)]
Convert PKGLIBDIR to SGPath before returing it to prevent a compiler error

8 years agoUse Paths instead of strings.
James Turner [Tue, 21 Jun 2016 11:29:04 +0000 (12:29 +0100)]
Use Paths instead of strings.

8 years agoWork with new SGPath API.
James Turner [Tue, 21 Jun 2016 11:28:35 +0000 (12:28 +0100)]
Work with new SGPath API.

8 years agoFor stable versions, download data tarball directly
James Turner [Fri, 17 Jun 2016 21:48:24 +0000 (22:48 +0100)]
For stable versions, download data tarball directly

Part of https://sourceforge.net/p/flightgear/codetickets/1865/

8 years agoAvoid overlap of ratings / progress bar
James Turner [Fri, 17 Jun 2016 21:42:33 +0000 (22:42 +0100)]
Avoid overlap of ratings / progress bar

Part of issues mentioned in:

https://sourceforge.net/p/flightgear/codetickets/1865/

8 years agoAircraft-states feature.
James Turner [Fri, 17 Jun 2016 16:53:35 +0000 (17:53 +0100)]
Aircraft-states feature.

8 years agoRemove FGAdmin
James Turner [Wed, 15 Jun 2016 21:31:47 +0000 (22:31 +0100)]
Remove FGAdmin

8 years agoAllow scenery installation from the launcher.
James Turner [Wed, 15 Jun 2016 21:28:27 +0000 (22:28 +0100)]
Allow scenery installation from the launcher.

Replaces FGadmin functionality.

8 years agoCode cleanup after fixing the sound position and orientation
Erik Hofman [Tue, 14 Jun 2016 12:11:12 +0000 (14:11 +0200)]
Code cleanup after fixing the sound position and orientation

8 years agoDo not use properties but get the position and orientation information straight from...
Erik Hofman [Mon, 13 Jun 2016 11:50:40 +0000 (13:50 +0200)]
Do not use properties but get the position and orientation information straight from the view manager

8 years agoSync'ed with JSBSim: avoid the lag in <kinematic> while trimming. This allows the...
Bertrand Coconnier [Sun, 12 Jun 2016 15:04:35 +0000 (17:04 +0200)]
Sync'ed with JSBSim: avoid the lag in <kinematic> while trimming. This allows the trim on ground for the P51 to succeed.

8 years agoSync'ed with JSBSim:
Bertrand Coconnier [Sun, 12 Jun 2016 09:36:45 +0000 (11:36 +0200)]
Sync'ed with JSBSim:
* Fixed the trim on ground algorithm. Now JSBSim aircrafts should no longer be 'dropped' on the runway at start.
* Removed a correction on the propeller induced velocity that was giving erratic results when the aircraft aero velocity is very small.
* Various source comments updates.

8 years agoRevert "Special case this define"
James Turner [Thu, 9 Jun 2016 19:34:43 +0000 (20:34 +0100)]
Revert "Special case this define"

This reverts commit 58731a01e24f3adb603749f7bf5b69356a5cb7e2.

8 years agoSpecial case this define
James Turner [Thu, 9 Jun 2016 15:20:25 +0000 (16:20 +0100)]
Special case this define

8 years agoVS2015 tweaks
James Turner [Thu, 9 Jun 2016 15:19:34 +0000 (16:19 +0100)]
VS2015 tweaks

8 years agoExplicitly shut down logging
James Turner [Thu, 9 Jun 2016 10:04:24 +0000 (11:04 +0100)]
Explicitly shut down logging

- needed to call FreeConsole on Windows.

8 years agoFix dependency on ‘version’ file
James Turner [Thu, 9 Jun 2016 10:04:09 +0000 (11:04 +0100)]
Fix dependency on ‘version’ file

8 years agoLauncher: fix a crash on searching locations
James Turner [Wed, 8 Jun 2016 14:45:00 +0000 (15:45 +0100)]
Launcher: fix a crash on searching locations

When hitting return multiple times, could hit a null-pointer
crash here.

8 years agoImproved feedback from scenery download.
James Turner [Wed, 8 Jun 2016 14:28:27 +0000 (15:28 +0100)]
Improved feedback from scenery download.

8 years agoTweaks for VS 15 / boost detection
James Turner [Thu, 9 Jun 2016 09:33:30 +0000 (10:33 +0100)]
Tweaks for VS 15 / boost detection

8 years agoHide add-ons tab when running launcher in-app
James Turner [Wed, 8 Jun 2016 11:00:35 +0000 (12:00 +0100)]
Hide add-ons tab when running launcher in-app

8 years agoFix the root cause for terrasync.py timeouts
Torsten Dreyer [Mon, 6 Jun 2016 10:17:12 +0000 (12:17 +0200)]
Fix the root cause for terrasync.py timeouts

Thanks to Andre Coetzee for spotting.

Also, don't hardcode port 80, intead use the port given in the url

8 years agoVS2015 compatability fixes.
James Turner [Wed, 1 Jun 2016 21:58:03 +0000 (22:58 +0100)]
VS2015 compatability fixes.

8 years agoVS2015 fixes
James Turner [Wed, 1 Jun 2016 21:57:11 +0000 (22:57 +0100)]
VS2015 fixes

Explicitly specialize these templates.

8 years agoRevert some debugging code which krept in
Erik Hofman [Sat, 28 May 2016 08:05:09 +0000 (10:05 +0200)]
Revert some debugging code which krept in

8 years agoFix the header name change from sample_openal.hxx to sample.hxx
Erik Hofman [Sat, 28 May 2016 07:57:03 +0000 (09:57 +0200)]
Fix the header name change from sample_openal.hxx to sample.hxx

8 years agoTentative to fix JSBSim bug SF #115 : don't compute cl-squared when qbar is too low...
Bertrand Coconnier [Fri, 27 May 2016 11:50:35 +0000 (13:50 +0200)]
Tentative to fix JSBSim bug SF #115 : don't compute cl-squared when qbar is too low otherwise its value will go through the roof and so will the induced drag.

8 years agoFallback URL when official catalog is not found.
James Turner [Wed, 25 May 2016 20:48:06 +0000 (21:48 +0100)]
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)

8 years agoFirst attempt to handle the nasty socket timeout
Torsten Dreyer [Wed, 25 May 2016 14:19:36 +0000 (16:19 +0200)]
First attempt to handle the nasty socket timeout

Retry once if a http get fails

8 years agoPrevent rf2 from becoming inf
Erik Hofman [Wed, 25 May 2016 08:30:34 +0000 (10:30 +0200)]
Prevent rf2 from becoming inf

8 years agoBug fix for JSBSim SF bug #115: P51D crashes when advance ratio goes through zero
Bertrand Coconnier [Mon, 23 May 2016 18:02:36 +0000 (20:02 +0200)]
Bug fix for JSBSim SF bug #115: P51D crashes when advance ratio goes through zero

8 years agoFix file permissions
Erik Hofman [Mon, 23 May 2016 09:39:40 +0000 (11:39 +0200)]
Fix file permissions