Commit Graph

376 Commits

Author SHA1 Message Date
Joe Taylor
b6e2fa82c0 Update copyright notice to 2020. 2020-04-10 11:19:42 -04:00
Joe Taylor
c188f8ee89 More cleanup of the display of special JT65 decoding modes: avg, deep, AP. 2020-04-09 13:56:35 -04:00
Joe Taylor
0390791090 Fix some problems with message averaging, etc., in JT65 with VHF features enabled. Needs further testing! 2020-04-08 16:56:28 -04:00
Joe Taylor
9d2b2b1a56 Maintain visibility of AvgMsg window when it has been activated. 2020-04-08 10:56:11 -04:00
Joe Taylor
d69da851c1 Fix the 'OO O' display problem for some JT65 decodes. 2020-04-07 18:26:30 -04:00
Joe Taylor
c46ec025e0 For "D4C/B HK76": Make FT8 beacon transmissions only at top of a UTC minute. 2020-04-07 09:39:48 -04:00
Steven Franke
3f7b06853e Make wspr work again. 2020-03-21 14:44:17 -05:00
Joe Taylor
a39470cb6f FT4 should always use RR73 in Tx4. 2020-03-20 09:32:02 -04:00
Joe Taylor
fe33bcdd6c More cleanup after making "Save None" mean NO SAVING AT ALL. 2020-03-19 15:41:18 -04:00
Joe Taylor
7de6b8c98d Remove diagnostic writes. Don't save .wav files if "Save None" is selected. 2020-03-19 14:46:41 -04:00
Joe Taylor
d4d37c49ab Silence compiler warnings. 2020-03-19 12:04:56 -04:00
Joe Taylor
7564301209 Silence compiler warnings. 2020-03-19 11:43:22 -04:00
Joe Taylor
aff8229fef For non-FT8 modes, reset m_nDecodes to 0 after receiving <DecodeFinished>. 2020-03-17 14:39:15 -04:00
Joe Taylor
2653626d45 Replace the changes I removed by executing 'git reset HEAD~'. 2020-03-16 10:27:22 -04:00
Joe Taylor
3962aa3c43 Replace hijacked ss(1:3,1) with a separate ipc(3) array. 2020-03-15 14:25:56 -04:00
Bill Somerville
46638f6f07
Add shared memory synchronization to make access safe 2020-03-15 00:25:35 +00:00
Joe Taylor
649a79dfc1 New IPC trial: use shmem instead of .start .stop .quit files. 2020-03-14 17:06:54 -04:00
Bill Somerville
523e9a1a07
Enhanced process control for jt9 executable
The wsjtx  process creates control  files .start, .stop, or  .quit and
the jt9  process deletes  them.  This  is intended  to avoid  any race
conditions that get the processes out of sync.
2020-03-14 00:01:54 +00:00
Joe Taylor
ebf4952c7c Auto-clear of hung decoder status. 2020-03-13 14:25:12 -04:00
Joe Taylor
8151816c84 Change formats of diagnostic writes so that GUI and Fortran output can be sorted together. 2020-03-13 11:25:22 -04:00
Joe Taylor
fedb72a38c Set m_nDecodes=0 only after the 50-buffer decode pass. 2020-03-12 16:52:19 -04:00
Joe Taylor
afe0262ec9 Previous commit message should have mentioned number of decodes is now displayed on status bar. 2020-03-12 15:11:20 -04:00
Joe Taylor
8e7685ea36 Do not alolow bailouts when data were read from disk. 2020-03-12 15:07:56 -04:00
Joe Taylor
6e308f0018 More attempts to diagnose or fix the FT8 "hung decoder" issue.
On the Fortran side:
 - For the nzhsym=41 activation, bail out if m_ihsym reaches 45
 - For the nzhsym=47 activation, bail out if m_ihsym reaches 48
 - Change the format and content of what's written to fort.71
 - Change msdelay from 10 to 1

In mainwindow.cpp:
 - change format and content of what's written to qDebug
 - always start FT8 decoder at m_ihsym = 41, 47, and 50
