1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-27 04:24:12 -04:00
Commit Graph

856 Commits

Author SHA1 Message Date
Edouard Griffiths 31580ca25a Merge pull request #2821 from srcejon/fix_2819
APRS: Fix memory leak.
2026-07-22 05:18:09 +02:00
Jon Beniston 08ed42bf73 APRS: Fix memory leak. 2026-07-21 10:32:00 +01:00
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>
2026-07-20 17:25:57 -04:00
Jon Beniston ad5ca070e8 Fix constant to be 32MHz instead of 320MHz. Fixes #2801 2026-07-19 17:09:30 +01:00
Jon Beniston a83dd8b8a0 Use default QSurfaceFormat when MSAA enabled. May fix #2788, #2022 and #1616 2026-07-07 14:06:13 +01:00
f4exb 13fdc156a2 Tried to fix Debian builds 2026-06-03 03:06:36 +02:00
f4exb 7e37ca68a2 Release v7.26.0 2026-06-02 21:37:05 +02:00
srcejon e3e2f5bb20 Add active only button. Increase poll frequency. Support channels that don't have a frequency offset. 2026-05-05 10:45:24 +01:00
f4exb ef4357f26b Release 7.25.0 2026-05-04 06:00:17 +02:00
Tammo Jan Dijkema c86c178363 Use Qt6.2 compatible qt_add_plugin in CMake 2026-04-25 17:11:41 +02:00
Jon Beniston 6f97e12a70 Make private 2026-04-22 22:04:53 +01:00
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>
2026-04-22 20:51:13 +00:00
Jon Beniston c545a835e1 Bring in line with other features. 2026-04-22 21:46:32 +01:00
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>
2026-04-22 20:23:48 +00:00
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>
2026-04-22 19:20:46 +00:00
Jon Beniston c44925dba3 Fix webapi for Freq Display. 2026-04-22 20:09:41 +01:00
Jon Beniston fd9f3ac632 Fix compilation. 2026-04-22 19:34:49 +01:00
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>
2026-04-22 18:28:48 +00:00
Jon Beniston 3a15e13cde Implement FreqDisplayWebAPIAdapter 2026-04-22 16:34:46 +01:00
Jon Beniston a298406d74 Fix use of settings keys.
Add onMenuDialogCalled to support basic settings dialog.
2026-04-20 10:15:13 +01:00
Jon Beniston afde6d50b4 Update naming convention. 2026-04-20 09:35:04 +01:00
Jon Beniston 1d4a936f86 Add drop shadow to docs. 2026-04-20 09:24:34 +01:00
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>
2026-04-19 22:07:58 +00:00
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>
2026-04-19 21:44:13 +00:00
Jon Beniston 8896ed129a Fix both windows being displayed at startup, if transparency enabled. 2026-04-19 22:24:26 +01:00
Jon Beniston dc960c2dfd Position overlay so it's where the frequencyValue widget was. 2026-04-19 21:56:51 +01:00
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>
2026-04-19 20:46:23 +00:00
Jon Beniston ef335dd1ff Disable word wrapping 2026-04-19 21:41:53 +01:00
Jon Beniston cf82d023c6 Don't use a container for the frequencyValue 2026-04-19 21:15:18 +01:00
Jon Beniston 4c86f1c4b9 Add documentation. 2026-04-19 17:51:05 +01:00
Jon Beniston 01b53f50b0 Fix window sizing by calling sizeToContents. Roll back previous commit.
Add rollup settings.
2026-04-19 17:12:51 +01:00
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>
2026-04-19 10:58:06 +00:00
Jon Beniston ffe32eb1a0 Speech current text when speech enabled. Disable speech button if not available.
Fix font color button.
Add rollup titles.
2026-04-19 11:52:39 +01:00
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>
2026-04-19 10:34:01 +00:00
Jon Beniston 1f41715197 Rearrange GUI 2026-04-19 11:28:03 +01:00
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>
2026-04-19 10:16:13 +00:00
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>
2026-04-19 10:09:10 +00:00
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>
2026-04-19 09:50:07 +00:00
Jon Beniston 2f9d6a8df4 Add border spacing. 2026-04-19 10:46:27 +01:00
Jon Beniston bf8ae8c506 Add copyright. 2026-04-19 10:41:30 +01:00
Jon Beniston e931f0871b Rearrange GUI 2026-04-19 10:39:42 +01:00
Jon Beniston a5d519bc82 Free speech engine in destructor. 2026-04-19 10:31:51 +01:00
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>
2026-04-19 09:28:13 +00:00
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>
2026-04-19 09:16:40 +00:00
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>
2026-04-19 09:05:21 +00:00
Jon Beniston 2a41303bc0 Fix initialisation of speech engine, if enabled by displaySettings. 2026-04-19 09:50:38 +01:00
Jon Beniston bfad90d5bb Enable child mouse tracking for resizer 2026-04-19 09:50:05 +01:00
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>
2026-04-19 08:44:14 +00:00
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>
2026-04-19 07:53:15 +00:00
copilot-swe-agent[bot] b84d76e91f freqdisplay: only set WA_TranslucentBackground when transparency is enabled
Agent-Logs-Url: https://github.com/srcejon/sdrangel/sessions/61cdbc74-f85f-41e5-b23c-46ec042bb6d3

Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
2026-04-18 21:22:03 +00:00