r26229 - in /trunk/libtext-markdown-perl: Changes MANIFEST META.yml Makefile Makefile.PL README Todo debian/changelog lib/Text/Markdown.pm lib/Text/MultiMarkdown.pm t/20fulldocs-text-multimarkdown.t t/rt37909.t

ansgar-guest at users.alioth.debian.org ansgar-guest at users.alioth.debian.org
Sat Oct 25 16:13:48 UTC 2008


Author: ansgar-guest
Date: Sat Oct 25 16:13:45 2008
New Revision: 26229

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=26229
Log:
New upstream release.

Added:
    trunk/libtext-markdown-perl/Makefile
      - copied unchanged from r26228, branches/upstream/libtext-markdown-perl/current/Makefile
    trunk/libtext-markdown-perl/t/rt37909.t
      - copied unchanged from r26228, branches/upstream/libtext-markdown-perl/current/t/rt37909.t
Modified:
    trunk/libtext-markdown-perl/Changes
    trunk/libtext-markdown-perl/MANIFEST
    trunk/libtext-markdown-perl/META.yml
    trunk/libtext-markdown-perl/Makefile.PL
    trunk/libtext-markdown-perl/README
    trunk/libtext-markdown-perl/Todo
    trunk/libtext-markdown-perl/debian/changelog
    trunk/libtext-markdown-perl/lib/Text/Markdown.pm
    trunk/libtext-markdown-perl/lib/Text/MultiMarkdown.pm
    trunk/libtext-markdown-perl/t/20fulldocs-text-multimarkdown.t

Modified: trunk/libtext-markdown-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-markdown-perl/Changes?rev=26229&op=diff
==============================================================================
--- trunk/libtext-markdown-perl/Changes (original)
+++ trunk/libtext-markdown-perl/Changes Sat Oct 25 16:13:45 2008
@@ -190,3 +190,9 @@
         - More test additions and more splitting the test suites into MDTest 
           modules.
 
+1.0.22 2008-10-23T18:24:44
+        - RT#37909 - Fix + in email addresses.
+        - RT#40303 - Fix use in Mason by adding "use re 'eval'" to both files.
+        - Add SVN repository to Makefile.PL
+        - Remove META.yml from source control so it is regenerated 
+          automatically.

Modified: trunk/libtext-markdown-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-markdown-perl/MANIFEST?rev=26229&op=diff
==============================================================================
--- trunk/libtext-markdown-perl/MANIFEST (original)
+++ trunk/libtext-markdown-perl/MANIFEST Sat Oct 25 16:13:45 2008
@@ -1,5 +1,3 @@
-inc/Module/Install/Makefile.pm
-Makefile.PL
 Changes
 inc/Module/Install.pm
 inc/Module/Install/Base.pm
@@ -426,6 +424,7 @@
 t/PHP_Markdown-from-MDTest1.1.mdtest/PHP-Specific_Bugs.xhtml
 t/PHP_Markdown-from-MDTest1.1.mdtest/Tight_blocks.text
 t/PHP_Markdown-from-MDTest1.1.mdtest/Tight_blocks.xhtml
+t/rt37909.t
 t/Text-Markdown.mdtest/CoreDumps5.8.text
 t/Text-Markdown.mdtest/CoreDumps5.8.xhtml
 t/Text-Markdown.mdtest/Emphasis.text

Modified: trunk/libtext-markdown-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-markdown-perl/META.yml?rev=26229&op=diff
==============================================================================
--- trunk/libtext-markdown-perl/META.yml (original)
+++ trunk/libtext-markdown-perl/META.yml Sat Oct 25 16:13:45 2008
@@ -1,22 +1,29 @@
-abstract: Convert Markdown syntax to (X)HTML
-author: Tomas Doran <bobtfish at bobtfish.net>
-build_requires: 
+---
+abstract: 'Convert Markdown syntax to (X)HTML'
+author:
+  - 'Tomas Doran <bobtfish at bobtfish.net>'
+build_requires:
   File::Slurp: 0
   FindBin: 0
   List::MoreUtils: 0
   Test::Exception: 0
   Test::More: 0.42
 distribution_type: module
-generated_by: Module::Install version 0.64
+generated_by: 'Module::Install version 0.75'
 license: bsd
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.3.html
+  version: 1.3
 name: Text-Markdown
-no_index: 
-  directory: 
+no_index:
+  directory:
     - inc
     - t
-requires: 
+requires:
   Digest::MD5: 0
   Encode: 0
   Text::Balanced: 0
   perl: 5.8.0
-version: 1.0.20
+resources:
+  repository: http://svn.kulp.ch/cpan/text_multimarkdown
+version: 1.0.22

