httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r234120 [1/2] - in /httpd/apreq/trunk: glue/perl/lib/Apache2/ glue/perl/t/apreq/ glue/perl/t/response/TestApReq/ glue/perl/xsbuilder/ glue/perl/xsbuilder/APR/Request/ glue/perl/xsbuilder/APR/Request/CGI/ glue/perl/xsbuilder/APR/Request/Cook...
Date Sat, 20 Aug 2005 19:51:07 GMT
Author: joes
Date: Sat Aug 20 12:50:35 2005
New Revision: 234120

URL: http://svn.apache.org/viewcvs?rev=234120&view=rev
Log:
style cleanup: delete-trailing-whitespace

Modified:
    httpd/apreq/trunk/glue/perl/lib/Apache2/Cookie.pm
    httpd/apreq/trunk/glue/perl/lib/Apache2/Request.pm
    httpd/apreq/trunk/glue/perl/lib/Apache2/Upload.pm
    httpd/apreq/trunk/glue/perl/t/apreq/big_input.t
    httpd/apreq/trunk/glue/perl/t/apreq/cgi.t
    httpd/apreq/trunk/glue/perl/t/apreq/cookie.t
    httpd/apreq/trunk/glue/perl/t/apreq/request.t
    httpd/apreq/trunk/glue/perl/t/apreq/upload.t
    httpd/apreq/trunk/glue/perl/t/response/TestApReq/request.pm
    httpd/apreq/trunk/glue/perl/t/response/TestApReq/upload.pm
    httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/APR__Request.h
    httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/CGI/CGI.pod
    httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pod
    httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.xs
    httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/APR__Request__Param.h
    httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.pod
    httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.xs
    httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Parser/Parser.xs
    httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.pod
    httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.xs
    httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_postperl.h
    httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_tables.h
    httpd/apreq/trunk/glue/perl/xsbuilder/ppport.h
    httpd/apreq/trunk/include/apreq.h
    httpd/apreq/trunk/include/apreq_cookie.h
    httpd/apreq/trunk/include/apreq_error.h
    httpd/apreq/trunk/include/apreq_module.h
    httpd/apreq/trunk/include/apreq_param.h
    httpd/apreq/trunk/include/apreq_parser.h
    httpd/apreq/trunk/include/apreq_util.h
    httpd/apreq/trunk/include/apreq_version.h
    httpd/apreq/trunk/include/groups.dox.in
    httpd/apreq/trunk/library/cookie.c
    httpd/apreq/trunk/library/module_cgi.c
    httpd/apreq/trunk/library/module_custom.c
    httpd/apreq/trunk/library/param.c
    httpd/apreq/trunk/library/parser.c
    httpd/apreq/trunk/library/parser_header.c
    httpd/apreq/trunk/library/parser_multipart.c
    httpd/apreq/trunk/library/parser_urlencoded.c
    httpd/apreq/trunk/library/t/at.c
    httpd/apreq/trunk/library/t/at.h
    httpd/apreq/trunk/library/t/cookie.c
    httpd/apreq/trunk/library/t/error.c
    httpd/apreq/trunk/library/t/params.c
    httpd/apreq/trunk/library/t/parsers.c
    httpd/apreq/trunk/library/t/util.c
    httpd/apreq/trunk/library/t/version.c
    httpd/apreq/trunk/library/util.c
    httpd/apreq/trunk/module/apache/command.c
    httpd/apreq/trunk/module/apache/handle.c
    httpd/apreq/trunk/module/apache2/apreq_module_apache2.h
    httpd/apreq/trunk/module/apache2/filter.c
    httpd/apreq/trunk/module/apache2/handle.c
    httpd/apreq/trunk/module/t/TEST.PL
    httpd/apreq/trunk/module/t/big_request.t
    httpd/apreq/trunk/module/t/c-modules/apreq_access_test/mod_apreq_access_test.c
    httpd/apreq/trunk/module/t/c-modules/apreq_cookie_test/mod_apreq_cookie_test.c
    httpd/apreq/trunk/module/t/c-modules/apreq_output_filter_test/mod_apreq_output_filter_test.c
    httpd/apreq/trunk/module/t/cgi.t
    httpd/apreq/trunk/module/t/cookie.t
    httpd/apreq/trunk/module/t/request.t
    httpd/apreq/trunk/module/test_cgi.c

Modified: httpd/apreq/trunk/glue/perl/lib/Apache2/Cookie.pm
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/lib/Apache2/Cookie.pm?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/lib/Apache2/Cookie.pm (original)
+++ httpd/apreq/trunk/glue/perl/lib/Apache2/Cookie.pm Sat Aug 20 12:50:35 2005
@@ -120,7 +120,7 @@
     use Apache2::Cookie;
     use APR::Pool;
     # use $r instead of $p here, so doc examples reflect mp2 env, not CGI/test env
-    $r = APR::Pool->new; 
+    $r = APR::Pool->new;
     $j = Apache2::Cookie::Jar->new($r);
     $j->cookies->{foo} = Apache2::Cookie->new($r, name => "foo", value => "1");
     $j->cookies->add( Apache2::Cookie->new($r, name => "bar", value => "2") );
@@ -138,7 +138,7 @@
     $j = Apache2::Cookie::Jar->new($r);
     $c_in = $j->cookies("foo");         # get cookie from request headers
 
-    $c_out = Apache2::Cookie->new($r, 
+    $c_out = Apache2::Cookie->new($r,
                                   -name  => "mycookie",
                                   -value => $c_in->name );
 
@@ -158,10 +158,10 @@
 =head1 DESCRIPTION
 
 
-The Apache2::Cookie module is based on the original 1.X versions, which mimic 
-the CGI::Cookie API.  The current version of this module includes several packages 
-and methods which are patterned after Apache2::Request, yet remain largely 
-backwards-compatible with the original 1.X API (see the L<PORTING from 1.X> section 
+The Apache2::Cookie module is based on the original 1.X versions, which mimic
+the CGI::Cookie API.  The current version of this module includes several packages
+and methods which are patterned after Apache2::Request, yet remain largely
+backwards-compatible with the original 1.X API (see the L<PORTING from 1.X> section
 below for known issues).
 
 This manpage documents the Apache2::Cookie and Apache2::Cookie::Jar packages.
@@ -182,7 +182,7 @@
 
     Apache2::Cookie::Jar->new($env)
 
-Class method that retrieves the parsed cookie jar from the current 
+Class method that retrieves the parsed cookie jar from the current
 environment.
 
 =head2 cookies
@@ -194,14 +194,14 @@
 context the first such cookie is returned, and in list context the
 full list of such cookies are returned.
 
-If the $key argument is omitted, C<< scalar $jar->cookies() >> will 
-return an APR::Request::Cookie::Table object containing all the cookies in 
-the jar.  Modifications to the this object will affect the jar's 
-internal I<cookies> table in C<apreq_jar_t>, so their impact will 
+If the $key argument is omitted, C<< scalar $jar->cookies() >> will
+return an APR::Request::Cookie::Table object containing all the cookies in
+the jar.  Modifications to the this object will affect the jar's
+internal I<cookies> table in C<apreq_jar_t>, so their impact will
 be noticed by all libapreq2 applications during this request.
 
-In list context C<< $jar->cookies() >> returns the list of names 
-for all the cookies in the jar.  The order corresponds to the 
+In list context C<< $jar->cookies() >> returns the list of names
+for all the cookies in the jar.  The order corresponds to the
 order in which the cookies appeared in the incoming "Cookie" header.
 
 This method will throw an C<< APR::Request::Error >> object into $@ if
@@ -259,13 +259,13 @@
 =for example begin
 
     $cookie = Apache2::Cookie->new($r,
-                             -name    =>  'foo', 
-                             -value   =>  'bar', 
-                             -expires =>  '+3M', 
-                             -domain  =>  '.capricorn.com', 
+                             -name    =>  'foo',
+                             -value   =>  'bar',
+                             -expires =>  '+3M',
+                             -domain  =>  '.capricorn.com',
                              -path    =>  '/cgi-bin/database',
-                             -secure  =>  1 
-                            ); 
+                             -secure  =>  1
+                            );
 
 =for example end
 
@@ -277,7 +277,7 @@
     ok $cookie->secure == 1,                '$cookie->secure == 1';
 
 The C<-value> argument may be either an arrayref, a hashref, or
-a string.  C<Apache2::Cookie::freeze> encodes this argument into the 
+a string.  C<Apache2::Cookie::freeze> encodes this argument into the
 cookie's raw value.
 
 
@@ -309,9 +309,9 @@
     $cookie->thaw()
 
 
-This is the helper method (for C<value>) responsible for decoding the 
+This is the helper method (for C<value>) responsible for decoding the
 raw value of a cookie.  An optional argument $value may be used in
-place of the cookie's raw value.  This method can also decode cookie 
+place of the cookie's raw value.  This method can also decode cookie
 values created using CGI::Cookie or Apache2::Cookie 1.X.
 
 =for example begin
@@ -334,7 +334,7 @@
 
     $cookie->as_string()
 
-Format the cookie object as a string.  The quote-operator for Apache2::Cookie 
+Format the cookie object as a string.  The quote-operator for Apache2::Cookie
 is overloaded to run this method whenever a cookie appears in quotes.
 
 
@@ -380,15 +380,15 @@
     ok $value eq "bar", '$value eq "bar"';
     ok $values[0] eq "bar", '$values[0] eq "bar"';
 
-Note: if the cookie's value was created using a  C<freeze> method, 
-one way to reconstitute the object is by subclassing 
+Note: if the cookie's value was created using a  C<freeze> method,
+one way to reconstitute the object is by subclassing
 Apache2::Cookie with a package that provides the associated C<thaw> sub:
 
 =for example begin
 
     {
         package My::COOKIE;
-        @ISA = 'Apache2::Cookie'; 
+        @ISA = 'Apache2::Cookie';
         sub thaw { my $val = shift->raw_value; $val =~ tr/a-z/A-Z/; $val }
     }
 
@@ -406,7 +406,7 @@
     $cookie->raw_value()
 
 Gets the raw (opaque) value string as it appears in the incoming
-"Cookie" header.  
+"Cookie" header.
 
 =for example begin
 
@@ -488,7 +488,7 @@
     $cookie->version($set)
 
 Get or set the cookie version for this cookie.
-Netscape spec cookies have version = 0; 
+Netscape spec cookies have version = 0;
 RFC-compliant cookies have version = 1.
 
 =for example begin
@@ -622,7 +622,7 @@
 
 =over 4
 
-=item * C<Apache2::Cookie::fetch> now expects an C<$r> object as (second) 
+=item * C<Apache2::Cookie::fetch> now expects an C<$r> object as (second)
         argument, although this isn't necessary in mod_perl 2 if
         C<Apache2::RequestUtil> is loaded.
 

Modified: httpd/apreq/trunk/glue/perl/lib/Apache2/Request.pm
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/lib/Apache2/Request.pm?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/lib/Apache2/Request.pm (original)
+++ httpd/apreq/trunk/glue/perl/lib/Apache2/Request.pm Sat Aug 20 12:50:35 2005
@@ -91,7 +91,7 @@
 =head1 Apache2::Request
 
 The interface is designed to mimic the CGI.pm routines for parsing
-query parameters. The main differences are 
+query parameters. The main differences are
 
 =over 4
 
@@ -167,8 +167,8 @@
 
 =item * C<HOOK_DATA>
 
-Extra configuration info passed as the fourth argument 
-to an upload hook.  See the description for the next item, 
+Extra configuration info passed as the fourth argument
+to an upload hook.  See the description for the next item,
 C<UPLOAD_HOOK>.
 
 
@@ -186,7 +186,7 @@
     warn "$hook_data: got $data_len bytes for " . $upload->name;
   };
 
