Commit Graph

244 Commits

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