Commit Graph

949 Commits

Author SHA1 Message Date
Bill Somerville
1997885962 Don't increment watchdog timer in WSPR modes
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6897 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-08 20:45:33 +00:00
Joe Taylor
19c91949c7 Another attempt at optimizing the red sync curve for QRA64.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6895 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-08 15:22:50 +00:00
Joe Taylor
4386536cf3 Call the MSK144 short-message decoder only if "Sh" is checked. Also,
make ntol available to the MSK144 decoder.  


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6894 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-08 14:42:28 +00:00
Bill Somerville
0d53cc08cb Add Tx watchdog status to UDP Status message
Thanks to Mike W9MDB for contributing this patch.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6892 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-08 10:25:21 +00:00
Joe Taylor
5d2ed82517 Commit most of what's necessary for decoding MSK144 short messages, including
the hash test.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6889 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-07 20:15:01 +00:00
Joe Taylor
fe34593326 Fix typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6884 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-07 00:17:47 +00:00
Joe Taylor
1112ad0809 Two more testers.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6883 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-07 00:11:41 +00:00
Bill Somerville
e77204a552 Ensure all main window child widgets are added to teh event filter
This makes  all child widgets able  to reset the Tx  watchdog by mouse
click or key press.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6881 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-06 20:16:38 +00:00
Steven Franke
9171ff5354 Define the length of short msk messages.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6879 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-06 19:11:03 +00:00
Joe Taylor
5b23e9afad Start GUI mods to enable short messages in MSK144 mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6877 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-06 15:06:47 +00:00
Joe Taylor
ade68d3a80 Plot a red "sync" curve in QRA64 mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6876 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-06 14:18:23 +00:00
Bill Somerville
d0a7ee623d Fix minute timer
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6864 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-04 02:31:50 +00:00
Bill Somerville
06925b6876 Make message boxes more platform independent with a wrapper
Instead  of  using the  Qt  QMessageBox  class  directly a  new  class
MessageBox  (MessageBox.hpp)  has been  added  to  deal with  platform
independence issues like the title not being shown on Mac OS X.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6861 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-03 20:31:19 +00:00
Joe Taylor
f449da6212 One more rename, QRA02 --> QRA64.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6850 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-02 13:06:41 +00:00
Joe Taylor
c22a6590d0 Many renames: QRA65 --> QRA64, QRA02 --> QRA64.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6848 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-02 12:15:41 +00:00
Bill Somerville
0080bcfff5 Switch to status bar notification of runaway Tx watchdog
Rationalize the status bar construction and maintenance.

Ensure that incoming UDP Reply messages reset the watchdog.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6847 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-02 00:25:38 +00:00
Joe Taylor
f3b8be0d36 Correct the green marker in QRA mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6846 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-01 15:41:03 +00:00
Bill Somerville
c5fd06d6a5 Keep compliance back to Qt 5.2
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6842 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-01 13:22:56 +00:00
Bill Somerville
b4b89485de First attempt at a time based Tx watchdog
The watchdog configuration is now a spin box of minutes with a special
first value of disabled. WSJT-X counts  down minutes on the minute, if
the countdown  reaches zero  any attempt to  transmit is  aborted. The
countdown is  reset by any mouse  press or key press  event inside the
main window or if the Tx message changes (auto sequencing).

The  status  bar  now  shows  the  Tx  watchdog  countdown  if  it  is
active. This  information is shown  to the  right of the  progress bar
text.

