cqrlog/help/img/h96b.png
OH1KH e6b1503cc8 This update planned to allow HamLib usage with radio2 selected (with it's port and address).
As usual the work grows ...
Thanks Martin, DL1MTG, for testing and comments!

CW keyer:
    -Preferences CW interface: both radios can now have own type of keyer.

    -HamlibKeyer address/port is taken from selected radio

    -Keyer is reloaded with every change of radios, but if user sets both
     keyers to same type (and it is not HamLib) he can use checkbox to
     prevent reloading when radio is switched. Meaning he uses same physical
     keyer for both radios and does not want that radio switch (keyer reloading)
     sets CW speed always back to default.

    -K3NG keyer serial speed was stored to Word variable. That can carry only
     value up to 65535. Changed to dWord and now speed 115200 should be passed
     to serial port setup (no device to test that, but 115200 comes now ok up
     to ser.config()-line that it did not before).

Help:
    -Preferences have now 2 help buttons. One gives help for currently selected
     tab, other opens help index.
     I think Lazarus help system has bug (or I can not use it!) but tab help keyword
     definitions in .lfm can never be used as ShowHelp checks parent and if found  uses
     Parent.showhelp that seems to lead to upper level help keyword.

    -There is another problem because help system uses system default browser and
     Lazarus finds it using xdg-open (Linux system script to find registered viewer)
     xdg-open has property that drops away hashtag links pointing to website chapters
     if url "file:///" is in question.
     That is why user must define "real browser" at preferences/program to see hashtag
     linked help pages properly. (sad but seems to be true)

    -preferences/program Web browser setting has improved. Checks that browser name
     entered can be found. Reports if not found. If left empty, uses
     dmUtils.MyDefaultBrowser function that usually places xdg-open as browser.
     Click of browser name edit box offers file navigator to find browser binary
     (but direct typing is also possible, see help page)

    -when webbrowser is read from ini, default hardcoded 'firefox' is removed
     (all systems do not have it!) instead there is call to dmUtils.MyDefaultBrowser

    -some help pages are fixed and added.

Other:
    -while doing debug with Lazrus IDE I found out that when cqrlog does get response
     Not Found for DXCC and qslmgr version number from http://ok2cqr it causes an error
     in version number StrToInt conversion.
     User does not see this as it is done inside try/finally/end, but while debugging
     it was so annoying last Sunday that I changed code so that if received data
     from web site includes "not found" it does not even try StrToInt conversion.

    -It seems to be freepascal(linux) property that when external child program is run from parent
     and it ends it leaves zombie PID hanging on until parent closes that cleans up all
     child zombies.
     These appears when external vievers, fldigi, wsjtx, scripts (voice, start, stop) etc.
     are run from cqrlog. Might not do any harm normally. Perhaps if cqrlog is running
     extreamly long time without closing.

Squashed commit of the following:

commit 6350ac2b6a6dae507320c08a5ee5f7a374398654
Author: OH1KH <oh1kh@sral.fi>
Date:   Tue May 12 09:13:05 2020 +0300

    Added own ports for radio2 winkey/cwdaemon and K3NG

commit 23af6145c5d7aa4b7e3fd928e3853bc9a3ae0a40
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon May 11 07:16:44 2020 +0300

    Preferences: buttons: Help(tab), Help(idx)

commit 71108698a53347feb8423febf075c739fb16877f
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon May 11 07:01:15 2020 +0300

    some changes to user browser selection

commit de3e0f326bf2dda3a5ea6531824dc12c9821d97a
Author: OH1KH <oh1kh@sral.fi>
Date:   Sun May 10 18:59:29 2020 +0300

    part external viewers update

commit 80581a58633c26479bf98d6a71914214713585f8
Author: OH1KH <oh1kh@sral.fi>
Date:   Sun May 10 17:46:29 2020 +0300

    propagation help added

commit cf11bfcd97d399645946287506cca2945aaff85c
Author: OH1KH <oh1kh@sral.fi>
Date:   Sun May 10 13:04:16 2020 +0300

    Finally working tab based help for preferences. Fixed bug 'invalid date format' if dxcc and qslmgr check fails because of ok2cqr web page fail 404

commit 53f5ceb41d365f955a9c270967f2554c61916626
Author: OH1KH <oh1kh@sral.fi>
Date:   Sun May 10 10:10:22 2020 +0300

    User select keyer reset if same keryer for both rigs + help update

commit c97761e14e2694a44f9a91515a54365c7c18bba7
Author: OH1KH <oh1kh@sral.fi>
Date:   Sat May 9 17:49:31 2020 +0300

    Some help fixes still

commit f46e771f7e8a9de6e3acac16614e1817a0af9485
Author: OH1KH <oh1kh@sral.fi>
Date:   Sat May 9 10:02:27 2020 +0300

    removed unused variables

commit ed90d7d660a5cfe7243abc7099fcae1f30075f60
Author: OH1KH <oh1kh@sral.fi>
Date:   Sat May 9 09:46:50 2020 +0300

    Fixed K3NG keyer serial speed setting. Changed speed :word to :dword now accepts over 65535 speeds

commit 0d89b6b4e9b3126564ca61247b2577db4a6f3bce
Author: OH1KH <oh1kh@sral.fi>
Date:   Sat May 9 09:28:15 2020 +0300

    Default browser selection fixes. Affects how help hashtags works in different systems.

commit 3ad50cf0babc1ee888ef665fdb7bf67f6e9a8497
Author: OH1KH <oh1kh@sral.fi>
Date:   Fri May 8 12:32:45 2020 +0300

    help typo fix

commit a4cd6ff58c01773329f0ae8173bf84602ead1ddf
Author: OH1KH <oh1kh@sral.fi>
Date:   Fri May 8 12:31:39 2020 +0300

    some help fixes

commit 6111f3be6afa8ee8b81918758ddeb75d277683c4
Author: OH1KH <oh1kh@sral.fi>
Date:   Fri May 8 10:50:25 2020 +0300

    Some bug fixes

commit 36344f3748b1efef878f8ad6b0778e619527eb6c
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu May 7 17:41:53 2020 +0300

    Removed pnlMain caption text/TRXCntrol

commit e16dab0fe1e80779d90a04640bb3a077f7c40b1d
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu May 7 17:38:21 2020 +0300

    help fixed now

commit bdc08e74394a1ef77ecdbbffa70af890f7d7cbc4
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed May 6 12:11:14 2020 +0300

    Changed idea: both rigs have keyer selection at prefrences/CWinterface. Help fix

commit d3ae6f3e56328894a8260f344b4346f546711a18
Author: OH1KH <oh1kh@sral.fi>
Date:   Tue May 5 10:39:08 2020 +0300

    Hamlib CW follows rig if set in preferences. Rig switch resets cw interface if hamlib
2020-05-13 05:44:42 +03:00

79 KiB
795x657px