Commit Graph

840 Commits

Author SHA1 Message Date
Bill Somerville
724d5703c4 Add a flag for a mode to enforce simplex i.e. WSPR
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5593 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-11 22:42:41 +00:00
Joe Taylor
e38c71af1e Clear Message Averaging window when ClrAvg is clicked. Remove some
obsolete code.  Tweak a label.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5588 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-11 17:18:07 +00:00
Bill Somerville
640c0c00fe Finally getting the hang of UIs that work on Mac and elsewhere
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5587 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-11 17:01:12 +00:00
Joe Taylor
25d4388081 Fix logical flaw in Echo mode sequencing.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5585 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-11 15:48:00 +00:00
Joe Taylor
289b4c70f8 Correct the bounds error test in avecho. Ensure proper GUI controls
visible in Echo mode. Reset nsum=0 when Tx Enable is toggled ON in Echo mode.
Don't restart Monitor after finishing a sequence of Echo transmissions.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5584 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-11 15:32:55 +00:00
Joe Taylor
5968277cd7 Correct a logic flaw that occurred after *Tune* was used.
Remove some disused diagnostics.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5581 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-11 13:52:55 +00:00
Bill Somerville
aa561deed2 Refactor astro functionality into Astro class
Improved astronomical data and Doppler tracking control window widgets
and layout  management to make  it more platform independent  and font
change tolerant.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5580 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-11 13:36:13 +00:00
Joe Taylor
c3d227b410 Always display AstroData in Echo mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5575 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-10 17:55:08 +00:00
Joe Taylor
325449fe27 One click of Erase clears the text area in Echo mode. Fix calibration of
the "pwr" slider, relative to what actually happens.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5574 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-10 16:09:08 +00:00
Joe Taylor
f04a81dca0 Senc correct Tx tone after switching from JT4 to Echo mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5573 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-10 14:58:55 +00:00
Bill Somerville
ab718e2d7f Escape '<' and '>' in WSPR decodes window callsign field
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5572 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-10 14:48:35 +00:00
Joe Taylor
7137098869 Results of Echo mode to text window. (Not yet calibrated!)
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5567 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-09 19:04:21 +00:00
Joe Taylor
d69d3b4ca0 User-configurable directory for file azel.dat.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5566 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-09 17:39:59 +00:00
Bill Somerville
fd5c76e9b3 Exclude Rx only bands from WSPR band hopping random selections
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5564 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-09 16:56:49 +00:00
Joe Taylor
cb18d6c32e Further progress for Echo mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5561 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-09 14:42:53 +00:00
Bill Somerville
28b4c31dee Various WSPR fixes
Make WSPRnet.org spot uploads tolerant  of network issues, spots still
get  discarded for  any period  that  has problems  but now  uploading
resumes on the next period.

Ensure that  decoded text starts  with correct  font by not  using the
base class append method directly.

Fixed a major  memory leak in the WSPRNet class  which was not freeing
processed request reply objects.

Added some helpful debug prints in WSPRnet.org spot processing.

Also  tidied  up a  number  of  class  implementations that  were  not
including he MOC generated code.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5560 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-09 14:30:23 +00:00
Joe Taylor
4b1c3c319f Echo spectrum appears OK; must test Doppler corrections in both modes.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5559 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-09 00:43:07 +00:00
Joe Taylor
fa96482008 Basic functionality of Echo spectrum is in place.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5557 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-08 19:42:20 +00:00
Bill Somerville
300365bad3 Allow rich text in help text files
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5556 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-08 17:45:19 +00:00
Bill Somerville
982b4edcd0 Refactored help windows into a helpful class
Also  used it  to implement  the  prefixes, shortcuts  and mouse  help
windows.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5554 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-08 16:05:01 +00:00
Bill Somerville
05a060c740 Make addon prefixes & suffixes help window platform independent
Also use a style  sheet to set the font as  widget level font settings
are overriden when the global default font is changed in settings.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5553 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-08 14:30:31 +00:00
Joe Taylor
a524b90f88 Don't switch Tx modes after a JT4 decode! Continued work on Echo mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5552 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-08 14:20:30 +00:00
Joe Taylor
83c5cf132a Format list of "Type 1" prefixes in columns -- thanks to Sandro, IW3RAB.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5551 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-08 13:08:21 +00:00
Joe Taylor
01dfb567f5 Don't allow a partial transmission in Echo mode. Fix RA, Dec, and Tsky
returned by astro().  



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5548 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-06 18:02:39 +00:00
Bill Somerville
db731fefb9 Improved function name
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5547 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-06 13:40:10 +00:00
Bill Somerville
a0f9aa367e User the hopping WSPR Tx schedule even when not hopping
The  Tx  schedule  used  in  band  hopping  is  tailored  to  minimize
consecutive transmit  periods while maintaining roughly  the requested
Tx/Rx ratio rather than being truly random.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5546 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-06 13:28:20 +00:00
Bill Somerville
8250901942 Revert unintended change in r5542
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5544 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-06 10:11:29 +00:00
Bill Somerville
92bd1700e6 WSPR band hopping improvements
Any  band can  be  added to  the  schedule  for a  day  phase, when  a
coordinated band  slot is not available  a random band will  be chosen
from all the bands enabled for the current phase (Day, Night, etc.).