Modified: trunk/libtext-markdown-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-markdown-perl/Makefile.PL?rev=26229&op=diff
==============================================================================
--- trunk/libtext-markdown-perl/Makefile.PL (original)
+++ trunk/libtext-markdown-perl/Makefile.PL Sat Oct 25 16:13:45 2008
@@ -6,6 +6,7 @@
 author          'Tomas Doran <bobtfish at bobtfish.net>';
 license			'bsd';
 all_from        'lib/Text/Markdown.pm';
+resources repository => 'http://svn.kulp.ch/cpan/text_multimarkdown';
 
 # Specific dependencies
 perl_version    '5.008';

Modified: trunk/libtext-markdown-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-markdown-perl/README?rev=26229&op=diff
==============================================================================
--- trunk/libtext-markdown-perl/README (original)
+++ trunk/libtext-markdown-perl/README Sat Oct 25 16:13:45 2008
@@ -40,7 +40,7 @@
 
 OPTIONS
     Text::Markdown supports a number of options to it's processor which
-    control the behavior of the output document.
+    control the behaviour of the output document.
 
     These options can be supplied to the constructor, on in a hash with the
     individual calls to the markdown method. See the synopsis for examples
@@ -143,7 +143,7 @@
     Whilst this code aims to be compatible with the original Markdown.pl
     (and incorporates and passes the Markdown test suite) whilst fixing a
     number of bugs in the original - there may be differences between the
-    behavior of this module and Markdown.pl. If you find any differences
+    behaviour of this module and Markdown.pl. If you find any differences
     where you believe Text::Markdown behaves contrary to the Markdown spec,
     please report them as bugs.
 

Modified: trunk/libtext-markdown-perl/Todo
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-markdown-perl/Todo?rev=26229&op=diff
==============================================================================
--- trunk/libtext-markdown-perl/Todo (original)
+++ trunk/libtext-markdown-perl/Todo Sat Oct 25 16:13:45 2008
@@ -1,4 +1,4 @@
-Todo pre 1.0.22:
+Todo pre 1.0.23:
     . Tests for $footnote =~ s/^glossary:\s*//i
 	. Tests for $footnote_closing_tag
     . Add an option to Text::Markdown to have original brand markdown style 
@@ -9,7 +9,7 @@
       host?
     . Re-write this Todo list.
 
-Todo pre 1.0.23:
+Todo pre 1.0.24:
     . Make Markdown.pl and MultiMarkdown.pl warn if unexpected options are 
       used, and also have docs on what options are available. Expose the other
       module options in the scripts.
@@ -19,7 +19,7 @@
     . Document the markdown (and multimarkdown) syntaxes in the module 
       properly.
 
-Todo pre 1.0.24:
+Todo pre 1.0.25:
     . Fix the list bug (see t/17ulolreportedonlist.t and Markdown mailing 
       list) This probably involves the first draught of the new parser...
     . Text::Balanced is the slowest thing ever. 
@@ -27,7 +27,7 @@
         49.4   0.569  0.568    113   0.0050 0.0050  Text::Balanced::_match_tagged
         18.1   0.209  0.791      3   0.0696 0.2637  Text::MultiMarkdown::_HashHTMLBlocks
 
-Todo pre 1.0.25:
+Todo pre 1.0.26:
    . Have a look at extra features in 
      http://code.google.com/p/python-markdown2/wiki/Extras and put anything 
      we consider useful on the roadmap.

