]> git.mxchange.org Git - flightgear.git/log
flightgear.git
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

8 years agoCode cleanups, code updates and fix at least on (possible) devide-by-zero
Erik Hofman [Mon, 23 May 2016 09:38:05 +0000 (11:38 +0200)]
Code cleanups, code updates and fix at least on (possible) devide-by-zero

8 years agoReal fix for Mac deployment issues.
James Turner [Sat, 21 May 2016 13:00:29 +0000 (14:00 +0100)]
Real fix for Mac deployment issues.

8 years agoTesting if this change broke Mac deployment.
James Turner [Sat, 21 May 2016 09:36:43 +0000 (10:36 +0100)]
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.

8 years agoAdd missing include in src/Navaids/NavDataCache.cxx
Florent Rougon [Wed, 18 May 2016 08:13:18 +0000 (10:13 +0200)]
Add missing include in src/Navaids/NavDataCache.cxx

#include <sstream> is needed for NavDataCachePrivate::init()
which uses std::ostringstream.

8 years agoAdd user-agent request header
Torsten Dreyer [Wed, 18 May 2016 13:14:59 +0000 (15:14 +0200)]
Add user-agent request header

8 years agoMuch better terrasync.py
Torsten Dreyer [Wed, 18 May 2016 10:51:29 +0000 (12:51 +0200)]
Much better terrasync.py

- tortellini instead of spaghetti code (use oop)
- reuse connection

8 years agoExpose the type (loc/vor) for the navradio
Torsten Dreyer [Wed, 18 May 2016 06:28:27 +0000 (08:28 +0200)]
Expose the type (loc/vor) for the navradio

8 years agonew version: 2016.3.0
Automatic Release Builder [Tue, 17 May 2016 08:03:50 +0000 (10:03 +0200)]
new version: 2016.3.0

8 years agonew version: 2016.2.1
Automatic Release Builder [Tue, 17 May 2016 08:03:50 +0000 (10:03 +0200)]
new version: 2016.2.1

8 years agoFix MSVC10 compilation errors by using streams.
Richard Harrison [Thu, 12 May 2016 10:05:28 +0000 (12:05 +0200)]
Fix MSVC10 compilation errors by using streams.

8 years agoMultiplayer packet boundary warnings
Richard Harrison [Thu, 12 May 2016 06:15:52 +0000 (08:15 +0200)]
Multiplayer packet boundary warnings

* Add warning if multiplayer packet boundary reached
* Add warning if string too big for remaining space in packet

ref: https://sourceforge.net/p/flightgear/mailman/message/35059961/

8 years agoterrasync.py: cleanup and add some more power
Torsten Dreyer [Wed, 11 May 2016 20:59:59 +0000 (22:59 +0200)]
terrasync.py: cleanup and add some more power

- add option --quick
  check sha1sum of .dirindex files and skip directory if hash matches
- add option --remove-orphan
  remove orphan files (files exist locally but not on server)
- be less verbose
- write .dirindex files locally

8 years agoMove terrasync.py to /scripts/python
Torsten Dreyer [Wed, 11 May 2016 12:59:36 +0000 (14:59 +0200)]
Move terrasync.py to /scripts/python

8 years agoterrasync.py: improving the stub
Torsten Dreyer [Wed, 11 May 2016 12:57:38 +0000 (14:57 +0200)]
terrasync.py: improving the stub

- use DNS NAPTR records to find terrasync server
- if static root/.dirindex if not provided by server
- allow command-line args for --url and --target

8 years agoCurl is required for SimGear now.
James Turner [Sat, 7 May 2016 09:23:02 +0000 (10:23 +0100)]
Curl is required for SimGear now.

8 years agoinitial commit for a python based terrasync client
Torsten Dreyer [Wed, 4 May 2016 21:08:22 +0000 (23:08 +0200)]
initial commit for a python based terrasync client

8 years agoShift of management of the precipitation OSG scene graph to the scenery manager.
Edward d'Auvergne [Tue, 3 May 2016 07:56:06 +0000 (09:56 +0200)]
Shift of management of the precipitation OSG scene graph to the scenery manager.

The precipitation branch of the OSG scene graph is now centrally managed by the
scenery manager rather the precipitation manager itself.  The scene graph
initialisation from the constructor has also been shifted into the new
FGPrecipitationMgr::sceneGraphSetup() function.