Fine tuned the size of the hopping schedule table widget.

Coloured the coordinated band columns in the schedule table widget.

Due to the  full range of bands now being  supported, the settings key
for the band hopping schedule has been changed forcing current testers
to redefine their schedultes.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5543 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-06 00:06:46 +00:00
Joe Taylor
1b0ba09639 More changes related to EME Echo mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5542 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-06 00:02:02 +00:00
Steven Franke
7cb711779e Move call to tx scheduler per Bill's instructions.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5539 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-05 15:36:29 +00:00
Joe Taylor
fa720014c9 Make the WSPR-mode Tx Freq spinner track the red Tx Freq marker on Waterfall.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5537 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-05 13:42:45 +00:00
Steven Franke
4bf2788cc8 Force tx schedule update when pctx changes
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5534 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-05 00:41:12 +00:00
Steven Franke
7e3c93553f Enable new TX scheduler for WSPR mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5533 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-04 22:25:27 +00:00
Joe Taylor
9e73483b87 Fix the broken call to a "user_hardware" script.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5530 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-04 20:55:22 +00:00
Joe Taylor
b70a02cfcf Further progress toward Echo mode ...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5529 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-04 20:06:04 +00:00
Joe Taylor
d72b85d6c9 Progressing toward activation of EME Echo mode. Not there yet!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5528 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-04 19:46:12 +00:00
Joe Taylor
e8fd6bb3ab Save/restore Echo Graph configuration in wsjtx.ini rather than emecho.ini.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5525 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-04 18:17:13 +00:00
Joe Taylor
4ed7464051 Add some default Echo frequencies.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5524 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-04 17:53:38 +00:00
Joe Taylor
d3b6ac4ba2 Some cleanup of interaction between GUI and Echo mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5523 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-04 17:16:55 +00:00
Joe Taylor
437c8c5c3f Starting to add EME Echo mode. (Not yet functional!)
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5522 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-04 16:42:38 +00:00
Bill Somerville
aad2ec6950 Only show WSPR transmitting message when configured to show Tx messages
Also changed  the default for the  "Tx messages to Rx  window" setting
true.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5521 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-04 11:32:25 +00:00
Bill Somerville
260f1b4013 WSPR band hopping improvements
Added a per band Rx only flag.
Added Tx 100% as special case.
Only do  tune up if  not an Rx  only band and  if not scheduled  to Tx
already.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5520 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-04 10:58:36 +00:00
Bill Somerville
f3930eb5c8 Polish the UI for WSPR and WSPR band hopping
Provide  a  dialog for  band  hopping  scheduling which  replaces  tab
four. Ensure that split mode is  not used for WSPR. Select the correct
tab  for WSPR  operation.  Shift WSPR  band hopping  code  out of  the
MainWindow class.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5517 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-04 01:45:40 +00:00
Joe Taylor
9e2cc3f9d1 Fix the displayed tone-range markers on transition from WSPR to JT65.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5515 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-03 20:21:34 +00:00
Steven Franke
7c8f315e29 Fix a typo. Transmiting->Transmitting.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5504 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-02 23:40:54 +00:00
Joe Taylor
adebd2420a Pass absolute file path for JPLEPH to astrosub_().
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5494 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-02 15:59:52 +00:00
Joe Taylor
9f2f759b86 Back out the r5491 changes to where Doppler is applied. They were wrong!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5493 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-02 14:06:26 +00:00
Joe Taylor
9e409bd380 Reinstall code to mark WSPR transmissionsa yellow dividing line.
Re-order several lines of code so that Doppler frequency updates
occur before PTT is asserted.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5491 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-02 00:23:17 +00:00
Bill Somerville
fd878869a1 UDP free text message clicks the tx5 next radio button
This change allows a server to change the free text message and cue it
for transmission in  teh next period when  using tab 1. For  tab 2 the
behaviour is unchanged  and this message simply changes  the free text
message text.  The action if  the send option  is set on  this message
remains unchanged in that  it clicks the tx5 send now  button im tab 1
or the free text message radio button on tab 2 i.e. send ASAP.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5483 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-01 11:34:50 +00:00
Bill Somerville
98842e9a21 Fix band hopping regression
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5478 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-31 13:39:28 +00:00
Joe Taylor
307ead0434 Strip trailing "m" from command sent to "user_hardware" script.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5477 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-31 12:56:50 +00:00
Bill Somerville
ddbfd4801d Allow nummeric only band names in band hopping setup
This change allows the old and new format to coexist.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5476 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-31 12:47:15 +00:00
Bill Somerville
4a445b0779 Add FrequencyList methods to retrieve band name sets
Start to rationalize the new WSPR code with the data models.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5475 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-31 11:51:40 +00:00
Bill Somerville
fd06da1432 Improvements to models and delegates
Trying to  find the  sweet spot  for completeness,  usefulness, safety
and,  performance  from  the  various  custom  item  models  and  item
delegates.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5474 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-31 11:51:31 +00:00
Steven Franke
be3f84da2f Try letting hopping.f90 determine TX intervals
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5472 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-30 23:45:22 +00:00
Joe Taylor
be27ccbf72 Test, with no changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5471 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-30 23:23:04 +00:00
Joe Taylor
7390bf21ce WSPR-mode behavior changes.
Forbid consecutive Tx sequences.
Mark Tx sequences with horizontal yellow line in waterfall.
Reduce the wait time in msleep() command (mainwindow.cpp line 4342).


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5470 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-30 16:08:20 +00:00
Bill Somerville
94fc6fe63c Convert character strings to QString where necessary
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5469 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-30 01:04:15 +00:00
Steven Franke
c0fc6ef382 Commit wspr tone frequency patch and fix GrayLineDuration typo
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5465 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-29 19:23:54 +00:00
Joe Taylor
ba617f2eee Simplify installation section of User Guide and make the Windows,
Linux, and OS X sub-sections similar in appearance.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5457 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-29 14:20:06 +00:00
Bill Somerville
b7841adb29 Fix WSPR band hopping defect
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5456 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-29 13:44:04 +00:00
Bill Somerville
c41e9bb976 Fix access to underlying data of the frequency list
A better approach to this area will follow.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5455 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-29 09:29:54 +00:00
Bill Somerville
f200506571 Add mode dependent working frequencies
Working frequencies are mode dependent  and a reset to defaults button
has been added.

