| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Had to run ./perl -Ilib regen/lib_cleanup.pl.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2016-12-13 v1.999806 pjacklam
* Add more logic to Makefile.PL regarding INSTALLDIRS (CPAN RT #119199
and #119225).
* In the TODO file, remove stuff that has been implemented.
2016-12-11 v1.999805 pjacklam
* Fix Makefile.PL so that this module installs over the core version.
* Add more tests for _nok() (binomial coefficient "n over k"). These new tests
revealed some problems with some of the backend libraries when _nok() was
given very large arguments.
* Remove t/Math/BigFloat/#Subclass.pm#, which is an Emacs temporary file
included by accident.
2016-12-07 v1.999804 pjacklam
* Implement as_bytes(), as requested (CPAN RT 119096). Also implement the
inverse conversion from_bytes(). This applies to Math::BigInt only. (Alas,
these methods will be inherited from Math::BigInt into Math::BigFloat,
Math::BigRat etc. where the methods won't work. Fixing this class
relationship is an issue of its own.)
* Implement _as_bytes() and _from_bytes() in Math::BigInt::Lib. Preferably,
the various backend libraries will implement faster versions of their
own. Add author test files for testing these methods thorougly.
* Fix from_hex(), from_oct(), and from_bin().
- When called as instance methods, the new value should be assigned to the
invocand unless the invocand is read-only (a constant).
- When called as instance methods, the assigned value was incorrect, if the
invocand was inf or NaN.
- Add tests to t/from_hex-mbf.t, t/from_oct-mbf.t, and t/from_bin-mbf.t
to confirm the fix.
- Add new test files t/from_hex-mbi.t, t/from_oct-mbi.t, and
t/from_bin-mbi.t for better testing of these methods with Math::BigInt.
* Correct typo in Math/BigInt/Lib.pm (otherise -> otherwise) (CPAN RT 118829).
* Add POD coverage testing of Math::BigInt::Lib to t/03podcov.t.
|
| |
|
|
|
|
|
|
|
| |
Whenever a magical/tied scalar which dies upon read was passed to _poll()
temporary buffer for events was not freed.
Adapted from a patch by Sergey Aleynikov <sergey.aleynikov@gmail.com>
|
|
|
|
|
| |
(Unicode.pm is customized for a version-bump only, to silence
t/porting/cmp_version.t since Unicode.xs has changed.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2016-11-23 v0.5002 pjacklam
* Sync test files with Math-BigInt-1.999801. Add t/biglog.t and t/bigroot.t
since these are included in the test suite for the other backend libraries
(GMP and Pari).
2016-11-17 v0.5001 pjacklam
* Avoid 'use parent' to retain compatibility with old Perls.
* Fix incorrect version numbers in the CHANGES file.
* Trim whitespace.
2016-11-15 v0.5000 pjacklam
* Sync test files with Math-BigInt-1.999800.
* Math::BigInt::FastCalc is now a subclass of Math::BigInt::Calc, so remove
aliases like *Math::BigInt::FastCalc::_xxx = \&Math::BigInt::Calc::_xxx.
* Use OO-calls rather than function calls.
* Fix documentation error in Math::BigInt::FastCalc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2016-11-15 v1.999800 pjacklam
* Upgrade bundled Module::Install from version 1.16 to version 1.17.
* Add Math::BigInt::Lib (lib/Math/BigInt/Lib.pm), a parent class for
Math::BigInt backend libraries.
* Use objects in Math::BigInt::Calc, not just array refs. Also use OO-style,
i.e., use $class->_add($x, $y) rather than _add($class, $x, $y).
* Not all library methods modify the invocand, so call library methods as,
e.g, $x = $LIB->method($x, $y) rather than just $LIB->method($x, $y).
* Math::BigInt::Calc is now a subclass of Math::BigInt::Lib.
* Add Math::BigInt::Lib::Minimal (t/Math/BigInt/Lib/Minimal.pm) for testing
inheritance from Math::BigInt::Lib.
* Minor simplification in Math::BigInt::Calc->_str().
* Speed up Math::BigInt::Calc->_root().
* Remove test files that were included in the previous release by accident.
* Add more tests and use more verbose output in some tests.
* Fix typo in lib/Math/BigFloat.pm
* Fix documentation error in lib/Math/Calc.pm
* Use Config::Tiny and an .ini file to handle the library specific
configuration for the author-lib*.t test files.
2016-11-23 v1.999801 pjacklam
* Fix, hopefully once and for all, the longstanding problem of handling undef
as an operand to mathematical methods. The only method that accepts undef as
an operand is blog(), where the second operand might be undef, as in
$x->blog() or $x->blog($b), where $b is undef. The undef signifies that
Euler's number should be used as the base. With this fix, we should be able
to get Math::BigInt::Lite working again.
* Add least common multiple method _lcm() to Math::BigInt::Lib, and add
corresponding test file t/author-lib-arithmetic-binary-_lcm.t and test data
file t/author-lib-arithmetic-binary-_lcm.dat.
* Remove internal function __lcm() which has become redundant now that _lcm()
is in the library.
* Make it possible to use bgcd() and blcm() as class methods, since other
methods can be used as class methods. This applies to both Math::BigInt and
Math::BigFloat.
* Fix blcm() with negative input. The LCM should always be non-negative. This
applies to both Math::BigInt and Math::BigFloat.
* Add tests for bgcd() and blcm() in t/bigintpm.t and t/bigfltpm.t.
* Fix tests for blcm() assuming that LCM(0,0) should be a NaN. LCM(0,0) is 0
by convention.
* Prefer Class->config('option') over Class->config()->{option}. However, this
does not seem to be working for all options. It seems that this won't work
properly until we move the global variables into the OO interface.
* Explicitly specify the library in all test files that are shared between
Math-BigInt and the library distributions (FaatCalc, GMP, Pari, ...) with,
e.g., "use Math::BigInt only => 'Calc';". This way, it will fail immediately
if the specified library can't be loaded rather than using the fallback
library.
2016-11-28 v1.999802 pjacklam
* When bzero(), bone(), binf(), and bnan() are used as constructors, don't
check whether the class allows the object to be modified. This applies to
both Math::BigInt and Math::BigFloat.
* Improve bgcd() and blcm(). This applies to both Math::BigInt and
Math::BigFloat.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
1.302067 2016-11-23 07:37:56-08:00 America/Los_Angeles
- Fix context test for recent blead.
1.302066 2016-11-08 07:58:39-08:00 America/Los_Angeles (TRIAL RELEASE)
- Handle cases where SysV IPC can be available but not enabled
- Import 'context' into Test2::IPC, it is used by 'cull'
- Propogate warnings settings to use_ok (#736)
1.302065 2016-10-30 11:54:37-07:00 America/Los_Angeles (TRIAL RELEASE)
- Set the TEST_ACTIVE env var to true
- Set the TEST2_ACTIVE env var to true
- Fix the oldest bug still in the bug list (#6)
This fixes cmp_ok output is some confusing cases
- Update travis config
- Add missing author deps
- Fix handling of negative pid's on windows
- Add can() to Test::Tester::Delegate (despite deprecation)
- Fix some minor test issues
1.302064 2016-10-24 21:03:24-07:00 America/Los_Angeles (TRIAL RELEASE)
- Repo management improvements
- Better handling of info vs diag in ->send_event
- Fix test that used 'parent'
- Better handling of non-bumping failures (#728)
1.302063 2016-10-23 21:31:20-07:00 America/Los_Angeles (TRIAL RELEASE)
- Fix double release when 'throw' is used in context_do()
|
|
|
|
|
|
|
|
|
| |
[DELTA]
1.19 Sat Dec 3 09:32:31 2016
- U::C::Locale newly supports locales: he, vo.
- locales updated to CLDR 24: az, haw.
- locale updated to CLDR 26: et.
|
| |
|
|
|
|
|
| |
p5p has taken over the maintenance of this module, so it should be in
dist/
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This means that the MANIFEST.srt target in the Makefile no longer needs
to load a library that depends on Cwd (and other potentially-dynamic
modules). That in turn fixes a missing-dependency bug in the Makefile.
|
| |
|
|
|
|
|
| |
This way we can run them at the same time under parallel test,
as there are a lot of tests (140k or so) this makes a difference.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2.51 Mon Oct 17 16:11:03 2016 +0200 (rurban)
version in cperl since 5.25.2c
Bugfixes
- Fixed missing _unpack_sockaddr_in family, which took AF_INET6 for
a AF_INET addr in t/500_ping_icmp.t and t/500_ping_icmp_ttl.t.
Use now a proper default.
2.50 Sat Apr 16 11:50:20 2016 +0200 (rurban)
version in cperl since 5.22.2c
Features
- Handle IPv6 addresses and the AF_INET6 family.
- Added the optional family argument to most methods.
valid values: 6, "v6", "ip6", "ipv6", AF_INET6
- new can take now named arguments, a hashref.
- Added the following named arguments to new:
gateway host port bind retrans pingstring source_verify econnrefused
IPV6_USE_MIN_MTU IPV6_RECVPATHMTU IPV6_HOPLIMIT
- Added a dontfrag option, setting IP_DONTFRAG and on linux
also IP_MTU_DISCOVER to IP_PMTUDISC_DO. Note that is ignored if
Socket does not export IP_DONTFRAG.
- Added the wakeonlan method
- Improve argument default handling
- Added missing documentation
Bugfixes
- Reapply tos with ping_udp, when the address is changed.
RT #6706 (Torgny.Hofstedt@sevenlevels.se)
ditto re-bind to a device.
Internals
- $ip is now a hash with {addr, addr_in, family} not the addr_in packed IP.
- added _resolv replacing inet_aton,
_pack_sockaddr_in and _unpack_sockaddr_in replacing sockaddr_in,
_inet_ntoa replacing inet_ntoa
- Use _isroot helper, with Win32 _IsAdminUser helper.
- added several new tests (Steve Peters)
2.43 Mon Apr 29 00:23:56 2013 -0300
version in perl core since 5.19.9
Bugfixes
- Handle getprotobyn{ame,umber} not being available
2.42 Sun May 26 19:08:46 2013 -0700
version in perl core since 5.19.1
Bugfixes
- Stabilize tests
Internals
- wrap long pod lines
|
|
|
|
| |
Requires logging the output of "make test" with HARNESS_TIMER=1
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
podlators 4.08 (2016-09-24)
[Pod::Man] Partially revert change in 4.00 to require the name option
(--name to pod2man) when generating man pages from standard input.
Historically, pod2man silently tolerated this, and there turned out to
be a lot of software that depended on this, making the change too
disruptive. Instead, silently set the man page title to STDIN in this
case, but warn about it in the documentation. (#117990)
[Pod::Man] Fix rendering bug for "TRUE (1)", which was recognized as
needing small caps and then erroneously as a man page reference,
resulting in escaped nroff. (Found by Dan Jacobson with the
XML::LibXML::Element man page.) (Debian Bug#836831)
[Pod::Man] Fix rendering bug causing "\s0(1)" to be mistakenly marked
as a man page reference, later confusing backslash escaping.
[Pod::Man] Add new lquote and rquote options (and corresponding
--lquote and --rquote flags to pod2man) to set the left and right
quotes for C<> text independently. (#103298)
Remove test for nested L<> markup, since an upcoming version of
Pod::Simple will drop support for this. (#114075)
|
| |
|
|
|
|
|
| |
for testing the regular expression engine with strings that
lack a trailing null byte.
|
| |
|
| |
|
|
|
|
|
|
|
| |
use MyFilter;
no MyFilter;
does not work. A fix is forthcoming.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
into this distribution)
2.150010 2016-08-18 12:10:08-04:00 America/New_York
[FIXED]
- the YAML and JSON backend variables are ignored when building/testing the
perl core itself, where non-core backends are not yet installed.
[CHANGED]
- Added "use warnings" to Parse::CPAN::Meta
2.150009 2016-07-02 21:07:49-04:00 America/New_York (TRIAL RELEASE)
[FIXED]
- Fixed used of Encode in Parse::CPAN::Meta::load_json_string
(Cherry picked from Parse::CPAN::Meta 1.4422)
2.150008 2016-06-28 17:01:03-04:00 America/New_York (TRIAL RELEASE)
[ADDED]
- Merged Parse::CPAN::Meta 1.4420 into this distribution
2.150007 2016-06-28 03:48:16-04:00 America/New_York (TRIAL RELEASE)
[FIXED]
- The cloning routine would raise an error on expected types when it
previously would stringify. The old behavior is restored.
2.150006 2016-06-23 20:05:46-04:00 America/New_York (TRIAL RELEASE)
[FIXED]
- CPAN::Meta::Prereqs now fully accepts phases and types starting with 'x_'.
New 'phases' and 'types_in' interfaces have been added.
- No longer relies on JSON backend for data structure cloning. This is
much faster than using JSON::PP.
[TESTS]
- The 'extra_mappings' feature for meta merging is now tested and
documented.
- During tests, delete new environment variables added by
Parse::CPAN::Meta 1.4418
[SPEC]
- Clarifies acceptable values for booleans
- Cleaned up text and links of historical specs.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
After discussion, we have decided to document Internals. This is a
first step doing so, with lib/Internals.pod. At the same time I
updated sv.h that there were equivalents for SvREFCNT and SvREADONLY
in the Internals namespace, this required adding docs for SvREADONLY.
I also tweaked the test name in Porting/Maintainers.pm
so that it pointed at Porting/Maintainers.pl to make it more obvious
how to specify a maintainer for a new file.
|
|
|
|
|
|
|
|
| |
This file tests locale and thread interactions. At the moment, it has
just one test, adapted from [perl #127708]. The adaptations include
placing it under t/test.pl, and using my knowledge of the underlying bug
cause to stress it more than the original by Sergey Aleynikov.
He says it fails nearly 50% of the time on an unpatched perl.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Failures on Win32/MSVC++ when dropped into core are:
not ok 3 - got expected output in STDOUT
# Failed test 'got expected output in STDOUT'
# at t/02_module_pod_output.t line 40.
# undef
# doesn't match '(?^:Look up Perl documentation)'
not ok 7 - got expected output in STDERR
# Failed test 'got expected output in STDERR'
# at t/02_module_pod_output.t line 73.
# ''perl' is not recognized as an internal or external command
,
# operable program or batch file.
# '
# doesn't match '(?^:No documentation)'
|
| |
|
| |
|
| |
|
|
|
|
| |
Sorry for the smoke.
|
|
|
|
|
|
|
|
|
|
|
| |
• Localise @INC only if necessary.
• Don’t mention '.' in the @INC list in the error message, since it
was not in the @INC that was searched (this is accomplished by local-
ising @INC in the same scope as the error).
• If a file exists that would have been loaded had '.' not been
ignored, mention it and suggest ‘use lib’.
• Use the same number of closing as opening parentheses in the
error message.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ANYOF regnode is by far the most complicated to compile in regular
expression patterns. This new test file makes sure that what gets
compiled doesn't get changed accidentally, nor how the compiled node is
dumped for human readable output.
I created tests for this from what changed in
b77aba85f6ec3b2a2341077b14f39261c5753cea
"Revamp -Dr handling of /[...]/", and from trying to exercise all
branches in it using gcov.
Making this test file showed some bugs, and infelicitous representations
from that commit, which will be fixed in the next few commits, and tests
added as each change is done.
|
|
|
|
|
|
| |
I disabled them a few commits ago, thinking that maybe reworking them
to test y’s utf8 support might be a good idea; but they duplicate tests
already in t/uni/tr_utf8.t, so they are no longer necessary.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without ‘use encoding’, tests like
ok(chr(0x7f) eq "\x7f");
have little to do with perl’s Unicode support, and they duplicate
tests in t/op/chr.t.
It is not necessary to convert these to use chars > 0xff, to test chr
with Unicode, as t/op/chr.t already does that, too.
Move the warning test to t/lib/warnings/pp. That is the only thing
tested here that is not tested elsewhere.
|
|
|
|
|
|
|
| |
Its default mode became a no-op in recent commits, because
${^ENCODING} stopped doing anything.
Also, fix/delete/skip tests that fail as a result.
|
| |
|