]> git.mxchange.org Git - flightgear.git/log
flightgear.git
13 years agoMerge branch 'next' of http://git.gitorious.org/fg/flightgear into next
Torsten Dreyer [Sun, 3 Apr 2011 18:42:20 +0000 (20:42 +0200)]
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next

13 years agoImprove OSG caching.
ThorstenB [Sun, 3 Apr 2011 17:13:51 +0000 (19:13 +0200)]
Improve OSG caching.
Ensure property tree is provided early to modellib.
To disable: --prop:sim/rendering/cache=0 (enabled by default)
(also requires simgear update)

13 years agoOn-demand loading of Nasal modules.
ThorstenB [Sun, 3 Apr 2011 13:30:25 +0000 (15:30 +0200)]
On-demand loading of Nasal modules.
Load a module whenever its /nasal/foo/enabled flag is set,
even if it was disabled at start-up. Also expose a property if it was
successfully loaded.

13 years agoMinor clean-up (fixed renamed subsystems)
ThorstenB [Sat, 2 Apr 2011 13:15:13 +0000 (15:15 +0200)]
Minor clean-up (fixed renamed subsystems)

13 years agoSupport optional Nasal modules in fgdata/Nasal/MyModuleFoo
ThorstenB [Sat, 2 Apr 2011 13:13:29 +0000 (15:13 +0200)]
Support optional Nasal modules in fgdata/Nasal/MyModuleFoo
- Allow structuring generic Nasal sources into modules (i.e. support
  separate source folders for multiplayer/local weather/... sources)
- Option to enable/disable loading of generic Nasal modules (i.e we only
  need to load stuff that is really needed/enabled).
