]>
git.mxchange.org Git - flightgear.git/log
James Turner [Wed, 22 Jan 2014 22:33:30 +0000 (22:33 +0000)]
CrashRpt tweaks, checking.
- show a message box if setup fails
- log setup status
James Turner [Wed, 22 Jan 2014 10:56:04 +0000 (10:56 +0000)]
Adjust fg-aircraft handling back to original style.
- startup code will warn and fix the alternate style
- man page now documents the option
Clément de l'Hamaide [Mon, 20 Jan 2014 23:06:43 +0000 (00:06 +0100)]
Use --fg-aircraft paths for AI model
Firstly search model in $fg-root/AI/ path,
if not found, search model in --fg-aircraft paths,
if not found, search model in $fg-root/Aircraft path
This commit should solve the complaint "I have an aircraft in a separate Aircraft/ folder
but during MP session other user are shown with the aircraft from the $fg-root/Aircraft path
instead of this behaviour I want to see the aircraft from my separate Aircraft/ folder"
James Turner [Mon, 20 Jan 2014 21:54:06 +0000 (21:54 +0000)]
Fix typo, add Hudson Build-ID to reports.
James Turner [Mon, 20 Jan 2014 18:43:02 +0000 (18:43 +0000)]
Windows native file-dialog, menu-bar
By Gijs with additions by James. Menubar is disabled at present
since it's not usable and potentially inferior to other solutions,
but committing the code so it doesn't rot.
James Turner [Mon, 20 Jan 2014 09:07:08 +0000 (09:07 +0000)]
Add crashrpt to Windows nightlies.
James Turner [Sun, 19 Jan 2014 16:49:32 +0000 (16:49 +0000)]
Crash-fix: mat-lib is now reference-counted.
Adapt to corresponding SG change to make SGMaterialLib be ref-counted,
and have the 'reload-materials' command notify the tile-manager of this,
so it can update the options struct it passes to new tiles.
James Turner [Sat, 18 Jan 2014 22:27:33 +0000 (22:27 +0000)]
Silence some clang warnings.
(Unused private variables)
Erik Hofman [Sun, 19 Jan 2014 14:23:15 +0000 (15:23 +0100)]
Do not use the new JSBSim ground reactions code by default until there is a good way to identify Nasal scripts that do this themselves
James Turner [Sat, 18 Jan 2014 18:49:03 +0000 (18:49 +0000)]
Make lifetime of CameraViewportListener explicit.
MSVC is warning on this usage, as is the Mac release build. Working
around the issue for the moment.
James Turner [Sat, 18 Jan 2014 15:12:22 +0000 (15:12 +0000)]
Make CrashRpt link optional
(The variable contains -NOTFOUND, not the empty string, so we can't
just link against it regardless)
James Turner [Sat, 18 Jan 2014 14:50:31 +0000 (14:50 +0000)]
Initial integration of CrashRpt for Windows.
Erik Hofman [Sat, 18 Jan 2014 09:56:15 +0000 (10:56 +0100)]
Sync. with JSBSim CVS: although it looks a large part it is mostly bug fixes and fixing compiler warnings
Torsten Dreyer [Fri, 17 Jan 2014 21:00:20 +0000 (22:00 +0100)]
Version 3.1.0
Torsten Dreyer [Fri, 17 Jan 2014 20:49:57 +0000 (21:49 +0100)]
No double-zero for the version number :-/
James Turner [Fri, 17 Jan 2014 17:17:47 +0000 (17:17 +0000)]
Fix un-initialized memory read.
Torsten Dreyer [Thu, 16 Jan 2014 20:47:52 +0000 (21:47 +0100)]
Version 3.0.0
Clément de l'Hamaide [Thu, 16 Jan 2014 17:15:45 +0000 (18:15 +0100)]
FGCom: force 8.33KHz to be handled even if the frequency doesn't exist
James Turner [Wed, 15 Jan 2014 22:01:02 +0000 (22:01 +0000)]
Make Traffic-via-terrasync conditional
GUI dialog already set the property, just need to pick it up.
James Turner [Wed, 15 Jan 2014 22:00:09 +0000 (22:00 +0000)]
Bug-fix: Cocoa menus work in aircraft with custom dialogs.
Restarting the GUI could cause Cocoa menus to misbehave, due to
destruction behaviour of SGBinding. Use new clear() helper in the
short term to work around this.
James Turner [Wed, 15 Jan 2014 17:10:12 +0000 (17:10 +0000)]
Tweaks to fg-aircraft handling.
Warn (but do not require, since people would probably complain) when
added paths do not contain an Aircraft subdir. When people specify
a path which ends in /Aircraft, use the parent directory.
James Turner [Tue, 14 Jan 2014 13:42:11 +0000 (13:42 +0000)]
Bugfix: guard against corrupted airport XML.
James Turner [Tue, 14 Jan 2014 13:11:06 +0000 (13:11 +0000)]
Crashfix: move spatial, AI queries in map-widget
In threaded OSG drawing, MapWidget::draw runs in the render
thread context, but touches lots of main thread state. Move most of the
work to an update() helper run on the main thread instead, so draw()
mostly makes pure GL calls.
(This is a fix for 3.0, the real solution is to migrate to a
Canvas-based map and GUI)
James Turner [Tue, 14 Jan 2014 13:04:52 +0000 (13:04 +0000)]
GPS bug fix: restore startup mode.
- the 'default to current airport' behaviour got broken by the
changes to the scratch.
- expose a 'valid' flag on WP1
James Turner [Mon, 13 Jan 2014 21:08:32 +0000 (21:08 +0000)]
Fix bug 1286 - mouse scroll-wheel+shift ignored
On Mac, the OS is mapping shift+wheel to horizontal scrolling for
those of us without a mighty-mouse or trackpad. Detect this case
and map back to vertical scrolling inside FlightGear for the moment.
https://code.google.com/p/flightgear-bugs/issues/detail?id=1286
James Turner [Mon, 13 Jan 2014 16:41:31 +0000 (16:41 +0000)]
Reset, fix Nasal timers added on shutdown.
James Turner [Mon, 13 Jan 2014 14:46:38 +0000 (14:46 +0000)]
Reset work, fix time-slew on OSG event handling.
Clément de l'Hamaide [Sun, 12 Jan 2014 20:17:57 +0000 (21:17 +0100)]
FGCom: update special_frq for built-in/standalone sync
James Turner [Sun, 12 Jan 2014 17:18:35 +0000 (17:18 +0000)]
Clear the custom OSG notify logger on shutdown.
Should avert crashes due to order of static destruction.
James Turner [Mon, 6 Jan 2014 08:28:40 +0000 (08:28 +0000)]
Crash fix: thread-safe material conditions
When tiles are being loaded, re-evaluate the materials cache once
per update cycle. (This is probably too often, but no worse than the
previous approach).
James Turner [Sat, 4 Jan 2014 17:27:55 +0000 (17:27 +0000)]
Fix crash: Quit via Cmd-Q on Mac.
Tweak static-init order of some OSG objects, so they are valid when
fg_terminate runs, and hence orderly shutdown in possible.
James Turner [Sat, 4 Jan 2014 16:10:42 +0000 (16:10 +0000)]
#1291, hang on exit with OSG threading.
Explicitly stop threading during shutdown, before destroying various
rendering / viewer related structures.
James Turner [Wed, 1 Jan 2014 21:05:29 +0000 (21:05 +0000)]
Fix METAR-download bug on Windows.
https://code.google.com/p/flightgear-bugs/issues/detail?id=1207
Use the new (in SimGear) sgGMTime helper when comparing METAR age.
This prevents users in time-zones 4 or more hours ahead of GMT from
being unable to use METAR reports.
James Turner [Mon, 30 Dec 2013 17:16:53 +0000 (17:16 +0000)]
Fix for the fix: check for a viewer.
- avoid a crash if we bail out before creating the viewer (missing
data or bad aircraft)
James Turner [Mon, 30 Dec 2013 15:23:01 +0000 (15:23 +0000)]
Fix crash on exit (cancel the osgDB pager)
- borrow some code from the new reset codepath to cleanly stop the
OSG pager thread during normal shutdown. Avoids a race-condition
destroying various structures the pager thread might be modifying.
Clément de l'Hamaide [Thu, 26 Dec 2013 14:36:57 +0000 (15:36 +0100)]
Remove unwanted message from IAX lib
Clément de l'Hamaide [Thu, 26 Dec 2013 14:36:08 +0000 (15:36 +0100)]
Fix frozen shutdown for Linux
Clément de l'Hamaide [Wed, 25 Dec 2013 12:49:41 +0000 (13:49 +0100)]
Make cmake happy (from Christian Schmitt commit - terragear)
Clément de l'Hamaide [Tue, 24 Dec 2013 10:22:24 +0000 (11:22 +0100)]
Delete unused variable
Clément de l'Hamaide [Mon, 23 Dec 2013 13:04:21 +0000 (14:04 +0100)]
FGCom standalone: update positions.txt
Clément de l'Hamaide [Sun, 22 Dec 2013 19:21:20 +0000 (20:21 +0100)]
gen_phonebook.pl: skip 8.33KHz from apt.dat + fgcom.conf update
Thomas Geymayer [Sun, 22 Dec 2013 11:43:47 +0000 (12:43 +0100)]
PID: ensure correct initialization with large sampling interval
James Turner [Sun, 22 Dec 2013 11:18:48 +0000 (11:18 +0000)]
Use a real function to wrap isfinite differences.
Don't worry about compiler ability to inline the macro for the moment;
use a real function to ensure lookup is stable on different compilers.
James Turner [Sat, 21 Dec 2013 15:31:10 +0000 (15:31 +0000)]
Fix a crash where we show a message-box on start.
Don't assume we got as far as creating a viewer when destroying
the renderer.
James Turner [Sat, 21 Dec 2013 15:29:39 +0000 (15:29 +0000)]
Support non-C99 mode in MSVC.
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