This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Karen Etheridge [Sun, 14 Jun 2015 23:24:25 +0000 (16:24 -0700)]
UNIVERSAL no longer exports anything
so switch to documenting something that would still work
Dagfinn Ilmari Mannsåker [Sun, 14 Jun 2015 21:48:40 +0000 (22:48 +0100)]
Add empty expresion to cpan/.dir-locals.el
Without it, loading any file under the directory gives the message
"Error reading dir-locals: (end-of-file)", which is not fatal, but
annoying.
Chris 'BinGOs' Williams [Sat, 13 Jun 2015 19:51:16 +0000 (20:51 +0100)]
Update for Pod-Simple customisations
Chris 'BinGOs' Williams [Sat, 13 Jun 2015 19:45:09 +0000 (20:45 +0100)]
Update Pod-Simple to CPAN version 3.30
[DELTA]
2015-02-23 David E. Wheeler <david@justatheory.org>
* Release 3.30
No changes since 3.29_6.
2015-02-19 David E. Wheeler <david@justatheory.org>
* Release 3.29_6
The survey() method in Pod::Simple::Search now ignores duplicat
files with varying lettercasing on case-insensitive file systems.
This allows
When pondering files in a given directory, the survey() method in
Pod::Simple::Search now prefers files with extensions in the
following order: no extension, .pod, .pm, .plx, .pl.
The find() method in Pod::Simple::Search now records the './pod'
subdirectory of each directory it considers in such a way as to
preserve its case on the file system.
The find() method in Pod::Simple::Search now tries harder to find
the proper file on case-insensitive file systems when searching
for modules starting with "Pod". For example, when searching for
'Pod::Perldoc' it now returns a file ending in 'Pod/Perldoc.pm'
instead of 'Pod/perldoc.pod', as the latter is actually the
documention for the 'perldoc' program.
2015-02-17 David E. Wheeler <david@justatheory.org>
* Release 3.29_5
No changes except that the release tarball should no longer be empty.
2015-02-16 David E. Wheeler <david@justatheory.org>
* Release 3.29_4
Removed "Caveats" from the docs. Pod::Simple has been out of beta
for years.
The survey() method in Pod::Simple::Search no longer assumes that
files ending in '.pod' are actually Pod. Like .pm and .pl files,
.pod files must contains at least one valid POD command, as
documented. This brings the behavior in line with find(), which
already required that .pod files contain Pod.
The survey() method in Pod::Simple::Search now prefers files
ending in .pod over those ending in .pm, and .pm over those ending
in .pl, when it finds duplicate pod files for a given name.
2015-02-11 David E. Wheeler <david@justatheory.org>
* Release 3.29_3
Tightened up the first pass at recognizing a Pod command so that
fewer invalid Pod lines will be recognized. Suggested by Randy
Stauner.
Fixed bug where Pod::Simple would attempt to call
utf8::unicode_to_native on Perl 5.6, where that function does not
exist.
Typos and minor wordsmithing changes in Pod::Simple::Subclassing,
thanks to Randy Stauner.
The Pod::Simple::Search survey() and find() methods now use the same
code for determining @INC directories to search. The only difference
is that find() also includes $Config::Config{'scriptdir'}.
Jarkko Hietaniemi [Sat, 13 Jun 2015 16:07:18 +0000 (12:07 -0400)]
Fix @INC so that "make test" in ext/POSIX passes.
Jarkko Hietaniemi [Sat, 13 Jun 2015 15:47:23 +0000 (11:47 -0400)]
Test these functions in more than one spot.
erf/erfc/tgamma/lgamma are quite complex functions
(and often estimated by polynomials), test them with
more than one value.
Jarkko Hietaniemi [Sat, 13 Jun 2015 15:40:00 +0000 (11:40 -0400)]
Apparently ldblsize=10 is a real thing.
(also fix an error in an #error)
Chris 'BinGOs' Williams [Fri, 12 Jun 2015 10:58:41 +0000 (11:58 +0100)]
Update autodie to CPAN version 2.27
[DELTA]
2.27 2015-06-10 19:19:49+10:00 Australia/Melbourne
* DEPRECATION: Deprecate the use of "Fatal qw(:lexcial)". It
is an implementation detail of autodie and is about to
change.
* SPEED: Allow wrappers for CORE::exec and CORE::system to be
reused as they are not dependent on the calling package.
* TEST: Avoid hard-coded directory separator in t/system.t.
Thanks to A. Sinan Unur for reporting it and providing a
patch. (GH#62)
* TEST: Add missing "require autodie" in import-into test and
ensure Import::Into remains an optional test dependency.
* TEST / INTERNAL / TRAVIS: Set "sudo: false" to gain access
to the Travis container based infrastructure.
* TEST: Bump version of Import::Into to 1.002004 as older
versions are insufficient for our test. Thanks to
Olivier Mengué for reporting it. (RT#101377)
Jerry D. Hedden [Thu, 11 Jun 2015 03:25:20 +0000 (23:25 -0400)]
Upgrade to threads::shared 1.48
Jerry D. Hedden [Thu, 11 Jun 2015 03:03:10 +0000 (23:03 -0400)]
Upgrade to threads 2.02
Jarkko Hietaniemi [Tue, 2 Jun 2015 22:09:54 +0000 (18:09 -0400)]
infnan: Implement NaN payload APIs.
Based on the latest ISO/IEC WG draft:
http://www.open-std.org/JTC1/sc22/wg14/www/docs/n1778.pdf
(section 14.10, pp 42,45-47). There isn't yet an official C1X effort
(these weren't part of C11) so there's no C1X to refer to.
Jarkko Hietaniemi [Thu, 4 Jun 2015 12:09:49 +0000 (08:09 -0400)]
infnan: Notes on the nan payload.
Jarkko Hietaniemi [Sun, 1 Mar 2015 21:19:13 +0000 (16:19 -0500)]
infnan: define NV_NAN_PAYLOAD_MASK and NV_NAN_PAYLOAD_PERM
MASK: how to mask the nan payload bytes
PERM: how to order the nan payload bytes (0x0 = LSB)
Jarkko Hietaniemi [Mon, 2 Mar 2015 01:16:02 +0000 (20:16 -0500)]
infnan: move the mantbits definitions from perl.h to Configure
(this way they will be available via %Config)
Jarkko Hietaniemi [Sat, 28 Feb 2015 18:04:38 +0000 (13:04 -0500)]
infnan: macros for testing and setting nan quiet/signaling
Jarkko Hietaniemi [Fri, 27 Feb 2015 22:17:48 +0000 (17:17 -0500)]
infnan: introduce NV_NAN_PAYLOAD_BITS
Jarkko Hietaniemi [Fri, 27 Feb 2015 21:57:52 +0000 (16:57 -0500)]
infnan: introduce NV_MANT_BITS
(the real bits, not including possible implicit bit)
Jarkko Hietaniemi [Fri, 27 Feb 2015 01:20:41 +0000 (20:20 -0500)]
infnan: new logic for NV_INF and NV_NAN
The global const PL_inf and PL_nan have dual nature:
the .nv has the NV, the .u8 has the bytes.
Jarkko Hietaniemi [Thu, 11 Jun 2015 02:05:48 +0000 (22:05 -0400)]
infnan: Configure scan for fp mantissa bytes
Jarkko Hietaniemi [Sat, 28 Feb 2015 15:23:06 +0000 (10:23 -0500)]
infnan: Configure scan for infnan bytes
David Mitchell [Fri, 12 Jun 2015 11:22:20 +0000 (12:22 +0100)]
sv.h: document additional use of SVp_SCREAM flag
Chris 'BinGOs' Williams [Fri, 12 Jun 2015 08:43:13 +0000 (09:43 +0100)]
Update Pod-Usage to CPAN version 1.67
[DELTA]
1.67 (marekr)
- added options -perlcmd and -perldoc to allow for non-standard installations
of perl and the perldoc script. Thanks to Markus Jansen for the patch
1.66 (marekr)
- CPAN#102116: pod2usage() -sections omits section with subsection specified
added more precise documentation about the -section syntax and semantics
- CPAN#102117: pod2usage() changes formatting
added documentation to describe what formatting changes pod2usage applies
- CPAN#102101: New tests fail when in core
changed the way the tests find their dependencies. Thanks to BINGOS for
the patch, applied in slightly modified way
1.65 (marekr)
- CPAN#81059: [RT #115534]: Pod::Usage Failes to Select -sections with Negation
fixed a specific corner case for section selection
- CPAN#101538: Pod::Usage doesn't handle E<copy> correctly
introduced a utf8 option; this may actually not solve the problem, but
it is the best we can do for the moment
- CPAN#101581: pod2usage() -sections omits marked-up text from =head lines
make sure that marked-up text is not skipped
Chris 'BinGOs' Williams [Fri, 12 Jun 2015 08:31:58 +0000 (09:31 +0100)]
Exporter-5.72 is now on the CPAN
Chris 'BinGOs' Williams [Thu, 11 Jun 2015 15:38:00 +0000 (16:38 +0100)]
Update Parse-CPAN-Meta to CPAN release 1.4417
[DELTA]
1.4417 2015-06-09 16:19:41-06:00 America/Denver
- No changes from 1.4416
1.4416 2015-05-19 11:11:47-04:00 America/New_York (TRIAL RELEASE)
[FIXED]
- Minimum Perl was inadvertently set to v5.10.0. Now back to v5.8.1.
1.4415 2015-04-28 11:29:52-04:00 America/New_York (TRIAL RELEASE)
[TESTS]
- Outputs the version of backends used
[META]
- Updated repo metadata and boilerplate files
- Pointed issue tracker to the Perl-Toolchain-Gang Github repo
Chris 'BinGOs' Williams [Thu, 11 Jun 2015 15:34:35 +0000 (16:34 +0100)]
Regen META files after CPAN-Meta update
Note for future:
Looks like there is an x_serialization now, so if CPAN::Meta::YAML
and/or JSON::PP get updated then these META files will need regenerating
too.
Chris 'BinGOs' Williams [Thu, 11 Jun 2015 15:28:11 +0000 (16:28 +0100)]
Update CPAN-Meta to CPAN release 2.150005
[DELTA]
2.150005 2015-06-09 19:08:44-06:00 America/Denver
[TESTING]
- Changed some test data from UTF-8 to ASCII
2.150004 2015-05-19 11:25:53-04:00 America/New_York (TRIAL RELEASE)
[DOCUMENTED]
- Noted explicitly that historical META spec files are licensed under
the same terms as Perl
[TESTING]
- Added test for 'x_deprecated' field in "provides"
[META]
- declared extra developer prereq
2.150003 2015-04-21 19:41:15-04:00 America/New_York (TRIAL RELEASE)
[CHANGED]
- Serialized CPAN::Meta objects now include a x_serialization_backend
entry
2.150002 2015-04-19 01:00:10+02:00 Europe/Berlin (TRIAL RELEASE)
[CHANGED]
- Metadata merging now does deep hash merging as long as keys
don't conflict
Hugo van der Sanden [Thu, 11 Jun 2015 11:25:40 +0000 (12:25 +0100)]
[perl #125381] fix -Cnn parsing
Commit
22ff313068 for [perl #123814] inadvertently changed the logic when
parsing a numeric parameter to the -C option, such that the successfully
parsed number was not saved as the option value if it parsed to the end
of the argument.
Daniel Dragan [Sun, 13 Jul 2014 12:20:31 +0000 (08:20 -0400)]
clean up sv_isobject usage
-previous usage proves getmagic is unnecessary or ignored or already called
S_do_smartmatch
Perl_sv_does_sv
-in pp_dbmopen dont call sv_isobject twice in a row on the same SV in 1
permutation
Steve Hay [Wed, 10 Jun 2015 07:49:04 +0000 (08:49 +0100)]
Update release schedule
5.22.0 is out; development is now 5.23, leading towards 5.24.0 next May.
5.22.1 is expected sometime around August/September (around the same time
as 5.20.1 was last year).
5.20.3 is expected sometime before then, probably July.
Tony Cook [Wed, 10 Jun 2015 00:23:19 +0000 (10:23 +1000)]
perldelta for
d484df69ed26
Tony Cook [Tue, 9 Jun 2015 23:48:09 +0000 (09:48 +1000)]
[perl #125347] allow truncate to work on large files on Win32
truncate($filename, $size) was using a simple PerlIO_open() to open
the file, which on Win32 defaults to a text mode open.
Unfortunately, on a text mode open(), MSVCRT attempts to seek to the
end of file using only 32-bit offsets, which fails.
For good measure, add in O_LARGEFILE if it's available, which may
prevent similar issues on other platforms.
Also, remove the erroneous SETERRNO() added by
375ed12a to the open
failure branch, PerlLIO_open() should already set errno on failure, so
we get sane error messages when the open fails.
Reini Urban [Thu, 23 Apr 2015 11:04:05 +0000 (13:04 +0200)]
add warnings 7fatal testcase for #123398
Matthew Horsfall [Tue, 9 Jun 2015 20:27:40 +0000 (16:27 -0400)]
[perl #125369] - Set correct flags for smartmatch in certain cases
Previously the aslice flags would end up as 255 in this case:
$ perl -MO=Concise,-debug -e '@nums[0..1] ~~ []' | grep OP_ASLICE -A 2
Smartmatch is experimental at -e line 1.
-e syntax OK
op_ppaddr PL_ppaddr[OP_ASLICE]
op_type 131
op_flags 255
Now:
$ perl -MO=Concise,-debug -e '@nums[0..1] ~~ []' | grep OP_ASLICE -A 2
Smartmatch is experimental at -e line 1.
-e syntax OK
op_ppaddr PL_ppaddr[OP_ASLICE]
op_type 139
op_flags 55
Jan Dubois [Tue, 9 Jun 2015 17:56:55 +0000 (10:56 -0700)]
GCC doesn't understand the -subsystem:console option
This issue was introduced in commit
269713a1
Ref https://rt.perl.org/Ticket/Display.html?id=125217
Thomas Sibley [Sun, 15 Feb 2015 19:25:18 +0000 (11:25 -0800)]
Porting/checkAUTHORS.pl: Sort author names using Unicode collation rules
This ensures that authors like Ævar Arnfjörð Bjarmason sort with the As
in perldelta ACKNOWLEDGEMENTS sections. Previously Ævar appeared at the
end.
Tony Cook [Tue, 9 Jun 2015 02:19:23 +0000 (12:19 +1000)]
perldelta for
46b27d2f2c37
Lukas Mai [Thu, 12 Feb 2015 12:29:29 +0000 (13:29 +0100)]
don't fatalize warnings during unwinding (#123398)
Jarkko Hietaniemi [Mon, 8 Jun 2015 23:51:00 +0000 (19:51 -0400)]
Detect broken AIX fmodl.
(observed at least in AIX 6.1)
Jan Dubois [Sat, 6 Jun 2015 00:18:20 +0000 (17:18 -0700)]
sunmath.h is only used for builds using long doubles
Matthew Horsfall [Mon, 8 Jun 2015 17:07:48 +0000 (13:07 -0400)]
bisect-runner.pl: Fix pod.t failures
Matthew Horsfall [Mon, 8 Jun 2015 16:43:28 +0000 (12:43 -0400)]
bisect.pl: More doc/comment fixups
Matthew Horsfall [Mon, 8 Jun 2015 16:30:50 +0000 (12:30 -0400)]
bisect.pl: Slight pod fix to CPAN::MyConfig mentions
Matthew Horsfall [Mon, 8 Jun 2015 15:45:04 +0000 (11:45 -0400)]
bisect.pl: Allow custom CPAN::MyConfig when using --module/--with-module
Matthew Horsfall [Mon, 8 Jun 2015 15:21:08 +0000 (11:21 -0400)]
bisect.pl: CPAN already writes out CPAN::MyConfig, no need to do it again.
Matthew Horsfall (alh) [Sun, 19 Apr 2015 15:07:54 +0000 (11:07 -0400)]
When bisecting with modules, actually use a fresh build dir every build.
Matthew Horsfall (alh) [Sun, 19 Apr 2015 13:43:21 +0000 (09:43 -0400)]
Don't let PERL_MM_OPT/PERL_MB_OPT interfere with bisecting.
INSTALL_BASE for example would cause modules to be installed in the
wrong place during a bisect.
Matthew Horsfall (alh) [Sun, 19 Apr 2015 10:52:46 +0000 (06:52 -0400)]
Add notes about bisecting modules that need displays.
Thanks to Andreas for the examples.
Matthew Horsfall (alh) [Sun, 19 Apr 2015 10:34:00 +0000 (06:34 -0400)]
For bisecting, create a CPAN::MyConfig under --module or --with-module.
If you bisect with --module or --with-module, older perls need a
CPAN::MyConfig, otherwise they will stop to ask for user input. This
commit adds the ability to automatically create one if necessary (with
some user interaction required.)
Matthew Horsfall (alh) [Sat, 18 Apr 2015 19:56:34 +0000 (15:56 -0400)]
When bisecting with --module=, don't stop to ask user for input
Matthew Horsfall (alh) [Sat, 18 Apr 2015 19:26:31 +0000 (15:26 -0400)]
Allow installing modules from CPAN to be used inside of bisect tests.
For example:
.../Porting/bisect.pl --with-module=Moose -e 'use Moose; 1;'
This is different from --module in that --module only tests that a
cpan module can or cannot install properly (and pass its tests).
Matthew Horsfall (alh) [Sat, 18 Apr 2015 13:54:23 +0000 (09:54 -0400)]
Adapt Andreas' cpan bisector tool for perl core.
Original can be seen in bin/makeperl.pl of http://repo.or.cz/r/andk-cpan-tools.git
Now we can:
.../Porting/bisect.pl --module=autobox
And see when it broke!
David Mitchell [Mon, 8 Jun 2015 08:15:17 +0000 (09:15 +0100)]
make PadlistNAMES() lvalue again.
The PadlistNAMES() macro was introduced with v5.17.3-69-g86d2498.
This macro happened to be lvalue-capable, although it wasn't documented
as such.
v5.21.6-163-g9b7476d as a side effect, broke the lvalueness, which broke
Coro.
This commit restores the lvalueness.
Tony Cook [Mon, 8 Jun 2015 02:29:46 +0000 (12:29 +1000)]
Jarkko Hietaniemi [Mon, 8 Jun 2015 02:19:08 +0000 (22:19 -0400)]
the #define FOO /* BAR */ doesn't expand into /* BAR */
(the comments are whitespace and eaten away (yum) first)
Tony Cook [Mon, 8 Jun 2015 02:14:37 +0000 (12:14 +1000)]
Add win32/GNUmakefile to build with GNU Make on Win32
Tony Cook [Mon, 8 Jun 2015 02:13:54 +0000 (12:13 +1000)]
update to 5.23.0 and update with changes from the other makefiles
kmx [Tue, 26 May 2015 01:53:50 +0000 (11:53 +1000)]
kmx's original GNUmakefile
Jarkko Hietaniemi [Sun, 7 Jun 2015 21:42:57 +0000 (17:42 -0400)]
Link typo in last minute tweak.
Jarkko Hietaniemi [Sun, 7 Jun 2015 21:42:10 +0000 (17:42 -0400)]
Forgot to adjust this: quadmath is not long doubles.
Jarkko Hietaniemi [Sat, 6 Jun 2015 12:47:11 +0000 (08:47 -0400)]
quadmath: long long versus round/trunc
Karl Williamson [Wed, 1 Apr 2015 16:26:25 +0000 (10:26 -0600)]
regen/mk_invlists.pl: Add dependency
If the added script changes, it may affect the output of mk_invlists.pl,
so needs to be added as a dependency.
Karl Williamson [Wed, 1 Apr 2015 16:22:36 +0000 (10:22 -0600)]
regen/regcharclass.pl: Add dependencies
If either of these two scripts change, it could affect this script, so
things need to be regenerated.
Karl Williamson [Wed, 1 Apr 2015 16:06:45 +0000 (10:06 -0600)]
mktables: Reduce input fractions to lowest terms
It turns out that the rational numbers furnished by the Unicode data are
not guaranteed to be in lowest terms. Version 8 is the first version
that has them this way. Add code to reduce them in preparation for that
release.
Steve Hay [Fri, 5 Jun 2015 09:39:07 +0000 (10:39 +0100)]
Fix Scalar-List-Utils build on Windows; patch sent upstream
Steve Hay [Fri, 5 Jun 2015 08:02:40 +0000 (09:02 +0100)]
CONTRIBUTING.mkdn is IGNORABLE, so no need to list it as EXCLUDED
Steve Hay [Fri, 5 Jun 2015 08:01:28 +0000 (09:01 +0100)]
Fix up the HTTP::Tiny upgrade
I mistakenly thought I saw corpus/ being missing from Perl, so IGNORED it
in Maintainers.pl, but actually the problem was simply that one file was
missing (it's new) -- so add it now.
Steve Hay [Fri, 5 Jun 2015 07:58:41 +0000 (08:58 +0100)]
LICENCE (e.g. in libnet) is IGNORABLE too
Steve Hay [Fri, 5 Jun 2015 07:53:41 +0000 (08:53 +0100)]
Upgrade Scalar-List-Utils from version 1.41 to 1.42
Steve Hay [Fri, 5 Jun 2015 07:51:19 +0000 (08:51 +0100)]
Upgrade parent from version 0.232 to 0.234
Steve Hay [Fri, 5 Jun 2015 07:49:15 +0000 (08:49 +0100)]
Upgrade Module-Metadata from version 1.000026 to 1.000027
Steve Hay [Fri, 5 Jun 2015 07:46:51 +0000 (08:46 +0100)]
Upgrade libnet from version 3.05 to 3.06
Steve Hay [Fri, 5 Jun 2015 07:42:14 +0000 (08:42 +0100)]
Upgrade HTTP-Tiny from version 0.054 to 0.056
Steve Hay [Fri, 5 Jun 2015 07:39:19 +0000 (08:39 +0100)]
Upgrade Getopt-Long from version 2.45 to 2.46
Steve Hay [Fri, 5 Jun 2015 07:36:40 +0000 (08:36 +0100)]
Upgrade CPAN-Meta-YAML from version 0.014 to 0.016
Steve Hay [Fri, 5 Jun 2015 07:35:34 +0000 (08:35 +0100)]
Upgrade CPAN-Meta-Requirements from version 2.132 to 2.133
Craig A. Berry [Fri, 5 Jun 2015 03:07:14 +0000 (22:07 -0500)]
Handle variant build product extensions in configure.com.
This addresses [perl #125284]. Object files, object libraries,
shared libraries, and executables can be given architecture-specific
extensions on VMS to allow for an installation directory that can
be shared by multiple platforms. I guess this feature seemed like
a good idea twenty years ago when disks were much smaller, but it
hasn't been working for some time because, as noted in the ticket
some configure-time compilation was inconsistent in its use of the
alternate extensions. There were a couple more in addition to
those mentioned in the ticket.
N.B. t/TEST still won't run as it's looking explicitly for
perl.exe so that's a TODO.
Chris 'BinGOs' Williams [Thu, 4 Jun 2015 14:05:28 +0000 (15:05 +0100)]
Update Encode to CPAN version 2.73
[DELTA]
$Revision: 2.73 $ $Date: 2015/04/15 23:14:01 $
! MANIFEST
+ t/isa.t
! Encode.pm
Addressed RT#103253: Encode::XS does not inherit from Encode::Encoding
https://rt.cpan.org/Public/Bug/Display.html?id=103253
! encoding.pm
+ t/encoding-locale.t
Pulled: Rewrite of encoding::_get_locale_encoding for more portability #40
! encoding.pm
Pulled: encoding.pm: more inlining #39
https://github.com/dankogai/p5-encode/pull/39
Chris 'BinGOs' Williams [Thu, 4 Jun 2015 14:02:29 +0000 (15:02 +0100)]
Update Locale-Codes to CPAN version 3.35
[DELTA]
VERSION 3.35 (2015-06-01; sbeck)
NEW CODE(s)
Documentation improvements
Many changes to the formatting in the documentation to improve it. Suggested by Pete Houston.
Chase Whitener [Thu, 4 Jun 2015 01:09:06 +0000 (21:09 -0400)]
Prefer 'Foo->new' to 'new Foo' in examples of constructors.
Add Chase Whitener to Perl AUTHORS.
For: RT #125313
Shlomi Fish [Tue, 2 Jun 2015 08:53:03 +0000 (11:53 +0300)]
Convert "\t" to spaces.
\t looks differently depending on the tab width.
This and two previous commits: For: RT #125310.
Shlomi Fish [Tue, 2 Jun 2015 08:39:29 +0000 (11:39 +0300)]
Remove trailing whitespace.
Shlomi Fish [Tue, 2 Jun 2015 08:29:46 +0000 (11:29 +0300)]
Remove an unnecessary right parenthesis
Chris 'BinGOs' Williams [Wed, 3 Jun 2015 15:06:58 +0000 (16:06 +0100)]
Update Time-Piece to CPAN version 1.30
[DELTA]
1.30 2015-05-16
- Stable release. Overview from 1.29:
- Make strftime more portable + fix %z %z
- Add many more tests
- Clean inheritance
1.29_05 2015-05-02
- Combine multiple 'use constant' statements (saves 0.5ms at runtime)
- Don't leave c_epoch undef
- deprecate parse() function
- More constructor tests
- export() calls Exporter::export
1.29_04 2015-04-09
- Clean inheritance of Exporter and DynaLoader (Thanks dolmen!)
- Refactor _strftime to use localtime/gmtime to generate tm struct
1.29_03 2015-04-04
- Don't mix gmtime and mktime in _strftime
- Clean whitespace at end of lines
- Add more tests for DST issues and also strptime parsing
1.29_02 2015-04-04
- Fix handling of %Z and %z in strftime (hopefully)
- Remove compile warnings for int cast
1.29_01 2015-03-30
- Fix handling of %Z and %z in strftime (in progress)
- Remove unused constants from Time::Seconds (Thanks Xaerxess!)
- _strftime: use system mktime to better support past/future dates
- Relicense strptime as BSD 2-clause http://git.io/vfNSg
Chris 'BinGOs' Williams [Wed, 3 Jun 2015 15:05:03 +0000 (16:05 +0100)]
Update Socket to CPAN version 2.019
[DELTA]
2.019 2015/04/29 17:05:33
[BUGFIXES]
* Provide emulations of inet_ntop/inet_pton on MSWin32 by using
WSAStringToAddress/WSAAddressToString
Chris 'BinGOs' Williams [Wed, 3 Jun 2015 15:02:48 +0000 (16:02 +0100)]
Update ExtUtils-CBuilder to CPAN version 0.280223
[DELTA]
0.280223 - 2015-06-02
Fixed:
- Impose deterministic order on cpp-definition options.
Heretofore, ExtUtils::CBuilder put cpp-definition options
into the cc command line in non-deterministic order. This
produced noise when diffing build logs.
Make this order deterministic. (RT #124106)
Added:
- Add tests for ascii-betical order in t/04-base.t.
Chris 'BinGOs' Williams [Wed, 3 Jun 2015 15:00:32 +0000 (16:00 +0100)]
Module-CoreList-5.
20150520 is on CPAN now
Tony Cook [Wed, 3 Jun 2015 05:29:12 +0000 (15:29 +1000)]
perldelta for
0c9375a5ca42
Tony Cook [Tue, 26 May 2015 06:03:31 +0000 (16:03 +1000)]
[perl #125115] don't create file GLOB(...) when dupping a closed handle
Tony Cook [Wed, 3 Jun 2015 04:56:05 +0000 (14:56 +1000)]
perldelta for
0b1fcdcc0341
Shlomi Fish [Mon, 25 May 2015 17:56:23 +0000 (20:56 +0300)]
Fix RT#71678 (-d a command after exit) with a test.
Credits to Heiko Eissfeldt for the reported bug, the test program and a
proposed fix.
Daniel Dragan [Fri, 29 May 2015 05:48:11 +0000 (01:48 -0400)]
feature.pm remove unused lexicals
Daniel Dragan [Thu, 21 May 2015 21:06:27 +0000 (17:06 -0400)]
refactor win32_get_*lib() funcs to match rest of PERL_IMPLICIT_SYS API
The front end of PERL_IMPLICIT_SYS is PerlEnv_*/PerlSock_*/PerlProc_*/etc
macros. These are either macroed to C vtable calls when PERL_IMPLICIT_SYS
is on, or to the backend raw win32_*() functions when PERL_IMPLICIT_SYS
is off.
win32_get_*() were not following this convention. All this code looks like
a hack as if someone didn't have perms to edit perl.c, but they did have
perms to edit /win32, so they devise a scheme of hooking "unhooked"
win32_get_*() functions with win32.h macros for win32_get_*() to call the
Perl*() virutalization macros, and rename the original function bodies in
win32.c to g_win32_get_*() as to not make a macro loop.
Undo all of this hack by having perl.c call correct PerlEnv_* macro. This
refactoring will be useful for a future patch in #123658 to disable
win32 registry lookups.
Daniel Dragan [Mon, 18 May 2015 22:07:29 +0000 (18:07 -0400)]
let Visual C 2013 builds run on WinXP
-keep the idea of -subsystem being specified only in the master makefile
and not in XS building makefiles
Daniel Dragan [Mon, 11 May 2015 03:45:58 +0000 (23:45 -0400)]
Perl_croak->croak and misc C optimizing in POSIX.pm
On threaded perls, this reduces the overhead of the rarely executed error
branches. croak does not have a context arg, Perl_croak does. This makes
the machine code the error branches slightly smaller.
update the manual xsub registration to use the new newXS_deffile added in
5.21, this saves 1 C stack arg and a hash lookup
factor out ST(1234) from T_OPAQUEPTROBJ typemap entry, the CC must emit
code to calculate ST() twice, due to sv_derived_from function possibly
rewriting the world
POSIX.dll on threaded VC 2003 32bit's .text dropped from 0x6c05 to 0x6b55
Daniel Dragan [Mon, 11 May 2015 03:30:21 +0000 (23:30 -0400)]
remove redundant PERL_EXPORT_C and PERL_XS_EXPORT_C macros
These 2 macros were created for the Symbian port in commit
"Symbian port of Perl" to replace a direct "extern" token. I guess the
author was unaware of PERL_CALLCONV.
PERL_CALLCONV is the official macro to use. PERL_XS_EXPORT_C and
PERL_EXPORT_C have no usage on cpan grep except for modules with direct
copies of core headers. A defect of using PERL_EXPORT_C and
PERL_XS_EXPORT_C instead of PERL_CALLCONV is that win32/win32.h has no
knowledge of the 2 macros and doesn't set them, and os/os2ish.h doesn't
either. On Win32, since the unix defaults are used instead of Win32
specific "__declspec(dllimport)" token, XS modules use indirect function
stubs in each XS module placed by the CC to call into perl5**.dll instead
of directly calls the core C functions. I observed this in in XS-Typemap's
DLL. To simplify the API, and to decrease the amount of macros needing to
implemented to support each platform, just remove the 2 macros.
Since perl.h's fallback defaults for PERL_CALLCONV are very late in perl.h,
they need to be moved up before function declarations start in perlio.h
(perlio.h is included from iperlsys.h).
win32iop.h contains the "PerlIO" and SV" tokens, so perlio.h must be
included before win32iop.h is. Including perlio.h so early in win32.h,
causes PERL_CALLCONV not be defined since Win32 platform uses the
fallback in perl.h, since win32.h doesn't always define PERL_CALLCONV and
sometimes relies on the fallback. Since win32iop.h contains alot of
declarations, it belongs with other declarations such as those in proto.h
so move it from win32.h to perl.h.
the "free" token in struct regexp_engine conflicts with win32iop's
"#define free win32_free" so rename that member.
Niko Tyni [Sat, 18 Apr 2015 15:59:07 +0000 (18:59 +0300)]
Fix quote() function to escape backslashes but not minus signs
The delimiter character isn't special in character square brackets,
and neither is the backslash. So '\-\' means just a range of backslash
to backslash, and the minus sign isn't included at all.
Substitution tested with GNU Solaris 9 sed programs.
Originally noticed by Kristoffer Grundstr?m.
Bug-Debian: https://bugs.debian.org/754057
Niko Tyni [Wed, 15 Apr 2015 15:41:57 +0000 (18:41 +0300)]
Make t/run/locale.t survive missing locales masked by LC_ALL
If LC_ALL is set to a valid locale but another LC_* setting like LC_CTYPE
isn't, t/run/locale.t would fail because it explicitly unsets LC_ALL,
unmasking the problem underneath. All the other tests survive such
a scenario.
While this is clearly an error in the build environment, it's easy to make
the test more robust by first clearing all the locale relevant variables.
Bug-Debian: https://bugs.debian.org/782068
Jim Cromie [Sat, 4 Apr 2015 18:49:27 +0000 (12:49 -0600)]
fix XXX on DEBUG_TOP_FLAG comment
DEBUG_TOP_FLAG is ORd into PL_debug when -D option is used, so that
"if (PL_debug)" can be used, w/o also enabling (or requiring) any
specific DEBUG_(.)_FLAGs. It is used in Perl_runops_debug to
short-circuit several DEBUG_(.)_TESTs.
Jim Cromie [Wed, 3 Dec 2014 17:34:36 +0000 (10:34 -0700)]
perl_clone_using: Zero -DPERL_TRACE_OPS mem for sub-threads
perl_clone_using() is missing Zero init of PL_op_exec_cnt[]. This
causes sub-threads in threaded -DPERL_TRACE_OPS builds to spew
exceedingly large op-counts at destruct. These counts would print %x
as "
ABABABAB", clearly a mem-poison value.
Tony Cook [Tue, 2 Jun 2015 01:42:22 +0000 (11:42 +1000)]