Commit Graph

1397 Commits

Author SHA1 Message Date
Bill Somerville f5eb713ec8 Fix dependency issue in CMake build.
Fixing revsion lookup issues is painfully public since one has to
commit a change to test it.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4018 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-13 17:56:53 +00:00
Bill Somerville 5b05f229a1 Try to form a consistent program title and revision specification from
all types of build.

CMake builds use 'svn info' (the git-svn equivalent is also supported)
to  get the  real latest  revision of  the workspace  that is  used to
source a  build. If the sources  are not in VCS  workspace (build from
source  snapshot  archive for  example)  then  the  $Rev$ svn  keyword
expansion in mainwindow.cpp is used despite its issues with accuracy.

Non-CMake builds use the $Rev$ keyword expansion where possible.

If a CMake  build is from a VCS workspace  with local modifications; a
'-dirty' suffix is added to the revision number to denote that.

If no revision number information can be found the word 'local' is
used as a revision number.

The revision  specification is used in  the WSJT-X "about"  box and is
sent  to PSKReporter.info  as part  of the  local  station information
(this     can     be     viewed     at     the     statistics     page
http://pskreporter.info/cgi-bin/pskstats.pl).

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4017 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-13 17:22:12 +00:00
Bill Somerville 8e740f3ad1 Fix kvasd download script defect.
In CMake Mac is both APPLE and UNIX.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4016 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-12 12:53:59 +00:00
Bill Somerville b3c0afa5df Added MD5 checksum check on kvasd binary download.
Made kvasd download failure a fatal build error.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4015 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-12 12:42:37 +00:00
Bill Somerville d0dce856c0 Attempt to fix a few TX sequencing issues.
Simplified some of the TX logic and removed some redundant code.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4014 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-11 22:50:44 +00:00
Bill Somerville 6689558be8 Make CW envelope shapng the default.
Now I have verified that the CW envelope shaping considerably reduces
the bandwidth of teh CW id. I have made the it default. It can still
be turned off via a CMake option if desired.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4013 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-11 22:50:34 +00:00
Bill Somerville fc1713e9bf Simplify MainWindows to Modulator communications.
No longer any need to have a mute mechanism since the TX shutdown
mechanism is sufficient.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4012 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-11 22:50:22 +00:00
Bill Somerville a611d86676 Fix a waterfall palette designer import bug.
Yet another rework of waterfall palette interpolation to try and avoid
invalid colour values.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3999 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-08 16:59:09 +00:00
Bill Somerville cc4a7624e5 Updated palette designer tool tip.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3998 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-08 16:59:00 +00:00
Bill Somerville 9f3eb7739d Fix incorrect icon being used in Windows "Programs & Features".
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3996 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-08 13:15:07 +00:00
Bill Somerville ce0402941f Pass JT9W tone spacing to Modulator via a signal/slot as it is
crossing a thread boundary.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3995 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-08 11:56:29 +00:00
Bill Somerville a24a05fc5a Clean up Modulator code to ensure that partial blocks written are sent
with the correct length. This was causng some CW identifications to be
delayed and truncated occasionally.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3994 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-08 11:20:20 +00:00
Bill Somerville 8ac8a5ecdd Disallow split mode working with dummy rig.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3992 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-07 23:40:32 +00:00
Bill Somerville 0fc00598a6 Used floating point for colour interpolation in palettes since QColor
is float internally anyway.

Avoided invalid colour values in palette colour interpolation.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3989 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-07 18:13:16 +00:00
Bill Somerville 478217e8e3 Palette editor improvements.
Added an "Insert after..." context menu entry so it is possible to add
new entires to the end of the list when the scroll area is full.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3988 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-07 17:32:54 +00:00
Bill Somerville 0403b16aac Replaced Detector monitoring switch with audio stream suspend/resume.
In an effort to reduce the processing overhead when transmitting I
have suspended the audio input stream at source instead of the prior
behavior that simply idled skipping received samples.

This is in response to high activity levels, especially with JTAlert
also running, when decode processing rolls over into the next TX
period.

Tests show a reduction in CPU loading from ~5% to ~1.5% in the above
scenario. Hopefully this will reduce the likelyhood of TX audio
glitches when other system activity spikes.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3986 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-07 00:55:05 +00:00
Bill Somerville f076c37c19 Made the soft keying CW wave shaper a CMake option (off by
default).

Reorganized Modulator interface so that it can control the stream
it writes to.

Make sure only QAudioOutput::stop is called at the end of sending
rather than QAudioOutput::reset which discards pending samples.

Added a quick close option to the Modulator::stop slot to discard
pending buffers if required.

Fix issue in CW synthesizer that was causing CW to be inverted
occasionally.

Made global arrays of symbols volatile because compiler waa
optimizing away reads in sound thread. These global variables
must go eventually as they are a multi-threading hazard.

Simplified TX sequencing to remove some duplicate signals.

Increased range of TX attenuator from 10dB to 30dB. This is mainly for
non-Windows platforms where the attenuator isn't linearized correctly.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3985 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-06 21:58:11 +00:00
Bill Somerville dbda79e7a2 Unkey rig if program exits while transmitting.
This will not help if the program crashes, but at least graceful exits
will not leave the rig in TX.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3984 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-06 21:57:59 +00:00
Bill Somerville 2b966c14d1 Igonored CAT polls of RX frequency from Commander when transmitting as
they are unreliable on Icom radios.

Simplified diagnostic output for HRD CAT interface and DX Labs Suite
Commander CAT interface.

Removed duplicate diagnostic message from configuration CAT control.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3983 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-04 17:02:18 +00:00
Bill Somerville b3f17051e7 Save the last used free text message between runs.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3982 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-03 21:55:51 +00:00
Bill Somerville 4453a46664 Don't overwrite frequency, station or, macro models whenleaving the
configuration dialog unless they have changed.

Fix a bug I had introduced into the free text message fields so they
don't get overwritten by message generation.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3981 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-03 21:19:04 +00:00
Bill Somerville 690fc66ca7 Squashed yet more compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3980 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-03 20:17:08 +00:00
Bill Somerville db0ba3940d Squashed yet more compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3979 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-03 20:06:30 +00:00
Bill Somerville b17ff13e89 Squashed some compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3978 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-03 19:44:34 +00:00
Bill Somerville 581691befb Rearranged sequencing of audio streams and devices.
The code  was starting streams linked  to closed devices which  may be
causing issues on  the Mac version.  I have refactored  to ensure that
devices are always opened before related audio streams are started.

Made .h C++ headers emacs friendly.

Removed some code in the MainWindow  contructor that read the log file
but failed to check if the file exists and didn't do anything with the
data anyway.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3977 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-03 19:29:13 +00:00
Bill Somerville 542c85d8f6 Added recource file to qmake project file.
Made 'lib' makefiles a bit more portable.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3976 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-02 17:37:18 +00:00
Bill Somerville 8e3e86ac71 Enhanced CMake finder for hamlib to use pkg-config to determine static
linking requirements.

Changed build to use static hamlib if available.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3975 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-02 12:46:15 +00:00
Bill Somerville 73e74f5606 Removed svnversion.h include as it is now included only where needed.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3972 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-31 03:40:16 +00:00
Bill Somerville 68f47c4ec4 Add new sources to lib Makefiles.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3971 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-31 03:11:16 +00:00
Bill Somerville 3f4bde9228 Fix qmake file so that qmake builds still operate for those who prefer
QtCreator as a full time build environment.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3970 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-31 03:11:07 +00:00
Bill Somerville 7d68ae47dd I thought this file would allow qmake builds to coexist with CMake builds.
But it messes up the CMake dependencies so it has to go. I need to
find a better way of both generating svnversion.h in CMake and not
generating it in qmake builds.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3969 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-31 01:36:26 +00:00
Bill Somerville a6a1917e9c Removed global svnversion.h header dependency as it is now directly
included only where needed.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3968 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-31 00:51:53 +00:00
Bill Somerville a056b1f671 Removed heading from palette designer colour table.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3967 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-31 00:51:42 +00:00
Bill Somerville 3b0649691d Fix compiler errors.
I blame too much operating in WPX and losing an hour to DST :(

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3965 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-31 00:11:47 +00:00
Bill Somerville 31ebdc9618 Add user defined waterfall palette.
The  new  class WFPalette  encapsulates  waterfall palettes  including
exporting and importing to disk files and interpolation for use in the
waterfall plotter.

A special  entry in the palette  list "User Defined"  is now available
along with  a button  to invoke a  colour palette designer.   The user
defined palette definition is persistent across runs as it is saved in
the application settings file.

Palettes can now have any number of colours up to 256.

The export function may be used  to save user designed palettes; to be
added  to the built  in resource  palettes that  are shipped  with the
application.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3964 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-31 00:03:44 +00:00
Bill Somerville a893d42288 Uniform appearance of window titles.
Svn revision  number displayed  in about  window and  sent PSKReporter
only.

About box text centred and uses Copyright symbol.

Window   title   on  "Log   QSO"   dialog   includes  rig-name   where
multi-instance support  is enabled. This  is necessary since  the "Log
QSO" dialog is not modal.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3960 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-30 01:31:40 +00:00
Bill Somerville 12b2b2c163 Removed misleading comment.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3959 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-29 23:21:03 +00:00
Bill Somerville 7db318ae49 Fix svn revision detection that I broke when adding git-svn support.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3958 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-29 16:17:55 +00:00
Bill Somerville 52f5d4c7ff Removed debugging daignostic.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3956 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-29 03:02:18 +00:00
Bill Somerville c48be0494f Reducing the number of files dependent on svnversion.h without
compromising qmake builds. Now it is required to directly include
svnversion.h to get the SVNVERSION macro defined.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3955 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-29 02:51:07 +00:00
Bill Somerville 7ab8cf2fe8 Still trying to get those dependencies to work reliably.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3954 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-29 02:50:54 +00:00
Bill Somerville 3e791f2b1b Fix revision extraction dependencies.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3953 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-29 02:31:41 +00:00
Bill Somerville ccc84da702 Make revision fetching compatible with git-svn.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3952 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-29 02:20:48 +00:00
Bill Somerville 3918916025 Aligned CMake built auto fetch svn revision with old qmake $Id: one.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3951 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-29 02:20:37 +00:00
Bill Somerville a9f0dd0efe Aligned CMake built auto fetch svn revision with old qmake $Id: one.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3950 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-29 00:28:44 +00:00
Joe Taylor 3228cc85e5 New Makefile.jtsdk allows easy building of jt9.exe from command line.
(Many changes still needed to wsjtx.pro, in order to build from
within QtCreator.)


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3945 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-28 18:54:11 +00:00
Bill Somerville 5396098244 Add the actual license file ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3939 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-28 00:10:18 +00:00
Bill Somerville a0f2f48224 Add new licence file.
Replaced temporary licence text used for installers with version
agreed with Joe k1jt.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3938 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-28 00:08:03 +00:00
Bill Somerville 5709ae53df Fixed and improved SVN revision lookup in the CMake script.
The lookup was broken and always returning 'local'.

It now returns 'local' for a non svn source tree,
'r<revno>-dirty' for a source tree with uncommitted changes,
'r<revno>' for a clean svn source tree.

Unversioned files are ignored for now.

Also added some diagnstics output in CMake script to aid debugging Qt
plugin location issues.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3934 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-27 02:33:04 +00:00
Bill Somerville 9639ce12f2 Exceptions caught in main() shown in message box.
'\' and '/' no longer allowed in --rig <rig-name>



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3932 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-26 23:48:44 +00:00