2020-03-12 12:33:34 -04:00
Bill Somerville
6a7263dc94
Add escape route from retries of IPC errors 2020-03-11 22:38:41 +00:00
Bill Somerville
c58a690bf1
Add error checking to jt9 process control by .lock/.quit files 2020-03-11 22:26:41 +00:00
Joe Taylor
4d9c9e08e2 If 47-buffer call takes too long, start the 50-buffer call late. 2020-03-11 16:03:51 -04:00
Joe Taylor
d69cb49e9a Diagnostic writes to fort.71 in jt9a.f90. 2020-03-11 14:02:19 -04:00
Joe Taylor
199ff3dd3d Experimental work-around for FT8 decoding on slow computers. Important changes:
- don't start function decode() is decoder is already busy
  - send updated m_ihsym to jt9[.exe] via ss(1,1).  Bill won't like this!
  - jt9 bails out of the 41-buffer pass at m_ihsym=45.
2020-03-10 16:26:42 -04:00
Joe Taylor
592f4eea71 Remove a qDebug() call. 2020-03-09 15:29:57 -04:00
Steven Franke
f2266c3c54 1. subtractft8: on the last call to sqf, don't need to do the long FFT.
2. mainwindow.cpp: based on the time when <DecodeFinished> is received, calculate
mswait to try to place the killFile time at 0.75*m_TRperiod.
2020-03-06 11:06:44 -06:00
Joe Taylor
431ec50212 Progress toward decoding at 41/47/50 buffers. Not yet complete! 2020-03-05 15:37:31 -05:00
Steven Franke
6773768586 Clean up the timestamp adjustment logic, and make the threshold 0.5*TRperiod. 2020-03-05 11:25:49 -06:00
Steven Franke
07c753e284 Make ALL.TXT Rx timestamp equal to the beginning of the TR period, even if the decode comes in after the start of the next TR period. Make Tx timestamp the actual time that Tx started. 2020-03-05 11:16:56 -06:00
Joe Taylor
8e7a56634b Set nearly=41; don't write <DecodeFinished> after the early decode pass. 2020-02-28 15:03:39 -05:00
Joe Taylor
b9888a09ff Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-02-26 13:16:12 -05:00
Joe Taylor
6afff5821e Correct the times written to ALL.TXT when decode occurs after the T/R boundary. 2020-02-26 13:15:22 -05:00
Steven Franke
0ca6cbb575 wsprd: improve decoding and reduce the number of false decodes
Hashtable entries now include the 4-digit grid obtained from the most
recent Fano decode of the callsign. The stored grid is used to validate
OSD decodes. OSD decodes of type 1 messages are accepted only if the
callsign is present in the hashtable and if the grid matches the grid
stored in the hashtable.
2020-02-25 10:48:38 -06:00
Joe Taylor
4a4864d2ae FT8 early decoding is now working. 2020-02-13 15:05:37 -05:00
Steven Franke
70b84478f0 Add WW_DIGI to the special activities section. Make necessary changes to
the decoders. Also, an experimental change to the FT4 decoder to base
AP decoding passes on 4-symbol block detection instead of single symbol
detection. This provides about 1 dB improvement on the AWGN channel.
Sensitivity changes on other channels are TBD.
2020-01-24 11:26:36 -06:00
Steven Franke
a63e6e1209 - Force the use of standardized CQ modifier for FT4/FT8 contest operation.
- Pass CQ modifier string to the ft4 decoder.
2020-01-08 08:41:47 -06:00
Bill Somerville
75c9e1d696
Fix a patching error 2019-12-29 12:34:02 +00:00
Bill Somerville
5e3781e9e9
Correct some UI text typos
Thanks to Christoph, DF7CB, for providing a patch for these typos.
2019-12-29 12:25:59 +00:00
Bill Somerville
5a23edbbae
Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2019-12-08 18:42:06 +00:00
Bill Somerville
485f787cef
Increase maximum SNR filter value in Fox mode to 70dB
This change abandons the previous settings file key for this control
so that all users pick up the new default of 70dB.
2019-12-08 18:39:37 +00:00
Bill Somerville
32c36f566d
Use DB date time field item delegate to imbue editing in log windows 2019-12-08 18:37:35 +00:00
Joe Taylor
7540d2137a For accessibility: Alt+R sets Tx4 message to RR73, Ctrl+R to RRR. 2019-12-05 11:27:17 -05:00
Bill Somerville
fb1b2e7687 Tagging the WSJT-X v2.1.1 release
-----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEEUELwYiy7vDRM+hTD2GSwbR6BYY8FAl3a8/QACgkQ2GSwbR6B
 YY8y+ggAqwaaCRMCSwDzStooYjStJErVoZ/yB//MmoF+798TBb+3MkiT+KclW7aN
 rxTOmEJ+a84PmsiW6Qz/AAcHPnbKDhtwWASZooopgNYDfgyaUib3HfIa+cFJO6my
 OUzlTsH94yDxeBCWOtf1dLiP0YwJKfp/vxzbfDAWXTd4dx3Ok/7KwghYocmP3eCq
 ruZ+dWojQzwE+h50P6B9gTFxGWMHUDDNeZ/c8u494wqDQvQaRoM9oOnQWzlGiMis
 JaerraI52JEdFLnXjtLYeyXtfg+zA0KvRY2DWy1aCPpGkNjy3DPNlOA+cDQpzBru
 NIqsUF+GplgkVs3sKNLXq36ZgaBQBg==
 =5w4B
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEEUELwYiy7vDRM+hTD2GSwbR6BYY8FAl3a9R8ACgkQ2GSwbR6B
 YY9SWQf+JdfIvlHy8ExSs9ImCLck/e66V2OAqaEONQX1bEC4QiG3M/rVJGgf2iFz
 ZFshtilsajlpsYZQIFToTmJmI76eGLAmyNIcZN2WpcJQMNWZnxqklMj2wIHbRh+g
 Pvw3FC+lc4LUjZCCMYrVjNXxsRmQtjqV1lVFBnmrAWCdrgHmhyrVbPZT4B+fRTXL
 ikw/BiRgxhI0aoIWKzNrtztMYUBjanKLTHE81AVgsgZkBDNybOjR7mE2E/Jwc4Qx
 mVu+Z0uI+bVuBlMOrqp0K+rrUz7qMZe5/AMSRbgzwfueEOIShgu2wrfV++3JDXLH
 AhtIAcL/b39RBx0jkFE8rBKaZpkoAw==
 =DNp6
 -----END PGP SIGNATURE-----

