fg:hoorays-flightgear.git
8 years agoReset: changes for SGSubsystem ownership.
James Turner [Tue, 12 Nov 2013 23:36:18 +0000 (23:36 +0000)]
Reset: changes for SGSubsystem ownership.

Keep in sync with updated ownership model in subsystem groups.

8 years agoReset: adjust for tweaked TerraSync API
James Turner [Tue, 12 Nov 2013 23:10:19 +0000 (23:10 +0000)]
Reset: adjust for tweaked TerraSync API

8 years agoReset: explicit close-window function.
James Turner [Tue, 12 Nov 2013 22:26:37 +0000 (22:26 +0000)]
Reset: explicit close-window function.

Allow orderly shutdown of OSG before cxa_finalize

8 years agoReset: uninstall deletion-manager
James Turner [Mon, 11 Nov 2013 10:13:33 +0000 (10:13 +0000)]
Reset: uninstall deletion-manager

8 years agoReset: route-manager guard against no plan.
James Turner [Tue, 5 Nov 2013 05:31:02 +0000 (05:31 +0000)]
Reset: route-manager guard against no plan.

8 years agoReset: ATIS shutdown fix
James Turner [Mon, 11 Nov 2013 10:11:54 +0000 (10:11 +0000)]
Reset: ATIS shutdown fix

8 years agoReset: panel-node cleans up listener.
James Turner [Sun, 10 Nov 2013 20:32:00 +0000 (12:32 -0800)]
Reset: panel-node cleans up listener.

Also get rid of the global FGPanelNode pointer.

8 years agoReset: guard against NULL HUD / lighting
James Turner [Tue, 5 Nov 2013 05:32:43 +0000 (05:32 +0000)]
Reset: guard against NULL HUD / lighting

8 years agoReset: sound manager can be shutdown cleanly
James Turner [Tue, 5 Nov 2013 05:32:14 +0000 (05:32 +0000)]
Reset: sound manager can be shutdown cleanly

8 years agoReset: drop FGLight prop refs on unbind()
James Turner [Tue, 5 Nov 2013 05:30:11 +0000 (05:30 +0000)]
Reset: drop FGLight prop refs on unbind()

8 years agoReset: remove commands
James Turner [Tue, 5 Nov 2013 05:29:55 +0000 (05:29 +0000)]
Reset: remove commands

8 years agoReset: use simple properties for TimeManager
James Turner [Mon, 11 Nov 2013 10:13:59 +0000 (10:13 +0000)]
Reset: use simple properties for TimeManager

8 years agoReset: Nasal can be shutdown.
James Turner [Sun, 6 Oct 2013 16:36:19 +0000 (17:36 +0100)]
Reset: Nasal can be shutdown.

Also guard against duplicate init of cppbind wrapped classes.

8 years agoFix gen_phonebook.pl for airport at negative altitude
Clément de l'Hamaide [Tue, 12 Nov 2013 21:41:08 +0000 (22:41 +0100)]
Fix gen_phonebook.pl for airport at negative altitude

8 years agoUpgrade fgcom.conf with apt.dat 2013-10
Clément de l'Hamaide [Tue, 12 Nov 2013 21:40:19 +0000 (22:40 +0100)]
Upgrade fgcom.conf with apt.dat 2013-10

8 years agoUpgrade positions.txt with apt.dat 2013-10
Clément de l'Hamaide [Tue, 12 Nov 2013 21:33:08 +0000 (22:33 +0100)]
Upgrade positions.txt with apt.dat 2013-10

8 years agoFix Windows bug: enable/disable FGCom builtin
Clement de l'Hamaide [Mon, 11 Nov 2013 20:39:40 +0000 (21:39 +0100)]
Fix Windows bug: enable/disable FGCom builtin

8 years agoAllow disabling embedded nasal (load/unload scripts).
Thomas Geymayer [Sun, 10 Nov 2013 22:30:32 +0000 (23:30 +0100)]
Allow disabling embedded nasal (load/unload scripts).

8 years agoBug 1246, Nasal repeating timers fire immediately.
James Turner [Sat, 9 Nov 2013 16:01:57 +0000 (08:01 -0800)]
Bug 1246, Nasal repeating timers fire immediately.

