Commit Graph

327 Commits

Author SHA1 Message Date
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
Bill Somerville
bd07a6e755 Add default QDateTime delegate editor 2019-05-04 01:02:16 +01:00
Bill Somerville
b79cf0df99 Improvements to accessibiity
Where  tool  tips are  defined  in  rich  text, equivalent  pain  test
accessible descriptions have been added  so that screen readers do not
announce HTML tags.

Refactored date time  delegates to use a simpler default  editor via a
default  item editor  factory for  QDateTime values,  the editor  is a
standard QDateTimeEdit with a format that includes seconds and renders
assuming the time is UTC.

Modified the Cabrillo log and Fox log database table models to provide
QDateTime items  for the edit role  of date time fields,  and formated
date time strings including seconds and assumed as UTC for the display
role.
2019-05-03 10:21:50 +01:00
Joe Taylor
8104d80998 Merge branch 'release-2.1.0' of bitbucket.org:k1jt/wsjtx into release-2.1.0 2019-04-30 16:03:01 -04:00
Joe Taylor
c7a388f740 Send FT4 audio frequency to PSK Reporter. 2019-04-30 16:02:26 -04:00
Bill Somerville
3916316a1c Merge branch 'release-2.1.0' of bitbucket.org:k1jt/wsjtx into release-2.1.0 2019-04-30 15:43:01 +01:00
Bill Somerville
b9e194b74f Revert to colouring just the OK Log QSO button to help with colour-blindness accessibility 2019-04-30 15:33:01 +01:00
Bill Somerville
b29a6d14ea Workaround for a crash on macOS when compiling with gfortran 8.3 2019-04-30 15:13:26 +01:00
Joe Taylor
b2d6238b63 Fix a bug that caused FT4 to do WSPR band-hopping. 2019-04-30 09:38:20 -04:00
Joe Taylor
1347f523de Allow RRR message in Tx4, in FT4 mode, if not using contest-style messages. 2019-04-30 09:17:34 -04:00
Bill Somerville
a8a1d8d0a7 Add background colour to Log QSO buttons as stronger visual cue 2019-04-30 04:47:30 +01:00
Bill Somerville
7de974a7ee Fix settings acceptance jumping from FT8 to FT4 mode 2019-04-29 19:53:59 +01:00
Bill Somerville
a28402c527 Avoid a crash when Rx samples arrive before wide graph plotter is ready 2019-04-28 22:20:24 +01:00
Steve Franke
3b8b871a7c Disable AP for mycall if more than 5 minutes since last Tx. Used to be 10 minutes. 2019-04-27 16:38:19 -05:00
Steve Franke
dc66304a65 Improve ALL.TXT formatting for JT9/JT65. Thank you to Sandro, IW3RAB, for submitting this fix. 2019-04-26 20:06:32 -05:00
Joe Taylor
a19d82e362 Fix a typo. 2019-04-24 09:30:02 -04:00
Joe Taylor
f308d5246e Make the contest serial number spinner visible, where it should be. 2019-04-23 20:20:45 -04:00
Joe Taylor
dc627cb48c Enable QSO types other than RTTY RU in FT4 mode. 2019-04-23 14:16:55 -04:00
Joe Taylor
eaf567747c Fix the "Tx2 for Tx3" bug when using RTTY RU messages. Needs further testing! 2019-04-22 09:42:28 -04:00
Steve Franke
64bd55910a Merge branch 'release-2.1.0' of bitbucket.org:k1jt/wsjtx into release-2.1.0 2019-04-19 15:14:14 -05:00
Steve Franke
25d07fd574 FT4: Hide AP Enable menu pick --- AP is always enabled, for now. 2019-04-19 15:14:08 -05:00
Joe Taylor
f78a9ec7df Insert June 7 timeout date. 2019-04-19 15:42:37 -04:00
Steve Franke
e8d17a9898 FT4: Subtraction is basically working. 2019-04-18 14:16:39 -05:00
Steve Franke
be72461142 FT4: Some groundwork for subtraction. 2019-04-18 14:15:24 -05:00
Joe Taylor
f7b0e24e70 Correct a flaw in recently modified actions for key F6. 2019-04-17 14:53:20 -04:00
Joe Taylor
5826aefedc Let "Best S+P" status time out after 2 minutes. Update the keyboard shortcuts.txt file. 2019-04-16 13:21:45 -04:00
Joe Taylor
b43d91240d New end-of-QSO sequencing logic (possibly temporary) for CQing FT4 station.
When RR73 is received we log the QSO, turn "Call 1st" OFF, and call CQ again.
Also, allow Alt+C and F6 (the latter only if altenrate F1-F6 bindings
are active) to toggle "Call 1st" ON/OFF.
2019-04-15 16:26:41 -04:00
Steve Franke
cd8ea16f40 FT8: Use GFSK waveform with BT=4.0 as reference for subtraction, for now. May want to change to BT=2.0 before v2.1 release? 2019-04-12 17:11:26 -05:00
Joe Taylor
56c1aacbc2 Remove a diagnostic qDebug(). 2019-04-09 22:03:59 -04:00
Joe Taylor
2633f6fb6d Make the label red, not the whole button. 2019-04-09 20:12:48 -04:00
Joe Taylor
2b42650a73 Make the "Best S+P" button red when activated. 2019-04-09 08:48:13 -04:00
Joe Taylor
20bed38323 Best S+P activates only when not transmitting. 2019-04-08 13:18:30 -04:00
Joe Taylor
6e1d5ea1d8 BestSP calls New DXCC as well as New Call on Band. 2019-04-08 12:52:23 -04:00
Joe Taylor
b6032277d0 The "Best S+P" button is now functional. Needs testing! 2019-04-08 12:36:05 -04:00
Joe Taylor
ec97d0410e Possibly temporary: add a "Call Best" button for S+P use in FT4 mode. 2019-04-07 21:08:38 -04:00
Joe Taylor
964c148794 Fix the UTC displayed at left of waterfall in FT4 mode. 2019-04-07 13:36:29 -04:00
Bill Somerville
13e721dfb7 Merge branch 'feat-ft4sync' into develop 2019-04-05 11:26:42 +01:00
Bill Somerville
8d3bb379f9 Merge branch 'release-2.1.0' into develop 2019-04-05 11:15:21 +01:00
Joe Taylor
7f61c7a07b Reactivate the not-GA timneout message, for -rc3. 2019-04-04 16:20:07 -04:00
Joe Taylor
ed80b9c7e4 Remove "TU; " from a double-clicked message before processing it. 2019-04-04 12:47:10 -04:00
Joe Taylor
e49e80ffb7 Enable the "TU; ..." message in FT4 mode. 2019-04-03 13:15:23 -04:00
Joe Taylor
5aba83b9df Fix another minor FT4 flaw. 2019-04-03 11:49:39 -04:00
Joe Taylor
f24d45cb17 Fix a flaw in FT4 auto-sequencing. 2019-04-03 11:13:47 -04:00
Joe Taylor
6ea9f4990d Several tweaks to FT4 simulation and decoding procedures. Now -0.5 < DT < 0.5 2019-04-03 10:13:50 -04:00
Joe Taylor
013c06b6ca Fix a probmel with decoding FT4 from .wav files. 2019-04-03 09:25:32 -04:00
Joe Taylor
c8dae29425 Synchronized FT4 auto-sequencing now works. 2019-04-02 13:27:55 -04:00
Joe Taylor
181e5c7b9d Remove unused code left over from asynchronous FT4 mode. 2019-04-02 13:16:06 -04:00
Joe Taylor
d579e5973e Correct the size of saved FT4 .wav files. 2019-04-02 13:04:40 -04:00
Joe Taylor
fd239d9c07 Clean up some timing issues with time-synchronized FT4. 2019-04-02 11:39:28 -04:00
Joe Taylor
888b5fee28 Make "Tx 1st/Even" visible in FT4 mode. 2019-04-01 14:40:16 -04:00