Commit Graph

1501 Commits

Author SHA1 Message Date
Bill Somerville
4e4142f5fd Fix local user manual on Mac.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4367 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-25 16:12:03 +00:00
Bill Somerville
fcc0563391 Get local user manual working on Linux systems.
The  location  of  documentation   files  on  Linux  distributions  is
controlled  to a  certain extent.  Using the  QStandardPaths::locate()
method helps us with this.

Work round the  misbehaviour of QCoreApplication::applicationDirPath()
when  the  CWD has  been  changed  by  working out  the  documentation
location before changing  the CWD to a temporary  directory. This path
is now provided by the Configuration settings class which also manages
other run time paths.

Updated  Debian packaging  to move  a little  nearer a  conforming DEB
file.

Added a basic manpage for rigctld-wsjtx.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4364 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-25 14:45:36 +00:00
Bill Somerville
87da310279 Removed temporary debugging print.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4363 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-25 12:53:46 +00:00
Bill Somerville
cb27e2c4b0 Add validation to message entry fields.
All message  entry fields on the  mainscreen and in the  macro editing
facilities are now restricted to valid characters in the JT65/JT9 free
text message alphabet.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4362 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-25 11:36:01 +00:00
Bill Somerville
fbc744e066 Fix several issues with shortcut keys.
Do not drop  through shortcut key handling so  that spurious responses
are avoided.

The keyPressEvent handlers must call the super class implementation if
the event os not handled.

Correct a typo in the shortcut help display.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4361 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-25 11:35:50 +00:00
Bill Somerville
e64037c61e Fix online manual URL.
Fix manpage destination.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4360 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-25 00:06:07 +00:00
Bill Somerville
7fad459036 Add local HTML help file to help menu.
So that a manual can be viewed without an Internet connection a second
manual action has been added to  the WSJT_X help menu. This shells out
to the default web browser with a local file target.

The build has been enhanced to install and package the current version
of the  HTML user manual  as downloaded from  the project web  site at
build time

The package  file locations have  been adjusted to be  compatible with
the QStandardPaths  class so that  its locate()  method can be  used to
portably access resources like this local help file

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4359 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-24 23:46:32 +00:00
Bill Somerville
d91bdf9201 Don't set sections options on Apple LLVM toolchain.
The  Apple  clang  LLVM  compilers  do not  support  the  gcc  options
data-sections, function-sections  and, gc-sections so we  must not add
them on Mac builds.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4356 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-24 17:26:38 +00:00
Bill Somerville
23bbac629e Remove unecessary property set.
The -mwindows  linker option  is not explicitly  required since  it is
added automatically to WIN32 executables by CMake.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4355 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-24 17:26:29 +00:00
Bill Somerville
6b9bf60db4 Correct case of allow Tx QSY setting label.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4354 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-24 17:26:21 +00:00
Bill Somerville
aaae37f6c3 Disallow mode changes from decode dbl-clicks when transmitting.
The message generation code doen't allow  for a mode change on the fly
so this has been disabled.

Also and  decode double click  that would  change a message  or change
mode or  change a frquency  that gets  disallowed is ignored  i.e. the
outgoing message is not changed either.

Remove a  duplicate Tx  message in  decode window that  crept in  in a
prior change.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4353 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-24 17:26:03 +00:00
Bill Somerville
758921d65e Ensure Plus 2kHz Check Box is disabled in Transmit when required.
The Plus 2 kHz check box should  not be enabled during transmit if the
"Allow Tx Frequency Changes While Transmitting" is not checked.

Also fixed a  defect that caused the disabled during  Tx state of some
widgets to not clear due to transmit or tune period being shorter than
a poll interval.   Fixed by ensuring PTT changes  are always signalled
rather than waiting for the next poll.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4352 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-24 17:25:55 +00:00
Bill Somerville
fd8da26ff4 Minimize Releaase Executable Sizes.
Use the  data-sections and function-sections gcc/g++  compiler options
to  create  sections  for  each   function  and  data  item  then  use
gc-sections in the link to discard all unreferenced sections.

This has most benefit if the hamlib library we statically link is also
compiled with data-sections and function-sections.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4351 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-24 17:25:38 +00:00
Bill Somerville
9295796134 Do not set split Tx frequency when rig changes frequency.
WSJT-X was attempting to set the split Tx frequency when a dial change
from the rig is detected. Because of the way some rigs and rig servers
report the Tx frequency  while the rig is in Tx  mode this was causing
the rig  to "walk" along the  band. Setting of split  Tx frequency has
been limited to WSJT-X initiated instances only.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4350 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-24 17:25:28 +00:00
Bill Somerville
a576aa3c06 Add facility to disallow CAT commands while transmitting.
Some rigs either do not honour some CAT commands while transmitting or
interpret them  incorrectly. To  deal with this  a settings  option to
allow TX  frequency changes while  transmitting has been added  with a
default value of off.

