Commit Graph

147 Commits

Author SHA1 Message Date
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 baa5d93ba6 Merge branch 'master' into gain_gui_cleanup 2016-07-06 21:00:04 -04:00
Charles J. Cliffe a87c58c4a8 Initial Meter Panel work 2016-07-03 20:59:49 -04: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
vsonnier a558102cc5 Rewrite GLFont loading routine with correct paths computation 2016-06-25 17:51:22 +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
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 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 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
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 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
vsonnier ca0102b3aa Updated TinyXML to v2.6.2 2016-06-06 19:37:55 +02:00
Charles J. Cliffe 688181e566 Cleanup MSVC warnings and deprecated C++ exception stuff 2016-06-01 19:42:34 -04:00
Charles J. Cliffe c1863d9319 Basic cleanup / mutex additions / bulk demod add 2016-05-31 19:58:37 -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 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 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
Charles J. Cliffe 297e35ebf7 GLFont temporary string compiling/caching with garbage collect 2016-03-15 01:12:31 -04:00
Charles J. Cliffe eb020a765b MSVC resource patch from @guruofquality #276 2016-02-22 18:43:58 -05:00
Charles J. Cliffe 65005b60ac Linux - missing header and warning fixes 2016-02-04 18:05:33 -05:00
Stanisław Pitucha 5a52783c22 delete[] to match new[] 2016-01-29 19:22:01 +11:00
Charles J. Cliffe c4dac53532 Fix remaining init order and unused warnings 2016-01-28 18:11:53 -05:00
Stanisław Pitucha 86fab39d84 Even more unused parameters 2016-01-29 07:49:40 +11:00
Stanisław Pitucha 035353123d Fix signed/unsigned variables 2016-01-29 07:49:31 +11:00
Charles J. Cliffe 571ccd3f48 Save/Load and persist SoapySDR device settings 2015-12-06 00:32:32 -05:00
Charles J. Cliffe fb677d0ee2 Constructor init order warning fixes 2015-11-20 22:29:04 -05:00
Charles J. Cliffe 6087588b3d MSVC simplification, easier to use alternate libs 2015-10-19 23:02:50 -04:00
Charles J. Cliffe 7b48a1f455 Windows Timer fixes 2015-09-10 00:55:39 -04:00
Charles J. Cliffe a1bf5b839e Prototype waterfall rate smoothing / fps matching 2015-09-09 23:29:38 -04:00
Charles J. Cliffe 261afbce8e Windows fix-up 2015-08-25 21:35:38 -04:00
Charles J. Cliffe c30cce9114 Add functional Spectrum view to demodulator visuals
- Might need to do some renaming from Scope->AVDisplay or something for
ScopeCanvas to avoid confusion.
2015-08-24 01:31:37 -04:00
Charles J. Cliffe 7a0f523eaf Test of draggable scope area + fixes
- Will be able to drag back/forth to cycle scope/spectrum/plot
- Fix for two crashes
2015-08-19 23:22:46 -04:00
Charles J. Cliffe 4cc4c151fa Reduce log noise, run an old version to show if need be.. 2015-08-14 21:28:43 -04:00
Charles J. Cliffe e04b12662f Linux re-tweak 2015-08-13 20:39:31 -04:00
Charles J. Cliffe 8b48b4e449 set swap interval down to 1; frames are timed instead of throttled now 2015-08-08 14:31:23 -04:00
Charles J. Cliffe bab2ad3780 cleanup 2015-08-03 23:41:37 -04:00
Charles J. Cliffe 6f3d9a6c82 visual process template tweaks, full() logic error fix 2015-07-31 21:28:14 -04:00
Charles J. Cliffe 61add8ae09 VisualProcessor now a template base, more tweaking needed 2015-07-31 21:03:17 -04:00
Charles J. Cliffe 05cd99bbf1 IOThread all the things! 2015-07-29 20:57:02 -04:00
Charles J. Cliffe 48308145b7 add GLTextPanel, initial work on nested coordinate systems 2015-07-01 00:34:32 -04:00
Charles J. Cliffe b28c8dbc3e Move static fonts to GLFont 2015-06-30 23:07:39 -04:00
Charles J. Cliffe 436783535b Duped readable check should be exists 2015-06-01 00:05:50 -04:00
Charles J. Cliffe 44e73839a8 If font resource not found then try executable path. 2015-06-01 00:04:05 -04:00
Charles J. Cliffe 076d8a6847 Static analysis warning fixes 2015-05-30 00:09:51 -04:00
Charles J. Cliffe 07c9395d1f Debian package cpack + icon fix 2015-03-08 20:17:19 -04:00
Charles J. Cliffe e4c942c714 Log available swap functions, possible fix for DRI2SwapInterval 2015-02-10 18:28:35 -05:00
Charles J. Cliffe a1d1c9e1d9 Possible vsync fix for linux DRI2SwapInterval based X11 2015-02-10 18:01:57 -05:00
Charles J. Cliffe a034c810df Linux patch for swapEXT swapMESA and swapSGI 2015-02-10 00:57:36 -05:00
Charles J. Cliffe a803a2d136 MSVC patches 2015-02-09 22:01:33 -05:00
Charles J. Cliffe c0e6ecb3eb vsync patch for OSX 2015-02-09 21:18:10 -05:00
Charles J. Cliffe a3fac1e932 Frame rate limiter for Windows, Untested OSX / Linux 2015-02-09 20:49:21 -05:00
Charles J. Cliffe 2f568d6e2d Fix for bad session int->float conversion on load 2015-02-07 20:20:26 -05:00
Charles J. Cliffe 88978cc633 Disable mouse lock hack for linux 2015-01-18 12:55:51 -05:00
Charles J. Cliffe 93da5b5fa1 Some basic color themes and selector 2015-01-11 03:09:59 -05:00
Charles J. Cliffe 2c5eb4f946 load / save almost functional 2015-01-10 11:00:03 -05:00
Charles J. Cliffe faa87fcd10 DataTree refactoring, load/save functions almost ready 2015-01-09 20:56:43 -05:00
Charles J. Cliffe 4633bfa36f Datatree fixes, 64-bit updates 2015-01-08 23:10:54 -05:00
Charles J. Cliffe 36ff762d3a DataTree cleanup/refactor.. 2015-01-08 19:56:44 -05:00
Charles J. Cliffe cf2b11f496 DataTree refactoring / 64-bit expansion 2015-01-08 18:33:37 -05:00
Charles J. Cliffe 93e88a9208 Import TinyXML and DataTree, OSX related UI tweaks 2015-01-07 20:23:15 -05:00
Charles J. Cliffe 726113e9ea Mode selector widget to replace menu
+ OSX keyboard focus fix
2015-01-06 00:29:33 -05:00
Charles J. Cliffe 334618d000 cleanup, refactor, right mouse waterfall zoom drag 2015-01-03 17:07:39 -05:00
Charles J. Cliffe 6679b20fbb Can now choose demodulator output devices 2014-12-31 21:31:37 -05:00
Charles J. Cliffe b7793ef905 Squelch slider/signal indicator 2014-12-31 19:45:01 -05:00
Charles J. Cliffe 8ce3065bce cleanup / refactor / profiled 2014-12-23 01:12:14 -05:00
Charles J. Cliffe 9e32ef478d Cleanup, reformat 2014-12-16 21:30:03 -05:00
Charles J. Cliffe 34a6d3f5e0 Added frequency labels, 100khz intervals 2014-12-09 21:28:08 -05:00
Charles J. Cliffe 7f9a871598 Simplify GLFont drawString usage 2014-12-08 20:39:38 -05:00
Charles J. Cliffe da8d178e34 Filtering mode 2014-12-08 19:46:29 -05:00
Charles J. Cliffe 542326baab Font rendering functional: test string 2014-12-08 19:38:38 -05:00
Charles J. Cliffe 6c7372ed90 Font loader experiment 2014-12-08 02:16:06 -05:00
Charles J. Cliffe 97e219724e Disable mouse locking on OSX -- causes event loop 2014-11-27 12:53:35 -05:00
Charles J. Cliffe ddbc08a4ff Drag up/down to set arbitrary FM demod bandwidth
Shouldn't need separate WBFM/FM/NFM setting this way -- Just "FM" and
then set arbitrary bandwidth by dragging.

Also removed redundant demod resampling stages left over from early
experiments.
2014-11-26 21:05:19 -05:00
Charles J. Cliffe f441546023 Pick freq/drag in waterfall, show demod bandwidth 2014-11-25 22:51:14 -05:00
Charles J. Cliffe f6966b1824 Simple class for tracking wx mouse in unit 0..1 2014-11-25 21:07:13 -05:00
Charles J. Cliffe 39ba38b82a Cleanup / Reformat 2014-11-22 22:33:32 -05:00
Charles J. Cliffe 9706ed8f7e Update to 64-bit, add test threadqueue 2014-11-20 20:10:28 -05:00
Charles J. Cliffe 532968a818 Source folder cleanup 2014-11-17 21:29:27 -05:00