Skip to content
Browse files

Prep for 0.67 build

  • Loading branch information...
1 parent 06e1f7b commit 3c30f218d064793b17126d7315a59aa47315811f @rjray committed Sep 3, 2009
Showing with 407 additions and 35 deletions.
  1. +99 −3 ChangeLog
  2. +149 −2 ChangeLog.xml
  3. +67 −26 Makefile.PL
  4. +92 −4 README
View
102 ChangeLog
@@ -1,4 +1,4 @@
-
+ Perl Module RPC::XML Change History
Revision history for the Perl extension module
RPC::XML. This is an implementation of the
@@ -9,6 +9,102 @@
allowing choice of character-set encodings for
XML messages.
+0.69 Thursday September 3, 2009, 10:25:00 AM -0700
+
+ * t/00_load.t
+ * t/01_pod.t
+ * t/02_pod_coverage.t
+ * t/10_data.t
+ * t/11_base64_fh.t
+ * t/12_nil.t
+ * t/15_serialize.t
+ * t/20_parser.t
+ * t/50_client.t
+ Minor clean-up of old CVS/SVN keyword references.
+
+ * lib/RPC/XML/Client.pm
+ * lib/RPC/XML/Parser.pm
+ * lib/RPC/XML/Parser/XMLParser.pm (added)
+ * lib/RPC/XML/ParserFactory.pm (added)
+ * lib/RPC/XML/Server.pm
+ * t/20_parser.t (deleted)
+ * t/20_xml_parser.t (added)
+ * t/29_parserfactory.t (added)
+ * t/40_server.t
+ * t/util.pl
+ Converted parsing to be from a specific class to a
+ parser-factory style. This included renaming the existing
+ parser class and shuffling tests around.
+
+ * t/70_compression_detect.t
+ Cleaner approach to scrubbing symbol tables.
+
+ * t/00_load.t
+ * t/01_pod.t
+ * t/02_pod_coverage.t
+ * t/03_meta.t (added)
+ * t/04_minimumversion.t (added)
+ * t/05_critic.t (added)
+ New tests, and developer-specific tests changed to only run in
+ my copy.
+
+ * lib/RPC/XML/Client.pm
+ * lib/RPC/XML/Parser/XMLParser.pm
+ * lib/RPC/XML/Server.pm
+ * t/11_base64_fh.t
+ * t/15_serialize.t
+ * t/20_xml_parser.t
+ * t/30_method.t
+ * t/35_namespaces.t
+ * t/40_server.t
+ * t/41_server_hang.t
+ * t/50_client.t
+ RT #47806: One more patch for Windows compatibility with
+ temp-files.
+
+ * lib/Apache/RPC/Server.pm
+ * lib/Apache/RPC/Status.pm
+ * lib/RPC/XML.pm
+ * lib/RPC/XML/Client.pm
+ * lib/RPC/XML/Function.pm
+ * lib/RPC/XML/Method.pm
+ * lib/RPC/XML/Parser.pm
+ * lib/RPC/XML/Parser/XMLParser.pm
+ * lib/RPC/XML/ParserFactory.pm
+ * lib/RPC/XML/Procedure.pm
+ * lib/RPC/XML/Server.pm
+ Fixes based on Perl::Critic and other best-practices techniques.
+
+ * etc/make_method
+ Also made changes based on Perl::Critic.
+
+ * MANIFEST
+ * lib/RPC/XML/Parser.pm
+ * lib/RPC/XML/Parser/XMLParser.pm
+ Expanded definition of the interface to include push-parsing
+ methods. Documented these and added stubs to
+ RPC::XML::Parser::XMLParser that throw exceptions when called
+ by a non-push-parser instance. Reflected changes to test suite
+ in MANIFEST.
+
+ * lib/RPC/XML/Parser/XMLParser.pm
+ Slight tweak to make this 5.6.1-compatible.
+
+ * lib/RPC/XML/Procedure.pm
+ * lib/RPC/XML/Server.pm
+ RT #42736: Support user-adjustment of server-based faults, and
+ normalize the existing faults.
+
+ * lib/RPC/XML/Procedure.pm
+ Fix encoding of return values from call() when the method
+ called is of type Function (and thus has no strict signatures).
+
+ * lib/RPC/XML.pm
+ * t/13_no_deep_recursion.t (added)
+ RT #41063: Re-visit how arrays and structs are smart-encoded
+ and constructed, so as to avoid cyclical data structure
+ references.
+
0.67 Friday July 10, 2009, 01:30:00 AM -0700
* lib/RPC/XML/Client.pm
@@ -1154,8 +1250,8 @@
* *
All files are tracked from this point forward.
-# Generated on Friday July 10, 2009, 01:30:09 AM -0700
-# Using changelog2x/0.10, App::Changelog2x/0.10, XML::LibXML/1.69,
+# Generated on Thursday September 3, 2009, 10:25:26 AM -0700
+# Using changelog2x/0.11, App::Changelog2x/0.11, XML::LibXML/1.69,
# XML::LibXSLT/1.68, libxml/2.6.32, libxslt/1.1.24 (with exslt)
# XSLT sources:
# $Id: changelog2text.xslt 8 2009-01-19 06:46:50Z rjray $
View
151 ChangeLog.xml
@@ -6,15 +6,162 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xsi:schemaLocation="http://www.blackperl.com/2009/01/ChangeLogML etc/ChangeLogML.xsd">
- <project></project>
- <title></title>
+ <project>RPC::XML</project>
+ <title>Perl Module RPC::XML Change History</title>
<description>
Revision history for the Perl extension module RPC::XML. This is an
implementation of the XML-RPC standard as described at the URL
"http://www.xmlrpc.com". This implementation also permits some minor
extensions to the base protocol in terms of supporting HTTP/1.1 and
allowing choice of character-set encodings for XML messages.
</description>
+ <release date="2009-09-03T10:25:00-07:00" version="0.69" sc:tag="0.69">
+ <change git:commit="da64377d20640d347436c856c0fbc59c09c96ecd">
+ <fileset>
+ <file path="t/00_load.t" />
+ <file path="t/01_pod.t" />
+ <file path="t/02_pod_coverage.t" />
+ <file path="t/10_data.t" />
+ <file path="t/11_base64_fh.t" />
+ <file path="t/12_nil.t" />
+ <file path="t/15_serialize.t" />
+ <file path="t/20_parser.t" />
+ <file path="t/50_client.t" />
+ </fileset>
+ <description>
+ Minor clean-up of old CVS/SVN keyword references.
+ </description>
+ </change>
+ <change git:commit="b5da315f4fe1b3ffbf179c334ef1b58af625d483">
+ <fileset>
+ <file path="lib/RPC/XML/Client.pm" />
+ <file path="lib/RPC/XML/Parser.pm" />
+ <file path="lib/RPC/XML/Parser/XMLParser.pm" action="ADD" />
+ <file path="lib/RPC/XML/ParserFactory.pm" action="ADD" />
+ <file path="lib/RPC/XML/Server.pm" />
+ <file path="t/20_parser.t" action="DELETE" />
+ <file path="t/20_xml_parser.t" action="ADD" />
+ <file path="t/29_parserfactory.t" action="ADD" />
+ <file path="t/40_server.t" />
+ <file path="t/util.pl" />
+ </fileset>
+ <description>
+ Converted parsing to be from a specific class to a parser-factory style.
+ This included renaming the existing parser class and shuffling tests
+ around.
+ </description>
+ </change>
+ <change git:commit="1115ea4070938edcc3ae0bb192c5fae47c542ab8">
+ <file path="t/70_compression_detect.t" />
+ <description>
+ Cleaner approach to scrubbing symbol tables.
+ </description>
+ </change>
+ <change git:commit="6cc8cea15f527a8d2a3f8e402941bcd7a93b7c13">
+ <fileset>
+ <file path="t/00_load.t" />
+ <file path="t/01_pod.t" />
+ <file path="t/02_pod_coverage.t" />
+ <file path="t/03_meta.t" action="ADD" />
+ <file path="t/04_minimumversion.t" action="ADD" />
+ <file path="t/05_critic.t" action="ADD" />
+ </fileset>
+ <description>
+ New tests, and developer-specific tests changed to only run in my copy.
+ </description>
+ </change>
+ <change git:commit="e31cca20b53d062faa2234f10f8794e4e7058c27">
+ <fileset>
+ <file path="lib/RPC/XML/Client.pm" />
+ <file path="lib/RPC/XML/Parser/XMLParser.pm" />
+ <file path="lib/RPC/XML/Server.pm" />
+ <file path="t/11_base64_fh.t" />
+ <file path="t/15_serialize.t" />
+ <file path="t/20_xml_parser.t" />
+ <file path="t/30_method.t" />
+ <file path="t/35_namespaces.t" />
+ <file path="t/40_server.t" />
+ <file path="t/41_server_hang.t" />
+ <file path="t/50_client.t" />
+ </fileset>
+ <description>
+ <xhtml:a href="http://rt.cpan.org/Ticket/Display.html?id=47806">RT #47806</xhtml:a>:
+ One more patch for Windows compatibility with temp-files.
+ </description>
+ </change>
+ <change git:commit="03e00c1944254eee3dba120c2887bc34a5655a35">
+ <fileset>
+ <file path="lib/Apache/RPC/Server.pm" />
+ <file path="lib/Apache/RPC/Status.pm" />
+ <file path="lib/RPC/XML.pm" />
+ <file path="lib/RPC/XML/Client.pm" />
+ <file path="lib/RPC/XML/Function.pm" />
+ <file path="lib/RPC/XML/Method.pm" />
+ <file path="lib/RPC/XML/Parser.pm" />
+ <file path="lib/RPC/XML/Parser/XMLParser.pm" />
+ <file path="lib/RPC/XML/ParserFactory.pm" />
+ <file path="lib/RPC/XML/Procedure.pm" />
+ <file path="lib/RPC/XML/Server.pm" />
+ </fileset>
+ <description>
+ Fixes based on Perl::Critic and other best-practices techniques.
+ </description>
+ </change>
+ <change git:commit="e02196452fd86135b24cc936f969ee5a261c8483">
+ <file path="etc/make_method" />
+ <description>
+ Also made changes based on Perl::Critic.
+ </description>
+ </change>
+ <change git:commit="3c01cda3398e0b0fceef2cc36492ccbff6aba773">
+ <fileset>
+ <file path="MANIFEST" />
+ <file path="lib/RPC/XML/Parser.pm" />
+ <file path="lib/RPC/XML/Parser/XMLParser.pm" />
+ </fileset>
+ <description>
+ Expanded definition of the interface to include push-parsing methods.
+ Documented these and added stubs to RPC::XML::Parser::XMLParser that
+ throw exceptions when called by a non-push-parser instance. Reflected
+ changes to test suite in MANIFEST.
+ </description>
+ </change>
+ <change git:commit="4ed1f2ced8cb30ea4776b54ccab8c6ea774a619a">
+ <file path="lib/RPC/XML/Parser/XMLParser.pm" />
+ <description>
+ Slight tweak to make this 5.6.1-compatible.
+ </description>
+ </change>
+ <change git:commit="b45db2993c694d312d2bee27a0a1cda850acb4d4">
+ <fileset>
+ <file path="lib/RPC/XML/Procedure.pm" />
+ <file path="lib/RPC/XML/Server.pm" />
+ </fileset>
+ <description>
+ <xhtml:a href="http://rt.cpan.org/Ticket/Display.html?id=42736">RT #42736</xhtml:a>:
+ Support user-adjustment of server-based faults, and normalize the
+ existing faults.
+ </description>
+ </change>
+ <change git:commit="b449b138f243ad40e61a110bbe9514be277ee5b1">
+ <file path="lib/RPC/XML/Procedure.pm" />
+ <description>
+ Fix encoding of return values from call() when the method called is of
+ type Function (and thus has no strict signatures).
+ </description>
+ </change>
+ <change git:commit="9a0fe50ad9648716e287717d2007a439946930a1">
+ <fileset>
+ <file path="lib/RPC/XML.pm" />
+ <file path="t/13_no_deep_recursion.t" action="ADD" />
+ </fileset>
+ <description>
+ <xhtml:a href="http://rt.cpan.org/Ticket/Display.html?id=41063">RT #41063</xhtml:a>:
+ Re-visit how arrays and structs are smart-encoded and constructed, so
+ as to avoid cyclical data structure references.
+ </description>
+ </change>
+ </release>
<release date="2009-07-10T01:30:00-07:00" version="0.67" sc:tag="0.67">
<change git:commit="67180ef41cdfa56c771e6b9dd8d5f1f116b7dc77">
<fileset>
View
93 Makefile.PL
@@ -11,6 +11,10 @@ use File::Spec;
use File::Find;
use Cwd 'cwd';
+my ($vol, $dir, undef) = File::Spec->splitpath(File::Spec->rel2abs($0));
+$dir = File::Spec->catpath($vol, $dir, '');
+my $test_config = File::Spec->catfile($dir, 't', 'test.conf');
+
eval "require LWP;";
if ($LWP::VERSION and $LWP::VERSION < 5.801)
{
@@ -27,25 +31,61 @@ if ($LWP::VERSION and $LWP::VERSION < 5.801)
END
}
-eval "use XML::LibXML;";
-if ($@ or $XML::LibXML::VERSION < 1.58)
-{
- print STDERR <<END;
-@@@@@
- Please note!
-
- Starting with release 0.70 (previously planned for 0.60 but pushed
- back), the XML parsing will switch to using the XML::LibXML module, in
- place of XML::Parser. You either do not have this module, or it is a
- version older than 1.58, the minimum version that will be
- required. When release 0.70 is made available, you will not be able to
- build this package without at least version 1.58 of XML::LibXML.
-@@@@@
-
-END
-}
-
-$cwd = cwd;
+my %parserlist = ();
+my %recommended = ();
+
+# eval "use XML::Parser";
+# if ($@ or $XML::Parser::VERSION < 2.31)
+# {
+# print STDERR <<END;
+# @@@@@
+# XML::Parser not found
+
+# You do not have to have this package if you plan to always
+# explicitly choose an alternate parser in RPC::XML::ParserFactory,
+# RPC::XML::Client or RPC::XML::Server. It's installation is
+# recommended, however. The default selection of parser will not
+# work without this installed.
+# @@@@@
+
+# END
+
+# $recommended{'XML::Parser'} = '2.31';
+# }
+# else
+# {
+# $parserlist{'XML::Parser'} = $XML::Parser::VERSION;
+# }
+
+# eval "use XML::LibXML;";
+# if ($@ or $XML::LibXML::VERSION < 1.58)
+# {
+# print STDERR <<END;
+# @@@@@
+# XML::LibXML not found
+
+# The RPC::XML::ParserFactory class (the replacement for the previous
+# RPC::XML::Parser class) can use this parser if you have it installed
+# and request it when instantiating either RPC::XML::Client or
+# RPC::XML::Server (or RPC::XML::ParserFactor itself, directly).
+# @@@@@
+
+# END
+
+# $recommended{'XML::LibXML'} = '1.58';
+# }
+# else
+# {
+# $parserlist{'XML::LibXML'} = $XML::LibXML::VERSION;
+# }
+
+# Write test.conf file
+$parserlist{'XML::Parser'}++;
+open(my $fh, "> $test_config")
+ or die "Cannot open $test_config for writing: $!";
+print $fh sprintf("# Generated by $0 on %s\n", scalar localtime);
+print $fh 'parsers = ' . join(', ' => sort keys %parserlist) . "\n";
+close $fh;
$CLEAN = 'pod2html-* *.html *.spec *.rpm rpmrc rpmmacro *.log t/*.log ' .
'META.yml *.ppd ';
@@ -84,17 +124,18 @@ find(sub {
WriteMakefile(
NAME => 'RPC::XML',
- VERSION => '0.67',
+ VERSION => '0.69',
AUTHOR => 'Randy J. Ray',
ABSTRACT => 'Data, client and server classes for XML-RPC',
EXE_FILES => \@scripts,
PM => \%PM_FILES,
- PREREQ_PM => { XML::Parser => 2.31,
- File::Spec => 0.8,
- constant => 1.03,
- Scalar::Util => 1.20,
- Test::More => 0,
- LWP => 5.801 },
+ PREREQ_PM => { 'File::Spec' => 0.8,
+ 'constant' => 1.03,
+ 'Scalar::Util' => 1.19,
+ 'Test::More' => 0,
+ 'LWP' => 5.801,
+ 'XML::Parser' => 2.31 },
+ # %parserlist },
dist => { COMPRESS => 'gzip -9f' },
clean => { FILES => $CLEAN },
LICENSE => 'perl',
View
96 README
@@ -1,6 +1,6 @@
RPC::XML - An implementation of XML-RPC
-Version: 0.67
+Version: 0.69
WHAT IS IT
@@ -66,8 +66,96 @@ The LGPL 2.1: http://www.opensource.org/licenses/lgpl-2.1.php
CHANGES
+* t/00_load.t
+* t/01_pod.t
+* t/02_pod_coverage.t
+* t/10_data.t
+* t/11_base64_fh.t
+* t/12_nil.t
+* t/15_serialize.t
+* t/20_parser.t
+* t/50_client.t
+Minor clean-up of old CVS/SVN keyword references.
+
+* lib/RPC/XML/Client.pm
+* lib/RPC/XML/Parser.pm
+* lib/RPC/XML/Parser/XMLParser.pm (added)
+* lib/RPC/XML/ParserFactory.pm (added)
+* lib/RPC/XML/Server.pm
+* t/20_parser.t (deleted)
+* t/20_xml_parser.t (added)
+* t/29_parserfactory.t (added)
+* t/40_server.t
+* t/util.pl
+Converted parsing to be from a specific class to a
+parser-factory style. This included renaming the existing
+parser class and shuffling tests around.
+
+* t/70_compression_detect.t
+Cleaner approach to scrubbing symbol tables.
+
+* t/00_load.t
+* t/01_pod.t
+* t/02_pod_coverage.t
+* t/03_meta.t (added)
+* t/04_minimumversion.t (added)
+* t/05_critic.t (added)
+New tests, and developer-specific tests changed to only run in
+my copy.
+
+* lib/RPC/XML/Client.pm
+* lib/RPC/XML/Parser/XMLParser.pm
+* lib/RPC/XML/Server.pm
+* t/11_base64_fh.t
+* t/15_serialize.t
+* t/20_xml_parser.t
+* t/30_method.t
+* t/35_namespaces.t
+* t/40_server.t
+* t/41_server_hang.t
+* t/50_client.t
+RT #47806: One more patch for Windows compatibility with
+temp-files.
+
+* lib/Apache/RPC/Server.pm
+* lib/Apache/RPC/Status.pm
+* lib/RPC/XML.pm
* lib/RPC/XML/Client.pm
+* lib/RPC/XML/Function.pm
+* lib/RPC/XML/Method.pm
+* lib/RPC/XML/Parser.pm
+* lib/RPC/XML/Parser/XMLParser.pm
+* lib/RPC/XML/ParserFactory.pm
+* lib/RPC/XML/Procedure.pm
+* lib/RPC/XML/Server.pm
+Fixes based on Perl::Critic and other best-practices techniques.
+
+* etc/make_method
+Also made changes based on Perl::Critic.
+
+* MANIFEST
+* lib/RPC/XML/Parser.pm
+* lib/RPC/XML/Parser/XMLParser.pm
+Expanded definition of the interface to include push-parsing
+methods. Documented these and added stubs to
+RPC::XML::Parser::XMLParser that throw exceptions when called
+by a non-push-parser instance. Reflected changes to test suite
+in MANIFEST.
+
+* lib/RPC/XML/Parser/XMLParser.pm
+Slight tweak to make this 5.6.1-compatible.
+
+* lib/RPC/XML/Procedure.pm
* lib/RPC/XML/Server.pm
-* t/70_compression_detect.t (added)
-RT #47219: Mis-read the patch from previous fix, this actually
-fixes it. Also added a test suite to check for compression-detection.
+RT #42736: Support user-adjustment of server-based faults, and
+normalize the existing faults.
+
+* lib/RPC/XML/Procedure.pm
+Fix encoding of return values from call() when the method
+called is of type Function (and thus has no strict signatures).
+
+* lib/RPC/XML.pm
+* t/13_no_deep_recursion.t (added)
+RT #41063: Re-visit how arrays and structs are smart-encoded
+and constructed, so as to avoid cyclical data structure
+references.

0 comments on commit 3c30f21

Please sign in to comment.
Something went wrong with that request. Please try again.