Commit Graph

846 Commits

Author SHA1 Message Date
Bill Somerville f076c37c19 Made the soft keying CW wave shaper a CMake option (off by
default).

Reorganized Modulator interface so that it can control the stream
it writes to.

Make sure only QAudioOutput::stop is called at the end of sending
rather than QAudioOutput::reset which discards pending samples.

Added a quick close option to the Modulator::stop slot to discard
pending buffers if required.

Fix issue in CW synthesizer that was causing CW to be inverted
occasionally.

Made global arrays of symbols volatile because compiler waa
optimizing away reads in sound thread. These global variables
must go eventually as they are a multi-threading hazard.

Simplified TX sequencing to remove some duplicate signals.

Increased range of TX attenuator from 10dB to 30dB. This is mainly for
non-Windows platforms where the attenuator isn't linearized correctly.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3985 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-06 21:58:11 +00:00
Bill Somerville b3f17051e7 Save the last used free text message between runs.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3982 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-03 21:55:51 +00:00
Bill Somerville 4453a46664 Don't overwrite frequency, station or, macro models whenleaving the
configuration dialog unless they have changed.

Fix a bug I had introduced into the free text message fields so they
don't get overwritten by message generation.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3981 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-03 21:19:04 +00:00
Bill Somerville db0ba3940d Squashed yet more compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3979 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-03 20:06:30 +00:00
Bill Somerville 581691befb Rearranged sequencing of audio streams and devices.
The code  was starting streams linked  to closed devices which  may be
causing issues on  the Mac version.  I have refactored  to ensure that
devices are always opened before related audio streams are started.

Made .h C++ headers emacs friendly.

Removed some code in the MainWindow  contructor that read the log file
but failed to check if the file exists and didn't do anything with the
data anyway.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3977 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-04-03 19:29:13 +00:00
Bill Somerville a893d42288 Uniform appearance of window titles.
Svn revision  number displayed  in about  window and  sent PSKReporter
only.

About box text centred and uses Copyright symbol.

Window   title   on  "Log   QSO"   dialog   includes  rig-name   where
multi-instance support  is enabled. This  is necessary since  the "Log
QSO" dialog is not modal.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3960 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-30 01:31:40 +00:00
Bill Somerville c48be0494f Reducing the number of files dependent on svnversion.h without
compromising qmake builds. Now it is required to directly include
svnversion.h to get the SVNVERSION macro defined.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3955 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-29 02:51:07 +00:00
Bill Somerville a9f0dd0efe Aligned CMake built auto fetch svn revision with old qmake $Id: one.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3950 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-29 00:28:44 +00:00
Bill Somerville 9247e10115 Added support for use of "Standard" locations for writable files.
This allows  writable files  to be  located in  the "correct"
         location for  each platform rather  than in the  directory of
         the  executable  which, in  general,  is  not recommended  or
         allowed in some cases.

         A preprocessor macro  WSJT_STANDARD_FILE_LOCATIONS is used to
         switch be tween old and new functionality, currently it is on
         by default.  It  can be turned off by defining  it to a false
         value (0)  or more simply  with cmake-gui setting  the option
         with  the same  name.  JTAlert  can  only work  with the  old
         non-standard file  locations until  Laurie VK3AMA  chooses to
         support the new file locations.

         Even  if the  above is  not  enabled; the  QSettings file  is
         written to a  user specific location so it will  be shared by
         all instances  of the  program (i.e.  across  upgrades).  See
         below for multiple concurrent instance support changes.

Added a command line parser module for Fortran.

         Added 'lib/options.f90'  to facilitate more  complex argument
         passing to jt9 to cover explicit file locations.

Changed the way multiple concurrent instances are handled.

         This is  to allow the program  to be run multiple  times from
         the same installation directory.

         A new wsjtx command line  optional argument is available "-r"
         or  "--rig"   which  enables  multiple   concurrent  instance
         support.  The  parameter of the  new option is a  unique name
         signifying  a rig  or equivalent.   The name  is used  as the
         shared memory segment key and  in window titles.  The name is
         also used to  access unique settings files  and writable data
         files like ALL.TXT  and log files.  No attempt  has been made
         to share these files between concurrent instances.

         If  "-r" or  "--rig" is  used  without a  parameter it  still
         enables  multiple   concurrent  instance  support   for  that
         instance.  All instances must use  a unique parameter, one of
         which may be empty.

         The        rig       name        is       appended        the
         QCoreApplication::applicationName() for convenient usage like
         window titles.

Set non Qt locale to "C".

         This ensures that C library functions give consistent results
         whatever the  system locale is set  to.  QApplication follows
         the system locale as before.  Thus using QApplication and its
         descendants  like widgets  and QString  for all  user visible
         formating will give correct l10n and using C/C++ library will
         give consistent formatting across locales.

Added top level C++ exception handling to main.cpp.

         Because  the   new  transceiver  framework   uses  exceptions
         internally, the main function now handles any exceptions that
         aren't caught.

Retired devsetup, replaced with Configuration.

         Configuration  is  a  class  that encapsulates  most  of  the
         configuration  behavior.   Because  rig configuration  is  so
         closely coupled with rig operation, Configuration serves as a
         proxy  for   access  to  the  rig   control  functions.   See
         Configuration.hpp  for  more  details  of  the  Configuration
         interface.

Menu changes.

         Various checkable  menu actions moved  from main menu  to the
         Configuration  dialog.   The  whole settings  menu  has  been
         retired with  the single  "Settings..."  action moved  to the
         file  menu  for  consistency  on  Mac  where  it  appears  as
         "Preferences" in line with Mac guidelines.

New data models for data used by the application.

         ADIF amateur band parameters,  free text message macros, spot
         working   frequencies  and,   station  information   (station
         descriptions and transverter offsets per band) each implement
         the  QAbstractItemModel interface  allowing them  to be  used
         directly with  Qt view widgets  (Bands.hpp, FrequencyList.hpp
         and, StationList.hpp).  Configuration  manages maintenance of
         an instance of  all but the former of the  above models.  The
         ADIF band  model is  owned by  Configuration but  requires no
         user maintenance as it is immutable.

Band combo box gets more functionality.

         This  widget is  now an  editable QComboBox  with some  extra
         input capabilities.

         The popup list is still the list of spot working frequencies,
         now  showing the  actual  frequency decorated  with the  band
         name.  This  allows multiple  spot frequencies  on a  band if
         required.

         The  line edit  allows direct  frequency entry  in mega-Hertz
         with  a completer  built  in to  suggest  the available  spot
         working frequencies.   It also  allows band name  entry where
         the  first  available  spot working  frequency  is  selected.
         Recognized band names are those  that are defined by the ADIF
         specification and  can be found  in in the  implementation of
         the ADIF bands model (Bands.cpp).

         If an out of band frequency  is chosen, the line edit shows a
         warning red  background and the  text "OOB".  Out of  band is
         only defined  by the  ADIF band limits  which in  general are
         wider than any entities regulations.

Qt 5.2 now supports default audio i/p and o/p devices.

         These devices are placeholders  for whatever the user defines
         as the  default device.   Because of  this they  need special
         treatment as  the actual device  used is chosen at  open time
         behind the scenes.

Close-down behavior is simplified.

         The close-down  semantics were broken such  that some objects
         were not being shut down cleanly, this required amendments to
         facilitate correct close down of threads.

User font selection added to Configuration UI.

         Buttons to set the application font and the font for the band
         and  Rx frequency  activity widgets  have been  added to  the
         Configuration UI to replace the file based font size control.

Free text macros now selected directly.

         The free text line edit  widgets are now editable combo boxes
         that have  the current free  text macro definitions  as their
         popup  list.   The old  context  menu  to  do this  has  been
         retired.

Astronomical data window dynamically formatted and has font a chooser.

         This window is now autonomous,  has its own font chooser and,
         dynamically resizes to cover the contents.

Double click to Tx enabled now has its own widget in the status bar.

QDir used for portable path and file name handling throughout.

The  "Monitor", "Decode",  "Enable  Tx" and,  "Tune"  buttons are  now
checkable.

         Being checkable allows these  buttons control their own state
         and rendering.

Calls to PSK Reporter interface simplified.

         In   mainwindow.cpp  the   calls   to   this  interface   are
         rationalized to just 3 locations.

Manipulation of ALL.TXT simplified.

         Moved, where possible, to common functions.

Elevated frequency types to be Qt types.

         Frequency  and FrequencyDelta  defined as  Qt types  in their
         meta-type system  (Radio.hpp).  They  are integral  types for
         maximum accuracy.

