]> git.mxchange.org Git - flightgear.git/log
flightgear.git
10 years agoFGCom standalone: .txt destination can be tweaked with -DFGCOM_DATA_PATH
Clément de l'Hamaide [Wed, 27 Nov 2013 12:48:14 +0000 (13:48 +0100)]
FGCom standalone: .txt destination can be tweaked with -DFGCOM_DATA_PATH

10 years agoReset: fix a static in play-audio-sample
James Turner [Mon, 25 Nov 2013 23:53:58 +0000 (23:53 +0000)]
Reset: fix a static in play-audio-sample

Had to add this to FGGlobals, since it needs to be cleaned up
alongside the sound manager (which ideally it would be owned by,
but that's a change for another day)

10 years agoRemove dependency on command-mgr singleton
James Turner [Mon, 25 Nov 2013 09:14:46 +0000 (09:14 +0000)]
Remove dependency on command-mgr singleton

Use explicit instance (from globals)

10 years agoSynchronized with JSBSim/CVS
bcoconni [Sun, 24 Nov 2013 19:12:17 +0000 (20:12 +0100)]
Synchronized with JSBSim/CVS

10 years agoFixed a race condition so that FG runs most of the time (instead of crashes most...
bcoconni [Sun, 24 Nov 2013 19:06:28 +0000 (20:06 +0100)]
Fixed a race condition so that FG runs most of the time (instead of crashes most of the time)

10 years agoCocoa: more Function-key shortcuts in menus
James Turner [Sun, 24 Nov 2013 17:25:02 +0000 (17:25 +0000)]
Cocoa: more Function-key shortcuts in menus

10 years agoReset: do re-init Ghost bindings.
James Turner [Sat, 23 Nov 2013 20:08:55 +0000 (20:08 +0000)]
Reset: do re-init Ghost bindings.

10 years agoCocoa menu fixes for reset
James Turner [Sat, 23 Nov 2013 19:59:09 +0000 (19:59 +0000)]
Cocoa menu fixes for reset

10 years agoBreak config init / aircraft loading apart.
James Turner [Sat, 23 Nov 2013 19:58:45 +0000 (19:58 +0000)]
Break config init / aircraft loading apart.

Allows aircraft loading to proceed during reset without original
values over-writing the updated ones.

10 years agoCanvas/GUI: add/remove placement factories on init/shutdown.
Thomas Geymayer [Sun, 24 Nov 2013 14:50:44 +0000 (15:50 +0100)]
Canvas/GUI: add/remove placement factories on init/shutdown.

10 years agoReset: do general init on reset path
James Turner [Fri, 22 Nov 2013 22:42:04 +0000 (22:42 +0000)]
Reset: do general init on reset path

10 years agoNasal changes for reset
James Turner [Fri, 22 Nov 2013 22:40:50 +0000 (22:40 +0000)]
Nasal changes for reset
- reduce use of global context (will die soon)
- replace static wrappedNode ref which breaks reset

10 years agoNavData: can refresh some in-place.
James Turner [Thu, 21 Nov 2013 17:39:05 +0000 (17:39 +0000)]
NavData: can refresh some in-place.

(Hacking to support faster scenery-path switching)

10 years agoReset: delete mat-lib, re-create on reset
James Turner [Thu, 21 Nov 2013 17:38:22 +0000 (17:38 +0000)]
Reset: delete mat-lib, re-create on reset

10 years agoOne more Mac helper moved into CocoaHelpers.mm
James Turner [Tue, 19 Nov 2013 22:01:11 +0000 (22:01 +0000)]
One more Mac helper moved into CocoaHelpers.mm

10 years agoStructural work (init + shutdown) for new reset system.
James Turner [Sat, 16 Nov 2013 12:10:32 +0000 (12:10 +0000)]
Structural work (init + shutdown) for new reset system.

The new approach is still work in progress (compile time option) and
non-functional, existing reset still works.

10 years agoOne more Mac helper moved into CocoaHelpers.mm
James Turner [Mon, 18 Nov 2013 15:52:30 +0000 (15:52 +0000)]
One more Mac helper moved into CocoaHelpers.mm

10 years agoRead-only mode fixes.
James Turner [Mon, 18 Nov 2013 15:40:14 +0000 (15:40 +0000)]
Read-only mode fixes.

10 years agoFix a propObj -> node conversion bug.
James Turner [Mon, 18 Nov 2013 08:40:34 +0000 (08:40 +0000)]
Fix a propObj -> node conversion bug.

Thanks to Bertrand Coconnier for spotting this.

10 years agoFGCom built-in: restore speaker volume settings
Clément de l'Hamaide [Sun, 17 Nov 2013 22:37:25 +0000 (23:37 +0100)]
FGCom built-in: restore speaker volume settings

10 years agostatic.cxx msvc bug correction.
janodesbois [Sun, 17 Nov 2013 16:26:56 +0000 (17:26 +0100)]
static.cxx msvc bug correction.

10 years agostatic port can be side-slip/alpha dependant, to add a part of total
Eric van den Berg [Sat, 16 Nov 2013 22:15:11 +0000 (23:15 +0100)]
static port can be side-slip/alpha dependant, to add a part of total
 pressure on the reported static pressure.

10 years agoGlobals: delete/shutdown tweaks.
James Turner [Sat, 16 Nov 2013 14:25:12 +0000 (14:25 +0000)]
Globals: delete/shutdown tweaks.

Avoid aircraft-model crash in accessing fx/sound
during shutdown.

10 years agoRefactor aircraft-dir visiting.
James Turner [Sat, 16 Nov 2013 14:22:34 +0000 (14:22 +0000)]
Refactor aircraft-dir visiting.

Cap maximum depth to avoid bug 865

10 years agoReset: refactor static CameraGroup ownership
James Turner [Sat, 16 Nov 2013 12:10:21 +0000 (12:10 +0000)]
Reset: refactor static CameraGroup ownership

10 years agoReset: make fgSetDefaults non-static.
James Turner [Sat, 16 Nov 2013 12:00:00 +0000 (12:00 +0000)]
Reset: make fgSetDefaults non-static.

10 years agoReset: guard against picks during re-init
James Turner [Sat, 16 Nov 2013 11:59:23 +0000 (11:59 +0000)]
Reset: guard against picks during re-init

10 years agoEnvironment manager: use aircraft_pos helper
James Turner [Sat, 16 Nov 2013 11:58:55 +0000 (11:58 +0000)]
Environment manager: use aircraft_pos helper

10 years agoReset: AIbase, drop references
James Turner [Sun, 6 Oct 2013 16:37:37 +0000 (17:37 +0100)]
Reset: AIbase, drop references

10 years agoRelease property refs on shutdown.
James Turner [Sat, 16 Nov 2013 11:56:42 +0000 (11:56 +0000)]
Release property refs on shutdown.

10 years agoRefactor Cocoa helpers.
James Turner [Sat, 16 Nov 2013 10:05:09 +0000 (10:05 +0000)]
Refactor Cocoa helpers.

Change away from using deprecated FSFindFolder.

10 years agoFix some warnings identified by Clang
James Turner [Sat, 16 Nov 2013 09:41:33 +0000 (09:41 +0000)]
Fix some warnings identified by Clang

_ unused private members. Removed in most cases, commented
out in a couple of cases where it feels as if the code might be used in the future.

10 years agoFix Linux build
James Turner [Sat, 16 Nov 2013 09:31:18 +0000 (09:31 +0000)]
Fix Linux build

Linux needs explicit includes for open() and flags.

10 years agoMultiple-instance support.
James Turner [Thu, 14 Nov 2013 16:48:14 +0000 (16:48 +0000)]
Multiple-instance support.

Write PID file to FG_HOME, use this to detect multiple launches.
When this situation is detected, set a marker property and place various
objects into read-only mode, such as the NavCache and TerraSync.

PID file is created using open+unlink semantics on POSIX, and
DELETE_ON_CLOSE on Windows, so it will be removed when fgfs exits,
even if killed or crashes.

10 years agoMore tweaks for Linux.
James Turner [Thu, 14 Nov 2013 23:32:02 +0000 (23:32 +0000)]
More tweaks for Linux.

(Needs explicit include of stdio, and stdarg in the header)

10 years agoLinux needs stdarg.h for va_args
James Turner [Thu, 14 Nov 2013 23:13:07 +0000 (23:13 +0000)]
Linux needs stdarg.h for va_args

10 years agoKill some archaic options.
James Turner [Thu, 14 Nov 2013 22:19:13 +0000 (22:19 +0000)]
Kill some archaic options.

10 years agoSynchronized FG with the removal of 'using std::*' in simgear's easyxml
bcoconni [Mon, 11 Nov 2013 18:55:54 +0000 (19:55 +0100)]
Synchronized FG with the removal of 'using std::*' in simgear's easyxml

10 years agoTranslation helpers, add global functions.
James Turner [Thu, 14 Nov 2013 16:22:13 +0000 (16:22 +0000)]
Translation helpers, add global functions.

These are designed for compact access to translations, including a
positional printf.

10 years agoMessage box support.
James Turner [Wed, 6 Nov 2013 23:49:58 +0000 (15:49 -0800)]
Message box support.

This allows us to display a platform-native dialog for problems
which occur early in startup (before we can show a PUI/Canvas dialog).

In particular this improves feedback where FG_HOME, FG_DATA or
aircraft selection is wrong, all of which happen very early in startup.

10 years agoForce 32 bits depth on .ico - only for Windows
Clément de l'Hamaide [Thu, 14 Nov 2013 20:24:56 +0000 (21:24 +0100)]
Force 32 bits depth on .ico - only for Windows

10 years agoFix some static property references.
James Turner [Thu, 14 Nov 2013 16:37:36 +0000 (16:37 +0000)]
Fix some static property references.

(These cause problems when replacing the property tree during reset)

10 years agoIcons update
Clément de l'Hamaide [Wed, 13 Nov 2013 21:48:55 +0000 (22:48 +0100)]
Icons update

10 years agoFix standalone terrasync build
James Turner [Wed, 13 Nov 2013 00:16:28 +0000 (00:16 +0000)]
Fix standalone terrasync build

10 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.

10 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

10 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

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

10 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.

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

10 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.

10 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

10 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

10 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()

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

10 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

10 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.

10 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

10 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

10 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

10 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

10 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).

10 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.

10 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.

10 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

10 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

10 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.

10 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

10 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.

10 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.

10 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)

10 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

10 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

10 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)

10 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

10 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.

10 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

10 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

10 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.

10 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

10 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

10 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

10 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

10 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)

10 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

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

10 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.

10 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.

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

10 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.

10 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.

10 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.

10 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

10 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

10 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)

10 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.

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

10 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.

10 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

10 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