Scott Giese
b0e157dd88
Bug fix to set a valid default value for the right edge.
...
Courtesy of report by Brendan Black.
2018-10-04 18:59:15 -05:00
James Turner
6589c71f62
Tweaks to HID local descriptors
2018-10-04 23:21:05 +01:00
James Turner
1c08ca0e2d
Launcher: don’t update already updating aircraft
2018-10-04 21:22:05 +01:00
James Turner
abbaf8f640
HID input: allow descriptors from XML
...
This allows ignoring the USB-supplied descriptor in favour of our
own, which might considerably better or less broken at least.
2018-10-04 17:43:36 +01:00
James Turner
6366dea197
HID event-input debugging
...
Adding more debugEvents-enabled log output to HDI input
2018-10-04 12:17:01 +01:00
James Turner
96cce67040
HID input: fix multi-device Nasal support
...
Ensure each laoded device gets a unique Nasal module name,
otherwise they combine with each other and Stuff Breaks(TM)
2018-10-04 12:17:01 +01:00
James Turner
1d20913b1f
Fix initial launcher screen state
...
This showed up as environment page controls being active under the
summary logo image. Thanks to Nikolai Verner Christensen for spotting
the bug.
2018-10-03 08:41:50 +01:00
James Turner
40c0710f2b
Change launcher pop-up to support scrolling
...
Use an internal window (instead of a real OS window) for popup choices,
and cap the maximum size. Use a scrollbar when the number of items is
too large, and adjust the position to fit in the window.
2018-10-02 14:19:14 +01:00
James Turner
aa6c4c758a
Mac: set CMake deployment target the right way
...
Necessary for building with the Mojavae 10.14 SDK. This also meant
bumping the min version to OS-X 10.9
2018-10-01 22:28:08 +01:00
James Turner
cce3ae0268
Launcher: tweak aircraft list key handling
2018-10-01 14:22:48 +01:00
James Turner
c8ed3f02fe
Close & delete telnet (props) channels on close
2018-10-01 13:52:01 +01:00
James Turner
9723f26f23
MirrorPropWebSocket: improve node recycling
...
Adjust logic for node recycling so common patterns observed with
remote canvas work correctly (remove + add of same nodes).
2018-09-30 10:16:31 +01:00
James Turner
d0017f3bec
Remove canvas: handle node removes
...
Especially on the path, handles removes of path coord/cmd data
2018-09-29 15:32:16 +01:00
James Turner
2d348bd641
Change CAVOK visibility to 9999.0 metres
...
This should trigger automatic computation by AW.
2018-09-29 12:47:29 +01:00
James Turner
a66f0243bf
Use GetUserPreferredUILangauges on Windows
...
This should accurately reflect the user's language preferences in the control
panel, unlike the previous method.
2018-09-28 12:09:24 +01:00
Scott Giese
994b752a27
Bug Fix #1999 missing "break"-s.
...
KLN89 case statements failing through.
Confirmed break is necessary to avoid text overlap.
Resolved.
2018-09-28 00:24:58 -05:00
Scott Giese
e093ac19bc
Bug Fix : #2013 .
...
TerraSync not download all tiles specified in some cases.
Contribution by Peter Duda.
2018-09-27 23:46:16 -05:00
James Turner
c15d65692a
Remote-canvas logging cleanups
2018-09-27 22:39:39 +01:00
James Turner
28629b65f2
Property mirror: handle request for missing nodes
2018-09-27 22:39:39 +01:00
James Turner
22bf5eb6e5
Launcher: tweak alignment of thumbnails
...
If the thumbnail is less than 172px wide, centre in the available
space. This ensures consistent alignment of the main content (name
and aircraft description)
2018-09-27 15:23:14 +01:00
Richard Harrison
54ba92afd8
Fix null pointer dereference during startup
...
(may happen at other times, but definitely happened to me on startup)
2018-09-25 16:53:06 +02:00
James Turner
8b25244d90
Performance: cache TCAS nodes on AI aircraft
...
Removes some remaining hot property lookups each frame
2018-09-24 15:34:20 +01:00
James Turner
421a5601c1
Launcher state naming fix (parked vs parking)
...
Ensure both ‘parked’ and ‘parking’ are handled by the launcher display
code and auto-state-selection logic.
2018-09-24 14:52:32 +01:00
James Turner
ca8b84dae0
Make translations detection more robust
...
Thanks to Scott Giese for the suggestion, check for a full valid
path inside the Translation setup, in case FGData exists but is not
populated.
2018-09-22 18:24:23 +01:00
James Turner
eb70f5edd4
Mac build fix for updated SDK
2018-09-22 17:23:50 +01:00
Torsten Dreyer
2140d23b04
new version: 2018.4.0
2018-09-21 17:19:31 +02:00
Torsten Dreyer
f037f81bb3
new version: 2018.3.1
2018-09-21 17:19:31 +02:00
James Turner
518d3cbd0f
Tweak launcher update timer to sleep the CPU
...
Fix the launcher keeping the main thread busy all the time (use a non-
zero timeout to ensure the dispatcher sleeps a bit)
2018-09-20 11:03:47 +01:00
James Turner
098c489ae0
Make —parking-id an alias for —parkpos
2018-09-20 10:26:48 +01:00
James Turner
639c8fd4b4
FGCanvas: warning fixes
2018-09-18 23:31:07 +01:00
James Turner
110aec6039
Tiny code cleanups while doing other changes
2018-09-18 17:34:23 +01:00
Richard Harrison
4eaeb594ab
NavDataCache: do not write to db in read-only mode
2018-09-15 18:06:23 +02:00
Bertrand Coconnier
3889af3170
Fixed compilation errors due to the synchronization of JSBSim
2018-09-15 17:00:27 +02:00
Bertrand Coconnier
6cc3d14032
Sync'ed JSBSim
...
- Fixed the Calibrated Air Speed (CAS) computations for supersonic velocities
- Fixed the Nlf (Normal load factor) sign
- Nlf can now be specified as an initial condition via the property ic/targetNlf
- Added blocking sockets to the input features
- Added a property to piston engines to get the AFR (Air to Fuel Ratio)
- Added conversion from m/s to ft/s
- Restored the initial conditions for engines running (-1 means all engines)
2018-09-15 16:45:42 +02:00
James Turner
ec0b515864
Whoops, fix a bad typo.
2018-09-15 10:57:02 +01:00
James Turner
72e1737aa6
Reset: wipe the Effect UniformCache
2018-09-13 23:52:52 +02:00
James Turner
47d33b5de3
Fix disabled appearance of ToggleSwitch
2018-09-12 12:04:38 +02:00
James Turner
43e3d7ef38
Electrical system: cache property nodes
...
Remove some hot spots in the electrical simulation, by caching
property nodes in two places.
2018-09-10 10:45:58 +01:00
James Turner
14a1390a68
Crash fix: warn doing fallback for heliport runways
...
Due to an apt.dat bug, EGEL (Coll) is actually a heliport (Eddystone
lighthouse) with zero runways. Guard against this case to avoid a
crash.
2018-09-10 10:44:49 +01:00
James Turner
ef98b667b4
AI: cache radar properties as nodes
...
When many AI objects, the cost of looking up the radar properties
for each object, each frame, is significant.
2018-09-09 15:24:52 +01:00
James Turner
ec488bf204
Launcher: fix missing translation annotations
...
Thanks to Sidi Liang for catching these.
2018-09-09 14:52:54 +01:00
James Turner
9549ac8027
Build fix: missing headers from project
2018-09-09 13:43:06 +01:00
James Turner
72239c9a52
Code cleanups while checking reposition performance
...
Some C++11 fixes and give FDMShell, Reply a subsystem-name
2018-09-09 13:42:51 +01:00
James Turner
f39b81c872
Launcher: update Advanced-weather handling
...
Use the information from Environment/environment.xml to init the
local-weather control properties.
2018-09-07 15:56:10 +01:00
James Turner
0747c2b373
Fix for a flight-plan / delegate crash
...
Catch a specific issue (-1 index not permitted for fp.current in Nasal),
but also catch
2018-09-07 15:17:55 +01:00
James Turner
e7f2c1439c
Fix some integer signed-ness warnings
2018-09-06 17:12:12 +02:00
James Turner
35c5be004f
Reduce CPU hit in FGTaxiSegment::unblock
...
size() is O(N), empty() is constant time.
2018-09-02 19:56:35 +01:00
James Turner
95be7220a2
Merge /u/martymac/flightgear/ branch clang7-FreeBSD into next
...
https://sourceforge.net/p/flightgear/flightgear/merge-requests/141/
2018-09-02 18:20:36 +00:00
Ganael Laplanche
63d6f0218b
Use nullptr instead of NULL
2018-09-02 14:17:26 +02:00
Richard Harrison
7795ba60ff
Added time statistics for the simulation host.
...
These are the time statistics that are the simulation code, which is basically everything except the rendering.
For a while I've wondered how efficient each of my JSBSim models are, and how much of our valuable frame time is spent on simulation modules.
Ideally the simulation modules should be taking 2-3ms, anything longer indicates a need to consider optimising things more.
These are the new properties that are added by this change:
/sim/rendering/sim-frame-count Number of frames since start (or last time
/sim/rendering/sim-frame-count-reset Reset statistics. Can be useful to reset monitoring after a slow startup
/sim/rendering/sim-host-avg-ms Average amount of time spent in the "simulation" rather than rendering. This attempts to take into consideration the
frame rate throttling but when throttled this figure is less reliable.
/sim/rendering/sim-host-total-ms Total milliseconds since reset
/sim/time/frame-wait-ms Current frame wait to meet throttling rate.
2018-09-02 13:47:55 +02:00