summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* temp commit for smokessmoke-me/khw-trickyKarl Williamson2011-12-229-479/+391
|
* regcomp.c: Make sure trie can handle node passed to itKarl Williamson2011-12-221-0/+2
|
* regexec.c: white space onlyKarl Williamson2011-12-221-1/+1
|
* regexec.c: EXACTF nodes can never be UTFKarl Williamson2011-12-221-4/+9
| | | | | | | By definition a regex pattern that is in UTF-8 uses Unicode matching rules, and EXACTF is non-Unicode (unless the target string is UTF-8). Therefore an EXACTF node will never be generated for a UTF-8 pattern, and there is no need to test for it being so.
* regcomp.c: Silence valgrind warningKarl Williamson2011-12-221-1/+5
| | | | | This happens only in doing debug output. Initialize these two debugging variables
* regexp_noamp.t: Add commentKarl Williamson2011-12-221-0/+2
|
* t/re/re_tests: Add some testsKarl Williamson2011-12-221-0/+5
|
* t/re/re_tests: revise testKarl Williamson2011-12-221-1/+5
| | | | | This is the wrong test for the cited ticket. That one is for tests occurring in bracketed character classes.
* t/re/re_tests: Update commentKarl Williamson2011-12-221-2/+2
| | | | | This reflects that now that there is autoloading of \N{}, such tests can go in this file
* util.c: Add commentKarl Williamson2011-12-221-1/+2
|
* regcomp.c: Don't print incorrect debug infoKarl Williamson2011-12-211-3/+4
| | | | | The break out of the loop should be done before the debug statements that indicate the things that happen only if the break isn't done.
* regcomp.sym: Change commentsKarl Williamson2011-12-212-8/+8
|
* Porting/podtidy can pass 'columns' to Pod::Tidy::tidy_files().Nicholas Clark2011-12-211-4/+2
| | | | Pod::Tidy 0.10 added this. It's cleaner than setting $Text::Wrap::columns.
* Sync Maintainers.pl with CPAN for Module-CoreListChris 'BinGOs' Williams2011-12-211-1/+1
|
* In installman, move the call to File::Find::find() to the top level.Nicholas Clark2011-12-211-43/+36
| | | | | | | | The code to recursively scan a directory with File::File::find() is now only used by one caller of podset(), so move it to the call point, reducing the amount of conditional code within podset(). The first argument to podset() is now always a reference to a hash of "work to be done". Add an optional fourth argument to give the directory name for diagnostics.
* Lazier instructions for removing stale perldeltas for 5.x.0-RC0Nicholas Clark2011-12-211-4/+4
| | | | | The previous instructions were unaware that most of what they describe is already automated.
* Merge the refactoring that abolishes pod.lst to blead.Nicholas Clark2011-12-2112-370/+124
|\
| * Re-order entries in the 'master' array returned by get_pod_metadata().Nicholas Clark2011-12-213-11/+11
| | | | | | | | Now it returns just the pod's name, its filename, and the flags (if any).
| * Prune unused entries from the 'master' array returned by get_pod_metadata().Nicholas Clark2011-12-211-6/+5
| | | | | | | | | | | | | | | | | | | | | | The description is only used to generate MANIFEST entries now from 'readmes' and 'pods'. now that perl.pod is the master and is no longer generated from pod.lst The leafname/podname distinction is only used by is_duplicate_pod(), so can be replaced by simple flag, 'dual'. Replace the now-unused entries with undef to preserve the indices.
| * Rationalise use of the Pod metadata structure returned by get_pod_metadata().Nicholas Clark2011-12-213-13/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nothing uses the entries in the 'master' array for the for the elements flagged as 'aux', so don't generate them. Only buildtoc uses the the 'aux' hash, and only the keys in sorted order, so replace the hash with a sorted array. All entries in the 'master' array are now defined, and references to 5 element arrays, so remove code that checks for this. Likewise, as the 'aux' flag is no longer used, remove code related to it. When generating the entries for README files in %our_pods in the consistency checking code in get_pod_metadata, $_->[4] and $_->[1] will always be equal, as no READMEs are copied from dual life modules. So use $_->[1] instead, as this permits a future simplification.
| * Eliminate pod.lst. pod/perl.pod is now the master file for Pod metadata.Nicholas Clark2011-12-2110-359/+120
|/ | | | | | | | perl.pod already contained virtually all the information in pod.lst. Add the remainder as =begin and =for Pod blocks. As perl.pod no longer needs to be regenerated, remove the redundant code from Porting/pod_rules.pl. Update (nearly) all references to pod.lst.
* Fixing crash in hint.tFather Chrysostomos2011-12-201-4/+9
| | | | | | | | | | | | The test that was added in 95cf23680e tickled another bug in the same code in Perl_hv_copy_hints_hv than the one it fixed, but not on the committer’s machine. Not only can a HE from a tied hash have a null entry, but it can also have an SV for its key. Treating it as a hek and trying to read flags from it may result in other code being told to free something it shouldn’t because the SV, when looked at as a hek, appeared to have the HVhek_FREEKEY flag.
* [perl #91416] Deparse open("blah blah blah") properlyFather Chrysostomos2011-12-202-4/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ‘open bareword’ compiles down to open `--+--pushmark `--gv whereas ‘open "string"’ compiles down to open `--+--pushmark `--rv2gv `----gv the same as ‘open *glob’. B::Deparse was deparsing the child of the rv2gv, in order to deparse things like open(my $fh...) as they were entered, instead of open(*my $fh), which wouldn’t work. gvops were being deparsed as the name. But this meant that ‘open "open"’ would be deparsed as ‘open open’, which does something different, ‘open’ being a keyword. It also did that with ‘open '%^$^$%'’, which would deparse without the quotation marks. This commit changes the deparsing of filehandle-op -> rv2gv -> gv, by keeping the explicit * present if the name of the gv is a valid identifier (so open("foo") and open(*foo), which compile identi- cally, both come out as open(*foo)), or by using quotation marks if it is not.
* Increase $B::Deparse::VERSION to 1.11Father Chrysostomos2011-12-201-1/+1
|
* charnames tests: Add names to some more testsKarl Williamson2011-12-202-27/+28
|
* test.pl: Add commentKarl Williamson2011-12-201-1/+1
|
* Autoload charnames for \N{name}Karl Williamson2011-12-2011-66/+103
| | | | | | | | | | | | | | | | This autoloads charnames.pm when needed. It uses the :full and :short options. :loose is not used because of its relative unfamiliarity in the Perl community, and is slower. (If someone later added a typical "use charnames qw(:full)", things that previously matched under :loose would start to fail, causing confustion. If :loose does become more common, we can change this in the future to use it; the converse isn't true.) The callable functions in the module are not automatically loaded. To access them, an explicity "use charnames" must be provided. Thanks to Tony Cook for doing a code inspection and finding a missing SPAGAIN.
* toke.c: Reorder a testKarl Williamson2011-12-201-4/+4
| | | | This is in preparation for a later commit
* charnames.t: Rmv extra blank in commentKarl Williamson2011-12-201-1/+1
|
* charnames: Split into two modulesKarl Williamson2011-12-206-1119/+1167
| | | | | | | This takes the source and splits it into two modules with the only changes those that are required to get them to work together. This is in preparation for future commits
* pod nitsKarl Williamson2011-12-202-3/+6
|
* [perl #106282] Don’t crash cloning tied %^HFather Chrysostomos2011-12-202-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When hv_iternext_flags is called on a tied hash, the hash entry (HE) that it returns has no value. Perl_hv_copy_hints_hv, added in commit 5b9c067131, was assuming that it would have a value and calling sv_magic on it, resulting in a crash. Commit b50b205 made namespace::clean’s test suite crash, because strict.pm started using %^H. It was already possible to crash namespace::clean with other hh-using pragmata, like sort: # namespace::clean 0.21 only uses ties in the absence of B:H:EOS use Devel::Hide 'B::Hooks::EndOfScope'; use sort "stable"; use namespace::clean; use sort "stable"; {;} It was possible to trigger the crash with no modules like this: package namespace::clean::_TieHintHash; sub TIEHASH { bless[] } sub STORE { $_[0][0]{$_[1]} = $_[2] } sub FETCH { $_[0][0]{$_[1]} } sub FIRSTKEY { my $a = scalar keys %{$_[0][0]}; each %{$_[0][0]} } sub NEXTKEY { each %{$_[0][0]} } package main; BEGIN { $^H{foo} = "bar"; tie( %^H, 'namespace::clean::_TieHintHash' ); $^H{foo} = "bar"; } { ; } This commit puts in a simple null check before calling sv_magic. Tied hint hashes still do not work, but they now only work as badly as in 5.8 (i.e., they don’t crash). I don’t think tied hint hashes can ever be made to work properly, even if we do make Perl_hv_copy_hints_hv copy the hash properly, because in the scope where %^H is tied, the tie magic takes precedence over hint magic, preventing the underlying he chain from being updated. So hints set in that scope will just not stick.
* Link to release announcement in epigraphs.podDave Rolsky2011-12-201-1/+2
|
* Add a step asking release managers to blog about their epigraphDave Rolsky2011-12-201-0/+5
|
* Add the 5.15.6 epigraphDave Rolsky2011-12-201-0/+20
|
* Add details on how to figure out if rt.perl.org needs to be updated.Dave Rolsky2011-12-201-3/+7
|
* Create a perldelta for 5.15.7Dave Rolsky2011-12-2011-746/+1149
|
* Merge branch 'drolsky/release-5.15.6' into bleadDave Rolsky2011-12-2026-638/+1175
|\
| * Add perldelta entry for new version of Module::CoreListv5.15.6Dave Rolsky2011-12-201-0/+5
| |
| * Fix version of Module::CoreList in 5.15.6Dave Rolsky2011-12-201-1/+1
| |
| * Add Changes entry for Module::CoreListDave Rolsky2011-12-201-0/+3
| |
| * Add 5.15.6 release date to perlhistDave Rolsky2011-12-191-0/+1
| |
| * Updated Module::CoreList for 5.15.6 - including $VERSION bumpDave Rolsky2011-12-191-4/+701
| |
| * Bump the perl version in various places for 5.15.6Dave Rolsky2011-12-1922-141/+141
| |
| * Final pass through perldeltaDave Rolsky2011-12-191-82/+87
| | | | | | | | | | | | | | | | - copy edited for clarity & typos - standardized on two spaces after a period - detabified - ran it through a spellchecker - ran it through podtidy one last time
| * Remove an XXX note - questions resolvedDave Rolsky2011-12-191-2/+0
| |
| * The POSIX TCSANOW appears to have been introduced in 5.15.3Dave Rolsky2011-12-191-3/+1
| |
| * Not going to document 43d9ecf eitherDave Rolsky2011-12-191-4/+0
| |
| * Not going to document f300909 in perldeltaDave Rolsky2011-12-191-1/+0
| |
| * Perldelta for b0f2e9e - buildtoc fixesDave Rolsky2011-12-191-1/+5
| |