The warning message boxes triggered  within the GUI update routine now
no longer block the GUI updates.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6840 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-07-01 11:36:59 +00:00
Joe Taylor
324b6d5f79 Temporary mode QRA02 is now basically functional (though buggy).
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6833 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-30 20:38:36 +00:00
Bill Somerville
36632d5fa4 Ant mouse press or key press in the main window resets the Tx watchdog
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6831 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-30 16:25:47 +00:00
Joe Taylor
b05833bbfb Some progress in QRA01 --> QRA02. Correct minor flaws in mode setting and plotter.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6829 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-30 12:46:14 +00:00
Bill Somerville
5536f72c17 Alert using the platform desktop mechanism for messages
Message boxes and  accepted incomming UDP actions alert  the user even
if the  application is hidden.  This does not  steal focus as  that is
considered bad practice and is annoying.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6826 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-29 23:11:54 +00:00
Joe Taylor
9a9e5c3d90 More changes for QRA01 --> QRA02.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6825 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-29 19:12:46 +00:00
Joe Taylor
d30d609e4a Add KI7MT to list of "enable" calls.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6813 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-28 16:14:06 +00:00
Bill Somerville
40c05b8ce5 Allow for empty decode message in UDP reply message
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6812 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-28 15:53:50 +00:00
Joe Taylor
6f07c367ce Add Tx capability for QRA01.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6811 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-28 14:56:02 +00:00
Bill Somerville
180a62efda Fix a regression in WSPR saved file names from r6806
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6807 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-24 17:31:25 +00:00
Bill Somerville
d7799235bd Fast mode audio recording behaves the same way as slow modes
Fixed naming of fast recording files.

Tidied some signal/slot plumbing in the fast plotter.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6806 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-24 17:01:51 +00:00
Joe Taylor
278a26ec1d First functional decoder for QRA01.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6805 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-24 14:36:03 +00:00
Joe Taylor
e8d0918789 More flexibility in QRA65code, including simple S/N simulations.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6802 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-23 13:58:18 +00:00
Joe Taylor
cb635a2c3e Making progress on what will become QRA65 mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6794 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-22 20:26:41 +00:00
Bill Somerville
5c81b808e5 Adaptive sample block size to match FFT sizes
This  change  corrects timing  discrepancies  on  the horizontal  fast
spectrum plot.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6780 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-17 01:27:00 +00:00
Bill Somerville
29e6e1ccd9 Do not apply reference spectrum in fast modes
Using the reference spectrum discards a short part of the front of the
period's received samples which may have contained a decode candidate.

As  far  as  the  MSK  modes  are  concerned  the  reference  spectrum
correction is probably not applicable anyway.

Comment from Steve K9AN after offline discussions about this:

"In any  case, I  don’t think that  there is any  reason to  apply the
reference spectrum correction to the MSK modes. I do think that we are
paying a  performance penalty  in the MSK  modes for  non-ideal filter
responses at  the TX and RX  ends of the link  — but we would  need to
implement an  equalizer that  looks at  the received  sync words  as a
“training  sequence” in  order to  come  up with  anything that  could
improve the  results. This  would take into  account the  receiver and
transmitter  filters,  and  would  probably  be  different  for  every
TX/RX/meteor burst. My current thinking is  that for the low SNRs that
we are most interested in, and with  the short sync words that we use,
we  wouldn’t  be  able  to  do  a very  good  job  of  estimating  the
coefficients of the equalizer..."

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6776 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-13 19:52:23 +00:00
Bill Somerville
fe473c0bda Another uninitialized variable picked up by valgrind MemCheck
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6766 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-06-11 23:53:18 +00:00
Bill Somerville
30959cf1c9 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
c58876507b 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
800357a0a3 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
bc82fcb35a 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
032ac900c4 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
Bill Somerville
d48f68dd6b 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
07a98d1fdd 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
Joe Taylor
48a6cdc578 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
Joe Taylor
1103601ea7 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
3cefe5edbb 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
Bill Somerville
a8856c382b 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
Joe Taylor
eb9873c906 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
0188257072 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
Bill Somerville
2b11d898f7 Fix close down semantics and suppress subprocess errors during close down
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6705 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-05-26 23:40:16 +00:00
Bill Somerville
ae3749bb46 Extend UDP status message - added Rx/Tx DF, call and grid information
Build now creates and installs a  UDP library that contains the server
side  of the  UDP messaging  facility.  This  library is  used by  the
udp_daemon and message_aggregator reference  examples. The new library
is  currently a  static archive  but  can also  be built  as a  shared
library.  The library  allows third  party Qt  applications to  easily
access UDP messages from WSJT-X.

Refactored  the  message_aggregator  reference example  to  split  out
classes into  separate translation  units. Added new  functionality to
exercise  the  new  UDP  status fields,  highlight  own  call,  CQ/QRZ
messages and decodes near Rx DF.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6691 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-05-24 10:08:35 +00:00