]> git.mxchange.org Git - flightgear.git/log
flightgear.git
8 years agoSync. with JSBSim again
Erik Hofman [Fri, 30 Oct 2015 09:10:01 +0000 (10:10 +0100)]
Sync. with JSBSim again

8 years agonewnavradio: expose localizer crosstrack error
Torsten Dreyer [Thu, 8 Oct 2015 08:17:27 +0000 (10:17 +0200)]
newnavradio: expose localizer crosstrack error

8 years agoUse SGPath::realpath() on the value supplied for --aircraft-dir
Florent Rougon [Tue, 6 Oct 2015 10:20:54 +0000 (12:20 +0200)]
Use SGPath::realpath() on the value supplied for --aircraft-dir

* Before setting /sim/aircraft-dir from the --aircraft-dir option,
canonicalize its value with SGPath::realpath() as is already done in
FGGlobals::append_aircraft_path() for the paths given with --fg-aircraft
or via the FG_AIRCRAFT environment variable.

* This fixes a bug when --aircraft-dir is used, due to the fact that
fgValidatePath() canonicalizes its 'path' argument before matching it
against the allowed patterns, and therefore will not validate paths
under the directory specified with --aircraft-dir if this directory has
been given in a non-canonical form by the user (e.g., containing at
least one symlink component).

* This fix does not lower security: the path which is canonicalized has
been explicitely given by the user. This operation is already done for
all paths specified with --fg-aircraft or via the FG_AIRCRAFT
environment variable, via Options::initPaths() which calls
FGGlobals::append_aircraft_paths().

* To reproduce the bug, create a symlink (e.g., /tmp/aircrafts) to a
directory suitable for --fg-aircraft, then run:

  fgfs ... --fg-aircraft=/tmp/aircrafts \
           --aircraft-dir=/tmp/aircrafts/SenecaII --aircraft=SenecaII

This will trigger many failures such as:

  loadxml: reading '/tmp/aircrafts/SenecaII/Dialogs/registration.xml'
  denied (unauthorized directory - authorization no longer follows
  symlinks; to authorize reading additional directories, add them to
  --fg-aircraft)

(from do_load_xml_to_proptree() in flightgear/src/Main/fg_commands.cxx)

I have also tested this with the ec130b4 and the 777-200ER. Same
problem, same fix.

8 years agoRemove some debug noise
James Turner [Mon, 28 Sep 2015 04:13:18 +0000 (23:13 -0500)]
Remove some debug noise

8 years agoSilence more Clang (Xcode 7) warnings
James Turner [Mon, 28 Sep 2015 01:40:34 +0000 (20:40 -0500)]
Silence more Clang (Xcode 7) warnings

8 years agoKeep in sync with SimGear Package API
James Turner [Mon, 28 Sep 2015 00:44:39 +0000 (19:44 -0500)]
Keep in sync with SimGear Package API

8 years agoCorrect handling of updating packages
James Turner [Mon, 28 Sep 2015 00:44:29 +0000 (19:44 -0500)]
Correct handling of updating packages

8 years agoDisable mouse hover code for now.
James Turner [Mon, 28 Sep 2015 00:43:50 +0000 (19:43 -0500)]
Disable mouse hover code for now.

8 years agoDon't load resources for the current aircraft from several aircraft dirs
Florent Rougon [Fri, 25 Sep 2015 22:04:28 +0000 (00:04 +0200)]
Don't load resources for the current aircraft from several aircraft dirs

* If one has the same aircraft in several aircraft directories,
  FlightGear should not mix resources from the various aircraft
  directories. For instance, if one starts FG with:

    --fg-aircraft=/my/personal/dir:/path/to/fgaddon/Aircraft

  and one has in /my/personal/dir/ec130 a clone of the upstream
  developer repo, FlightGear should use either the upstream version from
  /my/personal/dir/ec130 or the FGAddon version from
  /path/to/fgaddon/Aircraft/ec130, but not some strange, untested hybrid
  of both.

