1
0
Fork 0
Commit graph

11545 commits

Author SHA1 Message Date
Clément de l'Hamaide
eac763ee61 Fix frozen shutdown for Linux 2013-12-26 15:36:08 +01:00
Clément de l'Hamaide
af5ae8b5b1 Make cmake happy (from Christian Schmitt commit - terragear) 2013-12-25 13:49:41 +01:00
Clément de l'Hamaide
c9a0a50847 Delete unused variable 2013-12-24 11:22:24 +01:00
Clément de l'Hamaide
4fc6c8a54d FGCom standalone: update positions.txt 2013-12-23 14:04:21 +01:00
Clément de l'Hamaide
0687a1c1b2 gen_phonebook.pl: skip 8.33KHz from apt.dat + fgcom.conf update 2013-12-22 20:21:42 +01:00
Thomas Geymayer
5b537b6999 PID: ensure correct initialization with large sampling interval 2013-12-22 14:18:25 +01:00
James Turner
0940a33907 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.
2013-12-22 11:18:48 +00:00
James Turner
43358a2418 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.
2013-12-21 15:31:27 +00:00
James Turner
c717b70231 Support non-C99 mode in MSVC. 2013-12-21 15:31:27 +00:00
James Turner
4c51ad0d87 Cocoa: fix warning about deprecated function.
SetFrontProcess is deprecated, use NSApplication instead now we
have the CocoaHelpers file.
2013-12-21 15:31:27 +00:00
Clément de l'Hamaide
f650fe5abd Remove specific hack while testing period 2013-12-21 15:48:25 +01:00
James Turner
b3dbfe21fe Fix some warnings from new Xcode.
finite is deprecated, use C99 isfinite as recommended.
2013-12-20 12:42:12 +00:00
Rebecca Palmer
4427ee7406 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
2013-12-20 12:39:23 +00:00
James Turner
24c1129140 Bugfix: avoid sky colour errors when vis < 1000m
(needs the accompanying Simgear change in SGSky)
2013-12-19 17:18:09 +00:00
James Turner
5cf8157a66 Security: more conservative dir permission masks.
Use 0755 instead of 077 everywhere we create a directory.
2013-12-19 14:53:39 +00:00
James Turner
52f2f5ff78 Bugfix: remove the (totally broken) skyblend option 2013-12-19 14:53:39 +00:00
Torsten Dreyer
d1cae3ab4d autopilot: add the forgotten RateLimitFilter 2013-12-19 09:40:24 +01:00
Thomas Geymayer
67be73fdde Expose SGPath to Nasal 2013-12-18 10:30:19 +01:00
Torsten Dreyer
1ffa09cc49 Add new filters from Alan Teeder 2013-12-17 17:28:16 +01:00
James Turner
12ea6824eb 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.
2013-12-17 13:56:26 +00:00
Rebecca Palmer
617e638242 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
2013-12-15 21:32:40 +00:00
Rebecca Palmer
8287ee9ae6 Remove manpage for gl-info, as it no longer exists
from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698308
2013-12-15 21:20:09 +00:00
Rebecca Palmer
3f82c5b114 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)
2013-12-15 21:20:02 +00:00
Rebecca Palmer
7f27a3f98d manpage: correct --airport-id to --airport, remove now-nonexistent options
from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556362
2013-12-15 21:19:56 +00:00
Rebecca Palmer
bf1fe65bc5 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/
2013-12-15 21:18:22 +00:00
James Turner
b3534ff8c2 Reset: use new copy-properties helper. 2013-12-15 20:46:34 +00:00
James Turner
f07042f7d7 Use binding-list fire helper. 2013-12-15 20:43:27 +00:00
James Turner
df3f842f8a Reset: Clear the pager queues, preserve properties. 2013-12-09 23:27:40 +00:00
James Turner
5d8fa03090 Shutdown: clear effects cleanly.
Avoids effects (and referenced properties / objects within) persisting
due to references in the effects cache, after globals are gone.
2013-12-09 23:27:40 +00:00
Thomas Geymayer
93dff17649 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.
2013-12-09 23:16:25 +01:00
Thomas Geymayer
13d94f240c Check return values if write and unlink. 2013-12-09 23:15:35 +01:00
Thomas Geymayer
5fb7b2e12c Canvas: Now only one global SystemAdapter is used... 2013-12-09 23:13:45 +01:00
James Turner
0dcfd361a4 Kill an obsolete static in the osgViewer wrapper. 2013-12-09 21:47:18 +00:00
James Turner
7719ad920d 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
2013-12-09 21:46:34 +00:00
ThorstenB
01b824929c Route manager support to read flightplans in GPX format 2013-12-08 19:36:16 +01:00
Thomas Geymayer
3a170e1a39 Scripting: clean up a bit and user more of cppbind. 2013-12-08 19:24:45 +01:00
Thomas Geymayer
cac6407a8e Add positioned.diff for fast difference calculations on positioned lists. 2013-12-08 19:24:45 +01:00
James Turner
0bad1258a3 Reset: clear the viewer scene.
On renderer shutdown, clear the viewer scene completely.
2013-12-07 15:06:39 +00:00
Thomas Geymayer
39c41eaab9 FGLinuxEventInput: check return value of write. 2013-12-07 13:48:04 +01:00
Thomas Geymayer
fcc6d3edc2 Expose SGPropertyNode::removeAllChildren() to Nasal. 2013-12-07 13:47:10 +01:00
James Turner
5a1a1781e2 Reset: ensure FGODGuage shutsdown cleanly.
- remove ODGuage instances during shutdown phase (don't wait until
deletion)
2013-12-06 18:45:45 +00:00
James Turner
bb0aee4c02 Renderer: get rid of static scene references. 2013-12-06 17:38:23 +00:00
James Turner
6763d232cd Reset: clear the osg object cache 2013-12-06 17:38:23 +00:00
janodesbois
71fa329f27 velocities/uBody got a capitale B forgot this in mp tree, maybe it would be better to male it it lower case? 2013-12-04 21:13:09 +01:00
James Turner
7ff9792b96 Reset: listener cleanup 2013-12-04 09:11:26 +00:00
James Turner
8cd71ff1ef Reset: clear effects cache 2013-12-04 09:09:47 +00:00
James Turner
9c11dfd545 Reset: free nasal-module-listeners on shutdown. 2013-12-03 21:38:45 +00:00
Gijs de Rooy
4dbcdbcceb Output route manager ETA in seconds 2013-12-03 22:37:53 +01:00
James Turner
3e1af8248a 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.
2013-12-01 21:48:03 +00:00
James Turner
8aba04c3a2 Reset: change FDM ownership
- make the FDM owned via a SGSharedPtr
- drop some property references explicitly.
2013-12-01 21:37:17 +00:00