Charles J. Cliffe
a409822429
Enumerator class and warnings cleanup
2021-04-22 00:34:45 -04:00
Charles J. Cliffe
4605eaccf0
Cleanup: demodulator mgr, instances, threads
2021-04-04 22:14:31 -04:00
Charles J. Cliffe
3009da6194
Merge remote-tracking branch 'origin/master' into code_quality
2019-03-14 21:15:07 -04:00
vsonnier
3b47045d28
Rework of DataElement to use more templates and much less memcpy...
2019-02-22 20:19:30 +01:00
Charles J. Cliffe
9ed085123a
More AppFrame cleanup, active/current modem verbage adjustments
2019-02-11 22:59:43 -05:00
Charles J. Cliffe
1f70f9189e
AppFrame clean-up, first pass
2019-01-22 00:01:31 -05:00
vsonnier
2f84df3c47
Make DataTree throw exception objects, instead of dynamically allocated ones for simplicity
2018-06-08 05:58:55 +02:00
vsonnier
cf06709cb4
Fix memory leak of the previous commit
2018-06-07 21:44:17 +02:00
vsonnier
3e4aadfaef
Fix #659 : Allow manual editing of user_labels in normal ASCII
2018-06-06 20:49:37 +02:00
vsonnier
978cf492f8
Merge remote-tracking branch 'origin/master' into audio_recording
2018-01-09 07:07:11 +01:00
vsonnier
8f45451df2
Choose a valid audio output if the modem-saved one is not recognized.
2018-01-06 16:15:40 +01:00
Charles J. Cliffe
38fab6ac51
Add 'R' toggle key + fixes from initial testing
2017-10-12 00:08:22 -04:00
vsonnier
a8f8f4a7e2
Initial commit: working...
2017-08-27 11:11:30 +02:00
vsonnier
98c7c30aee
Yet another Thread termination problem found, and try killing the app if the closing turns bad
2017-08-13 12:11:14 +02:00
vsonnier
e67a29f5b6
Don't get stuck when closing application just because some Demodulators refuse to die
2017-08-12 11:30:32 +02:00
Dell-Ray Sackett
b315bac97f
Change boolean to bool
...
void DemodulatorMgr::garbageCollect(boolean forcedGC)
should be
void DemodulatorMgr::garbageCollect(bool forcedGC)
2017-06-01 21:05:49 -07:00
vsonnier
3604b7f1ff
Even better thread and application termination:
...
- Now that timed-pop()/try_pop() prevent indefinite blocking it is best to flush() on thread stopping to unblock push()
- Reworked a bit the CubicSDR::OnExit() sequence, see comments.
2017-06-01 19:57:58 +02:00
vsonnier
8f608bbf5c
Cleanup: remove some unused params and variables, conversion warnings seen with #550 .
2017-05-29 20:22:10 +02:00
vsonnier
77a82e1617
Another fix for the neverending hung application bugs:
...
- Clear up DemodulatorInstance garbage collection, only do it in a single thread (AppFrame::OnIdle)
- Add a specific mutex lock for the list of deleted demodulators,
- Add a specific lock to control DemodulatorInstance thread lifetimes, protecting IsTerminated() of concurrent join and delete
2017-05-25 08:03:08 +02:00
vsonnier
4b323e9863
Make ReBuffer refcount management automatic, using std::shared_ptr:
...
- No longer need to call setRefCount() / decRefCount()
- Restore old ThreadBlockingQueue using std::deque, for std::shared_ptr correct behaviour.
2017-05-24 12:28:37 +02:00
vsonnier
c8cca67fc7
Bookmarks: fix for #525 item 2, other cleanups.
2017-04-01 19:38:08 +02: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
89cac5db88
FIX: wrong directive placement prevent building witout HAMLIB
2017-01-03 18:41:38 +01: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
020cef12c9
Recents list, DataTree rewindAll(), Bookmark view updates
2016-10-05 19:10:01 -04:00
Charles J. Cliffe
003758b799
Improve active list integration/interactivity
2016-09-29 20:47:38 -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
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
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
037be13fac
Rebuffer Garbage collector; mostly to pinpoint/gracefully handle ReBuffer failures
2016-06-07 19:54:36 -04:00
vsonnier
5bb43f5aaa
Replace mutex lock/unlock pairs with guards, cleanups
2016-06-03 18:45:03 +02:00
Charles J. Cliffe
423c83f500
mutex locking cleanup for demod add / remove chain
2016-06-02 21:48:01 -04: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
1cd8759880
Add center lock and modem tracking to rig control
2016-02-29 23:14:23 -05:00
Charles J. Cliffe
93d2c73fb9
Add delta lock -- lock modem relative to center frequency
2016-02-15 17:43:10 -05:00
Charles J. Cliffe
5a26669832
Add Tab/Shift-Tab next/prev modem
2016-02-11 00:08:56 -05:00
Charles J. Cliffe
416cb54fb9
Improve visual frequency / new demod indicator
2016-01-13 21:29:26 -05:00
Charles J. Cliffe
0f8065f48a
FSK tweaks, minimum bandwidth adjust
2015-12-01 00:59:11 -05:00
Charles J. Cliffe
76d69ffd78
Add GMSK, fix modem bandwidth logic, cleanup.
2015-11-30 21:58:54 -05:00
Charles J. Cliffe
4fa0cb7c67
Persist modem settings on new instances
2015-11-26 01:54:54 -05:00
Charles J. Cliffe
4a62eae096
Convert constellation code to ModemArgInfo settings
...
- Note: can’t set constellation yet until property grid is added
2015-11-23 20:03:47 -05:00
Charles J. Cliffe
724808d9ff
Clean-up/fix squelch
2015-11-21 15:12:20 -05:00
Charles J. Cliffe
63ea642c88
Clean-up unused stereo states.
2015-11-20 21:55:37 -05:00
Charles J. Cliffe
73ca52aee1
Convert demodulator type ids to strings for now
2015-11-17 18:57:42 -05:00
Charles J. Cliffe
eaaf6cd02e
Merge pull request #143 from cjcliffe/master
...
update lab
2015-09-12 14:11:55 -04:00
Charles J. Cliffe
3ce569f043
MSVC / Win32 x86 fixes
2015-08-31 20:26:17 -04:00
Charles J. Cliffe
2974546436
update digital_lab
2015-08-26 20:32:53 -04:00
Charles J. Cliffe
03c8619c5a
Carry / preset mute state; mute button visual tweaks
2015-08-19 17:06:06 -04:00