summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Bring core up to version-0.9902John Peacock2013-03-077-7/+19
| | | | | | | | | | | | | | The attached patch bring the core Perl version code (including a fairly significant leak when run in a tight loop) up to parity with CPAN 0.9902. This deals with all open issues except: https://rt.cpan.org/Ticket/Display.html?id=81294 which I am having a hard time modeling. John Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
* Bump File::Copy version as the contents have changedChris 'BinGOs' Williams2013-03-051-1/+1
|
* fix pod: add missing 'C' of inline code tagsreneeb2013-03-041-2/+2
|
* revert: Benchmark iteration warnings should warnDavid Mitchell2013-03-011-2/+2
| | | | | | | | | | | | | | | | This commit reverts: commit a820780c62918236069b3b55502640c99a9e812a Author: David Golden <dagolden@cpan.org> AuthorDate: Tue Feb 5 22:23:37 2013 -0500 Commit: David Golden <dagolden@cpan.org> CommitDate: Tue Feb 5 22:49:36 2013 -0500 Benchmark iteration warnings should warn, not print because the warnings appearing on STDERR weren't being trapped by Benchmark.t (see [perl #116831]). Revert for now, and re-address after 5.18.
* Skip chflags tests in filetests.t on dragonflybsdChris 'BinGOs' Williams2013-03-011-0/+1
| | | | | | | | | | | | | | | | | | | | DragonflyBSD's file tests don't seem to be chflags-aware: $ touch foo $ if [ -w foo ]; then echo "Yes"; fi Yes $ chflags uchg foo $ if [ -w foo ]; then echo "Yes"; fi Yes versus FreeBSD: $ touch foo $ if [ -w foo ]; then echo "Yes"; fi Yes $ chflags uchg foo $ if [ -w foo ]; then echo "Yes"; fi $
* Skip tests in File::Copy tests on DragonflyBSD tooChris 'BinGOs' Williams2013-03-011-0/+3
| | | | Setting 0100, 0300 and 0500 on files is totally non-reversable
* Remove /Net from lib/.gitignoreChris 'BinGOs' Williams2013-02-261-1/+0
| | | | | Using git clean -dXf would remove all files from lib/Net including tracked files.
* Revert "Lookup overloaded assignment operators when trying to swap the ↵Ricardo Signes2013-02-261-1/+1
| | | | | | | | | | | | arguments" This reverts commit f041cf0f9c6469c41de8b73d5f7b426710c3ff8b. This is reverted in reference to [perl #113834]. Although this commit does fix a real bug, it introduces a new one that is arguably worse. More importantly, it is a regression from 5.16.0. We should produce a test case that solves both bugs, then solve them both, then get that in place. Before 5.18.0 would be nice. After 5.18.0 may have to do.
* Add, fix commentsKarl Williamson2013-02-251-2/+2
|
* Unicode/UCD.pm: Fix undef bugKarl Williamson2013-02-251-2/+2
| | | | | This only happens should Perl be compiled on the very first Unicode release, which is extremely unlikely, but fix it anyway.
* Document \s change for VT, commit 075b9d7d9a6d4473b240a047655e507c8baa6db3Karl Williamson2013-02-241-2/+2
|
* put an experimental warning on lexical topicRicardo Signes2013-02-201-9/+12
|
* utf8_heavy.pl: Add 'use re "/aa"'Karl Williamson2013-02-171-0/+2
| | | | | | | | This would speed up compilation and execution by a trivial amount, but makes sure that no regular expression even tries to compile in Unicode, which could cause recursive invocation of this. Before this construct was invented, special care had to be taken to keep that from happening; those measures remain in effect, but this gives added insurance.
* In warnings.pm, delete a hash slice, instead of using a loop.Nicholas Clark2013-02-171-2/+2
| | | | | | | Deleting a hash slice compiles 5 fewer ops, and executes 21 fewer than looping over the keys to delete each in turn. Whilst this is arguably a micro-optimisation, it does not increase obfuscation and is in code loaded by nearly every Perl program, so feels worthwhile.
* charnames.pm: Nit in podKarl Williamson2013-02-162-3/+3
|
* Unicode::UCD: Add examples to podKarl Williamson2013-02-161-3/+11
|
* lib/Unicode/UCD.pm: Clarify podKarl Williamson2013-02-151-2/+3
|
* Enable perl core tests to pass when locale support is not available.Jess Robinson2013-02-092-1/+18
| | | | | | | | use locale - this will now die if $Config{d_setlocale} is not true. All tests that use locale will skip if $Config{d_setlocale} is not true. This enables us to pass tests on Android which uses ICU instead of locales. The committer removed trailing white space
* Benchmark iteration warnings should warn, not printDavid Golden2013-02-051-2/+2
|
* Update lib/.gitignore to include Config-Perl-V generated fileChris 'BinGOs' Williams2013-01-261-0/+2
|
* prevent failures deep in value dumping from abortingRicardo Signes2013-01-252-1/+26
| | | | | | | | | | | | | | | | Sometimes, dumpvar's dumpvalue routine gets a value it can't dump. The simplest example to contrive is the one in this test: a tied hash that can't tell you its keys. Until now, this would cause the whole dump to abort as soon as it failed to dump one part. With this commit, each stringify or unwind is inside an eval. Failed stringifications or unwindings are replaced with a placeholder showing the error. unwind uses return to stop early, and rather than go through contortions to wrap the eval in something that can then return 1 to test that eval worked, I've just asserted that this code requires 5.14.0, which made $@ a much more reliable indicator of failure after eval.
* release the global struct *after* we've finished using itTony Cook2013-01-251-4/+4
|
* Fix various minor pod issuesKarl Williamson2013-01-245-11/+11
| | | | | These were all uncovered by the new Pod::Checker, not yet in core. Fixing these will speed up debugging the new Checker.
* Allow slop on a few locale testsKarl Williamson2013-01-121-0/+22
| | | | | | | | | | | | | Four recently introduced tests in locale.t fail for two locales of all the ones that get tested in our smoke farm. I investigated the failures and it looks to me like the problem in each case is that the locale definition is defective. The tests were added because of finding and fixing a bug in Perl, so I don't want to remove them. Instead these 4 tests will be marked as TODO if at least 95% of locales pass on any given machine. This works for our current smokers.
* Create new warnings category experimental::regex_setsKarl Williamson2013-01-111-7/+10
| | | | | | | | | This on-by-default warning will be raised upon use of the soon-to-be-delivered regex sets feature. The syntax used is currently invalid, so no feature activation is necessary. The purpose of this warning is to make sure that any user is properly notified that this feature is experimental and subject to change
* charnames: Deprecate character names with spacing issuesKarl Williamson2013-01-041-0/+13
| | | | | | | A user-defined character name with trailing or multiple spaces in a row is likely a typo, and hence likely won't match what the other uses of it. These names also won't work if we extend :loose to these. This now generates a warning.
* charnames: :alias alone implies :fullKarl Williamson2013-01-042-7/+9
| | | | | | | | | The documentation says this is how it should behave, but only 1 of the three paths in the code did it, and in fact there was a test to the contrary. I'm only adding a test for one of the two fixed paths, as the other one appears to require a weird file name.
* charnames: Enforce better file name rulesKarl Williamson2013-01-041-1/+1
| | | | | The code says that identifier syntax is required for a file name, but the code accepted any sequence of \w's.
* charnames: comment, error message clarificationsKarl Williamson2013-01-041-2/+2
|
* charnames pod: Typo, clarificationKarl Williamson2013-01-042-5/+5
|
* bump $VERSION for lib/perl5db.plTony Cook2013-01-021-1/+1
| | | | There's been a release since this change was submitted.
* Missing test count.Shlomi Fish2013-01-021-1/+1
| | | | Merge-SNAFU.
* Fix perl -d's 'w $my_lexical_variable'.Shlomi Fish2013-01-022-34/+62
| | | | | This was done by reverting parts of the offending commit from the git bisecting and adding a test. Thanks to Kevin Dawson for the report.
* Start refactoring "sub restart".Shlomi Fish2013-01-021-20/+24
|
* Extract _dump_trace_calc_saved_single_arg.Shlomi Fish2013-01-021-31/+35
|
* Extract _dump_trace_calc_save_args.Shlomi Fish2013-01-021-35/+43
|
* Avoid pre-declarations.Shlomi Fish2013-01-021-2/+2
|
* Fixed the test - it passes now.Shlomi Fish2013-01-021-1/+1
| | | | | Thanks to Father Chrysostomos for fixing the bug in blead, I was now able to fix the test in the debugger.
* Add a testcase for the bug.Shlomi Fish2013-01-021-0/+24
| | | | | | | | It is caused by $obj spontaneously becoming undef for no good reason - seems like a bug in the perl interpreter (or elsewhere). This was noticed by Father C here: https://rt.perl.org/rt3/Ticket/Display.html?id=114926
* Extract _cmd_L_handle_postponed_breakpoints.Shlomi Fish2013-01-021-18/+28
|
* Add empty lines and an explicit return.Shlomi Fish2013-01-021-0/+4
|
* Remove a no-longer needed comment.Shlomi Fish2013-01-021-1/+1
|
* Extract a subroutine.Shlomi Fish2013-01-021-36/+44
|
* Extract some duplicate code into a closure.Shlomi Fish2013-01-021-21/+18
|
* Some refactoring.Shlomi Fish2013-01-021-23/+40
|
* Start refactoring cmd_L.Shlomi Fish2013-01-021-13/+20
|
* Remove an unused parameter.Shlomi Fish2013-01-021-2/+1
|
* Remove a redundant line.Shlomi Fish2013-01-021-1/+0
|
* Rename vars to remove ambiguity.Shlomi Fish2013-01-021-10/+9
|
* [perl5db] Extract.Shlomi Fish2013-01-021-6/+12
|