Commit Graph

1490 Commits

Author SHA1 Message Date
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
b5a658bb4c Updated Hamlib v3.1 binaries for Windows using the official pre-build binaries:
- Gather all *.dll deps in external/msvc to preserve consistency
- This Hamlib distribution provides a pre-built libusb-1.0.dll, so add it to the common dependencies :
  this libusb-1.0.dll have only MSVCRT.dll as dependency itself, contrary to the one provided
  in CubicSDR binary releases, which turns out is not compatible with this Hamlib distribution.
  The libusb one from the Hamlib on the other hand works for both Hamlib and SoapySDR.
2017-03-03 19:37:32 +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
1e14eece65 Updated LodePNG to 2016.11.27 version (indeed current master) 2017-02-26 09:02:31 +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
Charles J. Cliffe
4b48113936 Merge pull request #515 from cjcliffe/vso_blocking_queue
Replace ThreadQueue by a full blocking queue.
2017-02-20 15:34:40 -05: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
e173eec3ef MISC3: Fed up with warning 4996 spam on MSVC, silence it for good in CMake 2017-02-14 18:36:20 +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
54117fb99a Merge pull request #511 from cjcliffe/contributors_update
Contributors update
2017-02-07 21:52:52 -05:00
Charles J. Cliffe
6ce061280a New 'About' dialog and minor cleanup 2017-02-07 21:48:22 -05:00
Charles J. Cliffe
febaf63d22 Merge cmakelists with master changes 2017-02-07 18:52:00 -05:00
Charles J. Cliffe
536ca64f7b Merge branch 'stefantalpalaru-rtaudio' 2017-02-07 18:30:09 -05:00
Charles J. Cliffe
ca4092cc33 Minor cmake rtaudio else-case tweak 2017-02-07 18:29:34 -05:00
Stefan Talpalaru
d1686f9699
add USE_SYSTEM_RTAUDIO flag, off by default 2017-02-07 17:07:44 +01:00
Stefan Talpalaru
f4a60e6765
Merge branch 'master' into rtaudio 2017-02-06 17:52:15 +01:00
Charles J. Cliffe
e181849a1d Merge branch 'vsonnier-vso_waterfall_fixes_and_improvements' 2017-02-05 20:48:24 -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
Vincent Sonnier
0815b6a684 Merge pull request #509 from vsonnier/vso_liquid_dsp_Windows_gcc63
Update Windows liquid-dsp v1.3 libs using latest MySys2(GCC 6.3) using -ffast-math
2017-02-03 20:37:28 +01:00
vsonnier
f90f36a653 Update liquid-dsp v1.3 build using MySys2(GCC 6.3) using -ffast-math 2017-02-03 19:28:06 +01:00
Vincent Sonnier
5b1383ab64 Merge pull request #504 from cjcliffe/vso_fix_#503
FIX: size_t definition not visible in some cases causing failed compilation.
2017-01-29 17:15:27 +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
Vincent Sonnier
cce1faa1ad Merge pull request #502 from cjcliffe/vso_compiler_and_static_analysis_fixes
CLEANUP: some compiler and static analysis warnings
2017-01-29 09:06:02 +01:00
vsonnier
115b0ffa58 CLEANUP: some compiler and static analysis warnings 2017-01-28 14:57:27 +01:00
Charles J. Cliffe
af6a32902f Merge pull request #501 from vsonnier/theme_ui_fixes
UI fixes: Theme set/change, B shortcut, add icon to SDR Devices dialog.
2017-01-27 19:22:12 -05:00
vsonnier
2d97353365 Add a proper icon to the SDR Devices dialog 2017-01-27 23:34:48 +01:00