fg:flightgear.git
7 years agoFix polar rendering of map. (Bug #55)
James Turner [Sun, 29 Jun 2014 20:45:18 +0000 (21:45 +0100)]
Fix polar rendering of map. (Bug #55)

Use an azimuth-equidistant projection, which handles high latitudes and
polar regions correctly. Written by Gijs de Rooy.

7 years agoNasal: expose missing Canvas::setLayout
Thomas Geymayer [Thu, 26 Jun 2014 16:26:43 +0000 (18:26 +0200)]
Nasal: expose missing Canvas::setLayout

7 years agoNasal: Limit SGPath::create_dir access rights to 0755
Thomas Geymayer [Thu, 26 Jun 2014 16:09:22 +0000 (18:09 +0200)]
Nasal: Limit SGPath::create_dir access rights to 0755

7 years agoDraw Canvas GUI on top of PUI (to conform with event order).
Thomas Geymayer [Tue, 24 Jun 2014 07:14:57 +0000 (09:14 +0200)]
Draw Canvas GUI on top of PUI (to conform with event order).

7 years agoFix compiler warning (naRuntimeError does not return...)
Thomas Geymayer [Sun, 22 Jun 2014 22:42:17 +0000 (00:42 +0200)]
Fix compiler warning (naRuntimeError does not return...)

7 years agoNasal: expose SGCondition using nasal::Ghost and improved error checking.
Thomas Geymayer [Sun, 22 Jun 2014 13:37:48 +0000 (15:37 +0200)]
Nasal: expose SGCondition using nasal::Ghost and improved error checking.

7 years agoRemove unused value, formatting.
Thomas Geymayer [Sun, 22 Jun 2014 13:36:25 +0000 (15:36 +0200)]
Remove unused value, formatting.

7 years agoKeep (PUI) menubar visibility on gui-redraw. (Fix #1251)
Thomas Geymayer [Sat, 21 Jun 2014 12:51:34 +0000 (14:51 +0200)]
Keep (PUI) menubar visibility on gui-redraw. (Fix #1251)

For aircraft using fgcommand("gui-redraw"), which is for example
also used by gui.menuBind, the menubar was always hidden and
not shown again.

7 years agoNasal: set CustomEvent::bubbles.
Thomas Geymayer [Thu, 19 Jun 2014 11:30:01 +0000 (13:30 +0200)]
Nasal: set CustomEvent::bubbles.

7 years agoRemove unused --control option
Gijs de Rooy [Thu, 19 Jun 2014 12:28:14 +0000 (14:28 +0200)]
Remove unused --control option

7 years agoNasal: md5 is now in simgear.
Thomas Geymayer [Wed, 18 Jun 2014 13:59:41 +0000 (15:59 +0200)]
Nasal: md5 is now in simgear.

7 years agoNasal: expose md5 function.
Thomas Geymayer [Tue, 17 Jun 2014 20:33:53 +0000 (22:33 +0200)]
Nasal: expose md5 function.

7 years agoNasal: expose canvas::Text::maxWidth.
Thomas Geymayer [Tue, 17 Jun 2014 15:02:10 +0000 (17:02 +0200)]
Nasal: expose canvas::Text::maxWidth.

7 years agoGUIMgr: prevent double init/shutdown
Thomas Geymayer [Mon, 16 Jun 2014 21:47:05 +0000 (23:47 +0200)]
GUIMgr: prevent double init/shutdown

7 years agoPkg: initial support for Variants
James Turner [Sun, 15 Jun 2014 18:10:24 +0000 (20:10 +0200)]
Pkg: initial support for Variants

- aircraft init code can deal with a variant ID
- Nasal API can return a hash with variant IDs and names

7 years agoNasalSys: process nasal::Ghost deletion queue.
Thomas Geymayer [Sun, 15 Jun 2014 14:36:35 +0000 (16:36 +0200)]
NasalSys: process nasal::Ghost deletion queue.

7 years agopkg: allow 'installed' as filter criterion.
Thomas Geymayer [Sun, 15 Jun 2014 14:36:02 +0000 (16:36 +0200)]
pkg: allow 'installed' as filter criterion.

7 years agoNasal: expose canvas::Layout::clear()
Thomas Geymayer [Sat, 14 Jun 2014 11:21:28 +0000 (13:21 +0200)]
Nasal: expose canvas::Layout::clear()

7 years agoKévin Seroux: C++11 fixes for MSVC++
bcoconni [Fri, 13 Jun 2014 22:29:39 +0000 (00:29 +0200)]
Kévin Seroux: C++11 fixes for MSVC++

7 years agoExpose parse_markdown to Nasal.
Thomas Geymayer [Fri, 13 Jun 2014 17:16:26 +0000 (19:16 +0200)]
Expose parse_markdown to Nasal.

7 years agoEnable package system API
Thomas Geymayer [Fri, 13 Jun 2014 14:08:26 +0000 (16:08 +0200)]
Enable package system API

7 years agoNasal: expose canvas height-for-width layouting methods.
Thomas Geymayer [Thu, 12 Jun 2014 22:09:33 +0000 (00:09 +0200)]
Nasal: expose canvas height-for-width layouting methods.

7 years agoType-correct decoding of JSON to props.
James Turner [Thu, 12 Jun 2014 18:58:13 +0000 (19:58 +0100)]
Type-correct decoding of JSON to props.

7 years agoWebsocket get/set props and exec commands.
James Turner [Sat, 17 May 2014 08:07:25 +0000 (09:07 +0100)]
Websocket get/set props and exec commands.

7 years agoExpose package file size to Nasal.
James Turner [Thu, 12 Jun 2014 16:51:19 +0000 (17:51 +0100)]
Expose package file size to Nasal.

7 years agoFix crash (use iterator of same container for loop)
Thomas Geymayer [Thu, 12 Jun 2014 14:38:21 +0000 (16:38 +0200)]
Fix crash (use iterator of same container for loop)

7 years agoPkg: Fix loading of non-installed aircraft.
James Turner [Thu, 12 Jun 2014 12:06:01 +0000 (13:06 +0100)]
Pkg: Fix loading of non-installed aircraft.

Fallback to the normal code path when a packaged aircraft is
found, but not installed.

7 years agoPkg: nicer Nasal syntax for tags in queries.
James Turner [Wed, 11 Jun 2014 17:41:16 +0000 (18:41 +0100)]
Pkg: nicer Nasal syntax for tags in queries.

7 years agoAircraft switching command and formal support.
James Turner [Wed, 11 Jun 2014 17:19:41 +0000 (18:19 +0100)]
Aircraft switching command and formal support.

- /sim/aircraft can be set to package ID, including qualified
package ID. If not matching package is found, falls back to
traditional search of fg-aircraft for -set.xml files

7 years agoNasal: expose canvas::Layout item remove and get methods.
Thomas Geymayer [Wed, 11 Jun 2014 22:44:26 +0000 (00:44 +0200)]
Nasal: expose canvas::Layout item remove and get methods.

7 years agoPackage: warn for unknown filter term and use Hash::iterator.
Thomas Geymayer [Wed, 11 Jun 2014 16:19:13 +0000 (18:19 +0200)]
Package: warn for unknown filter term and use Hash::iterator.

7 years agopkg: Expose install callbacks to Nasal.
Thomas Geymayer [Tue, 10 Jun 2014 21:52:36 +0000 (23:52 +0200)]
pkg: Expose install callbacks to Nasal.

7 years agoPackages: search from Nasal
James Turner [Tue, 10 Jun 2014 21:12:27 +0000 (22:12 +0100)]
Packages: search from Nasal

- also allow direct uninstallation.

7 years agoNasal: expose more methods to Nasal.
Thomas Geymayer [Tue, 10 Jun 2014 16:44:38 +0000 (18:44 +0200)]
Nasal: expose more methods to Nasal.

7 years agoNasal: Expose BoxLayout methods for spacer and stretch.
Thomas Geymayer [Sun, 8 Jun 2014 21:34:37 +0000 (23:34 +0200)]
Nasal: Expose BoxLayout methods for spacer and stretch.

7 years agoNasal: expose vbox layout and allow setting item stretch.
Thomas Geymayer [Wed, 4 Jun 2014 15:50:52 +0000 (17:50 +0200)]
Nasal: expose vbox layout and allow setting item stretch.

7 years agoNasal: extend pkg API.
Thomas Geymayer [Wed, 4 Jun 2014 15:50:25 +0000 (17:50 +0200)]
Nasal: extend pkg API.

7 years agoUpdate includes (required by simgear changes)
Thomas Geymayer [Wed, 4 Jun 2014 00:58:14 +0000 (02:58 +0200)]
Update includes (required by simgear changes)

7 years agoUpdates for simgear nasal::Ghost changes.
Thomas Geymayer [Tue, 3 Jun 2014 00:23:17 +0000 (02:23 +0200)]
Updates for simgear nasal::Ghost changes.

7 years agoiax.md5: pass correct size to memset (identified by gcc)
Thomas Geymayer [Sun, 1 Jun 2014 10:20:33 +0000 (12:20 +0200)]
iax.md5: pass correct size to memset (identified by gcc)

7 years agoCanvas: expose more methods to Nasal
Thomas Geymayer [Sun, 1 Jun 2014 10:08:13 +0000 (12:08 +0200)]
Canvas: expose more methods to Nasal

7 years agoInitial package-system integration.
James Turner [Sat, 31 May 2014 17:04:56 +0000 (18:04 +0100)]
Initial package-system integration.

- disabled by default
- incomplete, adding so Thomas can see the API

7 years agoOnly include IAX 3rdparty files if needed
Christian Schmitt [Sat, 31 May 2014 11:50:28 +0000 (13:50 +0200)]
Only include IAX 3rdparty files if needed

7 years agoCanvas: expose layouting to Nasal.
Thomas Geymayer [Sat, 31 May 2014 00:43:03 +0000 (02:43 +0200)]
Canvas: expose layouting to Nasal.

7 years agoCanvas: store data inside canvas and elements.
Thomas Geymayer [Thu, 29 May 2014 14:46:11 +0000 (16:46 +0200)]
Canvas: store data inside canvas and elements.

 - jQuery/HTML5 like .data() method on Canvas and Elements to store
   custom data in the property tree.
 - CustomEvent takes additional parameter hash with 'detail' data
   stored in event.

7 years agoFix for airport search on some platforms.
James Turner [Thu, 29 May 2014 08:42:21 +0000 (09:42 +0100)]
Fix for airport search on some platforms.

Ensure the std::string passed to sqlite lives for the duration
of the query.

7 years agoRespect tile expiry time when cache is disabled.
James Turner [Sat, 24 May 2014 13:23:59 +0000 (14:23 +0100)]
Respect tile expiry time when cache is disabled.

Tiles added via the visible mechanism always have an
expiry time of 0.0, so this only affects tiles added by elevation queries, from the AI or FDM.

7 years agoUpdate of the httpd implementation
Torsten Dreyer [Mon, 31 Mar 2014 20:31:30 +0000 (22:31 +0200)]
Update of the httpd implementation

- Add a screenshot uri handler
- Enable persistent http connections
- Simple CORS implementatation for the
  JSON property uri handler

many changes for the httpd

7 years agoFinal log-class cleanup (httpd comes in another commit)
Torsten Dreyer [Tue, 20 May 2014 21:12:34 +0000 (23:12 +0200)]
Final log-class cleanup (httpd comes in another commit)

yes, I will use grep next time :-/

7 years agoMore log class fixes
Torsten Dreyer [Tue, 20 May 2014 21:06:02 +0000 (23:06 +0200)]
More log class fixes

7 years agoNo JSBSim debug msg without having SG_FLIGHT class
Torsten Dreyer [Tue, 20 May 2014 20:58:38 +0000 (22:58 +0200)]
No JSBSim debug msg without having SG_FLIGHT class

7 years agoset corret logging class for A/P messages
Torsten Dreyer [Tue, 20 May 2014 20:36:43 +0000 (22:36 +0200)]
set corret logging class for A/P messages

7 years agoset ENABLE_FLITE=On as default
Torsten Dreyer [Tue, 20 May 2014 08:52:59 +0000 (10:52 +0200)]
set ENABLE_FLITE=On as default

7 years agoCanvas: support for custom events and event dispatching.
Thomas Geymayer [Sun, 18 May 2014 22:25:34 +0000 (00:25 +0200)]
Canvas: support for custom events and event dispatching.

7 years agoNasalCanvas: Update for simgear changes.
Thomas Geymayer [Sun, 18 May 2014 18:21:56 +0000 (20:21 +0200)]
NasalCanvas: Update for simgear changes.

7 years agoNasalPositioned: Update for nasal::Ghost changes in SimGear
Thomas Geymayer [Sun, 18 May 2014 15:44:39 +0000 (17:44 +0200)]
NasalPositioned: Update for nasal::Ghost changes in SimGear

7 years agoJSBSim sync
bcoconni [Sun, 18 May 2014 11:39:31 +0000 (13:39 +0200)]
JSBSim sync

7 years agoTune osgDB::MaxPagedLODs parameter
James Turner [Sat, 17 May 2014 08:05:25 +0000 (09:05 +0100)]
Tune osgDB::MaxPagedLODs parameter

7 years agoInitial mode to disable caching of tiles.
James Turner [Fri, 16 May 2014 13:52:24 +0000 (14:52 +0100)]
Initial mode to disable caching of tiles.

7 years agoMore AtisSpeaker variations
Torsten Dreyer [Tue, 13 May 2014 09:20:11 +0000 (11:20 +0200)]
More AtisSpeaker variations

Also hide the voice installation path from the user of
the VoiceSynthesizer

7 years agoFix for issue 1463 (YASim underestimates off-axis aerodynamic forces on fuselages) 1584
Colin Douglas Howell [Tue, 13 May 2014 02:07:10 +0000 (19:07 -0700)]
Fix for issue 1463 (YASim underestimates off-axis aerodynamic forces on fuselages)

Change the drag coefficient for fuselages along the Y and Z axes
(i.e. perpendicular to the fuselage's main axis) to use a fixed
value of 0.5. (The value can still be adjusted using the fuselage's
"cy" and "cz" XML attributes.)

For the Y-axis and Z-axis drag on fuselages, YASim originally used
a drag coefficient equal to:

(solver drag factor) * (fuselage length/width ratio)

This value turns out to be way too small for well-streamlined
aircraft, even those with long, narrow fuselages, and especially
so for those with short, stubby fuselages. Such fuselages are
streamlined in the X direction, but not along Y or Z.

0.5 is only a ballpark estimate, but it's reasonably close for the
common case of a fairly long fuselage with a round cross section. For
flat-sided fuselages, a larger value should be used, up to a maximum
of 2 for a slab-sided block. For short fuselages, the value should be
reduced to account for end effects. The fuselage's "cy" and "cz" XML
attributes can be modified to make such adjustments.

This fix won't affect straight flight much, but it should have a strong
impact on some maneuvers. For example, it will make slips more
effective and may make knife-edge flight easier on aerobatic aircraft
which should be capable of it.

Only aircraft which specify version="YASIM_VERSION_32" or newer are
affected.

7 years agoSeparate fuselage drag adjustment from that for landing gear and external weights.
Colin Douglas Howell [Thu, 8 May 2014 21:40:46 +0000 (14:40 -0700)]
Separate fuselage drag adjustment from that for landing gear and external weights.

This commit is in prepartion for the following commit, which is a bug fix for
Issue 1463 (YASim underestimates off-axis forces on fuselages).

Previously the solver would adjust the drag factor for all of an Airplane's
non-Wing Surfaces in one pass, with no attempt to distinguish Fuselage Surfaces
from the Surfaces for Gear and Weights. This makes it difficult to modify how
fuselage drag is calculated while leaving unaffected the drag for landing gear
and external weights.

Now the solver adjusts the drag for an Airplane's fuselages, landing gear, and
external weights in three separate passes. To do this, each Fuselage now has a
list of its Surfaces. The fuselage pass simply iterates through the list of
Fuselages, running through each Fuselage's list of Surfaces.

The Airplane's list of non-Wing Surfaces, "_surfs", is no longer used here, but
there may still be uses of it elsewhere.

7 years agoTry to fix build error for msvc
Torsten Dreyer [Sat, 10 May 2014 13:49:50 +0000 (15:49 +0200)]
Try to fix build error for msvc

7 years agoScripting: expose flight history as aircraft.history()
Thomas Geymayer [Sat, 10 May 2014 08:52:16 +0000 (10:52 +0200)]
Scripting: expose flight history as aircraft.history()

 var hist = aircraft.history();
 debug.dump(hist.pathForHistory(50));

7 years agoCanvas: move Window class to simgear.
Thomas Geymayer [Fri, 9 May 2014 14:06:23 +0000 (16:06 +0200)]
Canvas: move Window class to simgear.

7 years agoBetter variable initialization, thanks to Torsten for reporting it
Clément de l'Hamaide [Thu, 8 May 2014 17:28:20 +0000 (19:28 +0200)]
Better variable initialization, thanks to Torsten for reporting it

7 years agoAvoid redefining HAVE_SYS_TIME_H by IAXClient
Clément de l'Hamaide [Thu, 8 May 2014 17:22:59 +0000 (19:22 +0200)]
Avoid redefining HAVE_SYS_TIME_H by IAXClient

7 years agoUse FLITE voices in FGVoiceMgr
Torsten Dreyer [Wed, 7 May 2014 20:12:23 +0000 (22:12 +0200)]
Use FLITE voices in FGVoiceMgr

This patch enables spoken words without the need for external
festival using the existing FGVoiceMgr subsystem and the
properties under /sim/sound/voices
To hear the generated voices, set /sim/sound/voices/enabled=true
at startup

- use FLITEVoiceSynthesizer if a voice has <festival>false</festival>
- use FLITEVoiceSynthesizer if the festival server is unreachable
- decouple FGFLITEVoice from FGVoiceThread

7 years agoRender voice to memory, no more temp files.
Torsten Dreyer [Wed, 7 May 2014 18:09:15 +0000 (20:09 +0200)]
Render voice to memory, no more temp files.

Thanks you James

7 years agoCompile without ENABLE_FLITE
Torsten Dreyer [Wed, 7 May 2014 17:07:29 +0000 (19:07 +0200)]
Compile without ENABLE_FLITE

7 years agoAtisSpeaker: prepare for individual voices
Torsten Dreyer [Wed, 7 May 2014 15:08:02 +0000 (17:08 +0200)]
AtisSpeaker: prepare for individual voices

7 years agoatis voice: add some variation in pitch and speed
Torsten Dreyer [Wed, 7 May 2014 08:34:04 +0000 (10:34 +0200)]
atis voice: add some variation in pitch and speed

7 years agoCanvas: update for SimGear changes.
Thomas Geymayer [Tue, 6 May 2014 16:08:46 +0000 (18:08 +0200)]
Canvas: update for SimGear changes.

7 years agoFix for issue 1394 (YASim's geometry for non-cylindrical fuselages is wrong)
Colin Douglas Howell [Tue, 6 May 2014 04:21:23 +0000 (21:21 -0700)]
Fix for issue 1394 (YASim's geometry for non-cylindrical fuselages is wrong)

Correct handling of fuselage's "midpoint" XML attribute so that the midpoint's
location matches the point assumed by all aircraft developers and YASim docs.
This means the fuselage won't be generated "back-to-front".
Also correct the variation of diameter for tapered fuselages so that both ends
of the fuselage narrow from the midpoint to the endpoints.
Before this, one end was narrowing from the endpoint to the midpoint, the
opposite of what was expected.
These changes affect both weight distribution and the distribution of lateral
aerodynamic forces.

7 years agoAdd GPL header
Torsten Dreyer [Tue, 6 May 2014 08:33:50 +0000 (10:33 +0200)]
Add GPL header

7 years agoChanges to voice + atis
Torsten Dreyer [Tue, 6 May 2014 08:23:04 +0000 (10:23 +0200)]
Changes to voice + atis

- Add a very simple line-of-sight propagation model for the radio
  range computation.
- Remove some no longer used debug log messages
- Some code cleanup
- add-noise is now on by default

7 years agoFix a warning, no functional change
Torsten Dreyer [Mon, 5 May 2014 20:24:47 +0000 (22:24 +0200)]
Fix a warning, no functional change

7 years agocommradio: typo: cuttoff --> cutoff
Torsten Dreyer [Mon, 5 May 2014 11:22:39 +0000 (13:22 +0200)]
commradio: typo: cuttoff --> cutoff

7 years agocommradio: add squelch
Torsten Dreyer [Mon, 5 May 2014 11:20:03 +0000 (13:20 +0200)]
commradio: add squelch

adding property cuttoff-signal-quality to the comm radio
If signal-quality goes below this value, atis sound is muted.

Also: initialize property power-btn if not defined by the
aircraft or instrument designer

7 years agofgadmin: add C string header
Clément de l'Hamaide [Fri, 2 May 2014 18:31:52 +0000 (20:31 +0200)]
fgadmin: add C string header

7 years agoFGadmin: fix compilation, move CMake stuff to better place, remove old ./configure...
Clément de l'Hamaide [Wed, 30 Apr 2014 18:34:05 +0000 (20:34 +0200)]
FGadmin: fix compilation, move CMake stuff to better place, remove old ./configure system

7 years agoJSBSim: fix zero agl above scenery discontinuity
Torsten Dreyer [Wed, 30 Apr 2014 14:41:27 +0000 (16:41 +0200)]
JSBSim: fix zero agl above scenery discontinuity

see http://osdir.com/ml/flightgear-sim/2014-04/msg00145.html

7 years agofix MSVC build for flite_hts_engine
Torsten Dreyer [Wed, 30 Apr 2014 14:27:25 +0000 (16:27 +0200)]
fix MSVC build for flite_hts_engine

7 years agocommradio: no spoken atis if sound disabled
Torsten Dreyer [Wed, 30 Apr 2014 08:50:57 +0000 (10:50 +0200)]
commradio: no spoken atis if sound disabled

7 years agoCleanup part2. Forgotton file.
Torsten Dreyer [Wed, 30 Apr 2014 08:45:52 +0000 (10:45 +0200)]
Cleanup part2. Forgotton file.

7 years agoCleanup of ATCDCL remove-ATCDCL
Torsten Dreyer [Wed, 30 Apr 2014 08:22:51 +0000 (10:22 +0200)]
Cleanup of ATCDCL

- move FGATCAlignedProjection class as AlignedProjection
  to dclgps, the only place where it's currently used
- remove now obsolete files in ATCDCL

7 years agoFix hts_engine cmake error
Torsten Dreyer [Wed, 30 Apr 2014 07:26:58 +0000 (09:26 +0200)]
Fix hts_engine cmake error

7 years agocommradio: improvements for atis speech
Torsten Dreyer [Mon, 28 Apr 2014 21:50:45 +0000 (23:50 +0200)]
commradio: improvements for atis speech

- use individual SampleGroup refnames for each radio
- enable volume control for atis speech
- (optionally) add noise based on signal quality

7 years agocommradio: refactor MetarSpeaker to AtisSpeaker
Torsten Dreyer [Mon, 28 Apr 2014 20:02:48 +0000 (22:02 +0200)]
commradio: refactor MetarSpeaker to AtisSpeaker

7 years agoAllow using the system version of flite and the HTS engine
Torsten Dreyer [Mon, 28 Apr 2014 19:33:48 +0000 (21:33 +0200)]
Allow using the system version of flite and the HTS engine

By default, if the system version exists and can be used,
then it will be used. Otherwise, the local version will be used

Original patch by  Saikrishna Arcot via
https://gitorious.org/fg/flightgear/merge_requests/1582
slightly modified

7 years agoVoiceSynthesizer: add some test/debug properties
Torsten Dreyer [Sun, 27 Apr 2014 20:53:59 +0000 (22:53 +0200)]
VoiceSynthesizer: add some test/debug properties

/sim/sound/voice-synthesizer/volume to set the volume of the generated wav (in dB)
/sim/sound/voice-synthesizer/keep-scratch-file do not remove the scratch file if true

7 years agoTemporary fix for crash in FGVoiceMgr on reset
Torsten Dreyer [Sun, 27 Apr 2014 19:38:24 +0000 (21:38 +0200)]
Temporary fix for crash in FGVoiceMgr on reset

7 years agouse flite+hts for metar
Torsten Dreyer [Thu, 24 Apr 2014 18:59:08 +0000 (20:59 +0200)]
use flite+hts for metar

7 years agovoice system: all doors in FLITE
Torsten Dreyer [Wed, 23 Apr 2014 15:09:00 +0000 (17:09 +0200)]
voice system: all doors in FLITE

Prepare for festival lite generated voices

7 years agoATISEncoder: minor tweak
Torsten Dreyer [Wed, 23 Apr 2014 15:07:00 +0000 (17:07 +0200)]
ATISEncoder: minor tweak

no trailing blank at runway designator

7 years agoadd atmosphere layer 8 for space exploration
Torsten Dreyer [Tue, 22 Apr 2014 07:20:25 +0000 (09:20 +0200)]
add atmosphere layer 8 for space exploration

as provided by Ron Jensen

7 years agoYASim: implement a versioning system
Torsten Dreyer [Sun, 20 Apr 2014 18:58:12 +0000 (20:58 +0200)]
YASim: implement a versioning system

user attribute "version" of the airplane element of the YASim config file
to define the version this config uses.
Example:
<airplane mass="1344" version="YASIM_VERSION_CURRENT">

Initially, the following can be used:
YASIM_VERSION_ORIGINAL - The original version of YASim as implemented up to
                         FlightGear 3.0.0
YASIM_VERSION_32 - The version of YASim implemented in FlightGear 3.2.x
                   (and the development version 3.1.x)
YASIM_VERSION_CURRENT - The current and latest version of YASim.

7 years agoFix crash with Nasal bindings.
James Turner [Tue, 15 Apr 2014 13:13:46 +0000 (14:13 +0100)]
Fix crash with Nasal bindings.

naBindFunction doesn't save the function code to the global
hash, so pass an explicit context to various 'call' overloads so
the function can't be GC-ed in between parsing and calling.

(Patch by Nicholas Scheel)

https://code.google.com/p/flightgear-bugs/issues/detail?id=1397

7 years agoFix Win32 breakage caused by FreeBSD fix :(
James Turner [Sat, 5 Apr 2014 15:36:26 +0000 (16:36 +0100)]
Fix Win32 breakage caused by FreeBSD fix :(

7 years agoCorrected fix for issue 1423 (YASim miscomputes incidence rotation of force vector)
Colin Douglas Howell [Sat, 5 Apr 2014 06:05:23 +0000 (23:05 -0700)]
Corrected fix for issue 1423 (YASim miscomputes incidence rotation of force vector)

I got the sign wrong in my previous fix, causing the vector to be rotated the
wrong way. See my latest comments in issue 1423. Sorry about that.