Commit Graph

3534 Commits

Author SHA1 Message Date
Bill Somerville
52fedc02c5 Message unpacking fixes and improved test coverage
Fix packjt truncation error and text3 null detection.

Add additional test messages.

Add  check  message  capability  to   jt65code  and  jt9code  so  that
comparison confirms expected output.

jt65code and jt9code now  should always have identical outputs..should
allow for automatic regression testing.

Thanks to Mike, W9MDB, for this contribution.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7649 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-22 12:40:44 +00:00
Joe Taylor
4e3fdfef9e Additiions and changes to test routines.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7648 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-21 18:20:48 +00:00
Bill Somerville
ef1027e04d Fix a race condition with OmniRig where it goes offline regularly
A timer to  check for excessive off line time  reported by OmniRig was
overlapping prior timeouts, changed to use  a single timer that can be
reset if timeouts overlap.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7647 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-20 23:44:19 +00:00
Joe Taylor
14cbb51e47 Updated to some test routines.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7646 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-20 19:21:54 +00:00
Bill Somerville
e755c73208 Correctly unpack DE messages with type 1 compound calls
These were only  unpacking a grid rather than  interpretinbg that grid
as a type 1 prefix or suffix when appropriate.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7645 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-20 14:37:20 +00:00
Joe Taylor
a5cc419351 Correct a scaling error in the Watterson model.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7644 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-20 12:55:11 +00:00
Joe Taylor
da22f86813 Minor tweaks in test program.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7643 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-19 21:23:41 +00:00
Joe Taylor
b79888348a Code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7642 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-19 20:06:46 +00:00
Joe Taylor
64bb718e31 Fix some errors in test routines.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7641 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-19 20:01:10 +00:00
Joe Taylor
0c362ddd26 Add several more test routines.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7640 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-19 19:55:11 +00:00
Steven Franke
69cd5a6104 Fix a bug that only affected dithered ldpcsim300 results.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7639 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-19 16:36:07 +00:00
Joe Taylor
95930b51cc Update CMakeLists.txt.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7638 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-19 16:16:13 +00:00
Joe Taylor
f454fc9367 Add another test routine.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7637 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-19 16:07:55 +00:00
Joe Taylor
3124648fbc Add/update some experimental routines.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7636 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-19 16:06:42 +00:00
Steven Franke
7ef46cdbe0 Add some experimental routines.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7635 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-19 12:16:10 +00:00
Joe Taylor
02722a43fd Add the CRC check.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7634 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-07 20:22:46 +00:00
Joe Taylor
b39f92926c Save some test programs.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7633 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-07 19:44:29 +00:00
Bill Somerville
ed14797c73 Rearrange build script module ordering
CMake  does not  seem to  recognize Fortran  module file  dependencies
correctly  and  sometimes builds  them  after  modules that  reference
them. This change  moves all the module files to  the beginning of the
library sources list so that they should always be compiled before use
after  changes.   I'm  not  sure  this will  work  100%  reliably  for
inter-module references so further reordering  may be needed in future
if  unexpected  clean rebuilds  are  becoming  necessary after  module
source file changes.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7632 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-05 10:27:29 +00:00
Bill Somerville
3a1b40d524 Split CRC10 & 12 implementations into separate translation units
Separate translation units avoids  compiler generated CRC tables being
linked when not needed.

Also only compile once and add to wsjt_cxx library for later link
editing.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7631 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-05 00:29:46 +00:00
Steven Franke
c47e0cd228 Minor tweaks.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7630 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-04 22:23:03 +00:00
Steven Franke
64ace72cd4 crc12.cpp was renamed to crc.cpp because it now contains both crc12 and crc10.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7629 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-04 19:35:29 +00:00
Steven Franke
c101181938 Add some experimental routines.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7628 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-04 19:22:01 +00:00
Joe Taylor
6a1fe0012b Add wsprlf.f90
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7627 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-04-03 12:11:15 +00:00
Joe Taylor
d788ca7b44 Save files used by fsk4sim.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7626 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-30 20:14:17 +00:00
Joe Taylor
9ebd755c37 Save fsk4sim.f90 with 3 @ 4x4 sync arrays.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7625 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-30 19:24:20 +00:00
Bill Somerville
1298b13957 Work around for an error compiling boost/crc.hpp with GCC v6
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7624 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-29 23:35:13 +00:00
Bill Somerville
0e214efb9c Rework install locations for better flexibility
Using the  CMake module  GNUInstallDirs to  set up  standard locations
which allows  better customisation for packagers  building for various
distributions.

The change does change some internal package file paths and will leave
some  files  in  old   locations  in  Windows  installations.  Running
uninstall  is probably  wise  on Windows  before  installing this  new
package layout if future clean uninstalls are desired.

