Commit Graph

2577 Commits

Author SHA1 Message Date
Bill Somerville
bac8da7859 Add the save attribute to variables that are lazily initialized and reused across calls
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6765 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 18:51:04 +00:00
Bill Somerville
282459b665 Clean up some memory leaks
Move the  FFTW3 cleanup  into the  main routine as  it should  only be
called  once rather  than  every time  the  settings configuration  is
changed or reset (MultiSettings).

Call the new fini_ldpc_ routine before  exiting in the main routine to
free the LDPC resources.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6764 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 18:50:57 +00:00
Bill Somerville
c2a73723e0 Fix some initialization order issues introduced in r6755
These include the wide graph window not being suppressed when starting
the application in a fast mode.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6762 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 18:50:41 +00:00
Bill Somerville
829dc3ec57 Make sure tune power tool tip only shows when adjusting the tune power using the UI
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6761 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 18:50:34 +00:00
Bill Somerville
f962faaeea Tidy up settings tab widget names
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6760 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 18:50:27 +00:00
Bill Somerville
e93673e975 Remove non-portable UI geometry values from MainWindow
Qt does its best job  laying out widgets consistently across platforms
if all unecessary constraints are  removed. Widget layout policies can
almost always be used to achieve the required layout without reverting
to hard coded pixel values.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6759 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 14:27:17 +00:00
Steven Franke
b91a9a782b Tweaks to syncmsk144 - improve performance for short pings.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6758 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 02:39:21 +00:00
Bill Somerville
c7344e0441 Another, hopefully final, fix for saving decocded WAV files reliably
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6757 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-10 22:59:41 +00:00
Bill Somerville
b9b25189b7 Build of wsjtx needs FFTW3 includes
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6756 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-10 16:01:07 +00:00
Bill Somerville
8e43af11e5 Fix numerous memory leaks and uses of uninitialized variables
These were discovered when running under teh valgrind MemCheck tool. I
have also  checked in a suppressions  file (wsjtx-valgrind.linux.supp)
suitable for use on Linux when running the valgrind MemCheck tool.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6755 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-10 15:54:16 +00:00
Joe Taylor
ad54035a53 Clean up some further compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6754 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-10 14:18:10 +00:00
Bill Somerville
66c390de79 More consistent highlighting and processing of general call messages
Highlight,  in the  CQ  colour, CQDX  ... and  QRZ  ...  messages  and
process correctly for worked before and DXCC entity.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6753 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 23:39:48 +00:00
Bill Somerville
7be033e8c2 Report WAV file reading and writing errors
Refactor the  save WAV  file routine  to return an  error string  as a
promise and then get that result and report in a QMessageBox.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6752 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 23:39:41 +00:00
Bill Somerville
4a33a696ba Enhanced error reporting for BWF (WAV) files
The BWFFile class  correctly indicates errors like  file access issues
and problems reading or writing headers using the BWFFile::error() and
BWFFile::errorString() operations.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6751 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 23:39:33 +00:00
Bill Somerville
5e7b750ac3 Initialize decode counts before decoding
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6750 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 23:39:19 +00:00
Steven Franke
80ff880341 Catch up msk144d.f90 and msk144sim.f90 to latest changes. Turn off debug write to lun78 - now builds and runs msk144 on OS X.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6749 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 22:09:06 +00:00
Joe Taylor
22340f66e4 Suppress some compiler warnings. (More to come...)
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6748 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 19:39:48 +00:00
Joe Taylor
df518f4e1d Make it possible to find MSK144 code-definition files in the "data_dir" on all platforms.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6747 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 15:06:15 +00:00
Steven Franke
26b20882ba Add msk144dt.f90
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6746 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 10:30:52 +00:00
Steven Franke
ada15d4f3c Put nsnr back where it was.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6745 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 02:23:21 +00:00
Steven Franke
7e2f238ab2 Add msk144dt.f90 to CMakeLists.txt
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6744 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 02:08:14 +00:00
Steven Franke
0679069878 Added msk144dt; tweaks to syncmsk144l
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6743 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-09 02:02:50 +00:00
Joe Taylor
4425a5aad9 Remove diagnostic print.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6742 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-08 21:25:11 +00:00
Joe Taylor
143736129b Starting to implement the hooks for interfacing to QRA mode.
Pass file path for peg-128 files to fast_decode().  (Inelegant, but it works.)


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6741 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-08 21:20:58 +00:00
Joe Taylor
ecd36a33b5 Starting what's needed to pass data_dir to fast_decode(). I need help!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6740 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-08 19:49:50 +00:00
Joe Taylor
dae04d7a39 For now (and maybe longer?), install the LDPC code-definition files in the .../bin/data directory.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6739 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-07 14:54:53 +00:00
Steven Franke
478f6270ee More work on msk144 decoder.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6738 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-07 01:30:00 +00:00
Steven Franke
b84a07349c fixed an array overrun
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6737 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-06 02:48:06 +00:00
Steven Franke
51428985b3 cleanup and improvement of syncmsk144
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6736 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-06 01:53:04 +00:00
Steven Franke
6e54009797 Average over 3 frames on the second pass.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6735 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 23:11:51 +00:00
Bill Somerville
7501185723 Make tune run for longer in fast modes
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6734 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 20:34:11 +00:00
Bill Somerville
a6be978915 Ensure that tune specific Tx gain setting is not restored after it is cleared
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6733 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 19:24:56 +00:00
Steven Franke
ee40202a1c fix up file names written by msk144sim
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6732 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 17:58:04 +00:00
Steven Franke
6c50362ccc Tweak coarse frequency acquisition.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6731 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 17:21:19 +00:00
Steven Franke
31d393cd45 Found and fixed a nasty array overrun problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6730 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 16:40:45 +00:00
Steven Franke
f7572dcc4e Fix utc issue in msk144d and other small changes related to msk144.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6729 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 16:02:26 +00:00
Joe Taylor
eec8ef436a Change the selective "save" statement in syncmsk144.f90 to a global
save, to avoid what appears to be a stack overflow on Windows.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6728 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 14:03:20 +00:00
Steven Franke
a87f7270b0 Improvements to msk144d.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6727 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-05 01:19:54 +00:00
Bill Somerville
98e2829d41 Polish the Modes class and make it more robust
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6726 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-04 14:59:01 +00:00
Bill Somerville
3a0602711c Automate counting of rows in the Modes model
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6725 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-03 23:40:45 +00:00
Joe Taylor
6eb55cee68 No short messages (yet?) in MSK144 mode. Max message length = 80. Don't
try to remove a noexistent file.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6722 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-03 18:20:53 +00:00
Joe Taylor
9845494276 Install MSK144 as a new mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6721 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-03 15:45:54 +00:00
Joe Taylor
a68384689f Revert three jt4 files to svn revision 6701.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6720 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-03 12:48:16 +00:00
Joe Taylor
2f2fd030e1 Let genmsk144 open the .pchk and .gen files from current working directory.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6719 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-02 12:41:39 +00:00
Steven Franke
05a311be59 Cleaned up syncmsk144
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6718 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-02 03:19:08 +00:00
Steven Franke
21bd398053 Add file needed by msk144d.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6717 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-02 02:46:53 +00:00
Steven Franke
1f37a6676f msk144 simulator is now called msk144sim.f90, command line msk144 decoder is msk144d.f90.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6716 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-01 23:46:36 +00:00
Joe Taylor
ab8f641bb1 Set minimum SNR in JT4 mode to -26 dB.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6715 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-01 12:23:25 +00:00
Steven Franke
311dcdf7b9 Put back the original jtmsk_decode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6714 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-01 11:20:33 +00:00
Steven Franke
968705cb9c Some cleanup to genmsk144.f90 and commented out debug statements for loopback test on OS X.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6713 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-01 01:58:46 +00:00