Commit Graph

1323 Commits

Author SHA1 Message Date
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
9c08317e6b Add new fonts (22,36,42,64,96 pix) 2016-06-21 21:26:05 +02:00
Charles J. Cliffe
87cb6c9ec3 Merge pull request #376 from vsonnier/fix_locale_for_character_strings
FIX: non-Ascii and beyond are working better now (ex: Euro symbol)
2016-06-20 22:53:18 -04:00
vsonnier
006c1e5755 FIX: non-Ascii and beyond are working better now (ex: Euro symbol) 2016-06-19 16:47:33 +02:00
Charles J. Cliffe
717f81f2d7 Merge pull request #372 from vsonnier/last_wstring_fixes
Last string vs. wstring cleanups (hopefully)
2016-06-14 18:57:12 -04:00
vsonnier
3918c7b9f4 wstring/string usage pass, should be clean now 2016-06-14 19:52:15 +02:00
Charles J. Cliffe
44256f684a Merge pull request #371 from vsonnier/wstring_encode_fixes
wstring encode / decode fixes
2016-06-13 17:57:29 -04: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
Charles J. Cliffe
c33a359153 Merge branch 'vsonnier-editable_demod_label' 2016-06-11 21:57:55 -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
02034a8817 version bump. 2016-06-09 23:17:49 -04:00
Charles J. Cliffe
654aae2383 Add 'p' key as peak-hold toggle 2016-06-09 18:16:03 -04:00
Charles J. Cliffe
13be18a2a3 Merge pull request #368 from vsonnier/peakhold_on_demod_spectrum_and_misc
Peakhold on demod spectrum and misc
2016-06-09 17:52:07 -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
348b5404c3 Merge pull request #367 from cjcliffe/thread_cleanup_fix
Threading cleanup; fix some old mixer integration cruft and resolve a lot of random crashes..
2016-06-08 23:54:27 -04: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