| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Extract its test module B::success into a real file, and eliminate lots
of runtime path creation, file creation and file deletion complexity.
|
|
|
|
|
| |
Copy the Scalar::Util::isbool() tests into XS-APItest so we can avoid relying
on Scalar::Util just to check core functionality
|
|
|
|
|
|
| |
Remember to SvGETMAGIC() before testing SvIsBOOL() (thanks @tonycoz)
Unit-test that booleaness is preserved on values passed in to, out of, or captured by threads
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, when IsCOW flag was set there were two cases:
SvLEN()==0:
PV is really a shared HEK
SvLEN()!=0:
PV is a COW structure with 1..256 refcount stored in its extra final byte
This change adds a third state:
SvLEN()==0 && SvFLAGS() & SVppv_STATIC:
PV is a shared static const pointer and must not be modified
sv_setsv_flags() and sv_setsv_cow() will preserve this state
sv_uncow() will copy it out to a regular string buffer
sv_dup() will preserve the static pointer into cloned threads
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds syntax `defer { BLOCK }` to create a deferred block; code that is
deferred until the scope exits. This syntax is guarded by
use feature 'defer';
Adds a new opcode, `OP_PUSHDEFER`, which is a LOGOP whose `op_other` field
gives the start of an optree to be deferred until scope exit. That op
pointer will be stored on the save stack and invoked as part of scope
unwind.
Included is support for `B::Deparse` to deparse the optree back into
syntax.
|
|
|
|
|
|
|
|
|
| |
t/op/tie.t uses run_multiple_progs() to run each test in an individual perl
interpreter. This is robust, but slow and doesn't give much flexibility in
test diagnostics.
Hence this test file, for test cases that can safely run in the same
interpreter, and where we'd can use like() etc for better diagnostics.
|
|
|
|
|
|
|
|
| |
We have 117 instances of the text FIXME in the core source code - it's not
actually good choice of text for a placeholder meaning "fix this before
pushing", as it's easy to miss the one that was added with this intent.
My mistake, spotted by ilmari.
|
| |
|
| |
|
|
|
|
|
|
|
| |
This commit adds a top-level file that points readers to the actual
Standards of Conduct in perlpolicy.pod. It also makes a point to
distinguish between what the Perl Steering Council is responsible for
and what other community groups are responsible for.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This moves the per-file loop body of `makedepend` into a separate
file named `makedepend_file` and then uses `make` to launch
the `makedepend_file` processes for each target potentially in parallel.
This reduces the time for
time sh ./makedepend MAKE=make cflags
from 5 seconds to 2 seconds with MAKEFLAGS=-j8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
... along with guidance on changes in perl-5.38.
Pod::Html::Util: caution on use of these subroutines outside core. For
perl-5.36, these three utility functions will still be importable from
Pod::Html, but thereafter they will only be importable from
Pod::Html::Util. (They are simply imported and re-exported per
suggestion from Graham Knop in GH 19036.
Also, (i) add explicit tests for anchorify() and relativize_url() based
on how they are used in 'installhtml'; (ii) conduct these tests imported
from both Pod::Html::Util (permanently) and Pod::Html (during perl-5.36
only).
For: https://github.com/Perl/perl5/pull/19036
|
|
|
|
|
|
|
|
| |
Inspired by discussion in #p5p.
This calls caller() itself rather than taking hints and hints_hash
parameters so if we end up adding an extra hints word callers won't
need to adjust their code.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From upstream CHANGELOG:
* Explicitly declared strictures and warnings everywhere (to support
-Dusedefaultstrict perls)
* Makefile.PL fixes
* Unicode support on all supported versions of Perl
* Full strict and warnings cleanliness
* Packaging cleanups
* Removal of reference benchmark from test suite (moved to xt/bench)
Committer: Manual verification of the procedure Aristotle used in
https://github.com/Perl/perl5/pull/19026.
|
| |
|
|
|
|
|
| |
This commit adds a guide to perlgov vote administrators for how to run
Perl Steering Council elections.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This isn't essential - HvHASKFLAGS() set when there are no keys with flags
merely disables some potential optimisations. (The other way round - not
being set when keys have flags would be a bug).
This is a regression I introduced in Feb 2004 with commit d36773897a6f30fc:
hv_clear_placeholders now manipulates the linked lists directly, rather
than using the iterator interface and calling hv_delete
This will allow hv_delete to be simplified to remove most of the
special casing related to placeholders.
However several people have looked at the code since then and no-one has
realised that with the logic as-was, this call had to be unreachable.
Also avoid calling HvPLACEHOLDERS_get() twice - each caller has already
done this, so pass the value in.
|
|
|
|
|
|
|
|
|
|
| |
Perl_my_atof3 used to pass a substring after the first (optional) sign
to (S_)strtod, which causes wrong numifications for strings like "-+3"
or "+ 0x123" (for the latter case, while Perl_my_atof3 already had
the code to block "0x" prefixes, this string will slip through due to
the space character in it).
For GH #18584.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
They have interdependencies that require at least these versions,
so needed to be added together.
|
| |
|
|
|
|
| |
Per rjbs code review in https://github.com/Perl/perl5/pull/18950
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This package will hold helper subroutines used within the main package
or in tests. They can be placed in a separate module and imported into
Pod::Html because they won't depend on having the globals passed as an
argument. They will also be potentially independently testable.
Start with html_escape().
Move anchorify(), htmlify() to Auxiliary.pm. Also _unixify -- now as unixify().
Move relativize_url() to Auxiliary.
Move usage() to Auxiliary.
Move trim_leading_whitespace to Auxiliary.
Move parse_command_line() to Auxiliary.
Keep porting tests happy. Increment $VERSION. Run: ./perl -Ilib
regen/lib_cleanup.pl
anchorify.t, eol.t: Correct excessive corrections.
Standardize setting of $VERSION.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Until now, the tests for this library ran inside the ext/Pod-Html
directory in the core distribution. Since the tests necessarily create
files while the harness runs, there was a possibility for race
conditions, which meant that we had to have a workaround in t/harness to
have the tests in this directory not run in parallel.
This commit restructures the testing process so that each test program
gets its own tempdir in which to create files and directories.
The test architecture is now found in t/lib/Testing.pm.
This module will export two functions on demand that are used in the
individual test files. They guarantee that all files created when
running a test program will be created in a temporary directory rather
than underneath the core distribution.
t/pod2html-lib.pl is now superseded by t/lib/Testing.pm and can be
removed. The workaround has been removed from t/harness.
Change directory name from testdir/ to corpus/. So as to more precisely
describe what the directory's purpose is.
Keep porting tests happy. Update MANIFEST and known_pod_issues database.
Acknowledge Craig Berry's recommendation in earlier branch
This should help in the resolution of
https://github.com/Perl/perl5/issues/12271.
Correct typo spotted by rjbs.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Data::Dumper's upstream repository is (effectively) blead, and whilst we can
auto-generate Makefile.PL suitable for blead, this doesn't provide some
other functionality needed for CPAN.
This also fixes CPAN #12282, which has been missed forever.
Really we should decide *which* bugtracker is canonical for Data::Dumper
(and will be checked and acted upon) and then record that metadata in this
Makefile.PL so that metacapn.org etc link to it.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
5.33.10 isn't going to happen but it looks like we bump to the bogus
release and THEN switch to RC1.
|
|
|
|
|
|
| |
This reverts commit a7dc88699c420088b5448c415a8a973e51c0fc18.
We've opted to keep this out until 5.34 is released.
|
|
|
|
|
|
|
|
|
| |
[Delta]
1.56 -- 2021-03-30
* Added `List::Util::zip`, `List::Util::mesh` and related functions
(RT129479)
* Updated embedded ppport.h for Devel::PPPort v3.62
|
| |
|
| |
|
|
|
|
|
|
| |
Some tests in t/opbasic/arith.t used to depend on the perl configuration,
but t/opbasic/* is so basic tests that it should not depend on Config.pm.
Now these tests are splitted into separate test file under t/op/.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
[DELTA]
2.34 2021-01-22 11:03:19-06:00 America/Chicago
* Remove rt.cpan.org reference.
|
| |
|
| |
|
|
|
|
| |
For: https://github.com/Perl/perl5/issues/18413
|