Commit Graph

257 Commits

Author SHA1 Message Date
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
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