Merge tag 'wsjtx-2.1.1' into develop

Tagging the WSJT-X v2.1.1 release
2019-11-24 21:24:39 +00:00
Joe Taylor
849e8c7c55 When using EU VHF Contest messages, update the received exchange m_xRcvd only if decoded messages is addressed to me. 2019-11-18 14:00:42 -05:00
Bill Somerville
58c901240b
Use call, mode, and frequency from Log QSO for worked before records
The current frequency,  mode and, call were incorrectly  being used to
create a new  worked before record from a logged  QSO. This meant that
band changes  etc. made  before clicking  "Ok" to log  a QSO  would be
erroneously attributed to the worked before records.
2019-09-17 21:04:34 +01:00
Bill Somerville
a3efe8117c
Qualify regeneration of GFSK message regeneration to only when Txing 2019-09-07 21:23:39 +01:00
Bill Somerville
137bc1ccab
Tx waveform regeneration for GFSK modes Tx audio offset change 2019-08-15 15:20:45 +01:00
Bill Somerville
cefadfeaa3
Disable auto Tx before logging dialog shown even if disable Tx on 73 is not set 2019-08-13 00:20:40 +01:00
Joe Taylor
79b805b0e7 The start of some code for computing QSO points in WWROF/SCC digi-contest. 2019-08-08 09:55:08 -04:00
Joe Taylor
f265fa83f5 Disable the "not GA" warning message. 2019-07-18 15:30:33 -04:00
Bill Somerville
28f5cb0fb9 WSJT-X General Availability Release v2.1.0 wsjtx-2.1.0
-----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEEUELwYiy7vDRM+hTD2GSwbR6BYY8FAl0qXxcACgkQ2GSwbR6B
 YY/ZGAf8Da+a+83dpnj5dnosIKWwSwgpiWHY0JKzm8fp0n3hcs5+rV1/gM81xXKT
 J3lbHWykGzMYlZNoEw3eNwQbXzOCf/7mOaeTKJQnBLukMpTLmsz5b5nYaCjvvRGM
 6HKSddNS3Q4iz4qdakOgWnqdZeYJkRR3Z3XsTmlrG02GsSVlbXzOEyceooqM6EGd
 w5WTkvpls+43OzwcGJ50SHzPlBAJYycE9vrAxxFOxU2fhqRRD/ttMZmUmjRY7Iqa
 jRRQ39K1Io7i9QG/3V6FBZDttqeFfvvlkVzH0/TeMeCUOQiKbzuGxM01PJ6be7D1
 H114v5l06GH56T7qpaF0IB2ZStkbrA==
 =voDy
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEEUELwYiy7vDRM+hTD2GSwbR6BYY8FAl0qX30ACgkQ2GSwbR6B
 YY8p0QgAgt8Y/yLCyFw0+wfO2h8yIFyh2j1c8EfBf0+I/2xaIYMUfPPlmC3jkWhw
 mtoCJVKkpCNcxr9mo6wjQp7x90pRUH3k78O0VtzbKWz7lveoN7Vguo+iVHDbEhUA
 a9E6yMwvskH5Mr6+cFiS4EVYyjAsuG/BL+4FFMDUVQOaKXNBbgJuc2mjpHkcnEbK
 C+XUxipcAUElH1Ks90eHT/vLoowAOP9jo0xSR1RqJMJlaKHxWZivsBCfQdI1xxn0
 arlQO3bjIsxyNq/Ru7XWV5C56JmWjoPWCcqt5GRrNJLwGw/haSuDIMURaE/vrMif
 csar293vcm5PzuTADArTQkhqK951pQ==
 =1mJJ
 -----END PGP SIGNATURE-----

