Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 320F8A653E for ; Fri, 18 Jul 2014 02:40:28 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 71D9314A3A7; Fri, 18 Jul 2014 02:40:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E229314A37F for ; Fri, 18 Jul 2014 02:40:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id nFxVSvdRbfSU for ; Fri, 18 Jul 2014 02:40:22 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 3AE0114A28D for ; Fri, 18 Jul 2014 02:40:21 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id E130696; Fri, 18 Jul 2014 02:40:21 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 18 Jul 2014 02:40:21 +0000 From: "Makoto Fujiwara" Subject: CVS commit: pkgsrc/ham/trustedQSL To: pkgsrc-changes@NetBSD.org Reply-To: mef@netbsd.org X-Mailer: log_accum Message-Id: <20140718024021.E130696@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: mef Date: Fri Jul 18 02:40:21 UTC 2014 Modified Files: pkgsrc/ham/trustedQSL: Makefile distinfo Log Message: Upgrade tqsl from 2.0.2RC4 to 2.0.3 ---------------------------- tqsl-2.0.2 to 2.0.3 change: ---------------------------- (tqslilb: 2.4) Fix defect that doesn't allow adding station locations if only a single callsign certificate is installed. (following diff is manually editted, tabs are deleted) diff -urp tqsl-2.0.2/src/location.cpp tqsl-2.0.3/src/location.cpp --- tqsl-2.0.2/src/location.cpp 2014-07-13 05:18:13.000000000 +0900 +++ tqsl-2.0.3/src/location.cpp 2014-07-17 10:22:16.000000000 +0900 @@ -1152,6 +1152,9 @@ update_page(int page, TQSL_LOCATION *loc field.idx = static_cast(field.items.size()); field.items.push_back(item); } + if (field.idx == -1 && field.items.size() == 1) { + field.idx = 0; + } if (field.idx >= 0) { field.cdata = field.items[field.idx].text; } ---------------------------- tqsl-2.0.2RC5 to 2.0.2 change: (Authors note): ---------------------------- As I've had no comments on the 2.0.2-rc5 beta, I've decided that it's time to release it. The kits on sourceforge have been updated to the final v2.0.2 release. https://sourceforge.net/projects/trustedqsl/files/TrustedQSL/v2.0.2/ The README there is the preliminary release notes. Thanks to everyone for the help with testing and reporting issues. ---------------------------- tqsl-2.0.2RC4 to 2.0.2RC5 change: ---------------------------- This release fixes a pair of related defects that have been there since TQSL 1.x When you create a station location, you associate it with a callsign certificate. When you sign a log, you select a location for signing, which then uses the callsign to select the right callsign certificate. The problems happen when you do unexpected things with those certificates. If you create a station location for K1MU, then delete all of the certificates for K1MU, then signing a log would cause an "Invalid Argument" error. TQSL has been corrected to now display an error that there are no valid callsign certificates. Similarly, if you create a station location and then let the associated callsign certificate to expire, trying to sign using that location would also give an unhelpful "Invalid Argument" message. When there were no matching certificates, displaying the properties of a station location would display an incorrect callsign. These defects have been corrected in RC5 so that useful error messages are displayed for these cases. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 pkgsrc/ham/trustedQSL/Makefile cvs rdiff -u -r1.8 -r1.9 pkgsrc/ham/trustedQSL/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.