- Provide basic loading sequence: subfolders are strictly loaded _after_
  the base directory. So submodules can rely on .nas-scripts like math.nas,
  io.nas, debug.nas, ... to be already loaded - dropping the need for
  awkward listeners/timers to delay module initialization (loading order
  within Nasal/*.nas is still random)

13 years agofix #296: FDMshell+TankProperties not bound after sim reset
ThorstenB [Tue, 29 Mar 2011 21:31:59 +0000 (23:31 +0200)]
fix #296: FDMshell+TankProperties not bound after sim reset
Well, when we need to unbind something temporarily, it's wise to really
bind it again...

13 years agoRenaming / more consistent naming.
ThorstenB [Sun, 27 Mar 2011 22:30:23 +0000 (00:30 +0200)]
Renaming / more consistent naming.

13 years agoNew property reporting worst-case frame latency.
ThorstenB [Sun, 27 Mar 2011 22:16:27 +0000 (00:16 +0200)]
New property reporting worst-case frame latency.
Shows maximum latency of any frame within the last second.

13 years agoSlightly brighter blue color level for map widget
ThorstenB [Sun, 27 Mar 2011 09:32:41 +0000 (11:32 +0200)]
Slightly brighter blue color level for map widget
Almost couldn't see the new blue color on my screen.
Enjoy the blues... :)

13 years agoImprove display of shipping in map widget.
Stuart Buchanan [Sat, 26 Mar 2011 11:02:00 +0000 (11:02 +0000)]
Improve display of shipping in map widget.

13 years agoMinor replay issues
ThorstenB [Thu, 24 Mar 2011 22:41:12 +0000 (23:41 +0100)]
Minor replay issues
restore most recent frame

13 years agoMinor replay issues
ThorstenB [Thu, 24 Mar 2011 22:30:09 +0000 (23:30 +0100)]
Minor replay issues
When disabling replay: don't clear buffers and restore most recent frame

13 years agoMerge branch 'next' of gitorious.org:fg/flightgear into next
Curtis L. Olson [Thu, 24 Mar 2011 19:32:50 +0000 (14:32 -0500)]
Merge branch 'next' of gitorious.org:fg/flightgear into next

13 years agoVariant of innosetup config file for developer snapshot release. Uses separate
Curtis L. Olson [Thu, 24 Mar 2011 19:31:13 +0000 (14:31 -0500)]
Variant of innosetup config file for developer snapshot release.  Uses separate
paths so it can install along side the official release and not overwrite or
conflict with any files.

13 years agoBertrand Coconnier: Fix instant replay with JSBSim aircraft (bug #294)
ThorstenB [Wed, 23 Mar 2011 22:52:36 +0000 (23:52 +0100)]
Bertrand Coconnier: Fix instant replay with JSBSim aircraft (bug #294)
Avoid re-trim to be triggered by property listeners during instant
replay (when the FDM is suspended).

13 years agoImprove timing statistics
ThorstenB [Wed, 23 Mar 2011 22:09:02 +0000 (23:09 +0100)]
Improve timing statistics
Enable/disable and print statistics at run-time.
Configurable intervals and filters.

13 years agoDrop unnecessary include dependency.
ThorstenB [Wed, 23 Mar 2011 21:50:56 +0000 (22:50 +0100)]
Drop unnecessary include dependency.
Make Csaba happy...

13 years agoMinor namespace issue
ThorstenB [Wed, 23 Mar 2011 21:49:18 +0000 (22:49 +0100)]
Minor namespace issue
using "using" in the .cxx now :)

13 years agoFix reset during replay issue
ThorstenB [Tue, 22 Mar 2011 20:02:57 +0000 (21:02 +0100)]
Fix reset during replay issue
Need to properly reset the replay manager's states on sim reset.
Also remove obsolete method.

13 years agoFix broken tank properties. More verbose generic protocol error messages
Torsten Dreyer [Tue, 22 Mar 2011 17:00:55 +0000 (18:00 +0100)]
Fix broken tank properties. More verbose generic protocol error messages

13 years agoreplay/FDM shell subsystem refactoring
ThorstenB [Mon, 21 Mar 2011 22:07:05 +0000 (23:07 +0100)]
replay/FDM shell subsystem refactoring
Move final bits of replay code to where it belongs.
Use subsystem suspend/resume for FDM shell during instant replay.

13 years agoReplay improvements
ThorstenB [Sun, 20 Mar 2011 13:59:19 +0000 (14:59 +0100)]
Replay improvements
Clear replay buffers on sim reset.
Allow instant replay to be activated properly when sim is paused.

13 years agoMake sure Include/config.h gets found which is located in /src
Erik Hofman [Sat, 19 Mar 2011 15:04:32 +0000 (16:04 +0100)]
Make sure Include/config.h gets found which is located in /src

13 years agoMore virtual destructors.
ThorstenB [Sat, 19 Mar 2011 14:02:17 +0000 (15:02 +0100)]
More virtual destructors.

13 years agoAvoid nuisance sound effects after sim-reset.
ThorstenB [Sat, 19 Mar 2011 13:51:39 +0000 (14:51 +0100)]
Avoid nuisance sound effects after sim-reset.

13 years agoMerge branch 'next' of http://git.gitorious.org/fg/flightgear into next
Torsten Dreyer [Thu, 10 Mar 2011 06:34:58 +0000 (07:34 +0100)]
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next

13 years agoCut&paste voiceplayer into a separate module.
ThorstenB [Wed, 9 Mar 2011 22:49:25 +0000 (23:49 +0100)]
Cut&paste voiceplayer into a separate module.
GPWS and TCAS are now completely separate - but use the same voice player.

13 years agoUsed tied property list.
ThorstenB [Wed, 9 Mar 2011 22:10:55 +0000 (23:10 +0100)]
Used tied property list.

13 years agoFixed an property tieing issue on sim reset.
ThorstenB [Wed, 9 Mar 2011 22:02:19 +0000 (23:02 +0100)]
Fixed an property tieing issue on sim reset.
Oops, my commit f6fde388a2037341c7ce2a00e8ac199dff3c59a1 untied the
tank properties also on reset - should also re-tie them after the
reset then...

13 years agoFix navreceiver to make DME work with ILS signals.
ThorstenB [Wed, 9 Mar 2011 21:04:03 +0000 (22:04 +0100)]
Fix navreceiver to make DME work with ILS signals.
Property "dme-in-range" should also work with ILS signals, which include
a DME. The nav database (dme_list) doesn't have separate entries for
"ILS-DME" (unlike for "VOR-DME"), so searching a DME by frequency didn't
work for ILS.
=> "instrumentation/nav[*]/dme-in-range" can now be used to enable/disable
cockpit DME displays.

13 years agoMerge branch 'next' of http://git.gitorious.org/fg/flightgear into next
Torsten Dreyer [Tue, 8 Mar 2011 17:32:46 +0000 (18:32 +0100)]
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next

13 years agoUntie all TiedPropertyLists before destruction.
ThorstenB [Mon, 7 Mar 2011 18:37:04 +0000 (19:37 +0100)]
Untie all TiedPropertyLists before destruction.
Untieing needs to be done prior to the destruction of the object which
aggregated the TiedPropertyList. So the TiedPropertyLists destructor can't
untie the properties automatically (and it doesn't). So, do some manual
clean-up.

13 years agoFix another (tiny) memory leak.
ThorstenB [Mon, 7 Mar 2011 18:34:52 +0000 (19:34 +0100)]
Fix another (tiny) memory leak.
SGCloudField::addCloud does *not* keep a reference to SGNewCloud - so we
only need a temporary object. Also adapt to changed addCloud interface
to make things a little more obvious.

13 years agoQuick fix for ascii generic input line separator problem
Csaba Halasz [Sun, 6 Mar 2011 01:38:39 +0000 (02:38 +0100)]
Quick fix for ascii generic input line separator problem

13 years agoMerge branch 'next' of gitorious.org:fg/flightgear into next
Curtis L. Olson [Mon, 28 Feb 2011 14:10:15 +0000 (08:10 -0600)]
Merge branch 'next' of gitorious.org:fg/flightgear into next

13 years agoVariant of the iss script for packaging "developers snapshot" releases.
Curtis L. Olson [Mon, 28 Feb 2011 14:08:08 +0000 (08:08 -0600)]
Variant of the iss script for packaging "developers snapshot" releases.
Paths and variables have been carefully selected so this install can
coexist with the release install.  The only thing shared is the "terrasync"
directory.

13 years agoprepare for subsystem_mgr.hxx no longer including props.hxx
Torsten Dreyer [Sun, 27 Feb 2011 11:53:47 +0000 (12:53 +0100)]
prepare for subsystem_mgr.hxx no longer including props.hxx

subsystem_mgr.hxx will soon no longer include props.hxx since it
does not (need to) know about properties at all.

13 years agoOoops. Forget the "other" OS...
ThorstenB [Fri, 25 Feb 2011 23:11:28 +0000 (00:11 +0100)]
Ooops. Forget the "other" OS...
... well, how did this happen? :)

13 years agoTCAS clean-up.
ThorstenB [Fri, 25 Feb 2011 20:10:42 +0000 (21:10 +0100)]
TCAS clean-up.
Change default voice samples.

13 years agoMake AIplanes respond to TCAS RAs.
ThorstenB [Mon, 17 Jan 2011 22:33:54 +0000 (23:33 +0100)]
Make AIplanes respond to TCAS RAs.

13 years agoAdded tracker stage to TCAS.
ThorstenB [Mon, 17 Jan 2011 22:27:50 +0000 (23:27 +0100)]
Added tracker stage to TCAS.
Added relative/absolte altitude display mode to wxradar.

13 years agoExpose vertical speed for MP planes
ThorstenB [Wed, 29 Dec 2010 21:13:04 +0000 (22:13 +0100)]
Expose vertical speed for MP planes
vertical speed of MP planes was always 0,
calculate their (average) vertical speed since
it's required for TCAS and TCAS display

13 years agoNew TCAS display mode for wxradar.
ThorstenB [Wed, 29 Dec 2010 21:10:54 +0000 (22:10 +0100)]
New TCAS display mode for wxradar.
- new mode to display traffic in TCAS-style
- select symbols according to TCAS-threat level

13 years agoIntroduce new TCAS instrument
ThorstenB [Wed, 29 Dec 2010 21:04:19 +0000 (22:04 +0100)]
Introduce new TCAS instrument
- implements a TCAS II v7.0

13 years agoMake voiceplayer independent
ThorstenB [Wed, 29 Dec 2010 20:57:49 +0000 (21:57 +0100)]
Make voiceplayer independent
- former mk-viii voiceplayer is now an independent FGVoicePlayer
- voiceplayer still sits in mk-viii module for now
- add option to configure location/prefix of voice samples
- add pause/resume to voiceplayer

13 years agoclear two gcc warnings
Torsten Dreyer [Fri, 25 Feb 2011 19:46:18 +0000 (20:46 +0100)]
clear two gcc warnings

13 years agoMerge branch 'next' of http://git.gitorious.org/fg/flightgear into next
Torsten Dreyer [Tue, 22 Feb 2011 07:24:45 +0000 (08:24 +0100)]
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next

13 years agoallow proxy to set as an url
Torsten Dreyer [Sun, 20 Feb 2011 16:14:30 +0000 (17:14 +0100)]
allow proxy to set as an url

13 years agoMerge branch 'next' of gitorious.org:fg/flightgear into next
Torsten Dreyer [Sun, 20 Feb 2011 11:06:41 +0000 (12:06 +0100)]
Merge branch 'next' of gitorious.org:fg/flightgear into next

13 years agouse http_proxy environment variable
Torsten Dreyer [Sun, 20 Feb 2011 10:42:21 +0000 (11:42 +0100)]
use http_proxy environment variable

13 years agoMerge branch 'next' of http://git.gitorious.org/fg/flightgear into next
Torsten Dreyer [Sun, 20 Feb 2011 10:12:22 +0000 (11:12 +0100)]
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next

13 years agoMerge remote branch 'origin/releases/2.2.0' into next
ThorstenB [Sat, 19 Feb 2011 11:00:43 +0000 (12:00 +0100)]
Merge remote branch 'origin/releases/2.2.0' into next

13 years ago#84: John Denker: Set correct file modes
ThorstenB [Sat, 19 Feb 2011 10:54:07 +0000 (11:54 +0100)]
#84: John Denker: Set correct file modes
Sources shouldn't be executable.

13 years agoremove unused code and use code from simgear
Torsten Dreyer [Sat, 19 Feb 2011 10:23:36 +0000 (11:23 +0100)]
remove unused code and use code from simgear

13 years agoJohn Denker: move branch cut and apply clamps
ThorstenB [Wed, 16 Feb 2011 18:53:10 +0000 (19:53 +0100)]
John Denker: move branch cut and apply clamps
fixed un-normalized outputs

13 years agoMore accurate, more symmetrical computation of tangent vector.
John Denker [Fri, 26 Feb 2010 00:35:23 +0000 (17:35 -0700)]
More accurate, more symmetrical computation of tangent vector.

13 years agofix up some comments
John Denker [Sun, 2 Jan 2011 04:14:47 +0000 (21:14 -0700)]
fix up some comments

13 years agoImplement gs-direct-deg property.
John Denker [Wed, 24 Feb 2010 00:50:02 +0000 (17:50 -0700)]
Implement gs-direct-deg property.
Useful when posing aircraft for pictures, not quite on glideslope.

13 years agoFix huge multiplayer memory leak.
ThorstenB [Tue, 15 Feb 2011 23:49:00 +0000 (00:49 +0100)]
Fix huge multiplayer memory leak.
Almost all FGPropertyData elements received via MP were leaked.
Property data is now cleanly deallocated in the FGExternalMotionData destructor.
Thanks to Jester for reporting rising mem consumption in MP mode.

13 years agoMerge branch 'next' of http://git.gitorious.org/fg/flightgear into next
Torsten Dreyer [Tue, 15 Feb 2011 19:09:53 +0000 (20:09 +0100)]
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next

13 years agoMerge branch 'releases/2.2.0' into next
Tim Moore [Tue, 15 Feb 2011 12:26:24 +0000 (13:26 +0100)]
Merge branch 'releases/2.2.0' into next

Conflicts:
CMakeModules/FindSvnClient.cmake
src/FDM/JSBSim/JSBSim.cxx

13 years agoaccomodate changes to osgDB::DatabasePager interface
Tim Moore [Tue, 15 Feb 2011 11:30:56 +0000 (12:30 +0100)]
accomodate changes to osgDB::DatabasePager interface

The change was introduced in OSG SVN revision 12080. Note: that
revision has a bug that causes fgfs to crash. The bug is fixed in
revision 12170.

13 years agoMerge branch 'next' of http://git.gitorious.org/fg/flightgear into next
Torsten Dreyer [Mon, 14 Feb 2011 21:15:37 +0000 (22:15 +0100)]
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next

13 years agoWarning fixes for MSVC
Torsten Dreyer [Mon, 14 Feb 2011 21:11:56 +0000 (22:11 +0100)]
Warning fixes for MSVC

13 years agoFix wrong throttle-position on init (trim)
Torsten Dreyer [Mon, 14 Feb 2011 20:01:48 +0000 (21:01 +0100)]
Fix wrong throttle-position on init (trim)

13 years agogcc warning fixes
Torsten Dreyer [Mon, 14 Feb 2011 19:58:54 +0000 (20:58 +0100)]
gcc warning fixes

13 years agoMerge branch 'next' of http://git.gitorious.org/fg/flightgear into next
Torsten Dreyer [Mon, 14 Feb 2011 19:54:09 +0000 (20:54 +0100)]
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next

13 years agoTankProperties: don't allow negative values
Torsten Dreyer [Mon, 14 Feb 2011 19:45:59 +0000 (20:45 +0100)]
TankProperties: don't allow negative values

13 years agoRefactor controls.cxx: use simgear functions
Torsten Dreyer [Mon, 14 Feb 2011 19:44:20 +0000 (20:44 +0100)]
Refactor controls.cxx: use simgear functions

- use TiedPropertyList
- use SG_CLAMP_RANGE

13 years agoRefactor ridgelift: use simgear::TiedPropertyList
Torsten Dreyer [Mon, 14 Feb 2011 19:26:39 +0000 (20:26 +0100)]
Refactor ridgelift: use simgear::TiedPropertyList

13 years agoSupport scenery reloading (needs simgear update).
ThorstenB [Sun, 13 Feb 2011 18:24:54 +0000 (19:24 +0100)]
Support scenery reloading (needs simgear update).
TileMgr subsystem reinit: remove all scenery tiles from scenegraph and
clear cache (simgear update required).
"normal" sim resets: no TileMgr reset is needed (avoid reloading scenery).

13 years agoUpdate tile loader options whenever its config properties change
ThorstenB [Sun, 13 Feb 2011 17:56:46 +0000 (18:56 +0100)]
Update tile loader options whenever its config properties change
New listener for tile-loader properties.

13 years agoMinor output format issue.
ThorstenB [Sun, 13 Feb 2011 17:31:26 +0000 (18:31 +0100)]
Minor output format issue.

13 years agoAvoid crash and/or long delay on shutdown in METAR loader.
ThorstenB [Sun, 13 Feb 2011 15:50:23 +0000 (16:50 +0100)]
Avoid crash and/or long delay on shutdown in METAR loader.
Catching loader thread on subsystem destruction is too late, since it
depends on other subsystems (which are destroyed earlier).
=> Need to stop & join thread during subsystem shutdown.
Also changed loader sleep logic - to avoid excessive delays (up to
30 seconds) on shutdown.
(Issues mostly happened when running offline with realwx enabled.)

13 years agoAvoid crash and/or long delay on shutdown in METAR loader.
ThorstenB [Sun, 13 Feb 2011 15:50:23 +0000 (16:50 +0100)]
Avoid crash and/or long delay on shutdown in METAR loader.
Catching loader thread on subsystem destruction is too late, since it
depends on other subsystems (which are destroyed earlier).
=> Need to stop & join thread during subsystem shutdown.
Also changed loader sleep logic - to avoid excessive delays (up to
30 seconds) on shutdown.
(Issues mostly happened when running offline with realwx enabled.)

13 years agoTankProperty: a bugfix and a new properties
Torsten Dreyer [Sat, 12 Feb 2011 20:36:58 +0000 (21:36 +0100)]
TankProperty: a bugfix and a new properties

- Fix initial number of TankProperty instances (thanks to Csaba)
- Add new property for unusable fuel and compute "empty" state

13 years agoIvan Ngeow: Fixed compile for FreeBSD platforms.
ThorstenB [Fri, 11 Feb 2011 17:53:35 +0000 (18:53 +0100)]
Ivan Ngeow: Fixed compile for FreeBSD platforms.

13 years agoIvan Ngeow: Fixed compile for FreeBSD platforms.
ThorstenB [Fri, 11 Feb 2011 17:53:35 +0000 (18:53 +0100)]
Ivan Ngeow: Fixed compile for FreeBSD platforms.

13 years agoSupport more than eight tanks
Torsten Dreyer [Tue, 8 Feb 2011 20:23:02 +0000 (21:23 +0100)]
Support more than eight tanks

I was naive enough to think that no aircraft ever uses more
than eight tanks. Csabe proved me wrong and came up with a
fix - Thanks.

13 years agoMerge branch 'next' of http://git.gitorious.org/fg/flightgear into next
Torsten Dreyer [Sun, 6 Feb 2011 21:28:40 +0000 (22:28 +0100)]
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next

13 years agoFix the tank properties if no content was defined in fg
Torsten Dreyer [Sun, 6 Feb 2011 21:08:46 +0000 (22:08 +0100)]
Fix the tank properties if no content was defined in fg

13 years agoMerge branch 'next' of http://git.gitorious.org/fg/flightgear into next
Torsten Dreyer [Sun, 6 Feb 2011 19:33:05 +0000 (20:33 +0100)]
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next

13 years agoRepair windows vc90 build broken by TankProperties commit
Torsten Dreyer [Sun, 6 Feb 2011 19:04:12 +0000 (20:04 +0100)]
Repair windows vc90 build broken by TankProperties commit

13 years agoUnified handling of (fuel-)tank properties
Torsten Dreyer [Sun, 6 Feb 2011 16:33:31 +0000 (17:33 +0100)]
Unified handling of (fuel-)tank properties

Ensure consistent properties for all fuel tanks

13 years agoFixed incomplete merge of JSBSim.cxx
ThorstenB [Sun, 6 Feb 2011 15:46:36 +0000 (16:46 +0100)]
Fixed incomplete merge of JSBSim.cxx
Commit 287cc74965e11ff3888117a9d9b88ed2bdbb9252 wasn't merged to release/2.2.0
properly by Commit b649f97b19b60ae273bf18e25b9539363b3d1c9a.

13 years agoMerge branch 'next' of http://git.gitorious.org/fg/flightgear into next
Torsten Dreyer [Sun, 6 Feb 2011 14:44:30 +0000 (15:44 +0100)]
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next

13 years agoMove tiedpropertylist from flightgear to simgear
Torsten Dreyer [Sun, 6 Feb 2011 14:44:09 +0000 (15:44 +0100)]
Move tiedpropertylist from flightgear to simgear

13 years agoBertrand Coconnier: updated fix for #204 and #222: JSBSim reset
ThorstenB [Sun, 6 Feb 2011 14:16:58 +0000 (15:16 +0100)]
Bertrand Coconnier: updated fix for #204 and #222: JSBSim reset
Use shared property pointers instead of path strings, adapt method
names to JSBSim style, catch all property ties, proper error handling
when tieing failed.

13 years agoImproved fix for #204 and #222: JSBSim::unbind() needs to untie _all_ its properties
ThorstenB [Sat, 5 Feb 2011 16:49:26 +0000 (17:49 +0100)]
Improved fix for #204 and #222: JSBSim::unbind() needs to untie _all_ its properties
Extends and partially reverts commit 287cc74965e11ff3888117a9d9b88ed2bdbb9252
Previous fix did not consider properties outside the /fdm/jsbsim branch.
FGPropertyManager now keeps track of all its tied properties - and provides
a method to cleanly untie them again.

13 years agoBetrand Coconnier: fix bugs #47,#184: roll/pitch/speed via command-line
ThorstenB [Sun, 30 Jan 2011 15:05:28 +0000 (16:05 +0100)]
Betrand Coconnier: fix bugs #47,#184: roll/pitch/speed via command-line
Specifying initial roll, pitch and speed should be working again.

13 years agoFix for bug #204 and #222 by Bertrand Coconnier; NaNs (bug #222) were basically gener...
ThorstenB [Sun, 6 Feb 2011 14:33:27 +0000 (15:33 +0100)]
Fix for bug #204 and #222 by Bertrand Coconnier; NaNs (bug #222) were basically generated because the method JSBSim::unbind() was not implemented in JSBSim.cxx.

13 years agoBertrand Coconnier: updated fix for #204 and #222: JSBSim reset
ThorstenB [Sun, 6 Feb 2011 14:16:58 +0000 (15:16 +0100)]
Bertrand Coconnier: updated fix for #204 and #222: JSBSim reset
Use shared property pointers instead of path strings, adapt method
names to JSBSim style, catch all property ties, proper error handling
when tieing failed.

13 years agoImproved fix for #204 and #222: JSBSim::unbind() needs to untie _all_ its properties
ThorstenB [Sat, 5 Feb 2011 16:49:26 +0000 (17:49 +0100)]
Improved fix for #204 and #222: JSBSim::unbind() needs to untie _all_ its properties
Extends and partially reverts commit 287cc74965e11ff3888117a9d9b88ed2bdbb9252
Previous fix did not consider properties outside the /fdm/jsbsim branch.
FGPropertyManager now keeps track of all its tied properties - and provides
a method to cleanly untie them again.

13 years agoNot reported by cppcheck: fix another memory leak :)
ThorstenB [Fri, 4 Feb 2011 18:38:22 +0000 (19:38 +0100)]
Not reported by cppcheck: fix another memory leak :)
Extends/changes commit 687be046789e2f509ccf93155456c47f3f463e0c
to fix a related second leak (with "model").

13 years agoFixed several compiler warnings
ThorstenB [Wed, 2 Feb 2011 21:05:54 +0000 (22:05 +0100)]
Fixed several compiler warnings
uninitialized or unused variables, init sequence, ...

13 years agoMerge branch 'next' of http://git.gitorious.org/fg/flightgear into next
Torsten Dreyer [Wed, 2 Feb 2011 17:14:20 +0000 (18:14 +0100)]
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next

13 years agoFixed helicopter view.
ThorstenB [Tue, 1 Feb 2011 18:23:05 +0000 (19:23 +0100)]
Fixed helicopter view.
Corrected the new panning check: panning rotates around the y-axis,
so the x- or z-axis need an offset != 0 (not x-/y-axis).

13 years agoMerge branch 'next' of http://git.gitorious.org/fg/flightgear into next
Torsten Dreyer [Tue, 1 Feb 2011 11:46:04 +0000 (12:46 +0100)]
Merge branch 'next' of http://git.gitorious.org/fg/flightgear into next

13 years agoInitialize class member in AIFlightPlan
Frederic Bouvier [Sun, 30 Jan 2011 20:20:50 +0000 (21:20 +0100)]
Initialize class member in AIFlightPlan

13 years agoReported by cppcheck: fix an incorrect usage of iterators
Frederic Bouvier [Sun, 30 Jan 2011 12:25:39 +0000 (13:25 +0100)]
Reported by cppcheck: fix an incorrect usage of iterators