Commit Graph

2077 Commits

Author SHA1 Message Date
Bill Somerville
9e697b2725 Fix defect in QSO log where name is not logged
This was  a regression introduced in  r5225, thanks to John  G4KLA for
spotting it.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6029 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-10-31 18:27:30 +00:00
Joe Taylor
08235033cc Correct a bug in jt65code.f90. (The "sent" array of symbols was
clobbered by the decode test, before being displayed.)


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6000 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-10-24 18:09:50 +00:00
Bill Somerville
1f26660585 Ensure that v1.6 or later doesn't trash v1.5 settings
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5995 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-10-21 20:05:02 +00:00
Bill Somerville
297e4c8755 Implement schema negotiation for the UDP protocol
The MessageClient and MessageServer classes now agree a maximum common
schema number  for the protocol described  in NetworkMessage.hpp. this
is achieved by  the client sending a Heartbeat  message specifying the
highest  schema number  supported, the  server responds  with messages
using  the minimum  of its  highest  supported schema  number and  the
highest  schema number  sent by  the client  in its  initial Heartbeat
message.   This  mechanism  enables  clients and  servers  built  with
different  generations  of the  message  schema  to interoperate  with
minimum loss of functionality.

It should  be noted that messages  may be extended with  new fields on
the  end of  the current  definition  so long  as the  meaning of  the
original fields  are unchanged.  Such  an extension does not  need the
schema number  to be  incremented. On  the other  hand, using  a newer
version  of  the  underlying  Qt  QDataStream::Version  should  always
increment  the schema  number  since  the NetworkMessage::Builder  and
NetworkMessage::Reader classes need to know which QDataStream::Version
to use.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5991 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-10-21 18:56:29 +00:00
Bill Somerville
8479b6c2b6 Fix some frequency display and l10n issues
Frequency  display in  the  band  combo box  line  edit was  suffering
floating point precision issues.

Input of frequencies was not honoring current locale rules.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5881 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-09-10 21:03:42 +00:00
Bill Somerville
f4fdc0c492 Resolve a long standing rig control corner case
This change allows serial control lines  to be forced high or low (DTR
or RTS)  while using the  other (RTS, DTR) for  PTT on the  CAT serial
port. It  is only needed  for some very  obscure and rare  serial line
powered interfaces.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5869 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-09-09 12:16:22 +00:00
Bill Somerville
08e86d8c56 Fix a Windows packaging issue
For some reason the inclusion  of referenced libraries was not finding
the right libraries when using CMake 3.3 and Qt 5.5. This was probably
a long standing defect that was benign until teh above versions.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5868 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-09-09 12:16:14 +00:00
Bill Somerville
7176d822fb Fix a typo in the INSTALL document.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5825 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-08-28 20:37:03 +00:00
Joe Taylor
54c9ebec74 Update Tx frequency to the WSPR value after change to WSPR mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5772 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-08-10 14:18:57 +00:00
Steven Franke
a9ed7a04d9 Make fano.c decode 31 tail zeros instead of just 30. This decreases the probability of bad decodes somewhat.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5746 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-08-02 23:18:51 +00:00
Bill Somerville
29146ca41e Remove unused member variables
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5744 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-31 12:17:24 +00:00
Bill Somerville
eca29808ec Switch to version of GetPrerequisites.cmake submitted to CMake
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5743 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-31 11:14:31 +00:00
Joe Taylor
50b307f905 Update Makefile.win32 for building wsprd_exp.exe.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5739 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-30 12:30:05 +00:00
Bill Somerville
3e7d273b57 Work around warning when using CLang++ with Qt5.5 headers
The latest Qt headers try and  disable a compiler warning that CLang++
doesn't support.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5732 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-29 10:28:48 +00:00
Bill Somerville
e54bd9441a Temporary fix for dumpbin.exe issues with MinGW 4.9
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5729 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-28 18:12:55 +00:00
Bill Somerville
a948f7a2bd Qt 5.5 uses a plug in audio back end on Windows
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5728 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-27 19:30:21 +00:00
Bill Somerville
7ec4d1a109 Qt 5.5 compliance
The  header QMetaType  must now  be  included explicitly  if no  other
header includes QObject.

Adjust band  combo box  layout settings  to ensure  it is  rendered at
minimum content size otherwise it  stretches the signal meter width to
an ugly extent.

Also retired the "frequencies" settings  file key so that upgrades and
downgrades  between  1.5 and  1.6  no  longer require  rebuilding  the
working frequencies list.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5727 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-27 18:11:06 +00:00
Bill Somerville
1937612685 Remove Tab 1/2 differences from UDP interface
The UDP "Free  text" message comamnd should  not expose implementation
differences between tab one and tab two. The "send next" capability is
not available on  tab two so use  of it has been removed  from the UDP
interface.