-  my $req = Apache2::Request->new($r, 
+  my $req = Apache2::Request->new($r,
                                   HOOK_DATA => "Note",
                                   UPLOAD_HOOK => $transparent_hook,
                                  );
@@ -206,7 +206,7 @@
 The default (and only) behavior of I<Apache2::Request> is to intelligently
 cache B<POST> data for the duration of the request.  Thus there is no longer
 the need for a separate C<instance()> method as existed in I<Apache2::Request>
-for Apache 1.3 - all B<POST> data is always available from each and every 
+for Apache 1.3 - all B<POST> data is always available from each and every
 I<Apache2::Request> object created during the request's lifetime.
 
 However an C<instance()> method is aliased to C<new()> in this release
@@ -234,7 +234,7 @@
 
     # the following differ slightly from CGI.pm
 
-    # returns ref to APR::Request::Param::Table object representing 
+    # returns ref to APR::Request::Param::Table object representing
     # all (args + body) params
     my $table = $req->param;
     @table_keys = keys %$table;
@@ -248,19 +248,19 @@
     is "@table_keys", "foo bar foo foo";
 
 
-In list context, or when invoked with no arguments as 
-C<< $req->param() >>, C<param> induces libapreq2 to read 
+In list context, or when invoked with no arguments as
+C<< $req->param() >>, C<param> induces libapreq2 to read
 and parse all remaining data in the request body.
-However, C<< scalar $req->param("foo") >> is lazy: libapreq2 
+However, C<< scalar $req->param("foo") >> is lazy: libapreq2
 will only read and parse more data if
 
     1) no "foo" param appears in the query string arguments, AND
     2) no "foo" param appears in the previously parsed POST data.
 
 In this circumstance libapreq2 will read and parse additional
-blocks of the incoming request body until either 
+blocks of the incoming request body until either
 
-    1) it has found the the "foo" param, or 
+    1) it has found the the "foo" param, or
     2) parsing is completed.
 
 Observe that C<< scalar $req->param("foo") >> will not raise
@@ -271,7 +271,7 @@
 
 =for example begin
 
-    $req->args_status(1); # set error state for query-string parser 
+    $req->args_status(1); # set error state for query-string parser
     ok $req->param_status == 1;
 
     $foo = $req->param("foo");
@@ -291,9 +291,9 @@
 
 
 Note: modifications to the C<< scalar $req->param() >> table only
-affect the returned table object (the underlying C apr_table_t is 
-I<generated> from the parse data by apreq_params()).  Modifications 
-do not affect the actual request data, and will not be seen by other 
+affect the returned table object (the underlying C apr_table_t is
+I<generated> from the parse data by apreq_params()).  Modifications
+do not affect the actual request data, and will not be seen by other
 libapreq2 applications.
 
 
@@ -304,7 +304,7 @@
 The functionality of these functions is assumed by C<param>,
 so they are no longer necessary.  Aliases to C<param> are
 provided in this release for backwards compatibility,
-however they are deprecated and may be removed from a future 
+however they are deprecated and may be removed from a future
 release.
 
 
@@ -344,7 +344,7 @@
 More generally, C<body()> follows the same pattern as C<param()>
 with respect to its return values and argument list.  The main difference
 is that modifications to the C<< scalar $req->body() >> table affect
-the underlying apr_table_t attribute in apreq_request_t, so their impact 
+the underlying apr_table_t attribute in apreq_request_t, so their impact
 will be noticed by all libapreq2 applications during this request.
 
 
@@ -356,7 +356,7 @@
     $req->upload($name)
 
 Requires C<Apache2::Upload>.  With no arguments, this method
-returns an I<APR::Request::Param::Table> object in scalar context, 
+returns an I<APR::Request::Param::Table> object in scalar context,
 or the names of all I<Apache2::Upload> objects in list context.
 
 An optional name parameter can be passed to return the I<Apache2::Upload>
@@ -366,12 +366,12 @@
 
 More generally, C<upload()> follows the same pattern as C<param()>
 with respect to its return values and argument list.  The main difference
-is that its returned values are Apache2::Upload object refs, not 
+is that its returned values are Apache2::Upload object refs, not
 simple scalars.
 
 Note: modifications to the C<< scalar $req->upload() >> table only
-affect the returned table object (the underlying C apr_table_t is 
-I<generated> by apreq_uploads()).  They do not affect the actual request 
+affect the returned table object (the underlying C apr_table_t is
+I<generated> by apreq_uploads()).  They do not affect the actual request
 data, and will not be seen by other libapreq2 applications.
 
 
@@ -410,17 +410,17 @@
 
 In scalar context, this returns C<args_status> if there was
 an error during the query-string parse, otherwise this returns
-C<body_status>, ie  
+C<body_status>, ie
 
     $req->args_status || $req->body_status
 
-In list context C<param_status> returns the list 
+In list context C<param_status> returns the list
 C<(args_status, body_status)>.
 
 =for testing
-    is scalar($req->param_status), 
+    is scalar($req->param_status),
        $req->args_status || $req->body_status;
-    is join(" ", $req->param_status), 
+    is join(" ", $req->param_status),
        join(" ", $req->args_status, $req->body_status);
 
 
@@ -433,7 +433,7 @@
 Forces the request to be parsed immediately.  In void context,
 this will throw an APR::Request::Error should the either the
 query-string or body parser fail. In all other contexts it will
-return the two parsers' combined I<APR> status code 
+return the two parsers' combined I<APR> status code
 
     $req->body_status || $req->args_status
 
@@ -454,8 +454,8 @@
     }
 
 Calling C<< $r->discard_request_body >> outside the content handler
-is generally a mistake, so use C<< $req->parse >> there, but 
-B<only as a last resort>.  The Apache2::Request API is B<designed> 
+is generally a mistake, so use C<< $req->parse >> there, but
+B<only as a last resort>.  The Apache2::Request API is B<designed>
 around a lazy-parsing scheme, so calling C<parse> should not
 affect the behavior of any other methods.
 
@@ -483,8 +483,8 @@
 
 =head1 PORTING from 1.X
 
-This is the complete list of changes to existing methods 
-from Apache2::Request 1.X.  These issues need to be 
+This is the complete list of changes to existing methods
+from Apache2::Request 1.X.  These issues need to be
 addressed when porting 1.X apps to the new 2.X API.
 
 
@@ -492,7 +492,7 @@
 
 =item * Apache2::Upload is now a separate module.  Applications
         requiring the upload API must C<use Apache2::Upload> in 2.X.
-        This is easily addressed by preloading the modules during 
+        This is easily addressed by preloading the modules during
         server startup.
 
 =item * You can no longer add (or set or delete) parameters in the
@@ -500,7 +500,7 @@
         C<< scalar $req->body >> tables.  Nor can you add (or set or delete)
         cookies in the C<< scalar $req->jar >> table.
 
-=item * C<instance()> is now identical to C<new()>, and is now deprecated.  It 
+=item * C<instance()> is now identical to C<new()>, and is now deprecated.  It
         may be removed from a future 2.X release.
 
 =item * C<param> includes the functionality of C<parms()> and C<params()>, so

Modified: httpd/apreq/trunk/glue/perl/lib/Apache2/Upload.pm
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/lib/Apache2/Upload.pm?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/lib/Apache2/Upload.pm (original)
+++ httpd/apreq/trunk/glue/perl/lib/Apache2/Upload.pm Sat Aug 20 12:50:35 2005
@@ -92,7 +92,7 @@
 =head1 DESCRIPTION
 
 Apache2::Upload is a new module based on the original package included
-in Apache2::Request 1.X.  Users requiring the upload API must now 
+in Apache2::Request 1.X.  Users requiring the upload API must now
 C<use Apache2::Upload>, which adds the C<upload> method to Apache2::Request.
 Apache2::Upload is largely backwards-compatible with the original 1.X API.
 See the L<PORTING from 1.X> section below for a list of known issues.
@@ -123,8 +123,8 @@
 
     $upload->filename()
 
-The (client-side) filename as submitted in the HTML form.  Note: 
-some agents will submit the file's full pathname, while others 
+The (client-side) filename as submitted in the HTML form.  Note:
+some agents will submit the file's full pathname, while others
 may submit just the basename.
 
 =for testing
@@ -147,16 +147,16 @@
 
     $upload->io()
 
-Creates a tied IO handle.  This method is a more efficient version 
-of C<fh>, but with C<io> the handle ref returned is not seekable.  
-It is tied to an APR::Request::Brigade object, so you may use the 
-brigade API on the tied object if you want to manipulate the IO stream 
+Creates a tied IO handle.  This method is a more efficient version
+of C<fh>, but with C<io> the handle ref returned is not seekable.
+It is tied to an APR::Request::Brigade object, so you may use the
+brigade API on the tied object if you want to manipulate the IO stream
 (beyond simply reading from it).
 
-The returned reference is actually an object which has C<read> and 
-C<readline> methods available.  However these methods are just 
-syntactic sugar for the underlying C<READ> and C<READLINE> methods from 
-APR::Request::Brigade.  
+The returned reference is actually an object which has C<read> and
+C<readline> methods available.  However these methods are just
+syntactic sugar for the underlying C<READ> and C<READLINE> methods from
+APR::Request::Brigade.
 
 =for example begin
 
@@ -171,7 +171,7 @@
     $io->read($h{io}, $upload->size);
     is $h{io}, $data, "autovivifying read";
 
-See L<READ|read> and L<READLINE|readline> below for additional notes 
+See L<READ|read> and L<READLINE|readline> below for additional notes
 on their usage.
 
 
@@ -203,7 +203,7 @@
     $upload->info()
     $upload->info($set)
 
-Get/set the additional header information table for the 
+Get/set the additional header information table for the
 uploaded file.
 Returns a hash reference tied to the I<APR::Table> class.
 An optional C<$table> argument can be passed to reassign
@@ -254,7 +254,7 @@
 
     $upload->link()
 
-To avoid recopying the upload's internal tempfile brigade on a 
+To avoid recopying the upload's internal tempfile brigade on a
 *nix-like system, I<link> will create a hard link to it:
 
 =for example begin
@@ -265,9 +265,9 @@
 
 =for example end
 
-Typically the new name must lie on the same device and partition 
+Typically the new name must lie on the same device and partition
 as the brigade's tempfile.  If this or any other reason prevents
-the OS from linking the files, C<link()> will instead 
+the OS from linking the files, C<link()> will instead
 copy the temporary file to the specified location.
 
 
@@ -320,9 +320,9 @@
 
 This class is derived from APR::Brigade, providing additional
 methods for TIEHANDLE, READ and READLINE.  To be memory efficient,
-these methods delete buckets from the brigade as soon as their 
+these methods delete buckets from the brigade as soon as their
 data is actually read, so you cannot C<seek> on handles tied to