8 years agoPrevention of the creation of multiple OSG scene graph roots.
Edward d'Auvergne [Tue, 3 May 2016 13:14:53 +0000 (15:14 +0200)]
Prevention of the creation of multiple OSG scene graph roots.

As the scenery manager's init() function is called twice on start up, two OSG
scene graph roots would be created.  A number of scene graph branches would be
initalised on the first root, but then be lost as the second is created.  This
fixes the precipitation branch, for example.

8 years agoFixed chmod
Roland Haeder [Sat, 30 Apr 2016 16:18:43 +0000 (18:18 +0200)]
Fixed chmod

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoSet min-macos-version for CMake 3.2.1
James Turner [Tue, 17 Mar 2015 16:56:52 +0000 (16:56 +0000)]
Set min-macos-version for CMake 3.2.1

8 years agoFixed CHMOD
Roland Haeder [Sun, 19 Jan 2014 19:43:40 +0000 (20:43 +0100)]
Fixed CHMOD

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agomerged
Roland Haeder [Sat, 3 May 2014 18:16:37 +0000 (20:16 +0200)]
merged

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoapt.dat parser: indentation fixes; add a comment
Florent Rougon [Sun, 24 Apr 2016 18:10:10 +0000 (20:10 +0200)]
apt.dat parser: indentation fixes; add a comment

- The first place where indentation is fixed was really misleading, at
  least.

- The added comment "'line' may end with an \r character [...]" just
  clarifies something that has been there for ages, to avoid people
  falling into the trap.

8 years agoapt.dat parser: various little improvements
Florent Rougon [Sun, 24 Apr 2016 17:45:37 +0000 (19:45 +0200)]
apt.dat parser: various little improvements

- don't duplicate the line buffer (array of char as well as
  std::string), it is not useful here;
- don't corrupt (truncate) input lines longer than 2048 bytes: there is
  no such limitation in the apt.dat v1000 format spec;
- fix comments handling: the apt.dat v1000 format spec states they must
  start with *two* '#' characters.

8 years agoapt.dat parser: better input stream handling
Florent Rougon [Sun, 24 Apr 2016 17:33:41 +0000 (19:33 +0200)]
apt.dat parser: better input stream handling