Any UI actions that directly or indirectly change the TX frequency are
guarded according to this new option. As well as this band changes and
use of  the +2kHz check box  are disabled and guarded  respectively in
transmit mode.

Mode changes via the menu are now disabled while transmitting.

When TX frequency changes are allowed; frequency changes are correctly
implemented while in tune mode.

Double clicking  decodes while  transmitting now  correctly regenerate
and change the message sent on the fly.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4349 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-24 17:25:19 +00:00
Bill Somerville
ec86773191 Apply frequency offset to TX frequency.
The frequency offset (transverter offset) was not being applied to the
setting of a split TX frequency.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4348 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-24 17:24:52 +00:00
Bill Somerville
f91a24b927 Fix infinite loop problems in CAT error shutdown.
The TransceiverBase class attempts to  turn off PTT on closedown, this
was  causing an  infinite loop  if the  close down  was due  to a  CAT
communications error.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4347 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-24 17:24:40 +00:00
Bill Somerville
ca9ed52f3a Rename packaged rigcld to avoid conflict with official install.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4345 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-23 15:40:05 +00:00
Joe Taylor
cade885d88 Fix a bug that can appear when unpacking compound callsigns.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4343 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-22 14:31:08 +00:00
Bill Somerville
cde23141e2 Turn on release candidate labeling for WSJT-X.
Use  the WSJTX_RC  variable in  Versions.cmake to  label and  identify
program and packages.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4338 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-18 22:32:27 +00:00
Bill Somerville
f924e1f4ff Fix quoting of preprocessor define for WSJT-X qmake.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4333 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-17 21:24:06 +00:00
Bill Somerville
9b71cbbc1f Add missing define in QtCreator WSJT-X project file.
The define PROJECT_MANUAL  is defined by the CMake  build system, this
has been  hard coded in  the wsjtx.pro file  to allow old  style qmake
builds to continue working.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4332 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-17 21:09:45 +00:00
Bill Somerville
dd99b11e4e Generate a file with HRD interface information.
To aid rapid  diagnosis of missing HRD support in  WSJT-X for untested
rigs the HRD  interface now writes a text file  with the available HRD
facilities for the  rig to the data directory.  The  intent is to have
users experiencing  problems interfacing  untested rigs to  sub,it the
file to us  (the developers) for analysis and updating  the regexps in
teh HRD interface to support their rig in the next release.

The text file is called "HRD Interface Information.txt".

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4330 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-17 15:17:32 +00:00
Joe Taylor
d6fe8612fa Update credits in the "About" message window.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4323 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-16 16:59:40 +00:00
Joe Taylor
ba47458615 Clean up the Tx Watchdog code.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4322 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-16 16:53:11 +00:00
Joe Taylor
e39f6dfc15 Resurrect jt9sim, in case we need it.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4305 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-11 15:32:22 +00:00
Joe Taylor
6e4abe317d More work needed...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4301 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-11 00:29:50 +00:00
Joe Taylor
6e8dc0925a Save a temporary test program.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4300 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-11 00:07:49 +00:00
Bill Somerville
35cde3e35a Install a Hamlib-3 version of rigctld with WSJT-X.
Because  WSJT-X currently  uses Hamlib-3  (statically linked)  it also
needs a  version of  rigctld with Hamlib-3  statically linked  for any
user that  wishes to  use the  "Hamlib NET  rigctld" CAT  interface to
remotly access a rig via IP using the Hamlib network control protocol.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4297 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-10 16:43:24 +00:00
Bill Somerville
2099db5ea9 Tidy up DX Lab and HRD interface implementations
Applied techniques  learned from  dealing with  HRD quirks  and TCP/IP
client   issues   on  Windows   to   the   DX  Lab   Suite   Commander
interface. These changes should hopefully make both the HRD and DX Lab
Suite CAT  interfacing more robust  in the  face of network  and other
latency issues or server failures.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4296 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-10 09:18:41 +00:00
Bill Somerville
098ec3f923 Similar TCP/IP retry mechanism for DX Lab as that used on with HRD.
Assume     the    defect     requiring    occasional     retries    of
QTCPSocket::waitReadReady() is  generic; the  same retry  mechanism as
used in  the HRD interface  has been impelemnted  in the DX  Lab Suite
Commander TCP/IP interface.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4295 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-10 09:18:32 +00:00
Joe Taylor
ff7ffe2943 Update text for mouse commands and keyboard shortcuts.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4282 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-09 14:46:48 +00:00
Joe Taylor
dcafdb6b99 Look for "txboth" as /tmp/txboth.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4271 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-08 14:57:26 +00:00
Bill Somerville
78f398f99c Ensure monitor mode is enabled when tune button clicked.
Monitor mode  was not  being enabled when  clicking the  "Tune" button
which could mean that neither split  mode nor the correct TX frequency
were being set.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4270 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-08 10:56:35 +00:00
Bill Somerville
3e5f6d61e4 Fix defect with initial split mode setting.
Split mode  was not being enabled  when enabling monitor mode  for the
first time if the rig split VFO was already at the required frequency.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4269 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-08 10:56:27 +00:00
Bill Somerville
91839b0340 Improved diagnostic messages from Hamlib interface.
Cleaned  up and  standardized many  the diagnostic  messages from  the
Hamlib interface and added a few new ones for clarification.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4268 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-08 10:56:18 +00:00
Bill Somerville
3ea0563e84 Improve socket write handling in HRD interface.
The TCP/IP socket write handling in teh HRD inteface was naive and did
not handle  incomplete writes t all.  This change loops until  all the
payload is written for each command sent.

