r7850 - in /trunk/libsvg-perl: Changes MANIFEST META.yml Makefile.PL debian/changelog lib/SVG.pm lib/SVG/DOM.pm lib/SVG/Manual.pm lib/SVG/XML.pm test/23-xmlescape.pl

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sat Sep 22 06:27:53 UTC 2007


Author: dmn
Date: Sat Sep 22 06:27:53 2007
New Revision: 7850

URL: http://svn.debian.org/wsvn/?sc=1&rev=7850
Log:
* New upstream release
  Documentation updates

Added:
    trunk/libsvg-perl/test/23-xmlescape.pl
      - copied unchanged from r7849, branches/upstream/libsvg-perl/current/test/23-xmlescape.pl
Modified:
    trunk/libsvg-perl/Changes
    trunk/libsvg-perl/MANIFEST
    trunk/libsvg-perl/META.yml
    trunk/libsvg-perl/Makefile.PL
    trunk/libsvg-perl/debian/changelog
    trunk/libsvg-perl/lib/SVG.pm
    trunk/libsvg-perl/lib/SVG/DOM.pm
    trunk/libsvg-perl/lib/SVG/Manual.pm
    trunk/libsvg-perl/lib/SVG/XML.pm

Modified: trunk/libsvg-perl/Changes
URL: http://svn.debian.org/wsvn/trunk/libsvg-perl/Changes?rev=7850&op=diff
==============================================================================
--- trunk/libsvg-perl/Changes (original)
+++ trunk/libsvg-perl/Changes Sat Sep 22 06:27:53 2007
@@ -1,8 +1,20 @@
 Revision history for Perl extension SVG.
+
+
+2.36	16 September, 2007
+	-Fixed SVG::DOM POD
+
+2.35	14 September, 2007
+	-Fixed SVG::DOM POD
+
 2.34    17 May 2005
 	-SVG::Element - Removed elsep entry for CDATA, cdata, cdata_noxmlesc fields to get rid of
 	artificial blank spaces that confuse some browsers
 	-SVG::DOM - added getRootNode method
+	-Added user-contributed DOM2 methods to SVG::DOM	
+
+
+
 2.33    14 May, 2005
 	-fixed the xlink reference behaviour which was wrong and 
 	 broke Mozilla native SVG. Fix submitted by Ian Hickson

Modified: trunk/libsvg-perl/MANIFEST
URL: http://svn.debian.org/wsvn/trunk/libsvg-perl/MANIFEST?rev=7850&op=diff
==============================================================================
--- trunk/libsvg-perl/MANIFEST (original)
+++ trunk/libsvg-perl/MANIFEST Sat Sep 22 06:27:53 2007
@@ -31,6 +31,7 @@
 test/20-anchor.pl
 test/21-polygon.pl
 test/22-xlink.pl
+test/23-xmlescape.pl
 examples/svgtest2.pl
 examples/SVG_02_sample.pl
 examples/image_sample.pl

Modified: trunk/libsvg-perl/META.yml
URL: http://svn.debian.org/wsvn/trunk/libsvg-perl/META.yml?rev=7850&op=diff
==============================================================================
--- trunk/libsvg-perl/META.yml (original)
+++ trunk/libsvg-perl/META.yml Sat Sep 22 06:27:53 2007
@@ -1,7 +1,7 @@
 # http://module-build.sourceforge.net/META-spec.html
 #XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
 name:         SVG
-version:      2.34
+version:      2.36
 version_from: lib/SVG.pm
 installdirs:  site
 requires:

Modified: trunk/libsvg-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/trunk/libsvg-perl/Makefile.PL?rev=7850&op=diff
==============================================================================
--- trunk/libsvg-perl/Makefile.PL (original)
+++ trunk/libsvg-perl/Makefile.PL Sat Sep 22 06:27:53 2007
@@ -7,5 +7,5 @@
     PREREQ_PM         => {}, # e.g., Module::Name => 1.1
     ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
       (ABSTRACT_FROM  => 'lib/SVG/Manual.pm', # retrieve abstract from module
-       AUTHOR         => 'Ronan Oger <ronan at roitsystems.com>') : ()),
+       AUTHOR         => 'Ronan Oger <ronan at cpan.com>') : ()),
 );

Modified: trunk/libsvg-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libsvg-perl/debian/changelog?rev=7850&op=diff
==============================================================================
--- trunk/libsvg-perl/debian/changelog (original)
+++ trunk/libsvg-perl/debian/changelog Sat Sep 22 06:27:53 2007
@@ -1,3 +1,10 @@
+libsvg-perl (2.36-1) UNRELEASED; urgency=low
+
+  * New upstream release
+    Documentation updates
+
+ -- Damyan Ivanov <dmn at debian.org>  Sat, 22 Sep 2007 09:27:31 +0300
+
 libsvg-perl (2.34-1) unstable; urgency=low
 
   [ David Paleino ]