Re-factored rig control calls in mainwindow.cpp.

         The new  Configuration proxy  access to rig  control required
         many changes  (mostly simplifications) to the  MainWindow rig
         control code.  Some  common code has been  gathered in member
         functions   like   qsy(),   monitor(),   band_changed()   and
         auto_tx_mode().

Rig control enhancements.

         The  rig control  for  clients interface  is  declared as  an
         abstract    interface   (See    Transceiver.hpp).    Concrete
         implementations of this interface are provided for the Hamlib
         rig  control library,  DX Lab  Suite Commander  via a  TCP/IP
         command channel, Ham  Radio Deluxe also via  a TCP/IP command
         channel and, OmniRig via its Windows COM server interface.

         Concrete Transceiver implementations are expected to be moved
         to a separate thread after construction since many operations
         are blocking  and not suitable  for running in a  GUI thread.
         To facilitate this all  instantiation of concrete Transceiver
         instances are handled by  Configuration using a factory class
         (TransceiverFactory)   for   configuration  parameter   based
         instantiation.

         Various   common  functionality   shared  by   different  rig
         interface implementations  are factored out into  helper base
         classes that  implement or delegate parts  of the Transceiver
         interface.  They  are TransceiverBase  which caches  state to
         minimize expensive rig commands, it also maps the Transceiver
         interface  into a  more  convenient  form for  implementation
         (template methods).  PollingTransceiver that provides a state
         polling   mechanism  that   only   reports  actual   changes.
         EmulateSplitTransceiver  that  provides  split  operation  by
         QSYing on PTT state changes.

         EmulateSplitTransceiver can  be used with  any implementation
         as  it follows  the GoF  Decorator pattern  and can  wrap any
         Transceiver implementation.

         OmniRigTransceiver is  derived directly  from TransceiverBase
         since  it doesn't  require  polling due  to its  asynchronous
         nature.  OmniRigTransceiver is only built on Windows as it is
         a COM server client.  To build  it you must first install the
         OmniRig     client     on     the     development     machine
         (http://www.dxatlas.com/omnirig/).

         DXLabSuiteCommanderTransceiver          derives          from
         PollingTransceiver since  it is a  synchronous communications
         channel.   No  third  party  library  is  required  for  this
         interface.

         HRDTransceiver also derives from PollingTransceiver.  The HRD
         interface  library has  been  reverse  engineered to  provide
         functionality with  all available versions of  HRD.  No third
         party libraries are required.

         HamlibTransceiver  likewise  derives from  PollingTransceiver
         since  the Hamlib  asynchronous interface  is non-functional.
         Although this  class will interface with  the release version
         of Hamlib (1.2.15.3);  for correct operation on  most rigs it
         needs to  run with the  latest master branch code  of Hamlib.
         During development many changes to Hamlib have been submitted
         and accepted,  hence this requirement.  Hamlib  source can be
         obtained from git://git.code.sf.net/p/hamlib/code  and at the
         time of writing he master branch was at SHA 6e4432.

         The Hamlib interface directly calls the "C" interface and the
         modified rigclass.{h,cpp} files have been retired.

         There is a rig type selection of "None" which may be used for
         non-CAT  rigs, this  is actually  a connection  to the  dummy
         Hamlib device.

         PollingTransvceiver   derives    from   TransceiverBase   and
         TransceiverBase derives from the Transceiver interface.

         Each interface implementation offers  some possibility of PTT
         control via  a different serial  port than the CAT  port.  We
         also support PTT  control directly via a  second serial port.
         This is done  by delegating to a dummy  Hamlib instance which
         is   only   used   for   PTT  control.    This   means   that
         DXLabSuiteCommanderTransceiver,       HRDTransceiver      and
         OmniRigTransceiver  always  wrap  a  dummy  HamlibTransceiver
         instance.  The  factory class TransceiverFactory  manages all
         these constructional complexities.

         Serial port  selection combo  boxes are  now editable  with a
         manually  entered value  being  saved to  the settings  file.
         This allows  a non-standard  port device  to be  used without
         having to edit the settings file manually.

         For TCP/IP  network CAT  interfaces; the network  address and
         port  may  be specified  allowing  the  target device  to  be
         located on a different machine  from the one running wsjtx if
         required.  The  default used when  the address field  is left
         blank is the correct one for normal usage on the local host.

         Selecting a polling  interval of zero is  no longer possible,
         this  is because  the rig  control capability  can no  longer
         support one way connection.  This  is in line with most other
         CAT control software.

         In the Configuration dialog there are options to select split
         mode  control  by  the  software  and  mode  control  by  the
         software.  For  the former  "None", "Rig"  and "Fake  it" are
         available,  for  the latter  "None",  "USB"  and, "Data"  are
         available.  Because  tone generation is implicitly  linked to
         split mode  operation; it is  no longer possible to  have the
         software in split  mode and the rig not or  vice versa.  This
         may mean some rigs cannot be used in split mode and therefore
         not in dual JT65+JT9 until  issues with CAT control with that
         rig are  resolved.  Single  mode with VOX  keying and  no CAT
         control are still possible so even the most basic transceiver
         setup is supported as before.

         Configuration now  supports a  frequency offset  suitable for
         transverter   operation.     The   station    details   model
         (StationList.hpp) includes  a column  to store an  offset for
         each band if required.

CMake build script improvements.

         The CMakeLists.txt from the  'lib' directory has been retired
         with its  contents merged into the  top level CMakeLists.txt.
         Install  target support  has been  greatly improved  with the
         Release build  configuration now building a  fully standalone
         installation  on Mac  and Windows.   The Debug  configuration
         still   builds   an   installation   that   has   environment
         dependencies for  external libraries, which is  desirable for
         testing and debugging.

         Package target  support is largely complete  for Mac, Windows
         and, Linux, it should be possible to build release installers
         directly from CMake/CPack.

         Cmake FindXXXX.cmake  modules have been added  to improve the
         location of fftw-3 and Hamlib packages.

         Version numbers are now stored in Versions.cmake and work in
         concert with automatic svn revision lookup during build.  The
         version string becomes 'rlocal'± if there are any uncommitted
         changes in the build source tree.

Moved resource like files to Qt resources.

      	 Because location of resource files  (when they cannot go into
      	 the  installation directory  because of  packaging rules)  is
      	 hard to standardize.  I have used the Qt  resource system for
      	 all ancillary data files. Some  like kvasd.dat are dumped out
      	 to the temp (working directory)  because they are accessed by
      	 an external program, others like the audio samples are copied
      	 out so  they appear in  the data directory under  the default
      	 save directory.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3929 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-26 13:21:00 +00:00
John Nelson 1a427e4bdf Remove increase in drop down freq menu: not necessary
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3872 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-15 14:41:35 +00:00
John Nelson 12fbee2bf3 Increase number of items in freq drop-down menu from 10 to 16
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3871 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-15 09:27:29 +00:00
Joe Taylor 5004d99d0d Temporarily(?) comment out the "-subsystem,windows" flag in CMakeLists.txt.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3867 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-12 18:47:28 +00:00
Joe Taylor 5f9b624632 Update the CMake files and the rev number.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3842 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-05 20:25:01 +00:00
Joe Taylor 86591544f0 Merge changes from branches/wsjtx_w back into branches/wsjtx.
Note to developers: Not sure about the makefiles...


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3835 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-05 18:20:40 +00:00
Edson W. R. Pereira 9a51f29123 Testing commit access
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3832 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-03-05 14:19:33 +00:00
Joe Taylor 39effefb2f Reposition several controls on main window.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3777 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-02-19 01:32:05 +00:00
Joe Taylor 7d81d1bb59 Sorry, I committed a corrupt file. OK now.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3680 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-31 19:13:14 +00:00
Joe Taylor 7a4a1f216a Implement automatic generation of "Type 1" or "Type 2" messages with
compound callsigns, as required.

TO DO:  Now that the fixed "short list" of common prefixes and suffixes 
is compiled into the code, would be better to remove the requirement for 
file prefixes.txt.  



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3679 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-31 19:01:33 +00:00
Joe Taylor 09f6fba6ec Working on code that will make "genStdMsgs()" generate the proper
"Type 1" or "Type 2" messages when a compound callsign is present.
This is not yet finished!


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3677 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-31 16:45:12 +00:00
Joe Taylor 7324ece8a7 Forgot to put utilities.adoc in SVN. Here it is.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3675 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-30 19:09:14 +00:00
Greg Beam 7909c5b818 User Guide Updates
* Main Page
- (3.3) Changed OS x DL links to "osx_" vs "osx-" in the ref links.
- Updated main page links. I think we should consider an include::file v.s
- line item listing, as the list is getting kinda long.
- Updated quick-reference guide

* (3.4) Added a section to wsjtx-main.adoc for Linux Compile form Source. This
needs work as I basically pulled the steps from my local build script. While it
works nicely in unattended mode, in an interactive shell, it's not very tidy as
there are too many steps.

* (3.4) Install Package list should be fairly accurate, Ive' tested it on several
new installs, without iussue, once I had the kvasd deps figured out.


 


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3674 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-30 18:40:16 +00:00
Joe Taylor 93eecbf08e Previous commit message should also have mentioned:
5. F7 now toggles the Setup menu item "Double-click on call sets
   Tx Enable".  Present state is written to Status Bar label 3.

The present commit updates the makefiles.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3673 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-30 18:08:40 +00:00
Joe Taylor f7e39a2009 1. Add "Utility Programs" section to User's Guide.
2. Change "Appendix x" section headings to useful descriptions.
3. Add KB1ZMX and W4TI to the WSJT-X "About" screen and Acknowledgments 
   in the User's Guide.  (Hope I didn't forget anyone -- please advise 
   if I did!)
