]>
git.mxchange.org Git - flightgear.git/log
James Turner [Sat, 21 Dec 2013 15:29:11 +0000 (15:29 +0000)]
Cocoa: fix warning about deprecated function.
SetFrontProcess is deprecated, use NSApplication instead now we
have the CocoaHelpers file.
Clément de l'Hamaide [Sat, 21 Dec 2013 14:47:36 +0000 (15:47 +0100)]
Remove specific hack while testing period
James Turner [Fri, 20 Dec 2013 12:42:12 +0000 (12:42 +0000)]
Fix some warnings from new Xcode.
finite is deprecated, use C99 isfinite as recommended.
Rebecca Palmer [Tue, 17 Dec 2013 18:09:12 +0000 (18:09 +0000)]
Always make sure the Terrasync directory is set and exists
This was previously done only if Terrasync was on, but this made
it impossible to use the GUI dialog to turn it on for the first
time in a fresh install
James Turner [Thu, 19 Dec 2013 17:18:09 +0000 (17:18 +0000)]
Bugfix: avoid sky colour errors when vis < 1000m
(needs the accompanying Simgear change in SGSky)
James Turner [Thu, 19 Dec 2013 14:53:32 +0000 (14:53 +0000)]
Security: more conservative dir permission masks.
Use 0755 instead of 077 everywhere we create a directory.
James Turner [Thu, 19 Dec 2013 13:33:18 +0000 (13:33 +0000)]
Bugfix: remove the (totally broken) skyblend option
Torsten Dreyer [Thu, 19 Dec 2013 08:40:24 +0000 (09:40 +0100)]
autopilot: add the forgotten RateLimitFilter
Thomas Geymayer [Tue, 17 Dec 2013 18:07:08 +0000 (19:07 +0100)]
Expose SGPath to Nasal
Torsten Dreyer [Tue, 17 Dec 2013 16:28:16 +0000 (17:28 +0100)]
Add new filters from Alan Teeder
James Turner [Tue, 17 Dec 2013 13:56:26 +0000 (13:56 +0000)]
Rembrandt: fix sky color at altitude.
Don't override global clear color in the Lighting stage. Should fix ugly 'circle' appearing due to sky sphere being clipped when above 32000 ft.
Fix suggested by Emilian H.
Rebecca Palmer [Sun, 1 Dec 2013 22:12:35 +0000 (22:12 +0000)]
Stop --native-ctrls option from breaking JSBSim
Remove unused instance of FGControls from FGNativeCtrls, as it was
binding to the property tree in place of the globals->get_controls
that JSBSim reads input from, blocking all input
Rebecca Palmer [Thu, 28 Nov 2013 09:45:09 +0000 (09:45 +0000)]
Remove manpage for gl-info, as it no longer exists
from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698308
Rebecca Palmer [Thu, 28 Nov 2013 09:40:11 +0000 (09:40 +0000)]
completely rewrite README.Linux, as the old version was uselessly outdated
( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574173 was one of
several problems)
Rebecca Palmer [Wed, 27 Nov 2013 20:59:21 +0000 (20:59 +0000)]
manpage: correct --airport-id to --airport, remove now-nonexistent options
from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556362
Rebecca Palmer [Mon, 9 Dec 2013 00:13:44 +0000 (00:13 +0000)]
Disable screensaver: initial Linux-only implementation
Add a function fgOSDisableScreensaver() that attempts to disable the
screensaver (currently only succeeding on Linux), and call it on startup.
CMake option USE_DBUS (on by default), requires libdbus-1
Motivation: most screensavers do not monitor the joystick
https://bugs.launchpad.net/ubuntu/+source/flightgear/+bug/793599
Discussion: http://sourceforge.net/p/flightgear/mailman/message/
31717061 /
James Turner [Sun, 15 Dec 2013 20:45:08 +0000 (20:45 +0000)]
Reset: use new copy-properties helper.
James Turner [Sun, 15 Dec 2013 20:43:27 +0000 (20:43 +0000)]
Use binding-list fire helper.
James Turner [Mon, 9 Dec 2013 23:27:25 +0000 (23:27 +0000)]
Reset: Clear the pager queues, preserve properties.
James Turner [Mon, 9 Dec 2013 23:25:04 +0000 (23:25 +0000)]
Shutdown: clear effects cleanly.
Avoids effects (and referenced properties / objects within) persisting
due to references in the effects cache, after globals are gone.
Thomas Geymayer [Mon, 9 Dec 2013 22:16:25 +0000 (23:16 +0100)]
Set "/sim/fghome-readonly" to false also for Windows.
"/sim/fghome-readonly" is read with a default of false always,
but I think the code should set it explicitly to false for all
platforms.
Thomas Geymayer [Mon, 9 Dec 2013 22:15:35 +0000 (23:15 +0100)]
Check return values if write and unlink.
Thomas Geymayer [Mon, 9 Dec 2013 22:13:45 +0000 (23:13 +0100)]
Canvas: Now only one global SystemAdapter is used...
James Turner [Mon, 9 Dec 2013 21:47:18 +0000 (21:47 +0000)]
Kill an obsolete static in the osgViewer wrapper.
James Turner [Mon, 9 Dec 2013 21:46:34 +0000 (21:46 +0000)]
Bug 1289, crash on AP reload
- missed update for revised subsystem ownership in the AP code.
https://code.google.com/p/flightgear-bugs/issues/detail?id=1289
ThorstenB [Sun, 8 Dec 2013 18:35:22 +0000 (19:35 +0100)]
Route manager support to read flightplans in GPX format
Thomas Geymayer [Sun, 8 Dec 2013 18:23:47 +0000 (19:23 +0100)]
Scripting: clean up a bit and user more of cppbind.
Thomas Geymayer [Sun, 8 Dec 2013 18:22:41 +0000 (19:22 +0100)]
Add positioned.diff for fast difference calculations on positioned lists.
James Turner [Sat, 7 Dec 2013 15:06:14 +0000 (15:06 +0000)]
Reset: clear the viewer scene.
On renderer shutdown, clear the viewer scene completely.
Thomas Geymayer [Sat, 7 Dec 2013 12:48:04 +0000 (13:48 +0100)]
FGLinuxEventInput: check return value of write.
Thomas Geymayer [Sat, 7 Dec 2013 12:47:10 +0000 (13:47 +0100)]
Expose SGPropertyNode::removeAllChildren() to Nasal.
James Turner [Fri, 6 Dec 2013 18:45:45 +0000 (18:45 +0000)]
Reset: ensure FGODGuage shutsdown cleanly.
- remove ODGuage instances during shutdown phase (don't wait until
deletion)
James Turner [Fri, 6 Dec 2013 17:38:09 +0000 (17:38 +0000)]
Renderer: get rid of static scene references.
James Turner [Fri, 6 Dec 2013 17:33:13 +0000 (17:33 +0000)]
Reset: clear the osg object cache
janodesbois [Wed, 4 Dec 2013 20:13:09 +0000 (21:13 +0100)]
velocities/uBody got a capitale B forgot this in mp tree, maybe it would be better to male it it lower case?
James Turner [Wed, 4 Dec 2013 09:11:26 +0000 (09:11 +0000)]
Reset: listener cleanup
James Turner [Wed, 4 Dec 2013 09:09:47 +0000 (09:09 +0000)]
Reset: clear effects cache
James Turner [Tue, 3 Dec 2013 21:38:24 +0000 (21:38 +0000)]
Reset: free nasal-module-listeners on shutdown.
Gijs de Rooy [Tue, 3 Dec 2013 21:37:53 +0000 (22:37 +0100)]
Output route manager ETA in seconds
James Turner [Sun, 1 Dec 2013 21:48:03 +0000 (21:48 +0000)]
Fix a copy-paste bug in the route-manager.
autopilot/route-manager/departure/field-elevation-ft was giving
destination field elevation, not departure. Thanks to Hyde Yamakawa for
noticing this.
James Turner [Sun, 1 Dec 2013 21:34:30 +0000 (21:34 +0000)]
Reset: change FDM ownership
- make the FDM owned via a SGSharedPtr
- drop some property references explicitly.
James Turner [Sun, 1 Dec 2013 21:33:31 +0000 (21:33 +0000)]
Remap JSB-sim debug levels from SG_LOG levels.
(Avoids the entire aircraft config being dumped to the console at
log-level info)
Clément de l'Hamaide [Sun, 1 Dec 2013 17:50:44 +0000 (18:50 +0100)]
Fix accent bug in MapWidget
Thomas Geymayer [Sun, 1 Dec 2013 11:57:14 +0000 (12:57 +0100)]
CanvasWidget: get new GUI camera on reset.
Clément de l'Hamaide [Sun, 1 Dec 2013 09:54:36 +0000 (10:54 +0100)]
Fix BMP header for Inno-setup
Thomas Geymayer [Sun, 1 Dec 2013 00:32:21 +0000 (01:32 +0100)]
Canvas GUI: completely reset on reinit
bcoconni [Fri, 29 Nov 2013 18:37:39 +0000 (19:37 +0100)]
Fix for bug #1238: the accelerations, velocities, etc. are now updated to a consistent set of values prior to exiting the trim routines.
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
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)
James Turner [Mon, 25 Nov 2013 09:14:46 +0000 (09:14 +0000)]
Remove dependency on command-mgr singleton
Use explicit instance (from globals)
bcoconni [Sun, 24 Nov 2013 19:12:17 +0000 (20:12 +0100)]
Synchronized with JSBSim/CVS
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)
James Turner [Sun, 24 Nov 2013 17:25:02 +0000 (17:25 +0000)]
Cocoa: more Function-key shortcuts in menus
James Turner [Sat, 23 Nov 2013 20:08:55 +0000 (20:08 +0000)]
Reset: do re-init Ghost bindings.
James Turner [Sat, 23 Nov 2013 19:59:09 +0000 (19:59 +0000)]
Cocoa menu fixes for reset
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.
Thomas Geymayer [Sun, 24 Nov 2013 14:50:44 +0000 (15:50 +0100)]
Canvas/GUI: add/remove placement factories on init/shutdown.
James Turner [Fri, 22 Nov 2013 22:42:04 +0000 (22:42 +0000)]
Reset: do general init on reset path
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
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)
James Turner [Thu, 21 Nov 2013 17:38:22 +0000 (17:38 +0000)]
Reset: delete mat-lib, re-create on reset
James Turner [Tue, 19 Nov 2013 22:01:11 +0000 (22:01 +0000)]
One more Mac helper moved into CocoaHelpers.mm
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.
James Turner [Mon, 18 Nov 2013 15:52:30 +0000 (15:52 +0000)]
One more Mac helper moved into CocoaHelpers.mm
James Turner [Mon, 18 Nov 2013 15:40:14 +0000 (15:40 +0000)]
Read-only mode fixes.
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.
Clément de l'Hamaide [Sun, 17 Nov 2013 22:37:25 +0000 (23:37 +0100)]
FGCom built-in: restore speaker volume settings
janodesbois [Sun, 17 Nov 2013 16:26:56 +0000 (17:26 +0100)]
static.cxx msvc bug correction.
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.
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.
James Turner [Sat, 16 Nov 2013 14:22:34 +0000 (14:22 +0000)]
Refactor aircraft-dir visiting.
Cap maximum depth to avoid bug 865
James Turner [Sat, 16 Nov 2013 12:10:21 +0000 (12:10 +0000)]
Reset: refactor static CameraGroup ownership
James Turner [Sat, 16 Nov 2013 12:00:00 +0000 (12:00 +0000)]
Reset: make fgSetDefaults non-static.
James Turner [Sat, 16 Nov 2013 11:59:23 +0000 (11:59 +0000)]
Reset: guard against picks during re-init
James Turner [Sat, 16 Nov 2013 11:58:55 +0000 (11:58 +0000)]
Environment manager: use aircraft_pos helper
James Turner [Sun, 6 Oct 2013 16:37:37 +0000 (17:37 +0100)]
Reset: AIbase, drop references
James Turner [Sat, 16 Nov 2013 11:56:42 +0000 (11:56 +0000)]
Release property refs on shutdown.
James Turner [Sat, 16 Nov 2013 10:05:09 +0000 (10:05 +0000)]
Refactor Cocoa helpers.
Change away from using deprecated FSFindFolder.
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.
James Turner [Sat, 16 Nov 2013 09:31:18 +0000 (09:31 +0000)]
Fix Linux build
Linux needs explicit includes for open() and flags.
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.
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)
James Turner [Thu, 14 Nov 2013 23:13:07 +0000 (23:13 +0000)]
Linux needs stdarg.h for va_args
James Turner [Thu, 14 Nov 2013 22:19:13 +0000 (22:19 +0000)]
Kill some archaic options.
bcoconni [Mon, 11 Nov 2013 18:55:54 +0000 (19:55 +0100)]
Synchronized FG with the removal of 'using std::*' in simgear's easyxml
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.
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.
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
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)
Clément de l'Hamaide [Wed, 13 Nov 2013 21:48:55 +0000 (22:48 +0100)]
Icons update
James Turner [Wed, 13 Nov 2013 00:16:28 +0000 (00:16 +0000)]
Fix standalone terrasync build
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.
James Turner [Tue, 12 Nov 2013 23:10:19 +0000 (23:10 +0000)]
Reset: adjust for tweaked TerraSync API
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
James Turner [Mon, 11 Nov 2013 10:13:33 +0000 (10:13 +0000)]
Reset: uninstall deletion-manager
James Turner [Tue, 5 Nov 2013 05:31:02 +0000 (05:31 +0000)]
Reset: route-manager guard against no plan.
James Turner [Mon, 11 Nov 2013 10:11:54 +0000 (10:11 +0000)]
Reset: ATIS shutdown fix
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.
James Turner [Tue, 5 Nov 2013 05:32:43 +0000 (05:32 +0000)]
Reset: guard against NULL HUD / lighting
James Turner [Tue, 5 Nov 2013 05:32:14 +0000 (05:32 +0000)]
Reset: sound manager can be shutdown cleanly