Modified: trunk/libsvg-perl/lib/SVG.pm
URL: http://svn.debian.org/wsvn/trunk/libsvg-perl/lib/SVG.pm?rev=7850&op=diff
==============================================================================
--- trunk/libsvg-perl/lib/SVG.pm (original)
+++ trunk/libsvg-perl/lib/SVG.pm Sat Sep 22 06:27:53 2007
@@ -17,7 +17,7 @@
 
 @ISA = qw(SVG::Element SVG::Extension);
 
-$VERSION = "2.34";
+$VERSION = "2.36";
 
 #-------------------------------------------------------------------------------
 
@@ -25,7 +25,7 @@
 
 =head2 VERSION
 
-Version 2.34, 15 August, 2007
+Version 2.36, 15 August, 2007
 
 Refer to L<SVG::Manual> for the complete manual
 

Modified: trunk/libsvg-perl/lib/SVG/DOM.pm
URL: http://svn.debian.org/wsvn/trunk/libsvg-perl/lib/SVG/DOM.pm?rev=7850&op=diff
==============================================================================
--- trunk/libsvg-perl/lib/SVG/DOM.pm (original)
+++ trunk/libsvg-perl/lib/SVG/DOM.pm Sat Sep 22 06:27:53 2007
@@ -2,7 +2,7 @@
 use strict;
 
 use vars qw($VERSION);
-$VERSION = "1.03";
+$VERSION = "1.04";
 
 # this module extends SVG::Element
 package SVG::Element;
@@ -570,9 +570,6 @@
 elements through DOM-like methods such as getElements, getChildren, getNextSibling
 and so on. 
 
-Currently only methods that provide read operations are supported. Methods to
-manipulate SVG elements will be added in a future release.
-
 =head1 SYNOPSIS
 
     my $svg=new SVG(id=>"svg_dom_synopsis", width=>"100", height=>"100");
@@ -754,8 +751,6 @@
 
 perl(1), L<SVG>, L<SVG::XML>, L<SVG::Element>, L<SVG::Parser>, L<SVG::Manual>
 
-L<http://www.roitsystems.com/> ROASP.com: Serverside SVG server
-L<http://www.vectoreal.com/> Vectoreal: Commercal SVG Application solutions
 L<http://www.roitsystems.com/> ROIT Systems: Commercial SVG perl solutions
 L<http://www.w3c.org/Graphics/SVG/> SVG at the W3C
 

Modified: trunk/libsvg-perl/lib/SVG/Manual.pm
URL: http://svn.debian.org/wsvn/trunk/libsvg-perl/lib/SVG/Manual.pm?rev=7850&op=diff
==============================================================================
--- trunk/libsvg-perl/lib/SVG/Manual.pm (original)
+++ trunk/libsvg-perl/lib/SVG/Manual.pm Sat Sep 22 06:27:53 2007
@@ -1,6 +1,6 @@
 package SVG::Manual;
 
-our $VERSION = 2.34;
+our $VERSION = 2.35;
 use vars qw($VERSION);
 
 $VERSION = eval $VERSION;
@@ -11,7 +11,7 @@
 
 =head2 VERSION
 
-Covers SVG-2.34 distribution
+Covers SVG-2.35 distribution
 
 =head1 SYNOPSIS
 
@@ -897,6 +897,13 @@
 
   L<"cdata">, L<"script">.
 
+=head2 xmlescp and xmlescape
+
+$string = $svg->xmlescp($string)
+$string = $svg->xmlescape($string)
+
+SVG module does not xml-escape characters that are incompatible with the XML specification. B<xmlescp> and B<xmlescape> provides this functionality. It is a helper method which Generates an XML-escaped string for reserved characters such as ampersand, open and close brackets, etcetera.
+
 =head2 filter
 
 $tag = $svg->filter(%attributes)

Modified: trunk/libsvg-perl/lib/SVG/XML.pm
URL: http://svn.debian.org/wsvn/trunk/libsvg-perl/lib/SVG/XML.pm?rev=7850&op=diff
==============================================================================
--- trunk/libsvg-perl/lib/SVG/XML.pm (original)
+++ trunk/libsvg-perl/lib/SVG/XML.pm Sat Sep 22 06:27:53 2007
@@ -21,11 +21,13 @@
 use strict;
 use vars qw($VERSION @ISA @EXPORT );
 
-$VERSION = "2.26";
+$VERSION = "2.27";
 
 require Exporter;
 @ISA = qw(Exporter);
 @EXPORT = qw(
+    xmlesc
+    xmlescape
     xmlescp
     cssstyle
     xmlattrib
@@ -58,6 +60,10 @@
 
     return $s;
 }
+
+*xmlesc=\&xmlescp;
+
+*xmlescape=\&xmlescp;
 
 sub cssstyle {
     my %attrs=@_;




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