cvs commit: modperl-2.0/ModPerl-Registry TODO

2003-02-04 Thread stas
stas2003/02/04 20:06:28

  Modified:.Changes
   ModPerl-Registry/lib/ModPerl RegistryCooker.pm
   ModPerl-Registry TODO
  Log:
  warn on using -T in ModPerl::Registry scripts when mod_perl is not
  running with -T
  
  Revision  ChangesPath
  1.122 +7 -4  modperl-2.0/Changes
  
  Index: Changes
  ===
  RCS file: /home/cvs/modperl-2.0/Changes,v
  retrieving revision 1.121
  retrieving revision 1.122
  diff -u -r1.121 -r1.122
  --- Changes   4 Feb 2003 06:52:15 -   1.121
  +++ Changes   5 Feb 2003 04:06:27 -   1.122
  @@ -10,10 +10,13 @@
   
   =item 1.99_09-dev
   
  -perl 5.7.3+ has a built-in ${^TAINT} to test whether running under
  --(T|t). Backport ${^TAINT} for mod_perl running under 5.6.0-5.7.3,
  -(what used to be $Apache::__T.  $Apache::__T is available too, but
  -deprecated. [Stas]
  +warn on using -T in ModPerl::Registry scripts when mod_perl is not
  +running with -T [Stas]
  +
  +perl 5.7.3+ has a built-in ${^TAINT} to test whether it's running
  +under -(T|t). Backport ${^TAINT} for mod_perl running under
  +5.6.0-5.7.3, (what used to be $Apache::__T.  $Apache::__T is available
  +too, but deprecated. [Stas]
   
   add PerlChildExitHandler implementation [Stas]
   
  
  
  
  1.30  +4 -5  modperl-2.0/ModPerl-Registry/lib/ModPerl/RegistryCooker.pm
  
  Index: RegistryCooker.pm
  ===
  RCS file: /home/cvs/modperl-2.0/ModPerl-Registry/lib/ModPerl/RegistryCooker.pm,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- RegistryCooker.pm 18 Jan 2003 02:04:32 -  1.29
  +++ RegistryCooker.pm 5 Feb 2003 04:06:27 -   1.30
  @@ -552,10 +552,9 @@
   
   my %switches = (
  'T' => sub {
  -# XXX: need to have $Apache::__T set by the core on PerlSwitches -T
  -#   Apache::warn("T switch is ignored, ",
  -#"enable with 'PerlSwitches -T' in httpd.conf\n")
  -# unless $Apache::__T; 
  +   Apache::warn("-T switch is ignored, " .
  +"enable with 'PerlSwitches -T' in httpd.conf\n")
  + unless ${^TAINT};
  "";
  },
  'w' => sub { "use warnings;\n" },
  @@ -574,7 +573,7 @@
last if substr($s,0,1) eq "-";
for (split //, $s) {
next unless exists $switches{$_};
  - $prepend .= &{$switches{$_}};
  + $prepend .= $switches{$_}->();
}
   }
   ${ $self->[CODE] } =~ s/^/$prepend/ if $prepend;
  
  
  
  1.12  +0 -2  modperl-2.0/ModPerl-Registry/TODO
  
  Index: TODO
  ===
  RCS file: /home/cvs/modperl-2.0/ModPerl-Registry/TODO,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- TODO  29 Dec 2002 10:11:49 -  1.11
  +++ TODO  5 Feb 2003 04:06:27 -   1.12
  @@ -14,8 +14,6 @@
   
   ### missing features ###
   
  -- need to port $Apache::__T, to test against when user supplies -T flag.
  -
   - port Apache::PerlRunXS
   
   - replace the local implementation of slurp_filename() and finfo(),
  
  
  



cvs commit: modperl-2.0/ModPerl-Registry TODO

2002-11-25 Thread stas
stas2002/11/25 23:47:26

  Modified:ModPerl-Registry TODO
  Log:
  Apache::HEADRegistry >> registry core nice to have todo list
  
  Revision  ChangesPath
  1.10  +5 -0  modperl-2.0/ModPerl-Registry/TODO
  
  Index: TODO
  ===
  RCS file: /home/cvs/modperl-2.0/ModPerl-Registry/TODO,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- TODO  16 Aug 2002 09:01:17 -  1.9
  +++ TODO  26 Nov 2002 07:47:26 -  1.10
  @@ -60,6 +60,11 @@
   
   ### nice to have ###
   
  +- Geoffrey Young has developed Apache::HEADRegistry is just a subclass
  +  of Apache::Registry that is HEAD request aware:
  +  
http:[EMAIL PROTECTED]
  +  consider integrating in the core as the default behavior or a subclass.
  +
   - Bjarni R. Einarsson <[EMAIL PROTECTED]> has suggested this Registry hack
 http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=98961929702745&w=2
 Message-ID: <[EMAIL PROTECTED]>
  
  
  



cvs commit: modperl-2.0/ModPerl-Registry TODO

2002-08-15 Thread stas

stas2002/08/15 09:16:24

  Modified:ModPerl-Registry TODO
  Log:
  issues that have been taken care of
  
  Revision  ChangesPath
  1.8   +1 -9  modperl-2.0/ModPerl-Registry/TODO
  
  Index: TODO
  ===
  RCS file: /home/cvs/modperl-2.0/ModPerl-Registry/TODO,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- TODO  7 Dec 2001 18:12:17 -   1.7
  +++ TODO  15 Aug 2002 16:16:24 -  1.8
  @@ -6,15 +6,11 @@
   
   ### bugs ###
   
  -- prototyping sub handler($$) segfaults on request
  -
   - consider not to use $$ in debug tracing. Not all platforms give out
 a different pid for different threads.
   
   ### missing features ###
   
  -- need to properly handle HEAD requests 
  -
   - need to port $Apache::__T, to test against when user supplies -T flag.
   
   - port Apache::PerlRunXS
  @@ -53,10 +49,6 @@
   
   ### optimizations ###
   
  -- $o->[CLASS] of the subclass is known at compile time, so should
  -  create the subs using $o->[CLASS] on the fly for each subclass
  -  which wants them
  -
   - currently the default is to strip __DATA__|__END__ and everything
 after that, which incurs a little overhead because of the s/// on
 the contents of the file. This "feature" wasn't in 1.x, so may
  @@ -88,7 +80,7 @@
   
   - could also try to privide an optional workaround for the problem
 with libs collisions as explained here:
  -  http://perl.apache.org/guide/porting.html#Name_collisions_with_Modules_and
  +  
http://perl.apache.org/docs/1.0/guide/porting.html#Name_collisions_with_Modules_and
   
   - It's a known kludge with mod_perl scripts coming from mod_cgi which
 use -M for file mtime comparisons, but are not aware of the fact