-this class.  Such handles have semantics similar to that of a 
+this class.  Such handles have semantics similar to that of a
 read-only socket.
 
 
@@ -352,9 +352,9 @@
     $bb->READ($contents, $length, $offset)
 
 Reads data from the brigade $bb into $contents.  When omitted
-$length defaults to C<-1>, which reads the first bucket into $contents.  
-A positive $length will read in $length bytes, or the remainder of the 
-brigade, whichever is greater. $offset represents the index in $context 
+$length defaults to C<-1>, which reads the first bucket into $contents.
+A positive $length will read in $length bytes, or the remainder of the
+brigade, whichever is greater. $offset represents the index in $context
 to read the new data.
 
 
@@ -374,7 +374,7 @@
 
 =over 4
 
-=item * C<< $upload->next() >> is no longer available;  please use the 
+=item * C<< $upload->next() >> is no longer available;  please use the
 C<< APR::Request::Param::Table >> API when iterating over upload entries.
 
 =item * C<info($header_name)> is replaced by C<info($set)>.

Modified: httpd/apreq/trunk/glue/perl/t/apreq/big_input.t
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/t/apreq/big_input.t?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/t/apreq/big_input.t (original)
+++ httpd/apreq/trunk/glue/perl/t/apreq/big_input.t Sat Aug 20 12:50:35 2005
@@ -3,7 +3,7 @@
 
 # test the processing of variations of the key lengths and the keys
 # numbers
- 
+
 use Apache::Test;
 use Apache::TestUtil;
 use Apache::TestRequest qw(GET_BODY POST_BODY);

Modified: httpd/apreq/trunk/glue/perl/t/apreq/cgi.t
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/t/apreq/cgi.t?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/t/apreq/cgi.t (original)
+++ httpd/apreq/trunk/glue/perl/t/apreq/cgi.t Sat Aug 20 12:50:35 2005
@@ -4,7 +4,7 @@
 use Apache::Test;
 use Apache::TestUtil qw(t_cmp t_debug t_write_perl_script);
 use Apache::TestConfig;
