Commit Graph

1758 Commits

Author SHA1 Message Date
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
OH1KH
07c1919d20 Fixes for issue #425
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.
2021-07-12 12:23:46 +03:00
OH1KH
b8dc2e37ea Fixes to WSJT CQ-monitor
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
2021-07-09 18:16:01 +03:00
OH1KH
3e4ade1d85 Fixes to adif import
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.
2021-07-07 11:56:37 +03:00
Petr Hlozek
7cf6beafe0
Merge pull request #422 from OH1KH/groupedit
Small fixes
2021-06-29 08:20:59 +02:00
OH1KH
b6ecba33d3 Small fixes
- 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.
2021-06-28 17:21:52 +03:00
Petr Hlozek
403cc0bb51
Merge pull request #421 from OH1KH/contest_mode_dupe
Fix for contest duplicate check
2021-06-22 15:11:26 +02:00
OH1KH
461a8cd9f8 Fix for contest duplicate check
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
2021-06-21 12:11:40 +03:00
Petr Hlozek
d93627d3a5
Merge pull request #419 from OH1KH/adifimport_err_open
Small fix to ADIF import error file handling
2021-06-20 12:54:28 +02:00
Petr Hlozek
8d135bfcd5
Merge pull request #418 from OH1KH/squash_adiftag_cut
ADIF tag cut
2021-06-15 06:26:51 +02:00
OH1KH
900e1ca6ed Added popup to chooce edit,import,delete error.adi file. Fixed help 2021-06-11 18:45:50 +03:00
OH1KH
6598597cd0 ADIF tag cut
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
2021-06-10 17:18:07 +03:00
Petr Hlozek
748acb8690
Merge pull request #417 from phl0/TO108
Add TO-108 / CAMSAT 6
2021-05-08 17:45:31 +02:00
Petr Hlozek
17e1d10712
Merge pull request #416 from OH1KH/rit_xit
RIT and XIT modifications
2021-05-08 17:45:20 +02:00
Petr Hlozek
3f083e9519
Merge pull request #415 from phl0/FormatFrequencyForLabelExport
Fixed format for exported frquencies
2021-05-08 17:45:08 +02:00
Florian Wolters
a01b4dbd4c
Add TO-108 / CAMSAT 6 2021-05-02 12:32:18 +02:00
Florian Wolters
8194230cf0
Fix syntax error 2021-04-14 15:11:24 +02:00
Florian Wolters
8a496c57cb
Merge remote-tracking branch 'upstream/master' into FormatFrequencyForLabelExport 2021-04-14 15:06:26 +02:00
OH1KH
cd464bf5c4 RIT and XIT modifications
"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.
2021-04-05 10:22:25 +03:00
Petr Hlozek
1847077c48
Merge pull request #414 from phl0/AlignTableStructureForQSLExport
Align qslexport table structure with cqrlog_main table
2021-03-26 11:59:48 +01:00
Petr Hlozek
5df25115c1
Merge pull request #413 from phl0/LabelExportAllFields
Optionally export all fields (unselected items as empty)
2021-03-26 11:59:21 +01:00
Petr Hlozek
b7480598e3
Merge pull request #412 from phl0/ShortenLocOnLabelExport
Shorten grid to 6 chars for label export
2021-03-26 11:59:12 +01:00
Florian Wolters
5053adc229
Fixed format for exported frquencies 2021-03-23 18:21:43 +01:00
Florian Wolters
32a38d9b37
Align qslexport table structure with cqrlog_main table 2021-03-23 17:38:07 +01:00
Florian Wolters
070a28bd96
Optionally export all fields (unselected items as empty) 2021-03-22 23:02:06 +01:00
Florian Wolters
b3e2f2608b
Shorten grid to 6 chars for label export 2021-03-22 18:15:23 +01:00
Petr Hlozek
85589d9209
Merge pull request #410 from OH1KH/wsjt_op
Small fix for wsjt-x remote operator
2021-03-17 18:12:08 +01:00
Petr Hlozek
2ff5f548d5
Merge pull request #409 from OH1KH/RBNfilter_bug
Fix for RBNmonitor filter
2021-03-17 18:11:58 +01:00
OH1KH
dc184c214c Small fix for wsjt-x remote operator
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).
2021-03-17 09:37:09 +02:00
OH1KH
7c46ee50ec Fix for RBNmonitor filter
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.
2021-03-13 16:10:56 +02:00
Petr Hlozek
7c064c7c93
Merge pull request #408 from OH1KH/label_print
Fix for qsl label printing.
2021-03-06 10:11:57 +01:00
OH1KH
fb12ca63e6 Fix for qsl label printing.
Fixed empty RegExp error that happens in qsl label printing when cqrlog is compiled with freepascal ver > 3.0.4
2021-03-05 10:00:20 +02:00
Petr Hlozek
ab118dbede
Merge pull request #407 from OH1KH/big_sqr
Fix for Statistics/Big squares
2021-03-03 18:08:58 +01:00
Petr Hlozek
a204d631b9
Merge pull request #406 from OH1KH/squash_onlydx
Wsjtx: added "only DX" selection
2021-03-03 18:08:24 +01:00
OH1KH
3f54f65c26 Fix for Statistics/Big squares
Compile with Laz2.0.10/fpc3.2.0 or with laz2.0.12/fpc3.2.0-1 cause runtime Acces violation from Big Square statisticts. https://www.cqrlog.com/node/3123

When older Laz/fpc is used this error does not exist at line 177: db.post of fBigSquareStat.pas

Got some help from Lazarus forum and modified it little bit further. Result seems to be again similar compared to result with old la/fpc compiled version result without Access Violation errors.
2021-03-02 15:51:41 +02:00