- use ( in.getline(...) ) as the main loop condition instead of
  ( ! in.eof() ). This should behave better (see
  <https://gehrcke.de/2011/06/reading-files-in-c-using-ifstream-dealing-correctly-with-badbit-failbit-eofbit-and-perror/>);
- check in.bad() after exiting from each reading loop; if the exit was
  caused by an error, log an appropriate message and throw an
  exception.

8 years agoapt.dat parser: separately handle the first two lines; fix line counting
Florent Rougon [Sun, 24 Apr 2016 16:57:36 +0000 (18:57 +0200)]
apt.dat parser: separately handle the first two lines; fix line counting

- The first two lines of apt.dat have their own special syntax -> handle
  them separately. Before this commit, the test "is the first character
  an 'I' or an 'A'?" was done for *every* line of apt.dat, while it is
  only relevant for the first one.

- Fix counting of the current line number (it was most of the time
  0-based so far, which could be seen in error messages, because the
  second line of apt.dat was absorbed without going through the common
  code path where lines are normally read at the top of the while loop).
  With this commit, line numbers in apt.dat are consistently counted
  starting from 1.

8 years agoapt.dat parser: remove useless code
Florent Rougon [Sun, 24 Apr 2016 16:05:15 +0000 (18:05 +0200)]
apt.dat parser: remove useless code

Remove useless code before parsing the "row code" (terminology from the
apt.dat v1000 spec). The row code is parsed with atoi(), which will
automatically stop at the first space found if it saw at least one
digit, thus there is no need to replace it with '\0', AFAICS.

One could replace the existing atoi() call with things that do better
checking, but my tests showed that would be a bit slower, so I let it
this way (tried with std::istringstream and strtol()).

8 years agoapt.dat parser: clearer log and exception messages
Florent Rougon [Sun, 24 Apr 2016 15:53:42 +0000 (17:53 +0200)]
apt.dat parser: clearer log and exception messages

- the 'apt_dat' variable introduced here will be used in further
  commits;
- use two spaces for indentation, as seen in most of the file.

8 years agoFix incorrect QNH in spoken ATIS when using live weather fetch
Richard Senior [Tue, 26 Apr 2016 09:30:15 +0000 (10:30 +0100)]
Fix incorrect QNH in spoken ATIS when using live weather fetch

When using live weather fetch, the QNH should be obtained from
environment/metar/pressure-inhg.

See: http://sourceforge.net/p/flightgear/mailman/message/35037125

Add new method getQnhInHg to ATISInformationProvider and its implementations
to avoid rounding errors converting from hPa back to inches in ATIS reports.

The CurrentWeatherATISInformationProvider (used when live weather fetch is
not in use) continues to use the property environment/pressure-sea-level-inhg.
This produces the incorrect QNH at airports significantly above sea level
but this needs fixing elsewhere to calculate the correct QNH.

8 years agoEliminate use of non-standard round() function in ATISEncoder
Richard Senior [Tue, 26 Apr 2016 09:08:42 +0000 (10:08 +0100)]
Eliminate use of non-standard round() function in ATISEncoder

Use of round() produces compilation errors with MSVC10 and the build server

8 years agoSlightly better handling of setting initial pos
Torsten Dreyer [Sun, 24 Apr 2016 08:42:58 +0000 (10:42 +0200)]
Slightly better handling of setting initial pos

don't use KSFO as default when an unknown ID was
specified for --airport arg
TODO: don't hardcode default airport

8 years agoImprovements to spoken ATIS
Richard Senior [Fri, 8 Apr 2016 22:33:50 +0000 (23:33 +0100)]
Improvements to spoken ATIS

- Add section tag to support inclusion of ATIS fragments.

- Add visibility, QNH and cloud tokens to support new ATIS formats.

- Add support for starts-with, ends-with and contains comparisons in
  conditionals, including negated versions.

- Strip and convert case in comparisons.

- Speak VRB wind direction as "variable".

- Speak zeroes in fractional part of QNH inHg.

- Force US voice in US, Canada and Pacific; UK voice in UK.

8 years agoClearer aircraft search prompt.
James Turner [Sun, 17 Apr 2016 17:00:37 +0000 (18:00 +0100)]
Clearer aircraft search prompt.

8 years agoLauncher: silence 'Unknown aircraft URI scheme' warning on empty selection
Alessandro Menti [Thu, 14 Apr 2016 14:41:19 +0000 (16:41 +0200)]
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).

8 years agoLauncher: do not launch the simulator when closing the Qt launcher with ESC
Alessandro Menti [Thu, 14 Apr 2016 09:07:41 +0000 (11:07 +0200)]
Launcher: do not launch the simulator when closing the Qt launcher with ESC

8 years agoLauncher: fix window flags on the "Add catalog" progress dialog
Alessandro Menti [Wed, 13 Apr 2016 18:54:15 +0000 (20:54 +0200)]
Launcher: fix window flags on the "Add catalog" progress dialog

8 years agoLauncher: state that it is needed to press Enter to search for the airport
Alessandro Menti [Wed, 13 Apr 2016 14:28:44 +0000 (16:28 +0200)]
Launcher: state that it is needed to press Enter to search for the airport

8 years agoLauncher: disable Close button on the initial progress dialog
Alessandro Menti [Wed, 13 Apr 2016 14:15:27 +0000 (16:15 +0200)]
Launcher: disable Close button on the initial progress dialog

8 years agoLauncher: spelling fix in "Add Catalog" dialog window
Alessandro Menti [Wed, 13 Apr 2016 14:05:18 +0000 (16:05 +0200)]
Launcher: spelling fix in "Add Catalog" dialog window

8 years agoJSBSim: - Fixed the forces/hold-down feature. The velocities are now zeroed when...
Bertrand Coconnier [Sat, 16 Apr 2016 12:49:12 +0000 (14:49 +0200)]
JSBSim: - Fixed the forces/hold-down feature. The velocities are now zeroed when the property is set which should prevent aircraft from drifting as has been reported by G. Agostinho.
- Fixed a bug that was skipping the <system> initialization.

8 years agoFix a typo
James Turner [Fri, 15 Apr 2016 17:03:01 +0000 (18:03 +0100)]
Fix a typo

8 years agoMinor improvement to hangar list in the launcher.
James Turner [Fri, 15 Apr 2016 16:25:00 +0000 (17:25 +0100)]
Minor improvement to hangar list in the launcher.

