Commit Graph

1251 Commits

Author SHA1 Message Date
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
Charles J. Cliffe
b89b557352 More flexible bookmark buttons 2016-11-08 01:35:34 -05:00
Charles J. Cliffe
53ce3b2877 Merge pull request #460 from cjcliffe/develop
Develop
2016-11-03 20:37:05 -04:00
Charles J. Cliffe
fb993d8f42 Merge branch 'feature/build_opts' of https://github.com/cjcliffe/CubicSDR into feature/build_opts 2016-11-02 22:01:51 -04:00
Charles J. Cliffe
f0d829b6b3 Better image panel for custom header option 2016-11-01 22:29:58 -04:00
Charles J. Cliffe
559f8982ac Logo aspect fit 2016-10-28 22:10:27 -04:00
Charles J. Cliffe
979e5b709c Custom build flags, Power level offset, Persistent modem props 2016-10-20 21:44:33 -04:00
Charles J. Cliffe
14cf709447 Some basic BookmarkView drag+drop functionality 2016-10-13 00:41:35 -04:00
Charles J. Cliffe
824598cb1a Simplify treectrl selection/item data 2016-10-10 22:28:48 -04:00
Charles J. Cliffe
07c55ede21 Basic bookmarking test 2016-10-06 22:27:12 -04:00
Charles J. Cliffe
fab41f30be Add bookmark group context menu 2016-10-06 21:08:45 -04:00
Charles J. Cliffe
020cef12c9 Recents list, DataTree rewindAll(), Bookmark view updates 2016-10-05 19:10:01 -04:00
Charles J. Cliffe
560caccbc7 Apply theme to bookmark panel, implement RGBA4f->wxColour operator 2016-09-29 21:57:23 -04:00
Charles J. Cliffe
003758b799 Improve active list integration/interactivity 2016-09-29 20:47:38 -04:00
Charles J. Cliffe
9ffdf6808d Active selection / removal functional 2016-09-28 20:37:39 -04:00
Charles J. Cliffe
367a723947 Active modem tracking; update only when necessary 2016-09-22 20:40:07 -04:00
Charles J. Cliffe
f4ab6fbaad Bookmark panel active list testing 2016-09-14 22:49:32 -04:00
Charles J. Cliffe
488e8ed9e7 Add bookmark panel to appframe layout, implement some methods 2016-09-14 22:10:27 -04:00
Charles J. Cliffe
ba7a0d8cd3 Init bookmark manager 2016-09-14 19:46:57 -04:00
Charles J. Cliffe
bf7d67751e Initial bookmark form, move demod data node load/save to demod mgr 2016-09-13 22:59:21 -04:00
vsonnier
aeabaaa4c1 FIX: saved session files in v0.20 create crashs on reload 2016-09-02 23:01:42 +02:00
Charles J. Cliffe
7901701eed Force session .xml suffix & ignore CTRL-S / etc. accel global keys 2016-08-16 19:45:42 -04:00
Charles J. Cliffe
6ede20c3e8 Prevent solo-squelch focus from interrupting user actions; acts as temporary hold as well 2016-08-16 17:55:40 -04:00
Charles J. Cliffe
5573dce408 Don't allow range for anything but center freq 2016-08-16 00:00:54 -04:00
Charles J. Cliffe
4be9fa0538 Support ranged frequency input for center frequency 2016-08-15 23:53:27 -04:00
vsonnier
5a668583cd WINDOWS_NO_SECONDARY_CONSOLE: The explicit allocated Console on Windows apparently tends to hang the application more, suppress it 2016-08-13 21:31:21 +02:00
vsonnier
0d50a2b241 SMALL_SQUELCH_CLEANUP: No need to DSP tricks to compute magnitude, sqrt() is free on desktop CPUs 2016-08-13 21:25:54 +02:00
Charles J. Cliffe
6a9e60efa9 Only use audio signal level for AM based modems 2016-08-13 14:50:20 -04:00
Charles J. Cliffe
9f5c674646 Make sure squelch lock is released on de-activate too 2016-08-13 14:18:41 -04:00
Charles J. Cliffe
2bbae7209f Solo squelch break focus lock/tweak 2016-08-12 22:58:33 -04:00
Charles J. Cliffe
6ea2b5b8e8 More squelch tweaks; include I/Q dB and compare to audio for peak 2016-08-12 21:34:34 -04:00
Charles J. Cliffe
606d41bc30 Make audio the signal level instead of I/Q.. Fix attack/decay base to sample time. 2016-08-12 20:31:20 -04:00
Charles J. Cliffe
dedac01709 Moving signal ceil/floor for squelch 2016-08-10 14:02:25 -04:00
Charles J. Cliffe
fe4f711a0d Modemprops theme init on change 2016-07-29 01:38:13 -04:00
Charles J. Cliffe
38db87425f Unnecessary theme update 2016-07-29 00:27:28 -04:00
Charles J. Cliffe
e0b326d35b modem prop spacer tweak 2016-07-28 23:43:51 -04:00
Charles J. Cliffe
11f3fb9c68 Modem property minsize tweak/def 2016-07-28 23:35:48 -04:00
Charles J. Cliffe
c36ca29111 Move audio out choice to modem props, save modem props collapse state, shift rig menu over 2016-07-28 22:50:02 -04:00
Charles J. Cliffe
9ea5d704c0 Unify font+theme into Display menu 2016-07-28 19:33:59 -04:00
Charles J. Cliffe
d23f59a3c9 Tuning bar font tweak for width changes 2016-07-28 18:36:33 -04:00
vsonnier
11ed2bd20b MODEMARGINFOLIST crash: fixed by removing 'ModemArgInfoList newModemArgs' from AppFrame, actually not needed 2016-07-28 16:46:18 +02:00
Charles J. Cliffe
0fdb970d2c Cleanup 2016-07-27 20:01:37 -04:00
Charles J. Cliffe
91547475e5 Make modem properties collapsable and add theme colors 2016-07-27 19:56:43 -04:00
Charles J. Cliffe
0a80feece9 Add some reasonable sounding intermediate steps betwen 50 and None 2016-07-26 23:47:31 -04:00
Charles J. Cliffe
604ce8cdf9 Experimental de-emphasis option for FM-Stereo 2016-07-26 23:34:49 -04:00
Charles J. Cliffe
5b4a348306 Add FM Stereo De-emphasis setting 2016-07-26 19:25:39 -04:00
Charles J. Cliffe
0f5b891b20 Fix Digital scope 2016-07-24 17:24:29 -04:00
Charles J. Cliffe
0090838070 Make modemFactories function ref vs. instances which carry other dsp kit stuff 2016-07-24 15:25:17 -04:00
Charles J. Cliffe
8f1b68d20f Handle stream init errors 2016-07-24 11:59:59 -04:00
Charles J. Cliffe
884f740030 fix driver key case 2016-07-22 19:43:22 -04:00
Charles J. Cliffe
096a1aa5fd Temporary patch for bladerf until bandwidth option is available 2016-07-22 19:24:20 -04:00
Charles J. Cliffe
95fd357c72 Add font scale support to meter panel 2016-07-21 18:43:11 -04:00
Charles J. Cliffe
117f56dd9e Clean up redundant internal FFTW3 support; liquid-dsp will use FFTW3 if compiled in. 2016-07-20 18:43:54 -04:00
Charles J. Cliffe
4783ae5be1 Dummy data bump shouldn't be needed now; racing with small bandwidths? 2016-07-10 20:29:31 -04:00
Charles J. Cliffe
4d2ea8d08a Merge pull request #398 from vsonnier/thread_clean_3
thread_clean_3: Multithreading AudioThread hardening, use of try_pop() and more.
2016-07-08 21:28:11 -04:00
Charles J. Cliffe
3eed669382 Comment cleanup 2016-07-08 19:18:28 -04:00
vsonnier
21c8a81c32 TH_CLEAN_3.5: push() cleanup side of things, assure SDRThread::readStream() to actually check for full + make ThreadQueue notify even in case on not-successfull push(), make it spam notify_all() everytime 2016-07-08 23:30:15 +02:00
Charles J. Cliffe
aa813db490 Fix Mousewheel support 2016-07-07 23:47:58 -04:00
Charles J. Cliffe
ebf2443fe2 Gain UI working (minus mousewheel) 2016-07-07 22:37:57 -04:00
Charles J. Cliffe
4ec2d8bcbd Functional MeterPanel 2016-07-06 23:16:25 -04:00
Charles J. Cliffe
baa5d93ba6 Merge branch 'master' into gain_gui_cleanup 2016-07-06 21:00:04 -04:00
vsonnier
b495b388c9 TH_CLEAN_3: Use of non-blocking try_pop() when possible,
AudioThread concurrent access hardening and simplified,
and misc.
2016-07-05 21:45:42 +02:00
Charles J. Cliffe
ff8ba9ac81 Save session view-state and delay loaded active modem to after frequency/view load 2016-07-03 22:24:17 -04:00
Charles J. Cliffe
a87c58c4a8 Initial Meter Panel work 2016-07-03 20:59:49 -04:00
vsonnier
5d1cb788e0 FIX hang application, because SdrThread tries to auto-termitate itself 2016-07-03 18:17:39 +02:00
vsonnier
567d84711f THREAD_CLEAN_PART2: Assure correct terminate()/isTerminated(delay)/delete sequence +
Removed the NotifyQueue between DemodulatorInstance participants, actually not needed
since DemodulatorInstance::IsTerminated() is explicitly called on some events for cleanups