Also re-factored much of the model  and item delegate code to simplify
several  of the  model  implementations. Introduced  a single  routine
called from main to register the custom types with Qt.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5453 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-28 23:22:17 +00:00
Joe Taylor
e674ac4cb0 Better logic for WSPR scheduling. Don't overwrite a grid6 with grid4
obtained by double-clicking on a decode.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5452 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-28 22:58:24 +00:00
Bill Somerville
4bf1471d2b Made the UDP message to change the free text message optionally send ASAP
This  message now  has  the ability  to simply  change  the free  text
message or to change the message and send it ASAP.

The message_aggregator reference UDP server application exercises this
feature by sending a new free  text message on any edit and requesting
it be sent  by WSJT-X when editing is finished  i,e, RETURN pressed or
focus moved away.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5445 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-28 17:33:39 +00:00
Bill Somerville
0f7708a98a Respond to clicks on Gen/Free radio buttons even if checked
The generated and free text radio buttons now refresh the sent message
even if teh clicked radio button is already checked.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5444 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-28 15:44:03 +00:00
Joe Taylor
13c59296dc Temporary diagnostics.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5436 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-28 00:26:48 +00:00
Bill Somerville
34f8924cfc Reintegrate the wsjtx_exp branch into the trunk
This  merge brings  the WSPR  feature development  into the  main line
ready for release in a future v1.6 release.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5424 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-27 13:08:28 +00:00
Bill Somerville
2e08443d08 Added flag to halt Tx UDP reply
The  reply  can now  be  used  to  turn off  auto  Tx  or to  halt  Tx
immediately. Also enforced the accept UDP requests setting for halt Tx
and set free text message replies.

