Linux logging program for amateur radio operators
Go to file
OH1KH b289669d3b Fix to QSO offline input
When Offline checkbox is checked and first qso typed in and saved
        focus will return to QsoDate column instead of Callsign column.
        Then when date, start time and end time are set and then TAB
	pressed focus will move to callsign column.
        This happens only if callsign cloumn is empty (not when in edit qso)

        This makes qso manual feed from paper log easier as things start
        from date and tabulation continues in chronological order:
        date,start,end,call,freq, mode .. etc and when qso is saved
        focus returns again to date column.

	When typing in Date and times in Offline Cqrlog will add punctuation
	marks ('-' or ':') automatic. This way only number keys need to be typed.

	When not valid locator is entered (usually odd number of characters)
	NewQSO/GRID label will turn bold red as warning sign when exit from
	grid column.

	Tested ok with GTK2 and QT5 using Lazarus Ver 2.2.2

Squashed commit of the following:

commit 8157d01e220b63bf9bf42d0e2d8576fb40b00b56
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Aug 24 12:43:00 2022 +0300

    Added auto '-' and ':' when typing in date and times in Offline mode. Grid label changes to bold red if gird is not valid (odd number of chars)

commit 51e1c90bb51ab5b4626dd6c54b37cc22d8468420
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Aug 22 10:25:11 2022 +0300

    Fix remote situation

commit 896479695797e88de0abd9dc4436c960b96451b4
Author: OH1KH <oh1kh@sral.fi>
Date:   Sun Aug 21 15:56:41 2022 +0300

    Fix to QSO offline input
2022-08-24 12:46:02 +03:00
ctyfiles Update XW-3 SAT name to HO-113 (also add Maya sats) 2022-01-04 09:30:08 +01:00
debian dependencies updated 2022-05-29 16:17:57 +02:00
docker-build add ENV to automagically configure tzdata 2021-09-26 15:39:50 +02:00
help Addition to Filter menu 2022-07-16 15:47:55 +03:00
images splash image updated 2019-07-26 21:00:01 +02:00
members membership files updated 2019-10-27 13:00:48 +01:00
src Fix to QSO offline input 2022-08-24 12:46:02 +03:00
tools fix: getting version from uVersion.pas, clone using https 2022-05-29 18:15:01 +02:00
voice_keyer Update for voice keyer script 2022-04-25 19:16:43 +03:00
xplanet initial commit 2013-03-15 21:13:08 +01:00
zipcodes initial commit 2013-03-15 21:13:08 +01:00
.gitignore .idea dir added 2022-04-24 13:26:38 +02:00
.travis.yml make install added 2018-09-01 08:31:37 +02:00
AUTHORS cqrlog contributors added 2021-01-16 09:18:16 +01:00
CHANGELOG changelogs updated 2022-05-29 16:17:40 +02:00
COPYING #119 fix cqrlog license file position 2019-02-11 19:35:04 +01:00
jcfsettings.cfg JWDI code format settins added 2022-04-24 14:44:13 +02:00
Makefile Revert "fix: remove lazarus temp dir to test build in pbuilder" 2022-06-07 19:33:49 +02:00
README.md dev tools versions updated 2021-01-16 09:17:56 +01:00

What is CQRLOG?

CQRLOG is an advanced ham radio logger based on MySQL database. Provides radio control based on hamlib libraries (currently support of 140+ radio types and models), DX cluster connection, online callbook, a grayliner, internal QSL manager database support and a most accurate country resolution algorithm based on country tables developed by OK1RR. CQRLOG is intended for daily general logging of HF, CW & SSB contacts and strongly focused on easy operation and maintenance. More at https://www.cqrlog.com/

Image of CQRLOG

How to contribute?

You have to have Lazarus 2.0.6, fpc 3.0.4 compiler, MySQL server and clinet installed. CQRLOG is developed on Ubuntu 20.04, Lazarus and FreePascal are available in my pesronal repo https://launchpad.net/~ok2cqr/+archive/lazarus

Compile with make and install with make DESTDIR=/home/yourusername/where_you_want_to_have_it install. If you are going to change the source code, fork the repo, do the changes, commit them and use Pull request.

Dependencies

Build-Depends: lazarus, lcl, fp-utils, fp-units-misc, fp-units-gfx, fp-units-gtk2, fp-units-db, fp-units-math, fp-units-net

Depends: libssl-dev, mysql-server | mariadb-server, mysql-client | mariadb-client, libhamlib2 (>= 1.2.10), libhamlib-utils (>= 1.2.10)

Running build with Docker

If you do not want to install the dependencies into your main machine, you can do the build in a Docker container. You need to mount into that Docker container this directory and also the target directory where you want to put the alpha version of cqrlog you are building.

This also helps if you want to build, e.g., on a Debian Stretch machine. Attempts at native builds on that platform have failed. Using a reasonably recent Ubuntu inside our Docker-based build environment, makes the build work even on Debian Stretch.

That bad news is, you have to install Docker (CE is fine).

That done, you can prepare an Ubuntu Docker image with the build tools as follows:

(cd docker-build && docker build -t this.registry.is.invalid/cqrlog-build .)

(In case you wonder: There is no need to use a Docker registry, so we provide a registry host that is guaranteed to not exist.)

Then, run the build itself with

sudo mkdir -p /usr/local/cqrlog-alpha &&
docker run -ti -u root -v $(pwd):/home/cqrlog/build \
  -v /usr/local/cqrlog-alpha:/usr/local/cqrlog-alpha this.registry.is.invalid/cqrlog-build

To use your build, make sure that you have no instance of cqrlog running, backup $HOME/.config/cqrlog (if you ever used cqrlog before), add /usr/local/cqrlog-alpha/usr/bin to your $PATH and start cqrlog from there.