Commit Graph

2566 Commits

Author SHA1 Message Date
Joe Taylor
b2b53fd23e Fix the zero-distance problem also at its root, in geodist.f90.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6651 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-27 20:26:46 +00:00
Joe Taylor
d9c04c5472 Fix a bug in azdist() that can cause bad behavior when computed
distance is 0.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6650 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-27 17:03:24 +00:00
Bill Somerville
d9e4d5f25f Improve font handling when resetting configurations and when restarting
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6649 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-26 20:06:36 +00:00
Bill Somerville
4797cee661 Make time and band text position on waterfall font agnostic
Use  the actual  font metrics  to calculate  the position  rather than
assuming the font size.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6648 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-25 23:12:59 +00:00
Bill Somerville
7cda91c759 Improve the "translatability" of some of the User Guide links
To  aid translators  some of  the links  in the  doc/common/links.adoc
file, which is shared by all translations, have been changed to remove
generic  link  text  like  "here"   with  the  titles  of  the  linked
references.   Since  these  are  in the  language  of  the  references
documents there is no need to translate these.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6647 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-24 19:45:52 +00:00
Bill Somerville
59e59087bd Only generate USLetter size PDFs for languages that might need it
Only en-US, fr-CA, es-MX and es-CO use the USLetter paper size.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6646 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-24 19:05:03 +00:00
Steven Franke
45ba25f6ed Add code needed to unpack decoded message.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6645 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-24 15:08:57 +00:00
Steven Franke
e68674214c Remove obsolete comments.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6640 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-24 01:24:32 +00:00
Steven Franke
f5af6525f5 Changes needed to build ldpc library and ldpcsim.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6639 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-24 01:19:40 +00:00
Steven Franke
9d72f280ad ldpcsim.f90 is a simulator that creates valid JT-mode packed 72-bit messages and implements an 8-bit hash check for testing the (N,80) codes.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6638 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-24 01:12:38 +00:00
Bill Somerville
8cf1b33b59 Update Mac build instructions to reflect latest O/S MacPorts and Qt versions
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6637 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-23 23:40:30 +00:00
Bill Somerville
946ee56db2 Remove erroneously committed tool tip text
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6636 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-23 23:40:05 +00:00
Bill Somerville
ed6b37a87a Fix minor typo and remove potentially non-portable UI size constraints
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6632 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-23 11:22:48 +00:00
Bill Somerville
169692fc0a Remove restrictions on multiple configurations maintenance
The initial conservative implementation has been replaced by a simpler
one that swaps configurations around in the settings file as specified
by the multiple configurations menu options.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6631 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-21 18:56:59 +00:00
Bill Somerville
1cae0b8aa9 Move temporary directory creation and deletion outside of MainWindow
Changing configuration causes  WSJT-X and JTAlert to get  into a fight
for the temporary directory. By moving the creation and clearup of the
temporary directory outside  of the configurations loop  this issue is
minimized to no worse than before multiple configurations were added.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6630 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-20 21:59:22 +00:00
Bill Somerville
e6c59a42b5 Ensure that WSPR band hopping is disabled when Rig is None
Also added  a new configuration query  method to check if  Rig is None
i.e. a dummy rig.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6629 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-20 20:22:23 +00:00
Bill Somerville
3b46e140af Disable Internet spotting when rig control is not working
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6628 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-20 19:33:33 +00:00
Bill Somerville
119a98f99a Disable WSPR band hopping on rig failure before showing error message
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6626 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-19 13:50:05 +00:00
Joe Taylor
c849652940 Correct the alignment of data returned to id2 when reference spectrum is used.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6625 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-18 14:37:44 +00:00
Joe Taylor
1a9c6b3b6f Correct a problem with flagging supposedly bad data when reference spectrum
is used.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6624 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-18 14:15:09 +00:00
Bill Somerville
4cebdddfe5 Add multiple configurations navigation and management
Multiple configurations  are accessed and  maintained from a  new main
window menu bar  pop up menu "Configurations". The  prior settings are
the  "Default"  entry. New  configurations  may  be added  by  cloning
existing ones.  Maintenance  and navigation is via sub  menus for each
configuration.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6623 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-17 23:39:12 +00:00
Bill Somerville
c40c824540 Round frequencies returned from Hamlib to the nearest Hertz
Hamlib can return  fractional decimal Hertz for some  devices that use
internal fixed  point binary registers  e.g.  devices using  the Si570
clock generator as  a frequency synthesizer.  Rounding  to the nearest
Hertz should ensure accurate round tripping of frequencies.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6622 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-14 19:25:18 +00:00
Joe Taylor
c7dfc1ee00 1. Protect against wrong ID of f0 being fit by lorentzian(), when Ftol is large.
2. When switching to JT65 mode, go through JT9 first.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6621 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-14 13:22:05 +00:00
Joe Taylor
3aca283554 In single-decode mode, treat "Aggressive decoding level" as 1 if set to 0.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6620 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-13 13:52:45 +00:00
Joe Taylor
94be009454 Fix a bug in handling "ncount" after a hinted decode. Thanks, Igor!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6619 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-13 13:16:10 +00:00
Bill Somerville
30a0b92340 Minor rig control trace adjustment
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6618 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-12 23:23:04 +00:00
Bill Somerville
8d13c8e1ff Restore double click on decode behaviour broken by disable Tx DF spin box
The changes  to fix the  Tx DF  at 1000Hz when  VHF & up  features are
enabled had an undesirable side effect of disabling double clicking on
decodes  because  this was  disabled  by  the  Tx  DF spin  box  being
disabled. The  Tx DF  spin box  being disabled  in VHF  & up  mode may
change but this change fixes this issue regardless.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6617 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-12 22:07:14 +00:00
Joe Taylor
90beb50cbe 1. Add AGC for waterfall in *Ref Spec* mode.
2. Don't display orange warning bar when in WSPR mode.
3. Fix a longstanding compiler warning.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6616 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-12 19:54:15 +00:00
Joe Taylor
092a2301a0 Roll off the corrected spectrum at points where the uncorrected
spectrum is -20 dB relative to 1500 Hz -- or at maximum width 240 to 4000 Hz.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6615 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-12 19:20:14 +00:00
Joe Taylor
3b2a918eb0 Rationalize the "NTol" usage in JT65 single-decode modes.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6614 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-12 14:24:55 +00:00
Joe Taylor
2babc3c9c7 Need to accommodate cases where radio's filter cuts off steeply above 240 or
below 4000 Hz.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6613 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-12 13:47:34 +00:00
Joe Taylor
592625c4bb Remove a diagnostic tool in plotter.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6612 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-12 13:32:31 +00:00
Joe Taylor
3c1fe29456 Protect against bounds errors with large NTol.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6611 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-12 13:13:27 +00:00
Bill Somerville
38cf525969 Use fixed 1000Hz Tx DF in VHF & up QSO modes
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6610 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-11 23:29:29 +00:00
Bill Somerville
4350c682ec More consistent checks for WSPR modes
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6609 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-11 23:29:21 +00:00
Joe Taylor
b843894061 First working code offering optional computation and use of a reference
spectrum.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6608 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-11 20:53:54 +00:00
Joe Taylor
3541d12a67 Test program
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6607 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-11 15:24:55 +00:00
Joe Taylor
03d74a6208 Fix a problem in hint65. (More tests needed!)
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6606 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-10 19:02:59 +00:00
Joe Taylor
07151fb980 For now, at least: always recompute hypothetical messages in hint65.f90.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6605 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-09 17:11:44 +00:00
Joe Taylor
35f7f73a7a Starting to implement display of reference spectrum in plotter.cpp.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6604 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-09 14:51:20 +00:00
Joe Taylor
50cbdbb807 More work toward a usable reference spectrum.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6603 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-08 20:03:29 +00:00
Joe Taylor
44eccce1bb Compute reference spectrum on request.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6602 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-08 18:07:08 +00:00
Joe Taylor
23298c1743 Rename refspec() to refspectrum().
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6601 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-08 15:55:28 +00:00
Joe Taylor
88e47a5941 Working on implementing reference spectra.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6600 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-08 15:23:32 +00:00
Bill Somerville
700cc37c88 Add support for HRD control of rigs with an HRD Data drop down
Rigs like  the Icom IC-7100  have a  Data drop down  on the HRD  UI to
switch  the rig  in and  out  and query  the data  modes. This  change
supports that by using the On and Off selections to set and query data
mode for suitable modes (USB/LSB/FM as DIG_U/DIG_L/DIG_FM).

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6599 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-08 09:28:53 +00:00
Joe Taylor
da098e4a76 Starting to implement accumulation of reference spectrum.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6598 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-07 20:02:32 +00:00
Bill Somerville
f7b02f8296 Ensure that rig control split and mode are only changed when allowed
Only when split  operating is not none should split  be touched on the
rig, likewise only  when Settings->Radio->Mode is not  none should the
rig mode be touched.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6597 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-07 18:39:46 +00:00
Bill Somerville
64f1de08c8 Squash another warning
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6596 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-07 00:02:24 +00:00
Bill Somerville
720412ff5a Squash some more warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6595 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-06 23:30:32 +00:00
Bill Somerville
dd6f48ccca Second attempt to squash ingnored return errors on fread()
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6594 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-06 23:18:29 +00:00