DELETE_CLEANUP: properly nullify deleted pointers when needed
2016-07-03 14:22:41 +02:00
Charles J. Cliffe
464055ff57 OSX bundled font fix-up 2016-06-28 19:36:37 -04:00
Charles J. Cliffe
a8c4b09655 Update RigThread 2016-06-28 18:45:13 -04:00
vsonnier
52de909cfb THREAD_CLEAN: Clearly distinguish between a request to stop by terminate() from the actual termination isTerminated() 2016-06-28 22:16:34 +02:00
Charles J. Cliffe
234a50acae Merge pull request #385 from vsonnier/wrong_font_load_path_with_resource_dir
Rewrite GLFont loading routine with correct paths computation for resource dir loading
2016-06-25 21:11:24 -04:00
vsonnier
a558102cc5 Rewrite GLFont loading routine with correct paths computation 2016-06-25 17:51:22 +02:00
vsonnier
23f3ff132a FIX not-initialized audio samples in mono causing fucked FFT + pedantic touches 2016-06-25 16:02:44 +02:00
vsonnier
07102caf54 dB display truncated on the left at big zoom levels + Realign TextPanel font choice on existing fonts because scaling is quite ugly 2016-06-24 22:20:51 +02:00
Charles J. Cliffe
f9b394e1ef Herp de Derp James Ready 5.5
This reverts commit 48eeae863e.
2016-06-24 00:19:57 -04:00
Charles J. Cliffe
48eeae863e Save/Load Font Scale with App Config 2016-06-23 23:21:17 -04:00
Charles J. Cliffe
7f92733cac Minor manual gain font size tweak 2016-06-23 22:22:30 -04:00
Charles J. Cliffe
147c508050 Mode selector font looks good, but needed +5px for visual padding 2016-06-23 22:13:03 -04:00
Charles J. Cliffe
0c1fed662e Minor diaply menu naming 'prefix: multiplier' change, eventually move to sub-menu when more display options.. 2016-06-23 22:07:37 -04:00
Charles J. Cliffe
0352216b1d boolean -> bool 2016-06-23 21:52:32 -04:00
vsonnier
324702e26b Fix Spectrum mhz steps and frequencies not properly calculated w.r.t front scale factor 2016-06-24 02:01:32 +02:00
vsonnier
78cfe9c755 DONE. Now GLFont.getFont() retturns a proxy that automatically selects the best font for the required size 2016-06-23 21:28:04 +02:00
vsonnier
83b62cddeb The quest continues, almost done, but have an idea to rework GLFont.drawString() completly, TODO next time 2016-06-22 21:21:32 +02:00
vsonnier
9962e606a6 FIX out-of-bounds dB display 2016-06-22 19:04:59 +02:00
vsonnier
85178095ca Reset all font caches when font size changes 2016-06-21 21:26:12 +02:00
vsonnier
308baf163b GLFont::getFont() is not free, do not call it unnecessarily 2016-06-21 21:26:11 +02:00
vsonnier
f52bad6196 Make GLFont its own pixHeight, so don't provide it in drawString() anymore 2016-06-21 21:26:10 +02:00
vsonnier
26bf1d9927 GLFont doCacheGC() in one pass 2016-06-21 21:26:10 +02:00
vsonnier
92221bccdd Save font scale in global settings 2016-06-21 21:26:09 +02:00
vsonnier
f3d4b8868a Force general refresh on font change 2016-06-21 21:26:08 +02:00
vsonnier
46bf72aa0f Refactor: put fonts in their own 'fonts' subdir, because they are quite numerous now 2016-06-21 21:26:07 +02:00
vsonnier
4d12b2f392 Changed medium to 1.5x instead of 1.3333x... 2016-06-21 21:26:06 +02:00
vsonnier
e099c170f6 Kinda works, not perfect though. 2016-06-21 21:26:06 +02:00
vsonnier
006c1e5755 FIX: non-Ascii and beyond are working better now (ex: Euro symbol) 2016-06-19 16:47:33 +02:00
vsonnier
3918c7b9f4 wstring/string usage pass, should be clean now 2016-06-14 19:52:15 +02:00
vsonnier
4def8ee0f1 This was seriously fucked up :) Now it seems OK. 2016-06-13 21:50:18 +02:00
Charles J. Cliffe
8ff4176bd9 missing algorithm for replace() 2016-06-12 23:38:22 -04:00
Charles J. Cliffe
8b3fba02cc GCC missing codecvt support 2016-06-12 23:36:38 -04:00
Charles J. Cliffe
61d67e69d6 wstring support for datatree, urlencode for xml..? 2016-06-12 22:49:13 -04:00
Charles J. Cliffe
005ce358ed OSX fixes 2016-06-12 20:06:44 -04:00
vsonnier
8960d49f84 Fix GLFont get exe path 2016-06-12 18:41:59 +02:00
vsonnier
55ca1c465a Basic support is here for user labels, even if DataTree only support 8bit strings
Regenerated fonts with up to 254 characters. Rendering is OK, but DataTree do not able to save it...
2016-06-12 17:05:11 +02:00
Charles J. Cliffe
4b07a3acc7 gain meter width 1 pixel off 2016-06-11 22:17:38 -04:00
Charles J. Cliffe
8f2ce9f6dc Move mute handler to global keys; now works with selected + hovered 2016-06-11 22:13:42 -04:00
vsonnier
59163f8335 LABEL: pedantic adjustment, say Edit, nit Set 2016-06-11 14:28:29 +02:00
vsonnier
9de22ffaf1 LABEL: Fix for crash when labels looks like numbers... 2016-06-11 13:15:01 +02:00
vsonnier
d7d9fc8c32 LABEL: Add a label edit dialog, much like FrequencyDialog, works not bad 2016-06-11 10:08:12 +02:00
vsonnier
00e241a784 LABEL: first attempt, <user_label> is read from session XML, apparently also saved. 2016-06-11 07:46:07 +02:00
Charles J. Cliffe
654aae2383 Add 'p' key as peak-hold toggle 2016-06-09 18:16:03 -04:00
vsonnier
e7531952fe MISC 2: Windows has a right to stdout, enable it for both Digital Lab or Debug builds 2016-06-09 19:38:21 +02:00
vsonnier
4ec08b8b68 MISC 1 : Create ReBuffer by default with refcount 1, so remove redundant refCount(1) evertwhere 2016-06-09 19:38:20 +02:00
vsonnier
1e2f12a571 PEAK: Cut-n-paste, works, amazing ! 2016-06-09 19:38:20 +02:00
Charles J. Cliffe
9c10e2baaf comment index debugging 2016-06-08 22:08:14 -04:00
Charles J. Cliffe
1dba16b15f comment some debug logging 2016-06-08 21:54:02 -04:00
Charles J. Cliffe
df33751f9e might be null.. 2016-06-08 21:48:10 -04:00
Charles J. Cliffe
d7ef86ae10 On second thought, let’s not go to Camelot. ‘Tis a silly place. 2016-06-08 21:45:52 -04:00
Charles J. Cliffe
0067e309d1 more debugging; fix some potential refcount leaks... 2016-06-08 21:31:52 -04:00
Charles J. Cliffe
b54ab38a47 More minor tweaks; getBuffer refcount 1 init suggestion from @vsonnier 2016-06-08 19:48:46 -04:00
Charles J. Cliffe
2bdefca263 Trying.. still one stuck in the queue on delete.. 2016-06-07 21:12:30 -04:00
Charles J. Cliffe
50bfb251f8 Attempt to clean up any buffers that weren't used on terminate, still one hanging around.. 2016-06-07 20:36:59 -04:00
Charles J. Cliffe
389ac4f537 remove test decRef 2016-06-07 19:56:08 -04:00
Charles J. Cliffe
037be13fac Rebuffer Garbage collector; mostly to pinpoint/gracefully handle ReBuffer failures 2016-06-07 19:54:36 -04:00
vsonnier
ca0102b3aa Updated TinyXML to v2.6.2 2016-06-06 19:37:55 +02:00
Charles J. Cliffe
296b0da04a unnecessary frequency=0 check.. 2016-06-03 20:35:08 -04:00
Charles J. Cliffe
fa9dfc2fb4 Rough visual cue for demod instances, implement squelch break indicator 2016-06-03 20:05:38 -04:00
vsonnier
5bb43f5aaa Replace mutex lock/unlock pairs with guards, cleanups 2016-06-03 18:45:03 +02:00
Charles J. Cliffe
5a6d97e480 Bingo.. DemodulatorInstance deltaLock atomic_bool was uninitialized.. :) 2016-06-02 22:28:17 -04:00
Charles J. Cliffe
423c83f500 mutex locking cleanup for demod add / remove chain 2016-06-02 21:48:01 -04:00
Charles J. Cliffe
6d63d570aa comment out some noisy stdout logging until there's a proper facility for log outputs 2016-06-02 19:45:34 -04:00
Charles J. Cliffe
99f7beba49 ReBuffer is overkill for scope vis and crashes OSX; just push and delete at reciever; clean up lazy exception-fallback loadSession code 2016-06-02 19:25:52 -04:00
vsonnier
c236a2e1cb Fix limitless manual gain slider 2016-06-02 21:03:14 +02:00
Charles J. Cliffe
df4fb649f3 minor init typo 2016-06-02 01:20:42 -04:00
Charles J. Cliffe
a2c1a16ff8 null active demod before terminateAll 2016-06-01 19:57:18 -04:00
Charles J. Cliffe
d2943b56c4 Merge branch 'session_bugfix' 2016-06-01 19:48:32 -04:00
Charles J. Cliffe
688181e566 Cleanup MSVC warnings and deprecated C++ exception stuff 2016-06-01 19:42:34 -04:00
vsonnier
c3d949ddba MISC 3: Make the whole BufferType life-cycle and recycling properly guarded against concurrent access 2016-06-01 19:51:01 +02:00
vsonnier
fc4fa3e74f MISC 2: Make ReferenceCounter refcount itself protected by the same mutex of the whole class, for state consistency 2016-06-01 19:46:45 +02:00
vsonnier
357dcc967b MISC 1: make IOThread input and output queues returned as ThreadQueueBase*, not void*, cleaner.
then use static_cast for downcasts, because we know what we are doing
2016-06-01 19:42:11 +02:00
vsonnier
41ca39eab7 FIX audioVisOutputQueue nullptr crash 2016-06-01 19:32:22 +02:00
Charles J. Cliffe
c1863d9319 Basic cleanup / mutex additions / bulk demod add 2016-05-31 19:58:37 -04:00
Charles J. Cliffe
ce697c610d Missed gain canvas focus for Win7 wheel support 2016-05-31 17:42:44 -04:00
Charles J. Cliffe
649d34f811 Make spectrum mouse wheel zoom feature universal 2016-05-30 19:45:38 -04:00
Charles J. Cliffe
b8568639c3 Windows focus tweak 2016-05-30 19:25:46 -04:00
Charles J. Cliffe
640b4bb219 Mouse Wheel support for gain; @vsonnier's wheel movement tweak 2016-05-30 19:14:14 -04:00
Charles J. Cliffe
ce1cd27007 ifdef'd windows focus calls, remove unnecessary meter refreshes 2016-05-30 00:17:08 -04:00
Charles J. Cliffe
a0d15026df Tweak mousewheel response for Meter UI elements 2016-05-29 21:03:21 -04:00
Charles J. Cliffe
bd3b9ac921 Fix for windows 7 and below requiring focus for mouse wheel. 2016-05-26 22:53:32 -04:00
Charles J. Cliffe
27ce295918 Don't let global key handler usurp the ModemProperties 2016-05-19 19:23:56 -04:00
Charles J. Cliffe
a1c7d0b5f8 Universal [ nudge ] keys 2016-05-18 23:12:48 -04:00
Charles J. Cliffe
419085d27a Add NBFM mode, add mode selector button height font reduction when scaled down 2016-05-11 23:05:56 -04:00
Charles J. Cliffe
68b095ef8d Save sample rate, gain levels and AGC state per-device, add sample rate to device dialog 2016-05-11 22:37:25 -04:00
Charles J. Cliffe
06b1135f0f Merge branch 'master' of https://github.com/cjcliffe/CubicSDR 2016-04-14 19:52:53 -04:00
Charles J. Cliffe
f1cc256b40 Patch for confused intel driver 2016-04-14 19:52:37 -04:00
Charles J. Cliffe
9ac31040d5 Back out wxGLAttributes update until needed. 2016-04-07 20:00:59 -04:00
Charles J. Cliffe
4a64104050 Option to build using bundled mods only 2016-04-05 18:16:51 -04:00
Charles J. Cliffe
b828b3636f Add 'Reduced CPU Usage' menu option and config entry. 2016-03-31 21:32:50 -04:00
Charles J. Cliffe
cd41a8197e Clean-up extraneous glFlush(), it's all in the main thread on shared context.. 2016-03-31 20:24:38 -04:00
Charles J. Cliffe
f22ef685f5 Static analysis related fixes 2016-03-30 19:34:36 -04:00
Charles J. Cliffe
bfb2b1bdf3 Tweak font cache agression 2016-03-22 20:58:47 -04:00
Charles J. Cliffe
f4b7baebfa Update to wx 3.1.0 gl attributes, simplify GLFont cache and GC 2016-03-22 20:49:15 -04:00
Charles J. Cliffe
855a6f7f15 Fix invalid property assertion in wxWidgets 3.1.0 2016-03-21 19:34:26 -04:00
Charles J. Cliffe
020145c705 Make FFTW3 optional; liquid-dsp is performing better on it's own.. 2016-03-20 18:56:13 -04:00
Charles J. Cliffe
3460e4fcaf Fix linux build 2016-03-15 21:19:29 -04:00
Charles J. Cliffe
7b3942fbcf De-construct empty cache tree branches on GC 2016-03-15 01:25:07 -04:00