Robin Getz
bef0b8184e
vorlocalizer: Fix round robin plan sorting comparator
...
The channel count comparison in getChannelsByDevice() accidentally used
the first plan's channel count for both operands. This caused the comparator
to always treat the channel counts as equal and sort only by bandwidth.
Use the second plan's channel count when comparing RRTurnPlans so plans are
ordered correctly by number of channels before applying the bandwidth
tie-breaker.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
4 months ago
Robin Getz
09980d9782
APRSGUI: Fix displayTableSettings argument order
...
cppcheck reported that the displayTableSettings() declaration argument
order differed from the function definition. The header declared the
arguments as (columnIndexes, columnSizes), while the implementation and
all call sites use (columnSizes, columnIndexes).
Update the declaration to match the implementation and remove ambiguity
between the table column width and ordering arrays.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
4 months ago
Jon Beniston
08ed42bf73
APRS: Fix memory leak.
4 months ago
Robin Getz
0659f264aa
VOR Localizer: initialize intersection variables
...
Initialize the coordinate and bearing variables used by
VORModel::findIntersection() and declare the validity flags as bool.
Coverity reported that lat1, lon1, bearing1, lat2, lon2, and bearing2
could be passed uninitialized to calcIntersectionPoint(). While the
current control flow is intended to assign these values before the
corresponding validity flag is set, they were not initialized at
declaration, leaving undefined behavior if that invariant were ever
broken.
Initializing the variables removes the possibility of using
indeterminate values, satisfies static analysis, and makes the code
more robust against future modifications. The validity flags are also
changed from float to bool to match their intended use.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
4 months ago
Jon Beniston
ad5ca070e8
Fix constant to be 32MHz instead of 320MHz. Fixes #2801
4 months ago
Jon Beniston
a83dd8b8a0
Use default QSurfaceFormat when MSAA enabled. May fix #2788 , #2022 and #1616
5 months ago
f4exb
13fdc156a2
Tried to fix Debian builds
6 months ago
f4exb
7e37ca68a2
Release v7.26.0
6 months ago
srcejon
e3e2f5bb20
Add active only button. Increase poll frequency. Support channels that don't have a frequency offset.
7 months ago
f4exb
ef4357f26b
Release 7.25.0
7 months ago
Tammo Jan Dijkema
c86c178363
Use Qt6.2 compatible qt_add_plugin in CMake
7 months ago
Jon Beniston
6f97e12a70
Make private
7 months ago
copilot-swe-agent[bot]
42a65a0311
refactor: use MainCore::getDeviceAndChannelIndexFromId in webapiFormatFeatureReport
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/68c9a41e-19ba-45f8-955d-b7b2e2b9fd8f
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
7 months ago
Jon Beniston
c545a835e1
Bring in line with other features.
7 months ago
copilot-swe-agent[bot]
4581df2c53
refactor: make FreqDisplay::applySettings private; use MsgConfigureFreqDisplay in FreqDisplayGUI::applySettings
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/d71b1b23-0809-4351-bfc0-1f46a26a49cc
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
7 months ago
copilot-swe-agent[bot]
220f5d11ab
feat: add FreqDisplay webapiReportGet, webapiFormatFeatureReport; add freqDecimalPlaces and dropShadowColor to settings webapi methods
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/896509c5-b3f8-406a-98db-4b744f7a918c
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
7 months ago
Jon Beniston
c44925dba3
Fix webapi for Freq Display.
7 months ago
Jon Beniston
fd9f3ac632
Fix compilation.
7 months ago
copilot-swe-agent[bot]
219ece573c
feat: implement FreqDisplay WebAPI (webapiSettingsGet/PutPatch, format/update, reverseSend)
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/373fd0a8-4ef8-4849-8b8e-adb0a988230d
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
7 months ago
Jon Beniston
3a15e13cde
Implement FreqDisplayWebAPIAdapter
7 months ago
Jon Beniston
a298406d74
Fix use of settings keys.
...
Add onMenuDialogCalled to support basic settings dialog.
7 months ago
Jon Beniston
afde6d50b4
Update naming convention.
7 months ago
Jon Beniston
1d4a936f86
Add drop shadow to docs.
7 months ago
copilot-swe-agent[bot]
154e52d0b2
refactor: move anonymous namespace members into FreqDisplayGUI as static members
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/822b5f58-a706-4e7c-af65-8d2b5c4be5b1
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
7 months ago
copilot-swe-agent[bot]
9363b043a1
feat: add drop shadow ButtonSwitch and color picker to freqdisplay
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/41854996-2343-4d0a-b99a-2a0ebdc8e586
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
7 months ago
Jon Beniston
8896ed129a
Fix both windows being displayed at startup, if transparency enabled.
7 months ago
Jon Beniston
dc960c2dfd
Position overlay so it's where the frequencyValue widget was.
7 months ago
copilot-swe-agent[bot]
19cc426948
feat: replace frequencyValue QLabel with FrequencyLabel custom widget (minimumSizeHint 50x10)
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/882a0465-b780-4bea-a664-422995cba8b7
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
7 months ago
Jon Beniston
ef335dd1ff
Disable word wrapping
7 months ago
Jon Beniston
cf82d023c6
Don't use a container for the frequencyValue
7 months ago
Jon Beniston
4c86f1c4b9
Add documentation.
7 months ago
Jon Beniston
01b53f50b0
Fix window sizing by calling sizeToContents. Roll back previous commit.
...
Add rollup settings.
7 months ago
copilot-swe-agent[bot]
2bbe19af46
freqdisplay: fix font sizing to respect both width and height constraints
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/8205839a-4dad-46b0-8fbf-02dd31499bb7
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
7 months ago
Jon Beniston
ffe32eb1a0
Speech current text when speech enabled. Disable speech button if not available.
...
Fix font color button.
Add rollup titles.
7 months ago
copilot-swe-agent[bot]
6b67959774
freqdisplay: add text color picker button saved as setting, default white
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/6d0cceb4-1d01-4c8e-95aa-f203715615cc
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
7 months ago
Jon Beniston
1f41715197
Rearrange GUI
7 months ago
copilot-swe-agent[bot]
ff06cf1935
freqdisplay: fix crash on exit transparent mode by using deleteLater()
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/9fb3e940-7f8e-46a9-8095-5ebc03428c00
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
7 months ago
copilot-swe-agent[bot]
eabd3e605d
freqdisplay: replace MDI-manipulation transparency with separate overlay window
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/758a0e0b-447d-42b8-811b-97c35b453955
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
7 months ago
copilot-swe-agent[bot]
75eae6f663
freqdisplay: fix Windows border/title not repainting after transparency disable
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/9bcd11e2-9fae-4e81-8157-f7dc21351c85
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
7 months ago
Jon Beniston
2f9d6a8df4
Add border spacing.
7 months ago
Jon Beniston
bf8ae8c506
Add copyright.
7 months ago
Jon Beniston
e931f0871b
Rearrange GUI
7 months ago
Jon Beniston
a5d519bc82
Free speech engine in destructor.
7 months ago
copilot-swe-agent[bot]
6854e6737b
freqdisplay: add frequency and power decimal-places spinboxes
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/0a80d06a-83cf-4fde-8fc7-5d8ef9b43ffe
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
7 months ago
copilot-swe-agent[bot]
c075f4fa5c
freqdisplay: fix transparent mode exit hang (reorder addSubWindow); expand speech unit abbreviations
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/419cd81e-d0ee-4a21-8ddf-3577c1389c52
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
7 months ago
copilot-swe-agent[bot]
59504ea23d
freqdisplay: fix hang on transparency exit; add units/showUnits; fix dB; fix Both mode fallback
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/ab287ce0-b7ef-4125-9e62-9054ab2ccd93
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
7 months ago
Jon Beniston
2a41303bc0
Fix initialisation of speech engine, if enabled by displaySettings.
7 months ago
Jon Beniston
bfad90d5bb
Enable child mouse tracking for resizer
7 months ago
copilot-swe-agent[bot]
24adb3a0cd
freqdisplay: fix transparent mode border/title restoration and font wrap
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/1825f915-718a-4d8c-ab81-0543427ac33c
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
7 months ago
copilot-swe-agent[bot]
38bbc94c0e
freqdisplay: hide settings bar when in transparent mode so frequencyValue fills the window
...
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/4427c934-bfa7-43ce-82fb-2b946d60094d
Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
7 months ago