James Turner
aa20e0acd8
Work on new download-dir option
...
- simplify management of a single, user-facing
location for large downloaded data.
2015-04-10 15:01:54 +01:00
James Turner
e0274af493
Percentage feedback during nav-cache build.
...
- also used by the GUI launcher for the same.
2015-03-19 12:01:38 -05:00
Rebecca N. Palmer
16784d590a
Document that property write-protection is not a security measure
...
(Nasal can remove it)
2015-03-13 18:11:29 +00:00
James Turner
11c2623dec
Start wiring package manager into the launcher.
2015-03-11 17:09:59 +00:00
James Turner
c3543f8fdd
GUI ‘restore defaults’ support.
...
- Hold ‘alt’ on launch to restore defaults, including launcher prefs.
2015-03-08 00:42:39 +00:00
James Turner
a466dbce73
Very crude work on GUI base package selection.
...
- feedback on wording greatly appreciated.
- needed to make nightly builds usable without bundled data.
2015-03-08 00:42:05 +00:00
James Turner
ee61a07636
Restore aircraft-manager location back to FG_HOME
2015-01-10 14:18:32 +00:00
James Turner
78e8f53312
In-app launcher for Mac, based on Qt5.
...
The old Mac launcher doesn’t work on Yosemite, add a tiny
Qt-based launcher inside the main process (no need to fork /
exec) which runs before the OSG window is created.
Will be merged for 3.4, hopefully with no impact on other
platforms.
2015-01-06 19:13:30 +00:00
James Turner
729392b1f3
Remove obsolete #define
2014-11-11 22:25:55 +00:00
Thomas Geymayer
0b9e72eb87
Nasal: move IOrules check to better place and exit on failure.
2014-09-19 18:22:47 +02:00
Thomas Geymayer
0f14a2d73b
subsystemFactor: name fixing (use same as in fg_init.cxx) and cleanup.
2014-07-12 01:17:35 +02:00
James Turner
7e8d713b28
Pkg: initial support for Variants
...
- aircraft init code can deal with a variant ID
- Nasal API can return a hash with variant IDs and names
2014-06-15 20:10:24 +02:00
Thomas Geymayer
9604142d09
Fix crash (use iterator of same container for loop)
2014-06-12 16:38:21 +02:00
James Turner
63427fc589
Pkg: Fix loading of non-installed aircraft.
...
Fallback to the normal code path when a packaged aircraft is
found, but not installed.
2014-06-12 13:06:01 +01:00
James Turner
32f57d0dc1
Aircraft switching command and formal support.
...
- /sim/aircraft can be set to package ID, including qualified
package ID. If not matching package is found, falls back to
traditional search of fg-aircraft for -set.xml files
2014-06-12 08:17:05 +01:00
James Turner
d1fd5756f6
Initial package-system integration.
...
- disabled by default
- incomplete, adding so Thomas can see the API
2014-05-31 18:04:56 +01:00
Torsten Dreyer
a5c39e3009
Final log-class cleanup (httpd comes in another commit)
...
yes, I will use grep next time :-/
2014-05-20 23:12:34 +02:00
James Turner
19528fab8c
Fix duplicated FGIO channels on reset.
...
Thanks to Nicholas Scheel for spotting this.
2014-03-26 19:24:00 +00:00
James Turner
487546c848
Fix some leaks on reset
...
- tilecache 'clear_cache' is poorly named, ensure the destructor
really deletes all outstanding entries.
2014-03-13 18:19:13 +00:00
James Turner
afe02b9b36
Reset: tweak property PRESERVE
...
- ensure options are re-processed before restoring PRESERVEd
properties, so that sessions changes survive a reset.
2014-03-11 22:43:25 +00:00
James Turner
1edffd1d10
Reset: fix OSG stats handling
2014-03-11 16:45:47 +00:00
James Turner
f04d5f8758
Reset: work with threaded OSG modes
2014-03-11 16:45:31 +00:00
James Turner
cc607ae7e4
Save/restore initial state removed.
2014-03-10 17:29:28 +00:00
James Turner
9489009570
Fix fg-aircraft, fg-scenery props after reset.
...
- restore fg-aircraft properties, and PRESERVE fg-scenery ones,
across reset.
2014-03-10 17:24:42 +00:00
James Turner
03aa642155
Old reset code-path is removed.
2014-03-10 17:24:37 +00:00
James Turner
5e6c2b8e82
Reset the Autopilot on reposition.
...
- previously we restored AP state to initial; let's
actually re-init it after re-position.
2014-03-10 12:02:10 +00:00
James Turner
a8fe586e48
Revert wiping of /fdm on reposition.
...
This is too destructive for many established things, so revert it.
Instead, make the FDM shell save /fdm state on postinit(), and
restore it on re-init (which reposition invokes).
2014-03-10 12:00:51 +00:00
James Turner
86ba2a1628
Throw the reset switch.
...
- fix up CanvasMgr so canvas works after new reset.
2014-03-07 12:40:14 +00:00
James Turner
5ce2a067ca
Fix JSBsim trimming on reposition.
...
- remove the entire /fdm tree on reposition
- force the initial NED wind values to 0.0 in JSBsim,
pending advice from people who know better.
2014-03-06 22:33:42 +00:00
Torsten Dreyer
63e9cbed40
Initial commit for mongoose httpd
2014-03-06 13:19:15 +01:00
Thomas Geymayer
88b7d4f530
Update for SGPropertyNode changes.
2014-03-06 00:41:41 +01:00
James Turner
6493975913
Remove reference to 'old ATIS' from reposition.
2014-03-05 15:16:07 +00:00
Torsten Dreyer
dd6cccdda1
A new comm radio and atis implementation
2014-02-28 11:45:49 +01:00
James Turner
bd8e43c007
Initial work on 'reposition' command
...
- use old-style reset as the basis for a lightweight 'reposition' command. This does not restore state, or reset
time management, but does reset the FDM and re-finalize position.
2014-02-24 19:43:21 +00:00
James Turner
061154d7a6
Reset, fix Nasal timers added on shutdown.
2014-01-13 20:13:34 +00:00
James Turner
4d0eeb8184
Reset work, fix time-slew on OSG event handling.
2014-01-13 20:13:34 +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
b3534ff8c2
Reset: use new copy-properties helper.
2013-12-15 20:46:34 +00:00
James Turner
df3f842f8a
Reset: Clear the pager queues, preserve properties.
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
6763d232cd
Reset: clear the osg object cache
2013-12-06 17:38:23 +00:00
James Turner
8cd71ff1ef
Reset: clear effects cache
2013-12-04 09:09:47 +00:00
James Turner
25bf3793bd
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)
2013-11-25 23:53:58 +00:00
James Turner
2015016466
Break config init / aircraft loading apart.
...
Allows aircraft loading to proceed during reset without original
values over-writing the updated ones.
2013-11-24 15:10:00 +00:00
James Turner
af6095c5d1
Reset: do general init on reset path
2013-11-22 22:52:33 +00:00
James Turner
1d8b080782
Reset: delete mat-lib, re-create on reset
2013-11-22 22:52:29 +00:00
James Turner
875227057c
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.
2013-11-19 17:38:51 +00:00
James Turner
fe357ba2a9
Refactor aircraft-dir visiting.
...
Cap maximum depth to avoid bug 865
2013-11-16 14:24:37 +00:00