22 months agoTemp for rjbs packaging looksee khw/podcheck
Karl Williamson [Fri, 25 Jan 2013 02:14:56 +0000]
Temp for rjbs packaging looksee

22 months agoFix various minor pod issues
Karl Williamson [Thu, 24 Jan 2013 21:41:02 +0000]
Fix various minor pod issues

These were all uncovered by the new Pod::Checker, not yet in core.
Fixing these will speed up debugging the new Checker.

22 months agoFix Pod::Checker test bug, add a TODO
Marc Green [Wed, 4 Jan 2012 17:45:19 +0000]
Fix Pod::Checker test bug, add a TODO

22 months agoStringify a L<>s node and page
Marc Green [Wed, 4 Jan 2012 17:42:41 +0000]
Stringify a L<>s node and page

By forcing stringification, the user does not need to worry about
Pod::Simple::LinkSections.

Thanks to Karl Williamson for bringing this to my attention.

22 months agoClarify documentation by copying comment from old Pod::Checker
Marc Green [Wed, 4 Jan 2012 03:19:40 +0000]
Clarify documentation by copying comment from old Pod::Checker

22 months agoChecker.pm: Trim trailing space from =head text
Karl Williamson [Wed, 14 Dec 2011 01:49:23 +0000]
Checker.pm: Trim trailing space from =head text

This allows us to use 'eq' instead of qr// to check for things, and is
what the old version did.

22 months agoCheck for empty string, not for falseness.
Marc Green [Tue, 20 Dec 2011 21:15:47 +0000]
Check for empty string, not for falseness.

Thanks to Karl Williamson for finding the bug.

22 months agoFix warnings generated due to uninitialized $flag values
Marc Green [Tue, 20 Dec 2011 21:12:17 +0000]
Fix warnings generated due to uninitialized $flag values

Thanks to Karl Williamson for pointing out the warnings.

22 months agoRemove redefined subroutines
Marc Green [Mon, 29 Aug 2011 17:21:00 +0000]
Remove redefined subroutines

They must have snuck their way in during the merge.

22 months agoUpdate MANIFEST
Marc Green [Mon, 29 Aug 2011 14:34:26 +0000]
Update MANIFEST

22 months agoRemove files that should not have been tracked
Marc Green [Mon, 29 Aug 2011 14:24:55 +0000]
Remove files that should not have been tracked

22 months agoUpdate test cases' expected results
Marc Green [Wed, 24 Aug 2011 04:54:40 +0000]
Update test cases' expected results

22 months agoBe more thorough when testing '|' and '/' escapes in L<>
Marc Green [Wed, 24 Aug 2011 03:34:58 +0000]
Be more thorough when testing '|' and '/' escapes in L<>

22 months agoFix "possible =item type mismatch" bug to be more accurate
Marc Green [Wed, 24 Aug 2011 03:13:33 +0000]
Fix "possible =item type mismatch" bug to be more accurate

22 months agoDocument that users should not use Pod::Simple's interface
Marc Green [Mon, 22 Aug 2011 14:30:31 +0000]
Document that users should not use Pod::Simple's interface

22 months agoFix bug in checking for unescaped '<'/'>'s; update some docs
Marc Green [Fri, 19 Aug 2011 02:04:11 +0000]
Fix bug in checking for unescaped '<'/'>'s; update some docs

22 months agoUpdate documentation to be more accurate
Marc Green [Thu, 18 Aug 2011 14:51:19 +0000]
Update documentation to be more accurate

22 months agoTest =item parsing more; update docs
Marc Green [Thu, 18 Aug 2011 14:21:30 +0000]
Test =item parsing more; update docs

22 months agoFix bug that makes X<>'s contents show up in node()
Marc Green [Wed, 17 Aug 2011 22:55:54 +0000]
Fix bug that makes X<>'s contents show up in node()

22 months agoTackle some TODOs, update docs, update test case
Marc Green [Wed, 17 Aug 2011 02:28:08 +0000]
Tackle some TODOs, update docs, update test case

22 months agoUpdate Pod::Checker documentation
Marc Green [Tue, 16 Aug 2011 01:07:37 +0000]
Update Pod::Checker documentation

22 months agoImplement and test multiple -warnings levels; update some docs
Marc Green [Sun, 14 Aug 2011 19:16:30 +0000]
Implement and test multiple -warnings levels; update some docs

22 months agoReplace 'itemless =over/=back block' with 'empty =over/=back block' error check;...
Marc Green [Sun, 14 Aug 2011 18:23:22 +0000]
Replace 'itemless =over/=back block' with 'empty =over/=back block' error check; clean up some docs