* This commit makes sure that when the looked-up resource starts with
  Aircraft/<ac>, where <ac> is the current aircraft name [last component
  of aircraftDir = fgGetString("/sim/aircraft-dir")], then
  AircraftResourceProvider::resolve() doesn't search other aircraft
  directories if the resource isn't found under 'aircraftDir'.

* To reproduce the bug before this commit, you may add the following
  code (there is nothing specific about the SenecaII here, it's just the
  aircraft I used for testing):

    var file_path = resolvepath("Aircraft/SenecaII/flo-test");
    if (file_path != "")
      gui.popupTip("flo-test found", 2);
    else
      gui.popupTip("flo-test not found", 2);

  in a keyboard binding for the SenecaII (for instance; you may use the
  F11 binding that otherwise only prints a short message). You should
  add this to the SenecaII/SenecaII-base.xml file *that will be loaded
  by FlightGear*, let's say the one under /my/personal/dir in the
  example above (beware of the <path-cache> in autosave_X_Y.xml). Then,
  by creating or removing a file named "flo-test" in the SenecaII
  subdirectory of other aircraft dirs (for instance,
  /path/to/fgaddon/Aircraft in the example above), you can see that the
  behavior of the loaded aircraft is influenced by the contents of
  unrelated versions of the same aircraft that might be present in other
  aircraft dirs (e.g., loaded /my/personal/dir/SenecaII influenced by
  /path/to/fgaddon/Aircraft/SenecaII).

* Aircrafts loading resources using paths relative to the current
  aircraft directory (e.g., with 'resolvepath("flo-test")') are not
  affected by this kind of problem, because this scheme is handled by
  CurrentAircraftDirProvider, which does not exhibit this bug.

8 years agoUse +=, not (5.5+ only) append, for concatenating QVectors
Rebecca N. Palmer [Mon, 21 Sep 2015 21:12:24 +0000 (22:12 +0100)]
Use +=, not (5.5+ only) append, for concatenating QVectors

8 years agoLots of work on aircraft package support
James Turner [Mon, 3 Aug 2015 20:53:56 +0000 (15:53 -0500)]
Lots of work on aircraft package support

8 years agoWork around a strange link failure on Mac
James Turner [Sun, 20 Sep 2015 14:13:49 +0000 (09:13 -0500)]
Work around a strange link failure on Mac

- Xcode 7 seems to dislike this code as was, adjusted version
links fine. Very odd.

8 years agoDrop explicit SDK setting on Mac
James Turner [Sun, 20 Sep 2015 13:32:23 +0000 (08:32 -0500)]
Drop explicit SDK setting on Mac

8 years agoOld address abandoned.
Martin Spott [Wed, 26 Aug 2015 15:05:30 +0000 (08:05 -0700)]
Old address abandoned.

8 years agoNasal: use SG_LOG for security error messages to avoid truncation
Rebecca N. Palmer [Fri, 14 Aug 2015 20:37:28 +0000 (21:37 +0100)]
Nasal: use SG_LOG for security error messages to avoid truncation

These are often too long for naRuntimeError's 128-char limit:
http://sourceforge.net/p/flightgear/mailman/flightgear-devel/thread/55B55856.2030709%40worldwideweb2.nl/#msg34319969

8 years agoFixed the pilot acceleration for consistency with the accelerometer computation
bcoconni [Sun, 9 Aug 2015 18:00:08 +0000 (20:00 +0200)]
Fixed the pilot acceleration for consistency with the accelerometer computation

8 years agoFixed the accelerometer that now reports correctly 0g in orbit and 1g when steady...
bcoconni [Sun, 9 Aug 2015 17:59:29 +0000 (19:59 +0200)]
Fixed the accelerometer that now reports correctly 0g in orbit and 1g when steady on ground. Bug report by Thorsten Renk.