-use Apache::TestRequest qw(GET_BODY UPLOAD_BODY 
+use Apache::TestRequest qw(GET_BODY UPLOAD_BODY
                            GET_BODY_ASSERT POST_BODY GET_RC GET_HEAD);
 use constant WIN32 => Apache::TestConfig::WIN32;
 use HTTP::Cookies;
@@ -93,19 +93,19 @@
 ok t_cmp(GET_BODY("$script?foo=%3F&bar=hello+world"),
          "\tfoo => ?$line_end\tbar => hello world$line_end", "simple get");
 
-my $body = POST_BODY($script, content => 
+my $body = POST_BODY($script, content =>
                      "aaa=$filler;foo=1;bar=2;filler=$filler");
-ok t_cmp($body, "\tfoo => 1$line_end\tbar => 2$line_end", 
+ok t_cmp($body, "\tfoo => 1$line_end\tbar => 2$line_end",
          "simple post");
 
-$body = POST_BODY("$script?foo=1", content => 
+$body = POST_BODY("$script?foo=1", content =>
                   "intro=$filler&bar=2&conclusion=$filler");
-ok t_cmp($body, "\tfoo => 1$line_end\tbar => 2$line_end", 
+ok t_cmp($body, "\tfoo => 1$line_end\tbar => 2$line_end",
          "simple post");
 
 
 $body = UPLOAD_BODY("$script?foo=1", content => $filler);
-ok t_cmp($body, "\tfoo => 1$line_end", 
+ok t_cmp($body, "\tfoo => 1$line_end",
          "simple upload");
 
 
@@ -142,7 +142,7 @@
     my $key   = 'apache';
     my $value = 'ok';
     my $cookie = "$key=$value";
-    my ($header) = GET_HEAD("$script?test=$test&key=$key", 
+    my ($header) = GET_HEAD("$script?test=$test&key=$key",
                             Cookie => $cookie) =~ /^#Set-Cookie:\s+(.+)/m;
     ok t_cmp($header, $cookie, $test);
 }
@@ -151,7 +151,7 @@
     my $key   = 'apache';
     my $value = 'ok';
     my $cookie = qq{\$Version="1"; $key="$value"; \$Path="$location"};
-    my ($header) = GET_HEAD("$script?test=$test&key=$key", 
+    my ($header) = GET_HEAD("$script?test=$test&key=$key",
                             Cookie => $cookie) =~ /^#Set-Cookie2:\s+(.+)/m;
     ok t_cmp($header, qq{$key="$value"; Version=1; path="$location"}, $test);
 }
@@ -178,7 +178,7 @@
     my $basename = File::Basename::basename($file);
 
     for my $method ( @methods) {
-        my $result = UPLOAD_BODY("$script?method=$method;has_md5=$has_md5", 
+        my $result = UPLOAD_BODY("$script?method=$method;has_md5=$has_md5",
                                  filename => $file);
         $result =~ s{\r}{}g;
         my $expected = <<END;
@@ -238,7 +238,7 @@
         print "\tbar => $bar\n";
     }
 }
-    
+
 elsif ($test && $key) {
     my $jar = $req->jar;
     $jar->cookie_class("APR::Request::Cookie");
@@ -304,7 +304,7 @@
     print $wfh $data;
     close $wfh;
     my $cs = $has_md5 ? cs($temp_file) : 0;
- 
+
     my $size = -s $temp_file;
     print <<"END";
 
@@ -335,7 +335,7 @@
     my $msg = shift;
     my ($pkg, $file, $line) = caller;
     $file = basename($file);
-    print STDERR "$file($line): $msg\n";    
+    print STDERR "$file($line): $msg\n";
 }
 
 sub cs {

Modified: httpd/apreq/trunk/glue/perl/t/apreq/cookie.t
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/t/apreq/cookie.t?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/t/apreq/cookie.t (original)
+++ httpd/apreq/trunk/glue/perl/t/apreq/cookie.t Sat Aug 20 12:50:35 2005
@@ -23,9 +23,9 @@
     # XXX why does this test fail?
     my $test  = 'bake';
     my $value = 'foo=bar; path=/quux; domain=example.com';
-    my ($header) = (GET_HEAD("$location?test=bake") 
+    my ($header) = (GET_HEAD("$location?test=bake")
                    =~ /^#Set-Cookie:\s+(.+)/m) ;
-    ok t_cmp($header, 
+    ok t_cmp($header,
              $value,
              $test);
 }
@@ -69,7 +69,7 @@
     my $key   = 'apache';
     my $value = 'ok';
     my $cookie = "$key=$value";
-    my ($header) = GET_HEAD("$location?test=$test&key=$key", 
+    my ($header) = GET_HEAD("$location?test=$test&key=$key",
                             Cookie => $cookie) =~ /^#Set-Cookie:\s+(.+)/m;
 
     ok t_cmp($header, $cookie, $test);
@@ -79,7 +79,7 @@
     my $key   = 'apache';
     my $value = 'ok';
     my $cookie = qq{\$Version="1"; $key="$value"; \$Path="$location"};
-    my ($header) = GET_HEAD("$location?test=$test&key=$key", 
+    my ($header) = GET_HEAD("$location?test=$test&key=$key",
                             Cookie => $cookie) =~ /^#Set-Cookie2:\s+(.+)/m;
     ok t_cmp($header, qq{$key="$value"; Version=1; path="$location"}, $test);
 }

Modified: httpd/apreq/trunk/glue/perl/t/apreq/request.t
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/t/apreq/request.t?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/t/apreq/request.t (original)
+++ httpd/apreq/trunk/glue/perl/t/apreq/request.t Sat Aug 20 12:50:35 2005
@@ -24,32 +24,32 @@
 for my $test (qw/slurp bb tempname link fh io bad;query=string%%/) {
     # upload a string as a file
     my $value = ('DataUpload' x 10 . "\n") x 1_000;
-    my $result = UPLOAD_BODY("$location?test=$test", content => $value); 
+    my $result = UPLOAD_BODY("$location?test=$test", content => $value);
     ok t_cmp($result, $value, "basic upload");
     my $i;
     for ($i = 0; $i < length $value; ++$i) {
         last if substr($value,$i,1) ne substr($result,$i,1);
     }
 
-    ok t_cmp($i, length($value), "basic upload length");    
+    ok t_cmp($i, length($value), "basic upload length");
 }
 
 
 {
     my $value = 'DataUpload' x 100;
-    my $result = UPLOAD_BODY("$location?test=type", content => $value); 
+    my $result = UPLOAD_BODY("$location?test=type", content => $value);
     ok t_cmp($result, "text/plain", "type");
 }
 
 {
     my $value = 'DataUpload' x 100;
-    my $result = UPLOAD_BODY("$location?test=hook", content => $value); 
+    my $result = UPLOAD_BODY("$location?test=hook", content => $value);
     ok t_cmp($result, $value, "type");
 }
 
 {
     my $value = 'DataUpload' x 100;
-    my $result = UPLOAD_BODY("$location?test=disable_uploads;foo=bar1;foo=bar2", 
-        content => $value); 
+    my $result = UPLOAD_BODY("$location?test=disable_uploads;foo=bar1;foo=bar2",
+        content => $value);
     ok t_cmp($result, "ok", "disabled uploads");
 }

Modified: httpd/apreq/trunk/glue/perl/t/apreq/upload.t
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/t/apreq/upload.t?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/t/apreq/upload.t (original)
+++ httpd/apreq/trunk/glue/perl/t/apreq/upload.t Sat Aug 20 12:50:35 2005
@@ -39,7 +39,7 @@
     my $basename = File::Basename::basename($file);
 
     for my $method ( @methods) {
-        my $result = UPLOAD_BODY("$location?method=$method;has_md5=$has_md5", 
+        my $result = UPLOAD_BODY("$location?method=$method;has_md5=$has_md5",
                                  filename => $file);
         my $expected = <<END;
 

Modified: httpd/apreq/trunk/glue/perl/t/response/TestApReq/request.pm
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/t/response/TestApReq/request.pm?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/t/response/TestApReq/request.pm (original)
+++ httpd/apreq/trunk/glue/perl/t/response/TestApReq/request.pm Sat Aug 20 12:50:35 2005
@@ -25,7 +25,7 @@
 sub handler {
     my $r = shift;
     my $temp_dir =
-        File::Spec->catfile(Apache2::ServerUtil::server_root, 'logs'); 
+        File::Spec->catfile(Apache2::ServerUtil::server_root, 'logs');
     my $req = Apache2::Request->new($r, POST_MAX => 1_000_000,
                                         TEMP_DIR => $temp_dir);
 #    $req->temp_dir($temp_dir);

Modified: httpd/apreq/trunk/glue/perl/t/response/TestApReq/upload.pm
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/t/response/TestApReq/upload.pm?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/t/response/TestApReq/upload.pm (original)
+++ httpd/apreq/trunk/glue/perl/t/response/TestApReq/upload.pm Sat Aug 20 12:50:35 2005
@@ -60,7 +60,7 @@
     print $wfh $data;
     close $wfh;
     my $cs = $has_md5 ? cs($temp_file) : 0;
- 
+
     $req->content_type('text/plain');
     my $size = -s $temp_file;
     $r->print(<<END);

Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/APR__Request.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/APR__Request.h?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/APR__Request.h (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/APR__Request.h Sat Aug 20 12:50:35 2005
@@ -27,7 +27,7 @@
             apr_status_t s;
 
             s = apreq_jar(req, &t);
-            if (apreq_module_status_is_error(s) 
+            if (apreq_module_status_is_error(s)
                 && !sv_derived_from(ST(0), ERROR_CLASS))
                 apreq_xs_croak(aTHX_ newHV(), obj, s,
                                "APR::Request::jar", ERROR_CLASS);
@@ -61,7 +61,7 @@
             if (items == 1)
                 apr_table_do(apreq_xs_cookie_table_keys, &d, t, NULL);
             else
-                apr_table_do(apreq_xs_cookie_table_values, &d, t, 
+                apr_table_do(apreq_xs_cookie_table_values, &d, t,
                              SvPV_nolen(ST(1)), NULL);
             return;
 
@@ -142,12 +142,12 @@
             if (items == 1)
                 apr_table_do(apreq_xs_param_table_keys, &d, t, NULL);
             else
-                apr_table_do(apreq_xs_param_table_values, &d, t, 
+                apr_table_do(apreq_xs_param_table_values, &d, t,
                              SvPV_nolen(ST(1)), NULL);
             return;
 
         case G_SCALAR:
-            ST(0) = apreq_xs_param_table2sv(aTHX_ t, 
+            ST(0) = apreq_xs_param_table2sv(aTHX_ t,
                                             PARAM_TABLE_CLASS,
                                             obj, NULL, 0);
             sv_2mortal(ST(0));
@@ -222,12 +222,12 @@
             if (items == 1)
                 apr_table_do(apreq_xs_param_table_keys, &d, t, NULL);
             else
-                apr_table_do(apreq_xs_param_table_values, &d, t, 
+                apr_table_do(apreq_xs_param_table_values, &d, t,
                              SvPV_nolen(ST(1)), NULL);
             return;
 
         case G_SCALAR:
-            ST(0) = apreq_xs_param_table2sv(aTHX_ t, 
+            ST(0) = apreq_xs_param_table2sv(aTHX_ t,
                                             PARAM_TABLE_CLASS,
                                             obj, NULL, 0);
             sv_2mortal(ST(0));
@@ -304,7 +304,7 @@
             if (t == NULL)
                 XSRETURN_UNDEF;
 
-            ST(0) = apreq_xs_param_table2sv(aTHX_ t, 
+            ST(0) = apreq_xs_param_table2sv(aTHX_ t,
                                             PARAM_TABLE_CLASS,
                                             obj, NULL, 0);
             sv_2mortal(ST(0));
@@ -365,7 +365,7 @@
 }
 
 APR_INLINE
-static apr_status_t eval_upload_hook(pTHX_ apreq_param_t *upload, 
+static apr_status_t eval_upload_hook(pTHX_ apreq_param_t *upload,
                                      struct hook_ctx *ctx)
 {
     dSP;
@@ -413,7 +413,7 @@
         apr_size_t len;
         const char *data;
 
-        if (APR_BUCKET_IS_EOS(e)) {  /*last call on this upload */           
+        if (APR_BUCKET_IS_EOS(e)) {  /*last call on this upload */
             SV *sv = ctx->bucket_data;
             ctx->bucket_data = &PL_sv_undef;
             s = eval_upload_hook(aTHX_ param, ctx);

Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/CGI/CGI.pod
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/CGI/CGI.pod?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/CGI/CGI.pod (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/CGI/CGI.pod Sat Aug 20 12:50:35 2005
@@ -34,7 +34,7 @@
 
     APR::Request::CGI->handle($pool)
 
-Creates an APR::Request::CGI object.  The argument C<< $pool >> 
+Creates an APR::Request::CGI object.  The argument C<< $pool >>
 is an APR::Pool object.
 
 

Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pod
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pod?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pod (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.pod Sat Aug 20 12:50:35 2005
@@ -15,9 +15,9 @@
     $bb = APR::Brigade->new($pool, $ba);
     $bb->insert_tail(APR::Bucket->new($ba,
                                   "alpha=body1&beta=body2;foo=body3"));
-    $parser = APR::Request::Parser->urlencoded($pool, $ba, 
+    $parser = APR::Request::Parser->urlencoded($pool, $ba,
                                     "application/x-www-form-urlencoded");
-    $req = APR::Request::Custom->handle($pool, "foo=bar", 
+    $req = APR::Request::Custom->handle($pool, "foo=bar",
                                                 "cookie1=apache1;cookie2=apache2",
                                                 $parser, 1e6, $bb);
 
@@ -35,7 +35,7 @@
   $cookie1 = $jar->get("cookie1");
 
   # generate new cookie
-  $cookie = APR::Request::Cookie->new($req->pool, 
+  $cookie = APR::Request::Cookie->new($req->pool,
                                       name => "foo",
                                      value => "bar",
                                     domain => "capricorn.com");
@@ -63,7 +63,7 @@
 for interfacing with libapreq2's cookie API.  It also provides
 a few utility functions and constants.
 
-This manpage documents the APR::Request::Cookie and 
+This manpage documents the APR::Request::Cookie and
 APR::Request::Cookie::Table packages.
 
 
@@ -95,15 +95,15 @@
 
 =head2 new
 
-    APR::Request::Cookie->new($pool, 
-                               name => $name, 
-                              value => $value, 
+    APR::Request::Cookie->new($pool,
+                               name => $name,
+                              value => $value,
                               %args)
 
 
 Creates a new cookie.  Here C<< $pool >> is an APR::Pool object,
 and C<< $name >> is the cookie's name. The C<< $value >> is transformed
-into the cookie's raw value through the class' C<< freeze() >> method. 
+into the cookie's raw value through the class' C<< freeze() >> method.
 The remaining arguments are optional:
 
 =over 4
@@ -156,9 +156,9 @@
 
     $cookie->name()
 
-Fetch the cookie's name.  This attribute 
-cannot be modified and is never serialized; 
-ie freeze() and thaw() do not act on the 
+Fetch the cookie's name.  This attribute
+cannot be modified and is never serialized;
+ie freeze() and thaw() do not act on the
 cookie's name.
 
 
@@ -264,7 +264,7 @@
 
     APR::Request::Cookie->make($pool, $name, $value)
 
-Fast XS cookie constructor invoked by C<< new() >>.  
+Fast XS cookie constructor invoked by C<< new() >>.
 The cookie's raw name & value are taken directly from the
 passed in arguments; no freezing/encoding is done on the $value.
 
@@ -301,7 +301,7 @@
 
   APR::Request::Cookie::Table - read-only version of APR::Table.
 
-Tables in this class normally arise from calls to 
+Tables in this class normally arise from calls to
 C<< APR::Request::jar() >>.
 
 
@@ -312,10 +312,10 @@
     $table->cookie_class()
     $table->cookie_class($set)
 
-Get/set the class each table element is blessed into during a 
-L<get> or L<FETCH> call.  If defined, the class must be derived 
-from APR::Request::Cookie.  When called with $set, it returns 
-the $table.  Otherwise it returns the name of the current class, 
+Get/set the class each table element is blessed into during a
+L<get> or L<FETCH> call.  If defined, the class must be derived
+from APR::Request::Cookie.  When called with $set, it returns
+the $table.  Otherwise it returns the name of the current class,
 or undef if no cookie class is defined.
 
 
@@ -351,9 +351,9 @@
     $table->FETCH($key)
 
 In scalar context, this returns the first value matching
-$key (note: see NEXTKEY for additional notes).  The match 
+$key (note: see NEXTKEY for additional notes).  The match
 is always case-insensitive.  In list context, this returns
-all matching values.  Note: the type of the return values 
+all matching values.  Note: the type of the return values
 depends on the table's current cookie_class.
 
 
@@ -361,7 +361,7 @@
 
 =head2 EXISTS
 
-Synonym for C<< defined >>; these tables are not 
+Synonym for C<< defined >>; these tables are not
 allowed to contain undefined values. Since these
 are constant tables, they don't autovivify either.
 
@@ -382,7 +382,7 @@
     $table->NEXTKEY()
 
 Returns the next key in the table.  For perl 5.8+,
-if the key is multivalued, a subsequent FETCH on 
+if the key is multivalued, a subsequent FETCH on
 this key will return the corresponding value, until
 either NEXTKEY or FIRSTKEY is invoked again.  For
 perl 5.6, FETCH always returns the first value.
@@ -396,7 +396,7 @@
 
 Same as APR::Table::do; iterates over the table
 calling $callback->($key, $value) for each matching
-@keys.  If @keys is empty, this iterates over the 
+@keys.  If @keys is empty, this iterates over the
 entire table.
 
 Note: The type of $value inserted into the callback

Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.xs
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.xs?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.xs (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Cookie/Cookie.xs Sat Aug 20 12:50:35 2005
@@ -82,7 +82,7 @@
     RETVAL = apreq_cookie_version(obj);
     if (items == 2)
         apreq_cookie_version_set(obj, val);
- 
+
   OUTPUT:
     RETVAL
 
@@ -285,9 +285,9 @@
             mg->mg_len = 0;
         }
         else if (!sv_derived_from(subclass, COOKIE_CLASS)) {
-            Perl_croak(aTHX_ "Usage: " 
+            Perl_croak(aTHX_ "Usage: "
                              COOKIE_TABLE_CLASS "::cookie_class($table, $class): "
-                             "class %s is not derived from " COOKIE_CLASS, 
+                             "class %s is not derived from " COOKIE_CLASS,
                              SvPV_nolen(subclass));
         }
         else {

Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/APR__Request__Param.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/APR__Request__Param.h?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/APR__Request__Param.h (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/APR__Request__Param.h Sat Aug 20 12:50:35 2005
@@ -175,7 +175,7 @@
     XSRETURN(1);
 }
 
- 
+
 static XS(XS_APR__Request__Param_nil)
 {
     dXSARGS;
@@ -189,7 +189,7 @@
 {
     while (in && SvROK(in)) {
         SV *sv = SvRV(in);
-        switch (SvTYPE(sv)) {            
+        switch (SvTYPE(sv)) {
             MAGIC *mg;
         case SVt_PVIO:
             if (SvMAGICAL(sv) && (mg = mg_find(sv, PERL_MAGIC_tiedscalar))) {
@@ -279,8 +279,8 @@
         e = APR_BRIGADE_FIRST(bb);
         s = apr_bucket_read(e, &data, &dlen, APR_BLOCK_READ);
         if (s != APR_SUCCESS)
-            apreq_xs_croak(aTHX_ newHV(), Nullsv, s, 
-                           "APR::Request::Brigade::READ", 
+            apreq_xs_croak(aTHX_ newHV(), Nullsv, s,
+                           "APR::Request::Brigade::READ",
                            "APR::Error");
         want = dlen;
         end = APR_BUCKET_NEXT(e);
@@ -292,7 +292,7 @@
         case APR_INCOMPLETE:
             s = apr_brigade_length(bb, 1, &len);
             if (s != APR_SUCCESS)
-                apreq_xs_croak(aTHX_ newHV(), Nullsv, s, 
+                apreq_xs_croak(aTHX_ newHV(), Nullsv, s,
                                "APR::Request::Brigade::READ",
                                "APR::Error");
             want = len;
@@ -301,7 +301,7 @@
             break;
 
         default:
-            apreq_xs_croak(aTHX_ newHV(), Nullsv, s, 
+            apreq_xs_croak(aTHX_ newHV(), Nullsv, s,
                            "APR::Request::Brigade::READ",
                            "APR::Error");
         }
@@ -318,7 +318,7 @@
         apr_size_t dlen;
         s = apr_bucket_read(e, &data, &dlen, APR_BLOCK_READ);
         if (s != APR_SUCCESS)
-            apreq_xs_croak(aTHX_ newHV(), Nullsv, s, 
+            apreq_xs_croak(aTHX_ newHV(), Nullsv, s,
                            "APR::Request::Brigade::READ",
                            "APR::Error");
         memcpy(buf, data, dlen);
@@ -359,7 +359,7 @@
     sv = sv_2mortal(newSVpvn("",0));
     if (tainted)
         SvTAINTED_on(sv);
-        
+
     XPUSHs(sv);
 
     while (!APR_BRIGADE_EMPTY(bb)) {
@@ -370,7 +370,7 @@
         e = APR_BRIGADE_FIRST(bb);
         s = apr_bucket_read(e, &data, &dlen, APR_BLOCK_READ);
         if (s != APR_SUCCESS)
-            apreq_xs_croak(aTHX_ newHV(), Nullsv, s, 
+            apreq_xs_croak(aTHX_ newHV(), Nullsv, s,
                            "APR::Request::Brigade::READLINE",
                            "APR::Error");
 

Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.pod
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.pod?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.pod (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.pod Sat Aug 20 12:50:35 2005
@@ -33,9 +33,9 @@
 EOT
     s/(?<!\015)\012/\015\012/g for $content;
     $bb->insert_tail(APR::Bucket->new($ba, $content));
-    $parser = APR::Request::Parser->multipart($pool, $ba, 
+    $parser = APR::Request::Parser->multipart($pool, $ba,
                                     "multipart/form-data; boundary=-XYZ-");
-    $req = APR::Request::Custom->handle($pool, "alpha=arg1&beta=arg2", 
+    $req = APR::Request::Custom->handle($pool, "alpha=arg1&beta=arg2",
                                                 "foo=bar",
                                                 $parser, 1e6, $bb);
 
@@ -88,7 +88,7 @@
 
     "$param"
 
-The double-quote interpolation operator maps to 
+The double-quote interpolation operator maps to
 C<< APR::Request::Param::value() >>.
 
 
@@ -204,7 +204,7 @@
     $param->upload_link($path)
 
 Links the file-upload content with the local file named C<< $path >>.
-Creates a hard-link if the spoolfile's (see L<upload_tempname>) 
+Creates a hard-link if the spoolfile's (see L<upload_tempname>)
 temporary directory is on the same device as C<< $path >>;
 otherwise this writes a copy.
 
@@ -303,7 +303,7 @@
     $table->FETCH($key)
 
 In scalar context, this returns the first value matching
-$key (note: see NEXTKEY for additional notes).  The match 
+$key (note: see NEXTKEY for additional notes).  The match
 is always case-insensitive.  In list context, this returns
 all matching values.  Note: the type of the return values
 depends on the table's current param_class.
@@ -312,7 +312,7 @@
 
 =head2 EXISTS
 
-Synonym for C<< defined >>; these tables are not 
+Synonym for C<< defined >>; these tables are not
 allowed to contain undefined values. Since these
 are constant tables, they don't autovivify either.
 
@@ -324,7 +324,7 @@
     $table->NEXTKEY()
 
 Returns the next key in the table.  For perl 5.8+,
-if the key is multivalued, a subsequent FETCH on 
+if the key is multivalued, a subsequent FETCH on
 this key will return the corresponding value, until
 either NEXTKEY or FIRSTKEY is invoked again.  For
 perl 5.6, FETCH always returns the first value.
@@ -347,7 +347,7 @@
 
 Same as APR::Table::do; iterates over the table
 calling $callback->($key, $value) for each matching
-@keys.  If @keys is empty, this iterates over the 
+@keys.  If @keys is empty, this iterates over the
 entire table.
 
 Note: The type of $value inserted into the callback

Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.xs
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.xs?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.xs (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Param/Param.xs Sat Aug 20 12:50:35 2005
@@ -149,14 +149,14 @@
         else if (!sv_derived_from(subclass, PARAM_CLASS)) {
             Perl_croak(aTHX_ "Usage: "
                               PARAM_TABLE_CLASS "::param_class($table, $class): "
-                             "class %s is not derived from " PARAM_CLASS, 
+                             "class %s is not derived from " PARAM_CLASS,
                               SvPV_nolen(subclass));
         }
         else {
             STRLEN len;
             mg->mg_ptr = savepv(SvPV(subclass, len));
             mg->mg_len = len;
-            
+
         }
         if (curclass != NULL)
             Safefree(curclass);
@@ -264,7 +264,7 @@
     if (s != APR_SUCCESS)
         Perl_croak(aTHX_ "$param->upload_size(): can't get upload length");
 
-    RETVAL = len;    
+    RETVAL = len;
 
   OUTPUT:
     RETVAL
@@ -282,13 +282,13 @@
     ct = apr_table_get(param->info, "Content-Type");
     if (ct == NULL)
         Perl_croak(aTHX_ "$param->upload_type: can't find Content-Type header");
-    
+
     if ((sc = strchr(ct, ';')))
         len = sc - ct;
     else
         len = strlen(ct);
 
-    RETVAL = newSVpvn(ct, len);    
+    RETVAL = newSVpvn(ct, len);
     if (apreq_param_is_tainted(param))
         SvTAINTED_on(RETVAL);
 
@@ -314,7 +314,7 @@
         s = apreq_temp_dir_get(req, &path);
         if (s != APR_SUCCESS)
             Perl_croak(aTHX_ "$param->upload_tempname($req): can't get temp_dir");
-        s = apreq_brigade_concat(param->upload->p, path, 0, 
+        s = apreq_brigade_concat(param->upload->p, path, 0,
                                  param->upload, param->upload);
         if (s != APR_SUCCESS)
             Perl_croak(aTHX_ "$param->upload_tempname($req): can't make spool bucket");

Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Parser/Parser.xs
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Parser/Parser.xs?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Parser/Parser.xs (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Parser/Parser.xs Sat Aug 20 12:50:35 2005
@@ -28,7 +28,7 @@
     APR::Request::Hook hook
 
   CODE:
-    RETVAL = apreq_parser_make(pool, ba, ct, apreq_parse_generic, 
+    RETVAL = apreq_parser_make(pool, ba, ct, apreq_parse_generic,
                                blim, tdir, hook, NULL);
 
   OUTPUT:
@@ -45,7 +45,7 @@
     APR::Request::Hook hook
 
   CODE:
-    RETVAL = apreq_parser_make(pool, ba, ct, apreq_parse_headers, 
+    RETVAL = apreq_parser_make(pool, ba, ct, apreq_parse_headers,
                                blim, tdir, hook, NULL);
 
   OUTPUT:
@@ -62,7 +62,7 @@
     APR::Request::Hook hook
 
   CODE:
-    RETVAL = apreq_parser_make(pool, ba, ct, apreq_parse_urlencoded, 
+    RETVAL = apreq_parser_make(pool, ba, ct, apreq_parse_urlencoded,
                                blim, tdir, hook, NULL);
 
   OUTPUT:
@@ -80,7 +80,7 @@
     APR::Request::Hook hook
 
   CODE:
-    RETVAL = apreq_parser_make(pool, ba, ct, apreq_parse_multipart, 
+    RETVAL = apreq_parser_make(pool, ba, ct, apreq_parse_multipart,
                                blim, tdir, hook, NULL);
 
   OUTPUT:
@@ -104,7 +104,7 @@
     if (parser == NULL)
         XSRETURN_UNDEF;
 
-    RETVAL = apreq_parser_make(pool, ba, ct, parser, 
+    RETVAL = apreq_parser_make(pool, ba, ct, parser,
                                blim, tdir, hook, NULL);
 
   OUTPUT:

Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.pod
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.pod?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.pod (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.pod Sat Aug 20 12:50:35 2005
@@ -15,7 +15,7 @@
     $bb = APR::Brigade->new($pool, $ba);
     $bb->insert_tail(APR::Bucket->new($ba,
                                   "alpha=body1&beta=body2;foo=body3"));
-    $parser = APR::Request::Parser->urlencoded($pool, $ba, 
+    $parser = APR::Request::Parser->urlencoded($pool, $ba,
                                     "application/x-www-form-urlencoded");
 
 
@@ -28,8 +28,8 @@
 
   use APR::Request;
 
-  $req = APR::Request::Custom->handle($pool, 
-                                      "foo=arg1&bar=arg2", 
+  $req = APR::Request::Custom->handle($pool,
+                                      "foo=arg1&bar=arg2",
                                       "cookie=apache",
                                        $parser, 1e6, $bb);
   $param = $req->param("foo");
@@ -65,7 +65,7 @@
 
 =head2 handle
 
-    APR::Request::Custom->handle($pool, 
+    APR::Request::Custom->handle($pool,
                                  $query_string,
                                  $cookie_header,
                                  $parser,
@@ -73,10 +73,10 @@
                                  $brigade)
 
 Creates a new APR::Request::Custom object.  The $query_string
-and $cookie_headers are immediately parsed into the C<args> and 
+and $cookie_headers are immediately parsed into the C<args> and
 C<jar> tables.  The $parser is an APR::Request::Parser object
-which is invoked when fetching C<body> entries from the $brigade. 
-The $read_limit represents the maximum number of bytes this handle 
+which is invoked when fetching C<body> entries from the $brigade.
+The $read_limit represents the maximum number of bytes this handle
 may feed into the parser.
 
 
@@ -147,7 +147,7 @@
 
     $req->parse()
 
-Parses the jar, args, and body tables. Returns 
+Parses the jar, args, and body tables. Returns
 C<< $req->jar_status, $req->args_status, $req->body_status >>.
 
 
@@ -156,11 +156,11 @@
     $req->jar()
     $req->jar($key)
 
-With no arguments, this method returns a tied APR::Request::Cookie::Table 
+With no arguments, this method returns a tied APR::Request::Cookie::Table
 object in scalar context, or the names (in order, with repetitions) of all
 the parsed cookies.
 
-With the C<$key> argument, in scalar context this method fetches the first 
+With the C<$key> argument, in scalar context this method fetches the first
 matching cookie.  In list context it returns all matching cookies.
 The returned cookies are the values as they appeared in the incoming
 Cookie header.
@@ -172,11 +172,11 @@
     $req->args()
     $req->args($key)
 
-With no arguments, this method returns a tied APR::Request::Param::Table 
+With no arguments, this method returns a tied APR::Request::Param::Table
 object in scalar context, or the names (in order, with repetitions) of all
 the parsed query-string arguments.
 
-With the C<$key> argument, in scalar context this method fetches the first 
+With the C<$key> argument, in scalar context this method fetches the first
 matching query-string arg.  In list context it returns all matching args.
 
 
@@ -186,11 +186,11 @@
     $req->body()
     $req->body($key)
 
-With no arguments, this method returns a tied APR::Request::Param::Table 
+With no arguments, this method returns a tied APR::Request::Param::Table
 object in scalar context, or the names (in order, with repetitions) of all
 the parsed cookies.
 
-With the C<$key> argument, in scalar context this method fetches the first 
+With the C<$key> argument, in scalar context this method fetches the first
 matching body param.  In list context it returns all matching body params.
 
 
@@ -200,11 +200,11 @@
     $req->param()
     $req->param($key)
 
-With no arguments, this method returns a tied APR::Request::Cookie::Table 
+With no arguments, this method returns a tied APR::Request::Cookie::Table
 object in scalar context, or the names (in order, with repetitions) of all
 the incoming (args + body) params.
 
-With the C<$key> argument, in scalar context this method fetches the first 
+With the C<$key> argument, in scalar context this method fetches the first
 matching param.  In list context it returns all matching params.
 
 
@@ -231,7 +231,7 @@
     $req->brigade_limit($set)
 
 Get/set the brigade_limit for the current parser.  This limit
-determines how many bytes of a file upload that the parser may 
+determines how many bytes of a file upload that the parser may
 spool into main memory.  Uploads exceeding this limit are written
 directly to disk.
 

Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.xs
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.xs?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.xs (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.xs Sat Aug 20 12:50:35 2005
@@ -41,7 +41,7 @@
     if (items == 1) {
         apr_status_t s;
         apr_uint64_t bytes;
-        s = apreq_read_limit_get(req, &bytes);     
+        s = apreq_read_limit_get(req, &bytes);
         if (s != APR_SUCCESS) {
             if (!sv_derived_from(ST(0), ERROR_CLASS)) {
                 SV *obj = apreq_xs_sv2object(aTHX_ ST(0), HANDLE_CLASS, 'r');
@@ -84,7 +84,7 @@
     if (items == 1) {
         apr_status_t s;
         apr_size_t bytes;
-        s = apreq_brigade_limit_get(req, &bytes);     
+        s = apreq_brigade_limit_get(req, &bytes);
         if (s != APR_SUCCESS) {
             if (!sv_derived_from(ST(0), ERROR_CLASS)) {
                 SV *obj = apreq_xs_sv2object(aTHX_ ST(0), HANDLE_CLASS, 'r');
@@ -128,7 +128,7 @@
     if (items == 1) {
         apr_status_t s;
         const char *path;
-        s = apreq_temp_dir_get(req, &path);     
+        s = apreq_temp_dir_get(req, &path);
         if (s != APR_SUCCESS) {
             if (!sv_derived_from(ST(0), ERROR_CLASS)) {
                 SV *obj = apreq_xs_sv2object(aTHX_ ST(0), HANDLE_CLASS, 'r');
@@ -265,7 +265,7 @@
     MAGIC *mg = mg_find(obj, PERL_MAGIC_ext);
   CODE:
     RETVAL = apreq_xs_param_table2sv(aTHX_ apreq_uploads(t, pool),
-                                     HvNAME(SvSTASH(obj)), 
+                                     HvNAME(SvSTASH(obj)),
                                      parent, mg->mg_ptr, mg->mg_len);
   OUTPUT:
     RETVAL

Modified: httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_postperl.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_postperl.h?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_postperl.h (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_postperl.h Sat Aug 20 12:50:35 2005
@@ -65,10 +65,10 @@
  * @{
  */
 
-/** 
+/**
  * Trace through magic objects & hashrefs looking for original object.
  * @param in  The starting SV *.
- * @param key The first letter of key is used to search a hashref for 
+ * @param key The first letter of key is used to search a hashref for
  *            the desired object.
  * @return    Reference to the object.
  */
@@ -79,7 +79,7 @@
 
     while (in && SvROK(in)) {
         SV *sv = SvRV(in);
-        switch (SvTYPE(sv)) {            
+        switch (SvTYPE(sv)) {
             MAGIC *mg;
             SV **svp;
         case SVt_PVHV:
@@ -122,14 +122,14 @@
 
 
 APR_INLINE
-static SV *apreq_xs_handle2sv(pTHX_ apreq_handle_t *req, 
+static SV *apreq_xs_handle2sv(pTHX_ apreq_handle_t *req,
                               const char *class, SV *parent)
 {
     return apreq_xs_object2sv(aTHX_ req, class, parent, HANDLE_CLASS);
 }
 
 APR_INLINE
-static SV *apreq_xs_param2sv(pTHX_ apreq_param_t *p, 
+static SV *apreq_xs_param2sv(pTHX_ apreq_param_t *p,
                               const char *class, SV *parent)
 {
     if (class == NULL) {
@@ -149,7 +149,7 @@
 }
 
 APR_INLINE
-static SV *apreq_xs_cookie2sv(pTHX_ apreq_cookie_t *c, 
+static SV *apreq_xs_cookie2sv(pTHX_ apreq_cookie_t *c,
                               const char *class, SV *parent)
 {
     if (class == NULL) {

Modified: httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_tables.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_tables.h?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_tables.h (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_tables.h Sat Aug 20 12:50:35 2005
@@ -26,7 +26,7 @@
 
 #if (PERL_VERSION >= 8) /* MAGIC ITERATOR REQUIRES 5.8 */
 
-/* Requires perl 5.8 or better. 
+/* Requires perl 5.8 or better.
  * A custom MGVTBL with its "copy" slot filled allows
  * us to FETCH a table entry immediately during iteration.
  * For multivalued keys this is essential in order to get
@@ -40,7 +40,7 @@
  * via each(), which seems to be a reasonable tradeoff.
  */
 
-static int apreq_xs_cookie_table_magic_copy(pTHX_ SV *sv, MAGIC *mg, SV *nsv, 
+static int apreq_xs_cookie_table_magic_copy(pTHX_ SV *sv, MAGIC *mg, SV *nsv,
                                             const char *name, int namelen)
 {
     /* Prefetch the value whenever the table iterator is > 0 */
@@ -65,7 +65,7 @@
     return 0;
 }
 
-static const MGVTBL apreq_xs_cookie_table_magic = {0, 0, 0, 0, 0, 
+static const MGVTBL apreq_xs_cookie_table_magic = {0, 0, 0, 0, 0,
                                 apreq_xs_cookie_table_magic_copy};
 
 #endif
@@ -109,7 +109,7 @@
 
 #ifndef USE_ITHREADS
 		(void)data;
-#endif	
+#endif
     XPUSHs(sv_2mortal(sv));
     PUTBACK;
     return 1;
@@ -135,7 +135,7 @@
 
 #if (PERL_VERSION >= 8) /* MAGIC ITERATOR REQUIRES 5.8 */
 
-/* Requires perl 5.8 or better. 
+/* Requires perl 5.8 or better.
  * A custom MGVTBL with its "copy" slot filled allows
  * us to FETCH a table entry immediately during iteration.
  * For multivalued keys this is essential in order to get
@@ -149,7 +149,7 @@
  * via each(), which seems to be a reasonable tradeoff.
  */
 
-static int apreq_xs_param_table_magic_copy(pTHX_ SV *sv, MAGIC *mg, SV *nsv, 
+static int apreq_xs_param_table_magic_copy(pTHX_ SV *sv, MAGIC *mg, SV *nsv,
                                   const char *name, int namelen)
 {
     /* Prefetch the value whenever the table iterator is > 0 */
@@ -167,14 +167,14 @@
         MAGIC *my_magic = mg_find(obj, PERL_MAGIC_ext);
 
         SvMAGICAL_off(nsv);
-        sv_setsv(nsv, sv_2mortal(apreq_xs_param2sv(aTHX_ p, my_magic->mg_ptr, 
+        sv_setsv(nsv, sv_2mortal(apreq_xs_param2sv(aTHX_ p, my_magic->mg_ptr,
                                                    my_magic->mg_obj)));
     }
 
     return 0;
 }
 
-static const MGVTBL apreq_xs_param_table_magic = {0, 0, 0, 0, 0, 
+static const MGVTBL apreq_xs_param_table_magic = {0, 0, 0, 0, 0,
                                  apreq_xs_param_table_magic_copy};
 
 #endif

Modified: httpd/apreq/trunk/glue/perl/xsbuilder/ppport.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/ppport.h?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/ppport.h (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/ppport.h Sat Aug 20 12:50:35 2005
@@ -1,7 +1,7 @@
 
-/* ppport.h -- Perl/Pollution/Portability Version 2.011 
+/* ppport.h -- Perl/Pollution/Portability Version 2.011
  *
- * Automatically Created by Devel::PPPort on Mon Feb 16 12:41:20 2004 
+ * Automatically Created by Devel::PPPort on Mon Feb 16 12:41:20 2004
  *
  * Do NOT edit this file directly! -- Edit PPPort.pm instead.
  *
@@ -9,7 +9,7 @@
  * Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
  * This code may be used and distributed under the same license as any
  * version of Perl.
- * 
+ *
  * This version of ppport.h is designed to support operation with Perl
  * installations back to 5.004, and has been tested up to 5.8.1.
  *
@@ -35,7 +35,7 @@
  *
  * For the latest version of this code, please retreive the Devel::PPPort
  * module from CPAN.
- * 
+ *
  */
 
 /*
@@ -53,29 +53,29 @@
  * for a static include, or use the GLOBAL request in a single module to
  * produce a global definition that can be referenced from the other
  * modules.
- * 
+ *
  * Function:            Static define:           Extern define:
  * newCONSTSUB()        NEED_newCONSTSUB         NEED_newCONSTSUB_GLOBAL
  *
  */
- 
+
 
 /* To verify whether ppport.h is needed for your module, and whether any
  * special defines should be used, ppport.h can be run through Perl to check
  * your source code. Simply say:
- * 
+ *
  * 	perl -x ppport.h *.c *.h *.xs foo/bar*.c [etc]
- * 
+ *
  * The result will be a list of patches suggesting changes that should at
  * least be acceptable, if not necessarily the most efficient solution, or a
  * fix for all possible problems. It won't catch where dTHR is needed, and
  * doesn't attempt to account for global macro or function definitions,
  * nested includes, typemaps, etc.
- * 
+ *
  * In order to test for the need of dTHR, please try your module under a
  * recent version of Perl that has threading compiled-in.
  *
- */ 
+ */
 
 
 /*
@@ -133,7 +133,7 @@
 			$need_include = 1;
 		}
 	}
-	
+
 	if (scalar(keys %add_func) or $need_include != $has_include) {
 		if (!$has_include) {
 			$inc = join('',map("#define NEED_$_\n", sort keys %add_func)).
@@ -149,7 +149,7 @@
 		}
 		$changes++;
 	}
-	
+
 	if ($changes) {
 		open(OUT,"ppport.h.$$");
 		print OUT $c;
@@ -188,7 +188,7 @@
 
 #define PERL_BCDVERSION ((PERL_REVISION * 0x1000000L) + (PERL_VERSION * 0x1000L) + PERL_SUBVERSION)
 
-/* It is very unlikely that anyone will try to use this with Perl 6 
+/* It is very unlikely that anyone will try to use this with Perl 6
    (or greater), but who knows.
  */
 #if PERL_REVISION != 5
@@ -251,7 +251,7 @@
 #    define pTHX_
 #    define aTHX
 #    define aTHX_
-#endif         
+#endif
 
 #ifndef dAX
 #   define dAX I32 ax = MARK - PL_stack_base + 1
@@ -302,7 +302,7 @@
 #if PTRSIZE == LONGSIZE
 #  define PTR2ul(p)     (unsigned long)(p)
 #else
-#  define PTR2ul(p)     INT2PTR(unsigned long,p)        
+#  define PTR2ul(p)     INT2PTR(unsigned long,p)
 #endif
 
 #endif /* !INT2PTR */
@@ -346,9 +346,9 @@
 #    if defined(USE_THREADS)
 static SV * newRV_noinc (SV * sv)
 {
-          SV *nsv = (SV*)newRV(sv);       
-          SvREFCNT_dec(sv);               
-          return nsv;                     
+          SV *nsv = (SV*)newRV(sv);
+          SvREFCNT_dec(sv);
+          return nsv;
 }
 #    else
 #      define newRV_noinc(sv)    \
@@ -497,7 +497,7 @@
 #define aMY_CXT_
 #define _aMY_CXT
 
-#endif 
+#endif
 
 #endif /* START_MY_CXT */
 
@@ -521,7 +521,7 @@
 
 #ifndef NVef
 #   if defined(USE_LONG_DOUBLE) && defined(HAS_LONG_DOUBLE) && \
-	defined(PERL_PRIfldbl) /* Not very likely, but let's try anyway. */ 
+	defined(PERL_PRIfldbl) /* Not very likely, but let's try anyway. */
 #       define NVef		PERL_PRIeldbl
 #       define NVff		PERL_PRIfldbl
 #       define NVgf		PERL_PRIgldbl
@@ -545,7 +545,7 @@
            ? ((lp = SvCUR(sv)), SvPVX(sv)) : my_sv_2pvbyte(aTHX_ sv, &lp))
        static char *
        my_sv_2pvbyte(pTHX_ register SV *sv, STRLEN *lp)
-       {   
+       {
            sv_utf8_downgrade(sv,0);
            return SvPV(sv,*lp);
        }
@@ -560,7 +560,7 @@
          ? SvPVX(sv) : sv_2pv_nolen(sv))
     static char *
     sv_2pv_nolen(pTHX_ register SV *sv)
-    {   
+    {
         STRLEN n_a;
         return sv_2pv(sv, &n_a);
     }
@@ -638,10 +638,10 @@
     }
     return (UV)r;
 }
-        
+
 #   define grok_hex(string, len, flags, result)     \
         _grok_hex((string), (len), (flags), (result))
-#endif 
+#endif
 
 #ifndef grok_oct
 static UV _grok_oct (char *string, STRLEN *len, I32 *flags, NV *result) {
@@ -688,30 +688,30 @@
 
 
 #ifndef IS_NUMBER_IN_UV
-#   define IS_NUMBER_IN_UV		            0x01   
+#   define IS_NUMBER_IN_UV		            0x01
 #   define IS_NUMBER_GREATER_THAN_UV_MAX    0x02
 #   define IS_NUMBER_NOT_INT	            0x04
 #   define IS_NUMBER_NEG		            0x08
-#   define IS_NUMBER_INFINITY	            0x10 
-#   define IS_NUMBER_NAN                    0x20  
+#   define IS_NUMBER_INFINITY	            0x10
+#   define IS_NUMBER_NAN                    0x20
 #endif
-   
+
 #ifndef grok_numeric_radix
 #   define GROK_NUMERIC_RADIX(sp, send) grok_numeric_radix(aTHX_ sp, send)
 
 #define grok_numeric_radix Perl_grok_numeric_radix
-    
+
 bool
 Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send)
 {
 #ifdef USE_LOCALE_NUMERIC
 #if (PERL_VERSION > 6) || ((PERL_VERSION == 6) && (PERL_SUBVERSION >= 1))
-    if (PL_numeric_radix_sv && IN_LOCALE) { 
+    if (PL_numeric_radix_sv && IN_LOCALE) {
         STRLEN len;
         char* radix = SvPV(PL_numeric_radix_sv, len);
         if (*sp + len <= send && memEQ(*sp, radix, len)) {
             *sp += len;
-            return TRUE; 
+            return TRUE;
         }
     }
 #else
@@ -720,11 +720,11 @@
 #include <locale.h>
     struct lconv *lc = localeconv();
     char *radix = lc->decimal_point;
-    if (radix && IN_LOCALE) { 
+    if (radix && IN_LOCALE) {
         STRLEN len = strlen(radix);
         if (*sp + len <= send && memEQ(*sp, radix, len)) {
             *sp += len;
-            return TRUE; 
+            return TRUE;
         }
     }
 #endif /* PERL_VERSION */

Modified: httpd/apreq/trunk/include/apreq.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/include/apreq.h?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/include/apreq.h (original)
+++ httpd/apreq/trunk/include/apreq.h Sat Aug 20 12:50:35 2005
@@ -26,7 +26,7 @@
 
 #ifdef  __cplusplus
  extern "C" {
-#endif 
+#endif
 
 /**
  * @file apreq.h
@@ -83,7 +83,7 @@
 
 
 /** @enum apreq_join_t Join type */
-typedef enum { 
+typedef enum {
     APREQ_JOIN_AS_IS,      /**< Join the strings without modification */
     APREQ_JOIN_ENCODE,     /**< Url-encode the strings before joining them */
     APREQ_JOIN_DECODE,     /**< Url-decode the strings before joining them */

Modified: httpd/apreq/trunk/include/apreq_cookie.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/include/apreq_cookie.h?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/include/apreq_cookie.h (original)
+++ httpd/apreq/trunk/include/apreq_cookie.h Sat Aug 20 12:50:35 2005
@@ -22,7 +22,7 @@
 
 #ifdef  __cplusplus
 extern "C" {
-#endif 
+#endif
 
 /**
  * @file apreq_cookie.h
@@ -30,7 +30,7 @@
  * @ingroup libapreq2
  *
  * apreq_cookie.h describes a common server-side API for request (incoming)
- * and response (outgoing) cookies.  It aims towards compliance with the 
+ * and response (outgoing) cookies.  It aims towards compliance with the
  * standard cookie specifications listed below.
  *
  * @see http://wp.netscape.com/newsref/std/cookie_spec.html
@@ -155,14 +155,14 @@
  *
  * @return the new cookie
  */
-APREQ_DECLARE(apreq_cookie_t *) apreq_cookie_make(apr_pool_t *pool, 
+APREQ_DECLARE(apreq_cookie_t *) apreq_cookie_make(apr_pool_t *pool,
                                                   const char *name,
-                                                  const apr_size_t nlen, 
+                                                  const apr_size_t nlen,
                                                   const char *value,
                                                   const apr_size_t vlen);
 
 /**
- * Returns a string that represents the cookie as it would appear 
+ * Returns a string that represents the cookie as it would appear
  * in a valid "Set-Cookie*" header.
  *
  * @param c cookie.
@@ -182,7 +182,7 @@
  *
  * @param c   cookie.
  * @param buf storage location for the result.
- * @param len size of buf's storage area. 
+ * @param len size of buf's storage area.
  *
  * @return size of resulting header string.
  */
@@ -191,19 +191,19 @@
 
 /**
  * Set the Cookie's expiration date.
- * 
+ *
  * @param c The cookie.
  * @param time_str If NULL, the Cookie's expiration date is unset,
- * making it a session cookie.  This means no "expires" or "max-age" 
+ * making it a session cookie.  This means no "expires" or "max-age"
  * attribute will appear in the cookie's serialized form. If time_str
  * is not NULL, the expiration date will be reset to the offset (from now)
- * represented by time_str.  The time_str should be in a format that 
+ * represented by time_str.  The time_str should be in a format that
  * apreq_atoi64t() can understand, namely /[+-]?\\d+\\s*[YMDhms]/.
  *
  * @remarks Now time_str may also be a fixed date; see apr_date_parse_rfc()
  * for admissible formats.
  */
-APREQ_DECLARE(void) apreq_cookie_expires(apreq_cookie_t *c, 
+APREQ_DECLARE(void) apreq_cookie_expires(apreq_cookie_t *c,
                                          const char *time_str);
 
 #ifdef __cplusplus

Modified: httpd/apreq/trunk/include/apreq_error.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/include/apreq_error.h?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/include/apreq_error.h (original)
+++ httpd/apreq/trunk/include/apreq_error.h Sat Aug 20 12:50:35 2005
@@ -22,9 +22,9 @@
 
 #ifdef  __cplusplus
  extern "C" {
-#endif 
+#endif
 
-/** 
+/**
  * apreq's wrapper around apr_strerror();
  * recognizes APREQ_ERROR_* status codes.
  */

Modified: httpd/apreq/trunk/include/apreq_module.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/include/apreq_module.h?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/include/apreq_module.h (original)
+++ httpd/apreq/trunk/include/apreq_module.h Sat Aug 20 12:50:35 2005
@@ -23,7 +23,7 @@
 
 #ifdef  __cplusplus
  extern "C" {
-#endif 
+#endif
 
 /**
  * @file apreq_module.h
@@ -122,10 +122,10 @@
 
 
 /**
- * Expose the parsed "cookie" header associated to this handle. 
+ * Expose the parsed "cookie" header associated to this handle.
  *
  * @param req The request handle
- * @param t   The resulting table, which will either be NULL or a 
+ * @param t   The resulting table, which will either be NULL or a
  *            valid table object on return.
  *
  * @return    APR_SUCCESS or a module-specific error status code.
@@ -137,10 +137,10 @@
 }
 
 /**
- * Expose the parsed "query string" associated to this handle. 
+ * Expose the parsed "query string" associated to this handle.
  *
  * @param req The request handle
- * @param t   The resulting table, which will either be NULL or a 
+ * @param t   The resulting table, which will either be NULL or a
  *            valid table object on return.
  *
  * @return    APR_SUCCESS or a module-specific error status code.
@@ -152,10 +152,10 @@
 }
 
 /**
- * Expose the parsed "request body" associated to this handle. 
+ * Expose the parsed "request body" associated to this handle.
  *
  * @param req The request handle
- * @param t   The resulting table, which will either be NULL or a 
+ * @param t   The resulting table, which will either be NULL or a
  *            valid table object on return.
  *
  * @return    APR_SUCCESS or a module-specific error status code.
@@ -168,7 +168,7 @@
 
 
 /**
- * Fetch the first cookie with the given name. 
+ * Fetch the first cookie with the given name.
  *
  * @param req  The request handle
  * @param name Case-insensitive cookie name.
@@ -182,7 +182,7 @@
 }
 
 /**
- * Fetch the first query string param with the given name. 
+ * Fetch the first query string param with the given name.
  *
  * @param req  The request handle
  * @param name Case-insensitive param name.
@@ -196,7 +196,7 @@
 }
 
 /**
- * Fetch the first body param with the given name. 
+ * Fetch the first body param with the given name.
  *
  * @param req  The request handle
  * @param name Case-insensitive cookie name.
@@ -278,7 +278,7 @@
  * @param req   The handle.
  * @param bytes Pointer to resulting (current) limit.
  *
- * @return APR_SUCCESS or a module-specific error, 
+ * @return APR_SUCCESS or a module-specific error,
  *         which may leave bytes undefined.
  */
 static APR_INLINE
@@ -359,7 +359,7 @@
  * @param pre Prefix to define new environment.  All attributes of
  *            the apreq_env_module_t struct are defined with this as their
  *            prefix. The generated struct is named by appending "_module" to
- *            the prefix. 
+ *            the prefix.
  * @param mmn Magic number (i.e. version number) of this environment.
  */
 #define APREQ_MODULE(pre, mmn) const apreq_module_t     \

Modified: httpd/apreq/trunk/include/apreq_param.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/include/apreq_param.h?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/include/apreq_param.h (original)
+++ httpd/apreq/trunk/include/apreq_param.h Sat Aug 20 12:50:35 2005
@@ -109,7 +109,7 @@
  *
  * @remarks     Unless vlen == 0, this function assumes there is
  *              exactly one character ('=') which separates the pair.
- *            
+ *
  */
 APREQ_DECLARE(apr_status_t) apreq_param_decode(apreq_param_t **param,
                                                apr_pool_t *pool,
@@ -187,7 +187,7 @@
                                                  apr_pool_t *pool);
 
 /**
- * Returns the first param in req->body which has both param->v.name 
+ * Returns the first param in req->body which has both param->v.name
  * matching key (case insensitive) and param->upload != NULL.
  * @param body parameter table returned by apreq_body() or apreq_params()
  * @param name Parameter name. key == NULL returns first upload.

Modified: httpd/apreq/trunk/include/apreq_parser.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/include/apreq_parser.h?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/include/apreq_parser.h (original)
+++ httpd/apreq/trunk/include/apreq_parser.h Sat Aug 20 12:50:35 2005
@@ -114,9 +114,9 @@
  * consume all the buckets of the brigade during parsing. However
  * parsers may leave "rejected" data in the brigade, even during a
  * successful parse, so callers may need to clean up the brigade
- * themselves (in particular, rejected buckets should not be 
+ * themselves (in particular, rejected buckets should not be
  * passed back to the parser again).
- * @remark  bb == NULL is valid: the parser should return its 
+ * @remark  bb == NULL is valid: the parser should return its
  * public status: APR_INCOMPLETE, APR_SUCCESS, or an error code.
  */
 static APR_INLINE
@@ -127,9 +127,9 @@
 }
 
 /**
- * Run the hook with the current parameter and the incoming 
+ * Run the hook with the current parameter and the incoming
  * bucket brigade.  The hook may modify the brigade if necessary.
- * Once all hooks have completed, the contents of the brigade will 
+ * Once all hooks have completed, the contents of the brigade will
  * be added to the parameter's bb attribute.
  * @return APR_SUCCESS on success. All other values represent errors.
  */
@@ -155,7 +155,7 @@
 
 /**
  * RFC 2388 multipart/form-data (and XForms 1.0 multipart/related)
- * parser. It will reject any buckets representing preamble and 
+ * parser. It will reject any buckets representing preamble and
  * postamble text (this is normal behavior, not an error condition).
  * See apreq_parser_run() for more info on rejected data.
  */
@@ -174,8 +174,8 @@
 /**
  * apr_xml_parser hook. It will parse until EOS appears.
  * The parsed document isn't available until parsing has
- * completed successfully.  The hook's ctx pointer may 
- * be cast as (apr_xml_doc **) to retrieve the 
+ * completed successfully.  The hook's ctx pointer may
+ * be cast as (apr_xml_doc **) to retrieve the
  * parsed document.
  */
 APREQ_DECLARE_HOOK(apreq_hook_apr_xml_parser);
@@ -223,7 +223,7 @@
  * @param p Parser.
  * @param h Hook to append.
  */
-APREQ_DECLARE(apr_status_t) apreq_parser_add_hook(apreq_parser_t *p, 
+APREQ_DECLARE(apr_status_t) apreq_parser_add_hook(apreq_parser_t *p,
                                                   apreq_hook_t *h);
 
 
@@ -268,12 +268,12 @@
 /**
  * Special purpose utility for locating a parameter
  * during parsing.  The hook's ctx shoud be initialized
- * to a const char *, which is a pointer to the desired 
- * param name.  The hook's ctx will be reassigned to the 
+ * to a const char *, which is a pointer to the desired
+ * param name.  The hook's ctx will be reassigned to the
  * first param found.
  *
  * @remarks When used, this should always be the first hook
- * invoked, so add it manually as parser->hook instead of 
+ * invoked, so add it manually as parser->hook instead of
  * using apreq_parser_add_hook.
  */
 APREQ_DECLARE_HOOK(apreq_hook_find_param);

Modified: httpd/apreq/trunk/include/apreq_util.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/include/apreq_util.h?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/include/apreq_util.h (original)
+++ httpd/apreq/trunk/include/apreq_util.h Sat Aug 20 12:50:35 2005
@@ -23,10 +23,10 @@
 
 #ifdef  __cplusplus
  extern "C" {
-#endif 
+#endif
 
 /**
- * This header contains useful functions for creating new 
+ * This header contains useful functions for creating new
  * parsers, hooks or modules.  It includes
  *
  *    - string <-> array converters
@@ -49,9 +49,9 @@
  *
  * @return Joined string, or NULL on error
  */
-APREQ_DECLARE(char *) apreq_join(apr_pool_t *p, 
-                                 const char *sep, 
-                                 const apr_array_header_t *arr, 
+APREQ_DECLARE(char *) apreq_join(apr_pool_t *p,
+                                 const char *sep,
+                                 const apr_array_header_t *arr,
                                  apreq_join_t mode);
 
 /**
@@ -66,8 +66,8 @@
  * @return Offset of match string, or -1 if no match is found.
  *
  */
-APREQ_DECLARE(apr_ssize_t) apreq_index(const char* hay, apr_size_t hlen, 
-                                       const char* ndl, apr_size_t nlen, 
+APREQ_DECLARE(apr_ssize_t) apreq_index(const char* hay, apr_size_t hlen,
+                                       const char* ndl, apr_size_t nlen,
                                        const apreq_match_t type);
 
 /**
@@ -82,7 +82,7 @@
  *
  * @return length of quoted copy in dest.
  */
-APREQ_DECLARE(apr_size_t) apreq_quote(char *dest, const char *src, 
+APREQ_DECLARE(apr_size_t) apreq_quote(char *dest, const char *src,
                                       const apr_size_t slen);
 
 /**
@@ -98,7 +98,7 @@
  *
  * @return length of quoted copy in dest.
  */
-APREQ_DECLARE(apr_size_t) apreq_quote_once(char *dest, const char *src, 
+APREQ_DECLARE(apr_size_t) apreq_quote_once(char *dest, const char *src,
                                            const apr_size_t slen);
 
 /**
@@ -111,7 +111,7 @@
  *
  * @return length of url-encoded string in dest; does not exceed 3 * slen.
  */
-APREQ_DECLARE(apr_size_t) apreq_encode(char *dest, const char *src, 
+APREQ_DECLARE(apr_size_t) apreq_encode(char *dest, const char *src,
                                        const apr_size_t slen);
 
 /**
@@ -143,8 +143,8 @@
  * @return ::APREQ_ERROR_BADSEQ or ::APREQ_ERROR_BADCHAR on malformed input.
  *
  * @remarks In the non-success case, dlen will be set to include
- *          the last succesfully decoded value.  This function decodes 
- *          \%uXXXX into a utf8 (wide) character, following ECMA-262 
+ *          the last succesfully decoded value.  This function decodes
+ *          \%uXXXX into a utf8 (wide) character, following ECMA-262
  *          (the Javascript spec) Section B.2.1.
  */
 
@@ -167,7 +167,7 @@
  *
  * @remarks In the non-APR_SUCCESS case, dlen will be set to include
  *          the last succesfully decoded value.  This function decodes
- *          \%uXXXX into a utf8 (wide) character, following ECMA-262 
+ *          \%uXXXX into a utf8 (wide) character, following ECMA-262
  *          (the Javascript spec) Section B.2.1.
  */
 
@@ -247,7 +247,7 @@
  *
  * @param f       File that gets the brigade.
  * @param wlen    On a successful return, wlen holds the length of
- *                the brigade, which is the amount of data written to 
+ *                the brigade, which is the amount of data written to
  *                the file.
  * @param bb      Bucket brigade.
  *
@@ -255,7 +255,7 @@
  * @return Error status code from either an unsuccessful apr_bucket_read(),
  *         or a failed apr_file_writev().
  *
- * @remarks       In the future, this function may do something 
+ * @remarks       In the future, this function may do something
  *                intelligent with file buckets.
  */
 
@@ -278,7 +278,7 @@
  *         or a failed apr_file_mktemp().
  */
 
-APREQ_DECLARE(apr_status_t) apreq_file_mktemp(apr_file_t **fp, 
+APREQ_DECLARE(apr_status_t) apreq_file_mktemp(apr_file_t **fp,
                                               apr_pool_t *pool,
                                               const char *path);
 
@@ -349,7 +349,7 @@
 void apreq_brigade_move(apr_bucket_brigade *d, apr_bucket_brigade *s,
                         apr_bucket *e)
 {
-    apr_bucket *f;     
+    apr_bucket *f;
 
     if (e != APR_BRIGADE_SENTINEL(s)) {
         f = APR_RING_FIRST(&s->list);
@@ -394,8 +394,8 @@
  *
  * @param pool           Pool for creating a tempfile bucket.
  * @param temp_dir       Directory for tempfile creation.
- * @param brigade_limit  If out's length would exceed this value, 
- *                       the appended buckets get written to a tempfile.  
+ * @param brigade_limit  If out's length would exceed this value,
+ *                       the appended buckets get written to a tempfile.
  * @param out            Resulting brigade.
  * @param in             Brigade to append.
  *
@@ -408,7 +408,7 @@
 APREQ_DECLARE(apr_status_t) apreq_brigade_concat(apr_pool_t *pool,
                                                  const char *temp_dir,
                                                  apr_size_t brigade_limit,
-                                                 apr_bucket_brigade *out, 
+                                                 apr_bucket_brigade *out,
                                                  apr_bucket_brigade *in);
 
 /**

Modified: httpd/apreq/trunk/include/apreq_version.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/include/apreq_version.h?rev=234120&r1=234119&r2=234120&view=diff
==============================================================================
--- httpd/apreq/trunk/include/apreq_version.h (original)
+++ httpd/apreq/trunk/include/apreq_version.h Sat Aug 20 12:50:35 2005
@@ -44,17 +44,17 @@
  */
 
 /* The numeric compile-time version constants. These constants are the
- * authoritative version numbers for libapreq. 
+ * authoritative version numbers for libapreq.
  */
 
-/** major version 
+/** major version
  * Major API changes that could cause compatibility problems for older
  * programs such as structure size changes.  No binary compatibility is
  * possible across a change in the major version.
  */
 #define APREQ_MAJOR_VERSION       2
 
-/** 
+/**
  * Minor API changes that do not cause binary compatibility problems.
  * Should be reset to 0 when upgrading APREQ_MAJOR_VERSION
  */
@@ -63,9 +63,9 @@
 /** patch level */
 #define APREQ_PATCH_VERSION       0
 
-/** 
+/**
  *  This symbol is defined for internal, "development" copies of libapreq.
- *  This symbol will be #undef'd for releases. 
+ *  This symbol will be #undef'd for releases.
  */
 #define APREQ_IS_DEV_VERSION
 



Mime
View raw message