Bill Somerville
d944726723
Start dealing with thread related object lifetime issues
...
There are several object lifetime issues that can cause crashes on
application close down. This change is the first phase of addressing
these issues.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5719 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-13 11:00:55 +00:00
Steven Franke
de6ce3537c
Correctly handle pctx=0.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5718 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-13 01:12:28 +00:00
Steven Franke
17abc141aa
Minor tweak to WsprTxScheduler.cpp
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5717 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-12 14:12:31 +00:00
Bill Somerville
b8330b675d
Move pseudo RNG seeding to start of application
...
Also switched to qrand() in place of rand() where possible as it is
thread safe.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5716 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-12 10:28:28 +00:00
Steven Franke
bdef43aed7
WsprTxScheduler improvements.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5715 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-12 01:06:24 +00:00
Bill Somerville
f1989b3874
Fix regression in CAT sequencing from r5700
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5714 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-11 22:50:05 +00:00
Bill Somerville
f0058d7716
Make WSPR band hopping tuneup Tx dependent on Enable Tx button state
...
Tuneup is now only possible with Tx Enable checked, if no message
transmission is required with tuneup transmissions then Tx percentage
zero must be selected along with Enable Tx.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5713 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-11 22:49:56 +00:00
Bill Somerville
be48da5b3f
Ensure that the WSPR Tx percentage is correctly initialized
...
Also tidied some code up.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5700 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-07 19:02:25 +00:00
Joe Taylor
1942652c2a
Fix bug in JT4 decodes with MinW=G.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5690 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-06 17:26:40 +00:00
Steven Franke
529444e713
Add drift estimate refinement and other minor tweaks.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5685 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-04 19:52:57 +00:00
Bill Somerville
83633863e3
Update decodes widgets when entering and leaving WSPR modes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5674 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-03 17:33:20 +00:00
Bill Somerville
877f75add1
Manage .c2 files in the same way as .wav files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5673 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-03 17:33:13 +00:00
Bill Somerville
97509cbea0
Only delete last .wav file on exit if it is not to be saved
...
Also enhanced delete .wav files menu entry to delete .c2 files as
well.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5672 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-03 17:33:05 +00:00
Bill Somerville
c739bb88e8
Allow DTR line to be forced alongside hardware flow control
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5671 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-03 17:32:57 +00:00
Steven Franke
4303a955b7
Add -d deep search option.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5669 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-03 15:05:09 +00:00
Steven Franke
13953fea98
Fine tuned sync-search and iifac. No more quickmode on second pass.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5668 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-03 02:39:38 +00:00
Bill Somerville
d7d8dd7e24
Handle includes on a per target basis
...
Bring wsprd and wsprsim in to line with general includes scheme.
Use Qt5 exported library definitions in preference to
qt5_use_modules() which is deprecated.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5663 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-02 17:14:05 +00:00
Steven Franke
341cb472ac
Signficant decrease of time spent in sync_and_demod(0) and 1.5% more spots
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5660 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-02 01:17:52 +00:00
Bill Somerville
068ad9a519
Revert to default stack allocation for wsprd
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5658 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-01 20:05:42 +00:00
Steven Franke
528d79f933
Move some arrays to heap storage.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5656 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-01 19:33:40 +00:00
Joe Taylor
b498046cf0
Only one text window in WSPR and Echo modes, even if "Show DXCC" is enabled.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5651 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-01 17:38:18 +00:00
Bill Somerville
d28909e2bb
Increase stack space for Windows wsprd
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5647 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-07-01 13:37:17 +00:00
Steven Franke
b77f61bdb9
Move wsprd_exp.c to wsprd.c, making two-pass decoding the default for wspr mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5644 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-30 22:03:07 +00:00
Steven Franke
2bb1efab5e
Store decodes in a struct and sort by frequency before printing.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5636 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-28 14:01:23 +00:00
Steven Franke
b5c77b40fc
Temporarily commented out timf2 in wspr_downsample.f90.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5635 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-28 01:35:33 +00:00
Joe Taylor
98885bf899
Add Makefilw.win32 for test builds of wsprd-exp.exe on Windows.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5631 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-26 15:42:11 +00:00
Bill Somerville
2515b2f38d
Make the main window more portable and font change capable
...
The Rx meter is now a better Qt citizen and can be resized. Added a
more obvious peak signal indicator. It is now a custom widget derived
from QFrame and is now directly added via promotion in Designer.
Added a custom widget to act as a letter spin box, this is used for
sub mode control. Switched the frequency tolerance widget to a combo
box with preset values so that it is more uniform across systems and
font sizes.
Added container widgets for group control of various UI widgets such
as QSO controls, DX call controls and WSPR controls. Introduced a
stacked widget to allow the WSPR controls to be swapped in in place of
the "QSO" controls. The "QSO" controls are are the Rx, Tx and related
controls along with the main tab widget with the message buttons and
fields. This means that the WSPR version of the main window (and EME
Echo mode) are now much cleaner.
Increased the size of the rig control widget and styled its colour
using a dynamic property so that it can be defined in the Designer UI
definition. Reinstated it as a push button to do a rig control reset
and retry after an error.
Reset most UI widgets to default properties, particularly removing any
fixed sizes so that they can resize freely when fonts are changed. The
overall layout is now controlled almost exclusively by stretch factors
on some of the rows and columns of the various grid layout managers.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5630 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-25 22:41:13 +00:00
Steven Franke
eabab6027f
Compensate for LPF filter step response at beginning and end of transmission.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5629 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-24 02:08:59 +00:00
Steven Franke
b27710cf83
/lib/wsprd/Makefile now creates wsprd_exp.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5628 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-22 19:42:28 +00:00
Steven Franke
77e9a8431f
Two-pass decoding is now the default in wsprd_exp.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5627 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-22 19:39:43 +00:00
Steven Franke
0133205872
Added logic so that saving of c2 files will turn on/off with None/Save All. This did not fix Save Decoded, which has no effect in WSPR mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5626 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-21 23:08:47 +00:00
Steven Franke
4d176c846a
Replace some hardwired parameters with variables in wsprd_exp.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5625 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-21 22:32:22 +00:00
Steven Franke
8c706f7f29
Refinements to wsprd_exp signal subtraction function.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5624 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-21 01:48:48 +00:00
Bill Somerville
9719ea02b4
Clear generated messages when clearing DX after logging
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5623 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-18 22:18:05 +00:00
Bill Somerville
756c353fe8
Store and forward UDP messages while waiting for a host lookup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5622 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-18 22:01:40 +00:00
Steven Franke
8e4c20b8a5
Bug fixes for wsprd and wsprsim utilities. Implemented fully-coherent signal subtraction in wsprd_exp.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5621 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-18 02:24:06 +00:00
Steven Franke
0864449f21
Remove debuggin code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5620 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-16 03:02:01 +00:00
Steven Franke
b41c813259
Fix some bugs uncovered by the signal subtraction project.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5619 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-16 02:47:51 +00:00
Bill Somerville
327a5907b9
Ensure that he .WAV file read flag gets cleared when returning to monitoring
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5618 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-15 22:49:31 +00:00
Steven Franke
1fb652ddf2
Further work on signal subtraction. wsprd_exp now has subtraction and two-pass options.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5617 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-15 22:24:02 +00:00
Bill Somerville
cecb01b446
Improved WSPR band hopping band selection
...
When band hopping, coordinated slots that are unavailable may be
substituted by non-coordinated bands or non-scheduled coordinated
bands.
Rather than randomly choosing a substitute band, random permutations
of available receive-only and transmit allowed bands are generated and
consumed one at a time when a substitute band is required. This
ensures that all available bands get an airing on a regular basis
while selections remain randomized as much as possible within the user
defined constraints of coordinated bands, transmit ratio and Rx only
bands.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5616 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-15 12:04:09 +00:00
Joe Taylor
9375c73b1c
Guard against divide by 0 in case of certain possible upgrade paths.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5615 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-15 01:51:07 +00:00
Steven Franke
a6a9dcc68b
More progress on signal subtraction.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5614 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-15 01:34:32 +00:00
Steven Franke
35fb1d7335
First steps toward 2-pass decoder that attempts to subtract strong signals.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5611 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-14 20:24:52 +00:00
Steven Franke
34c3e4da69
Modifications to allow get_wspr_channel_symbols to be called repeatedly.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5610 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-14 20:02:03 +00:00
Steven Franke
9d6a6da66a
Fix problem that affected Type 1 callsigns with 6 chars.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5609 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-14 18:13:38 +00:00
Steven Franke
3723b66ddb
Actually add the new wsprsim files this time.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5608 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-14 15:21:50 +00:00
Steven Franke
8cf80a851d
unpk.c moved to unpk.c.obsolete. This function lives in wsprd_utils.c
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5607 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-14 15:06:46 +00:00
Steven Franke
3039c9d790
Added c functions necessary for packing/coding and demonstration/simulation program wsprsim.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5606 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-14 15:05:07 +00:00
Joe Taylor
d64fb9826e
Add UTC to WSPR Tx dividing line; add WSPR Rx dividing line when no decodes;
...
increase ranges of Gaiz/Zero sliders on Echo Graph.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5605 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2015-06-13 14:24:54 +00:00