8 years agoFixes to launcher description rendering.
James Turner [Fri, 15 Apr 2016 16:21:49 +0000 (17:21 +0100)]
Fixes to launcher description rendering.

8 years agoPrompt the user when the default hangar is missing.
James Turner [Fri, 15 Apr 2016 16:06:53 +0000 (17:06 +0100)]
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.

8 years agoDifferent fix for traffic shutdown crash.
James Turner [Thu, 14 Apr 2016 17:54:52 +0000 (18:54 +0100)]
Different fix for traffic shutdown crash.

Fix for: https://sourceforge.net/p/flightgear/codetickets/1864/

8 years agoFix stray back-button in Qt launcher
James Turner [Thu, 14 Apr 2016 17:54:27 +0000 (18:54 +0100)]
Fix stray back-button in Qt launcher

- when no location is set, don’t show the back button.

8 years agoUpdate from SimGear API change
James Turner [Thu, 14 Apr 2016 08:33:20 +0000 (09:33 +0100)]
Update from SimGear API change

- support new HTTP cancellation API

8 years agoMake LOD of buildings/trees/objects/STG configurable.
Stuart Buchanan [Fri, 8 Apr 2016 21:38:17 +0000 (22:38 +0100)]
Make LOD of buildings/trees/objects/STG configurable.

Now using /sim/rendering/static-lod/rough.

8 years agoMove launcher settings store inside FG_HOME
James Turner [Fri, 8 Apr 2016 09:40:26 +0000 (10:40 +0100)]
Move launcher settings store inside FG_HOME

Settings now in .ini format, at $FG_HOME/flightgear.org/FlightGear.ini

8 years agoRestructure paths handling in the launcher
James Turner [Fri, 8 Apr 2016 09:26:19 +0000 (10:26 +0100)]
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

8 years agoMerge /u/sanhozay/flightgear/ branch next into next
Torsten Dreyer [Thu, 7 Apr 2016 09:47:01 +0000 (09:47 +0000)]
Merge /u/sanhozay/flightgear/ branch next into next

https://sourceforge.net/p/flightgear/flightgear/merge-requests/35/

8 years agoAllow ATIS format specifications to compare tokens against text values
Richard Senior [Wed, 6 Apr 2016 23:58:34 +0000 (00:58 +0100)]
Allow ATIS format specifications to compare tokens against text values

Prior to this change, it was only possible to compare the values of tokens
to each other for use in conditionals, e.g. landing and departing runway.
This change allows comparison of a token to a text value, e.g. to compare
wind speed to zero.

8 years agoAdd the latest fixes and expose all inertias in the property tree
Erik Hofman [Wed, 6 Apr 2016 12:26:30 +0000 (14:26 +0200)]
Add the latest fixes and expose all inertias in the property tree

8 years agoFix a reset crash with pager threading.
James Turner [Mon, 28 Mar 2016 22:50:47 +0000 (23:50 +0100)]
Fix a reset crash with pager threading.

Ensure pager thread is stopped before we touch
the sgUserData reference to the main props tree.

8 years agoFix corrupt HUD fonts
James Turner [Mon, 28 Mar 2016 21:54:24 +0000 (22:54 +0100)]
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.

8 years agoUpdated Canvas adaptor getImage API
James Turner [Sat, 26 Mar 2016 20:25:31 +0000 (20:25 +0000)]
Updated Canvas adaptor getImage API

Return the Image by ref ptr instead of raw pointer.

8 years agoFix Clang unused member warnings in JSBsim.
James Turner [Sat, 26 Mar 2016 20:24:57 +0000 (20:24 +0000)]
Fix Clang unused member warnings in JSBsim.

8 years agoFix iterator const-ness.
James Turner [Thu, 24 Mar 2016 20:23:39 +0000 (20:23 +0000)]
Fix iterator const-ness.

8 years agoImprove download-dir behaviour.
James Turner [Thu, 24 Mar 2016 15:10:06 +0000 (15:10 +0000)]
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.

8 years agoHTTP subsystem has a default name.
James Turner [Thu, 24 Mar 2016 15:08:38 +0000 (15:08 +0000)]
HTTP subsystem has a default name.

Switch to using type-safe accessors now.

8 years agoNew options setting/clearing helpers.
James Turner [Thu, 24 Mar 2016 15:05:03 +0000 (15:05 +0000)]
New options setting/clearing helpers.