4. A few more minor tweaks to User's Guide



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3672 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-30 18:03:21 +00:00
Joe Taylor 43664a2e01 Another round of documentation updates.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3669 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-29 20:50:18 +00:00
Joe Taylor a47a4ee38b 1. Updated two screen pix in User's Guide.
2. Revise, revise, revise.  Good writing requires plenty of revisions!


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3667 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-28 21:53:09 +00:00
Joe Taylor 8d6ea94d77 Another round of edits for the WSJT-X User's Guide.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3666 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-28 15:24:26 +00:00
Joe Taylor 49fe4846ae Yesterday, forgot to add tx-rx.adoc to SVN. Here it is.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3665 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-28 13:12:19 +00:00
Joe Taylor 784e246557 1. Fix a bug that could cause decoder to hang when presented with
bad data.

2. Fix a bug that could allow a Koetter-Vardy false decode instead of
a valid Berlekamp-Massey decode, sometimes leading to program crash.

3. Many more edits in the User's Guide, *.adoc files.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3664 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-27 21:28:54 +00:00
Bill Somerville fbe4a52f2f Bringing CMake scripts up to date.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3663 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-26 10:02:54 +00:00
Joe Taylor b932baef5b Forgot to remove some test code from unpackcall.f90.
It's OK now.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3661 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-25 17:07:06 +00:00
Joe Taylor 051de6afd7 Fix a bug that can arise as a result of a false decode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3660 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-25 16:53:34 +00:00
Joe Taylor e8fd1d5db7 Try linking to the new AsciiDoc-based User's Guide.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3659 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-24 20:43:57 +00:00
Edson W. R. Pereira 12f15ab1e6 Test revision update
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3654 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-20 19:50:02 +00:00
Joe Taylor 15c102fad8 1. Corrected handling of compound callsigns: use JT65v1 encoding if
applicable, JT65v2 otherwise.  Thanks to DL9RDZ!

2. Fix a bug in flat3.f90, evident on OSX systems.  Thanks to G4KLA!

3. The Makefile now copy the jt9code executable into the destination
   directory for to-be-packaged executables.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3648 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-18 13:59:19 +00:00
Edson W. R. Pereira e903647371 Added 3 missing files to lib/CMakeLists.txt
Added code to flush any queued spots to PSKReporter prior to a band change. This should prevent spots being reported on a wrong band.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3647 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-18 12:42:21 +00:00
Joe Taylor e5b70db68e The explicit "connect" to on_cbFlatten_toggled seems not to be needed.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3644 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-17 15:42:39 +00:00
Joe Taylor 74f35bab0d Correct use of "gain" in symspec.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3643 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-17 14:56:11 +00:00
Joe Taylor 65cc741b31 IMplement new spectrum flattening.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3642 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-17 14:46:23 +00:00
Joe Taylor 7cf44f5f54 Fix some illogical use of variable m_RxLog.
Add -DUNIX flag to FFLAGS in Makefile.linux.
Tweak the use of framesAfterDownsample in Detector.cpp.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3631 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-09 18:14:58 +00:00
Joe Taylor 052aedef20 More tweaks to the use of flat3.
Include updated makefiles.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3626 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-09 00:03:22 +00:00
Joe Taylor a6406ea58f Some adjustments to usage of flat3.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3625 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-08 20:55:11 +00:00
Joe Taylor 999b3aab28 Flatten waterfall, but not the avg spectrum.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3624 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-08 18:51:37 +00:00
Joe Taylor e802968c80 Testing: don't call fil4 if parameters are out of range.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3622 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-07 21:09:58 +00:00
Joe Taylor aec23086dc Attempting to trace the occasional crashes seen by a few users.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3620 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-01-07 17:14:59 +00:00
Edson W. R. Pereira 089c798d95 Forcing version update.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3590 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-10-04 20:04:18 +00:00
Bill Somerville 833eaf9eef Fix audio input rate issue on Windows Vista
Windows Vista has a broken rate converter which gets invoked when an
input audio stream at 48kHz sampel rate is requested. I've no idea why
our application can't get exclusive access to the audio input device
and have a unconverted stream direct at 48kHz.

To get around this our down sampling filter for audio input from 48kHz
to 12kHz is disaabled by default on Windows Vista, instead we request
a 12kHz stream and process it directly.

This default behviour can be overriden by specifying the following
settings value:

[Tune]
Audio\DisableInputResampling=false

This settings value defaults to true on Windows Vista and false
everywhere else so normally needn't be present.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3588 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-10-04 19:00:29 +00:00
Joe Taylor 756f256321 Bump the version number to 1.2.1, preparing for new beta release.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3587 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-10-03 14:07:39 +00:00
Bill Somerville 9a49ed0f4c Fix decode button getting stuck on first decode cycle.
The ".quit" file that is used to communicate shutdown to the "jt9"
sub-process was not getting deleted under some obscure
circumstances. If "wsjtx" is started with the ".quit" file in place;
"jt9" starts and stops immediately rather than going into it's normal
wait state. Probably some sort of race condition between the two
processes dying and file and/or shared memory locks.

Rather than track the issue down I have added code to ensure that
".quit" is removed before starting "jt9".



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3586 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-09-29 21:23:06 +00:00
Bill Somerville 3fbf5a5686 Fix defects in audio down-sampling on some platforms.
The filter used for 4 times down-sampling cannot handle sample streams
where the hardware or drivers deliver chunks of data that are not
multiples of 4 frames long. This seems to be prevalent on some Linux
platforms. Also de-interleaving of single channel audio from stereo
streams was no longer supported.

I have changed the input strategy to de-interleave the incoming
sample stream into an intermediate buffer large enough to hold all the
samples required for a single unit of processing (one basic waterfall
interval) and apply the down-sampling filter to the whole intermediate
buffer just prior dispatch to the FFT generator.

This now means that we are now using the ubiquitous 48kHz hardware
sample rate for both input and output of audio across all platforms
and decoding a single channel of a stereo stream is again
supported. The down-sampling to 12kHz is done with a high quality FIR
49-tap low pass filter specifically designed by Joe (K1JT) for
operation in a 4kHz bandwidth.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3585 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-09-28 18:34:27 +00:00
Murray Curtis a7c36b7d5a 1. Fix for the locator being truncated on double click when the call was unexpectly long
2. Removed commented code left over from previous edits in MainWindow::doubleClickOnCall()



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3584 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-09-28 03:56:43 +00:00
Bill Somerville bc99eb2061 Changed Detector to only pass multiples of 4 frames to
48kHz to 12kHz down sampler routine.

Added assert to disallow stereo processing of i/p samples
until fil4.f90 can deal with interleaved stereo streams.

Added QProcess error to jt9 error handler, not that anything
is done with the error code yet but at least it can be examined
in the debugger if required.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3583 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-09-28 00:58:36 +00:00
Joe Taylor de98c4114e Update Makefile.linux.
Please note that I removed the option "-mno-stack-arg-probe" from CFLAGS.
Was there any good reason for it still being there?


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3582 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-09-27 18:37:37 +00:00
Joe Taylor 24d74ac8cb UPdate the makefiles so they will compile fil4.f90
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3581 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-09-27 15:47:34 +00:00
John Nelson e875987e4b Inadvertently removed G4WJS fix in r3571. Replaced
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3579 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-09-27 15:07:28 +00:00
John Nelson 73f4dade44 Bump Rev in mainwindow.cpp
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3578 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-09-27 13:59:09 +00:00
Bill Somerville b1378a3a86 Added tuning parameters for audio subsystem.
By adding the following section to the initialisation file the audio buffer
sizes and audio thread priority may be adjusted.

