Scott Giese
cbe13026c5
REVIEW: Memory Leak - wxRadarBg::init()
...
4,096 bytes in 1 blocks are indirectly lost
2020-08-22 21:46:40 -05:00
Scott Giese
6c14eaa6e8
REVIEW: Memory Leak - FGLinuxEventInput::postinit()
...
4,995 (40 direct, 4,955 indirect) bytes in 1 blocks are definitely lost
2020-08-22 21:26:03 -05:00
Scott Giese
8e9e16bac6
REVIEW: Memory Leak - Branch::childAtIndex
...
9,152 bytes in 52 blocks are still reachable
2020-08-22 18:01:15 -05:00
Scott Giese
f21eb3a484
REVIEW: Memory Leak - Options ctor
...
15,768 bytes in 219 blocks are still reachable
2020-08-22 17:23:55 -05:00
Scott Giese
14b28d4f72
REVIEW: Memory Leak - FGLinuxEventInput::posinit()
...
55,004 (40 direct, 54,964 indirect) bytes in 1 blocks are definitely lost
2020-08-22 17:05:35 -05:00
Scott Giese
91f8b4dbef
REVIEW: Memory Leak - ClipboardX11 ctor
...
55,397 (104 direct, 55,293 indirect) bytes in 1 blocks are definitely lost
2020-08-22 17:00:24 -05:00
Scott Giese
9d4a940bc0
REVIEW: Memory Leak - wxRadarBg::init()
...
277,296 (16 direct, 277,280 indirect) bytes in 1 blocks are definitely lost
2020-08-22 16:53:10 -05:00
James Turner
94ff2f8ee4
Load APT1000 comm frequencies correctly.
...
See discussion in:
https://sourceforge.net/p/flightgear/codetickets/2336/
2020-08-19 11:48:50 +01:00
James Turner
5b3cdb49c5
Sentry: add breadcrumb on scenery reload
2020-08-19 11:47:34 +01:00
Automatic Release Builder
bbce95b5ea
Updates for sentry.io 0.4.0 API
2020-08-18 16:51:27 +01:00
Automatic Release Builder
439c5bf4f4
Adjust how we enable/disable Sentry.io
...
This allows for crash-reporting in the launcher,
but still disabling via default.xml or the command line.
2020-08-18 16:51:21 +01:00
Edward d'Auvergne
04ee8c34a4
TestSuite: Execution of multiple tests or suites using comma separated lists.
...
This enables options such as '-u AeroElementTests,YASimAtmosphereTests'. It
should help tracking down bugs whereby a test failure or error is triggered
solely due to a previous test.
2020-08-17 20:14:32 +02:00
James Turner
a297c89144
Flightplans: add clearAll, rename clear -> clearLegs
...
Improve naming of clear() methods, and expose the new ones to Nasal.
this will allow RouteManager dialog ‘clear’ button to clear all, soon.
See ticket:
https://sourceforge.net/p/flightgear/codetickets/2064/
2020-08-17 16:11:10 +01:00
James Turner
06a14b4b27
Fix a use-after-free ASan spotted.
2020-08-17 16:05:20 +01:00
James Turner
09067eecda
Protocols: additional Hz rate validation
...
Patch by Huntley Palmer, to warn when passing Hz=0 for the protocol
args, which does not work so well.
2020-08-17 12:15:40 +01:00
James Turner
d7504d8f65
Enable ASan for Clang
2020-08-17 10:21:26 +01:00
James Turner
86f6b94300
Use new thread-safe particles manager.
...
Requires corresponding SG commit
2020-08-17 10:00:42 +01:00
James Turner
2295e82a0f
Fix a use-after-free found by ASan.
2020-08-17 10:00:42 +01:00
Stuart Buchanan
51173f32ff
Additional AI Aircraft properties for animation
...
Add a number of properties set by both AI Traffic and Swift aircraft:
gear/gear[0..5]/position-norm
surface-positions/flap-pos-norm
surface-positions/spoiler-pos-norm
surface-positions/speedbrake-pos-norm
controls/lighting/beacon
controls/lighting/cabin-lights
controls/lighting/landing-lights
controls/lighting/nav-lights
controls/lighting/strobe
controls/lighting/taxi-lights
Also improve take-off behaviour
2020-08-16 14:49:33 +01:00
James Turner
06e6883396
Call new simgear clearSharedTreeGeometry
...
Should remove the Final Effect (TM) and fix one source of memory
corruption on reset.
2020-08-14 16:47:02 +01:00
James Turner
095be63be4
Reset: Add some missing prop clears on unbind
2020-08-12 16:38:10 +01:00
James Turner
977bfb06bf
Reset: ensure mobile tacan drop its AI references
...
Add a slightly ugly hook, to force mobile nav records to drop their
refs into the property tree on reset.
2020-08-12 16:37:52 +01:00
James Turner
51bb8ed5ce
GUI: clean PUI junk on GUI shutdown
2020-08-12 16:36:22 +01:00
James Turner
5d2bb87601
On shutdown, the renderer might already be gone.
...
Check for this when trying to remove the event handler.
2020-08-12 15:33:20 +01:00
James Turner
16ae171333
Fix a read of freed-data when closing props channels
...
Ensure we close all channels, before the NetPoller is destroyed, to
avoid a use-after-free.
2020-08-12 15:32:52 +01:00
James Turner
a05e5075b2
FGCom: explicit init some member variables
...
Fix various places Valgrind identified as read-of-un-inited. Also
fix use of frequencies are integers: always use a double type explicitly,
which will make MSVC happier.
2020-08-12 15:32:02 +01:00
James Turner
2084e11d60
Trying to fix read of uninitialised memory on Linux
...
This should ‘already work’, but seeing if this makes any difference.
2020-08-12 15:30:33 +01:00
James Turner
d6a0dadf45
Windows build fixes
...
std::for_each needs <algorithm>
2020-08-11 19:20:32 +01:00
James Turner
56089b9dd9
Fix clean up of the PUI event handler on reset
2020-08-11 18:44:41 +01:00
James Turner
c913b752fc
Improve reset main-loop interaction.
...
Actually remove our main-loop properties, and clear them from the
EventHandler, so we don’t report them as leaked properties.
2020-08-11 18:44:29 +01:00
James Turner
3b5721d77e
Fix leaking of dynamics/AI traffic
...
Use a weak-ref for ParkingAssignment to refer to its owning dynamics,
to avoid a circular dependency.
2020-08-11 18:43:24 +01:00
James Turner
fa76d5b158
Fix errors with missing runways at KORD
...
This likely relates to stale runway preferences data.
2020-08-11 18:43:20 +01:00
James Turner
21629402ce
ATCManagers: Use modern subsystem retrieval
2020-08-11 18:43:14 +01:00
James Turner
250669f75a
Fix circular ownership in FGFX
...
FGFX isA SGSampleGroup, but owns some SGXmlSounds, which also take an
owning ref to their sample group. Clear out the XMLSounds on unbind(),
to break the circular reference.
2020-08-11 14:06:15 +01:00
James Turner
f8fcc8ff5d
Default (XML) electrical system: fix leaks
...
Ensure shutdown of the electrical system actually cleans up components.
Fixes some leaks and dangling properties on reset.
2020-08-11 14:05:10 +01:00
James Turner
b4df97beb6
Fix a crash with clicks on reset
2020-08-11 14:03:55 +01:00
James Turner
fff2fa1718
Raw-pointer -> smarter pointer in TileMgr
...
Not fixing any leaks, just making ownership more explicit.
2020-08-11 11:44:29 +01:00
James Turner
e2e5223784
Fix leak of FGTerrain on shutdown
...
This fixes us leaking all STG objects on shutdown, due to an errant
raw pointer in the scenery layer.
2020-08-11 11:16:30 +01:00
Hans Kunkell
4743ede3b3
generates io channel names and adds to property tree
2020-08-10 10:49:09 +01:00
Hans Kunkell
2992e1b100
implements reinit of IO channels
2020-08-10 10:27:51 +01:00
Scott Giese
04a5c37a55
Memory Leak - Fixed
...
60,200,752 (59,468,656 direct, 732,096 indirect) bytes in 285,907 blocks are definitely lost in loss record 15,499 of 15,501
2020-08-07 12:28:15 -05:00
James Turner
7eb52fa081
Add another timer test
...
Trying to trace down https://sourceforge.net/p/flightgear/codetickets/2257/
2020-08-07 11:39:07 +01:00
Richard Harrison
ab1ecb0a31
Directional point light (triangle) changes
...
Ensure that there are listeners on the properties as the scene features needs to be kept up to date with the properties.
2020-08-07 12:05:57 +02:00
Scott Giese
75e28368ea
Memory Leak: 57 MB
...
60,200,752 (59,468,656 direct, 732,096 indirect) bytes in 285,907 blocks are definitely lost in loss record 15,499 of 15,501
2020-08-06 22:01:15 -05:00
James Turner
b04a0d74f6
Use new-style sub-system lookup
2020-08-05 15:15:17 +01:00
Thomas LESNE
31f434d3ad
Migrate FGFSDemo.py, FlightGear.py, demo.py and nasal_api_doc.py to Python 3
...
Also apply minor changes to FGFSDemo.py and demo.py: add python3
shebang, make the scripts executable, improve an error message.
This closes ticket #224 :
<https://sourceforge.net/p/flightgear/flightgear/merge-requests/224/ >.
2020-08-05 14:01:57 +02:00
Thomas LESNE
8e3274a7c2
FGFSDemo.py: update properties to match the ones available in 2020.x
...
New properties available at least with the c172p.
2020-08-05 12:45:59 +02:00
James Turner
379748fc6b
Remove obsolete terraSync code
2020-08-03 17:57:59 +01:00
James Turner
f40c6187fb
Launcher: omit some setup for in-sim mode
...
Unfortunately this doesn’t fix the weirdness reported in:
https://sourceforge.net/p/flightgear/codetickets/2180/
.. but will keep trying.
2020-07-30 12:30:23 +01:00
James Turner
ebdf34e81a
Launcher add-ons: tweak display of missing version
...
Show missing min/max FG version as ‘-‘ to avoid a translation headache.
Thanks to Slawek Mikula for the suggestion.
2020-07-30 12:29:06 +01:00