Commit Graph

6733 Commits

Author SHA1 Message Date
Bill Somerville
6ab7889cd4
Deal with null pointers in QMessageLogContext instances 2020-09-27 16:16:55 +01:00
Bill Somerville
68a083b9bf
Revert "Temporary reduction in severity for audio underrun errors"
This reverts commit a4fad2661f.
2020-09-27 13:38:51 +01:00
Bill Somerville
a4fad2661f
Temporary reduction in severity for audio underrun errors 2020-09-27 13:34:39 +01:00
Bill Somerville
9fe3c7123e
Avoid GUI actions when crashing out with an uncaught exception 2020-09-27 13:25:38 +01:00
Bill Somerville
c1e1f3d46c
Find all the package components we use 2020-09-27 02:42:44 +01:00
Bill Somerville
59270e682f
Header file case fix 2020-09-27 01:55:29 +01:00
Bill Somerville
a6cb51e142
Windows only code 2020-09-27 01:53:12 +01:00
Bill Somerville
7a56acfe35
Merge branch 'develop' into feat-boost-log 2020-09-27 01:45:29 +01:00
Bill Somerville
32cff87234
Merge branch 'release-2.3.0' into develop 2020-09-27 01:44:56 +01:00
Bill Somerville
e5eb10f438
Updated release notes 2020-09-27 01:26:36 +01:00
Bill Somerville
1ae96dc672
Disable RC nag message 2020-09-27 00:42:25 +01:00
Bill Somerville
7f22d3c5a6
Merge branch 'develop' into feat-boost-log 2020-09-27 00:30:32 +01:00
Bill Somerville
1f96b82708
Bump version 2020-09-27 00:28:45 +01:00
Bill Somerville
ed10b0414a
Merge branch 'master' into develop 2020-09-26 21:52:29 +01:00
Bill Somerville
450f44c9ab
Merge branch 'release-2.3.0' 2020-09-26 21:51:46 +01:00
Bill Somerville
24b9da7c1b
Enable RC nag message and time limit 2020-09-26 21:09:45 +01:00
Bill Somerville
32036cd36f
Correct slot function signatures due to Raspberry Pi compile error 2020-09-26 21:08:43 +01:00
Bill Somerville
e8808ebc54
Remove unnecessary stop of the input audio stream after error notifications 2020-09-26 21:07:35 +01:00
Bill Somerville
f12f481955
Remove unused member variable that breaks the Raspberry Pi build 2020-09-26 17:47:38 +01:00
Bill Somerville
3b6eabc7a8
Merge branch 'hotfix-2.3.0-rc1' into release-2.3.0 2020-09-26 16:42:47 +01:00
Bill Somerville
3295a7d10c
Preparation for the first v2.3.0 release candidate 2020-09-26 16:02:02 +01:00
Bill Somerville
47f85961aa
Better mapping of Hamlib message severity to ours 2020-09-26 15:44:58 +01:00
Bill Somerville
1b941af851
Per channel severity filter for default logging 2020-09-26 15:15:47 +01:00
Bill Somerville
030c8868ab
Dump current settings to trace log at startup 2020-09-26 15:14:51 +01:00
Bill Somerville
d587325f65
Sample user-defied log configuration file 2020-09-26 15:13:52 +01:00
Bill Somerville
396f128ece
Make use of different severities for rig control logging 2020-09-26 15:13:29 +01:00
Bill Somerville
1d43ddd38b
Use wide character logging for efficiency as most o/p is QString 2020-09-26 14:56:16 +01:00
Bill Somerville
db9b2d538d
Conversions to QString for user-defined Qt types 2020-09-26 13:57:21 +01:00
Bill Somerville
4b85d916ec
Updates to qmake project include files 2020-09-25 02:42:17 +01:00
Bill Somerville
dc1fdd9562
Remove some obsolete CMake options 2020-09-25 02:41:47 +01:00
Bill Somerville
cbd4f109a8
Add a log channel for rig control
RIGCTRL is defined as a log channel for rig control messages and the
appropriate logger is made available to children of the Transceiver
class. Use Transceiver::logger() to access the logger.

