summaryrefslogtreecommitdiff
path: root/Porting
Commit message (Collapse)AuthorAgeFilesLines
* Assume we have sane C89 memcmp()Aaron Crane2017-10-213-36/+0
| | | | | | | "Sane" means that it works correctly on bytes with their high bit set, as C89 also requires. We therefore no longer need to probe for and/or use BSD bcmp().
* Assume we have C89 memcpy() and memmove()Aaron Crane2017-10-213-51/+0
| | | | We can therefore also avoid probing for and/or using BSD bcopy().
* Don't look for a "safe" memcpy()Aaron Crane2017-10-213-14/+0
| | | | | | | | | | | | | C89 says that, if you want to copy overlapping memory blocks, you must use memmove(), and that attempt to copy overlapping memory blocks using memcpy() yields undefined behaviour. So we should never even attempt to probe for a system memcpy() implementation that just happens to handle overlapping memory blocks. In particular, the compiler might compile the probe program in such a way that Configure thinks overlapping memcpy() works even when it doesn't. This has the additional advantage of removing a Configure probe that needs to execute a target-platform program on the build host.
* Assume we have C89 memset()Aaron Crane2017-10-213-23/+0
| | | | This means we also never need to consider using BSD bzero().
* Remove USE_STRUCT_COPY in favour of C89 struct assignmentAaron Crane2017-10-213-13/+0
| | | | | At least for now, we retain the StructCopy() macro, but its definition always just uses struct assignment.
* Add new Configure probesH.Merijn Brand2017-10-211-0/+11
| | | | | | | This is a merge off several new probes in metaconfig done in the new shared developing environment by several authors Thanks to all that contributed!
* Today's M::CL is up on CPAN alreadySteve Hay2017-10-211-1/+1
|
* Bump version to 5.27.6Steve Hay2017-10-203-31/+31
|
* perldelta - Fix version for the next run of Porting/acknowledgements.plSteve Hay2017-10-201-1/+1
| | | | | And fix the template file so that the impending version bump will leave it correct for next time too.
* Tick off 5.27.5Steve Hay2017-10-201-1/+1
|
* Add epigraph for 5.27.5Steve Hay2017-10-201-0/+17
|
* Suppress spurious corelist-perldelta.pl warningSteve Hay2017-10-201-1/+1
|
* Teach corelist-perldelta.pl about libnet, podlators and Sub::UtilSteve Hay2017-10-201-2/+21
|
* Porting/Maintainers.pl - version's vxs.inc is now CUSTOMIZED as wellSteve Hay2017-10-201-0/+1
|
* Porting/Maintainers.pl - NEXT is CUSTOMIZEDSteve Hay2017-10-201-0/+1
|
* Upgrade Test-Simple from version 1.302101 to 1.302103Steve Hay2017-10-181-1/+1
|
* customise Pod::Perldoc to fix output misbehaviourZefram2017-10-161-0/+5
| | | | | | | | | | | | | | | | | Pod::Perldoc has, since version 3.20, exhibited various kinds of misbehaviour relating to a bad default choice of formatter. Output has sometimes appeared mangled due to the newly-default formatter emitting unportable escape sequences, and sometimes there has been a more severe output failure due to perldoc making unportable changes to pager configuration in an attempt to make the escape sequences work. This is discussed in [perl #131762]. In the upstream instance of the module there have been tweaks to the unportable behaviour, but not an actual fix. In order to make the core distro ship a reliably-working version of perldoc, this patch customises Pod::Perldoc to implement the obvious fix for the portability problems. The fixed version defaults to the ToText formatter, which produces properly plain text that will go through any pager. It never attempts any change to pager configuration.
* Further metaconfig updates to Porting/pumpkin.podDominic Hargreaves2017-10-131-27/+37
|
* Add Porting/mksampleDominic Hargreaves2017-10-134-4/+40
| | | | | | | | | | | | This script was previously in the metaconfig repository, and also dealt with updating Porting/Glossary, but it wasn't being regularly used. It does not use any data from that repository, so is better placed here. There are some outstanding ambiguities to resolve in when this script should be run in the documentation, since the generated files Porting/config.sh and Porting/config_H are also updated by other means.
* Update Config-Perl-V to CPAN version 0.29Chris 'BinGOs' Williams2017-10-131-1/+1
| | | | | | | | | | [DELTA] 0.29 - 12 Oct 2017, H.Merijn Brand * It's 2017 * Add test for 5.26.1-RC1 * Fix signature with argument * Ignore ccache and compiler path in signature
* Finish adding memrchr Configure probeDagfinn Ilmari Mannsåker2017-10-133-0/+14
| | | | | Commit 1e436e33 accidentally added the probe to Configure, this finishes the job by regenerating Glossary, config_h.SH and friends.
* Update metaconfig related informationH.Merijn Brand2017-10-131-15/+11
|
* Upgrade Test-Simple from version 1.302100 to 1.302101Steve Hay2017-10-132-2/+1
|
* Upgrade Test-Simple from vesion 1.302098 to 1.302100Steve Hay2017-10-121-1/+1
|
* Upgrade Encode from version 2.92 to 2.93Steve Hay2017-10-101-1/+1
|
* Update Test-Simple to CPAN version 1.302098Chris 'BinGOs' Williams2017-10-052-1/+2
| | | | | | | | | [DELTA] 1.302098 2017-10-03 06:13:49-07:00 America/Los_Angeles - Add docs for test2_stdout and test2_stderr - Fix 5.6 support
* Update Digest-SHA to CPAN version 5.98Chris 'BinGOs' Williams2017-10-051-1/+1
| | | | | | | | | | | | | | | [DELTA] 5.98 Wed Oct 4 00:40:02 MST 2017 - removed "portable" mode from shasum and addfile -- rarely used, mostly in outdated systems -- potentially confusing features (e.g. \r\r\n -> \n) -- Universal Newlines mode (-U) a much cleaner approach -- mimics Universal Newlines in Python - shasum now uses Digest::SHA explicitly -- no longer loads Digest::SHA::PurePerl as an option -- hence no need for -R switch -- Digest::SHA::PurePerl has its own shasum: shasumpp
* Note that vutil.c is customized in bleadSteve Hay2017-10-041-0/+1
| | | | | This was done by 7394beb140 but didn't make it into the last version upgrade (0.9918).
* Fix mapping of Filter-Util-Call/filter-util.plSteve Hay2017-10-041-4/+5
| | | | and note that t/z_manifest.t is excluded.
* Note Devel-PPPort/parts/embed.fnc is customized in bleadSteve Hay2017-10-041-1/+2
|
* Note perlfaq/lib/perlfaq[58].pod are customized in bleadSteve Hay2017-10-041-0/+2
|
* Note pod/perlpodstyle.pod is customized in bleadSteve Hay2017-10-041-0/+2
|
* Note Net-Ping/t/510_ping_udp.t is also customized in bleadSteve Hay2017-10-041-1/+5
|
* Pod-Simple-3.35 is KHW, not MARCGREENSteve Hay2017-10-041-1/+1
|
* sync-with-cpan: curl supportFather Chrysostomos2017-10-031-12/+18
|
* Porting/sync-with-cpan: 5.12 compatibilityFather Chrysostomos2017-10-031-1/+1
| | | | | So I can type simply ‘Porting/sync-with-cpan Test::Simple’ and run it with the system perl.
* Upgrade Test-Simple from version 1.302096 to 1.302097Steve Hay2017-10-031-1/+1
|
* Upgrade Test-Simple from version 1.302073 to 1.302096Steve Hay2017-10-031-6/+1
| | | | (includes regen/lib_cleanup.pl)
* Update File-Fetch to CPAN version 0.54Chris 'BinGOs' Williams2017-09-251-1/+1
| | | | | | | | [DELTA] 0.54 Sun Sep 24 19:46:04 2017 * Switch test URL from www.cpan.org to httpbin.org
* More than twist in my sobrietyChris 'BinGOs' Williams2017-09-231-1/+1
|
* Tick off 5.24.3 and 5.26.1Steve Hay2017-09-221-2/+2
|
* Epigraphs for 5.24.3 and 5.26.1Steve Hay2017-09-221-0/+30
|
* Two-space indent for 5.27.4's epigraphSteve Hay2017-09-221-28/+28
| | | | and really correct release date for 5.27.3
* We already have version-0.9918Chris 'BinGOs' Williams2017-09-221-1/+1
|
* Update Math-BigInt-FastCalc to CPAN version 0.5006Chris 'BinGOs' Williams2017-09-221-1/+1
| | | | | | | | | | | | [DELTA] 2017-01-11 v0.5006 pjacklam * Fix syntax for required version of Math::BigInt::Lib. * Better checking of POD coverage. * Sync test files with Math-BigInt-1.999808.
* Update Math-BigInt to CPAN version 1.999811Chris 'BinGOs' Williams2017-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [DELTA] 2017-03-15 v1.999811 pjacklam * Fix an old in the Math::BigFloat methods as_hex(), as_oct(), and as_bin() methods resulting in loss of accuracy. This bug was introduced in bug in Math-BigInt-1.76. Due to a naive copy and paste by me, and lack of tests, this bug was also present in the newer to_hex(), to_oct(), and to_bin() methods. This shows the bug, as it did not print "0xffff...": print Math::BigFloat -> from_hex("f" x 30) -> as_hex(); * Fix incorrect formatting in the output from the Math::BigFloat methods to_hex(), to_oct(), and to_bin() when the output was zero. A prefix was added when it shouldn't have been. * Add tests to bigintpm.inc and bigfltpm.inc for better testing of as_hex(), as_oct(), and as_bin() as well as to_hex(), to_oct(), and to_bin(). * "Synchronize" tests and code formatting in bigintpm.inc and bigfltpm.inc. 2017-03-01 v1.999810 pjacklam * CPAN RT #120240 revealed that the problems with undefined values is still present. After a close examination, I believe the only way to get this really working is to to make blog() call objectify() differently depending on whether the base for the logarithm is undefined or not. That way we can avoid objectify() converting the undefined value to a zero. Ideally, we should warn about undefined values when used in any other context, but we'll handle that in a later release. See also the related changelog entry for v1.999801. * Fix the way the argument count is computed in objectify(). When an argument count of 0 is given, it means that we should objectify all input arguments. However, it turned out that the actual argument count was computed incorrectly. * Fix CPAN RT #120242 rearding c3 method resolution. 2017-02-10 v1.999809 pjacklam * When a new method is added to Math::BigInt or Math::BigFloat, and this new method requires a new backend library method, die with a suitable error message if the installed backend library does not support this new method. The error message says that the method requires a newer version of the backend library. * Fix typos in Math::BigFloat and Math::BigInt. * Add bfib() and blucas() to Math::BigInt. They return Fibonacci and Lucas numbers, respectively. The actual computation of the numbers is done by the backend library. Documented both methods in POD. Add test files bfib-mbi.t and blucas-mbi.t. * Add _fib() and _lucas() to Math::BigInt::Lib. They return Fibonacci and Lucas numbers, respectively. Document both methods in POD. Add test files author-lib-arithmetic-unary-_fib.t and author-lib-arithmetic-unary-_lucas.t. 2017-01-11 v1.999808 pjacklam * In Math::BigInt and Math::BigFloat, add methods bdfac() for double factorial. Add tests for this method. * In Math::BigInt and Math::BigFloat, add methods to_hex(), to_oct(), and to_bin() for hexadecimal, octal, and binary string output without prefix. Even for Math::BigFloat there is still only support for integer output. Add tests for these methods. * Add test for as_oct() corresponding to the old tests for as_hex() and as_bin(). * In Math::BigInt::Lib, add method _dfac() for double factorial. Add corresponding tests. * In Math::BigInt::Lib, fix bug in overloaded "int". * In Math::BigInt::Lib, implement much faster versions of _from_hex(), _from_oct(), and _from_bin(). * In Makefile.PL, improve the wording in the message displayed if some of the installed backend libraries are not a subclass of Math::BigInt::Lib (and hence will not provide * Fix minor bugs in some of the author library test files (t/author-lib*.t). * Allow leading and trailing whitespace in the input to from_hex(), from_oct(), and from_bin(). Add tests to verify. This is a regressions (CPAN RT #119805). 2016-12-23 v1.999807 pjacklam * Add a message to Makefile.PL recommending upgrade if old libraries are installed. This message is more or less equivalent to the one appearing in Math-BigInt up until v1.997. * Improve the documentation (POD) in Math::BigInt::Lib. * Speed up _sqrt() and _root() in Math::BigInt::Lib. * Remove checking for exception cases (cases that would return +Inf, -Inf, or NaN) in Math::BigInt::Lib. It has been documented for a long time that such checking should be done by the caller. * Add library methods _to_bin(), _to_oct(), _to_hex(), which are equivalent to the _as_bin(), _as_oct(), and _as_hex() methods respectively, except that the _to_*() methods don't use a prefix in the output. This removes the need for the frequent removal of the various prefixes. Now each _as_*() method calls the equivalent _to_*() method, adds a prefix, and returns the output. The _to_*() methods are faster than the equivalent _as_*() methods were. * Add author test files for the methods _to_bin(), _to_oct(), and _to_hex(). * Add library method _to_bytes(). The method _as_bytes() would have been called _to_bytes() if I had thought of it earlier. The method _as_bytes() is now just an alias to _to_bytes(). The _to_bytes() method also fixes a bug that was present in the _as_bytes() method. (CPAN RT #119346). * Add author test files for the method _to_bytes(). * Add more tests for library methods _inc() and _dec(). When trying to bring the Math::BigInt::BitVect library back to life I realized that the test suite didn't catch certain errors in _inc() and _dec(). * Die if trying to use as_bytes() or from_bytes() with a backend library that doesn't support the corresponding library methods. * Correct minor errors in the output messages in the test files. * Improve/correct various comments in the source code. * More diagnostic output is displayed by the author test files if the AUTHOR_DEBUGGING environment variable is set.
* Update Locale-Codes to CPAN version 3.54Chris 'BinGOs' Williams2017-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | [DELTA] VERSION 3.54 (2017-09-01; sbeck) NEW CODE(s) VERSION 3.53 (2017-07-25; sbeck) NEW CODE(s) Fixed the default error condition in legacy modules. With the addition of the OO module, better error handling was added (and it was on by default). The non-OO (legacy) modules did not report errors, so code that uses them, would now behave differently if invalid data were passed in. I have turned off error handling by default in the legacy modules. The show_errors method was added to each of the non-OO modules to report errors if desired. Reported by dmaestro on GitHub.
* Update EUCB version from CPANChris 'BinGOs' Williams2017-09-221-1/+1
|
* Update Time-HiRes to CPAN version 1.9746Chris 'BinGOs' Williams2017-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [DELTA] 1.9746 [2017-08-17] - Unreliable t/usleep.t and t/utime.t tests [rt.cpan.org #122819] Avoid testing for $dt = $t2 - $t1 and assuming $dt is less than some value since a heavily loaded machine can delay the $t2. Testing for greater than is fine. - Tweak the configuring messages about subsecond stat/utime. 1.9745 [2017-08-14] - Properly check for futimens/utimensat actually doing something. This should handle 'gnukfreebsd' (which has only stubs, so far we have been skipping the test) and as a new thing 'gnu' (Hurd) (also only stubs). Thanks to Nigel Horne. - Scan in t/utime.t whether the filesystem (wherever File::Temp puts it tempfiles) supports subsecond timestamps. This removes the fragile Linux/ext3 specific hack. As a side effect, the setting of subsecond timestamps is tested only if reading of them is supported. Thanks to Carsten Gaebler for the test idea, and Ryan Voots for testing. 1.9744 [2017-07-27] - add more potential clock constants, like CLOCK_MONOTONIC_FAST (available in FreeBSD), and not all potentially found clock constants were properly exported to be available from Perl, see your system's clock_gettime() documentation for the available ones 1.9743 [2017-07-20] - correct declared minimum Perl version (should be 5.6, was declared as 5.8 since 1.9727_03): blead af94b3ac - fix the fix for 'do file' to load hints in Makefile.PL: blead 3172fdbc
* Update Time-Piece to CPAN version 1.3202Chris 'BinGOs' Williams2017-09-221-1/+2
| | | | | | | [DELTA] 1.3202 2017-09-13 - Fix AIX compile