22 months agoImplement 'whiteline' error check
Marc Green [Sat, 13 Aug 2011 01:19:44 +0000]
Implement 'whiteline' error check

22 months agoMore Pod::Checker interface tests
Marc Green [Fri, 12 Aug 2011 23:02:29 +0000]
More Pod::Checker interface tests

22 months agoMake podchecker() %options work
Marc Green [Fri, 12 Aug 2011 23:01:16 +0000]
Make podchecker() %options work

22 months agoStart testing Pod::Checker interface
Marc Green [Tue, 9 Aug 2011 16:49:48 +0000]
Start testing Pod::Checker interface

22 months agoReturn from end_Document if no content earlier, document stuff
Marc Green [Thu, 11 Aug 2011 15:36:50 +0000]
Return from end_Document if no content earlier, document stuff

22 months agoImplement 'unescaped <> in paragraph' warning
Marc Green [Tue, 9 Aug 2011 12:32:18 +0000]
Implement 'unescaped <> in paragraph' warning

22 months agoUpdate test cases to test 'raw' L<<>> handling
Marc Green [Mon, 8 Aug 2011 17:18:40 +0000]
Update test cases to test 'raw' L<<>> handling

22 months agoUpdate '=over without a closing =back' error check for EOF
Marc Green [Sun, 7 Aug 2011 16:46:12 +0000]
Update '=over without a closing =back' error check for EOF

22 months agoRemove 'nested =begin' error check and add '=begin without =end' error check
Marc Green [Sun, 7 Aug 2011 16:18:27 +0000]
Remove 'nested =begin' error check and add '=begin without =end' error check

22 months agoMove unclosed '=begin html' to the end as to not interfere with other error checks
Marc Green [Sun, 7 Aug 2011 13:36:53 +0000]
Move unclosed '=begin html' to the end as to not interfere with other error checks

22 months agoFix bug-causing typo
Marc Green [Sun, 7 Aug 2011 13:35:48 +0000]
Fix bug-causing typo

22 months agoAdd 'empty X<>' error -- I thought Pod::Simple did this but it doesn't
Marc Green [Sun, 7 Aug 2011 12:40:56 +0000]
Add 'empty X<>' error -- I thought Pod::Simple did this but it doesn't

22 months agoAcknowledge occasional wrong line number and skip deprecated test
Marc Green [Sat, 6 Aug 2011 15:09:43 +0000]
Acknowledge occasional wrong line number and skip deprecated test

22 months agoRemove error from todo list that is already in Pod::Simple
Marc Green [Sat, 6 Aug 2011 15:08:30 +0000]
Remove error from todo list that is already in Pod::Simple

22 months agoUpdate test case to be more Pod::Simple friendly.
Marc Green [Sat, 6 Aug 2011 14:11:54 +0000]
Update test case to be more Pod::Simple friendly.

The nested =begins are now correctly closed so that Pod::Simple knows
to start caring about the POD instead of thinking it was still inside
a =begin block.

The space in the nested L<>s is removed to avoid the trailing
whitespace error from being reported.

22 months agoChange severity of nested fcodes to WARNING
Marc Green [Sat, 6 Aug 2011 14:11:21 +0000]
Change severity of nested fcodes to WARNING

22 months agoConvert errors in Pod::Simple that are warnings in Pod::Checker
Marc Green [Sat, 6 Aug 2011 13:13:13 +0000]
Convert errors in Pod::Simple that are warnings in Pod::Checker

22 months agoUpdate two error messages in POD
Marc Green [Sat, 6 Aug 2011 12:56:58 +0000]
Update two error messages in POD

22 months agoImplement two L<> related error checks
Marc Green [Sat, 6 Aug 2011 12:39:13 +0000]
Implement two L<> related error checks

22 months agoUpdate L<> handling code to use L<>'s 'raw' attribute, check for errors through Pod...
Marc Green [Thu, 4 Aug 2011 21:28:50 +0000]
Update L<> handling code to use L<>'s 'raw' attribute, check for errors through Pod::Hyperlink

22 months agoRemove errors that are already in Pod::Simple but are still quirky
Marc Green [Thu, 4 Aug 2011 21:24:30 +0000]
Remove errors that are already in Pod::Simple but are still quirky

22 months agoAdd methods to handle empty =over/=back blocks b/c Pod::Simple now triggers them
Marc Green [Thu, 4 Aug 2011 18:38:56 +0000]
Add methods to handle empty =over/=back blocks b/c Pod::Simple now triggers them

