Commit Graph

945 Commits

Author SHA1 Message Date
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
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