Commit Graph

1113 Commits

Author SHA1 Message Date
vsonnier
8776908340 Fixes #546, when MTU > nb samples per-frame, overflow management was wrong. 2017-05-23 11:09:29 +02:00
vsonnier
5797548739 SoapySDRThread tweak: directly resize to the final size when building SDRThreadIQData 2017-05-23 11:09:28 +02:00
vsonnier
af20f680a4 Clearer ThreadBlockingQueue impl by using a field to hold size... 2017-05-21 21:04:12 +02:00
vsonnier
41c7dd231b Fix tabs introduced in latest commits... 2017-05-21 10:03:21 +02:00
vsonnier
e0af609224 Use a circular buffer for ThreadBlockingQueue (allocation-free) 2017-05-21 09:39:29 +02:00
vsonnier
fc2716518d SoapySDRThread: more comments about the relation between MTU and sample rate 2017-05-21 09:20:41 +02:00
vsonnier
c1fef72103 Use more a reliable time source in Windows for the Timer class 2017-05-20 13:31:55 +02:00
vsonnier
a541e55ff6 SaopySDRThread simplified, (small) perf improvement: No longer use inpBuffer,
write to SDRThreadIQData->data directly.
2017-05-20 13:31:46 +02:00
Charles J. Cliffe
1bf7c22f00 Donation list update 2017-05-11 22:51:39 -04:00
Charles J. Cliffe
91fd255c86 Remove temporary windows SSB filtering solution 2017-04-20 21:19:55 -04:00
Charles J. Cliffe
21b2b3d191 MSVC serial fix-up 2017-04-20 20:41:03 -04:00
Charles J. Cliffe
f9dc1aeb32 Use the right function.. 2017-04-20 19:53:08 -04:00
Charles J. Cliffe
43a9150107 Fix rig control menu, add serial port detection and selection dialog 2017-04-20 19:40:09 -04:00
vsonnier
0a19686b51 Remove 'threadlocal' pedantic and very limited usage that is not supported on all platforms 2017-04-05 19:28:18 +02:00
vsonnier
c8cca67fc7 Bookmarks: fix for #525 item 2, other cleanups. 2017-04-01 19:38:08 +02:00
Charles J. Cliffe
f4d090e65b Tweaks for bookmark selection, activation and group renaming 2017-03-30 22:26:11 -04:00
Charles J. Cliffe
1529fe3306 Fix flip-flopping config path conflict when using alternate build name. 2017-03-21 19:30:36 -04:00
Charles J. Cliffe
ec10f2523e Some additional custom build opts; fix compile order issue on OSX; patch tuning label font glitch. 2017-03-20 20:20:17 -04:00
Charles J. Cliffe
38e41eb85e Groups now renamed like everything else; remove onRenameGroup dc 2017-03-16 23:23:21 -04:00
Charles J. Cliffe
243c744c0a Fix the label editing issue :) 2017-03-15 21:23:13 -04:00
vsonnier
772e24fdb3 Better comments on CF32 format coming out of SoapySDR 2017-03-10 19:12:54 +01:00
vsonnier
97639d1d09 BIG FIX: Truncated stream of incoming samples on 32 bit targets !
This one is a veryy old long standing bug I was look for. All 32 bit Windows builds
suffered indeed of corrupted sound defects in all circumstances (reported even on rtl-sdr.com coments)
that had no identifiable origin... Until now.
Given the fix, all 32 bit adress targets should be affected as well...
2017-03-08 22:52:20 +01:00
vsonnier
294713945a Bookmarks: a BookmarkEntry owns its DataNode, so free it in destructor 2017-03-07 18:30:33 +01:00
vsonnier
9726f0eec6 Bookmarks: no need to Delete a tree element when the next steps will take care of it 2017-03-06 19:51:27 +01:00
vsonnier
925203b4a5 Bookmarks (cont...) : more understanding, more comments, more fixes. NOW memory management should be clean... 2017-03-04 11:22:44 +01:00
vsonnier
7bab9588e1 Bookmarks: rollback delete item data procedures: reading wxWidgets labyrinthine code more carefully
item data is properly deleted by Delete or DeleteChildren. On the other hand, SetItemData simply overwrites the pointer,
so take care or releasing ressources there
2017-03-04 09:02:15 +01:00
vsonnier
b30f9e9bbb Bookmarks: assure proper recursive cleanup of ItemData for all levels of a tree item 2017-03-03 22:49:58 +01:00
vsonnier
aab899d63c Bookmarks fixes: try to cleanup Recent entries in order 2017-03-03 20:33:14 +01:00
vsonnier
c1184d24db Bookmarks: cleanup item data properly 2017-03-02 22:10:17 +01:00
Vincent Sonnier
5fe844b8af Should fix #520 2017-03-02 11:25:39 +01:00
vsonnier
bd65377162 BookmarkPanel was missing the Disconect matching the new Connect... 2017-03-01 22:25:27 +01:00
vsonnier
2760d3d12e Status/tootips additions: Gain, Bookmarks. Fix Bookmark mousewheel handling (for Windows <= 7) for the tree view 2017-03-01 22:13:41 +01:00
vsonnier
b149da864a Bookmark fixes and cleanups:
- Fix Search field not working on Windows 7 (at least), hope I didn't break all the other platforms
- Memory management is tedious there, with lots of BookmarkEntry* / BookmarkRangeEntry* shared and dangling around
  we cannot reasonably know when to clean up safely. So go nuclear and std::shared_ptr those things.
