Commit Graph

2426 Commits

Author SHA1 Message Date
Bill Somerville
080f7ef1a2 Make mutable static variables instance variables where necessary
Static storage variables that should  have been class members are made
so. This  ensures that  if they  are used  as initialization  one time
switches   then  they   will  operate   correctly  when   their  class
instantiated more than once. This now happoens for most classes due to
the configurations  switching facility which destroys  all windows and
re-instantiates them.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6661 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-05-01 00:40:51 +00:00
Bill Somerville
d8350bd35e Fix re-initialization issue in Configuration
Do not use a static scope  variable where a class instance variable is
needed.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6660 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-30 23:24:19 +00:00
Bill Somerville
bdd3d866c6 Fix outdated "Test CAT" button tool tip
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6659 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-28 23:43:40 +00:00
Bill Somerville
65799d4ac1 Use the new hamlib {set,get}_*_mode() function no bandwidth change feature
This    change     requires    a    hamlib    including     the    SHA
222ad74de7ab7e2894522101643265c36188e9c5

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6658 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-28 21:05:59 +00:00
Joe Taylor
140be15cce Starting to fill in the "Protocol Specifications" section of User Guide.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6657 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-28 18:59:34 +00:00
Joe Taylor
bb3f6b2170 Clean up the "Platform Dependencies" page in User Guide.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6656 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-28 18:07:51 +00:00
Joe Taylor
d06b00e0d6 Better wording to describe the CTRL+O function.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6655 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-28 17:43:12 +00:00
Joe Taylor
a3b05536bf Add CTRL+O to displayed list of keyboard chortcuts. Tnx Allesandro!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6654 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-28 17:36:49 +00:00
Joe Taylor
d835b3297a Update the copyright notice.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6653 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-28 16:07:38 +00:00
Joe Taylor
5bf1a0dcf0 Make sure the "Fast" checkbox becomes visible after enabling VHF/UHF
features on the Settings | General tab.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6652 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2016-04-28 15:06:32 +00:00
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