Initial delay is passed separately to interval in the
API, oops.

8 years agoBug 1023, crash on replay.
James Turner [Sat, 9 Nov 2013 15:13:00 +0000 (07:13 -0800)]
Bug 1023, crash on replay.

Fix by Jeff Biggs, commit 7d80b30d28baccf80958d9db488364a9a5c3884b from osgearth branch.

8 years ago pitot system stalls at high angles, using /system/pitot[x]/stall-deg
Eric van den Berg [Fri, 1 Nov 2013 16:44:42 +0000 (17:44 +0100)]
 pitot system stalls at high angles, using /system/pitot[x]/stall-deg

8 years agoFGCom-sa: force console output
Clément de l'Hamaide [Thu, 7 Nov 2013 21:49:42 +0000 (22:49 +0100)]
FGCom-sa: force console output

8 years agoFurther tuning of arg->num conversion.
James Turner [Thu, 7 Nov 2013 14:28:40 +0000 (06:28 -0800)]
Further tuning of arg->num conversion.

8 years agogedit syntaxhighlight/snippet support for Nasal.
Thomas Geymayer [Thu, 7 Nov 2013 13:30:03 +0000 (14:30 +0100)]
gedit syntaxhighlight/snippet support for Nasal.

Files by Philosopher: http://forum.flightgear.org/viewtopic.php\?f\=30\&t\=17265\#p164133

8 years agoSimpler Nasal for leg constraints.
James Turner [Thu, 7 Nov 2013 00:58:09 +0000 (16:58 -0800)]
Simpler Nasal for leg constraints.

Thanks to Philosopher for the suggestion.

8 years agoNasal: accept strings-containing-ints as
James Turner [Tue, 5 Nov 2013 23:46:19 +0000 (15:46 -0800)]
Nasal: accept strings-containing-ints as
arguments to leg altitude/speed constraints.

8 years agoMode change for icons (not executable)
Torsten Dreyer [Tue, 5 Nov 2013 21:37:57 +0000 (22:37 +0100)]
Mode change for icons (not executable)

8 years agomag-compass: add deviation table and pitch property
Torsten Dreyer [Tue, 5 Nov 2013 21:26:50 +0000 (22:26 +0100)]
mag-compass: add deviation table and pitch property

8 years agoIcons modifications
Clément de l'Hamaide [Sun, 3 Nov 2013 20:24:23 +0000 (21:24 +0100)]
Icons modifications

- Add some fgcom-*.png for desktop shortcut
- Remove duplicate .gif files
- Change FGCom icon