22 months agoUpdate docs to reflect the error checks I might not be able to do and do stylistic...
Marc Green [Thu, 4 Aug 2011 18:33:43 +0000]
Update docs to reflect the error checks I might not be able to do and do stylistic changes

22 months agoRemove error check already in Pod::Simple
Marc Green [Tue, 2 Aug 2011 00:41:51 +0000]
Remove error check already in Pod::Simple

22 months agoImplement nested formatting codes error check
Marc Green [Sun, 31 Jul 2011 15:40:28 +0000]
Implement nested formatting codes error check

22 months agoUpdate to test for a plethora of nested formatting codes
Marc Green [Sun, 31 Jul 2011 12:48:03 +0000]
Update to test for a plethora of nested formatting codes

22 months agoStart to write formatting code handlers
Marc Green [Sat, 30 Jul 2011 17:16:40 +0000]
Start to write formatting code handlers

22 months agoImplement nested =begin error check
Marc Green [Sat, 30 Jul 2011 13:58:38 +0000]
Implement nested =begin error check

22 months agoRemove redundant check
Marc Green [Sat, 30 Jul 2011 13:41:21 +0000]
Remove redundant check

22 months agoProcess the rest of the =items, process Data paragraphs
Marc Green [Sat, 30 Jul 2011 13:26:34 +0000]
Process the rest of the =items, process Data paragraphs

22 months agoRemove this error check -- I already implemented it
Marc Green [Sat, 30 Jul 2011 13:09:21 +0000]
Remove this error check -- I already implemented it

22 months agoExpand tests to cover more warnings/errors
Marc Green [Fri, 29 Jul 2011 15:50:48 +0000]
Expand tests to cover more warnings/errors

