summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos in pod/perldelta.podv5.15.8release-5.15.8Max Maischein2012-02-201-5/+0
|
* Update pod/perldelta.pod from the version numbersMax Maischein2012-02-201-33/+77
|
* add new release to perlhistMax Maischein2012-02-201-0/+1
|
* Update Module::CoreList for v5.15.8Max Maischein2012-02-203-27/+722
|
* Clean out XXX in preparation for Module::CoreList updateMax Maischein2012-02-201-195/+3
|
* Bump versions from 5.15.7 to 5.15.8Max Maischein2012-02-2023-148/+148
|
* Update perldelta.pod for 5.15.8 for reviewMax Maischein2012-02-201-59/+48
| | | | | Pending remains the list of changed/upgraded module versions, to be done after the version bump.
* handy.h: Silence Solaris compiler warningKarl Williamson2012-02-191-1/+1
| | | | | Making this an unsigned constant silences the scary and wrong Solaris warnings about integer overflow
* podcheck.t: Typo in podKarl Williamson2012-02-191-1/+1
|
* Avoid defining the same global between perl and re.pmTony Cook2012-02-201-1/+5
| | | | | | This caused -Uusedl builds to fail due to the duplicate symbol. A more complex fix can be expected after 5.16.
* Make t/porting/authors.t work on WindowsMax Maischein2012-02-191-1/+2
| | | | | | | The Windows shell cmd.exe does not know about single quotes. Double quotes are the only thing available here. This patch selects the kind of quote to use based on the operating system and constructs the pipeline accordingly.
* Revert updates to compression librariesRicardo Signes2012-02-1959-1224/+914
| | | | | | | | | | | Revert "Update Compress-Raw-Bzip2 to CPAN version 2.049" This reverts commit db98b5a25ac5537be04f17243c5e929aceb3560b. Revert "Update Compress-Raw_Zlib to CPAN version 2.049" This reverts commit 8b782679b6ea1247bd559efc311e7366582feaad. Revert "Update IO-Compress to CPAN version 2.049" This reverts commit 785e05e1c22f7d7c6ed38839cc28cc6d13a286de.
* epigraphs.pod: Rmv illegal spaces after | in L<>Karl Williamson2012-02-191-3/+3
|
* perlintro: Add missing closing ">"Karl Williamson2012-02-191-1/+1
|
* ...and add unadded fileRicardo Signes2012-02-191-0/+1
|
* remove MANIFEST entries for pruned filesRicardo Signes2012-02-191-2/+0
|
* Refactor the Tk event loop to allow for other event loopsMax Maischein2012-02-194-148/+161
| | | | | | Term::ReadLine supports any event loop, including unpubished ones and simple IO::Select loops without the need to rewrite existing code for any particular framework.
* In S_validate_suid(), move declarations after the first statement.Nicholas Clark2012-02-191-2/+2
| | | | | Otherwise exacting C89 compilers refuse to build the code. And at least one Win32 compiler is exacting on this.
* Refactor code in Data::Dumper to assume that >=5.8.0 is the common case.Nicholas Clark2012-02-192-19/+36
| | | | | | | | | The 5.8.0 versions of &init_refaddr_format and &format_refaddr are now compiled by default, and then redefined with their 5.6.x replacements if it turns out that we're on 5.6.1 or 5.6.2. Previously both versions were compiled, and the correct pair bound using typeglob assignment.
* Fix typo in 985213f2fede57.Craig A. Berry2012-02-181-1/+1
| | | | Which broke the build on both VMS and Win32.
* Remove gete?[ug]id cachingÆvar Arnfjörð Bjarmason2012-02-1812-115/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we cache the UID/GID and effective UID/GID similarly to how we used to cache getpid() before v5.14.0-251-g0e21945. Remove this magical behavior in favor of always calling getpid(), getgid() etc. This resolves RT #96208. A minimal testcase for this is the following by Leon Timmermans attached to RT #96208: eval { require 'syscall.ph'; 1 } or eval { require 'sys/syscall.ph'; 1 } or die $@; if (syscall(&SYS_setuid, $ARGV[0] + 0 || 1000) >= 0 or die "$!") { printf "\$< = %d, getuid = %d\n", $<, syscall(&SYS_getuid); } I.e. if we call the sete?[ug]id() functions unbeknownst to perl the $<, $>, $( and $) variables won't be updated. This results in the same sort of issues we had with $$ before v5.14.0-251-g0e21945, and getppid() before my v5.15.7-407-gd7c042c patch. I'm completely eliminating the PL_egid, PL_euid, PL_gid and PL_uid variables as part of this patch, this will break some CPAN modules, but it'll be really easy before the v5.16.0 final to reinstate them. I'd like to remove them to see what breaks, and how easy it is to fix it. These variables are not part of the public API, and the modules using them could either use the Perl_gete?[ug]id() functions or are working around the bug I'm fixing with this commit. The new PL_delaymagic_(egid|euid|gid|uid) variables I'm adding are *only* intended to be used internally in the interpreter to facilitate the delaymagic in Perl_pp_sassign. There's probably some way not to export these to programs that embed perl, but I haven't found out how to do that.
* Add t/porting/pending-author.t, fixing a limitation of t/porting/authors.tNicholas Clark2012-02-183-0/+70
| | | | | | | | | t/porting/pending-author.t attempts to avoid the problem of C<make test> passing 100%, but the subsequent git commit causing F<t/porting/authors.t> to fail, because it uses a "new" e-mail address. This test is only run if one is building inside a git checkout, B<and> one has made local changes. Otherwise it's skipped.
* t/porting/authors.t only needs to pass the Author to checkAUTHORS.plNicholas Clark2012-02-181-1/+1
| | | | | | | | | Commit 3ea0c581844689ab didn't go far enough in pruning the input. When Porting/checkAUTHORS.pl is invoked with --tap it uses parse_commits_from_stdin_authors() instead of parse_commits_from_stdin(), which only looks for lines matching /^Author:/ This reduces runtime by a further 8%.
* Correct the location of t/porting/perlfunc.t in perldelta.podNicholas Clark2012-02-181-3/+3
| | | | | It was somewhere completely wrong, thanks to no human double checking of a git rebase during development.
* Longer filenames for while_readdir.t.Craig A. Berry2012-02-181-1/+1
| | | | | | | | | | | | With filenames varying between only one and five characters in length, it was fairly easy to get two files differing only in case ('A' and 'a', for example). Which on non-case-sensitive file systems could generate a warning at unlink time because it would unlink 'a' and then check for the existence of 'a' and get true because 'A' was still there and indistinguishable from 'a'. So just use longer filenames to make the possibility of collision vanishingly small.
* perlvar: $] is not deprecatedFather Chrysostomos2012-02-181-2/+0
| | | | See <20011022034838.B1676@blackrider> and commit 0c8d858bc.
* Update IO-Compress to CPAN version 2.049Chris 'BinGOs' Williams2012-02-1834-147/+185
| | | | | | | | | | [DELTA] 2.049 18 February 2012 * IO::Compress::Zip Error in t/cz-03zlib-v1.t that caused warnings with 5.15 [RT# 110736: warnings from cpan/IO-Compress/t/cz-03zlib-v1.t]
* Update Compress-Raw_Zlib to CPAN version 2.049Chris 'BinGOs' Williams2012-02-1823-759/+1027
| | | | | | | | [DELTA] 2.049 30 January 2012 * Include zlib 1.2.6 source.
* Update Compress-Raw-Bzip2 to CPAN version 2.049Chris 'BinGOs' Williams2012-02-186-8/+12
| | | | | | | | [DELTA] 2.049 18 February 2012 * No Changes
* Update perlfaq to CPAN version 5.0150039Chris 'BinGOs' Williams2012-02-188-63/+31
| | | | | | | | | | [DELTA] 5.0150039 Sat 18 Feb 2012 15:33:17 +0100 * Rewrite "How do I create a module?" (ranguard) * Remove more old questions (ranguard) * Improve Email::MIME example (madsen) * Fix to regex (RT #74215)
* populate the Future Deprecations sectionRicardo Signes2012-02-181-0/+58
| | | | | These items aggregate the bullets put forth on the perl5-porters list, omitting those to which there was an immediate objection.
* Merge the Pod::Functions refactoring to blead.Nicholas Clark2012-02-1815-434/+917
|\
| * Describe the update to Pod::Functions in perldelta.Nicholas Clark2012-02-181-0/+8
| |
| * Add metadata to perlfunc.pod for which version or feature added a function.Nicholas Clark2012-02-182-14/+16
| | | | | | | | | | | | Whilst this isn't used (yet), it makes sense to put it in now, before any external program decides that parsing the private Pod::Function blocks in perlfunc.pod is fair game, and then becomes dependent on their format.
| * Test that Pod::Function's descriptions are stylistically consistent.Nicholas Clark2012-02-181-1/+9
| | | | | | | | | | Function descriptions should start with a lowercase letter, or the proper noun SysV.
| * Test that functions in the groups in perlfunc.pod are in sorted order.Nicholas Clark2012-02-181-0/+11
| | | | | | | | | | This ensures consistency in the documentation, and that the functions in %Pod::Functions::Kinds are in sorted order.
| * Test that every function in perlfunc.pod has a summary for Pod::Functions.Nicholas Clark2012-02-182-5/+19
| | | | | | | | | | Historically Pod::Functions has failed to get updated when functions are added. This should solve that.
| * Add t/porting/perlfunc.t so that porting tests catch problems with perlfuncNicholas Clark2012-02-184-2/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | Pod::Functions is now generated from pod/perlfunc.pod by ext/Pod-Functions/Functions_pm.PL If it can't parse pod/perlfunc.pod, it will abort, which will cause the build to break. It's really not possible for it to carry on, hence aborting is the only option. However, innocent-seeming changes to documentation shouldn't break the build, and we expect everyone to run (at least) the porting tests, hence this test, to catch such problems before it's too late. To avoid duplicating the parsing logic, we make Functions_pm.PL take a --tap option, to test that all is well.
| * In the generated Pod::Functions, store all function data with tab separation.Nicholas Clark2012-02-181-6/+5
| | | | | | | | | | Previously the data was stored with a comma separated list inside a tab separated list.
| * Generate Pod::Functions from perlfunc.podNicholas Clark2012-02-182-255/+110
| | | | | | | | This avoids it getting out of synchronisation.
| * Add a dependency for ext/Pod-Functions/Functions_pm.PL on pod/perlfunc.podNicholas Clark2012-02-185-5/+23
| | | | | | | | | | This ensures that it gets re-run, and lib/Pod/Functions.pm rebuilt, if perlfunc.pod is changed.
| * Ensure Pod::Simple is built before Pod::Functions.Nicholas Clark2012-02-182-2/+5
| | | | | | | | | | This will allow Pod::Functions to use Pod::Simple as part of its build process.
| * Change ext/Pod-Functions to generate Functions.pm from a Perl script.Nicholas Clark2012-02-183-1/+41
| | | | | | | | For the first step, simply output the current file in one hit.
| * Add annotations to perlfunc.pod for Pod::Functions.Nicholas Clark2012-02-181-0/+498
| | | | | | | | | | | | | | | | In the list for "Perl Functions by Category" each item is annotated with its type as used internally by Pod::Functions. In the "Alphabetical Listing of Perl Functions" each function is annotated with the summary description returned by %Pod::Functions::Flavor.
| * Move Pod::Functions from lib/ to ext/Nicholas Clark2012-02-185-14/+10
| |
| * Bring the joy of strict and warnings to Functions.tNicholas Clark2012-02-181-5/+7
| | | | | | | | | | This reveals that use_ok() was not in a BEGIN block, and in turn that the test count needs to be declared before this BEGIN block runs. Now fixed.
| * Terser code in Pod::Functions to generate $Type_Description and @Type_Order.Nicholas Clark2012-02-181-48/+27
| |
| * Teach Pod::Functions that each, keys and values also operate on arrays.Nicholas Clark2012-02-182-4/+4
| | | | | | | | | | | | | | These were added to the section 'Functions for real @ARRAYs' in perlfunc.pod by commit a5ce339cb0c533c9 in Sep 2010. As ever, tweak the golden results in the test to match these changes.
| * Add all missing functions to Pod::Functions.Nicholas Clark2012-02-182-13/+22
| | | | | | | | | | | | | | | | | | | | | | evalbytes was added to perlfunc.pod by commit 7289c5e6ca773d7c in Nov 2011. fc was added to perlfunc.pod by commit 628253b8ba8b9cbe in Jan 2012. say was added by commit 0d863452f5cac863 in Dec 2005. state was added.pod by commit 36fb85f3330d45ee in Jul 2006. __FILE__, __LINE__ and __PACKAGE__ were added by commit cfa52385fa426b5e in Aug 2011, and __SUB__ by commit 84ed01088568ffe9 in Nov 2011. Again, tweak the golden results in the test to match these changes.
| * Teach Pod::Functions about 'Keywords related to the switch feature'.Nicholas Clark2012-02-182-4/+13
| | | | | | | | | | | | | | Commit 0d863452f5cac863 in Dec 2005 added the switch feature, along with documentation in perlfunc.pod, but did not update Pod::Functions. Again, tweak the golden results in the test to match these changes.