Commit Graph

1320 Commits

Author SHA1 Message Date
Edson W. R. Pereira
da1b6ab5b3 Super cleanup on rigclass.h and .cpp.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3247 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-30 19:55:13 +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
b79b017df3 Minor tweaks to GUI on Setup screen, to accommodate larger fonts.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3241 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-29 12:59:27 +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
6d7a552f43 Update Makefile.MinGW.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3227 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-26 16:45:11 +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
35b04ade2c Added wsjt_changelog.txt, it should probably be in the repository.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3220 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 18:30:06 +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
Edson W. R. Pereira
eee29dc3b7 Revision update.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3218 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 17:15:55 +00:00
Edson W. R. Pereira
96159db3f9 Re-enabled main layout manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3217 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 17:15:05 +00:00
Edson W. R. Pereira
390f3dbe91 GUI layout manager adjustments.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3216 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 17:07:31 +00:00
Edson W. R. Pereira
9adeb3ab00 GUI layout manager adjustments.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3215 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 17:06:50 +00:00
Joe Taylor
fe13f403a8 Temporarily hide the NB checkbox and slider -- see if anyone complains with
good reason.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3214 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 15:12:33 +00:00
Joe Taylor
ce8c3263a1 Corrected a startup problem: m_band was used before being defined.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3213 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 14:41:06 +00:00
Edson W. R. Pereira
5c8a1f25ae Increased size of tx and rx freq buttons to prevent text overflow on Linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3212 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 11:39:15 +00:00
Edson W. R. Pereira
24eeddf791 Minor GUI layout update to maintain layout persistence after window geometry changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3211 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-25 11:35:32 +00:00
Joe Taylor
071bad8331 Corrected layout of the "DX Grid" entry.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3210 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-24 20:12:54 +00:00
Joe Taylor
338f72bcc4 Add a setup checkbox "RTS/DTR Off", to enable proper CAT control of
Elecraft K2 (and possibly other rigs?).


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3209 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-24 19:41:58 +00:00
Joe Taylor
4a7d5d38c7 1. Fixed a bug causing seemingly random crashes when compound callsign
is decoded.
2. Fixed minor bug in the "Test PTT" function.
3. Background of DialFrequency label goes red if frequency differs from
default for this band by mode than 10 kHz.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3208 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-24 17:55:33 +00:00
Joe Taylor
074ad83c28 1. New buttons to set Txfreq=RxFreq and RxFreq=TxFreq.
2. Don't change Tx5 message when rpt spinner is activated.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3207 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-24 16:05:04 +00:00
Joe Taylor
f60c6f8f60 Option to allow multiple instances of WSJT-X to run simultaneously.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3206 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-24 15:00:30 +00:00
Joe Taylor
9c7ed53d1d Clicking the "Report" spinner up/down should not change the Tx message number.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3205 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-24 00:45:01 +00:00
Joe Taylor
d53a40aeae 1. Removed all vestiges of rigctl use. Now using calls to hamlib
functions.  

2. Restored "Test CAT Control" and "Test PTT" buttons on the 
Setup | Configuration screen.

These features need thorough testing!



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3204 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-23 20:46:04 +00:00
Edson W. R. Pereira
d845a108db Logic update on on_bandComboBox_currentIndexChanged.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3203 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-23 19:22:30 +00:00
Edson W. R. Pereira
2318aaed30 Fixed a SIGSEGV bug at GUI initialization when CAT is enabled. The rig object was being called in on_bandComboBox_currentIndexChanged() before the rig object was instantiated.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3202 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-23 19:16:50 +00:00
Joe Taylor
f8310a6fc1 Update wsjtx.pro for compiling with hamlib calls on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3201 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-23 13:55:08 +00:00
Joe Taylor
7fd8e42932 Once again, working to implement direct calls to basic hamlib functiions.
*** This code is not finished, and may not work correctly! ***


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3200 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-23 00:52:51 +00:00
Joe Taylor
d092f7eae3 Further code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3199 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-22 15:43:02 +00:00
Joe Taylor
1b810b4f9a General code clean-up to eliminate compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3198 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2013-04-22 15:08:20 +00:00