The ability  to trigger  the immediate  (or in next  Tx period  if the
current period  is Rx) sending  of the  current free text  message has
been added to the UDP interface. This is done by sending a "Free text"
UDP message containing an empty text message with the "Send" flag set.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5725 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-27 11:34:11 +00:00
Steven Franke
1c41850d3d Remove redundant comparison.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5724 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-27 00:46:32 +00:00
Steven Franke
4be15b71f4 Decrease memory footprint of stack and improve stack decoder efficiency.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5723 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-26 14:09:25 +00:00
Steven Franke
8ca565516e Add stack decoder files.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5722 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-25 23:50:29 +00:00
Steven Franke
6951499db3 Move hashtab onto the heap. Add new wsprd_exp with stack decoder option (jelinek.c)
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5721 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-25 23:48:53 +00:00
Bill Somerville
f7fd69cf5d Ensure installer works on Mac case sensitive HFS file systems
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5720 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-25 23:03:01 +00:00
Bill Somerville
76eed0ecc4 Start dealing with thread related object lifetime issues
There are  several object  lifetime issues that  can cause  crashes on
application close down.  This change  is the first phase of addressing
these issues.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5719 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-13 11:00:55 +00:00
Steven Franke
310481bcaa Correctly handle pctx=0.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5718 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-13 01:12:28 +00:00
Steven Franke
27061057f7 Minor tweak to WsprTxScheduler.cpp
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5717 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-12 14:12:31 +00:00
Bill Somerville
5e3ec0e891 Move pseudo RNG seeding to start of application
Also switched  to qrand() in place  of rand() where possible  as it is
thread safe.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5716 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-12 10:28:28 +00:00
Steven Franke
5e2507e179 WsprTxScheduler improvements.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5715 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-12 01:06:24 +00:00
Bill Somerville
0a7bf935bc Fix regression in CAT sequencing from r5700
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5714 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-11 22:50:05 +00:00
Bill Somerville
ca5a1ed348 Make WSPR band hopping tuneup Tx dependent on Enable Tx button state
Tuneup is  now only  possible with  Tx Enable  checked, if  no message
transmission is required with  tuneup transmissions then Tx percentage
zero must be selected along with Enable Tx.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5713 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-11 22:49:56 +00:00
Bill Somerville
1c8d8f749c Ensure that the WSPR Tx percentage is correctly initialized
Also tidied some code up.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5700 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-07 19:02:25 +00:00
Joe Taylor
4f64ed80a8 Fix bug in JT4 decodes with MinW=G.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5690 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-06 17:26:40 +00:00
Steven Franke
ac822b3ed7 Add drift estimate refinement and other minor tweaks.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5685 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-04 19:52:57 +00:00
Bill Somerville
e0d4a2b2fb Update decodes widgets when entering and leaving WSPR modes
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5674 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-03 17:33:20 +00:00
Bill Somerville
2c3a258800 Manage .c2 files in the same way as .wav files.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5673 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-03 17:33:13 +00:00
Bill Somerville
45623b60b9 Only delete last .wav file on exit if it is not to be saved
Also enhanced  delete .wav  files menu  entry to  delete .c2  files as
well.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5672 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-03 17:33:05 +00:00
Bill Somerville
b8e67a5809 Allow DTR line to be forced alongside hardware flow control
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5671 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-03 17:32:57 +00:00
Steven Franke
99442421de Add -d deep search option.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5669 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-03 15:05:09 +00:00
Steven Franke
03b3b1a47d Fine tuned sync-search and iifac. No more quickmode on second pass.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5668 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-03 02:39:38 +00:00
Bill Somerville
9ad2739d6a Handle includes on a per target basis
Bring wsprd and wsprsim in to line with general includes scheme.

Use   Qt5    exported   library    definitions   in    preference   to
qt5_use_modules() which is deprecated.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5663 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-02 17:14:05 +00:00
Steven Franke
6296a1b42b Signficant decrease of time spent in sync_and_demod(0) and 1.5% more spots
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5660 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-02 01:17:52 +00:00
Bill Somerville
f38a8cdf3e Revert to default stack allocation for wsprd
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5658 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-01 20:05:42 +00:00
Steven Franke
15618e4b16 Move some arrays to heap storage.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5656 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-01 19:33:40 +00:00
Joe Taylor
5250e0765a Only one text window in WSPR and Echo modes, even if "Show DXCC" is enabled.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5651 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-01 17:38:18 +00:00
Bill Somerville
4445cc6b9b Increase stack space for Windows wsprd
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5647 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-01 13:37:17 +00:00
Steven Franke
de84b28e8e Move wsprd_exp.c to wsprd.c, making two-pass decoding the default for wspr mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5644 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-30 22:03:07 +00:00
Steven Franke
77b488c075 Store decodes in a struct and sort by frequency before printing.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5636 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-28 14:01:23 +00:00
Steven Franke
2bd580d970 Temporarily commented out timf2 in wspr_downsample.f90.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5635 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-28 01:35:33 +00:00
Joe Taylor
87c0c7b540 Add Makefilw.win32 for test builds of wsprd-exp.exe on Windows.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5631 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-26 15:42:11 +00:00
Bill Somerville
3dd824ad6b Make the main window more portable and font change capable
The Rx meter  is now a better  Qt citizen and can be  resized. Added a
more obvious peak signal indicator. It  is now a custom widget derived
from QFrame and is now directly added via promotion in Designer.

Added a custom  widget to act as  a letter spin box, this  is used for
sub mode control.  Switched the frequency tolerance widget  to a combo
box with preset  values so that it is more  uniform across systems and
font sizes.

Added container widgets  for group control of various  UI widgets such
as  QSO controls,  DX call  controls and  WSPR controls.  Introduced a
stacked widget to allow the WSPR controls to be swapped in in place of
the "QSO" controls. The "QSO" controls  are are the Rx, Tx and related
controls along with  the main tab widget with the  message buttons and
fields. This means  that the WSPR version of the  main window (and EME
Echo mode) are now much cleaner.

Increased the  size of the  rig control  widget and styled  its colour
using a dynamic property so that it  can be defined in the Designer UI
definition. Reinstated it  as a push button to do  a rig control reset
and retry after an error.

Reset most UI widgets to default properties, particularly removing any
fixed sizes so that they can resize freely when fonts are changed. The
overall layout is now controlled almost exclusively by stretch factors
on some of the rows and columns of the various grid layout managers.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5630 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-25 22:41:13 +00:00