fgpanel is basically the stripped down 2D-Panel code from
FlightGear. It is designed as a standalone lightweight panel
rendering engine to draw 2d panels on a lowcost computer/graphic card
without 3d acceleration at reasonablel framerates.
Patches for inclusion into the build system will follow.
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)
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.
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)
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.
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).
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.
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...
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.
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.
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.
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.
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
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
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.
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.)
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.)
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.
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.
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.
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.
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.
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").