Merge tag 'wsjtx-2.1.0' into develop

WSJT-X General Availability Release v2.1.0 wsjtx-2.1.0
2019-07-13 23:47:18 +01:00
Joe Taylor
ced74644fd On startup or switching to QRA64 mode, set Tx and Rx audio freqs to 1000 Hz. 2019-07-09 14:59:34 -04:00
Bill Somerville
01aaa852e3
Updates to support Qt v5.13
Replacement of deprecated Qt functions and member functions.
2019-07-08 01:37:04 +01:00
Bill Somerville
ab9675c2a7
Squash several compiler warnings 2019-07-03 01:51:40 +01:00
Bill Somerville
40cf45c259
Squash a compiler warning 2019-07-03 01:25:25 +01:00
Bill Somerville
cee3c9796f
Squash a compiler warning that was also a potential defect 2019-07-03 00:16:39 +01:00
Bill Somerville
a27668428b
Cleaner warning sidestep 2019-07-02 21:07:43 +01:00
Bill Somerville
e7ace39e44
Fix a warning 2019-07-02 19:33:09 +01:00
Chris Karpinsky
a30d97fb57 Merged develop into feat-refactor 2019-07-02 13:11:40 -05:00
sirhc808
dd53e8d348 incorporate code review feedback 2019-07-02 13:00:32 -05:00
sirhc808
1f57ba5fec improve physical structure 2019-07-02 12:45:05 -05:00
sirhc808
27d4471cde Merge branch 'ft9_refactor' into feat-refactor
# Conflicts:
#	CMakeLists.txt
#	lib/ft4/getcandidates4.f90
#	lib/ft4/sync4d.f90
2019-07-02 12:06:14 -05:00
sirhc808
ee5d5c8ae9 improve physical structure 2019-07-02 10:19:43 -05:00
sirhc808
84fd0ed7c7 clean up a few warnings 2019-07-01 21:10:43 -05:00
Bill Somerville
1968597783
Merge branch 'release-2.1.0' into develop 2019-07-02 00:18:22 +01:00
Bill Somerville
adcf202637
Repair a crash when decoding ISCAT
Passing a  auto stack variable to  a future is  not a good idea  as it
will almost certainly  go out of scope before the  future has finished
executing.
2019-06-30 12:17:17 +01:00
Bill Somerville
c65d832356
New UDP messages to close and reconfigure WSJT-X plus more status fields
The Status(1) message acquires the new fields Frequency Tolerance, T/R
Period,  and  Configuration Name.  The  Rx  DF,  Tx DF  fields  become
unsigned (this should be a benign change which is just for correctness
as -ve values have never been possible).