22 months agoRemove items already whined about in Pod::Simple (categorized at the bottom of the...
Marc Green [Fri, 29 Jul 2011 15:50:07 +0000]
Remove items already whined about in Pod::Simple (categorized at the bottom of the document)

22 months agoImplement empty list error check
Marc Green [Fri, 29 Jul 2011 13:51:28 +0000]
Implement empty list error check

22 months agoSimplify list bookkeeping internally
Marc Green [Thu, 28 Jul 2011 18:02:56 +0000]
Simplify list bookkeeping internally

22 months agoKeep track of bullet =item directives
Marc Green [Thu, 28 Jul 2011 16:12:45 +0000]
Keep track of bullet =item directives

22 months agoKeep track of =open directives
Marc Green [Thu, 28 Jul 2011 16:12:22 +0000]
Keep track of =open directives

22 months agoCombine methods handling =for and =begin blocks - both trigger the same event
Marc Green [Thu, 28 Jul 2011 13:29:17 +0000]
Combine methods handling =for and =begin blocks - both trigger the same event

22 months agoAdd hyperlink warnings, remove two non-errors/warnings
Marc Green [Thu, 28 Jul 2011 13:14:28 +0000]
Add hyperlink warnings, remove two non-errors/warnings

22 months agoCombine method that handles =pod/=cut directives
Marc Green [Wed, 27 Jul 2011 21:45:06 +0000]
Combine method that handles =pod/=cut directives

22 months agoAdd a 'pod_handler' option to Pod::Simple, similar to 'cut_handler'.
Marc Green [Wed, 27 Jul 2011 21:21:00 +0000]
Add a 'pod_handler' option to Pod::Simple, similar to 'cut_handler'.

In an effort to be complete, this commit introduces an option that allows
the user to handle '=pod' directive lines.

This commit consists of the added code, documentation, and test cases,
and it removes my previous attempt at allowing =pod lines to be handled,
as that broke tests.

22 months agoWrite some skeleton methods
Marc Green [Wed, 27 Jul 2011 20:03:57 +0000]
Write some skeleton methods

22 months agoCopy list helper methods, reorganize some code, implement 2 more error checks.
Marc Green [Tue, 26 Jul 2011 18:11:36 +0000]
Copy list helper methods, reorganize some code, implement 2 more error checks.

I copied over _open_list and _close_list to help with managing =over
and =back blocks. In doing so I took care of an error check testing
if the previous =item had any content.

I moved some code in new() around to organize it, and I renamed
init_event to _init_event.

Also, another error check, one testing if there is an =over without
a matching =back has been *mostly* implemented. I still need to write
the code to manage lists, but the error checks themselves are already
in place.

22 months agoAccept all =begin/=for targets in order to check them all
Marc Green [Mon, 25 Jul 2011 15:43:06 +0000]
Accept all =begin/=for targets in order to check them all

22 months agoTrigger an event for =pod directives for completeness
Marc Green [Mon, 25 Jul 2011 13:08:49 +0000]
Trigger an event for =pod directives for completeness

22 months agoHandle =cut and =pod directives, implement error checks for them
Marc Green [Mon, 25 Jul 2011 13:06:58 +0000]
Handle =cut and =pod directives, implement error checks for them

22 months agoTake note of all =head directives
Marc Green [Mon, 25 Jul 2011 13:05:36 +0000]
Take note of all =head directives

22 months agoClean up code in new(), comment out whine and scream for now
Marc Green [Mon, 25 Jul 2011 13:04:14 +0000]
Clean up code in new(), comment out whine and scream for now

22 months agoMake a list of errors/warnings left to implement
Marc Green [Sun, 24 Jul 2011 20:14:59 +0000]
Make a list of errors/warnings left to implement

22 months agoStart writing the event handling methods, update docs and code too
Marc Green [Sun, 24 Jul 2011 22:32:36 +0000]
Start writing the event handling methods, update docs and code too

This is a large commit because I got carried away and forgot to commit
throughout my additions. Within it lies several formatting updates to
the existing code (such as $hash{key} -> $hash{'key'}), a few documentation
updates, and a bunch of new code.

The new code is mostly Pod::Simple::Methody event subroutines, but I also
overrode whine() and scream() of Pod::Simple, among other changes.

The event subroutines still need a lot of work, but I have gotten some
basework down, and I have also ported three of Pod::Checker's errors/warnings
over.

22 months agoRemove Pod::Parser cruft, update some documentation
Marc Green [Sun, 24 Jul 2011 22:17:44 +0000]
Remove Pod::Parser cruft, update some documentation

22 months agoCopy the errors/warnings for which Pod::Checker checks
Marc Green [Fri, 22 Jul 2011 14:28:30 +0000]
Copy the errors/warnings for which Pod::Checker checks

22 months agoMake a list of all the errors Pod::Simple whines and screams about
Marc Green [Fri, 22 Jul 2011 14:15:36 +0000]
Make a list of all the errors Pod::Simple whines and screams about

22 months agoFix various minor pod issues
Karl Williamson [Thu, 24 Jan 2013 21:41:02 +0000]
Fix various minor pod issues

These were all uncovered by the new Pod::Checker, not yet in core.
Fixing these will speed up debugging the new Checker.

22 months agoperldelta for a951350815 (PerlIO-scalar)
Tony Cook [Fri, 25 Jan 2013 00:28:11 +0000]
perldelta for a951350815 (PerlIO-scalar)

22 months ago[perl #109828] disallow scalar I/O on non-byte strings
Tony Cook [Thu, 24 Jan 2013 23:42:37 +0000]
[perl #109828] disallow scalar I/O on non-byte strings

22 months agowarn and fail on writes to SVf_UTF8 SVs
Tony Cook [Thu, 24 Jan 2013 10:37:25 +0000]
warn and fail on writes to SVf_UTF8 SVs

22 months agoTODO tests for writing to a SVf_UTF8 scalar
Tony Cook [Thu, 24 Jan 2013 22:56:14 +0000]
TODO tests for writing to a SVf_UTF8 scalar

22 months agohandle reading from a SVf_UTF8 scalar
Tony Cook [Thu, 24 Jan 2013 22:56:01 +0000]
handle reading from a SVf_UTF8 scalar

if the scalar can be downgradable, it is downgraded and the read succeeds.

Otherwise the read fails, producing a warning if enabled and setting
errno/$! to EINVAL.

22 months agoTODO tests for reads from a scalar changed to upgraded after open
Tony Cook [Mon, 31 Dec 2012 02:33:02 +0000]
TODO tests for reads from a scalar changed to upgraded after open

22 months agobump PerlIO::scalar's version
Tony Cook [Mon, 31 Dec 2012 00:48:24 +0000]
bump PerlIO::scalar's version

22 months agodocument the new warning
Tony Cook [Thu, 24 Jan 2013 03:38:21 +0000]
document the new warning

22 months agofail to open scalars containing characters that don't fit in a byte
Tony Cook [Thu, 24 Jan 2013 10:29:32 +0000]
fail to open scalars containing characters that don't fit in a byte

22 months agoTODO tests for opening upgraded scalars
Tony Cook [Thu, 24 Jan 2013 03:35:25 +0000]
TODO tests for opening upgraded scalars

22 months agoPorting/todo.pod: Add task to clean up pods
Karl Williamson [Thu, 24 Jan 2013 16:59:47 +0000]
Porting/todo.pod: Add task to clean up pods

22 months agoUpdate Digest-SHA to CPAN version 5.82
Chris 'BinGOs' Williams [Thu, 24 Jan 2013 12:28:56 +0000]
Update Digest-SHA to CPAN version 5.82

  [DELTA]

  5.82  Thu Jan 24 04:54:12 MST 2013
    - introduced workaround to SvPVbyte bug in Perl 5.6
        -- module behavior now consistent under all Perls 5.6+
            -- ref: new test script t/unicode.t
        -- SHA routines now always croak on wide chars (5.6+)
    - removed "static" message schedules from C code
        -- default "auto" is now just as fast
        -- thread-safe option (-t) no longer necessary
            -- still allowed, but ignored
        -- simplifies source and header files
            -- eliminates SHA_STO_CLASS and SHA_THREAD_SAFE
            -- ref. Bug #82784
        -- thanks to Steve Hay for initial patch
    - provided documentation to describe Unicode handling
        -- ref: Bug #82378
    - updated documentation of NIST statement on SHA-1

22 months agoUpdate Module-Pluggable to CPAN version 4.6
Chris 'BinGOs' Williams [Thu, 24 Jan 2013 07:48:35 +0000]
Update Module-Pluggable to CPAN version 4.6

  [DELTA]

  2013-01-23 - 4.6
      Add warning about future removal from core

22 months agoMake sure that Test-Harness customisations are declared and checked.
Chris 'BinGOs' Williams [Thu, 24 Jan 2013 07:24:23 +0000]
Make sure that Test-Harness customisations are declared and checked.

22 months agoVMS nits in cpan/Test-Harness/t/source.t
Craig A. Berry [Fri, 31 Dec 2010 01:45:13 +0000]
VMS nits in cpan/Test-Harness/t/source.t

[Reapplying ada6eeb82df as it's still awaiting application
upstream two years later and the things it fixes get broken
again every time a new version of Test::Harness is brought
into blead.]

1.)  Can't get the basename of a directory in native format.

2.)  Symlinks still a bit dodgy -- skip tests for now.

Submitted upstream at:

https://rt.cpan.org/Ticket/Display.html?id=64353

22 months agoTypo in perl5178delta
Karl Williamson [Tue, 22 Jan 2013 21:02:27 +0000]
Typo in perl5178delta

Spotted by Hugo van der Sanden

22 months agoAdd deprecation warning for literal PATWS under /x
Karl Williamson [Tue, 22 Jan 2013 20:34:54 +0000]
Add deprecation warning for literal PATWS under /x

This is explained in the perldelta changes in this commit.  We plan to
migrate to Unicode's definition of white-space to ignore under /x.  That
means we should raise a deprecation warning in the meantime if anyone
currently uses these characters in such a way as to have the meaning
changed when the migration is completed.

22 months agoregcomp.c: Add macro for generating deprecated warnings
Karl Williamson [Tue, 22 Jan 2013 20:35:15 +0000]
regcomp.c: Add macro for generating deprecated warnings

This will be used in a future commit

22 months agoregcomp.c: Add comments; no code changes
Karl Williamson [Tue, 22 Jan 2013 20:32:01 +0000]
regcomp.c: Add comments; no code changes

22 months agoregcharclass.h: Add macro for non-ASCII PATWS
Karl Williamson [Tue, 22 Jan 2013 20:30:01 +0000]
regcharclass.h: Add macro for non-ASCII PATWS

This will be used to deprecate uses of non-ASCII Pattern White Space

22 months ago/regen/regcharclass.pl: white-space only; no code changes
Karl Williamson [Tue, 22 Jan 2013 20:29:10 +0000]
/regen/regcharclass.pl: white-space only; no code changes

22 months agoregen/regcharclass.pl: Add capability
Karl Williamson [Tue, 22 Jan 2013 20:27:44 +0000]
regen/regcharclass.pl: Add capability

This allows one to generate macros that exclude just the ASCII range

22 months agoreg_mesg.t: Remove repetitious boiler plate
Karl Williamson [Tue, 22 Jan 2013 20:23:06 +0000]
reg_mesg.t: Remove repetitious boiler plate

All the messages have boiler plate that can be removed and inserted by
the subroutine that does insertion anyway.