Commit Graph

932 Commits

Author SHA1 Message Date
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
Charles J. Cliffe 297e35ebf7 GLFont temporary string compiling/caching with garbage collect 2016-03-15 01:12:31 -04:00
Charles J. Cliffe cfdbcf9bc3 Patch major font rendering performance hit while zoomed 2016-03-14 19:27:34 -04:00
Charles J. Cliffe b155338b1d Fix broken lastGain property usage 2016-03-07 20:15:27 -05:00
Charles J. Cliffe 29d411cead Add center line for hovered/new/move state modems 2016-03-07 19:25:12 -05:00
Charles J. Cliffe a60eae1305 Windows install DLLs, fix Windows arrow key input handling 2016-03-03 20:41:28 -05:00
Charles J. Cliffe 0f82d24d44 Possible fix for ModemFMStereo singleton init crash edge case. 2016-03-01 19:47:18 -05:00
Charles J. Cliffe 1cd8759880 Add center lock and modem tracking to rig control 2016-02-29 23:14:23 -05:00
Charles J. Cliffe 05a3e74645 Add start/stop device to menu 2016-02-28 23:16:56 -05:00
Charles J. Cliffe 3df7461a15 Add OSX About.. dialog, fix menu agc init logic, fix some queue limits 2016-02-28 22:44:17 -05:00
Charles J. Cliffe ed57350866 Don't show gain options if device has none 2016-02-28 21:11:29 -05:00
George Viaud 1362234acd Added mouse-wheel adjustment of squelch and other vertical level selectors 2016-02-25 01:38:26 -08:00
George Viaud 24a4ebb4c2 Added auto-zero to UI for squelch.
Right-Click on signal level bar now sets squelch 2% over current signal level
2016-02-25 00:51:04 -08:00
Charles J. Cliffe eb020a765b MSVC resource patch from @guruofquality #276 2016-02-22 18:43:58 -05:00
Charles J. Cliffe 549b03bdc3 Fix for delta lock zoom visuals 2016-02-17 23:01:42 -05:00
Charles J. Cliffe 63917c95f3 Make delta-lock 'V' key work on hover as well. 2016-02-17 20:49:36 -05:00
Charles J. Cliffe 86bd74e59a Fix visual drag artefact on delta-locked modems 2016-02-17 20:45:56 -05:00
Charles J. Cliffe 57e4df2b1a Always center rig with 'c' if active. 2016-02-16 01:24:39 -05:00
Charles J. Cliffe 74d3e771fd Toggle rig control/follow, rigthread fixes, save rig control state 2016-02-16 01:13:26 -05:00
Charles J. Cliffe 93d2c73fb9 Add delta lock -- lock modem relative to center frequency 2016-02-15 17:43:10 -05:00