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.
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)
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.
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.
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
In Preferences "Run this command when callsign is spotted" given command line is now checked OnExit and all '~/' are replaced with UsrHomeDir.
Not only '~/' causes problem (stuck) in DXCluster's RunAlert procedure but also if command file is not found.
FileExists is now checked before execute. Previously only empty command caused exit.
DXCluster list edit:
- when entering to edit form's caption is changed to "Edit DXCluster"
- if edit is closed with OK button DXCluster list "Apply" button is changed with Green/Bold text reminding user to apply change(s).
When DXCluster selection is changed "Apply" button is changed with Green/Bold text reminding user to apply change.
Squashed commit of the following:
commit f78c4d78761603af75b95f3f8390ec32b78c7ae1
Author: OH1KH <oh1kh@sral.fi>
Date: Fri Jul 9 18:09:24 2021 +0300
Added one AlertLine cleanup.
Fixed bug where CQ-monitor (My)ALL alert button had no function. No idea when it has dropped away.
Now works as help says:
When not checked alerts only if mycall starts decoded line and valid locator ends line = answer to my cq.
When checked alerts every decoded line that starts with mycall = all lines during qso.
commit b354295bd5
Author: OH1KH <oh1kh@sral.fi>
Date: Mon Jul 5 10:00:52 2021 +0300
Wsjtx add alerting line info
Added alerting line as second parameter of alert script call.
Backward compatible and $2 can be used as informative source for alert scripts
This is revision for PR #423 not yet accepted.
More user friendly, popup opens without click. Just mouse over.
Reimported err file can be deleted if it still caused errors.
---------
Commit #419 had errors in fAdifImport.lfm. I had cleaned it too much removing the popupmenu that should appear. Fixed.
I do not know if I also cleaned btnClose onClick, but as also the pas file did not had btnCloseClick procedure it might have been missing for long.
Now added btnCloseClick that sets boolean AbortEdit true. That stops long, or looping import.
Using popup at error file name with selection adif import file caused a loop if error file was not completely fixed. If there was still error(s) they were added to error file that was the same as imported file. Endless loop.
Now importing error file will create a new error file with different name.
- Group edit informs after execution WhereTo the change was made.
Also "Cancel" button changes caption to "Close" as the change that has been
done cannot be changed, and only Group edit form can be closed.
"Close" turns back to "Cancel" if field or value is touched after Group edit operation.
- Help file for "Contest" window has fixed. I hope it is now more informative and at least Cabrillo support is now properly mentioned.
In some contests you can work same station again using different mode. In others (most of them) you can work same station once on one band despite what mode is used.
That is why "NoMode4Dupe" checkbox is added. Default checked (one qso per band). When unchecked same station can be worked once with every mode within same band.
When duplicate qso is found and saved it is now marked as "Dupe" into "Comment to qso".
Help files fixed
Cqrlog ADIF import works ok as long as imports are done from cqrlog exported ADIF files.
If import is done from ADIF file created elsewhere there is no check of tag lengths and too long tags will stop importing.
See the bottom of this squashed commit list to find what has been done.
Squashed commit of the following:
commit 87ae92eca81bc56e93831948b1911384462cfdb7
Author: OH1KH <oh1kh@sral.fi>
Date: Thu Jun 10 17:13:38 2021 +0300
Fixed procedure name
commit a3c78bcf42d6f67fa95ca45ac7efbe93ce125856
Author: OH1KH <oh1kh@sral.fi>
Date: Thu Jun 10 15:07:28 2021 +0300
clean up fPreferences.lfm
commit 6faf605fe2869b62d9d2af2cc6c5c93042922615
Author: OH1KH <oh1kh@sral.fi>
Date: Thu Jun 10 13:28:55 2021 +0300
change pref/external viewers
commit c178b490cd6d76a492c454145901ab431cc4ae3f
Author: OH1KH <oh1kh@sral.fi>
Date: Thu Jun 10 12:50:55 2021 +0300
code cleanup2
commit f11cd026d7f861f91bdcb4942f10356412cb0181
Author: OH1KH <oh1kh@sral.fi>
Date: Thu Jun 10 12:49:50 2021 +0300
code cleanups1
commit a8eded15d579bbf34751594205dd761490c40580
Author: OH1KH <oh1kh@sral.fi>
Date: Thu Jun 10 12:24:52 2021 +0300
More help fixes
commit 7de03b8b1686f6c78fb1f1a97f4fdfa2fa907ee3
Author: OH1KH <oh1kh@sral.fi>
Date: Wed Jun 9 18:12:27 2021 +0300
Fixed help and fPrefrences.lfm(again)
commit 93faf48b6b5e03389869bda9d1b7361b76ec7bc5
Author: OH1KH <oh1kh@sral.fi>
Date: Wed Jun 9 17:47:43 2021 +0300
fixed fPreferences.lfm unneeded changes
commit 3bc1e2547e46f71199408cd0278322218f4b95fd
Author: OH1KH <oh1kh@sral.fi>
Date: Fri May 21 12:58:44 2021 +0300
- found out that adif import acceps longer tag datas that database columns are
- time on and time off can be HHMM or HHMMSS by adif std. Cqrlog uses only HHMM. 6chr needs cut
- added cut procedure for tag data input lengths.
-- Prints cuts to error file, but records are added with cutted values
- wanted to peek error file by click of it's name in import window:
--used preferences/ExternalViewers txt program for that
--- noticed that dUtil.RunOnBackground fails if full path to exec is not given
--- tried to add search by PATH env but this needs DOS unit and adding it to dUtils.pas
makes compile fail on several procedures of dUtils where TSearchRec is used
(fpc bug or new feature?)
--- that is why added cleanup and warning text if user tries to give just
name in preferences/ExternalViewers. Removed defaults geany...etc
They exist perhaps only in Ubuntus, none in Fedoras (other Linuxes unknown)
- moved type records TNewQSOEntryString length definitions to uADIFhash.pas
for one place to admin them.
-- found ot that current length definitions are not equal to database
max column widths causing overflows (why different lengths exist?)
-- done equalizing TNewQSOEntryString lengths with database column lenghts
in uADIFhash.pas
- Need Fix Help fixes
- Need do more testing
- Need polish lfm(s) to carry only changed parts
commit bcda4062ece9a85256a270ed1f2bcc42dc7a221f
Author: OH1KH <oh1kh@sral.fi>
Date: Fri May 21 08:26:02 2021 +0300
First commit as backup
"New QSO/Clear rit after save qso" with Icom IC7300 this clears also XIT to zero. It is good thing specially if XIT has been used for split up/down for qso.
How ever all rig brands and models may not cear XIT when RIT is cleared. Therefore command "Z 0" is added to "clear RIT" command to be sure that also XIT is cleared then.
Wsjt-x controls rig but for reason that was not explained by develop team it does not disable RIT and XIT. RIT is not fatal, but XIT may cause transmits off the used frequency slot and it is hard to notice by user because waterfall TX mark shows still a point inside frequency slot.
That is why command disableRitXit is added when entering to wsjt-remote mode.
If operator is set at wsjt-x it will roll over cqrlog operator (if set), but only for currently saved qso. If wsjt-x has no operator setting then cqrlog's operator setting is used (if set).
Checkbox "show only new, new band, new mode" in filter settings worked just opposite way dropping all those spots that had NMB marking. https://cqrlog.com/node/3127
Reversed that. Now shows only spots with NMB.