Also error  handling is improved  so that a  socket in an  error state
cannot get used inadvertenly.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4263 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-07 23:42:10 +00:00
Bill Somerville
127e027671 Fix HRD button and drop down addressing defects.
Checks for existance of one button and one drop down were incorrect.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4257 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-06 21:09:09 +00:00
Bill Somerville
e8e5ffefe9 Change recent HRD retry to only retry reply check.
Because of  a possible Windows or  Qt defect in TCP/IP  received bytes
detection  it  seems  necessary to  retry  QTCPSocket::waitReadReady()
blocking calls after a time out response as there may actually be data
waiting.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4256 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-06 20:30:05 +00:00
Bill Somerville
7e2cf9b9e6 Fix rendering of examples in jt65code man page.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4255 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-05 18:53:55 +00:00
Bill Somerville
684b8edbd8 Reinstate building of jt65code and add jt9code and jt65code to deployment.
These programs are  mentioned in the user guide so  have been added to
the depolyable packages.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4254 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-05 18:36:10 +00:00
Bill Somerville
eccd80758a Define WSJT-X manual URL in a single place.
Since the manual URL is used in both the installer and the WSJT-X code
the definition of  the URL (CMake variable  PROJECT_MANUAL) is defined
in  the  CMakeList.txt file  and  propagated  to  the source  via  the
wsjtx_config.h header.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4252 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-05 17:10:01 +00:00
Joe Taylor
4e3afe3a32 Change the URL for User Guide to that for the new v1.4 guide.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4251 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-05 15:55:49 +00:00
Bill Somerville
8e50ba4924 Fix persistence of CAT serial/network port.
Enhanced the  logic for saving  and restoring to/from settings  of the
shared configuration field for CAT serial port and CAT network port so
that  old  values are  not  discarded  and  new values  are  correctly
recovered on restart.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4245 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-04 09:59:27 +00:00
Bill Somerville
8ec955ff37 Do not overwrite CAT/network port name after reading settings.
The CAT/network port name was being overwritten with the CAT port name
during startup so  if the port was  a network device it  was not being
persistent across restarts.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4243 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-03 21:59:04 +00:00
Bill Somerville
390a5d7a97 Add retries to HRD send command mechanism.
It appears  that the  HRD logbook  interferes with  the HRD  IP server
causing it  to fail to  respond to pending commands.  This enhancement
adds a number of retries to the send command to HRD operation.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4241 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-01 17:33:05 +00:00
Bill Somerville
d4e69f0b23 Make temp directory unique in test mode.
The Qt  test mode  that uses  special paths  for writeable  files (via
QtStandardPaths)  doesn't make  a special  temporary file  path.  This
change appends " - test_mode" to the WSJT-X unique temporary file path
so that an application run in test mode will not interact with another
running in normal mode.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4240 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-01 15:55:59 +00:00
Bill Somerville
5d4af665ed Allow for inconsistent Hamlib return codes.
It appears  that Hamlib  uses two different  return codes  to indicate
missing functionality  and doesn't  use them consistently.  The Hamlib
rig control code now checks for  either code when testing for function
availability.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4239 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-09-01 10:27:31 +00:00
Bill Somerville
538132899e Do not fail when HRD functions are not available.
Because some HRD rig interface implementations are lacking features we
need, instead of failing fatally when  a needed feature is missing, we
now do not require the missing feature. This means that some rigs will
not work  correctly, for example  setting split,  PTT or mode  may not
work if no such feature is present in the HRD interface.

This came  about due to  the TenTec Omvi  VII HRD interface  having no
split, vfo  selection or,  PTT facilities. With  this change  at least
some basic functionallity is possible.

Not being able to set split  is potentially dangerous since WSJT-X may
set tones assumeing a split TX  frequency. Until the HRD CAT interface
has a mechanisim to signal the missing capability we will have to hope
that users  realise the deficiency  and don't attempt to  enable split
working on such a setup.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4235 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-08-30 20:01:13 +00:00
Bill Somerville
124c0ac70c Allow Hamlib rig_get_ptt call to fail if function unavailable.
The Hamlib backe end capabilities table  is not reliable when the back
end is the  Hamlib Net one. This  is because that back  end claims all
functions available but a call may fail on execution due to the actual
remote back end target not supporting it.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4234 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-08-30 19:28:55 +00:00