8 years agoKeep ref_ptr in FGNasalModelData (should fix #1234)
Thomas Geymayer [Fri, 1 Nov 2013 19:52:55 +0000 (20:52 +0100)]
Keep ref_ptr in FGNasalModelData (should fix #1234)

8 years agopitot adapted to /velocities/mach being the mach norm
janodesbois [Thu, 31 Oct 2013 21:29:47 +0000 (22:29 +0100)]
pitot adapted to /velocities/mach being the mach norm

8 years agoRevert "pitot tube using velocities/mach as mach norm, not the u componant"
janodesbois [Thu, 31 Oct 2013 21:27:29 +0000 (22:27 +0100)]
Revert "pitot tube using velocities/mach as mach norm, not the u componant"
pushed a testing patch, need to learn a good workflow ...
This reverts commit 05fa7130fc328cca43272b65de7ae508339d53e6.

8 years agopitot tube using velocities/mach as mach norm, not the u componant
janodesbois [Thu, 31 Oct 2013 19:28:12 +0000 (20:28 +0100)]
pitot tube using velocities/mach as mach norm, not the u componant

8 years agomake YASim report /velocities/mach as the speed's norm
janodesbois [Thu, 31 Oct 2013 19:25:08 +0000 (20:25 +0100)]
make YASim report /velocities/mach as the speed's norm

8 years agoRevert "JSBSim fix: /velocities/mach was reported as totale mach speed"
janodesbois [Thu, 31 Oct 2013 19:21:13 +0000 (20:21 +0100)]
Revert "JSBSim fix: /velocities/mach was reported as totale mach speed"

This reverts commit 4dde865cbcf2a15a379c1f234ebfa6737fde0321.

8 years agoMissing line for FGCom icon
Clément de l'Hamaide [Thu, 31 Oct 2013 19:14:48 +0000 (20:14 +0100)]
Missing line for FGCom icon

8 years agoFG-Win32/64-nightly: move uninstaller in root directory
Clément de l'Hamaide [Thu, 31 Oct 2013 17:30:40 +0000 (18:30 +0100)]
FG-Win32/64-nightly: move uninstaller in root directory

8 years agoFG-Win64-nightly: apply update from Win32-nightly
Clément de l'Hamaide [Thu, 31 Oct 2013 13:37:34 +0000 (14:37 +0100)]
FG-Win64-nightly: apply update from Win32-nightly

8 years agoFG-Win32-nightly: fix OpenRTI deps
Clément de l'Hamaide [Thu, 31 Oct 2013 13:36:23 +0000 (14:36 +0100)]
FG-Win32-nightly: fix OpenRTI deps

8 years agoAdd an FGCom icon from fgcomgui (under GPL)
Clément de l'Hamaide [Thu, 31 Oct 2013 13:07:31 +0000 (14:07 +0100)]
Add an FGCom icon from fgcomgui (under GPL)

8 years agoFG-Win32-nightly: introduce common /bin /share structure
Clément de l'Hamaide [Thu, 31 Oct 2013 12:19:29 +0000 (13:19 +0100)]
FG-Win32-nightly: introduce common /bin /share structure

8 years agoReset: GUI can be shutdown.
James Turner [Sun, 6 Oct 2013 16:34:53 +0000 (17:34 +0100)]
Reset: GUI can be shutdown.

8 years agoReset: AI shutdown unbinds AIbase instances.
James Turner [Sun, 6 Oct 2013 16:34:35 +0000 (17:34 +0100)]
Reset: AI shutdown unbinds AIbase instances.

8 years agoReset: view manager can be be shutdown.
James Turner [Sun, 6 Oct 2013 16:34:03 +0000 (17:34 +0100)]
Reset: view manager can be be shutdown.

8 years agoReset: TimeManager can be unbound.
James Turner [Sun, 6 Oct 2013 16:33:42 +0000 (17:33 +0100)]
Reset: TimeManager can be unbound.

8 years agoReset: given FGScenery a shutdown method.
James Turner [Sun, 6 Oct 2013 16:33:09 +0000 (17:33 +0100)]
Reset: given FGScenery a shutdown method.

Forces OSG branch references to be dropped.

8 years agoReset: use a smart point for model-placement.
James Turner [Sun, 6 Oct 2013 16:32:33 +0000 (17:32 +0100)]
Reset: use a smart point for model-placement.

8 years agoReset: ensure Wx controller destroys cleanly.
James Turner [Sat, 27 Jul 2013 13:49:01 +0000 (14:49 +0100)]
Reset: ensure Wx controller destroys cleanly.

8 years agogeneric binary protocol: add 'word' datatype
Torsten Dreyer [Mon, 28 Oct 2013 21:57:22 +0000 (22:57 +0100)]
generic binary protocol: add 'word' datatype

this patch adds support for binary datatype word (aka int16)
now we have int (32bit), word (16bit) and byte (8bit) integer types

8 years agoFGCom: allow ulaw codec too
Clément de l'Hamaide [Mon, 28 Oct 2013 20:56:08 +0000 (21:56 +0100)]
FGCom: allow ulaw codec too

8 years agoJSBSim fix: /velocities/mach was reported as totale mach speed
janodesbois [Mon, 28 Oct 2013 04:48:53 +0000 (05:48 +0100)]
JSBSim fix: /velocities/mach was reported as totale mach speed
should be the U axis component (machU)

8 years agoHTTP: Rename urlretrieve/urlload to save/load.
Thomas Geymayer [Sun, 27 Oct 2013 22:39:52 +0000 (23:39 +0100)]
HTTP: Rename urlretrieve/urlload to save/load.

8 years agoExpose HTTP module to Nasal.
Thomas Geymayer [Mon, 14 Oct 2013 23:02:05 +0000 (01:02 +0200)]
Expose HTTP module to Nasal.

8 years agoUpdate/refactor for simgear HTTP changes.
Thomas Geymayer [Sun, 27 Oct 2013 18:03:35 +0000 (19:03 +0100)]
Update/refactor for simgear HTTP changes.

8 years agovelocities/u,v,wbody-fps are exposed in the property tree for the mp planes, extracte...
janodesbois [Sun, 27 Oct 2013 18:32:58 +0000 (19:32 +0100)]
velocities/u,v,wbody-fps are exposed in the property tree for the mp planes, extracted from motionInfo

8 years agoforgot a .hxx modif in larcSim for bug 202
janodesbois [Sun, 27 Oct 2013 13:51:19 +0000 (14:51 +0100)]
forgot  a .hxx modif in larcSim for bug 202

8 years agoDefault to 32-bit color buffers.
James Turner [Sun, 27 Oct 2013 13:02:54 +0000 (13:02 +0000)]
Default to 32-bit color buffers.

Requesting 16-bit is probably doing more harm than good on modern
hardware. Command line switch to change works as before.

Also update the default window size, although this is actually
set by preferences.xml

8 years agoExperimental sorter for airports.
James Turner [Sat, 26 Oct 2013 21:53:24 +0000 (22:53 +0100)]
Experimental sorter for airports.

Sort by size (cumulative runway length).

8 years agogsdi correction, wind correction is not needed anymore, as wind composant was removed...
janodesbois [Tue, 22 Oct 2013 14:13:28 +0000 (16:13 +0200)]
gsdi correction, wind correction is not needed anymore, as wind composant was removed from u,v,wbody-fps

8 years agoconsidering u,v,wbody-fps are the ECEF velocity expressed in body axis, change in...
janodesbois [Tue, 22 Oct 2013 13:34:23 +0000 (15:34 +0200)]
considering u,v,wbody-fps are the ECEF velocity expressed in body axis, change in all functions/variables name dealing with them, wrongly named with wind, or even north, east, down.

8 years agoRemove confusing reference to SDL/GLUT
James Turner [Sat, 26 Oct 2013 20:12:57 +0000 (21:12 +0100)]
Remove confusing reference to SDL/GLUT

8 years agoSGI and Borland compilers are gone.
James Turner [Sat, 26 Oct 2013 20:11:02 +0000 (21:11 +0100)]
SGI and Borland compilers are gone.

8 years agoWindow console changes
James Turner [Sat, 26 Oct 2013 20:06:03 +0000 (21:06 +0100)]
Window console changes

- default to SUBSYSTEM:WINDOWS (we can still AllocConsole if needed)
- add --console option to get a console on Windows
- ensure --show-aircraft and --help modes show the console automatically.

8 years agoFix warning 'AI Aircraft without FlightPlan'
James Turner [Sat, 26 Oct 2013 17:45:27 +0000 (18:45 +0100)]
Fix warning 'AI Aircraft without FlightPlan'

Remove the false warning when using AI Aircraft without a flightplan.
This is (it turns out) a supported use case.

8 years agoTweaks to startup configuration handling
James Turner [Sat, 26 Oct 2013 17:29:23 +0000 (18:29 +0100)]
Tweaks to startup configuration handling

- restore-defaults kills the nav cache, terra-sync cache
- new ignore-autosave option bypasses autosave.xml and leaves it
  untouched (does not over-write on exit)

8 years agoFGCom[-sa]: add IAX denoiser and auto gain + set silence threshold
Clément de l'Hamaide [Sat, 26 Oct 2013 11:18:08 +0000 (13:18 +0200)]
FGCom[-sa]: add IAX denoiser and auto gain + set silence threshold

8 years agoFGCom-sa: remove commented lines
Clément de l'Hamaide [Fri, 25 Oct 2013 23:51:06 +0000 (01:51 +0200)]
FGCom-sa: remove commented lines

8 years agoFGCom-sa: use only COM1 and COM2 + special frequencies require to mute speaker
Clément de l'Hamaide [Fri, 25 Oct 2013 23:50:19 +0000 (01:50 +0200)]
FGCom-sa: use only COM1 and COM2 + special frequencies require to mute speaker

8 years agoFGCom: remove unecessary assignation value
Clément de l'Hamaide [Fri, 25 Oct 2013 23:48:31 +0000 (01:48 +0200)]
FGCom: remove unecessary assignation value

8 years agoFGCom: make COM1 and COM2 switchable with Shift+Space
Clément de l'Hamaide [Fri, 25 Oct 2013 23:28:05 +0000 (01:28 +0200)]
FGCom: make COM1 and COM2 switchable with Shift+Space

8 years agobuild-mac-nightly: use new FGCom
Clément de l'Hamaide [Fri, 25 Oct 2013 13:38:17 +0000 (15:38 +0200)]
build-mac-nightly: use new FGCom

8 years agoChange tooltips to enable explicit.
James Turner [Fri, 25 Oct 2013 08:18:59 +0000 (09:18 +0100)]
Change tooltips to enable explicit.

Instead of using a negative delay to disable, make the setting
operate directly. This simplifies UI on top.

8 years agoPause popup respects the preference.
James Turner [Thu, 24 Oct 2013 22:22:46 +0000 (23:22 +0100)]
Pause popup respects the preference.

8 years agoFGCom: use Speex codec instead of GSM codec
Clément de l'Hamaide [Thu, 24 Oct 2013 10:14:15 +0000 (12:14 +0200)]
FGCom: use Speex codec instead of GSM codec

8 years agoFix for #1244 (Canvas placements with pick animation).
Thomas Geymayer [Wed, 23 Oct 2013 23:30:01 +0000 (01:30 +0200)]
Fix for #1244 (Canvas placements with pick animation).

8 years agoNasalCanvas: expose Element::getParent() to Nasal
Thomas Geymayer [Wed, 23 Oct 2013 15:11:56 +0000 (17:11 +0200)]
NasalCanvas: expose Element::getParent() to Nasal

8 years agoFGCom: initialise some variables.
James Turner [Wed, 23 Oct 2013 08:38:04 +0000 (09:38 +0100)]
FGCom: initialise some variables.

Avoid a crash on re-init where _initialized member was never set.

8 years agogeneric protocol: another attempt to make MSVC smile
Torsten Dreyer [Tue, 22 Oct 2013 19:02:06 +0000 (21:02 +0200)]
generic protocol: another attempt to make MSVC smile

8 years agogeneric protocol: don't rely on GNU extension
Torsten Dreyer [Tue, 22 Oct 2013 12:17:35 +0000 (14:17 +0200)]
generic protocol: don't rely on GNU extension

8 years agoFix an MSVC debug crash.
James Turner [Mon, 21 Oct 2013 22:36:52 +0000 (23:36 +0100)]
Fix an MSVC debug crash.

Ensure the route-manger unregisters itself from the flightplan
on destruction, since it is a delegate.

8 years agoFix download rate on splash screen.
James Turner [Mon, 21 Oct 2013 22:04:10 +0000 (23:04 +0100)]
Fix download rate on splash screen.

8 years agoAdd protocol wrappers to the generic protocol
Torsten Dreyer [Mon, 21 Oct 2013 18:43:22 +0000 (20:43 +0200)]
Add protocol wrappers to the generic protocol

This adds two wrappers to the generic protocol to help interfacing
small microcontrollers (arduino et. al.)
When receiving binary data over a sequential link, it's hard to tell where a packet
starts and where it ends. Two existing solutions gets implemented with this patch:
KISS (http://www.ka9q.net/papers/kiss.html) originally developed for ham radio
packet radio devices and STX/ETX byte stuffing.
This adds only the OUT direction, IN will be implemented over the next weeks.

For implementation details on the client (microcontroller's) side, check out
http://gitorious.org/flightgear-pmpt/cmpt/

This implementation is used in the c172fg project to be presented at FSweekend 2013.

8 years agoFix bug 1227, cache thrash on Win.
James Turner [Mon, 21 Oct 2013 12:26:08 +0000 (13:26 +0100)]
Fix bug 1227, cache thrash on Win.

Since we skip POI load on Windows, we also need to
omit the stat check. Apologies for the dumb mistake.

(Will back port to 2.12 branch)

8 years agoFix typos.
James Turner [Sun, 20 Oct 2013 19:46:40 +0000 (20:46 +0100)]
Fix typos.

8 years agoSupport explicit aircraft interior models.
James Turner [Sun, 20 Oct 2013 19:46:33 +0000 (20:46 +0100)]
Support explicit aircraft interior models.

- allow multiple model files in the -set.xml specification
- allow each model to be tagged with a usage string
- put models tagged 'interior' into a LOD group.

This is experimental, the LOD ranges will be made configurable soon.

8 years agoFix FGViewer compilation when HLA is disabled.
James Turner [Sun, 20 Oct 2013 14:56:33 +0000 (15:56 +0100)]
Fix FGViewer compilation when HLA is disabled.

Changed definition in config_cmake.in means #ifdef is no longer
a valid test; use #if instead.

8 years agoMake build information readonly and clean up debug output.
Thomas Geymayer [Sun, 20 Oct 2013 10:58:20 +0000 (12:58 +0200)]
Make build information readonly and clean up debug output.

8 years agoExpose OSG notify severity at runtime.
James Turner [Sun, 20 Oct 2013 08:44:38 +0000 (09:44 +0100)]
Expose OSG notify severity at runtime.

Define a new property /sim/rendering/osg-notify-level and listen
to it, so we can update the notification level at run time.

8 years agoDon't speak < or > when using Festival.
James Turner [Sun, 20 Oct 2013 08:43:48 +0000 (09:43 +0100)]
Don't speak < or > when using Festival.

Patch from HomerJ, avoid sending some additional special
characters to Festival, which renders then as 'greater than' /
'less than'.

8 years agoTrigger segfault/stacktrace to trace memory corruption.
Thomas Geymayer [Sat, 19 Oct 2013 23:26:32 +0000 (01:26 +0200)]
Trigger segfault/stacktrace to trace memory corruption.

Catch OSG error message if osg::Reference derived class
is deleted with non-zero reference count and trigger a
segfault to get a stack trace.

8 years agoProvide debug information on thread safety of osg::Referenced.
Thomas Geymayer [Fri, 18 Oct 2013 23:17:16 +0000 (01:17 +0200)]
Provide debug information on thread safety of osg::Referenced.

8 years agoValidate arg to Nasal airport.comms().
James Turner [Fri, 18 Oct 2013 14:54:44 +0000 (15:54 +0100)]
Validate arg to Nasal airport.comms().

Thanks to HomerJ for the catch.

8 years agoInitial hacking on terra-sync of traffic files.
James Turner [Tue, 1 Oct 2013 20:14:30 +0000 (21:14 +0100)]
Initial hacking on terra-sync of traffic files.

8 years agoFGNasalModelData: also log path of model.
Thomas Geymayer [Thu, 17 Oct 2013 11:29:38 +0000 (13:29 +0200)]
FGNasalModelData: also log path of model.

8 years agoMore logging for FGNasalModelData.
Thomas Geymayer [Thu, 17 Oct 2013 09:48:01 +0000 (11:48 +0200)]
More logging for FGNasalModelData.

8 years agoNasalSys: do not print invalid elements for error backtraces.
Thomas Geymayer [Wed, 16 Oct 2013 21:36:27 +0000 (23:36 +0200)]
NasalSys: do not print invalid elements for error backtraces.

8 years agoMap shows all airports when zoomed in.
James Turner [Sun, 6 Oct 2013 16:28:58 +0000 (17:28 +0100)]
Map shows all airports when zoomed in.

Bug 1135, or part of it.

(Ignore the short-runway culling when zoomed in)

8 years agoBug 1217, crash on AI traffic data.
James Turner [Tue, 15 Oct 2013 21:27:19 +0000 (22:27 +0100)]
Bug 1217, crash on AI traffic data.

Guard against flight plans with missing airport
information.

8 years agoCleanup exit handling.
James Turner [Tue, 15 Oct 2013 21:16:50 +0000 (22:16 +0100)]
Cleanup exit handling.

Replace many lingering calls to exit() from the code,
replacing most with exception throws, which can be
caught by the existing mechanisms.

Update the option-parsing code to return an explicit
value indicating what to do (e.g., exit status to return
to the shell).

8 years agoWork-around for issue 1231.
James Turner [Tue, 15 Oct 2013 21:02:36 +0000 (22:02 +0100)]
Work-around for issue 1231.

Force sglog() to be initialised before at exit
handler is registered, so logging can be used from
inside our exit handler.