Modified: trunk/libtext-markdown-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-markdown-perl/debian/changelog?rev=26229&op=diff
==============================================================================
--- trunk/libtext-markdown-perl/debian/changelog (original)
+++ trunk/libtext-markdown-perl/debian/changelog Sat Oct 25 16:13:45 2008
@@ -1,3 +1,9 @@
+libtext-markdown-perl (1.0.22-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Ansgar Burchardt <ansgar at 43-1.org>  Sat, 25 Oct 2008 18:08:15 +0200
+
 libtext-markdown-perl (1.0.21-1) unstable; urgency=low
 
   * New upstream release.

Modified: trunk/libtext-markdown-perl/lib/Text/Markdown.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-markdown-perl/lib/Text/Markdown.pm?rev=26229&op=diff
==============================================================================
--- trunk/libtext-markdown-perl/lib/Text/Markdown.pm (original)
+++ trunk/libtext-markdown-perl/lib/Text/Markdown.pm Sat Oct 25 16:13:45 2008
@@ -2,13 +2,14 @@
 require 5.008_000;
 use strict;
 use warnings;
+use re 'eval';
 
 use Digest::MD5 qw(md5_hex);
 use Encode      qw();
 use Carp        qw(croak);
 use base        'Exporter';
 
-our $VERSION   = '1.0.21';
+our $VERSION   = '1.0.22';
 our @EXPORT_OK = qw(markdown);
 
 =head1 NAME
@@ -57,7 +58,7 @@
 
 =head1 OPTIONS
 
-Text::Markdown supports a number of options to it's processor which control the behavior of the output document.
+Text::Markdown supports a number of options to it's processor which control the behaviour of the output document.
 
 These options can be supplied to the constructor, on in a hash with the individual calls to the markdown method.
 See the synopsis for examples of both of the above styles.
@@ -1376,7 +1377,7 @@
         <
         (?:mailto:)?
         (
-            [-.\w]+
+            [-.\w\+]+
             \@
             [-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+
         )
@@ -1607,7 +1608,7 @@
 
 Whilst this code aims to be compatible with the original Markdown.pl (and incorporates 
 and passes the Markdown test suite) whilst fixing a number of bugs in the original - 
-there may be differences between the behavior of this module and Markdown.pl. If you find
+there may be differences between the behaviour of this module and Markdown.pl. If you find
 any differences where you believe Text::Markdown behaves contrary to the Markdown spec, 
 please report them as bugs.
 

Modified: trunk/libtext-markdown-perl/lib/Text/MultiMarkdown.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-markdown-perl/lib/Text/MultiMarkdown.pm?rev=26229&op=diff
==============================================================================
--- trunk/libtext-markdown-perl/lib/Text/MultiMarkdown.pm (original)
+++ trunk/libtext-markdown-perl/lib/Text/MultiMarkdown.pm Sat Oct 25 16:13:45 2008
@@ -2,13 +2,14 @@
 require 5.008_000;
 use strict;
 use warnings;
+use re 'eval';
 
 use Digest::MD5 qw(md5_hex);
 use Encode      qw();
 use Carp        qw(croak);
 use base        qw(Text::Markdown);
 
-our $VERSION   = '1.0.21';
+our $VERSION   = '1.0.22';
 our @EXPORT_OK = qw(markdown);
 
 =head1 NAME
@@ -53,7 +54,7 @@
 
 This module implements the MultiMarkdown markdown syntax extensions from:
 
-    http://fletcherpenney.net/MultiMarkdown/
+    http://fletcherpenney.net/multimarkdown/
 
 =head1 SYNTAX
 
@@ -65,7 +66,7 @@
 
 The extension is documented at:
 
-    http://fletcherpenney.net/MultiMarkdown/
+    http://fletcherpenney.net/multimarkdown/
 
 and borrows from php-markdown, which lives at:
 
@@ -75,7 +76,7 @@
 
 =head1 OPTIONS
 
-MultiMarkdown supports a number of options to it's processor which control the behavior of the output document.
+MultiMarkdown supports a number of options to it's processor which control the behaviour of the output document.
 
 These options can be supplied to the constructor, on in a hash with the individual calls to the markdown method.
 See the synopsis for examples of both of the above styles.
@@ -331,7 +332,7 @@
 }
 
 #
-# Routines which are overridden for slightly different behavior in MultiMarkdown
+# Routines which are overridden for slightly different behaviour in MultiMarkdown
 #
 
 # Delegate to super class, then do wiki links
@@ -369,7 +370,7 @@
 
 # Generating headers automatically generates X-refs in MultiMarkdown (always)
 # Also, by default, you get id attributes added to your headers, you can turn this
-# part of the MultiMarkdown behavior off with the heading_ids flag.
+# part of the MultiMarkdown behaviour off with the heading_ids flag.
 sub _GenerateHeader {
     my ($self, $level, $id) = @_;
     
@@ -1259,7 +1260,7 @@
 
 Whilst this code aims to be compatible with the original MultiMarkdown (and incorporates 
 and passes the MultiMarkdown test suite) whilst fixing a number of bugs in the original - 
-there may be differences between the behavior of this module and MultiMarkdown. If you find
+there may be differences between the behaviour of this module and MultiMarkdown. If you find
 any differences where you believe Text::MultiMarkdown behaves contrary to the MultiMarkdown spec, 
 please report them as bugs.
 

Modified: trunk/libtext-markdown-perl/t/20fulldocs-text-multimarkdown.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-markdown-perl/t/20fulldocs-text-multimarkdown.t?rev=26229&op=diff
==============================================================================
--- trunk/libtext-markdown-perl/t/20fulldocs-text-multimarkdown.t (original)
+++ trunk/libtext-markdown-perl/t/20fulldocs-text-multimarkdown.t Sat Oct 25 16:13:45 2008
@@ -4,6 +4,7 @@
 use FindBin qw($Bin);
 use List::MoreUtils qw(uniq);
 use File::Slurp qw(slurp);
+use Encode;
 
 our $TIDY = 0;
 
@@ -23,7 +24,7 @@
             return;
         }
         print "=" x 80 . "\nDIFFERENCES: + = processed version from .text, - = template from .html\n";
-        print Text::Diff::diff(\$expected => \$got, { STYLE => "Unified" }) . "\n";
+        print encode('utf8', Text::Diff::diff(\$expected => \$got, { STYLE => "Unified" }) . "\n");
         fail($testname);
     };
 }




More information about the Pkg-perl-cvs-commits mailing list