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 13D26A654B for ; Mon, 19 Jan 2015 01:10:43 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id A72F914A1B7; Mon, 19 Jan 2015 01:10:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 06B8514A1B5 for ; Mon, 19 Jan 2015 01:10:17 +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 74JJ10lz0SII for ; Mon, 19 Jan 2015 01:10:15 +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 72EB214A1AF for ; Mon, 19 Jan 2015 01:10:15 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 4EBCC98; Mon, 19 Jan 2015 01:10:15 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 19 Jan 2015 01:10:15 +0000 From: "Wen Heping" Subject: CVS commit: pkgsrc/devel/p5-version To: pkgsrc-changes@NetBSD.org Reply-To: wen@netbsd.org X-Mailer: log_accum Message-Id: <20150119011015.4EBCC98@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: wen Date: Mon Jan 19 01:10:15 UTC 2015 Modified Files: pkgsrc/devel/p5-version: Makefile distinfo Log Message: Update to 0.9911 Upstream changes: 2015-01-17 John Peacock * .hgtags: Removed tag v0.9910 [eb66489945fd] [tip] * .hgtags: Added tag 0.9910 for changeset 4d00adc23f19 [6d03680705f6] * flow: Merged '0.9911' to ('develop'). [55a3bfc0b3fc] * .hgtags: Added tag 0.9911 for changeset fb394f4ac5fc [3127ec2a07b6] * flow: Merged '0.9911' to ('default'). [fb394f4ac5fc] [0.9911] * flow: Closed '0.9911'. [d4bec652869d] * .shipit: Need to disable this because it doesn't understand hotfix branches [2b1b81b21756] * Makefile.PL, lib/version.pm, lib/version/regex.pm, t/00impl-pp.t, t/01base.t, t/02derived.t, t/03require.t, t/05sigdie.t, t/06noop.t, t/07locale.t, t/08_corelist.t, t/09_list_util.t, t/coretests.pm, vperl/vpp.pm, vutil/lib/version/vxs.pm, vutil/vutil.c: Pull out the changed behavior of normal(), since it breaks M::B [a6c92bf7e426] * .shipit: Restore the Finish step and remember to use it this time. [9a8e87ab3743] * flow: Created branch 'hotfix/0.9911'. [83a460962b55] * .shipit: Checking in changes prior to tagging of version 0.9910. Changelog diff is: [1f732d03f5eb] * .hgtags: Added tag v0.9910 for changeset 4d00adc23f19 [58b1b7d17dd4] * flow: Merged '0.9910' to ('default'). [4d00adc23f19] [0.9910] * flow: Merged '0.9910' to ('develop'). [8ac3661f1f71] * flow: Closed '0.9910'. [6890ac6a6a3e] 2014-06-22 John Peacock * README, vutil/vutil.c, vutil/vxs.inc: [PATCH] version distribution dVAR updates. commit 9bdbb2bdbd72d8d02cb8bcb0d27e7eeeacd415af Author: Jarkko Hietaniemi [267cb6097a5f] 2014-12-23 David Mitchell * README, vutil/vutil.c: [PATCH] 'version': vutil.c: silence overflow warnings From a3f461a88988cef9a89c13ab42c50556750ede51 Mon Sep 17 00:00:00 2001 Running 'clang -fsanitize=undefined' on the perl test suite triggers a number of warnings: vutil.c:354:9: runtime error: signed integer overflow: 750283776 + 1705032704 cannot be represented in type 'int' vutil.c:354:25: runtime error: signed integer overflow: 6 * 1000000000 cannot be represented in type 'int' vutil.c:355:10: runtime error: signed integer overflow: 1000000000 * 10 cannot be represented in type 'int' This is because the version string parsing code takes a "maybe overflow, then check to see if we've overflown" approach. Which is perfectly fine, but clashes with clang. This commit makes it take the opposite approach of checking each time *before* doing the += mult*i and mult*=10 steps. A bit clunky, but ASan only allows you to disable these warnings on a per-function basis, and it's a reasonably large function. I suspect that the block of code above this may need similar treatment, but as it wasn't triggering clang warnings, I didn't look at it. --- vutil.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) [d90a6cd2ecba] 2014-08-30 John Peacock * .shipit: Ready to release now [bfd261163ee7] * .shipit: Try new Finish step [67dc070b3131] 2014-08-23 John Peacock * .hgignore, Makefile.PL: Force the VERSION so we can control the tarball name [616ea2110028] * vutil/vutil.c, vutil/vutil.h: Apply suggested changes from Karl Williamson [61cfdfe0c2e5] * flow: Created branch 'release/0.9910'. [a91839728adf] 2014-08-16 John Peacock * Abandon branch [40dd9d98c543] * Abandon branch [1fba9539ca49] * Abandon branch [9f7dab2e3b63] * Abandon branch [802e90e66daa] * Abandon branch [98825da284e9] * flow initialization: Created trunk: develop. [a06c96873576] * .hgflow: flow initialization: Added configuration file. [90bd285c19ff] * .hgflow: flow initialization: Added configuration file. [24d1df41799d] * .hgflow: flow initialization: Added configuration file. [3d621fc33f37] * .hgflow: flow initialization: Added configuration file. [d78406b7976d] * .hgflow: flow initialization: Added configuration file. [6ce1e6af1058] * .hgflow: flow initialization: Added configuration file. [dd443f6b0b8a] * Close this branch [6b82507b2ea1] <0.9909> * t/coretests.pm: Remove debugging [68e1b230196e] * README: Revise README [5e4557ca4717] * README: Clean up README [3beec2fae46a] * vutil/vutil.c: Do not need to use unsigned [37972ebd5be1] * README, lib/version.pm, lib/version/regex.pm, t/00impl-pp.t, t/01base.t, t/02derived.t, t/03require.t, t/05sigdie.t, t/06noop.t, t/07locale.t, t/08_corelist.t, t/09_list_util.t, vperl/vpp.pm, vutil/lib/version/vxs.pm: Bump $VERSION for release [3696ffe9e7a8] * README, lib/version.pm, vperl/vpp.pm, vutil/vutil.c: Merge in 0.9909 as released to CPAN [5d7666eff3af] * .hgtags: Tagging version '0.9909' using shipit. [28f76b8d2918] <0.9909> 2014-08-15 John Peacock * README: Update README [d31021b57b62] [0.9909] <0.9909> * lib/version.pm, lib/version/regex.pm, t/00impl-pp.t, t/01base.t, t/02derived.t, t/03require.t, t/05sigdie.t, t/06noop.t, t/07locale.t, t/08_corelist.t, t/09_list_util.t, vperl/vpp.pm, vutil/lib/version/vxs.pm: Bump $VERSION in preparation for CPAN release [ff9b7da70a4b] <0.9909> * vutil/vutil.c: commit f57000bc399f9b433bfb06a4302f4e773f7f50bb Author: Karl Williamson Date: Mon Aug 4 16:29:12 2014 -0600 PATCH: [perl #121930] Bleadperl breaks MDOOTSON/Wx The root cause of this issue is that XS code or the libraries it calls is changing the locale behind Perl's back so that the decimal point character is not a dot. Version number parsing relies on it being a dot. This patch fixes the problem by retrieving the current locale just before version number parsing, and updating Perl's records if the locale has changed away from what is expected. Given accurate records, the pre-existing call to the STORE_NUMERIC_LOCAL_SET_STANDARD macro will do what it's supposed to do, and change the locale so that the dot is the radix character for the version number parsing. After the parsing is done, the pre-existing call to the RESTORE_NUMERIC_LOCAL macro will restore properly, but see below This patch should be suitable for both 5.20.1 and 5.21 (though the SHA-1 value in the porting/customize.dat will have to be adjusted because the files aren't otherwise identical). But there is a fundamental difference between the releases. In 5.20.X, Perl does not attempt to keep the radix character a dot at almost all times (though it initializes things so it is a dot, overriding any environmental settings to the contrary). This leads to known non- regression bugs in 5.20 because very little XS code can cope with a non-dot. To fix this, Perl has changed the macros in 5.21 so that the result after the RESTORE_NUMERIC_LOCAL is that the current locale will have a dot. This will fix those long-standing bugs where XS code expecting a dot fails should it be mashed up with modules that change it to something else. But this will break the relatively few modules that want it the other way. So it has been done early in 5.21 to give things a chance to settle down. The extra {} braces around the code that calls the macros is because STORE_NUMERIC_LOCAL_SET_STANDARD declares a variable, and so must be within the declarations area of a block for C89 compilers. (I myself would not write a macro that does this without indicating so in its name.) [2a4fc121c6c4] <0.9909> * vutil/vutil.c, vutil/vxs.inc: Apply patch from Perl 5.20.0 as released commit 24120986965f248417d199c5818d145ea2a34607 Author: Brian Fraser Date: Tue Feb 4 06:38:55 2014 -0300 vutil.c, vxs.inc: Avoid warnings from -Wmissing-prototypes -Wundef -Wunused-label [08e9b0d7cca2] <0.9909> * Preparatory branch for releasing custom 0.9909 for Perl 5.20.1 [79f970339680] <0.9909> * t/coretests.pm: Add a couple of overflow tests [b150b244c13e] 2014-06-21 John Peacock * lib/version.pod: POD correction. Thanks "Matthew Horsfall (alh)" Resolves https://rt.cpan.org/Ticket/Display.html?id=96620 [36eeed6fea2c] * vutil/vutil.c: Ignore unused context. Thanks to fraserbn@gmail.com Resolves https://rt.cpan.org/Ticket/Display.html?id=96100 [3ac9f9bcc78e] * vutil/vxs.inc: Unreachable code. Thanks to Jarkko Hietaniemi Resolves https://rt.cpan.org/Ticket/Display.html?id=95896 [5aab343122fb] 2014-05-26 John Peacock * t/07locale.t: Unintentionally skipping these tests since vpp.pm was included by default. [ad3699914825] 2014-05-10 John Peacock * vutil/vutil.c: Use unsigned integer where appropriate [2ff16e565b1d] * t/07locale.t: Remove debugging [621c728ff110] 2014-04-17 John Peacock * README, t/07locale.t, t/coretests.pm, vperl/vpp.pm: Revised heuristic in vpp to better handle v-strings [14c5405a8ccd] * README, t/coretests.pm, vperl/vpp.pm, vutil/vutil.c: Forbid trailing bare decimal in dotted decimal versions. Resolves https://rt.cpan.org/Ticket/Display.html?id=93603 [690dfba7c43b] * README, lib/version.pm, lib/version/regex.pm, t/00impl-pp.t, t/01base.t, t/02derived.t, t/03require.t, t/05sigdie.t, t/06noop.t, t/07locale.t, t/08_corelist.t, t/09_list_util.t, vperl/vpp.pm: Start working on 0.9909 release [7a5441bfe2b0] * lib/version.pm, vperl/vpp.pm: Protect usage of warn categories to supported Perl releases [d5e4aa541780] 2014-04-16 John Peacock * vutil/vutil.c: Add warnings to vutil code too [8f94ebcb7bdc] 2014-03-01 John Peacock * lib/version.pm, t/coretests.pm, vperl/vpp.pm: Add lossy warning for both numify() and normal() alpha versions [591b0e507293] * t/coretests.pm, vperl/vpp.pm, vutil/vutil.c: Make alpha->normal() a lossy operation [ababbdd1380f] 2014-02-25 John Peacock * lib/version.pm, t/coretests.pm, vperl/vpp.pm, vutil/vutil.c: Forbid calling ->normal() on non-qv alpha versions [ed0f3215c1ee] 2014-02-04 John Peacock * Makefile.PL: Add META stanzas for bugtracker and repository [47bb0ceaa783] * README: Revise README to document source repositories [ca260e8255f1] 2014-02-04 Brian Fraser * vutil/vutil.c, vutil/vxs.inc: Avoid warnings from -Wmissing-prototypes -Wundef -Wunused-label -Wmissing-prototypes was complaining about declaring XS() functions without previously declaring a prototype. -Wundef didn't like using #if foo instead of #ifdef foo -Wunused-label warned because VER_{IV,NM,PV} were defined on all versions of perl, but only used on < 5.17.2 [a4171dd98d50] To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/p5-version/Makefile cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/p5-version/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.