1
0
Fork 0
Commit graph

11711 commits

Author SHA1 Message Date
James Turner
b4b0d635bd Reset: AIbase, drop references 2013-11-16 12:10:53 +00:00
James Turner
780393e2fe Release property refs on shutdown. 2013-11-16 11:56:42 +00:00
James Turner
fecb475145 Refactor Cocoa helpers.
Change away from using deprecated FSFindFolder.
2013-11-16 10:58:17 +00:00
James Turner
ea822a99e1 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.
2013-11-16 09:41:33 +00:00
James Turner
2bff8d2220 Fix Linux build
Linux needs explicit includes for open() and flags.
2013-11-16 09:31:18 +00:00
James Turner
0cda3cbfb2 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.
2013-11-15 21:04:15 +00:00
James Turner
13d5fd4c25 More tweaks for Linux.
(Needs explicit include of stdio, and stdarg in the header)
2013-11-14 23:32:02 +00:00
James Turner
ef55d175dd Linux needs stdarg.h for va_args 2013-11-14 23:14:51 +00:00
James Turner
1f7fdc3e07 Kill some archaic options. 2013-11-14 23:14:46 +00:00
bcoconni
139af0026f Synchronized FG with the removal of 'using std::*' in simgear's easyxml 2013-11-14 22:07:50 +00:00
James Turner
1db9d25f56 Translation helpers, add global functions.
These are designed for compact access to translations, including a
positional printf.
2013-11-14 22:03:00 +00:00
James Turner
136cd6ac51 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.
2013-11-14 22:02:29 +00:00
Clément de l'Hamaide
7e90c8aa2b Force 32 bits depth on .ico - only for Windows 2013-11-14 21:24:56 +01:00
James Turner
e25aa4f004 Fix some static property references.
(These cause problems when replacing the property tree during reset)
2013-11-14 16:37:46 +00:00
Clément de l'Hamaide
1c49890bec Icons update 2013-11-13 22:49:07 +01:00
James Turner
44ed1f293d Fix standalone terrasync build 2013-11-13 00:16:28 +00:00
James Turner
4a3b8c5765 Reset: changes for SGSubsystem ownership.
Keep in sync with updated ownership model in subsystem groups.
2013-11-12 23:36:18 +00:00
James Turner
44246d7708 Reset: adjust for tweaked TerraSync API 2013-11-12 23:10:19 +00:00
James Turner
af40bcb60e Reset: explicit close-window function.
Allow orderly shutdown of OSG before cxa_finalize
2013-11-12 22:57:13 +00:00
James Turner
58fa30b24d Reset: uninstall deletion-manager 2013-11-12 22:55:50 +00:00
James Turner
72b85b28da Reset: route-manager guard against no plan. 2013-11-12 22:55:36 +00:00
James Turner
e008f610d1 Reset: ATIS shutdown fix 2013-11-12 22:51:23 +00:00
James Turner
41eaa58c13 Reset: panel-node cleans up listener.
Also get rid of the global FGPanelNode pointer.
2013-11-12 22:51:15 +00:00
James Turner
2322fca9c9 Reset: guard against NULL HUD / lighting 2013-11-12 22:51:10 +00:00
James Turner
6eb4e833ae Reset: sound manager can be shutdown cleanly 2013-11-12 22:50:18 +00:00
James Turner
9a77efacd9 Reset: drop FGLight prop refs on unbind() 2013-11-12 22:49:48 +00:00
James Turner
0751556aab Reset: remove commands 2013-11-12 22:47:46 +00:00
James Turner
069a098909 Reset: use simple properties for TimeManager 2013-11-12 22:47:45 +00:00
James Turner
881df711ba Reset: Nasal can be shutdown.
Also guard against duplicate init of cppbind wrapped classes.
2013-11-12 22:47:41 +00:00
Clément de l'Hamaide
95679e6d76 Fix gen_phonebook.pl for airport at negative altitude 2013-11-12 22:41:08 +01:00
Clément de l'Hamaide
1b6ec7d149 Upgrade fgcom.conf with apt.dat 2013-10 2013-11-12 22:40:19 +01:00
Clément de l'Hamaide
1ac8cef11a Upgrade positions.txt with apt.dat 2013-10 2013-11-12 22:33:08 +01:00
Clement de l'Hamaide
42dcb455ff Fix Windows bug: enable/disable FGCom builtin 2013-11-11 21:39:40 +01:00
Thomas Geymayer
accdf97785 Allow disabling embedded nasal (load/unload scripts). 2013-11-10 23:32:47 +01:00
James Turner
af6131b556 Bug 1246, Nasal repeating timers fire immediately.
Initial delay is passed separately to interval in the
API, oops.
2013-11-09 08:01:57 -08:00
James Turner
23fa13c76b Bug 1023, crash on replay.
Fix by Jeff Biggs, commit 7d80b30d28baccf80958d9db488364a9a5c3884b from osgearth branch.
2013-11-09 07:13:00 -08:00
Eric van den Berg
49131b5a7a pitot system stalls at high angles, using /system/pitot[x]/stall-deg 2013-11-08 20:18:27 +01:00
Clément de l'Hamaide
b045dcf0f1 FGCom-sa: force console output 2013-11-07 22:49:42 +01:00
James Turner
8622661237 Further tuning of arg->num conversion. 2013-11-07 06:29:58 -08:00
Thomas Geymayer
d6ba7b0040 gedit syntaxhighlight/snippet support for Nasal.
Files by Philosopher: http://forum.flightgear.org/viewtopic.php\?f\=30\&t\=17265\#p164133
2013-11-07 14:30:03 +01:00
James Turner
0d740bcfae Simpler Nasal for leg constraints.
Thanks to Philosopher for the suggestion.
2013-11-06 16:58:09 -08:00
James Turner
f0011bc759 Nasal: accept strings-containing-ints as
arguments to leg altitude/speed constraints.
2013-11-06 15:50:13 -08:00
Torsten Dreyer
0b17c68f59 Mode change for icons (not executable) 2013-11-05 22:37:57 +01:00
Torsten Dreyer
6a09f01ca9 mag-compass: add deviation table and pitch property 2013-11-05 22:26:50 +01:00
Clément de l'Hamaide
79e93918e0 Icons modifications
- Add some fgcom-*.png for desktop shortcut
- Remove duplicate .gif files
- Change FGCom icon
2013-11-03 21:29:30 +01:00
Thomas Geymayer
4c9ab24b66 Keep ref_ptr in FGNasalModelData (should fix #1234) 2013-11-01 20:52:55 +01:00
janodesbois
636b6ca767 pitot adapted to /velocities/mach being the mach norm 2013-10-31 22:29:47 +01:00
janodesbois
d83bc90ca0 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 05fa7130fc.
2013-10-31 22:27:29 +01:00
janodesbois
05fa7130fc pitot tube using velocities/mach as mach norm, not the u componant 2013-10-31 20:28:12 +01:00
janodesbois
78301e95b4 make YASim report /velocities/mach as the speed's norm 2013-10-31 20:25:08 +01:00