RPC-XML
view release on metacpan or search on metacpan
* lib/RPC/XML/Server.pm, revision 1.36
Force a default value for the compress_re attribute in
RPC::XML::Server when none is otherwise present. All my tests
have had Compress::Zlib available, but when it isn't the
compress_re attribute was triggering warnings when used in a
regex.
0.50 Monday January 27, 2003, 03:24:45 AM -0800
* lib/RPC/XML/Procedure.pm
Changed the usage of =head3 directives in the manual page for
RPC::XML::Procedure to a =over/=back block instead. The =head3
directive requires a newer set of pod utilities, and would mean
the package had trouble building on 5.005 installations.
* lib/RPC/XML.pm
* t/11_base64_fh.t
Extended the RPC::XML::base64 class to allow for and handle
being given a filehandle object instead of straight data. The
object is kept as an open filehandle, and the buffer position
is always noted and reset when operated on, so that other parts
of the process using the handle don't get surprised. Added
tests in t/11_base64_fh.t to exercise this.
* lib/RPC/xML.pm
* t/15_serialize.t
Added a serialize() method to all the data classes in
preparation for changing the client and server modules to
stream XML over the line rather than print it using in-memory
strings. Added test suite t/15_serialize.t to exercise this.
* lib/RPC/XML/Parser.pm
* t/20_parser.t
Modified RPC::XML::Parser to accept arguments to new() that
instruct it to spool Base64 data to a filehandle, using the new
capabilities of the base64 class described previously. Added
tests to t/20_parser.t and support for the parameters to the
constructors of the client and base server classes. Documented
all around.
* lib/RPC/XML.pm
Re-engineered the test for the "bytes" pragma in RPC::XML, so
that it now works with Perl 5.005.
* lib/RPC/XML/Client.pm
Fixed the credentials() method in RPC::XML::Client.
* lib/Apache/RPC/Server.pm
* lib/RPC/XML/Client.pm
* lib/RPC/XML/Server.pm
All the internal use of object attributes in RPC::XML::Client
now use accessors instead of the hash keys directly, to make it
easier to sub-class the package. The same was done in
RPC::XML::Server and to some degree in Apache::RPC::Server. The
server classes are more likely to have problems, though.
* lib/RPC/XML/Client.pm
* lib/RPC/XML/Parser.pm
* lib/RPC/XML/Server.pm
The parsing of incoming data in the client and both server
classes is now done to a streaming XML parser, eliminating the
need for the full message to ever be in memory at once.
Likewise, the client and server classes have new attributes and
accessor methods to allow them to spool outgoing messages to
files if the messages threaten to be too large to keep in
memory (this is best used when dealing with a lot of Base64
data that is being dealt with directly on disk as well).
0.46 Sunday December 29, 2002, 11:39:05 PM -0800
* lib/RPC/XML/Client.pm
Applied a patch from Andrew Langmead to fix a bug in the uri()
method of RPC::XML::Client. Prior, retrieving the value could
accidentally reset it. Applied another fix from him to prevent
a possible warning.
* lib/RPC/XML/Server.pm
Applied another patch to better handle testing of the
availability of compression in the client.
* Makefile.PL
Moving around some of the RPM spec-file generation caused
problems with some people trying to build the package if
spec.in was missing. Fixed this in Makefile.PL.
* lib/RPC/XML/Procedure.pm
Fix to RPC::XML::Procedure per tip from Stig Porsgaard, to fix
the reading of 'signature' arguments to new() when providing
all the proc data directly. Reported by others as well, but
Stig nailed it down to a specific line.
0.45 Tuesday October 29, 2002, 09:06:00 PM -0800
* lib/RPC/XML.pm
Fixed a problem in the test-usage of the bytes pragma in
RPC::XML, reported by Marc Jauvin.
* lib/RPC/XML/Parser.pm
Closed a potential security hole in the parsing of external
entities, pointed out by Gregory Steuck.
0.43 Sunday August 18, 2002, 10:19:30 PM -0700
* methods/methodSignature.code
* t/40_server.t
* t/60_net_server.t
Changed methods/methodSignature.code, t/40_server.t and
t/60_net_server.t so that the provided system.methodSignature
follows the accepted API (returns a list of lists, rather than
list of strings). Pointed out by Bjoern Stierand.
* lib/RPC/XML.pm
Added a missing helper (RPC_I4) to RPC::XML.pm.
* lib/Apache/RPC/Server.pm
Fixed a bad bug with the newly-added compression support in
Apache::RPC::Server::handler. Because $self was defined
earlier, strict failed to point out that my object in that
scope was called $srv, rather than $self. And $self->compress
didn't work, amazingly enough. Found and reported by Scott Fagg.
( run in 0.552 second using v1.01-cache-2.11-cpan-39bf76dae61 )