Commit Graph

1742 Commits

Author SHA1 Message Date
OH1KH
3486981cc9 Fixes to adif import/export
-fixed adif export submode exeption OLIVIA. Fldigi remote saves mode
        with "name-bw" while standard uses " "(space) instead. Replace "-"with " " done.
        There are more BWs in fldigi/olivia than standard. Now passes them all to submode.
        Noted that while fldigi shows modes in unstandard way (that is then transferred
        via remote xmlrpc to cqrlog) it writes its own adif export in stadard form (!!)

        -import will now place all submodes to mode (issue #448) as there is no
        submode column in cqrlog's database. If submode is passed to mode lockSubMode
        is set in case qso record has mode and submode tags in reverse order.
        Lock is cleared on qso record save.

Squashed commit of the following:

commit d47e118ae1c02d97bc5edf27c265e2826f7933cc
Author: OH1KH <oh1kh@sral.fi>
Date:   Fri Oct 15 09:54:24 2021 +0300

    fix

commit 17d308d88f73518a8aa8cd0e2895e6fdc3ede859
Author: OH1KH <oh1kh@sral.fi>
Date:   Fri Oct 15 09:43:03 2021 +0300

    Version date

commit b23dda66166cd3e11baa7a99890afc5e6946a035
Merge: 44d6bca b1a40ed
Author: OH1KH <oh1kh@sral.fi>
Date:   Fri Oct 15 09:20:45 2021 +0300

    Merge branch 'master' into adif_submode_import

commit 44d6bcad850e6d4329a54a0e70bd3962c086ee17
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Oct 13 10:11:53 2021 +0300

    Fixes to adif import/export

    	-fixed adif export submode exeption OLIVIA. Fldigi remote saves mode
    	with name"-"bw while standard uses " "(space) instead. Replace "-"with " " done.
    	There are more BWs in fldigi/olivia than standard. Now passes them all to submode.
    	Noted that while fldigi shows modes in unstandard way (that is then transferred
    	via remote to cqrlog) it writes its own adif export in stadard form (!!)

    	-import will now place all submodes to mode (issue #448) as there is no
    	submode column in cqrlog's database. If submode is passed to mode lockSubMode
    	is set in case qso record has mode and submode tags in reverse order.
    	Lock is cleared on qso record save.
2021-10-15 09:55:08 +03:00
OH1KH
f52b552b8f Fix for Hamlib CW
Fixed hamlib CW to work if rigctld was started with parameter "--vfo"
	or without it.
	Fixes issue #450

Squashed commit of the following:

commit ce9ffa3dbca36d4184561c13ccade84ef4fbdcdf
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu Oct 14 20:03:47 2021 +0300

     Small changes and then testing. Seems to be ok now

commit 5b7e56bdbd99d04a29f0a29ceccc44d432bd47a9
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu Oct 14 14:36:34 2021 +0300

    set speed works now. Need still testing

commit f0db148a6c309b706d22005c94d1a498f5c70950
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu Oct 14 12:20:58 2021 +0300

    starting to fix hamlib cw when '--vfo' is used
2021-10-14 20:05:47 +03:00
Petr Hlozek
b1a40edffa
Merge pull request #449 from OH1KH/squash_reverse_bandmap
Fix to Band Map
2021-10-13 13:22:23 +02:00
OH1KH
fe2d81302a Fix to Band Map
Added checkbox "reverse order"  that affects to spot sorting order.
        When reversed shows microwawe bands first LF bands last if all band
        spots are shown.
        If only active band is shown shows SSB spots first if reversed as
        CW part of band is normally the low edge.
        If not reverse order (that is default) shows CW spots first as before.

Squashed commit of the following:

commit ac022244db1937b59648dd48dbe867d594f78023
Merge: ac7ebb5 ddb64e8
Author: OH1KH <oh1kh@sral.fi>
Date:   Tue Oct 12 19:13:05 2021 +0300

    Merge branch 'master' into reverse_bandmap

commit ac7ebb55ef
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Oct 11 12:08:17 2021 +0300

    Fix to Band Map

    	Added checkbox "reverse order"  that affects to spot sorting order.
    	When reversed shows microwawe bands first LF bands last if all band
    	spots are shown.
    	If only active band is shown shows SSB spots first if reversed as
    	CW part of band is normally the low edge.
    	If not reverse order (that is default) shows CW spots first as before.
2021-10-12 19:14:40 +03:00
Petr Hlozek
ddb64e8623
Merge pull request #447 from OH1KH/rig_poll_cmd
Fix for Rig poll command
2021-10-12 16:16:43 +02:00
Petr Hlozek
364fc34fec
Merge pull request #446 from DL2KI/master
Works the same way with 'Exactly' and 'Include'
2021-10-12 16:16:02 +02:00
OH1KH
b505ebc979 Fix for Rig poll command
Stripped away unneeded LineEndings
2021-10-11 10:07:39 +03:00
dl2ki
4fc2cf242e Works the same way with 'Exactly' and 'Include' 2021-10-09 19:00:11 +02:00
Petr Hlozek
036e986d8b
Merge pull request #445 from OH1KH/cabrilo_folder
Fix for cabrillo export
2021-10-05 11:31:07 +02:00
Petr Hlozek
7b8fecea90
Merge branch 'master' into cabrilo_folder 2021-10-05 11:31:02 +02:00
Petr Hlozek
00b4dd3dcf
Merge pull request #444 from OH1KH/squash_hamlib_vfo
Fix for hamlib interface
2021-10-05 11:30:30 +02:00
Petr Hlozek
27d6afeee9
Merge pull request #443 from sq6emm/master
Add all uWave bands and fix frequency display issue
2021-10-05 11:29:19 +02:00
Petr Hlozek
d05267e274
Merge pull request #441 from OH1KH/cabrillo_rejectfile
Fix to Cabrillo export and fldixi xmlrpc help.
2021-10-05 11:29:00 +02:00
OH1KH
5f2512b757 Fix for cabrillo export
Fixed save dialog to open into user's home dir
2021-10-05 10:12:38 +03:00
OH1KH
3130939fce Fix for hamlib interface
This fix tries to solve issue #438 and some other minor problems.
New wsjtx program needs rigctld starting parameter "--vfo" to work properly with
split/Rig mode. At the moment parameter "--vfo" is optional, but it may be added
as hardcoded default in Hamlib version 5.0

Parameter "--vfo" usage causes change to almost all rigctld commands needing the
vfo to be stated always as first paramater of command.
I.E. command "f" must be issued as "f currVFO". Other possibilites instead of
currVFO are VFOA, VFOB etc. depending on used rig model.

There is a command \chk_vfo that can be used to clear out has rigctld started with
"--vfo" paramater or not. Unfortunately there are variants in the way how different
rigctlds answer to this command. And even the rigctld man pages give wrong information
about the answer format.
And not only that, but the versions of Hamlib do have differences in command "v"
format when "--vfo" is used.

This fix can understand the current format (Hamlib 4.4) and on the other hand it also
detects different format that Hamlib 3.1 used. I did not have versions between 3.1
and 4.4. to test with.
Because all of this it may be that this fix needs readjust if they again change Hamlib
way of hanlding commands.

	- rigctld connection tries to resolve if "--vfo" issued or not as first thing.
	- changes command format by the result of \chk_vfo. This check and it's results
	  can be turned of with TRXControl checkbox "Use chkvfo" (default checked).
	- all commands are now prefixed with plus "f" -> "+f" to make answer decoding lot
	  more easier. Plus prefix is there always not depending on "Use \chkvfo" state.
	  With "+" prefix answers always have line that starts with asked word and colon
	  followed by value "FREQUENY: 3500000" that is easy to detect then.
        - fixed vfo detect to resolve also answers "Main,MainA,MainB,Sub,SubA,SubB,None"
          that may be result for "v" command with some rigs.
	- disabled "Run rigctld when program starts" checkbox if rig "Hamlib Net Rigtcld"
	  is selected. There is no need to start rigctld as that "rig" means we are
 	  trying to access already running rigctld via TCP. Usually trying to start
	  rigctld by cqrlog leads to debug message "Rigtld failed to start" in that case.

	- same with "Run rotctld when program starts" if rotor is "Hamlib Net Rotctld"

	- cleaned lot of code in preferences related to rig and rot settings change

	- fixed synapse httpsend user agent string. String with "Synacode" causes now
	  web bot fitering in www.hamqsl.com's server that disables Propagation to work.
	  It may be that in future this user agent string must be user defineable, if
          bot filtering "learns" this new agent string too fast.

	- fixed help files

Squashed commit of the following:

commit 373420098a222697c4efa586c0b62dfc450bd75d
Author: OH1KH <oh1kh@sral.fi>
Date:   Sat Oct 2 17:12:33 2021 +0300

    Fixed help files

commit 3c17db9c72
Author: OH1KH <oh1kh@sral.fi>
Date:   Sat Oct 2 16:32:58 2021 +0300

    Disabled "Run rigctld when program starts" if rig model is #2 Hamlib Net rigtcl. There is no mind running it in that case.

    Cleaned up lot of code that refelcts to rig or rot settings change

commit 6bd6274a4b
Author: OH1KH <oh1kh@sral.fi>
Date:   Sat Oct 2 09:25:01 2021 +0300

    Rewrite whole communication to use "+" prefix with commands.
    This makes received information sorting lot more easier.

    Added counter (10) to set frequency 0 (zero) if no reply from rig.

commit fdc209477d
Author: OH1KH <oh1kh@sral.fi>
Date:   Sat Oct 2 07:59:51 2021 +0300

    Changed hardcoded parameter "currVFO" to variable.
    Changed TRXControl vfo buttons cloring drive to radio.getcurrvfo works, but not with icoms that can not answer get_vfo command.

commit dd1bd7411e
Author: OH1KH <oh1kh@sral.fi>
Date:   Fri Oct 1 08:08:08 2021 +0300

    Added Main,Sub,MainA,MainB,SubA,SubB,None support to detect vfo.
    Without those the non VFOA or VFOB name ended to be mode name.

    Fixed user agent in synapse httpsend because bot detect firewall at hamqsl.com blocked user agent "synapse". Now sends Mozilla/4.0 (X11; Linux x86_64) that is agent string in normal browser.

commit fd3a06d769
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Sep 29 11:06:20 2021 +0300

    Added checkbox to disable \chk_vfo in case of needed

commit 68dcc3cd84
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu Sep 23 19:01:14 2021 +0300

    This looks like working, but there is still Hamlib bug with icom. Fix may need to change this

commit bff1a6e145
Merge: d76d4c8 9d48c83
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Sep 22 17:30:13 2021 +0300

    Merge branch 'master' into hamlib_vfo

commit d76d4c8a99
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Sep 20 18:34:18 2021 +0300

    setting commands by vfo. And found error from rigctld (again)

commit 764cb76dcb
Author: OH1KH <oh1kh@sral.fi>
Date:   Sat Sep 18 10:16:14 2021 +0300

    added vfostr

commit 72c143e5e1
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Sep 13 16:20:44 2021 +0300

    init check and poll timer works
2021-10-04 06:23:03 +03:00
Dawid SQ6EMM
ea72ff5dcb typo fix 2021-09-26 22:14:56 +02:00
Dawid SQ6EMM
2c7d411fca add all uWave bands and fix frequency display 2021-09-26 22:13:01 +02:00
Dawid SQ6EMM
5dd59c0e84 additional fixes to beutify freq 2021-09-26 16:45:33 +02:00
Dawid SQ6EMM
9ce4372003 Fixed 10GHz and up frequency display issues 2021-09-26 16:36:08 +02:00
Dawid SQ6EMM
4b61780e8a add ENV to automagically configure tzdata 2021-09-26 15:39:50 +02:00
Dawid SQ6EMM
545278661f Use latest LTS ubuntu, as with current version apt-update is not working any longer 2021-09-26 15:15:52 +02:00
OH1KH
c60be91f96 Fix to Cabrillo export and fldixi xmlrpc help.
-Fixed Cabrillo Reject log QSO format to be same as in Cabrillo export file.
	-Added reject reason in front of every rejected qso line
	-Graphics fixes:
		-- "overwrite existing file" messagebox did not clear up after answering Yes or No
		-- Progress bar did not update when using GTK2 widgets

	-Tried to clear Fldigi xmlrpc help at "drop after sync error" part.
2021-09-22 19:34:48 +03:00
Petr Hlozek
9d48c835f2
Merge pull request #440 from OH1KH/contest_fix
Fixes to Contest
2021-09-21 10:34:04 +02:00
Petr Hlozek
88a84c9d1b
Merge pull request #439 from phl0/groupEditDOK
Allow DOK edit in Group Edit
2021-09-21 10:33:37 +02:00
OH1KH
5fd45704c4 Fixes to Contest
After SAC CW 2021 following fixes needed:

	- initial size was a bit too small hiding some checkboxes
	- position and size saving works now also when cqrlog (NewQSO) is closed while contest form is open
	- added CW speed indicator to right side of contest name combo box
	- CW contents are now fetched from contest window (previously from NewQSO)
	  That makes macro %c (callsign) work also when parital call is written. I.E. can send partial call to ask the complete call.
2021-09-19 18:18:09 +03:00
Florian Wolters
c22e91e533
Allow DOK edit in Group Edit 2021-09-14 11:25:06 +02:00
Petr Hlozek
3d13793007
Merge pull request #437 from OH1KH/DXCC_stat_form
Fix for DXCC status form
2021-08-31 06:32:20 +02:00
OH1KH
11e3b8695b Fix for DXCC status form
Completely layout fix, no code changes.

 Goal_1: To make wkd/cfm grid vertically autosized to see all 10 rows all the time without the use of vertical scroll bar. I think this is the main interest grid.
 Status by countries grid is big and needs scrolling anyway and is seldom the main interest grid (or is it?)

 Goal_2: To fix PHONE group box anchoring so that CWM line does not drop over bottom line with QT5 widgets.

 Renamed lfm components (for easier location during pos/anchoring)
 Redesigned positions and anchoring
 Added W/C_Gird constraints.minheight setting by font size in form show procedure. Tries to keep all 10 rows visible without scrolling.
2021-08-30 19:20:28 +03:00
Petr Hlozek
31509886c5
Merge pull request #436 from phl0/newSATs
Update sat_name.tab from tqsl config
2021-08-30 11:24:07 +02:00
Florian Wolters
87c848fe7a
Update sat_name.tab from tqsl config 2021-08-27 14:37:02 +02:00
Petr Hlozek
7647d671c5
Merge pull request #435 from OH1KH/ITU_WAZ_cfm
Fix for ITU & WAZ confirm in Details window.
2021-08-27 09:06:24 +02:00
Petr Hlozek
115c011977
Merge branch 'master' into ITU_WAZ_cfm 2021-08-26 19:43:48 +02:00
Petr Hlozek
1547e16ba8
Merge pull request #434 from OH1KH/ADIFsubmode_enumerations
ADIF export submode extensions
2021-08-26 19:42:13 +02:00
OH1KH
a49d011cb4 Fix for ITU & WAZ confirm in Details window.
This fixes issue #433 setting comfirm status by rules of WAZ and ITU.

Happily GetITUInfoIndex and GetWAZInfoIndex were used only in Details window, so this does not cause snow ball effect to elsewhere.
2021-08-26 11:06:51 +03:00
OH1KH
068331f61c ADIF export submode extensions
Added all mode/submode enumerations from https://adif.org/312/ADIF_312.htm#Mode_Enumeration to ADIF export tag creation.
This way user can add to "modes/user defined digital modes" any submode written in same form as enumeration table and get it exported properly with mode+submode tags.  This addition is random tested as there are so many submodes. How ever I tried to use copy/paste from adif.org for creating source to avoid typing errors in submode names.

Added also modes that come from rig (ic7300) if "auto" mode checkbox is checked and "DATA" is used with any of USB,LSB,FM,AM. They all are now exported with tag PKT.
It may not be the right one if user uses additional program to work with and that program does not have remote link to cqrlog to tell the mode name. In anyway PKT is included in ADIF mode enumerations where modes from rig PKTUSB,PKTLSB,PKTFM and PKTAM are not.

Fixed help (Quick start/modes)
2021-08-25 18:50:07 +03:00
Petr Hlozek
f89d42476b
Merge pull request #432 from gVkWY8NJAa/master
Fixed security vulnerability with legacy qrz xml api
2021-08-23 20:20:57 +02:00
gVkWY8NJAa
a3f503c28d Changed QRZ xml connection strings to use HTTPS and specify the version number of the api to be used. QRZ sends usernames and passwords in the clear over the network otherwise. 2021-08-21 09:06:15 -05:00
Petr Hlozek
5dd6ea924e
Merge pull request #431 from OH1KH/cw_spd
Fix for CW speed display in NewQSO
2021-08-18 06:45:02 +02:00
Petr Hlozek
69b28b3c38
Merge branch 'master' into cw_spd 2021-08-18 06:44:56 +02:00
Petr Hlozek
be5f96bd52
Merge pull request #430 from OH1KH/remote_startup
Start cqrlog and enter remote mode
2021-08-18 06:44:09 +02:00
Petr Hlozek
7b888b12b6
Merge branch 'master' into remote_startup 2021-08-18 06:44:03 +02:00
Petr Hlozek
7ad1feec4e
Merge pull request #429 from OH1KH/propagation_fix
Fix for propagation
2021-08-18 06:43:29 +02:00
OH1KH
aa1bb74f09 Fix for CW speed display in NewQSO
Added bottom sbNewQSO.Panel 4th part to use with CW speed. CW speed was always hidden because 2nd part of panel was used also to "ref call" that wiped the CW speed setting value.
	Now it is always visible after cqrlog version number at botton right corner.
2021-08-16 11:56:29 +03:00
OH1KH
1360cd62b9 Fix for propagation
When propagation/solar data is defined to show out as text there are sometimes
 situations that no data is shown. On next day problem is away.

 Found out that if downloaded solardata.xml (as solar.xml in cqrlog directory)
 has node(s) without data try loop fails to loadxmlfile because data is
 assigned, but there are no (0) first.child to load.

 Added check that assigned data has also ChildNodes.Count > 0

 Helped to view values today when "fof2" node was empty. So I guess it is ok
 to test also with other nodes loaded.
2021-08-11 21:35:33 +03:00
OH1KH
ae54665937 Start cqrlog and enter remote mode
Fixed TRXControl DisableRitXit bug where existence of rig was unclear

	Added new startup parameter -r / --remote that can have one letter
	argument, same as quck Ctrl keys for accessing remote mode.
	Parameter will start remote mode 10 seconds after cqrlog startup is complete

	Fixed help files
2021-08-10 09:33:44 +03:00
Petr Hlozek
20c48a93cc
Merge pull request #428 from OH1KH/DXC_issue_425
Fixes for issue #425
2021-07-17 21:39:19 +02:00
Petr Hlozek
a6139210a1
Merge branch 'master' into DXC_issue_425 2021-07-17 21:39:14 +02:00
Petr Hlozek
9b91179341
Merge pull request #427 from OH1KH/squash_wsjt_alm
Fixes to WSJT CQ-monitor
2021-07-17 21:38:49 +02:00
Petr Hlozek
981a122c18
Merge branch 'master' into squash_wsjt_alm 2021-07-17 21:38:43 +02:00
Petr Hlozek
aae824dc47
Merge pull request #426 from OH1KH/adiFix2
Fixes to adif import
2021-07-17 21:38:16 +02:00