Merged from the wsjtx-1.5 branch.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5336 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-06 22:25:56 +00:00
Bill Somerville
3b3ef37848 Added UDP replies to halt Tx and set free text message
Also added Tx status to status UDP message.

Added   the    above   features   to   the    reference   UDP   server
message_aggregator.

Merged from the wsjtx-1.5 branch.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5334 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-05-06 20:30:29 +00:00
Bill Somerville
a84b7cdfd3 ------------------------------------------------------------------------
r5297 | bsomervi | 2015-04-26 17:26:54 +0100 (Sun, 26 Apr 2015) | 49 lines

Various defect repairs and ambigous behaviour clarifications

A regression introduced in v1.5.0-rc1 where PTT on an alternate serial
port when using no CAT control is resolved.

A regression introduced  in v1.5.0-rc1 where the  network server field
was not being restored in the settings dialog has been resolved.

In settings the "Test PTT" button is now styled  by checked state.

The  "Test PTT"  button is  enabled without  needing click  "Test CAT"
first when no CAT rig control is selected.

Various parts of the settings dialog  are now disabled when no CAT rig
control is selected. These are the "Mode" group, the "Split Operation"
group and the "Monitor returns to last used frequency" check box. None
of  these have  any  visible impact  nor make  sense  without CAT  rig
control.

Initialization and teardown of rig  control internals has been revised
to avoid several problems related to timing and when switching between
different  CAT  settings. This  includes  improvements  in having  the
operating frequency restored  between sessions when not  using CAT rig
control.

The  initialization   of  OmniRig   connections  has   been  improved,
unfortunately it is  still possible to get an  exception when clicking
the  "Test  CAT" button  where  just  clicking  "OK" and  leaving  the
settings dialog will probably work.

Some unnecessary  CAT commands output  during direct rig  control have
been elided to reduce the level of traffic a little.

The handling of  some automatically generated free  text messages used
when the station is a type 2  compound callsign or is working a type 2
compound callsign has  been improved. This is related to  how a double
click  on  a  message  of  the   form  "DE  TI4/N0URE  73"  is  double
clicked. The  new behaviour depends  on whether the current  "DX Call"
matches the  call in the message.   This resolves the ambiguity  as to
whether this message  is a sign off  at the end of a  QSO with current
operator (a 73  message is generated) or a tail  end opportunity where
the message should be treated the same  as a CQ or QRZ message (WSJT-X
QSYs  to the  frequency, generates  messages and  selects message  one
ready to call).  This still  leaves some potential ambiguous behaviors
in  this complex  area but  selecting "Clear  DX call  and grid  after
logging" should resolve most of them.

Rig  control trace  messages have  been cleaned  up and  are now  more
helpful, less verbose and, tidier in the source code.
------------------------------------------------------------------------

Merged from the wsjtx-1.5 branch.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5298 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-04-26 16:41:12 +00:00
Bill Somerville
a51c5c4251 Reintegrate Joe's experimental VHF & up features
As at ^/branches/wsjtx_exp@5271



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5272 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-04-22 17:48:03 +00:00
Bill Somerville
d9f14cbed8 Reduced FFTW patience to 1 for debug builds for fastest startup
Don't make  proper Windows  applications in  debug builds.  This means
that  the  debug output  now  goes  to  the  console and  the  program
(wsjtx.exe) no longer detaches from the console.

