944cbe34c69b — Josef 'Jeff' Sipek default tip 6 days ago
xlua: use {,my_}wwff_ref for WWFF export

ADIF version 3.1.3 added wwff_ref and my_wwff_ref, so we should use these
instead of the sig/sig_info combo we've used until now.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
173984184fe9 — Josef 'Jeff' Sipek 6 days ago
common: update to ADIF 3.1.3

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
2d8abfd9ad3a — Josef 'Jeff' Sipek 6 days ago
common: update to ADIF 3.1.2

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
2ef747df2c88 — Josef 'Jeff' Sipek 17 days ago
xlua: remove script path from .luac files

luac includes the passed in path to the .lua file in the generated .luac.
If the passed in path is a full path (e.g.,
/home/user/src/hlog/xlua/scripts/...), the whole path will be stored.  By
itself, this isn't a problem.

The issues arise when lua generates an error message - these error messages
are prefixed with the stashed path.  Needless to say, this makes the error
string very long with no benefit.  To make matters worse, the error prefix
ends up so long that when displayed in the ~100 char wide status line (in
hlog-contest), all that is visible is the prefix and not the actual error
message.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
4c6dec432a08 — Josef 'Jeff' Sipek 17 days ago
hlog: remove confusing wording from print_summary error message

In practice, the error read as the line number in the lua script.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
f92c0fd6f39f — Josef 'Jeff' Sipek 18 days ago
xlua: switch POTA contest script to strict ADIF output

Supposedly, the POTA ADIF parser now respects the submode field.  The POTA
logging requirements section of the rules states:

	POTA stores a single mode field. If both Mode and Submode are
	provided, submode supersedes mode

So, we should be able to generate valid ADIF files again.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
ddcba091efb6 — Josef 'Jeff' Sipek 18 days ago
daemon: do not attempt to get power from hamlib for KX2

Prior to hamlib 4.5.5 (which isn't released yet), hamlib had a few bugs in
\get_level and \power2mW for the KX2 backend.  On some systems (e.g.,
macOS) it would report incorrect power (about 2/3 of the actual power),
while on other systems (e.g., FreeBSD) the \power2mW call would simply fail
at times with invalid argument.

This has been fixed upstream and versions 4.5.5 and newer should display the
right values.  However, there is no way for hamlib consumers to know whether
or not hamlib has the fix or not and so we unconditionally disable getting
power information when using a KX2.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
005f0442573f — Josef 'Jeff' Sipek a month ago
Added signature for changeset 5b7c34aa6eff

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
5b7c34aa6eff — Josef 'Jeff' Sipek a month ago
Added tag v0.22 for changeset 9049b866600b

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
9049b866600b — Josef 'Jeff' Sipek v0.22 2 months ago
hlog: display a short recent contact list for the current call

Split the space used by the recent contacts list into two sections - a 5
line section showing the recent contacts for the call currently being worked
on, and the remainder for the last N contacts regardless of call.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
c0d8ba932210 — Josef 'Jeff' Sipek a month ago
hlog: add specified-call-only mode to recent contact listing

Instead of listing the last N contacts, allow the displaying of the last N
contacts by a specific callsign.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
aef498a53386 — Josef 'Jeff' Sipek a month ago
hlog: clear unused recent list lines

Otherwise stale information may remain on the screen.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
a4051bb8b1d3 — Josef 'Jeff' Sipek 2 months ago
hlog: avoid refreshing recent lists when nothing changed

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
746dd9002006 — Josef 'Jeff' Sipek 2 months ago
hlog: move recent window state into a structure

This allows for multiple recent windows.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
b4cd54ec33ba — Josef 'Jeff' Sipek 2 months ago
hlog: rename SOTA summits CSV to better identify it

This parallels the POTA CSV file name nicely.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
ae31b95d2106 — Josef 'Jeff' Sipek 2 months ago
xlua: add early/late shift annunciators to POTA contest script

They are "AM" and "PM" due to limited space on the xform.  Once the
'supercheck' window is reclaimed for something useful, we should have more
space and can use "EARLY" and "LATE" instead.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
0c4e19647085 — Josef 'Jeff' Sipek 2 months ago
common: parse POTA CSV latitude and longitude fields

Parse the latitude and longitute and stash them away for subsequent lookup.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
80bc1be6d5a0 — Josef 'Jeff' Sipek 2 months ago
xlua: add (conditionally) lat/lon of POTA parks during lookup

If we have the park's lat/lon, add them to the returned table.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
19862f8bfb37 — Josef 'Jeff' Sipek 2 months ago
common: add lat/lon fields to POTA sig structure

Currently, they contain no real data and therefore the have_latlon is always
false.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
ae7a3dd9159d — Josef 'Jeff' Sipek 2 months ago
Switch to the extended POTA csv

The extended file contains the latitude and longitude which are required to
determine whether or not the contact counts for early or late shift award.

Currently, we ignore the extra CSV fields.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Next