The   Close(6)  message   becomes  bi-directional   allowing  external
applications to gracefully close down WSJT-X instances.

A  new  message SwitchConfiguration(14)  is  provided  that allows  an
external application to  switch the current configuration  of a WSJT-X
instance.

Another  new  message  Configure(15)  is provided  to  allow  external
applications to adjust some key parameters like the mode and submode.

See the  NetworkMessages.hpp header  commentary for full  details. The
UDPExamples/MessageAggregator reference  application has  been updated
to be able to exercise all of the above changes.

Note   that   this   commit   enforces  stricter   checking   on   the
"Settings->Reporting->Allow  UDP  requests"   option,  which  must  be
checked  before  any state  changing  incoming  messages to  a  WSJT-X
instance are processed.
2019-06-25 14:35:58 +01:00
Bill Somerville
91aa591a71
Better ADIF conformance for ARRL Field Day mode
This change may break N1MM Logger+ integration, notably the CLASS ADIF
field is  populated which may not  be recognized by N1MM  Logger+, nor
interfaces to it.

One exception to  ADIF conformance is that the ARRL_SECT  field may be
populated with  the value DX  despite it  not being a  valid ARRL_SECT
enumeration value. This is done for consistency with N1MM Logger+ ADIF
exports.
2019-06-24 00:56:41 +01:00
Bill Somerville
3f5a996842
New UDP message SwitchConfiguration(14) to switch to an existing configuration
The Status(1) message also acquires  the current configuration name as
a new  field. See  NetworkMessage.hpp for  details. The  UDP reference
example program message_aggregator acquires the ability to display and
change  the configuration  of a  WSJT-X client  to exercise  these new
features.
2019-06-13 01:44:28 +01:00
Bill Somerville
ef21239a9b
Merge branch 'f2008' into release-2.1.0 2019-06-07 17:24:30 +01:00
Bill Somerville
067692cd1e
Disable automatically enabled toolbar on Mac
Qt automatically adds a "Menu->View->Show Tab Bar" button, this
change disables that as we don't have a tool bar or tab bar.
2019-06-07 17:21:57 +01:00
Bill Somerville
77094c88bf
Merge branch 'release-2.1.0' into f2008 2019-06-07 17:17:01 +01:00
Joe Taylor
3ff672705f Change the F11/F12 frequency increments for FT4 to +/- 90 Hz. 2019-06-06 14:14:11 -04:00
Joe Taylor
9c3c5d6b3c Turn Tx Enable to OFF after logging a QSO, even if "Clear DX call and grid after logging" is not checked. 2019-06-06 11:58:52 -04:00
Bill Somerville
f346d37fd6
Modernize Fortran interfaces that are called from C/C++
Making Fortran  interfaces called from other  languages fully portable
avoids issues with newer Fortran compilers.
2019-06-06 15:00:47 +01:00
Bill Somerville
45b12e6028
Preparation for UI i18n
Re-enabling the WSJT-X i18n  facilities. This allows translation files
to  be created  for languages  that are  automatically used  to lookup
translatable strings. To enable a  new language the language name must
be added to the CMakeLists.txt LANGUAGES list variable in BCP47 format
(i.e. en_US,  en_GB, pt_PT, ...). Do  one build with the  CMake option
UPDATE_TRANSLATIONS enabled  (do not  leave it enabled  as there  is a
danger of loosing existing translated texts), that will create a fresh
translations/wsjtx_<lang>.ts file which  should be immediately checked
in with the  CMakeLists.txt change. The .ts should then  be updated by
the translator using  the Qt Linguist tool to  add translations. Check
in the  updated .ts file  to complete the initial  translation process
for that language.

