Commit Graph

1719 Commits

Author SHA1 Message Date
Petr Hlozek
0028403012
Merge pull request #522 from OH1KH/squash_layout
Fixes to preferences layout
2022-07-24 13:02:22 +02:00
Petr Hlozek
ba9d0c769d
Merge pull request #519 from OH1KH/squash_new_rig_comm_2
Fix for rig power on
2022-07-24 13:02:08 +02:00
Petr Hlozek
89805c61cc
Merge pull request #518 from thuben/master
Fix for opening certain filenames in the EDI file export.
2022-07-24 13:01:52 +02:00
OH1KH
24d58a11de Fixes to preferences layout
Squashed commit of the following:

commit 5556ee564c6077c42dc75ef127183488f04648a3
Author: OH1KH <oh1kh@sral.fi>
Date:   Fri Jul 1 10:57:31 2022 +0300

    Fixed anchor

commit d8de2a29f24215204a9b86587d47e63bbc0364b6
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu Jun 30 16:22:34 2022 +0300

    fixed preferences/modes layout

commit 627e6b2a3e398d102439f6ea68d56a32fb265790
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu Jun 30 15:45:38 2022 +0300

    Fix preferences/ROTcontrol

    	Cleared ROT ID model(1,2) default text "cmbModelRot"
2022-07-01 11:00:11 +03:00
OH1KH
644c781ed2 Fix for rig power on
MI0HOZ reported that his rig closes ok from TRXControl P-off button
	but does not start from P-on button.
	I did know this before but always tought that it was my IC7300 "property".
	More carefull testing did show that it is Cqrlog's bug.

    	If rig Power off or stby  button is pressed and rig closed
    	Cqrlog continues polling. That stacks commands/responses and
    	when Power on button is pressed command is sent to rig but it may
    	take several minutes before action.

	This showed up totally new problem.
	Cqrlog "just throws out polling" to rigctld and assumes that there will be proper
	answer on return.
	How ever the code does not wait for return, it continues polling by timer
	even when there is no answer.
	It should not do so.

	For every command sent to rigctld there should be always some kind of reply
	coming back. Before that reply new timer based command(s) should not be sent.

	This tries to fix problem(s).
	At the start \chk_vfo and \dump_caps are asked (first if user has allowed that, default yes).
	Result of \chk_vfo modifies the polling format and result of \dump_caps is used to check
	if rig can do: get vfo, set_powerstat and send morse.

	At the moment used information is more cosmetic:
	If rig can not "get vfo" Trxcontrol's vfo "A" and "B" buttons are not colored by vfo in use.
	if rig can not "Set_powerstat" Trxcontrol's poer buttons are disabled.
	"Send mores" was planned to give warningif user tries to use Hamlib keyer with rig that
	does not support it, but it is not implemented yet.

	Then to more important things.
	Now rig polling is enabled by "ticket numbers". The poll timer itself runs all the time
	but "tickets" order what to do.

	This way the start commands can be done first by large numbers.
	Then all other issued commands have ticket number 1
	And finally, when nothing else to do, normal rig polling "the fmv" has poll number 0
	Ticket number -1 will disable polling. That is used when waiting for answer from rig
	and afte power off command is issued to stop all rig requests, except power on command.

	This is third idea for fixing this problem and it seems to work better than previous ones.
	Testing is done with Icoms 7300 and 706 and hamlib dummy (#1) rig.

	While testing a new bug was found.
	rigctld passband settings had bug in man page where "-1"="keep current passband" was not
	told. It was ok in rigctl man pages instead. Proposed fix, and it is now done in Hamlib.

	How ever also Cqrlog had bug there. The passband variable was "word" that can not support
	negative numbers.
	Setting passband to "-1" in preferences/modes resulted passband setting of 65535 in rigctld.
	Fixed variable to be "integer" for negative value support.

Squashed commit of the following:

commit 0126a51ffb7b81d2c76dfc565643d80488a59c62
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu Jun 30 12:41:26 2022 +0300

    version date

commit 00ed3aa437115d83c6aa08861f0e7d2168b57677
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Jun 27 10:28:28 2022 +0300

    Fixed passband '-1' setting

commit 0fb4345a3a584f91c8e89aa0c9be94dc83ab5f58
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Jun 27 10:21:07 2022 +0300

    Fixed passband '-1' setting

commit 1ea3a5c193ad3db60a728f3c3e8c3d6ab93187e3
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Jun 27 09:41:14 2022 +0300

    If rig can get vfo coloer TRXC vfo buttons,else not

commit a99edac732d15a354a0e3a10ef399107e53171dd
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Jun 27 09:04:10 2022 +0300

    restored queue send

commit cd1ba324376556d64cd7d38667a4609f514c736c
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Jun 27 08:28:52 2022 +0300

    connect indication

commit 1f1653ed7b634eda81586409fab3564273888513
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu Jun 23 17:56:05 2022 +0300

    looks good, but connection status must be fixed

commit d54143de69950a6e80c578cf4049a418e909972c
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu Jun 23 14:07:06 2022 +0300

    power on / off btns work now

commit 1332722a3a9483699735404af9ccc0ff322c44e9
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu Jun 23 13:06:14 2022 +0300

    Third try to fix this uRigControl
2022-06-30 13:01:34 +03:00
Thomas Nilsson
3fe9261083 Opening file dialogs will not open all filenames / paths.
Some filenames will not be opened due to missing escaping.
The failing files / paths are those with one or more spaces in them.
The remedy is to quote the string. The same error exists at
a few places. (#517)
2022-06-17 14:37:35 +02:00
Thomas Nilsson
86f06fee85 Fix for opening certain filenames in the EDI file export.
The feature for checking your EDI file when it has been created
will not open all filenames / paths.
The failing files / paths are those with one or more spaces in them.
The remedy is to quote the string. The same error exists in
the Cabrillo export as well.  (#517)
2022-06-14 16:34:31 +02:00
Petr Hlozek
f4d5d1e48d
Merge pull request #515 from OH1KH/gtk3_compiles
Using GTK3
2022-06-11 15:02:19 +02:00
OH1KH
5baa0ce1f6 Using GTK3
With these small fixes Cqrlog compiles with Gtk3 widgets.
	How ever running compiled program causes several widget errors.

	You can see similar errors with Gtk2 if Cqrlog is started from
	console. Difference is just that Gtk2 errors do not kill the
	program like it happens with Gtk3 widgets in use.

	So this is just a start to gtk3 and (lot of) work needs still
	to be done if one wants to use Gtk3 widgets with Cqrlog.
2022-06-08 11:17:25 +03:00
Petr Hlozek
6a1c6b49aa unused units added 2022-06-07 19:54:40 +02:00
Petr Hlozek
de6f9d5351
Merge pull request #513 from OH1KH/squash_grayline_fix
Grayline fix
2022-06-07 19:38:09 +02:00
Petr Hlozek
b2a9d77da5 Revert "fix: remove lazarus temp dir to test build in pbuilder"
This reverts commit 823332ccb2.
2022-06-07 19:33:49 +02:00
Petr Hlozek
489a34fbed TAChartLazarusPkg removed 2022-06-07 19:26:56 +02:00
OH1KH
b344a59fd4 Grayline fix
Fixed great circle plot follwing ways:
	 - max pathline points added to 5000
	 - default step set to 0.1 (degrees). This makes polar plottings lot better
	 - added adjustable ploth width 1-5 pixels
	 - removed black background from plotted line
	 - added adjustable colors to short- and longpath lines
	 - fixed help page
	 - fixed prferences/program layout and changed old qso color selector same as with path line color settings.

  Thanks Martin, OK1RR, for help and ideas.

Squashed commit of the following:

commit a6b5022db53fdae5499bfcec304f824ada9c001d
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Jun 6 08:37:47 2022 +0300

    defaults fix

commit eda8ce2d7195e04efe1f5a3b2c375381d3e5c9c9
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Jun 6 08:23:05 2022 +0300

    Plot line black background remove. Plot line widith and colors adjustable, help fix

commit b35f08601b3efa2649ab6651924b39a554df484e
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Jun 6 05:18:33 2022 +0300

    change of defaults and max of plotting points
2022-06-06 08:38:53 +03:00
Petr Hlozek
823332ccb2 fix: remove lazarus temp dir to test build in pbuilder 2022-05-29 18:15:29 +02:00
Petr Hlozek
67eaf1afdf fix: getting version from uVersion.pas, clone using https 2022-05-29 18:15:01 +02:00
Petr Hlozek
faabf2df75 version changed to 2.6.0 2022-05-29 16:19:41 +02:00
Petr Hlozek
1c473c5c30 dependencies updated 2022-05-29 16:17:57 +02:00
Petr Hlozek
16f0e7504e changelogs updated 2022-05-29 16:17:40 +02:00
Petr Hlozek
c2173a6b6a fix: CQRLOG looked like frozen after start without settings own callsing 2022-05-29 15:07:34 +02:00
Petr Hlozek
85815acd15 fix: code style 2022-05-29 15:07:34 +02:00
Petr Hlozek
59abc64c44
Merge pull request #512 from OH1KH/contest_fix
Fix for contest
2022-05-29 14:36:44 +02:00
Petr Hlozek
11ca496c93
Merge pull request #511 from OH1KH/remote_parameters
Fix for entering remote modes
2022-05-29 14:36:17 +02:00
Petr Hlozek
a3d5427eac
Merge branch 'master' into remote_parameters 2022-05-29 14:35:58 +02:00
Petr Hlozek
474ddd3070
Merge pull request #510 from OH1KH/eqsl_err_fix
Fix for eQSL errors log
2022-05-29 14:33:48 +02:00
Petr Hlozek
b01ce8c5ea
Merge pull request #507 from makrohard/dxclustercolors
Changed DXCluster Colors for Dark Mode
2022-05-29 14:33:29 +02:00
OH1KH
941295cde4 Fix for contest
Fixed statusline[1] message to be only first line of NewQSO
	DXCC info leaving off possible dates of confirmation(s).
	Looks better now.
2022-05-28 12:41:37 +03:00
OH1KH
b030f21c20 Fix for entering remote modes
This fix allows parameters for remote binary filenames.
	(execute fldigi, wsjtx when entering remote mode)
2022-05-28 11:00:05 +03:00
OH1KH
63241d4284 Fix for eQSL errors log
While checked my eQSL errors I found some confirmations that
	really were valid qsos and need to be added to Cqrlog.
	Then noted that RSTs were upside down because they are from
	opponent stations view.

	Because being lazy fixed eQSL errors file so that RSTs are ready swapped.
	Then, if error QSO is found to be valid and added to log by
	importing eQSL_errors.adi, the reports are right way round.

	I.E. eQSL RST_sent by opponent station is placed to RST_rcvd.

	RST-sent (eQSl RST-rcvd) is usually empty and must be edited afterwards,
	as well as removing eQSL/LoTW qsl sent mark if upload is needed.

	LoTW does not handle RSTs, this effects only eQSL.
2022-05-27 08:55:19 +03:00
Johannes Loose
2200fad53a changed color definition in dxcluster 2022-05-18 02:40:33 +02:00
Petr Hlozek
17a8505fb7
Merge pull request #506 from OH1KH/squash_state_county
Fix for county storing
2022-05-14 16:28:58 +02:00
Petr Hlozek
0ac80be5c5
Merge branch 'master' into squash_state_county 2022-05-14 16:28:52 +02:00
Petr Hlozek
a9fcd426e4
Merge pull request #505 from OH1KH/rot_dir_btns_save
Fix for ROT control
2022-05-14 16:28:18 +02:00
Petr Hlozek
edf4bd2a9a
Merge branch 'master' into rot_dir_btns_save 2022-05-14 16:28:12 +02:00
Petr Hlozek
0ebb35a280
Merge pull request #504 from OH1KH/export_file_type_fix
Fix for adif headers
2022-05-14 16:27:48 +02:00
Petr Hlozek
aa93d7fa08
Merge pull request #501 from OH1KH/squash_new_mode_submode
Fixes to mode/submode handling
2022-05-14 16:27:27 +02:00
OH1KH
91c504d4ee Fix for county storing
Revised PR #503
        As it seems to be adif.org/"sponsor defined code format" to add comma
        separated state as prefix to coounty name we accept that.

        But, at least with non payed QRZ accounts, some calls like W1AW show out
        without county then state prefix may not be added to empty county name.

        Fixed that.

Squashed commit of the following:

commit 9c794672350702d5dbad53070ee42aa4934e5e78
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu May 12 11:18:12 2022 +0300

    Fix for county storing

    	State prefix may not be added to empty county name.

commit 5e3f35a13f
Author: OH1KH <oh1kh@sral.fi>
Date:   Tue May 10 12:46:06 2022 +0300

    Fix to county storing

    	What is the mind of adding state to county and then storing that?
    	It just duplicates the information because state exist in state column
    	and county exist in county column.

    	Is there some reason doing this. If not I think it should be removed.
2022-05-12 11:25:29 +03:00
OH1KH
8f0bd33b08 Fix for ROT control
Turn left/right buttons did not keep their visible state
	over Cqrlog restart. Reported by Mick, MI0HOZ

	Fixed
2022-05-12 10:44:29 +03:00
OH1KH
fe5cddd4df Fix for adif headers
Added one linefeed before first line of adif header.
	This makes linux command 'file' to detect adi files as text
	instead of music file.
2022-05-10 13:41:20 +03:00
OH1KH
9384102e8c Fixes to mode/submode handling
This fix does not affect "classic" modes CW,AM,FM and SSB that already has had conversion from USB/LSB to SSB.

How ever there are hundreds of submodes in adif standard.

IMHO the idea of mode and submode is not very clever. I would like to see all submodes
to be modes, and then then there would be modegroups instead.
This way mode would be mandatory information and modegroup just makes genres of them if that is needed for awards or other kinds of grouping.

But we have to live with this. This fix makes conversion from mode+submode to "CqrMode"
that mainly is submode in ADIF standard. How ever there are some exceptions.

A part of submodes are "for import only" by ADIF standard. They should be accepted in
import, but never exported. It seems that at least eQSL does not follow that standard
sending mode:RTTY submode:ASCI in doenwload if user has uploaded it that way to eQSL.

Another execptions come from Cqrlog itself. Mentioned submodes LSB and USB are logged
in Cqrlog as SSB (that is the mode, not submode).
Then rigctld may set mode to PACKET, USBPACKET... etc. with Icom rigs in data mode.
This, if logged that way, is not ADIF standard mode and must be converted to PKT that
is ADIF standard mode.

To do these conversions we need function/procedure "ModeToCqr()" and "ModeFromCqr()"
Those functions use conversion tables from files "submode_mode.txt" (the main mode/submode table), "import_mode.txt" (table of import only submodes) and "exception_mode.txt" (special conversion for Cqrlog in/out)

If files do not exist they are created at Cqrlog start to ~/.config/cqrlog folder with breaf "README_modefiles" explanation file.
After that files are not touched and user can make changes by himself without programming and compile if something changes in ADIF standard.
Files are loaded to string lists at Cqrlog start.

"ModeToCqr()" and "ModeFromCqr()" usage is added to all routines that uses ADIF import or export.

Excluding online logging. I do not use them, can not test, and did not find explanation of their API and mode/submode usage there.

There is still work to do with exports as I have seen that there are many export routines
doing same kind of jobs that could be combined to one "common export" or "create adif record" procedure. That maybe later...

---------------

Help files updated (Quick start/modes)

---------------

Improved external database server's backups script. Makes now one common mysqldump from all
cqr* databases and separate dumps from each one with date/time stamp on filename.

---------------

Squashed commit of the following:

commit dc1ca22633eefa9365961a551e6b9d1585f23cc8
Author: OH1KH <oh1kh@sral.fi>
Date:   Fri May 6 17:35:47 2022 +0300

    Fixed some comments

commit 4ec5ddf25c37de627a5d8fc876add35aee5f6de9
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu May 5 20:03:17 2022 +0300

    Changed modefile directory. Updated help files

commit 7a0c5de47f5e3de58f4ab9f364892bdc92f1aa62
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu May 5 13:10:03 2022 +0300

    Assigned and tested eQSL and LoTW uploads. For other uploads: checked them, but cannot be sure with online logs (I can not test them)

commit dfb35ef2df5bec37913d3150f9dc5afb2386b477
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu May 5 11:18:45 2022 +0300

    Tested eQSl and LoTW downloads

commit 79a2072d21cc82db4028362b4da58a02f637d5ea
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed May 4 19:06:11 2022 +0300

    Fixed debug printing. Tested: adif export and import

commit 5f86f8899c6c9b3d8fbd849115d8ef3147166e73
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed May 4 11:47:53 2022 +0300

    Tested: fldigi remote ipc and xmlrpc, fldigi (old version) xmlrpc, adif remote

commit 88774fcd12556fb59043805f211be07f7d9dd7c7
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed May 4 10:31:27 2022 +0300

    Fixed external database's backups script

commit 3f4198f0ce4dfb1d227cd9b06798294ec1a7d457
Author: OH1KH <oh1kh@sral.fi>
Date:   Tue May 3 11:48:35 2022 +0300

    fixed adif import and export. TODO: test all adif import/export, lotw/eqsl import/export, remotes: fldigi ipc/xml, adif

commit 891674a2346e0f402d301711e32a7dcdba697aef
Author: OH1KH <oh1kh@sral.fi>
Date:   Sun May 1 17:35:33 2022 +0300

    new conversion now in: fldigixml,adifremote, fldigiipc,lotw and eqsl import. Partilly added also to adif import but this is not finished yet

commit 050b35f3e69ea7254c71590874c50d46f7a9f3f6
Author: OH1KH <oh1kh@sral.fi>
Date:   Sat Apr 30 10:01:56 2022 +0300

    Ficed naming, created a debug procedure and put in use with fldigi(others still need appending)

commit a03c1758851d19a5f7f5fccbf09b5638da583f6f
Author: OH1KH <oh1kh@sral.fi>
Date:   Fri Apr 29 13:30:31 2022 +0300

    Mode conversion idea works now.
    creates convert files if they do not exist in ctyfiles folder.
    Fileas are loaded from Cqrlog start, so user can edit files
    if needed new mode conversions without doing compile.

    fxfldigi.pas still has testing lines, must remove

    todo
    take conversions in use (adif ex/import, eQSL, Lotw, adif remote, fldigi remote)
2022-05-07 09:28:21 +03:00
Petr Hlozek
daf8ebf428
Merge pull request #500 from OH1KH/voice_keyer
Update for voice keyer script
2022-04-26 18:25:05 +02:00
Petr Hlozek
2768ad6e15 fix: saving window pos 2022-04-25 18:29:14 +02:00
OH1KH
6ab0d3aa06 Update for voice keyer script
updated voice_keyer.sh and corresponding help file.
2022-04-25 19:16:43 +03:00
Petr Hlozek
fed46dc4a9 fix: layout for DARC DOK in Visible columns section 2022-04-24 17:59:39 +02:00
Petr Hlozek
c0fcd1b922 fix: empty method removed 2022-04-24 17:58:46 +02:00
Petr Hlozek
4554bb62af fix: OnCloseQuery removed 2022-04-24 16:39:48 +02:00
Petr Hlozek
f40dd85089 JWDI code format settins added 2022-04-24 14:44:13 +02:00
Petr Hlozek
55a943d90c fix: more formatting 2022-04-24 14:43:31 +02:00
Petr Hlozek
2abe20a7a0 fix: code clean up, dead code removed 2022-04-24 14:29:14 +02:00
Petr Hlozek
6fc810f578 fix: showing Unknown country when callsign field is empty 2022-04-24 14:00:16 +02:00