8 years agoPrevent 100% CPU usage for FGCom standalone
Torsten Dreyer [Thu, 6 Aug 2015 19:47:01 +0000 (21:47 +0200)]
Prevent 100% CPU usage for FGCom standalone

Kévin Seroux:
As reported here (http://forum.flightgear.org/viewtopic.php?f=32&t=26629),
the FGCom standalone client use 100% of the CPU when it is in OBS mode. The fact to add the shortest sleep time
(1ms) has solved the problem. With this patch, I run FGCom with 1% of CPU usage instead of 100%.

8 years agoCorrect version numbers for start menu entries
Torsten Dreyer [Sun, 2 Aug 2015 18:58:19 +0000 (20:58 +0200)]
Correct version numbers for start menu entries

Alessandro Mentitch submitted by Alessandro Menti

8 years agoFix SIGSEGV with Qt launcher on Linux.
James Turner [Sun, 2 Aug 2015 23:32:39 +0000 (18:32 -0500)]
Fix SIGSEGV with Qt launcher on Linux.

- patch from Dirk Dittmann

8 years agoBump version to 3.7.0
Torsten Dreyer [Mon, 27 Jul 2015 19:41:58 +0000 (21:41 +0200)]
Bump version to 3.7.0

8 years agoNasal security: document that symlinks are no longer followed
Rebecca N. Palmer [Sat, 25 Jul 2015 09:15:31 +0000 (10:15 +0100)]
Nasal security: document that symlinks are no longer followed

8 years agofgValidatePath: remove overly fragile test case
Rebecca N. Palmer [Tue, 14 Jul 2015 18:43:51 +0000 (19:43 +0100)]
fgValidatePath: remove overly fragile test case

Fix failure to start with non-standard TerraSync directory

8 years agoPrevent JSBSim from crashing when the user forgot to specify the axis.
bcoconni [Tue, 14 Jul 2015 14:01:33 +0000 (16:01 +0200)]
Prevent JSBSim from crashing when the user forgot to specify the axis.

8 years agoClarified the error message: recall the name of the file that has not been found.
bcoconni [Tue, 14 Jul 2015 13:59:45 +0000 (15:59 +0200)]
Clarified the error message: recall the name of the file that has not been found.

8 years agobump version -> 3.6.0
Torsten Dreyer [Tue, 14 Jul 2015 09:35:51 +0000 (11:35 +0200)]
bump version -> 3.6.0

8 years agofgValidatePath: fix \ vs / Windows bug
Rebecca N. Palmer [Tue, 14 Jul 2015 07:00:22 +0000 (08:00 +0100)]
fgValidatePath: fix \ vs / Windows bug

8 years agoavoid ERROR: The path '' does not exist... on startup
Rebecca N. Palmer [Mon, 13 Jul 2015 22:15:36 +0000 (23:15 +0100)]
avoid ERROR: The path '' does not exist... on startup

While harmless, it's an annoying distraction

8 years agofgInitAllowedPaths: remove possibly invalid test paths
Rebecca N. Palmer [Mon, 13 Jul 2015 21:53:23 +0000 (22:53 +0100)]
fgInitAllowedPaths: remove possibly invalid test paths

8 years agoFix #1778: incorrect HUD values
Torsten Dreyer [Mon, 13 Jul 2015 14:23:56 +0000 (16:23 +0200)]
Fix #1778: incorrect HUD values

negative latitude/longitude coordinates resulted in negative WEST/
SOUTH coordinates for the default format 0 (zero).
This should be now fixed so that
+12.3 gets formatted as 12.3N/E
-12.3 gets formatted as 12.3S/W

8 years agoSecurity: don't follow symlinks to forbidden directories
Rebecca N. Palmer [Sun, 12 Jul 2015 16:57:49 +0000 (17:57 +0100)]
Security: don't follow symlinks to forbidden directories

https://bugs.debian.org/780867

This messy approach is to minimise changes during freeze; for 3.7,
I plan to make realpath() handle non-existent files as "realpath
they would have if created now" and get rid of fgNormalizePath

8 years agoSecurity: don't pass a string to fgValidatePath then use the original
Rebecca N. Palmer [Sun, 12 Jul 2015 16:49:21 +0000 (17:49 +0100)]
Security: don't pass a string to fgValidatePath then use the original

This is insecure because it always (not just on Windows) converts
\ to / before .. checking.  Either use the path it returns (as in
f_open()) or use an SGPath (where this conversion is already done)

Only a minor problem because the affected functions are limited to
the .sav file type

9 years agoFix #1771, wrong groundspeed indication for UFO
Torsten Dreyer [Fri, 10 Jul 2015 09:07:34 +0000 (11:07 +0200)]
Fix #1771, wrong groundspeed indication for UFO

9 years agoCleanup: remove unused code and includes
Torsten Dreyer [Wed, 8 Jul 2015 15:24:13 +0000 (17:24 +0200)]
Cleanup: remove unused code and includes

no functional change
jpg-httpd functionality was moved into httpd with 3.4
cmd-line option still spits out a warning

9 years agoUFO and MagicCarpet FDM: avoid negative headings
Torsten Dreyer [Wed, 8 Jul 2015 09:14:46 +0000 (11:14 +0200)]
UFO and MagicCarpet FDM: avoid negative headings

Both FDM set the heading to negative values when turning left
through north. This should be fixed by this commit.

9 years agoNightly build Windows fixes
James Turner [Sun, 5 Jul 2015 09:39:41 +0000 (10:39 +0100)]
Nightly build Windows fixes

- from Alessandro Menti

9 years agoTie the sun vector to the property tree
Erik Hofman [Fri, 26 Jun 2015 07:53:03 +0000 (09:53 +0200)]
Tie the sun vector to the property tree

9 years agoMerge the Thanks file from fgsata and the flightgear source
Erik Hofman [Fri, 19 Jun 2015 14:07:01 +0000 (16:07 +0200)]
Merge the Thanks file from fgsata and the flightgear source

9 years agostop sending velocity and acceleration in the motion information when crashed
janodesbois [Sat, 13 Jun 2015 09:02:30 +0000 (11:02 +0200)]
stop sending velocity and acceleration in the motion information when crashed
and using speed up time to allow a fine displayed predicted position
 when time accelerated (no more jumping planes accelerated using the mp patch)
tell me if it's not the good pace to do such things ;)

9 years agoRevert "Pull in latest mongoose HEAD"
Torsten Dreyer [Fri, 12 Jun 2015 09:52:10 +0000 (11:52 +0200)]
Revert "Pull in latest mongoose HEAD"

This reverts commit cb2c421fdb815fbf619614e2792f6260541b789e.
Reason: seems to be broken on W32, no response on http socket

9 years agoFix some warnings
Torsten Dreyer [Fri, 12 Jun 2015 09:51:11 +0000 (11:51 +0200)]
Fix some warnings

9 years agoFix random crash on exit in atc_mgr
Torsten Dreyer [Wed, 10 Jun 2015 10:04:47 +0000 (12:04 +0200)]
Fix random crash on exit in atc_mgr

make the ParkingAssignment a local object instead of
creating it on the heap as a member of the ATCManager

9 years agoFix MSVC compile error
Torsten Dreyer [Mon, 8 Jun 2015 11:19:51 +0000 (13:19 +0200)]
Fix MSVC compile error

9 years agoFLIGHTGEAR_VERSION is always set.
James Turner [Sun, 7 Jun 2015 19:08:03 +0000 (21:08 +0200)]
FLIGHTGEAR_VERSION is always set.

9 years agoRemove some debug output.
James Turner [Sun, 7 Jun 2015 19:07:49 +0000 (21:07 +0200)]
Remove some debug output.

9 years agoRemove / reduce level on some debug output
James Turner [Sun, 7 Jun 2015 15:49:42 +0000 (17:49 +0200)]
Remove / reduce level on some debug output

9 years agoFix a Cocoa warning.
James Turner [Sun, 7 Jun 2015 15:36:07 +0000 (17:36 +0200)]
Fix a Cocoa warning.

9 years agoRPATH handling for Mac.
James Turner [Sun, 7 Jun 2015 15:20:30 +0000 (17:20 +0200)]
RPATH handling for Mac.

9 years agoBasic MP patch, to allow lag compensation and get rid of rubber band effect.
janodesbois [Sat, 6 Jun 2015 04:32:49 +0000 (06:32 +0200)]
Basic MP patch, to allow lag compensation and get rid of rubber band effect.
 the fgdata part is needed to make it working. configuration for each plane
beeing done with nasal

9 years agoDisable testing hacks for package installs.
James Turner [Fri, 5 Jun 2015 12:26:12 +0000 (14:26 +0200)]
Disable testing hacks for package installs.

9 years agoLauncher: airport diagram runways can be clicked
James Turner [Fri, 5 Jun 2015 08:26:40 +0000 (09:26 +0100)]
Launcher: airport diagram runways can be clicked

 - indicate selected runway visually

9 years agoAdd the option to (properly) revert the propellers moment of inertia calculation
Erik Hofman [Wed, 3 Jun 2015 11:55:00 +0000 (13:55 +0200)]
Add the option to (properly) revert the propellers moment of inertia calculation

9 years agoAIBallistic.cxx: warning fix (initialization order)
Torsten Dreyer [Mon, 1 Jun 2015 18:53:19 +0000 (20:53 +0200)]
AIBallistic.cxx: warning fix (initialization order)

9 years agoChoose a random splash texture
onox [Sun, 31 May 2015 16:16:04 +0000 (18:16 +0200)]
Choose a random splash texture

Signed-off-by: onox <denkpadje@gmail.com>
9 years agosubmodel: Fix -Wreorder warnings
onox [Thu, 28 May 2015 22:32:57 +0000 (00:32 +0200)]
submodel: Fix -Wreorder warnings

Signed-off-by: onox <denkpadje@gmail.com>
9 years agosubmodel: Only warn if an <*-offset> is actually present
onox [Thu, 28 May 2015 21:46:18 +0000 (23:46 +0200)]
submodel: Only warn if an <*-offset> is actually present

Signed-off-by: onox <denkpadje@gmail.com>
9 years agosubmodel: Rename yaw and pitch to heading-deg and pitch-deg
onox [Thu, 28 May 2015 21:40:58 +0000 (23:40 +0200)]
submodel: Rename yaw and pitch to heading-deg and pitch-deg

Signed-off-by: onox <denkpadje@gmail.com>
9 years agoPull in latest mongoose HEAD
Torsten Dreyer [Fri, 29 May 2015 09:33:06 +0000 (11:33 +0200)]
Pull in latest mongoose HEAD

9 years agoSilence some warnings
Torsten Dreyer [Fri, 29 May 2015 08:27:25 +0000 (10:27 +0200)]
Silence some warnings

AIBallistic: wrong order of member initialization
Other: unused variables

9 years agoAdd 8.33 kHz support to the commradio
Torsten Dreyer [Wed, 27 May 2015 11:23:45 +0000 (13:23 +0200)]
Add 8.33 kHz support to the commradio

Usage:
Add
  <comm-radio>
    <name>comm</name>
    <number>0</number>
    <eight-point-three type="bool">true</eight-point-three>
  </comm-radio>
to the instrumentation.xml

If eight-point-three is disabled nor not present, previous functionality is unchanged

If eight-point-three is enabled,
set
/instrumentation/comm[x]/frequencies/[selected|standby]-mhz
to the desired 8.33 channel (118.000..136.990) or
/instrumentation/comm[x]/frequencies/[selected|standby]-channel
to the desired channel-number (0..3039).

Valid channels are:
xxx.000
xxx.005
xxx.010
xxx.015
xxx.025
xxx.030
xxx.035
xxx.040
xxx.050
xxx.055
xxx.060
xxx.065
xxx.075
xxx.080
xxx.085
xxx.090
where 118.0 <= xxx <= 136.990

9 years agoRevert to old behavior of life randomness
onox [Wed, 27 May 2015 09:35:51 +0000 (11:35 +0200)]
Revert to old behavior of life randomness

Signed-off-by: onox <denkpadje@gmail.com>
9 years agosubmodel: Move <yaw-offset> and <pitch-offset> to <offsets>
onox [Sun, 24 May 2015 03:37:42 +0000 (05:37 +0200)]
submodel: Move <yaw-offset> and <pitch-offset> to <offsets>

Signed-off-by: onox <denkpadje@gmail.com>
9 years agosubmodel: Support <offsets> with <x-m>, <y-m>, and <z-m>
onox [Sat, 23 May 2015 08:41:22 +0000 (10:41 +0200)]
submodel: Support <offsets> with <x-m>, <y-m>, and <z-m>

Signed-off-by: onox <denkpadje@gmail.com>
9 years agosubmodel: Use quaternions instead of trigonometry
onox [Sat, 23 May 2015 04:58:53 +0000 (06:58 +0200)]
submodel: Use quaternions instead of trigonometry

Signed-off-by: onox <denkpadje@gmail.com>
9 years agosubmodel: Fix incorrect yaw and pitch offsets
onox [Fri, 22 May 2015 03:09:02 +0000 (05:09 +0200)]
submodel: Fix incorrect yaw and pitch offsets

Signed-off-by: onox <denkpadje@gmail.com>
9 years agosubmodel: Add random error for azimuth and elevation
onox [Thu, 21 May 2015 20:45:15 +0000 (22:45 +0200)]
submodel: Add random error for azimuth and elevation

Signed-off-by: onox <denkpadje@gmail.com>
9 years agosubmodel: Fix randomness of Cd and life
onox [Wed, 20 May 2015 22:23:33 +0000 (00:23 +0200)]
submodel: Fix randomness of Cd and life

Signed-off-by: onox <denkpadje@gmail.com>
9 years agosubmodel: Remove FGSubmodelMgr::setSubData()
onox [Wed, 20 May 2015 18:25:37 +0000 (20:25 +0200)]
submodel: Remove FGSubmodelMgr::setSubData()

Signed-off-by: onox <denkpadje@gmail.com>
9 years agoRemove debug console output in FGApproachController
Torsten Dreyer [Wed, 27 May 2015 08:19:18 +0000 (10:19 +0200)]
Remove debug console output in FGApproachController

Console was filled with
FGApproachController::render function not yet implemented

9 years agofix previous incomplete patch
Torsten Dreyer [Fri, 22 May 2015 16:39:37 +0000 (18:39 +0200)]
fix previous incomplete patch

add missing continue statement

9 years agoOnly warn about unknown tags in instrumentation.xml
Torsten Dreyer [Fri, 22 May 2015 15:40:17 +0000 (17:40 +0200)]
Only warn about unknown tags in instrumentation.xml

Richard J. Senior:
Without this commit, unknown top-level tags in instrumentation.xml are treated
as errors and the rest of the file is not processed.

Users running Flightgear versions prior to 3.2 have experienced problems with
the comm-radio tags after downloading updated versions of aircraft from FGADDON.
Instrumentation listed after the unrecognized comm-radio tags is not processed
for these users and is inactive in the cockpit.

This commit changes the instrumentation build method so that unrecognized tags
are treated as warnings. This won't help users running older versions but
protects against the same problems occurring if new tags are added to
instrumentation in the future.

9 years agoMerge commit 'c8115f516c47fd389b34f59055d3c2e9a6b697e2' into next
Torsten Dreyer [Tue, 19 May 2015 09:56:01 +0000 (11:56 +0200)]
Merge commit 'c8115f516c47fd389b34f59055d3c2e9a6b697e2' into next

9 years agoMerge commit '6c1934fcdf7dc91897e9d4dc8b8b6810b1de6a51' into next
Torsten Dreyer [Tue, 19 May 2015 09:52:49 +0000 (11:52 +0200)]
Merge commit '6c1934fcdf7dc91897e9d4dc8b8b6810b1de6a51' into next

9 years agoSmall refactoring of Torsten's refactoring
onox [Thu, 30 Apr 2015 12:54:36 +0000 (14:54 +0200)]
Small refactoring of Torsten's refactoring

Signed-off-by: onox <denkpadje@gmail.com>
Signed-off-by: Erik Hofman <erik@ehofman.com>
9 years agoSmall refactoring of the submodel patch from onox
Torsten Dreyer [Thu, 30 Apr 2015 09:39:00 +0000 (11:39 +0200)]
Small refactoring of the submodel patch from onox

Signed-off-by: onox <denkpadje@gmail.com>
Signed-off-by: Erik Hofman <erik@ehofman.com>
9 years agoUse InputValue for yaw-offset and pitch-offset
onox [Sat, 25 Apr 2015 10:33:34 +0000 (12:33 +0200)]
Use InputValue for yaw-offset and pitch-offset

Signed-off-by: onox <denkpadje@gmail.com>
Signed-off-by: Erik Hofman <erik@ehofman.com>
9 years agoUse actual position of view for sound manager
onox [Fri, 15 May 2015 07:29:23 +0000 (09:29 +0200)]
Use actual position of view for sound manager

Signed-off-by: Erik Hofman <erik@ehofman.com>
9 years agoTemporary fix: ground networks are not loaded when a navcache is present. But, the...
Durk Talsma [Fri, 15 May 2015 19:42:10 +0000 (21:42 +0200)]
Temporary fix: ground networks are not loaded when a navcache is present. But, the AI/ATC code relies on radio frequencies listed in the groundnet files. Since these are not imported into the nav cache, they remain 0.
By forcing the loading of the ground networks, I have the frequencies back. We should find a proper solution later.

9 years agoA second init() is necessary to start the ATCController. There's probably a better...
Durk Talsma [Fri, 15 May 2015 16:25:16 +0000 (18:25 +0200)]
A second init() is necessary to start the ATCController. There's probably a better way to do is, but for now let's just stick to how I had it set up in early 2012.

9 years agoReinstate the backbone of the "I" part of the Interactive traffic system.
Durk Talsma [Fri, 15 May 2015 11:30:16 +0000 (13:30 +0200)]
Reinstate the backbone of the "I" part of the Interactive traffic system.

9 years agoSome preparatory work for reinstating a missing piece of code in the routing algorith...
Durk Talsma [Thu, 14 May 2015 16:22:42 +0000 (18:22 +0200)]
Some preparatory work for reinstating a missing piece of code in the routing algorithm for the AI system.

9 years agoReformatting.
Durk Talsma [Thu, 14 May 2015 16:20:25 +0000 (18:20 +0200)]
Reformatting.

9 years agoFix bug when starting using the --parkpos option. Create a pointer to a ParkingAssign...
Durk Talsma [Thu, 14 May 2015 16:15:30 +0000 (18:15 +0200)]
Fix bug when starting using the --parkpos option. Create a pointer to a ParkingAssignment object, so that the reference counter doesn't get reset to 0 when the local class is destroyed.

9 years agoWorkaround for problem with SGPath: create_dir() does not create the last subdirector...
Durk Talsma [Thu, 14 May 2015 15:41:58 +0000 (17:41 +0200)]
Workaround for problem with SGPath: create_dir() does not create the last subdirectory when passed a dir-path only.

9 years agoSingularity avoidance fix for the flightgear Viewer.
Edward d'Auvergne [Sun, 3 May 2015 18:04:33 +0000 (20:04 +0200)]
Singularity avoidance fix for the flightgear Viewer.

This was reported at https://sourceforge.net/p/flightgear/codetickets/1740/ and
discussed at http://thread.gmane.org/gmane.games.flightgear.devel/77562 .

The flightgear Viewer no longer causes aircraft to disappear due to the
singularity at the poles resulting in an undefined azimuthal angle.

9 years agorenamed to DampedOscillation
Thomas Albrecht [Tue, 7 Apr 2015 11:29:00 +0000 (21:29 +1000)]
renamed to DampedOscillation

9 years agoFix "Error in ground network. Failed to find first waypoint"
Torsten Dreyer [Tue, 21 Apr 2015 11:05:41 +0000 (13:05 +0200)]
Fix "Error in ground network. Failed to find first waypoint"

Fix provided by Jens Thoms Toerring, OK'ed from Durk
http://thread.gmane.org/gmane.games.flightgear.devel/77674

9 years agoExplicit NSPathUtilities include.
James Turner [Mon, 20 Apr 2015 09:42:22 +0000 (10:42 +0100)]
Explicit NSPathUtilities include.

9 years agoExplicit NSBundle include
James Turner [Mon, 20 Apr 2015 09:35:24 +0000 (10:35 +0100)]
Explicit NSBundle include

- should fix Jenkins build, hopefully.

9 years agoConditionally enable hot for multiplayer models
Torsten Dreyer [Thu, 16 Apr 2015 18:58:56 +0000 (20:58 +0200)]
Conditionally enable hot for multiplayer models

originally from denk padje alias onox

9 years agoproperty browser: group radio-button elements
Torsten Dreyer [Wed, 15 Apr 2015 08:41:31 +0000 (10:41 +0200)]
property browser: group radio-button elements

This allows to better render bool properties

9 years agoModified the loop so that the simulation is suspended whenever the user
Bertrand Coconnier [Sun, 12 Apr 2015 16:20:00 +0000 (18:20 +0200)]
Modified the loop so that the simulation is suspended whenever the user
set the property fdm/jsbsim/simulation/terminate to true.

9 years agoFix a clang warning.
James Turner [Sat, 11 Apr 2015 20:59:37 +0000 (21:59 +0100)]
Fix a clang warning.

9 years agoExplicit AppKit includes for Mac.
James Turner [Sat, 11 Apr 2015 20:59:23 +0000 (21:59 +0100)]
Explicit AppKit includes for Mac.

9 years agoFix a clang warning.
James Turner [Sat, 11 Apr 2015 20:59:01 +0000 (21:59 +0100)]
Fix a clang warning.

9 years agoExplicit Mac SDK for the moment.
James Turner [Sat, 11 Apr 2015 20:58:55 +0000 (21:58 +0100)]
Explicit Mac SDK for the moment.

9 years agoAlways log message if going to segfault during notify logging.
Richard Harrison [Fri, 10 Apr 2015 21:49:50 +0000 (23:49 +0200)]
Always log message if going to segfault during notify logging.

9 years agoClosedown crash prevention
Richard Harrison [Fri, 10 Apr 2015 21:46:13 +0000 (23:46 +0200)]
Closedown crash prevention

9 years agoRemoved executable flags for JSBSim source files and synced JSBSim (removed warnings...
Bertrand Coconnier [Fri, 10 Apr 2015 17:21:59 +0000 (19:21 +0200)]
Removed executable flags for JSBSim source files and synced JSBSim (removed warnings about comparison between signed and unsigned / modified FGInput to issue a more explicit message about unknown input types)

9 years agoNew PathsDialog, for managing locations.
James Turner [Wed, 25 Mar 2015 14:16:09 +0000 (09:16 -0500)]
New PathsDialog, for managing locations.