If you  require a proper Windows  executable, for instance if  you are
getting  the  debug  output  via  the normal  method  of  attaching  a
debugger,  you can  still do  so  by setting  the CMake  configuration
option WSJT_CREATE_WINMAIN to ON for your debug build configuration on
Windows.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5249 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-04-20 15:20:38 +00:00
Bill Somerville
fcfca1b1fc Send a status update after a replay decodes as UDP messgaes action
This allows any new UDP client to know the WSJT-X status automatically
after  they have  requested  an  initial replay  of  all decodes  upon
discovering a WSJT-X instance.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5245 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-04-19 22:21:45 +00:00
Bill Somerville
3f75b4144a Send status information to UDP server
To  facilitate interaction  with other  applications WSJT-X  now sends
status  updates  to  a  predefined   UDP  server  or  multicast  group
address. The  status updates include the  information currently posted
to  the  decodes.txt and  wsjtx_status.txt  files.   An optional  back
communications  channel is  also implemented  allowing the  UDP server
application to control some basic actions in WSJT-X.

A reference implementaion of a typical UDP server written in C++ using
Qt is  provided to demonstrate  these facilities. This  application is
not intended  as a user  tool but  only as an  example of how  a third
party application may interact with WSJT-X.

The  UDP messages  Use QDataStream  based serialization.  Messages are
documented in  NetworkMessage.hpp along with some  helper classes that
simplify the building and decoding of messages.

Two  message  handling  classes   are  introduced,  MessageClient  and
MessageServer.  WSJT-X uses the MessageClient class to manage outgoing
and  incoming  UDP  messages   that  allow  communication  with  other
applications.   The MessageServer  class implements  the kind  of code
that a  potential cooperating  application might use.   Although these
classes  use  Qt serialization  facilities,  the  message formats  are
easily  read and  written  by  applications that  do  not  use the  Qt
framework.

MessageAggregator   is   a   demonstration   application   that   uses
MessageServer and  presents a GUI  that displays messages from  one or
more  WSJT-X instances  and  allows sending  back a  CQ  or QRZ  reply
invocation  by double  clicking  a decode.   This  application is  not
intended as  a user facing tool  but rather as a  demonstration of the
WSJT-X UDP messaging facility. It  also demonstrates being a multicast
UDP server by allowing multiple instances to run concurrently. This is
enabled by using an appropriate  multicast group address as the server
address.  Cooperating   applications  need  not   implement  multicast
techniques but  it is recomended  otherwise only a  single appliaction
can act as a broadcast message (from WSJT-X) recipient.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5225 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-04-15 16:40:49 +00:00
Bill Somerville
ae29261978 Remove compiler warning and avoid a potential issue with IB
Subtracting unsigned types  is tricky, made sure result  does not wrap
to avoid potentially implementation defined behaviour.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5211 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-04-11 15:29:37 +00:00
Bill Somerville
b6216c713d Band activity & Rx frequency widget enhancements
Ensure that  these windows have  their viewport scrolled fully  to the
left after deocdes and font changes.

Add the band to the separator line but only if we are certain that the
decodes below it are on that band.

Thanks to  Ton PA0TBR for the  implementation and testing of  the core
features of this change.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5207 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-04-10 20:25:14 +00:00
Bill Somerville
ed2f4ee226 Fix font setting
Several issues  mainly related  to the  rather complex  interaction of
style sheets and widget properties with respect to fonts.

Font setting  on the  astro window  should now  be consistent  and not
overridden by application style sheet driven font settings.

Decoded text font setting should now be consistent and not revert back
to Courier 10 on the next decode after a font change.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5179 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-04-07 12:08:55 +00:00
Bill Somerville
868ce60f7e Sort out decoded text font and font changes
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5159 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-04-05 12:22:01 +00:00
Bill Somerville
6ca5c61c32 Ensure Tx and Rx cursor are initialized from settings
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5072 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-03-18 16:28:49 +00:00
Bill Somerville
5566022c01 Ensure main frequency display gets initialized with Rig=None
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5068 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-03-17 17:35:39 +00:00
Bill Somerville
083416e8ba Refine the special treatment of 73 messages
The  feature to  set the  next message  to be  sent to  auto generated
message number 6 (CQ) is now only trggered when a transmission of a 73
message is made for the first time in a QSO. If a second 73 message is
required, for example when a QSO  partner repeats an RRR message after
your 73 message, simply double  clicking the RRR message will initiate
another 73 message without triggering a  log QSO dialog or setting the
next message to CQ.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5065 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-03-17 14:59:19 +00:00
Bill Somerville
ef75677e54 Don't attempt to lookup empty calls in CALL3.TXT
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5057 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-03-15 13:16:41 +00:00
Bill Somerville
2b781d1685 Improved automatic message handling
More consistent and accurate processing of compund callsigns including
recognizing the  user's call  in both base  and fully  qualified form,
extracting reports  from special type  one and type two  compound call
messages.  Ensure that  "CQ DX"  message prefixes  are recognized  and
processd correctly.