[Tune]
Audio\InputBufferFrames=1200
Audio\OutputBufferMs=1000
Audio\ThreadPriority=4

The values above are the program defaults that will be used if the
initialisation parameters are omitted.

Thread prioritis are the QThread::Priority enumumeration values.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3576 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-09-27 01:06:23 +00:00
Bill Somerville 6cc4255e87 Commented out input sample buffer zeroing.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3571 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-09-19 16:53:47 +00:00
Joe Taylor 5da6167e13 1. Remove several obsolete palette files.
2. Clear the "Name" field after logging a QSO.
3. Add fil4.f90, a subroutine for downsampling from 48000 Hz to 12000 Hz
sample rate.  (Not yet incorporated in WSJT-X, but intended to be called 
from arounf line 51 in Detector.cpp.)
4. Minor updates to User's Guide.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3570 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-09-13 13:42:11 +00:00
Murray Curtis 2d696730b1 Moved code that writes to the ADIF log from logqso into logbook/adif
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3569 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-09-06 05:00:28 +00:00
Edson W. R. Pereira 6f9d869baf Forcing revision update.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3568 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-09-04 18:56:34 +00:00
Edson W. R. Pereira caf67fb701 Added code to hangle DNS loopkup failures in PSK Reporter.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3566 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-09-04 17:14:18 +00:00
Murray Curtis 72f90c7d25 removed jtcom_.nagain from blank line separator logic
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3565 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-30 01:08:10 +00:00
Murray Curtis 13dba2b1ba 1. Decoded text should now remain left justified even if the font is too large for the window
2. The main window can be expanded wider to allow those with large screens to use larger fonts
3. New class DecodedText handles the formatted text from decoder.f90.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3564 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-25 01:48:45 +00:00
Bill Somerville 0a67803476 Moved audio input to the audio thread.
Change source URLs in teh CMake scripts for the kvasd binaries.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3563 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-17 19:21:14 +00:00
Joe Taylor babb07cce0 Somehow the relative positions of readSettings() and the "kllbyname"
block got inverted, preventing multiple instances from working.  
It's fixed now.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3562 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-17 18:55:31 +00:00
Bill Somerville 9021a34288 Fixed issue with working directory path containing spaces.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3561 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-17 12:49:28 +00:00
Bill Somerville 4bed627fd8 Fix a typo in class name.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3558 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-16 23:31:19 +00:00
Bill Somerville bf90f2042a Moved instantiation of PSK_Reporter object to MainWindow constructor
initialisation list to avoid a null pointer issue in restoring the
settings on startup.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3557 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-16 23:24:48 +00:00
Joe Taylor 76ead6b071 Remove several unused files, and update Makefile.linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3556 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-16 17:13:07 +00:00
Murray Curtis b7284c185a Adjust proportions between text windows if displaying DXCC
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3555 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-16 10:25:28 +00:00
Joe Taylor b831d1e08e 1. Add the sample files described in the User's Guide.
2. Remove offending redefinition of "struct timezone" in timeval.h, it's
no longer needed.  (Let me know if this breaks anyone's build procedure!!)


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3552 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-15 20:55:05 +00:00
Joe Taylor 9ab51fd8eb Changes from G4KLA, required to make latest code play on MacOSX.
It's necessary to convey "appDir" from the GUI to jt9, so that jt9
can find the .lock and .quit files.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3551 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-15 17:32:46 +00:00
Murray Curtis 4bade4865d 1. Only the left 'band activity' display has DXCC and worked B4 status
2. Moved some of the text handling code from MainWindow to Displaytext


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3550 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-15 12:24:12 +00:00
Joe Taylor 4e0032ca8e Oops! It seems that I mistakenly inverted the gain slider control for
audio input.  It's fixed now.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3547 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-12 13:43:45 +00:00
Murray Curtis e2d1898a3f 1. Moved font width calc for DXCC enitity display from LogBook to DisplayText.
2. The available character count is now updated by catching resizeEvents


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3545 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-11 11:45:17 +00:00
Bill Somerville c05689944a Bugfixes:
Detector no longer collects samples when transmitting or not
monitoring. This was causingissues with the waterfall after tx periods
and was a waste of CPU cycles.

Correct the missing window title on the waterfall window.

Stop and restart the output audio stream if the configuration of
device or channels changes in the setup dialog. This defect was
causing spurious transmissions after changing configuration.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3543 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-11 01:30:05 +00:00
Bill Somerville 4f4c535c4e Added audio channel support.
Audio input can be mono, left of stereo pair or, right of stereo
pair. Audio output can be mono, left of stereo pair, right of stereo
pair or, both of stereo pair (the same output goes to both channels in
both mode). Settings are remembered between sessions.

Stream channel suport is implemented mainly in the new AudioDevice
class which is now the base class of Modulator and Detector.

Audio channels are selected on the configuration screen. Only
supported channel configurations per device can be selected.

Audio output volume (actually attenuation) is now possible from the
GUI. I have added a slider control to the main window; I don't
necessarily propose this as a final release location for the widget as
I understand that changes to the main screen are sensitive. This
location is just a starting suggestion for a trial. The volume
(attenuation) setting is remembered between sessions and is not device
dependent. This addresses all issues of volume setting on *nix
versions since there is no need to use pavucontrol to set audio
levels. The volume (attenuation) action is logarithmic.

Shaped CW keying has been implemented in Modulator although it is
currently disabled as I am not 100% happy wth the implementation. If
you want to try it define the C++ preprocessor macro WSJT_SOFT_KEYING
in your build.

The Modulator instance has been moved to the same thread as the
SoundOutput instance as it should have been since the output callback
already operates in that thread. Cross thread slots are now correctly
called in a thread safe way as a result.

A number of files where in the SVN repository with DOS line endings
which I have removed. SVN users on Windows need set the config for
native line endings so that DOS line endings are automatically
stripped on checkin.

The DevSetup class now holds it's UI o the heap to reduce imapact on
build dependencies.

The application settings are now passed to objects from the main.cpp
file. Management of settings are moved to the responsible classes (top
level windows). This has involved a few settings moving groups so
users will see some settings reverting to default values on the first
run of an update.

Persistance of top level windows geometry and position is now handled
in the recommened manner (constructor for load, closeEvent for store
in modal windows and, hideEvent for store in modeless dialogs).

The MainWindow class now holds its children as members rather than
global variables.

The LogQSO class now hides its implementation and takes responsibility
for its own settings and widows rendering parameters. A new settings
file group is implemented to persist the LogQSO class settings.

The WideGraph class now hides its implementation and manages its own
settings and window rendering parameters.

  --This line, and those below, will be ignored--

M    Modulator.cpp
M    rigclass.cpp
M    widegraph.cpp
M    signalmeter.cpp
M    soundin.cpp
M    soundout.cpp
M    mainwindow.h
M    main.cpp
M    meterwidget.h
M    devsetup.cpp
M    mainwindow.ui
M    Detector.cpp
M    logqso.h
M    rigclass.h
M    mainwindow.cpp
M    meterwidget.cpp
M    soundin.h
M    devsetup.ui
M    wsjtx.pro
M    devsetup.h
M    logqso.cpp
M    Modulator.hpp
M    psk_reporter.cpp
M    killbyname.cpp
M    Detector.hpp
M    signalmeter.h
M    widegraph.h
M    psk_reporter.h
M    soundout.h
M    PSKReporter.h
M    lib/afc65b.f90
M    lib/gran.c
M    lib/usleep.c
M    lib/afc9.f90
M    lib/wrapkarn.c
A    AudioDevice.hpp


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3542 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-10 15:29:55 +00:00
Joe Taylor 67f19ac73f Sorry, r3540 introduced a bug that preventer JT65 decoding in some
situations.  It's fixed now.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3541 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-09 23:11:05 +00:00
Joe Taylor a8acd97f42 1. Correct bug that prevented save/restore of Wide Graph geometry.
2. Fix jt9 so that decoding starts at fStart (which now may be non-zero).
3. Improved or new Tool Tips for some GUI controls.
4. Updates to User's Guide.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3540 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-09 17:22:08 +00:00
Murray Curtis 84a8696f22 Calc chars available when adding DXCC entity to decoded text line
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3539 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-09 03:17:04 +00:00
Murray Curtis c0ce066408 Logbook:
-changed log to hash table for faster lookup
  -improved ADIF compatibility
mainwindow.ui
  -fixed typo in menu entry



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3538 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-08 23:51:53 +00:00
Joe Taylor f70a09cb98 Correct the default palette's filename.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3537 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-08 18:59:27 +00:00
Joe Taylor af91bbfb67 Updates to User's Guide for Version 1.2.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3536 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-08 17:45:10 +00:00
Joe Taylor a114b8c9ea 1. Capitalize names of palettes appropriately.
2. Remove (or comment out) most qDebug() statements.
3. Swap positions of labels 2 and 3 on status bar.
4. In "Split Tx" mode, transmit audio always between 1500 and 2000 Hz.
5. Rearrange positions of WideGraph controls.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3535 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-08 14:26:53 +00:00
Joe Taylor 47c4245984 Save/restore of user's palette choice was broken. Now fixed.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3534 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-08 00:16:13 +00:00
Bill Somerville ef586e4b58 Qt 5 Audio replaces PortAudio.
Currently only Qt5 or above is known to work with this code. It may be
possible to backport it to Qt4 if required.

Audio output goes back to a separate thread to try and minimize
stutters in streaming on Windows particularly.

A crash on Linux due to mishandling of stereo audio output has been
fixed and both left and right channels are now correctly synthesised
with identical contents.

Rigs are enumerated directly from hamlib API rather than running a sub
process reading output of rigctl -l. This was initially done to get
rid of some GUI thread blocking in the configuration dialog, but is
generally a better way of doing it anyway.

Some refactoring in MainWindow to accomodate the audio streaming,
modulation and detecting classes.

Exit handling for application refactored to use signals rather than
brute force event loop exit. This was required to get correct thread
shutdown semantics.

The GUI update timer is now stopped during application shutdown which
is necessary to stop crashes when shutting down gracefully with
signals and window close() calls.

There is an outstanding issue with Linux audio streams; the QAudio
Input/Output classes create a new stream name each time a stream is
started. This doesn't play well with PulseAudio utilities such as
pavucontrol to set stream volume as settings are lost every tx
period. I have tried to keep a single stream for all output but there
are problems restarting it that haven't been resolved yet.

The QtCreator project file has been rearranged a little because it
passes all the object files to the linker rather than using an archive
library. Since the GNU linker is single pass; the object files need to
be in a logical order with definitions appearing afer references to
them. This was required to avoid a linking error.

The lib/Makefile.linux has been enhanced to use the fortran compiler
to locate the correct version of the Fortran library to use. This is
necessary on the latest Linux distros because the unversioned symlink
to compiler support libraries is no longer provided. This only an
issue with mixed programming language links where the linker driver
for one language has to link support libraraies for another language.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3532 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-07 23:09:13 +00:00
Joe Taylor d020517987 Fix an out-of-range value in gmfsk.pal.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3530 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-07 19:22:12 +00:00
Joe Taylor 50fcdaf31c 1. Use a ComboBox for palette selection.
2. Minor adjustments to position of WideGraph controls.
3. Include the palette files.  The whole directory "Palettes" should
be copied into the install directory.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3529 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-07 18:59:11 +00:00
Joe Taylor 67be0a1032 New flexibility for defining and selecting the waterfall palette.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3528 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-07 14:49:45 +00:00
Joe Taylor 68bc032830 A number of minor cleanup efforts:
1. F1 accesses User's Guide for v1.2.
2. Larger font for "S" on the ui->readFreq button.
3. Finish removing the no-longer-used #ifdef's relaied to psk_reporter calls.
4. Set m_ntx=6 (Tx message #6) at program startup.
5. Remove obsolete file soundin_1.cpp.
6. Update credits displayed in the "About" window and in User's Guide.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3527 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-06 17:22:33 +00:00
Joe Taylor 324169661e Forgot to include four files.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3526 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-05 17:41:12 +00:00
Joe Taylor 37f9eada62 Bump the Version number to 1.2.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3525 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-05 15:22:59 +00:00
Joe Taylor cc0f53681b Move the PSKreporter functions in Windows to our built-in code.
No more need for PSKReporter.dll.
Remove the no-longer-needed "#ifdef WIN32", "#ifdef UNIX" blocks.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3524 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-05 15:00:38 +00:00
Joe Taylor 61f023ddd1 Most of these changes are thanks to G4WJS. Audio I/O is now done using
Qt's built-in QAudio calls rather than PortAudio.  Also includes some
refactoring of the arrangement for these calls, and more use of C++ style.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3523 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-05 13:57:55 +00:00
Joe Taylor e9f9180088 Correct an error in aligning "Cumulative" when "Start freq" > 0.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3522 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-03 01:26:54 +00:00
Joe Taylor 5af0f6880f Change Makefile.MinGW to use my qt5.0.2 paths. Yours may be different!
The old Makefile.MinGW has been renamed Makefile.MinGW.qt4.
Be sure to check settings in lines 13-19 of wsjtx.pro.

Soon to come: Permanent changeover from PortAudio to QAudio ?



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3521 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-02 19:52:25 +00:00
Joe Taylor daf6c507ba Updates to User's Guide and credits.
Locale-aware communication with Commander (needs testing).


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3519 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-01 14:38:35 +00:00
Joe Taylor 9fa4270b57 Thanks to G4WJS: SoundOut functions have been moved into the GUI thread.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3517 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-08-01 00:49:58 +00:00
Joe Taylor c0e80753f2 1. Revision 3513 mistakenly removed needed changes to plotter.cpp.
They are restored here.
2. Fix a bug that failed to compute correct audio Tx frequency after
program restart, if Split Tx is enabled.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3516 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-31 20:18:52 +00:00
Joe Taylor d080f45346 Default compile should use Portaudio, not QAudio.
New link to User's Guide for v1.1.1.
Portaudio.h should not be in SVN.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3515 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-31 18:13:40 +00:00
Joe Taylor 43d22140c2 Dummy commit to bump displayed revision number.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3514 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-31 15:47:25 +00:00
Murray Curtis a8491db120 First version of DXCC entity and worked B4 status
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3512 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-31 11:29:42 +00:00
Joe Taylor d45f47caa0 1. Fix a longstanding (and evidently latent) bug in widegraph.cpp.
2. Add basic proof-of-concept code that uses QAudioInput instead of
PortAudio for sound input.  By default, this test code is not active,
and it compiles using PortAudio.  To compile using QAudio, uncomment
the line

#DEFINES += QAUDIO_INPUT

in wsjtx.pro.  Note that device selection in the QAudio code is presently
hard-wired to use the default input device.  You can change this 
choice on line 267 in soundin.cpp.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3510 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-30 20:36:14 +00:00
Joe Taylor 4e8a3f54c9 1. Refactoring of code so as to move audio input from a separate thread to
the main GUI thread (thanks to G4WJS).

2.. Also, for the record, some example code for using QAudioInput instead 
of PortAudio.  This code is not presently active, and will need to be 
changed to accommodate the changes in #1, above.  But the basic ideas 
are here...


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3509 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-30 00:51:42 +00:00
Joe Taylor 62c12a39bc Cleaner scheme for reading optional palette RGB valuess.
Add "S" to freqRead button when "Split Tx" has been selected.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3508 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-27 16:15:24 +00:00
Joe Taylor 73d436a8f2 Dummy commit to bump the displayed revision number.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3507 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-26 18:40:08 +00:00
Joe Taylor 336f867276 Cleanup of palette-selection code. Provide an error message if selected
palette file is not found.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3505 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-25 20:17:27 +00:00
Joe Taylor 43a4b8b150 Add another waterfall palette, "Gray1".
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3504 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-25 19:25:39 +00:00
Joe Taylor 34a7d4befa Makefiles should create EXE_DIR if it does not exist.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3503 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-25 18:12:03 +00:00
Joe Taylor 560d20cc9d Adjustable start frequency for waterfall.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3502 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-25 16:48:10 +00:00
Joe Taylor 3035edab05 Implement a user option to set font sizes.
Updates to User's Guide.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3501 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-24 19:07:57 +00:00
Joe Taylor 30712a3ce8 1. Full control of DTR and RTS on serial port used for CAT control -- patch
submitted by G4WJS.
2. Improved(???) means of multiple tries when polling radio for frequency.
3. Minor tweaks to widget sizes on devsetup screen.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3500 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-23 17:32:59 +00:00
Murray Curtis 5d64092a1c Band settings with multiple antenna descriptions for PSK reporter
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3499 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-23 10:28:22 +00:00
Edson W. R. Pereira 76634f4ad1 Antenna info for PSK_Reporter class confirmed working.
Cleaned up some debug info.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3498 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-21 21:59:53 +00:00
Edson W. R. Pereira 785bee8122 Added antenna info to PSK_Reporter class. Needs more testing since PSK Reporter web site seems down at the moment.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3497 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-21 19:54:38 +00:00
Joe Taylor f932f2a1da Wrong version of ipcomm.cpp was saved?
Running multiple instances now checked out in Linux, as well as Windows.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3496 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-19 00:44:48 +00:00
Joe Taylor fb7948a836 Full activation of "Multiple Instances", thanks to some code by
Josh Rovero, KK1D.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3495 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-19 00:23:40 +00:00
Joe Taylor 0110ab88dd Very minor twesk to labels in devsetup.
Minor changes to User's Guide.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3494 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-18 15:23:34 +00:00
Joe Taylor 982210157f Fix frequency-setting through Commander so that it works to nearest Hz.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3493 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-18 11:55:29 +00:00
Joe Taylor 8f3c9a672b Further optimizations of the decoders, and some code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3492 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-17 19:13:36 +00:00
Joe Taylor f10ef57c7d 1. Double-click on a yellow Tx message should not copy the message again,
and if CTRL is held down it should set Tx as well as Rx freq.  Fixed.
2. Improve the logic for suppressing duplicate JT65 decodes.
3. Disable the "Advanced" item on Setup menu.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3491 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-17 14:18:18 +00:00
Joe Taylor cec65e60fc No longer any need for "Rx noise" label in the Status Bar.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3490 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-16 23:37:45 +00:00
Edson W. R. Pereira d9f88d9632 Added new meter widget.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3489 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-16 21:16:57 +00:00
Joe Taylor ac44bacd91 1. Allow waterfall window to have smaller height.
2. Speed improvement in JT9 decoder.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3488 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-16 18:17:20 +00:00
Joe Taylor 2173147077 Fix a new (and annoying) bug: program refuses to start if "+2 kHz" was
checked on the previous program termination.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3487 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-15 22:55:32 +00:00
Joe Taylor 517112301d IMproved logic for when DX Grid is edited or cleared.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3486 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-15 21:13:45 +00:00
Joe Taylor 99fd6ad950 Must get m_bMultipleOK from readSettings() before checking whether
to kill running instances of jt9.exe.  Note, however, that multiple instances
still won't work, because each wsjtx-jt9 pair needs its own shared memory
region.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3485 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-15 20:01:25 +00:00
Joe Taylor 2e2620baad Don't allow "Tune" transmissions in the WSPR sub-band.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3482 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-12 17:31:23 +00:00
Joe Taylor c2859a188c Simplify the WSPR warning message, and mark the WSPR band when we're
on 30 m.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3481 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-12 13:45:28 +00:00
Joe Taylor 48dd53f357 Add a "+ 2 kHz" checkbox under the Band selector.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3480 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-11 20:41:46 +00:00
Joe Taylor d38ddd8b85 1. New startup default frequencies for 40, 30, and 6m.
2. Don'l knowingly allow transmitting in the 30m WSPR band.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3479 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-11 19:37:01 +00:00
Joe Taylor 53fc967440 Don't poll radio while decoder is busy.
Dont allow SplitTx operation with Ham Radio Deluxe.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3478 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-10 16:45:13 +00:00
Joe Taylor 600c3e228c Apply sigital gain slider to spectra sent to waterfall.
Update the User's Guide.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3477 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-10 15:46:27 +00:00
Joe Taylor 4cc9a9be7a Compare dial freq with user's default freq, not the startup default freq.
Also some minor code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3476 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-10 13:57:13 +00:00
Joe Taylor f226e4cbc8 Try reading freq up to three times before complaining of failure and
abouring CAT control.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3475 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-09 22:58:04 +00:00
Joe Taylor f91f935a78 Fix another bug in setting frequencies through Commander.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3474 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-09 22:41:15 +00:00
Joe Taylor c6e2d240a4 After F4, do a genStdMsgs() and leave CQ message in Tx6.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3473 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-09 21:19:22 +00:00
Joe Taylor 96bfd6f7b3 Updates to v1.1 User's Guide.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3472 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-09 19:33:15 +00:00
Joe Taylor b47bf9c71c Oops! I had the "newdat" logic exactly backward.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3471 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-09 16:45:22 +00:00
Joe Taylor ecfc15f3e4 Add calls to timer().
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3470 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-09 16:22:25 +00:00
Joe Taylor bfe9e49e03 Clean up two warning messages.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3469 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-09 16:05:23 +00:00
Joe Taylor dc948031dd 1. Set the default startup frequencies to reasonable ones for JT65.
(JT9 will typically be about 2 kHz higher.)
2. Add a few default Tx macros, as examples.
3. Fix display of correct UTC on decoded lines, when "Shift+D" is used to 
   do another wideband decode during the next Rx sequence.
4. Clear the "Split Tx" checkbox when CAT is not enabled (but remember
   what its state should be, if CAT is re-enabled).


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3468 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-09 15:44:33 +00:00
Joe Taylor 08d813c92f If "Split Tx" is not ticked, send the correct (un-shifted) audio tones.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3467 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-09 00:42:43 +00:00
Joe Taylor a2829efcad Oops! I committed the wrong version of getfile.cpp. Now OK.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3466 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-08 23:58:19 +00:00
Joe Taylor 0f9dc17a8f Remove qDebug() statements.
Use ptt_() function included in getfile.cpp.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3465 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-08 23:32:20 +00:00
Joe Taylor 3c2e14f838 1. Changes outlined for r3463 are now tested and appear to be OK.
2. Setting frequencies above 100 MHz now OK.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3464 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-08 23:08:25 +00:00
Joe Taylor a4cc4f4101 Warning: these changes have not yet been thoroughly tested!
1. Correct the TxMode label on program startup.
2. Insert TxMode (not RxMode) into the "Transmitting..." lines in ALL.TXT.
3. Put TxMode in wsjtx_status.txt.
4. F4 clears Az, Dist, and all Tx messages as well as DxCall and DxGrid.
5. Make it possible to decode JT9 in the "JT65 region", and vice-versa, with
   directed double-click on signal in waterfall.
6. Improved logic for enabling/disabling TestPTT button on setup screen.
7. Do not call getFreq() when TestPTT is activated under CAT control.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3463 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-08 19:57:01 +00:00
Joe Taylor 3dc6abc0c1 Merging code for v1.1 back into the main wsjtx branch.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3462 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-07-08 13:17:22 +00:00
Joe Taylor ba61cfde6a Fix a bug in handling of logged grid locator when none was available
on the double-clicked line.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3348 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-06-06 19:47:56 +00:00
Joe Taylor e9c3ca9398 Restore the (mistakenly removed) change from logging DialFreq to
DiapFreq + TxFreq.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3346 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-06-06 18:02:10 +00:00
Joe Taylor 57fe9f0508 Clean up the Tab order on LogQSO and Setup screens.
Please note: features added today need more testing that I have yet given
them!


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3345 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-06-06 17:46:27 +00:00
Joe Taylor 0fe2869799 Add optional antenna description for PSK Reporter. (Presently implemented
only for Windows.)


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3344 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-06-06 17:40:09 +00:00
Joe Taylor 39854e0b36 1. Added Tx Power to ADIF log information, with option to retain between QSOs.
2. Added option to retain between QSOs the Comments field for ADIF and
   wsjtx logs.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3343 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-06-06 16:17:58 +00:00
Joe Taylor e97d3c1406 Cleaning up the "Log QSO" function. (Not finished, yet...)
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3342 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-06-06 15:09:49 +00:00
John T Nogatch 08c28ecb6c Log QSO frequency, instead of dialFreq only.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3341 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-06-06 02:26:09 +00:00
John T Nogatch f3259f9380 If paInDevice was not a saved setting, use Pa_GetDefaultInputDevice().
If paOutDevice was not a saved setting, use Pa_GetDefaultOutputDevice().

This allows wsjtx to startup with default audio on a new install.

However, it does not set the menu index numbers, so the Config SoundIn/Out
menus do not look correct, until they have been set and saved once.

It would be better if only the device names were saved in settings,
because the index numbers can change, especially if USB soundcards
are added or removed.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3339 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-06-05 21:28:31 +00:00
Joe Taylor 0ab75f203b 1. Fix occasional program crash caused by receiving a message in the
form "call1 call2" (no grid, report, etc.).
2. Updated docs


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3336 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-06-05 18:42:55 +00:00
Joe Taylor 1f86d76eca Make the controls for PTT Port and CAT Port wide enough to display
unix-style names like "/dev/ttyUSB0", etc.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3325 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-06-04 12:24:32 +00:00
Joe Taylor 08e22cda14 Remove submodes JT9-5, JT9-10, JT9-30 from the Mode menu.
This will be WSJT-X Version 1.0.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3323 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-30 13:27:29 +00:00
Joe Taylor 9f9ab6fb45 Change "unix" to "UNIX" in #ifdef's.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3322 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-29 16:31:05 +00:00
Joe Taylor b0c2eb69ed 1. Correct a flaw in setting m_lockFreq in wideGraph.
2. Double-click on a 73 message sets Tx5, rather than Tx6.
3. Clean up a few remaining compiler warnings.
4. Clean up Tab order.
5. Updates to User's Guide


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3320 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-29 15:09:04 +00:00
Joe Taylor fc5d05394e Cleaning up compiler warnings on Linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3319 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-29 13:41:57 +00:00
Joe Taylor 8e56a3c2ef 1. Oops, inadvertently I clobbered a Win32-only line while editing unix
code.  
2. Add a Setup option "Tx freq locked to Rx freq."  Needs testing!


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3318 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-28 19:34:18 +00:00
Joe Taylor 9a424e0110 1. Correct the listings of Audio In and Audio Out devices, on unix-like
platforms.
2. This might be temporary: set Audio output on unix platforms to stereo,
i.e., channels=2.  On my Ubuntu system, at least, this makes it play
correctly on all of the relevant audio devices in the list, including
hardware and virtual (".asoundrc-implemented") devices.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3317 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-28 19:16:25 +00:00
Joe Taylor 97a9e18846 Enlarge the Keyboard Shortcuts window.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3316 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-28 12:43:58 +00:00
Joe Taylor 07b1987eb2 1. Added Tool Tips for most on-screen controls.
2. Removed all vestiges of NB code and controls.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3314 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-24 15:41:33 +00:00
Joe Taylor 5068b1254d 1. Keyboard shortcuts Alt+1 to Alt+6 set next Tx message to 1-6.
2. SoundOut buffer size can be set by editing wsjtx.ini.
3. Fixed bug in placement of #ifdef in rigclass.cpp


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3313 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-24 12:36:41 +00:00
Joe Taylor 2feb6bae81 OK, PTT switching via HRD now works, at least for the TS-2000.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3312 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-23 22:00:12 +00:00
Joe Taylor bf947a5d48 Correct a logic error in activating the PTTtest button.
Disable attempted control of T/R switching via HRD: it does not work, 
as coded.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3311 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-23 21:42:05 +00:00
Joe Taylor 05e7a095d4 This code now compiles OK in either Qt4 or Qt5. To run in Qt5 we'll need
a Qt5-compatible "thermo" widget.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3310 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-23 20:21:47 +00:00
Joe Taylor 3ecf743667 Working toward compiling WSJT-X under Qt5. It doesn't work, yet.
The present code is still OK in Qt 4.x.  For Qt5, must replace 
#include <QtGui> by #include <QtWidgets> in several places, and 
uncomment these lines

//#include <QtConcurrent/QtConcurrentMap>
//#include <QtConcurrent/QtConcurrentRun>

in mainwindow.cpp.  More work still to do, for Qt5!



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3309 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-23 19:35:37 +00:00
Joe Taylor 73cd30dd1b Satisfied another compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3308 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-23 17:25:52 +00:00
Joe Taylor 45292eff52 Silence two more compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3307 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-23 17:11:10 +00:00
Joe Taylor e1c052d058 Silence all compiler warnings from QtCreator.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3306 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-23 15:05:16 +00:00
Joe Taylor 207116f574 1. Implement PTT control via HRD.
2. Fix two more g95 compiler warnings.
3. Remove some unused code in getfile.cpp.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3305 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-23 14:52:51 +00:00
Joe Taylor bfef326b25 Oops! Add jt9b.f90
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3304 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-23 14:44:36 +00:00
Joe Taylor a4b018876d Dummy commit to update revision number in mainwindow.cpp.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3303 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-23 13:36:34 +00:00
Joe Taylor f95ab994c0 Eliminate all compiler warnings from gfortran, in Ubuntu 12.04.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3301 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-23 13:33:29 +00:00
Joe Taylor e3921407bd 1. Forgot to add the code for jt9c.f90, which was separated from
jt9a.F90 in order to suppress a compiler warning.
2. Updated Makefile.linux.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3300 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-23 12:45:33 +00:00
Joe Taylor d9d9047cb0 Clean up all g95 compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3299 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-23 01:05:37 +00:00
Joe Taylor 3699ac36bf Some minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3298 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-22 20:21:38 +00:00
Joe Taylor db956a84f5 Corrected a bug that prevented using Setup | Configuration without an
existing wsjtx.ini file.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3297 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-22 17:35:52 +00:00
Joe Taylor bfcbce34a7 Convert all *.f files to *.f90.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3296 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-22 15:39:28 +00:00
Joe Taylor e792e292cf Bump version number to 0.99.
Update changelog.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3295 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-22 14:27:10 +00:00
Joe Taylor f55f2e2045 1. Startup defaults changed to "Deepest" decoding and "Cumulative" spectrum.
2. Updates to User's Guide.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3294 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-22 13:59:44 +00:00
Joe Taylor 8bb4abc54f Several more #ifdef's.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3293 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-22 01:02:07 +00:00
Joe Taylor a0755bf0f5 Enable/Disable catPort controls and labels according to need.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3292 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-22 00:31:53 +00:00
Joe Taylor d7f2ca2bd4 Added "#ifdef WIN32 ... #endif" around HRD interface code.
(Did I get them all??)


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3291 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-21 21:36:34 +00:00
Joe Taylor d27b171368 Minor cleanup of HRD-related code.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3290 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-21 21:31:11 +00:00
Joe Taylor f833e00699 More work on HRD interface.
*** Beware: some code in this revision will surely fail in Linux! ***
*** Some "#ifdef Win32" statements are still to be included.      ***



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3289 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-21 20:49:40 +00:00
Joe Taylor 22bb94dc02 First attempt at interface to Ham Radio Deluxe (HRD).
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3288 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-21 19:49:41 +00:00
Joe Taylor b226f532d4 1. Dashed line between decoding periods.
2. Tweak four2a for compilation on 64-bit systems.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3287 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-21 11:43:01 +00:00
Joe Taylor 2012d763ed Correct two constants (messed up in multiple mods earlier today).
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3286 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-20 19:24:49 +00:00
Joe Taylor 63f6cd9000 Revert to ComboBox for selecting PTT Port. (Straightened out the bizarre
ordering of items on the drop-down list.)


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3285 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-20 18:33:06 +00:00
Joe Taylor a4dd062938 Change PTT Port from a QComboBox to a QlineEdit.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3284 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-20 15:43:56 +00:00
Joe Taylor 9890731f4f 1. De-activate submodes JT9-5, JT9-10, and JT9-30. (This makes the shared
memory region smaller by some 150 MB.)
2. Some code cleanup (removing unused lstrong, etc.)...


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3283 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-20 14:09:02 +00:00
Joe Taylor 6646005f20 Preparing for more tests of JT9 decoder.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3282 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-17 19:35:29 +00:00
Joe Taylor 8f9e5283a2 Removed red3, was not useful.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3280 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-17 15:16:29 +00:00
Joe Taylor a75430865e Diasble diagnostic writes.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3278 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-17 01:35:36 +00:00
Joe Taylor 2ccb9206b0 1. Remove the "color highlight left window" option.
2. Re-establish the pxdb measurement for Thermo.
3. Double-click on decoded line copies it to QSO window (unless it's 
   already there).


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3276 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-16 23:52:04 +00:00
Joe Taylor 7cb0731dc6 Reduce ntol.
Add "red3" (but not yet using it).


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3275 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-16 19:01:16 +00:00
Joe Taylor 057287fab1 Many changes to the procedures for selecting decodable candidate JT9 signals.
This code may be the new benchmark?


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3274 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-16 16:02:00 +00:00
Joe Taylor 1f82d75194 Change to symspec() was not a good idea.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3273 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-15 19:45:55 +00:00
Joe Taylor 1fc406b8a0 Remove diagnostic prints.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3272 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-15 19:13:31 +00:00
Joe Taylor 9d30c88a6f Another try at optimizing choices for decoding. Not done yet!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3271 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-15 19:03:49 +00:00
Joe Taylor bd103459f1 Added routine "chkss2" to test sync vector for sanity before attenpting
Fano decode.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3270 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-15 15:17:36 +00:00
Joe Taylor 85af134fd1 More (temporary) adjustments to decode parameters.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3269 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-15 11:37:25 +00:00
Joe Taylor cba66a9242 Move Tune button to right of "Halt Tx".
Tweak decoding parameters in sync9.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3268 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-14 22:47:32 +00:00
Joe Taylor f195dda223 1. Minor corrections to plotter.cpop and widegraph.cpp.
2. New algorithm for 'sync9'.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3267 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-14 17:42:25 +00:00
Joe Taylor f1d6248c46 Temporary code, to aid with a series of tests of the JT9 decoder.
This commit will serve as a benchmark for comparison with new code to
be written.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3266 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-14 14:29:01 +00:00
Joe Taylor e00dd5fdb0 1. Re-scale the 2-d cumulative spectrum.
2. Swap positions of "QSO Frequency" and "Band Activity" windows.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3265 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-14 00:22:22 +00:00
Joe Taylor e881b10ce3 Another possible window function (presently commented out).
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3264 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-08 19:08:05 +00:00
Joe Taylor a5695a142e Better window function (lower sidelobes) for displayed spectra.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3263 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-08 18:38:31 +00:00
Joe Taylor f05cc4bd87 1. Add report to wsjt_status.txt, for JT-Alert.
2. Fix annoying bug when trying to open rig using a non-existent or
   busy serial port.
3. Add acknowledgments to AE4JY
4. Tentative tweaks to "Tab 2" GUI layout.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3261 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-08 15:23:02 +00:00
Joe Taylor 79bdc5c82f 1. Correct annoying bug producing infinite "Error rigOpen -1" messages: must
do a rig->Close() if user has done "Test CAT Control" and then hit "Cancel".

2. Remove the "0%" part of Rx noise label; exchange positions of "Rx
Noise" and "QSO Freq" on Status Bar.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3260 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-07 18:19:15 +00:00
Joe Taylor 363d3d548f Activate the "read frequency once" orange button.
Delete the last tentatively-saved file on program exit.
No negative numbers needed on "CW ID" spinner.
Updates to User's Guide.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3259 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-07 16:35:50 +00:00
Joe Taylor f9f180818c Fix freq readout for JT9-2.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3258 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-07 12:29:22 +00:00
Joe Taylor 754aab7db4 Red/Orange indicator between "Band" spinner and Dial Frequency readout
is now a button.  It is enabled only when Orange, which means CAT
control is essentially Program to Radio only.  Clicking the button
causes a one-time read of the radio's dial frequency.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3256 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-04 00:12:27 +00:00
Joe Taylor 3c7ce2f4e1 1. Fix the window titla end label above audio devices on Configuration
screen.
2. Some copy-editing on the User's Guide.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3255 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-03 23:28:39 +00:00
Joe Taylor 95d52d9419 1. Temporarily added a button right of the red square. Not yet connected...
2. Add jt9code.exe to the Windows installation file.
3. Changed hotkey for "Special Mouse Commands" to F5, so that F4 again works
as it did.
4. Several corrections to shortcuts.txt.
5. Added section "Under the Hood" to the User's Guide.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3254 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-03 20:30:56 +00:00
Joe Taylor 80724e089d Save m_pttPort when its comboBox is changed, so that the "Test PTT"
button can act accordingly.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3253 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-03 00:04:44 +00:00
Joe Taylor bb65994011 Updates to User's Guide and ChangeLog.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3252 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-02 18:04:39 +00:00
Joe Taylor 25001c1ee7 Gray-out the "Polling interval" control if CAT is not enabled.
UPdate Makefile.MinGW.
Much work new on User's Guide.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3251 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-02 16:19:26 +00:00
Edson W. R. Pereira 8ea1f5f2a5 Cleaned up remaining exception related code in rigclass.h and .cpp
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3249 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-05-01 12:21:19 +00:00
Edson W. R. Pereira 61321abd9d Force revision update.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3248 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-30 19:56:16 +00:00
Joe Taylor b0bfd5ffea This is test code!!
I have changed the declarations of the Rig class functions we use:

open()
setConf()
getFreq()
setFreq()
setPTT()
close()

... so that each one returns the (negative) error code returned by 
hamlib.  These functions no longer throw exceptions.

Initial tests seem to show things working well.  I have found one
condition that causes a crash.  The rig is initially opened and is
running OK (in this case, with the Polling interval set to 1 s).  Then
the radio is turned off.  The next call to getFreq() never returns.

Probably we need to set a timeout limit?

The code is kinda on the quick-and-dirty side.  Improvements will be 
welcom!



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3246 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-30 18:54:11 +00:00
Joe Taylor 98d4ba6a98 Starting to implement a "polling interval" option. More to come!
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3245 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-30 14:34:45 +00:00
Joe Taylor 92f2262e11 Execute the "band changed" routine when the Band combobox is activated,
even if selected band has not changed.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3244 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-29 23:53:23 +00:00
Joe Taylor 08d316082c After double-click on decoded text, go to the proper Tx message number.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3243 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-29 18:35:58 +00:00
Joe Taylor 7fe6215ac4 Dummy commit (to bump the revision number in mainwindow.cpp).
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3242 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-29 13:00:44 +00:00
Joe Taylor 15b52e7061 Save/restore geometry of LogQSO window over program invocations.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3240 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-28 20:23:14 +00:00
Joe Taylor ac60453076 Clicking "Tune" button should not prompt to log QSO, even if the
selected Tx message is "73" or free text.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3239 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-28 19:48:15 +00:00
Joe Taylor 8e5148e87c Save and restore geometry of the "LogQSO" dialog.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3238 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-28 18:58:03 +00:00
Edson W. R. Pereira ab4aa25cf3 Corrected GUI layout resizing issues on Linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3237 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-28 14:47:45 +00:00
Joe Taylor f1795eea6d Make the LogQSO dialog non-modal.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3236 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-28 13:35:01 +00:00
Joe Taylor 979e400c6d 1. Corrected a logic error in rigOpen() procedure.
2. Added a "Rig Open" indicator.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3235 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-28 00:40:39 +00:00
Joe Taylor ae00315b45 Send message to all.txt when band is changed.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3234 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-27 14:21:47 +00:00
Joe Taylor 80a15c8415 Correct the formatting of date message in all.txt.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3233 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-27 13:29:46 +00:00
Joe Taylor 6c1b67e604 Write dial frequency and JT9 submode to all.txt.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3232 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-27 13:11:29 +00:00
Joe Taylor 66ef466795 Better handling of rig initialization, including suppression of unwanted
verbosity.  Thanks to John, AC6SL!  (Will get you authorized to commit, soon.)


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3231 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-26 22:06:22 +00:00
Joe Taylor 57508d08b9 Add the files listing keyboard shortcuts and special mouse commands.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3230 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-26 21:39:11 +00:00
Joe Taylor 20a23cc267 Commit an early draft of full User's Guide.
Fix tab order on page 1 of Configuration screen.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3229 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-26 19:38:43 +00:00
Joe Taylor 5c39bbfbd8 Added shortcuts.txt and mouse_commands.txt. These files must be copied to
the runtime directory.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3228 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-26 16:57:08 +00:00
Joe Taylor 1809ff87c1 1. Diasble any irrelevant widgets on Configuration screen.
2. Rationalize tab-order on main window.
3. Tweak the GUI appearance around DxCall, DxGrid.  (Hope it's still OK 
   in Linux!
4. Add helpful displays of Keyboard Shortcuts (F3) and Special Mouse
   Commands (F4).
5. Bump version number to 0.95.
6. Update the Windows packaging script.
7. Update ChangeLog in preparation for possible release of v0.95 r3226.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3226 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-26 16:23:18 +00:00
Joe Taylor 5bd9dc9e8a Fix the Tab ordering on pages 2 and 3 of the Setup screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3225 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 23:49:39 +00:00
Joe Taylor 2c269edcff Set mode to USB when rig is opened in mainwindow.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3224 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 23:40:55 +00:00
Joe Taylor 37ee325aa2 "Data" and "Mic" options for PTT via CAT control.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3223 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 22:57:08 +00:00
Edson W. R. Pereira 62bb024bd5 Some cosmetic adjustments tot he GUI layout.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3222 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 18:57:32 +00:00
Joe Taylor 377d250f44 Comment out diagnostic calls to rig->getVFO().
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3221 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 18:48:57 +00:00
Joe Taylor d54070c64f 1. Better (and faster) logic for Tune button ON/OFF actions.
2. Pink highlighting for empty MyCall and MyGrid fields on Setup screen.
3. Working on better diagnostics for users trying to set up CAT control.  

(More progress still needed, on rig control.)


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3219 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 17:30:20 +00:00