summaryrefslogtreecommitdiff
path: root/dist
Commit message (Collapse)AuthorAgeFilesLines
* Carp: say what cluck() doesDavid Mitchell2016-08-112-3/+3
| | | | Nowhere did it actually describe what cluck does.
* Sync CPAN Locale::Maketext 1.28 with bleadSteve Hay2016-08-101-0/+4
|
* File::Spec::VMS->canonpath() incorrect with ODS-5 style directory specs.Richard Levitte2016-08-092-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've found a bug in File::Spec::VMS->canonpath(), when a dash component in a directory spec is preceded by a name containing an escaped period. My examples show quite clearly where things go wrong: $ perl -e "use File::Spec::Functions; print canonpath('foo:[bar.coo.kie.--]')" foo:[bar] check! $ perl -e "use File::Spec::Functions; print canonpath('foo:[bar^.coo.kie.--]')" foo:[bar^.coo.-] WRONG! $ perl -e "use File::Spec::Functions; print canonpath('foo:[bar.coo^.kie.--]')" foo:[bar.coo^.kie.--] WRONG! $ perl -e "use File::Spec::Functions; print canonpath('foo:[bar.coo.kie.-]')" foo:[bar.coo] check! $ perl -e "use File::Spec::Functions; print canonpath('foo:[bar^.coo.kie.-]')" foo:[bar^.coo] check! $ perl -e "use File::Spec::Functions; print canonpath('foo:[bar.coo^.kie.-]')" foo:[bar.coo^.kie.-] WRONG! I've created a patch (attached) that solves the issue, with these correct results (same paths) [Committer's note: this fixes perl RT #128865]
* XSLoader Makefile.PL: Note a possible pitfallFather Chrysostomos2016-08-051-0/+6
|
* add "provides" metadata for XSLoader (RT#138836)Karen Etheridge2016-08-051-6/+19
| | | | | | | This avoids confusing tools like cpanm and carton which use 'provides' metadata, and are not able to infer the correct data here because XSLoader_pm.PL is used to generate XSLoader.pm, but then XSLoader.pm is deleted before cpanm can see it.
* [perl #128769] Improve base.pm @INC . messageFather Chrysostomos2016-08-042-3/+8
| | | | | The new version is based on one written by Chris Travers, polished up a bit by yours truly.
* [perl #128769] base.pm: Localize @INC unconditionallyFather Chrysostomos2016-08-011-3/+3
| | | | | | | As Zefram pointed out in <https://rt.perl.org/Ticket/Display.html?id=128769#txn-1414015>, having inconsistent behaviour is going to cause more problems than solves.
* [perl #128769] Improve base.pm @INC '.' handlingFather Chrysostomos2016-07-312-3/+30
| | | | | | | | | | | • 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.
* fix version numbering for dist/PathToolsTony Cook2016-07-3011-11/+11
| | | | | I messed up my search and replace and didn't notice it when committing.
* New bug numbers in lib/ and dist/, tooFather Chrysostomos2016-07-293-3/+3
| | | | | | This is my quick-and-dirty script: find dist -print0 | xargs -0 perl -pi -e 'BEGIN { %map = split " ", join "", `cat pb2rt.txt` } s/(?<!\d)\d{8}\.\d{3}(?!\d)/$& (#$map{$&})/g'
* dist/: bump $VERSION as neededTony Cook2016-07-2619-19/+19
|
* dist/: remove . from @INC when loading optional modulesTony Cook2016-07-2611-8/+47
| | | | | | I didn't update base.pm since that seems more likely to be loading modules *expected* to be in the current directory. Opinions welcome.
* (perl #127834) remove . from the end of @INC if complex modules are loadedTony Cook2016-07-262-0/+2
| | | | | | | While currently Encode and Storable are know to attempt to load modules not included in the core, updates to other modules may lead to those also attempting to load new modules, so be safe and remove . for those as well.
* Prepare Module-CoreList for 5.25.4Steve Hay2016-07-204-3/+33
|
* Update Module-CoreList for 5.25.3Steve Hay2016-07-201-1/+101
|
* (perl #128524) correct indentation for utf-8 key hash elementsTony Cook2016-07-202-3/+27
| | | | | | | | | | For utf-8 flagged keys the indentation was left as the default, the key length, and was not updated to the adjusted length after escaping and quoting. The test originally used a pre-rendered dump, but potentially other minor changes to the output would break that, now it simply compares against the output of the first case.
* Increase $encoding::warnings::VERSION to 0.13Father Chrysostomos2016-07-131-3/+3
|
* Make encoding::warnings a no-op in 5.26Father Chrysostomos2016-07-135-3/+56
| | | | with a single warning at import time.
* Make the build reproducible.Chris Lamb2016-07-1210-11/+11
| | | | | | | | See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829295. Increment $VERSION throughout ExtUtils-ParseXS/lib. For RT #128517
* Update Data::Dumper to 2.161Steffen Mueller2016-07-112-3/+9
| | | | | No real changes for blead, but a fixed CPAN distribution with old-perl backcompat fixes. Thanks to Aaron Crane for the debugging and patches!
* Synchronize blead with CPAN XSLoader 0.22Sébastien Aperghis-Tramoni2016-07-052-3/+3
|
* Fix XSLoader to recognize drive lettersFather Chrysostomos2016-07-041-1/+13
| | | | | | | | Commit 08e3451d made XSLoader confirm that the file path it got from (caller)[2] was in @INC if it looked like a relative path. Not taking drive letters into account, it made that @INC search mandatory on Windows and some other systems. It still worked, but was slightly slower.
* Upgrade Data-Dumper from version 2.154 to 2.160Steve Hay2016-07-041-1/+27
|
* Increase $XSLoader::VERSION to 0.22Father Chrysostomos2016-07-031-1/+1
|
* Don’t let XSLoader load relative pathsFather Chrysostomos2016-07-032-1/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [rt.cpan.org #115808] The logic in XSLoader for determining the library goes like this: my $c = () = split(/::/,$caller,-1); $modlibname =~ s,[\\/][^\\/]+$,, while $c--; # Q&D basename my $file = "$modlibname/auto/$modpname/$modfname.bundle"; (That last line varies by platform.) $caller is the calling package. $modlibname is the calling file. It removes as many path segments from $modlibname as there are segments in $caller. So if you have Foo/Bar/XS.pm calling XSLoader from the Foo::Bar package, the $modlibname will end up containing the path in @INC where XS.pm was found, followed by "/Foo". Usually the fallback to Dynaloader::bootstrap_inherit, which does an @INC search, makes things Just Work. But if our hypothetical Foo/Bar/XS.pm actually calls XSLoader::load from inside a string eval, then path ends up being "(eval 1)/auto/Foo/Bar/Bar.bundle". So if someone creates a directory named ‘(eval 1)’ with a naughty binary file in it, it will be loaded if a script using Foo::Bar is run in the parent directory. This commit makes XSLoader fall back to Dynaloader’s @INC search if the calling file has a relative path that is not found in @INC.
* Upgrade Time::HiRes from version 1.9734 to 1.9739Steve Hay2016-07-0118-148/+546
|
* Sync CPAN Locale::Maketext 1.27 with bleadTodd Rinaldo2016-06-231-0/+9
|
* Module::CoreList: cut TieHashDelta out of everybody’s lifeAristotle Pagaltzis2016-06-232-21/+19
|
* Module::CoreList: prepare for better legibility of upcoming patchAristotle Pagaltzis2016-06-231-2/+0
|
* Revert "Update Time-HiRes to CPAN version 1.9735"David Mitchell2016-06-216-341/+39
| | | | | | | This reverts commit e6da2a9c4c0cecea6bf21f8ae47d78bdbe8bcbce. This was hanging parallel testing on my Linux box. Cause not yest investigated, but revert for now.
* Update Time-HiRes to CPAN version 1.9735Chris 'BinGOs' Williams2016-06-216-39/+341
| | | | | | | | | | | | | | | | | [DELTA] 1.9735 [2016-07-21] - Time::HiRes should override `utime` to allow setting hires (use futimens and utimensat to implement subsecond utime) [rt.perl.org #114809] - the utime patch uses IS_SAFE_PATHNAME() which isn't available in too old Perls, so emulate (in case the Devel::PPPort is too old) - make it so that only one value is set for -DTIME_HIRES_STAT even on systems that support many options 1.9734 [2016-07-17] - fix Darwins with clock_gettime: blead 2d41a263 [rt.perl.org #128427]
* Bump Module::CoreList version for 5.25.3Matthew Horsfall2016-06-204-3/+33
|
* Update Module::CoreList for 5.25.2Matthew Horsfall2016-06-203-2/+164
|
* Time::HiRes: fix Darwins with clock_gettimeMisty De Meo2016-06-202-2/+2
| | | | | | Not all of the Darwin time code was guarded by the same set of #ifdefs, leading to bugs on Darwin platforms with clock_gettime where a struct would not be defined but would still be used elsewhere.
* constant: don't skip the E2BIG test on Hurd, but improve commentsDominic Hargreaves2016-06-051-8/+7
| | | | | | | | | | As Father Chrysostomos explained on [perl #128319] the previous change was based on a misunderstanding of the purpose of the test, which is only to test that constant.pm can create a dualvar out of $! which has an error string, and nothing specifically to do with E2BIG. The new comments, also suggested by Father Chrysostomos, make this more clear.
* constant: skip E2BIG test on GNU/HurdDominic Hargreaves2016-06-041-5/+8
| | | | | Hurd doesn't use 7 for E2BIG, so this string test would fail if the test itself were more precise.
* ExtUtils::ParseXS: Silence some pod warningsKarl Williamson2016-05-2411-16/+16
| | | | These were found by the new Pod::Checker, soon to be committed.
* PathTools: fix Pod::Checker warning for podKarl Williamson2016-05-2411-12/+15
| | | | | The new Pod::Checker soon to be commited doesn't like lines with only white space.
* Update Module::CoreList for 5.25.2Sawyer X2016-05-221-0/+2
|
* Upgrade to threads 2.09jdhedden2016-05-203-8/+20
| | | | For: RT #128197
* Upgrade to Thread::Queue 3.11jdhedden2016-05-202-7/+11
| | | | For: RT #128195
* Increment $VERSION to 5.YYYYMMDD for next scheduled monthly release date.James E Keenan2016-05-202-2/+2
|
* corelist: update for v5.25.2Father Chrysostomos2016-05-202-0/+22
| | | | | I really have no idea what I’m doing. I just copied 4170737e2, sort of, and the tests started passing.
* Update Module::CoreList for 5.25.1Sawyer X2016-05-203-20/+183
|
* remove internal test modules from Module::CoreListKaren Etheridge2016-05-171-9/+0
| | | | | These modules only ever existed as test data, and should never have entered the PAUSE index. There is no value in listing them in historical data.
* fix Module::CoreList::is_core bounds checking for specific module versionsKaren Etheridge2016-05-173-3/+14
|
* Upgrade to threads::shared 1.52jdhedden2016-05-161-4/+9
|
* Upgrade to threads 2.08jdhedden2016-05-163-10/+15
|
* [cpan#100183] Add missing "<FH> chunk #" phrase to Carp messagesAaron Crane2016-05-163-4/+15
| | | | | | | | | Commit 89988fbd2f7d8a44526a3cd9ab671b3102898bc9 added the relevant phrase for line-oriented filehandles; this extends that to also cover chunk-oriented ones. The patch was supplied by Chris R Donnelly <chris.donnelly@vauto.com> on the rt.cpan.org ticket; I have extended it to include a test.
* (perl #127923) note priority between the white and blacklistTony Cook2016-05-101-0/+3
|