Linux and other  *nix package maintainers can use  the CMake variables
CMAKE_INSTALL_xxx to vary the install paths of various components. See
the  CMake GNUInstallDirs  module documentation  for more  details. An
example might be for Slackware where package documents are expected to
be                            installed                           into
<install-prefix>/doc/<package-name>-<package-version>/ whereas the GNU
default         is         to        install         them         into
<install-prefix>/share/doc/<package-name>/.  To achieve  this set  the
CMake variable CMAKE_INSTALL_DOCDIR as follows when configuring:

cmake -D CMAKE_INSTALL_DOCDIR:PATH=doc/wsjtx-1.7.1 -D CMAKE_INSTALL_PREFIX= ...

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7623 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-28 13:03:48 +00:00
Steven Franke
38ab140ab6 Thanks Bill.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7622 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-28 12:16:34 +00:00
Steven Franke
4565b182ff Add some experimental routines.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7621 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-28 12:05:49 +00:00
Joe Taylor
4f2d3d08d0 Add routines for testing a possible 4-FSK mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7620 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-27 19:59:48 +00:00
Bill Somerville
e8b812fd08 Teach the CMake build script how to find the Boost libraries
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7619 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-22 20:44:42 +00:00
Bill Somerville
c95bb069e0 Add crc library to the WSJT-X Boost libaries
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7618 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-22 20:30:34 +00:00
Bill Somerville
c91b4a1266 Less confusing audio format diagnostics
Show device preferred and actually selected formats for both input and
output.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7615 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-21 15:50:01 +00:00
Bill Somerville
72c8eccf96 Fix endian issue with some Mac OS X sound devices
Audio loop back devices on Mac OS X Intel strangely have a big
endian sample format, perhaps a hang over from PowerPC days. This
change ensures that samples are converted to the machine endianness
before processing.

Also re-enabled is the input audio format validation which now seems
to work.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7614 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-21 13:34:01 +00:00
Bill Somerville
39cf3e1b9a Change build scripts to be compatible with Qt 5.8 on Mac OS X
This change obseletes Mac OS X 10.7 and 10.8 which are not supported
by Qt 5.8.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7613 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-21 13:33:55 +00:00
Joe Taylor
0673974954 Allow measuring refspec in fast modes. Better display format for phase coeffs.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7612 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-20 19:35:17 +00:00
Bill Somerville
c06cc71fba Minor tidy up of Configuration UI layouts
Remove  redundant layout  on Audio  tab  and used  layout managers  on
Colors tab.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7611 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-20 17:17:50 +00:00
Steven Franke
827d7173fe Fix an error in SNR_2500 scaling and add calculation of probability of decode vs number of hard errors.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7610 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-17 18:47:57 +00:00
Joe Taylor
be1e3c74ad Try filled circles instead of line for the measured phase plot.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7609 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-16 15:33:42 +00:00
Bill Somerville
8686876498 Do not use menu shortcut that hides shortcut key used in widgets
Ctrl+M (Cmd+M)  was being  used as  a menu shortcut  and in  key press
event  handlers   which  leads  to  inconsistent   behaviour  on  some
platforms. Removed menu action shortcut.

Also tidied up handling of the  hide controls menu action by making it
a checkable  action and using its  checked state to store  the control
hiding state.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7608 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-15 18:25:21 +00:00
Bill Somerville
a35283f45c Update the Mac OS X Info.plist to support high DPI displays
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7607 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-15 18:25:14 +00:00
Joe Taylor
4a29dd4880 Display Rx level to nearest integer dB.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7606 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-15 15:33:25 +00:00
Bill Somerville
912e6149d1 Remove unnecessary geometry properties from main & configuration wondows
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7605 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-14 14:23:27 +00:00
Bill Somerville
abe4ad6a0d Improve wide graph control hiding and layouts
Thanks to Mike, W9MDB, for this contribution.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7604 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-14 14:23:20 +00:00
Bill Somerville
f65242cd74 Add control hiding (CTRL+M) to fast graph to minimize screen usage
Also cleans up a few layout issues.

Thanks to Mike, W9MDB, for this contribution.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7603 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-14 14:23:13 +00:00
Bill Somerville
dfecb4ed1f Fix defect in handling of configuration names containing ampersand characters
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7602 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-14 14:23:05 +00:00
Steven Franke
2636c849bf Reset navg after measuring phase response.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7601 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-12 13:02:10 +00:00
Joe Taylor
be0500dda6 Minor tweak to User Guide.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7600 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-09 21:56:25 +00:00
Joe Taylor
5babb1c942 Try new colors for level meter: darker green for normal, dark orange for too low.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7599 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-06 22:21:07 +00:00
Joe Taylor
ea396ef07f Add a brief description of Rx gain slider adjacent to audio level meter.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7598 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-03-06 19:43:33 +00:00