Switched existing rig control QDebug messages to Boost logging.
2020-09-25 02:37:41 +01:00
Bill Somerville
bd529c0ce5
Merge branch 'develop' into feat-boost-log 2020-09-25 00:54:51 +01:00
Bill Somerville
3fafbdaaa3
Boost log set up for WSJT-X
Rotated  log files  limited to  ten  saved logs  with timestamped  and
counted file names. Logs written to writeable files directory. Formats
and file  names hard coded  with expression templates  fro efficiency,
but with the ability to provide a user-defined configuration file that
overrides the hard-coded  defaults. The configuration file  must be in
the configuration files directory and named wsjtx_log_config.ini.
2020-09-25 00:50:32 +01:00
Bill Somerville
98997fb745
Basic implementation of some log sinks using the Boost log library
A sink called SYSLOG that is intended to consume all log messages.

A sink called DATALOG that is intended for data logging.
2020-09-24 18:55:00 +01:00
Bill Somerville
e83b91de95
Move ExceptionCatchingApplication class to its own header 2020-09-24 18:32:58 +01:00
Bill Somerville
e50e712fdd
Start using class NonInheritingProcess 2020-09-24 17:57:06 +01:00
Bill Somerville
1a6474976c
Wrap QProcess to avoid inherited handles causing issues on Windows 2020-09-24 17:53:21 +01:00
Joe Taylor
e489d1fe85 A few more edits for User Guide. 2020-09-24 11:01:04 -04:00
Joe Taylor
3799ddc3f7 Editing of new FST4/FST4W text in the User Guide. 2020-09-24 10:42:39 -04:00
Joe Taylor
4a327c2c42 Minor editing of User Guide. 2020-09-23 16:34:42 -04:00
Joe Taylor
598835d9c9 First cut at adding FST4, FST4W to the User Guide. 2020-09-23 15:03:33 -04:00
Joe Taylor
475fe79d05 Merge branch 'develop' of bitbucket.org:k1jt/wsjtx into develop 2020-09-22 11:27:36 -04:00
Joe Taylor
dd296311cc Disable TxFreqSpinBox, not RxFreqSpinBox if QSY during transmit is not allowed. 2020-09-22 11:25:59 -04:00
Bill Somerville
d1bb70fd1b
Show busy cursor while enumerating audio devices 2020-09-22 12:18:23 +01:00
Bill Somerville
86c76be111
Merge branch 'develop' into feat-boost-log 2020-09-22 11:23:33 +01:00
Joe Taylor
8c9acfc464 Set default freq for JT9 on 2200 m to 0.136000 MHz. 2020-09-21 14:45:17 -04:00
Joe Taylor
9fe2fc6de0 Fix two problems: sometime incorrect setting of RxFreq in WideGraph, and incorrect timestamp for FST4W-120 and FST4W-300 decodes in ALL.TXT. 2020-09-21 14:35:16 -04:00
Bill Somerville
b6d95d54d3
Merge branch 'develop' into feat-boost-log 2020-09-20 23:50:33 +01:00
Bill Somerville
542ffe8311
Improve audio device handling and error recovery
where possible  audio devices that  disappear are not  forgotten until
the user selects another device, this should allow temporarily missing
devices or forgetting  to switch on devices before  starting WSJT-X to
be  handled more  cleanly. If  all else  fails, visiting  the Settings
dialog and  clicking OK should  get things  going again. Note  that we
still  do not  have  a  reliable way  of  detecting  failed audio  out
devices, in that  case selecting another device and  then returning to
the original should work.

Enumerating  audio devices  is expensive  and on  Linux may  take many
seconds per  device. To avoid  lengthy blocking behaviour until  it is
absolutely necessary,  audio devices are  not enumerated until  one of
the "Settings->Audio" device drop-down lists is opened. Elsewhere when
devices  must be  discovered  the  enumeration stops  as  soon as  the
configured device is  discovered. A status bar message  is posted when
audio devices are being enumerated as a reminder that the UI may block
while this is happening.

The message box warning about  unaccounted-for input audio samples now
only triggers when  >5 seconds of audio appears to  be missing or over
provided. Hopefully this will make the warning less annoying for those
that are  using audio sources  with high and/or variable  latencies. A
status  bar message  is still  posted for  any amount  of audio  input
samples  unaccounted for  >1/5 second,  this message  appearing a  lot
should be considered as notification that  there is a problem with the
audio sub-system, system load is  too high, or time synchronization is
stepping the PC clock rather  than adjusting the frequency to maintain
monotonic clock ticks.
2020-09-20 18:20:16 +01:00
Joe Taylor
1ab59a8d6b Fully configure WideGpahe after switching to JT65 mode. 2020-09-20 10:17:27 -04:00