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>
common: update to ADIF 3.1.3 Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
common: update to ADIF 3.1.2 Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
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>
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>
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>
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>
Added signature for changeset 5b7c34aa6eff Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Added tag v0.22 for changeset 9049b866600b Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
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>
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>
hlog: clear unused recent list lines Otherwise stale information may remain on the screen. Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
hlog: avoid refreshing recent lists when nothing changed Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
hlog: move recent window state into a structure This allows for multiple recent windows. Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
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>
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>
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>
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>
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>
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>