summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Dual-life perlglossary.pod as part of perlfaqFlorian Ragwitz2011-09-265-6/+3
|
* Add 5.14.2 to perlhistFlorian Ragwitz2011-09-261-0/+1
|
* Add 5.14.2-RC1 to perlhistFlorian Ragwitz2011-09-261-0/+1
|
* Add the 5.14.2 perldeltaFlorian Ragwitz2011-09-265-0/+249
|
* Add the 5.14.2 epigraphFlorian Ragwitz2011-09-261-0/+18
|
* podcheck.t: Work for scripts/utilities under VMSKarl Williamson2011-09-261-4/+33
| | | | | | | As noted in the comments in the code for this commit, VMS builds add a '.com' suffix to scripts and utilities and hence their names don't match what is in podcheck's db. This canonicalizes such names back to what the db is expecting.
* t/re/re_tests: Add TODOKarl Williamson2011-09-251-0/+3
|
* perlrebackslash: Add missing paren to exampleKarl Williamson2011-09-251-1/+1
|
* podcheck.t: New method for skipping .PL filesKarl Williamson2011-09-251-11/+20
| | | | | | | | | This reverts most of commit df80274d3278c640a5e0fbf3982950bb5ca9d7bc and uses a different method to exclude .PL files, suggested by Nicholas Clark. It uses the MANIFEST to find such files and then excludes them based on the full path name.
* podcheck.t: Remove extra loop initializationKarl Williamson2011-09-251-12/+6
| | | | | I think its clearer to put the subroutine call in each line of initialization
* podcheck.t: Move hash declaration to earlier in fileKarl Williamson2011-09-251-17/+16
| | | | | The only change is to move a block of code around. This is to prepare for future commits
* podcheck.t: Move subroutine defn earlier in fileKarl Williamson2011-09-251-17/+16
| | | | | This is to prepare for future commits, to avoid a warning message about prototype checking
* podcheck.t: Don't calc value twiceKarl Williamson2011-09-251-1/+1
|
* podcheck.t: remove unused variableKarl Williamson2011-09-251-1/+0
|
* Synchronise Module::CoreList version in Maintainers.plChris 'BinGOs' Williams2011-09-251-1/+1
|
* add a couple missing LEAVEs in perlio_async_run()Chip2011-09-251-1/+4
|
* Avoid a double free with CORE->lcFather Chrysostomos2011-09-241-2/+3
| | | | | | | | | | | | | | | | | | | | The code for autovivifying coresubs for method calls ended up calling hv_store(stash,name,len,(SV *)gv,0) where gv is already in the stash under that entry. Since hv_store takes ownership of one reference count and decrements that of what it overwrites (which is the same gv in this case), it ends up freeing the gv prematurely. It ended up making that call because S_maybe_add_coresub needs the stash to get its ENAME (which happens when called by gv_fetchmeth), but it also assumed that the presence of the stash meant the gv needed to be stored in it (as is the case with the other caller, gv_fetchpvn_flags). This patch reuses the fullen (full length) parameter as a flag to indicate that that hv_store call should be skipped. These workarounds for the assumptions that newATTRSUB makes are start- ing to make inlining look very attractive....
* regexp.t: print diagnostics with leading '#'Karl Williamson2011-09-241-3/+8
| | | | | Some test platforms don't like unexpected output without the comment prefix character
* Add t/porting/checkcfgvar.t to run Porting/checkcfgvar.pl as a test.Nicholas Clark2011-09-244-5/+53
| | | | | | | | Add TAP generation and a --tap option to Porting/checkcfgvar.pl. In checkcfgvar.t, document its purpose, and the likely way to fix the problems that it has flagged up. This is a prototype before adding similar instructions to the other t/porting tests.
* A small refactor of checkcfgvar.plNicholas Clark2011-09-241-29/+34
| | | | | | | For --list, only print the name out in one place. Remove a now-redundant sort for --regen. Alert the user if default values are not being added because --default was not specified.
* Refactor t/porting/regen.t to use TestInit q(T A);Nicholas Clark2011-09-241-13/+2
| | | | | | Previously it had custom code to change directory to the top of the source tree, and to convert the library paths to absolute. TestInit has common code for this.
* [perl #92898] Clarify (*THEN)’s scopeFather Chrysostomos2011-09-231-2/+4
|
* Document open fh, "<:"Father Chrysostomos2011-09-232-2/+7
|
* Move the test for recursive call to Perl_load_module to t/io/perlio.tNicholas Clark2011-09-232-13/+15
| | | | | It's a croak(), not a warning, so doesn't really belong in lib/warnings.t [This also implicitly fixes the wrong expected output of 69dc7e4bdb8e397c]
* Correct the expected results for the first perlio warnings subtest.Nicholas Clark2011-09-231-1/+2
|
* Test perl #96008: use and require affected by open.pmFather Chrysostomos2011-09-221-1/+11
|
* [perl #96008] use and require are affected by the open pragmaBrian Fraser2011-09-221-1/+1
| | | | | | | | | | | | | | % perl -e 'print "package F;\n # \xF1\n;1;"' > x.pl % perl '-Mopen=:encoding(utf8)' -e 'require "x.pl"' utf8 "\xF1" does not map to Unicode at x.pl line 1. Bit of a surprising discovery; Turns out that passing a single ":" for the layers skips the fetch from the context layers: perl -wE 'use open qw( :encoding(UTF-8) ); open my $fh, "<:", "etc"; say PerlIO::get_layers($fh);' That will only get the relevant default layers, while removing the colons makes it work as usual -- So we can abuse this (mis)feature to fix the bug.
* Move/rewrite test for Recursive call to Perl_load_moduleFather Chrysostomos2011-09-222-8/+12
| | | | | | | | | | This test was relying on a bug in require that causes it to use what- ever I/O layers are active in require‘s *caller* when opening a file [perl #96008]. This rewrites the test using the example in ticket #75722. Since it no longer has anything to do with open.pm, it is now in t/lib/warnings/perlio.
* Make CORE->method workFather Chrysostomos2011-09-222-104/+149
| | | | | | | | | | This will probably not be used, but ought to be here for complete- ness’ sake. Method lookup needs to trigger the autovivification of coresubs. Since it does not use gv_fetchpvn_flags, the coresub-autovification is now in a separate static function, so that both standard gv lookup and method lookup can share it.
* perlre: Note a bug's existenceKarl Williamson2011-09-221-0/+12
|
* re_tests: Add TODO testKarl Williamson2011-09-221-0/+3
|
* podcheck.t: Add commentKarl Williamson2011-09-221-1/+2
|
* Porting/cherrymaint: Add commentKarl Williamson2011-09-221-0/+4
|
* manifest.t: Clarify a test's wordingKarl Williamson2011-09-221-1/+1
|
* base.pm: remove unused variableDavid Golden2011-09-221-3/+0
|
* base.pm no longer tracks loaded modulesDavid Golden2011-09-221-6/+2
| | | | | | | | | | | | | Tracking modules loaded by base.pm to avoid reloading them means that any module that wishes to force a reload can't just modify %INC but must also interact with base.pm to clear its cache. Removing the module-loaded checks have minimal impact. The internal call to require() is a NOP for a loaded module. For an internal package, the require() will fail with the same error message as before, which base.pm then ignores. Tracking modules loaded to avoid this slight extra overhead is not worth the complexity for other modules that wish to manipulate %INC.
* Use a real compile to test for stdbool.hH.Merijn Brand2011-09-221-3/+28
| | | | | | | | | On some Solaris systems, <stdbool.h> is present, but will give an error if used by a compiler that is not sufficiently c99-compliant. Check for this by including <stdbool.h> and trying to compile a short program that uses bool. Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
* podcheck.t: clarify its podKarl Williamson2011-09-221-5/+8
|
* podcheck.t: Is problem if cpan/non-cpan have same NAMEKarl Williamson2011-09-221-1/+4
| | | | | | | | | If a module whose upstream is cpan has the same NAME as a module that isn't, that is a problem that should be warned about, as we shouldn't be shipping two identically named modules, even if one is not under Perl core's control. (If two cpan modules have the same name, it is a problem as well, but not anything we can do anything about, so warn only when cpan warnings are enabled.)
* podcheck.t: Process files sorted caselesslyKarl Williamson2011-09-221-4/+4
| | | | | In some situations previously, case was not important in the sort order; this extends that to all situations.
* podcheck: Nits in commentsKarl Williamson2011-09-221-4/+4
|
* base.pm no longer modifies $VERSIONDavid Golden2011-09-222-24/+17
| | | | | | | | | | | | | | | Previously, base.pm modified the $VERSION of modules it loaded to the string "-1, set by base.pm". This is not a valid lax version string and thus could not be parsed by version.pm. (It is also an encapsulation violation, as it modifies a global in another package.) This patch removes the $VERSION modification code entirely and uses a private hash to track which modules base.pm has successfully loaded. This also eliminates a subtle bug in how base.pm was checking for the existence of a package's VERSION scalar. [Though the final mechanism is different, thank you to John Peacock for proposing the initial patch to eliminate the "-1..." code from base.pm]
* fold_grind.t: Ignore blank linesKarl Williamson2011-09-211-2/+3
| | | | | | This is in preparation for Unicode 6.1, which has blank lines in the .txt file that fold_grind reads. The line that strips off comments did not work on plain null lines.
* UCD.pm: accommodate non-standard mktables outputKarl Williamson2011-09-211-0/+7
| | | | | | | Generally mktables generates the most compact tables possible. But this should not be relied on, and when called with the -anotate option, the mktables tables will not be compact. This will compact non-compacted tables when reading them.
* UCD.pm: Only calculate hex onceKarl Williamson2011-09-211-4/+5
| | | | | This uses intermediate variables to store the output of hex(), with the result that if there is an $end, its hex only is calculated once.
* adding in the list archive URL for the announcementStevan Little2011-09-211-0/+3
|
* Add an option to checkcfgvar.pl to add defaults for missing variables.Nicholas Clark2011-09-211-2/+8
| | | | | This eases the updates of the config.sh-format files when a new Configure variable is added.
* Add a --regen option to checkcfgvar.pl to regenerate config files.Nicholas Clark2011-09-2115-272/+308
| | | | | | | | | | Verify that the section of config file containing probed files is sorted lexically. If --regen is used, updated the file on disk with a correctly sorted version. (Except for configure.com, which has a different structure not amenable to automatic analysis and update, hence still has to be updated manually.) Ensure all config files are correctly sorted.
* Add empty Author and zip entries to symbian/config.sh and uconfig{,64}.shNicholas Clark2011-09-216-5/+10
| | | | | | | | | This brackets the probed values sections consistently across all config.sh type files, between Author and zip inclusive. Move PERL_CONFIG_SH to the end of NetWare/config.wc and symbian/config.sh, and PERL_CONFIG_SH CONFIGDOTSH to the end of win32/config.ce, to be consistent with the other config.sh files.
* Sort epoc/config.shNicholas Clark2011-09-211-130/+130
| | | | | | This brings it back to the regular order: header information, probed values, information about arguments to Configure, and values propagated from a previous run.