Linux logging program for amateur radio operators
Go to file
OH1KH 5f43ec7544 Some fixes to CW
Common to all keyers:
 F1 .. F10 CW-keys (from keyboard) works now if NewQSO, CWKeys or CWType window is active
 F1 .. F10 keyboard auto repeat disabled (long keypress do not fill CW buffers)
 CW is now sent only if rig mode (NewQSO/mode selector) is CW
 Windows/CWType is not visible in menu list if keyer is set to "None" at Preferences/CW interface
 Moving rig from other mode to CW sends "stop keying" (specially Hamlib/rig buffer may contain old morse in some cases)
 Source code is cleaned up (removed duplicate blocks, etc.)

HamLib keyer:
  Tried to make Hamlib keyer handshake better. Now messages up tp 10 characters are sent by one hamlib command,
  longer messages are sent letter by letter.

Tested with WinKeyer and Hamlib keyer (Icom IC7300) modes. (I have no other keyers)

Squashed commit of the following:

commit 01c977f6fa
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Jan 27 16:18:32 2020 +0200

    Fixed CWkeyer=None bug. Renamed CWkeys and fldig xmlrpc windows. CWType not visible in window-menu if CWkeyer=none

commit 11af0b6785
Author: OH1KH <oh1kh@sral.fi>
Date:   Sat Jan 25 11:17:09 2020 +0200

    CWType layout fix

commit deeb091a36
Author: OH1KH <oh1kh@sral.fi>
Date:   Sat Jan 25 06:30:53 2020 +0200

    Cleaned up CWinit code

commit 8054a77710
Author: OH1KH <oh1kh@sral.fi>
Date:   Sat Jan 25 06:00:08 2020 +0200

    Some form CWType fixes. Tested now with WinKeyer and HamLib

commit 01feb59b88
Author: OH1KH <oh1kh@sral.fi>
Date:   Fri Jan 24 17:36:14 2020 +0200

    Be sure mode is CW before sending to keyer

commit e41fa781d8
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Jan 22 19:26:27 2020 +0200

    Flush (stop)CW when entering to CW mode

commit b93b35b200
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Jan 22 12:55:58 2020 +0200

    Fkeys-CW  only when CW mode. Hamlib handsahake fix

commit 06ff5beeb3
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Jan 20 12:38:04 2020 +0200

    button click does not lock Fkey

commit 888334ed2e
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Jan 20 12:23:48 2020 +0200

    Removed a debug print

commit fafd570a0b
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Jan 20 12:19:00 2020 +0200

    String lenght over 10 is sent now letter by letter. Trimmed some parts of code

commit a88bd36289
Author: OH1KH <oh1kh@sral.fi>
Date:   Sun Jan 19 15:37:25 2020 +0200

    Still buffering problem exist

commit 093fadf698
Author: OH1KH <oh1kh@sral.fi>
Date:   Sun Jan 19 15:12:20 2020 +0200

    Cleaned some debug code

commit 29c26e3847
Author: OH1KH <oh1kh@sral.fi>
Date:   Sun Jan 19 15:00:28 2020 +0200

    Prevent F-key repeats(need key up).Cleaned some CW code. F-keys work now also if 'CW keys' form is active. Improved HamLib Morse sending response readings (HamLib itself still has problem with buffering)

commit 8f5cf3e268
Author: OH1KH <oh1kh@sral.fi>
Date:   Sun Jan 19 12:00:35 2020 +0200

    Backup push. Nothing ready yet
2020-01-30 17:21:42 +02:00
ctyfiles fix typo in satellite name EO-88. lotw qso uploads will work now 2019-11-23 23:36:23 +01:00
debian dependencies fixed 2019-10-27 13:14:44 +01:00
docker-build Provide a way to build with a reproducable Ubuntu build environment. 2019-07-07 03:58:09 +02:00
help Fix for contest help (Dupecheck) 2019-12-08 11:21:11 +02: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 Some fixes to CW 2020-01-30 17:21:42 +02:00
tools another build script fix 2019-10-27 13:21:10 +01:00
voice_keyer Add bandmap (ctrl-A) added to contest window. Voice out CI-V script for ICOM audio records 2019-10-14 17:35:07 +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 fixed: 2017-06-08 21:47:44 +02:00
.travis.yml make install added 2018-09-01 08:31:37 +02:00
AUTHORS #119 fix cqrlog license file position 2019-02-11 19:35:04 +01:00
CHANGELOG changelogs updated 2019-10-27 08:04:25 +01:00
COPYING #119 fix cqrlog license file position 2019-02-11 19:35:04 +01:00
Makefile Don't remove debian/cqrlog* on clean 2019-12-30 12:40:55 +01:00
README.md distro version fixed 2019-11-28 10:57:19 +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 1.8, fpc 3.0.4 compiler, MySQL server and clinet installed. CQRLOG is developed on Ubuntu 18.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.