The  cycle of  double  clicking through  a QSO  has  been enhanced  to
recognoize the  standard messages correctly  and use the  correct next
message. The automatic  transmission button "Enable Tx"  now does what
it says and does not double as a stop transmit button. This allows the
current transmission  to complete  even if the  automatic transmission
feature is  disabled. In line with  this the "stop sending  after a 73
message is sent"  feature turns off the  automatic transmission enable
at the start of the sending of  a 73 message and also the next message
is now set up as the CQ  message automatically in this scenario.  A 73
message is now  either a standard message containing the  word "73" or
any free text  message containing "73" (not necessarily  as a distinct
word").

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5055 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-03-14 19:13:18 +00:00
Bill Somerville
6bd4602662 QtCreator/QtDesigner don't understand their own classes
Wrapping the  Ui:: UI  class in a  QScopedPointer, a  perfectly proper
thing to do, causes QtDesigner to fail to grok the code.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5019 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-03-08 00:06:43 +00:00
Bill Somerville
21bf2b6b31 Better handling of compound callsigns
Option  to control  standard message  generation for  type 2  compound
callsign holders.

Process decoded  messages based  on either base  or full  callsign for
both DE and DX callsigns.

Change CW id when callsign changed in settings.

Merged from wsjtx-1.4 branch.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5000 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-03-04 12:22:33 +00:00
Bill Somerville
a249ce4c29 Add option for returning to last monitored frequency on monitor enable
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4995 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-02-27 18:59:08 +00:00
Bill Somerville
2474f73b7b Improved next and current Tx message widget short cuts
Short cut  keys implemented via a  special key press event  handler do
not  fully  integrate  with  the UI  and  standard  UI  implementation
guidelines,  also they  introduce an  alternative code  path that  can
diverge from the intended behaviour.

Short  cuts   to  set  the  next   Tx  message  have  been   added  as
Ctrl+<number>.  Alt+<number>  short cuts  now do  as the  help implies
i.e. change  the current Tx message  even if there is  another message
being transmitted.

The log QSO  window should only be  triggered by a 73  Tx message when
transmitting.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4992 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-02-27 13:34:18 +00:00
Bill Somerville
4933a30546 Clean up program identification to pskreporter and other places
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4987 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-02-23 15:19:41 +00:00
Bill Somerville
0f72c3fd9b Abandon getting changeset revision number from svn keyword expansion
Subversion keyword expansion of $Rev:$ in  a file is hopeless as it is
impossible to  coordinate with  a release. Revert  to an  empty string
when it can't be discovered with svn info etc..

Further changes to the way verion and revision numbers are generated

Local builds from  source tar balls or the  two phase wsjtx-superbuild
no longer specify  any revision, just the version  number. Since these
sort  of builds  are  expected  to be  release  candidates or  release
versions the revision (svn changeset  number) is implicit from the svn
tag of the version.

Merged from wsjtx-1.4 branch.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4986 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-02-22 00:20:42 +00:00
Bill Somerville
b79456ed1b Look in the right place for temporary files
decoded.txt was not being deleted after a full activity window erase.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4982 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-02-21 20:13:28 +00:00
Bill Somerville
9a8521d2d4 Add a progress dialog to show that FFT optimization is doing something
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4965 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-02-15 00:48:38 +00:00
Bill Somerville
8956b53453 Use the OpenMp parallel decoding jt9 in WSJT-X
The temporary  development version  of jt9 called  jt9_omp is  now the
default jt9. This means that parallel  decoding of JT65 and JT9 is the
default on platforms that support  OpenMP.

If parallel decoding is not required or desired, it can be constrained
by setting the environment  variable OMP_THREAD_LIMIT=1.  In dual mode
operating this will deliver all decodes of the current mode before any
decodes of the  other with the potential impact of  taking up to twice
as long to finish decoding.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4960 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-02-13 16:55:47 +00:00
Bill Somerville
127c633a97 Bring colour settings into line with general configuration strategy
Colours behave  like other  configuration items  and changes  are only
applied when the Settings UI is dismissed via the "OK" button.

Simplified font settings and use  style sheets consistently to set the
application and decoded  text fonts. This is necessary  because any UI
widget that  has a style  sheet applied does not  honor a font  set by
QWidget::setFont()  even if  there is  no  font setting  in the  style
sheet, this is broken behaviour IMHO  but that is the way Qt currently
works.

Use a  style sheet to style  the frequency display and  clock. This is
necessary to  allow fonts to  be cascaded through parent  style sheets
and still be overridden on these widgets.

Simplify  the decoded  text  widgets,  there is  no  need  to use  the
QTextBrowser  as a  super class  since  the simpler  QTextEdit set  as
read-only is sufficient. Also removed  colour setting via a background
brush  as it  doesn't  work  and the  HTML  'bgcolor' attribute  works
correctly.

Change  to  UI  properties  of  the  decoded  text  widgets  to  allow
horizontal scrolling if required, this  allows larger fonts to be used
without truncating decoded messages.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4957 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-02-13 08:53:02 +00:00
Joe Taylor
a93e55fef0 Improved, simplified sort routine; faster and better "flatten"
procedure; better window functions for some FFTs, resulting in
better decoder performance; User-selectable colors for backgrounds
of decoded messages.  NB: more testing is desirable!



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4951 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-02-11 00:50:35 +00:00
Joe Taylor
3a8232b113 Made a start at implementing an option to use multi-threaded FFTs.
New command-line option for jt9: [-m nthreads].  Default is nthreads=1.
Also refactored a loop in filbig.f90 that was taking far too much
time.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4916 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-01-30 21:28:10 +00:00
Bill Somerville
418e0f804a The +2kHz check box should not adjust the frequency when starting up
Since the  last monitored dial  frequency is stored and  restored from
the settings the +2kHz setting should  only set the state of the check
box when initializing and not attempt to adjust the dial frequency.

Merged from the wsjtx-1.4 branch.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4903 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-01-22 00:45:11 +00:00
Bill Somerville
498d4af7a9 Rig polling not detecting changes against cached values correctly
The  PollingTransceiver class  was not  dealing with  frequency change
commands correctly when the mode was not specified.

Improved some diagnostic messages.

Only leave transmit mode when PTT is seen to drop.

Merged from wsjtx-1.4 branch.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4886 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-01-08 23:51:56 +00:00
Bill Somerville
a9957c3193 Added device error message to file open error messages
Thanks to  Mike W9MDB for contributing  this as a patch.  Also added a
few more in elsewhere.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4883 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-01-06 19:00:46 +00:00
Bill Somerville
6a6e56b712 Set split mode before and after setting Tx frequency
Also cleaned up duplicate trace output.

Using the  DX Lab  Suite Commander  CAT interface  with rigs  like the
TS-2000  requires  that  split  mode  be set  after  changing  the  Tx
frequency. This  is because  setting teh  Tx frequency  disables split
mode.

With some Icom rigs  the rig must be in split  mode before setting the
Tx frequency otherwise the Tx frequency change will not be honoured.

To fix  this the sequence set-split,  set-tx-frequency, set-split must
always be used to change the Tx frequency.

Support for new DX Lab Suite Commander TCP/IP commands

Dave AA6YQ has added two new commands to the Commander server to allow
more reliable control.

Requires DX Lab Suite Commander 11.1.4 or later.

Ensure split Tx frequency agrees with UI before transmitting

Ensure split works on Yaesu via Hamlib without breaking others

Also improved class HamlibTransceiver debug trace messages.

Merged r4776-r4779 from wsjtx-1.4 branch.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4780 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-12-06 20:23:29 +00:00