ACARS: Add Web API support. Add additional reporting to Aircraft feature. Add Iridium support.
Aircraft feature: Add Web API support. Add additional fields and data. Add coverage map. Support feeding. Archive messages.
SELCAL: Report calls to Aircraft feature.
Map: Update Cesium. Add flyby mode. Add ND, EFIS, RMP, DCDU. Add Boeing styling. Fix z-ordering on 2D map. Support sounds on 3D map. Save/restore splitter state. Hide quota using Cesium options when API not set. Link aircraft with Aircraft feature.
Initialize the previously uninitialized m_rgbColor member to black to eliminate
the cppcheck UNINIT_CTOR warning. This ensures the map color starts in a defined
state and avoids undefined behavior from reading an uninitialized value.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
MapSettings owns the MapItemSettings objects stored in m_itemSettings, but
the destructor previously did not release them. Enabling the cleanup also
exposed that MapSettings was implicitly shallow-copying these raw pointers,
allowing multiple MapSettings instances to reference the same
MapItemSettings objects.
Add explicit copy construction and assignment so each MapSettings instance
gets its own MapItemSettings objects. Serialize and deserialize the settings
to perform the deep copy while preserving the existing rollup state.
When deserializing item settings into an existing MapSettings instance,
update existing MapItemSettings objects in place instead of replacing their
pointers. MapItem objects retain pointers to these settings, so preserving
pointer identity prevents those references from becoming dangling.
Release all MapItemSettings objects when MapSettings is destroyed.
This fixes the AddressSanitizer leak from MapSettings while avoiding the
use-after-free that occurs when the owned settings are deleted while other
MapSettings copies still reference the same objects.
Found by AddressSanitizer.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
A number of settings keys existed in the spec and in the SWG classes but
were missing from the plugin's webapi handlers, so setting them over the
API silently did nothing: dnrScheme on the SSB demodulator, aprsData on
the M17 modulator, pulseShaping on the packet, PSK31 and RTTY modulators,
audioDeviceName on Simple PTT, period, autosave, autoload, autosavePeriod
and filename on SID, and several on Star Tracker, XTRX and the Android SDR
driver input.
Three more were spelled so that they could never match. The channel
analyzer tested for "rationalDownSample " with a trailing space, radio
astronomy tested for "sweep12Start" and "sweep12Stop" rather than
"sweep2Start" and "sweep2Stop", and AFC read "hasTargetFrequency" into
m_transverterTarget rather than "transverterTarget". The channel analyzer
also now accepts the shorter "frequency", "downSample" and
"downSamplerRate" spellings alongside the existing ones.
MapSettings::applySettings ignored rgbColor and mapType, so a patch
carrying them was accepted and then dropped.
Registers MCPServer.yaml in the web API resources so it is served with the
rest of the documentation, and drops a redundant nested guard in the Sky
Map report left by the QString leak fix.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Add support for public list of SDRangel servers that can be displayed on Map.
Add FLAC and zlib IQ compression.
Add IQ squelch for compression.
Add remote device/antenna position and direction reporting.
Add text messaging.
Add left double click to add marker to 3D map.
Add support for alititudeReference for polygon and polyline.
Add support for plugins to set color of polygons.
Allow OpenSkyNetwork DB, OpenAIP and OurAirports DB stuctures to be
shared by different plugins, to speed up loading.
Perform map anti-aliasing on the whole map, rather than just info boxes,
to improve rendering speed when there are many items. Add map
multisampling as a preference.
Add plotting of airspaces, airports, navaids on Map feature.
Add support for polylines and polygons to be plotted on Map feature.
Add support for images to 2D Map feature.
Add distance and name filters to Map feature.
Filter map items when zoomed out or if off screen, to improve rendering
performance.
Add UK DAB, FM and AM transmitters to Map feature.
Use labelless maps for 2D transmit maps in Map feature (same as in ADS-B
demod).
Fix 3D map for Qt < 5.15.
Add 3D map label scale setting.
Add 3D map time to Web report.
Reduce height of display settings dialog to fit on smaller screens.
Add support for taken and predicted ground tracks.
Support multiple beacons with same callsign at different locations.
Use separate QML for Qt 5.14, as 5.12 doesn't support autoFadeIn, needed
to view satellites at min zoom.
Add support for different map types (street/satellite) and different map
providers.
Support finding real world addresses on the map.
Add Maidenhead locator converter.
Add Beacons.
Allow data sources to be selected by a user.
Add context menu to allow setting an object as a target, setting center
frequency and adjusting display order.
Update GS-232 controller to use message pipes for the target.
Add field displaying the name of the target.
Add azimuth and elevation offsets.
Report worker thread errors to the GUI.
Add GS232 Rotator Controller feature plugin.
Add altitude and station name to My Positon.
Use QtDeploy to ensure all required Qt libraries are included (Should
fix OpenGL issues)