2017-02-28 19:05:36 +01:00
vsonnier
469fc41805 AppFrrame::OnMenu() tidy, correct wrong ColorTheme name (harmless) 2017-02-26 11:18:09 +01:00
vsonnier
946a9801dc FIX: Inactive demod bendwiths are restored to 0 from sessions, because they were erroneously saved as such.
The problem lies in DemodulatorPreThread:
- settings were actually get/set unprotected from concurrent access (bendwiths, frequencies, sample rates...etc) so make them atomic.
- If bandwith has changed, return the new value instead of the current one, just like frequencies.
2017-02-20 21:39:12 +01:00
vsonnier
051ebec49f BLOCKING_QUEUE: let audio-out try_push() too, else it often blocks evrything while in debugger... 2017-02-18 10:15:47 +01:00
Charles J. Cliffe
8dfb8ea3f1 minor fixes 2017-02-16 21:54:18 -05:00
vsonnier
9e32141a5f MISC4: Fix ref count of VisualDataDistributor (harmless, currently unused) 2017-02-15 20:45:46 +01:00
vsonnier
3ed65eff8e BLOCKING_QUEUE: don't forget to cleanup if we try_push() 2017-02-15 20:27:57 +01:00
vsonnier
65c1722bca FIX: VisualProcessor compilation on Linux targets (#514), ThreadBlockingQueue version... 2017-02-14 18:42:12 +01:00
vsonnier
7d412eccb6 BLOCKING_QUEUE: display current Thread id in both hex and decimal so both worlds are happy (GDB and Visual Studio) 2017-02-14 18:42:12 +01:00
vsonnier
25f7ba386d BLOCKING_QUEUE: remove ThreadBlockingQueue dependency to ThreadQueue, remove ThreadQueue.h from CMakeLists 2017-02-14 18:42:11 +01:00
vsonnier
c7467a88bc BLOCKING_QUEUE: prepare by raising up max queue lenghts
BLOCKING_QUEUE: Replaced ThreadQueue usage by ThreadBlockingQueue usage
BLOCKING_QUEUE: instrument all push() with timeouts, showed some call have to be non-blocking...
BLOCKING_QUEUE: tuned push()/try_push()
2017-02-14 18:42:05 +01:00
vsonnier
c0dafb3197 FIX: VisualProcessor compilation on Linux targets (#514), suggested by @abousselmi, also works on MSVC 2017-02-14 18:34:25 +01:00
vsonnier
977ffa3e3d MISC2: Position labels better according to font scale (working this time) 2017-02-13 18:38:16 +01:00
vsonnier
2b0a2822a7 MISC: Position labels better according to font scale 2017-02-12 22:27:46 +01:00
vsonnier
d3db510643 pre-BLOCKING_QUEUE: Simplified, fixed ThreadQueue, VisualProcessor (use std:deque, cleaner templates, max_size fixes) 2017-02-12 12:53:50 +01:00
Charles J. Cliffe
8c1d785ff6 About Dialog panel padding tweak 2017-02-08 21:22:56 -05:00
Charles J. Cliffe
a4ae7fefb9 About dialog size adjustment 2017-02-08 19:48:28 -05:00
Charles J. Cliffe
6ce061280a New 'About' dialog and minor cleanup 2017-02-07 21:48:22 -05:00
Charles J. Cliffe
a05741fa9e Minor re-tweak of main waterfall default lines, version bump 2017-02-05 20:47:47 -05:00
vsonnier
a161cf51f9 OPTION1: Boost line numbers of main and demod waterfall from 512/128 to 1024/256 2017-02-05 18:54:17 +01:00
vsonnier
4609386648 COMMENTS,POLISHING: comments fenzy around VisualProcessor machinery,
make process() a true interface as strong hint for derived classes,
plus misc define added for understanding.

BUGFIX: FFTDataDistributor loses incoming samples when compacting internal buffers.

BUGFIX2: FFTDistributor: Frozen Waterfall if internal buffer is no bigger than fftSize
2017-02-05 12:41:43 +01:00
vsonnier
c00060a7d9 FIX: size_t definition not visible on some systems, so include stddef.h explicitly 2017-01-29 17:10:44 +01:00
vsonnier
115b0ffa58 CLEANUP: some compiler and static analysis warnings 2017-01-28 14:57:27 +01:00
vsonnier
2d97353365 Add a proper icon to the SDR Devices dialog 2017-01-27 23:34:48 +01:00
vsonnier
848d1bf0e3 Manage B key correctly activated for spectrum, not waterfall. Add another independent B (dB) key for audio scope 2017-01-27 23:23:25 +01:00
vsonnier
532f34c608 Theme set/change now consistent over the UI 2017-01-27 23:23:25 +01:00
Charles J. Cliffe
0b10ea5fb7 Allow updating of an existing range 2017-01-24 23:14:39 -05:00
vsonnier
196c664cf4 Device Sample Rate improvements: UI, changed device sample rates to be expressed as long instead of int at some places for safety/consistency. Also pedantic harmless traces changes. 2017-01-21 12:56:16 +01:00
Charles J. Cliffe
5e4f5d7d96 IsMaximized() return is ambiguous for OSX full-screen vs. filled-screen; use Y position instead.. 2017-01-18 21:24:50 -05:00
Charles J. Cliffe
066d634d24 Don't save maximized window state/position on OSX 2017-01-18 20:13:25 -05:00
vsonnier
7ab2b08e7d UPGRADE_cleanup: removal of ENABLE_LIQUID_EXPERIMENTAL conditionals because the features are now in mainline liquid v1.30 2017-01-14 18:16:41 +01:00
vsonnier
1a53e454ab FIX: missing demod displays due to wrong input/queue setups order 2017-01-08 12:46:31 +01:00
vsonnier
89cac5db88 FIX: wrong directive placement prevent building witout HAMLIB 2017-01-03 18:41:38 +01:00
Charles J. Cliffe
c3106613a2 Additional license headers, cleanup unused code defs/refs 2017-01-02 21:27:08 -05:00
Charles J. Cliffe
5c72b97309 Merge branch 'develop' into master 2017-01-02 21:22:13 -05:00
Charles J. Cliffe
3ec14fbe38 Licence fix, add SPDX-License-Identifier, remove unused code files 2017-01-02 21:07:43 -05:00
Charles J. Cliffe
3cfb0154af Fix some header orders to make MSVC happy 2017-01-02 01:29:27 -05:00
Charles J. Cliffe
e971f551ad Set default bookmark sash pos 2017-01-02 00:00:31 -05:00
Charles J. Cliffe
5c89a0783d Flip recent list; bundle mod path update; version bump 2017-01-01 23:51:37 -05:00
Charles J. Cliffe
79c8c415e2 Show/Hide bookmarks option in display menu 2016-12-27 15:36:33 -05:00
Charles J. Cliffe
1ec92e0d9e Update theme needs repaint; limit wxColour conversion 2016-12-27 14:46:50 -05:00
Charles J. Cliffe
83cb2659ff Search actives, return proper expansion states after search 2016-12-27 13:49:47 -05:00
Charles J. Cliffe
68495b4d90 Dual bookmark backup files with user notification, auto-recovery and bail; save top level branch expand states 2016-12-27 13:01:19 -05:00
Charles J. Cliffe
69e23fd13a Save expanded group states 2016-12-27 00:59:51 -05:00
Charles J. Cliffe
cf056acfe6 Load/Save view ranges 2016-12-27 00:46:12 -05:00
Charles J. Cliffe
9eee45bb9d Improve keyword searching method; add view range bookmarking support 2016-12-27 00:06:25 -05:00
Charles J. Cliffe
d816dc220a Basic search, mostly functional 2016-12-26 21:56:19 -05:00
Charles J. Cliffe
a02dbae7d3 Prevent active switch from changing mode 2016-12-23 20:07:49 -05:00
Charles J. Cliffe
02a876272f Resolve CMakeLists tab/spaces; add non-blocking action dialog for common user requests. 2016-12-23 18:45:25 -05:00
Charles J. Cliffe
2085d0f2c9 Save and load splitter sash positions 2016-12-18 12:00:53 -05:00
Charles J. Cliffe
5870c7f7a2 Remove / clear recent entries 2016-12-17 21:14:13 -05:00
Charles J. Cliffe
870f61cdce Re-implement tree selection behavior tweaks 2016-12-17 20:47:32 -05:00
Charles J. Cliffe
fd928de3aa Show drag item name in popup; follow mouse position. 2016-12-16 22:05:25 -05:00
Charles J. Cliffe
5924ebc057 Clean-up some error-prone prototype cruft 2016-12-15 21:53:51 -05:00
Charles J. Cliffe
2cc05baaa1 Bookmarks/Recents now loading & saving 2016-12-13 21:09:44 -05:00
Charles J. Cliffe
746b7cfcae Bookmarks now save on exit; not loaded on startup yet. 2016-12-12 23:47:05 -05:00
Charles J. Cliffe
d48887d132 Bookmarking bugs, quirks and improvements 2016-12-12 20:17:47 -05:00
Charles J. Cliffe
4e2fced000 Handle out-of-band bookmarks and actives 2016-11-26 00:39:41 -05:00
Charles J. Cliffe
1d1c1e3114 Edit groups/labels directly in tree 2016-11-25 23:56:27 -05:00
Charles J. Cliffe
6f822b96cd User Label editing 2016-11-25 23:21:32 -05:00
Charles J. Cliffe
849a706871 Improved tree behaviour, remember expansion states, rename groups, drag bookmarks between groups, remove groups, don't steal tree focus when collapsed 2016-11-25 22:19:19 -05:00
Charles J. Cliffe
6237317cdb Consolidate / tweak bookmark & recent bookmark / activation behavior 2016-11-21 20:47:16 -05:00
Charles J. Cliffe
cc8c992123 Better group/sort handling; sets don't like duplicate compares. 2016-11-21 20:12:10 -05:00
Charles J. Cliffe
73954055e6 Resolve 'Ungrouped' logic -- replace button with choice list for bookmarking. 2016-11-20 23:26:38 -05:00
Charles J. Cliffe
2f6e83c55e Start integrating user demod label 2016-11-14 23:52:50 -05:00
Charles J. Cliffe
9c7ff0598c Layout tweaks, fixes 2016-11-14 23:16:08 -05:00
Charles J. Cliffe
1d1aa515de Remove Bookmark functional 2016-11-10 21:48:57 -05:00
Charles J. Cliffe
d4fb63cb77 Selection and button handlers 2016-11-10 20:43:01 -05:00