To  aid translators  their WIP  .ts file  may be  tested by  releasing
(using the  lrelease tool or  from the Linguist  menu) a .qm  file and
placing  that  .qm  file  in the  current  directory  before  starting
WSJT-X. The translations will be used if the system locale matches the
file name.   If the system  locale does not  match the file  name; the
language may be  overridden by setting the  LANG environment variable.
For  example if  a wsjtx_pt_PT.qm  file  is in  the current  directory
WSJT-X will use it for  translation lookups, regardless of the current
system locale setting, if the LANG variable is set to pt_PT or pt-PT.

On MS Windows from a command prompt:

 set LANG=pt_PT
 C:\WSJT\wsjtx\bin\wsjtx

elsewhere:

 LANG=pt_PT wsjtx
2019-06-06 12:56:25 +01:00
Bill Somerville
ca41934b68
Repair an object instance initialization order issue that causes crashes
The  background  thread  running  the  ADIF log  load  needs  a  valid
configuration object as  it now depends on the  "Include WAE entities"
option.
2019-06-03 00:35:20 +01:00
Bill Somerville
19c46774b4
Moving toward multiplier and dupe detection for contest modes
There's not  much to show  for this so far  but some of  the necessary
infrastructure is in place.
2019-05-30 22:20:09 +01:00
Bill Somerville
381faca99a
Add option to include or exclude WAE extra entities in DXCC entity lookups
Also  refactored  object  relationships  as a  start  to  implementing
contest multiplier highlighting.
2019-05-29 23:35:18 +01:00
Bill Somerville
a54140582a
Tidied up cut-off criteria 2019-05-29 20:47:11 +01:00
Joe Taylor
dce016f6eb Disable RC6 during ARRL June VHF contest, Field Day, and after July 21, 2019. 2019-05-28 12:09:34 -04:00
Bill Somerville
67ab7c7b8b
Add Alt+O hotkey to change the operator quickly without going to the Settings dialog
Thanks to Jim, W2JC, for suggesting this enhancement.
2019-05-28 12:18:54 +01:00
Joe Taylor
a521000775 No need to test FT4 and FT8 messages for trailing "f" or "d" indicators. 2019-05-24 11:04:30 -04:00
Joe Taylor
d5cd9db696 In FT4 mode, Shift+F11/F12 should move Tx freq by +/- 100 Hz. 2019-05-24 10:42:30 -04:00
Joe Taylor
637d4d0411 "Force Call 1st" must also force AutoSeq. 2019-05-24 08:31:56 -04:00
Joe Taylor
7334ebb20b New user option: "Calling CQ forces Call 1st". 2019-05-23 14:31:08 -04:00
Joe Taylor
dfedc40db1 Fix some timing issues resulting from non-integral m_TRperiod for FT4. 2019-05-23 13:24:35 -04:00
Joe Taylor
8761ccef9b Received data length for FT4 should be 21*3456 = 72576 samples = 6.048 s. 2019-05-23 09:23:58 -04:00
Steve Franke
a9623703b3 FT4: Change Fortran code to NSPS=576 and make necessary accompanying
changes on the C++ side. Basically works except that Tx audio has
incorrect DT and audio is truncated at the end. Also, command line
decoding using JT9 is not as sensitive as decoding from within WSJT-X.
2019-05-22 17:02:15 -05:00
Joe Taylor
912e40876a Disable the "not_GA_warning_message", for now. 2019-05-22 13:06:16 -04:00
Joe Taylor
0d3be0128b Change m_TRperiod from qint32 to double. Functional, but needs more testing! 2019-05-22 12:44:28 -04:00
Bill Somerville
1c3b554384 Revert "Log buttons"
This reverts commit 9e75b5c2b5.
2019-05-06 22:25:06 +01:00
Bill Somerville
1a914e980b Revert "Add background colour to Log QSO buttons as stronger visual cue"
This reverts commit a8a1d8d0a7.
2019-05-06 22:25:01 +01:00
Bill Somerville
27a0182ab7 Revert "Revert to colouring just the OK Log QSO button to help with colour-blindness accessibility"
This reverts commit b9e194b74f.
2019-05-06 22:24:51 +01:00
Steve Franke
0d1b438b91 FT4: Fix generation of Tx5 when one callsign is nonstandard. 2019-05-04 09:33:53 -05:00