James Turner
bca6e9e890
Break upwards dependency on Traffic in the AI code
...
AIManager had unfortunate code to pass some state to the traffic-manager; this is no longer required since traffic schedules hold onto their AI-Aircraft directly as needed.
2012-11-21 14:49:34 +00:00
James Turner
77ca03da4d
AIManager cleanups, no functionality change.
2012-11-21 14:03:17 +00:00
Thomas Geymayer
258d387d15
Allow setting emission for each canvas placement
2012-11-21 13:07:57 +01:00
James Turner
563ea69d34
Missing std:: namespace in a header.
2012-11-20 17:09:09 +00:00
James Turner
51a1c86f00
Quiet some log output.
2012-11-20 17:08:56 +00:00
James Turner
9632bfcfd6
View-manager: update globals automatically.
...
Make the global view-manager pointer be controlled by the instance.
2012-11-20 13:33:20 +00:00
James Turner
04598859e3
Make PUI menu-bar reinit safe.
...
Was only cleaning up the PUI menubar, not old bindings / names. This led to duplicate bindings, each time the GUI was reset, which can happen for various reasons.
2012-11-20 13:32:10 +00:00
James Turner
d886f2a5f8
Make EnvironmentMgr shutdown its subsystems.
...
With this change, Environment subsystem can be removed and re-added at runtime using the factory commands.
2012-11-20 12:31:07 +00:00
James Turner
cabb2a419f
Allow a default name when adding subsystems.
2012-11-19 23:22:45 +00:00
James Turner
93237f1b37
Avoid a dependency on the environment-manager.
...
Change the ASI Mach computation (written by me) to use properties, instead of depending directly on the environment-manager.
2012-11-19 23:17:03 +00:00
James Turner
868b7b40dc
Many more subsystems via the factory.
...
Not all of these are tested to actually be safe to add / remove at runtime, but an increasing number are.
2012-11-19 23:03:08 +00:00
James Turner
f1a7950202
XMLHttpRequest: only set failure signal on failure
...
Use failure as a real signal property - only set it / fire listeners on a real failure condition.
2012-11-19 23:02:35 +00:00
James Turner
18da917ddd
Bracket threshold.xml loading in a DB transaction.
...
Should mitigate (but not completely fix, yet) bad map performance when initially zooming out, or panning when zoomed out.
2012-11-19 22:24:10 +00:00
Thomas Geymayer
82884ab3c6
Improve finding gperftools and disable profiling by default (even with gperftools installed)
2012-11-19 13:11:03 +01:00
James Turner
379e7a2fd5
Make HTTPClient a proper subsystem.
...
Avoid some statics, and incidentally make the proxy host/port settings dynamic (re-init the subsystem to update proxy settings, woo).
2012-11-19 11:30:12 +00:00
ThorstenB
be3f94f63a
Remove static subsystem dependencies
...
preventing us from recreating subsystems on reset/reinit.
2012-11-18 17:29:29 +01:00
Thomas Geymayer
d51499382d
Clean up CanvasWidget and more work on Canvas/Nasal bindings
2012-11-18 16:46:03 +01:00
ThorstenB
58380b286e
Fixed some uninitialized member vars and a mem leak.
2012-11-18 16:39:22 +01:00
ThorstenB
a784443a24
Remove static property dependencies
...
preventing us from wiping properties on reset/reinit/subsystem recreate.
(more work required for "native_gui" and "ATC-Outputs" protocols)
2012-11-18 16:35:54 +01:00
ThorstenB
1f1dd1fa16
viewmgr: fix mixed up white-spaces/indentation
...
(content otherwise unchanged)
2012-11-18 13:23:10 +01:00
ThorstenB
d761da248f
viewmgr: stash properties for better performance
2012-11-18 13:17:07 +01:00
ThorstenB
01617861ce
toggle fullscreen: also adapt GUI plane when resizing
2012-11-18 00:00:15 +01:00
ThorstenB
b577ec70fc
Add command to toggle fullscreen mode.
2012-11-17 23:07:00 +01:00
ThorstenB
4e6f0e18fd
YASim airborne start-up
...
Gear should be up when starting in-air.
2012-11-17 20:05:16 +01:00
ThorstenB
adc95a4b55
#600 , for Curt... ;-) allow speed-up value to use fractions
...
"speed-up" can now also be used for slow-motion (i.e. 0.5 / 0.25 / ...)
or fractional speeds (3.141...). This was already working for instruments
(for replay) before, now it's also considered by FDM simulation.
2012-11-17 20:01:19 +01:00
James Turner
8a954f8338
Support request body on xmlhttprequest.
...
Allow XML property data to be submitted with a request; changes the request method from GET to POST. Supply nodes via the 'body' argument to the command.
2012-11-17 18:10:15 +00:00
ThorstenB
bf0dbb22d0
#931 : some VOR+ILS stations not working on 32bit machines
...
When casting to int, always remember the ugly effects of floating-point
(im)precisions ;-).
2012-11-16 22:46:41 +01:00
James Turner
91c6e3433d
Further work on bug 905.
...
Tolerate Octree leaf children which have been moved outside their leaf's BBox. This is necessary since lazy-loading of ILS and threshold files can cause re-locations even during child traversal, where updating the hierarchy is very complex. Instead, simply tolerate this case, and rely on the real position data (which is correct).
2012-11-16 16:43:54 +00:00
Thomas Geymayer
48c1b51875
Add new property indicating whether profiler is available
2012-11-16 12:59:44 +01:00
Thomas Geymayer
1a0fcd5f56
NasalCanvas: Clean up and expose Element node ghost
2012-11-16 12:34:38 +01:00
ThorstenB
9d067bc890
#918 : fix jsbsim in-air repositioning issue
2012-11-15 20:20:40 +01:00
ThorstenB
791389cb98
#895 : AI traffic not working when system is offline but real-wx is enabled
...
Add a timeout when waiting for valid METAR.
2012-11-15 20:20:40 +01:00
ThorstenB
7fa2aecc22
fgprotocol: delete io channel on shutdown
2012-11-15 20:20:40 +01:00
ThorstenB
e8fc85ef7e
jpg-httpd: Add error messages when unable to open port etc.
...
Also move private code to cxx file.
2012-11-15 20:20:40 +01:00
ThorstenB
58158bf51f
jpg-httpd: consistent indentation and white-spaces
...
(no content change)
2012-11-15 20:20:40 +01:00
Christian Schmitt
dd6c220fd7
CMAKE: find plib module: correct the linking order of the pu component,
...
which has to be before fnt. This fixes the fgpanel linking on some distros.
2012-11-15 15:48:34 +01:00
Thomas Geymayer
779a9ae415
Really make profiling commands optional
2012-11-15 13:56:31 +01:00
Thomas Geymayer
0761af344d
Visual Studio bug workaround
2012-11-15 12:43:35 +01:00
Thomas Geymayer
859e92a8ed
Experiment with exposing more canvas methods
2012-11-15 12:43:34 +01:00
Thomas Geymayer
892806cb3f
More cleanup an move of helper classes to simgear
2012-11-15 12:43:34 +01:00
Thomas Geymayer
724d54b3a3
Clean up and some more testing
2012-11-15 12:43:34 +01:00
Thomas Geymayer
863cd6a290
Canvas/Nasal and Nasal/C++ binding experiments
2012-11-15 12:43:34 +01:00
Thomas Geymayer
5610c9551b
Add missing file...
2012-11-15 12:43:34 +01:00
Thomas Geymayer
fe1222a90d
Optional profiling commands using gperftools
2012-11-15 11:55:37 +01:00
Frederic Bouvier
b88e941ca2
MSVC compile fix
2012-11-15 08:42:10 +01:00
James Turner
78d97fa468
Support for creating default SID/approach.
...
Durk reminded me of this - when we're missing procedures data (the common case), synthesise a plausible (but possibly dangerously unrealistic) departure and approach. Will work fine for airports in gentle terrain, and likely kill you at challenging airports. You have been warned.
2012-11-12 22:30:28 +01:00
ThorstenB
25138930e3
replay system: protect from recording multiple records for identical time
...
And avoid div by zero when dt==0 for recorded data.
2012-11-11 17:36:10 +01:00
ThorstenB
1d99401c04
Remove osg dependency for isNaN only.
2012-11-11 17:22:42 +01:00
Mathias Froehlich
354a1b3a0b
hla: Use hla derived classes part 2
2012-11-11 16:30:55 +01:00
Mathias Froehlich
518cd00094
hla: Use HLADataElementIndices instead IndexPathPairs.
2012-11-11 16:30:49 +01:00