You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by jo...@apache.org on 2003/07/10 06:35:19 UTC

cvs commit: httpd-apreq-2/env mod_apreq.c

joes        2003/07/09 21:35:19

  Modified:    .        STATUS
               build    doxygen.conf
               env      mod_apreq.c
  Log:
  Minor code cleanups in mod_apreq.c. Update and doxify STATUS file.
  
  Revision  Changes    Path
  1.16      +43 -37    httpd-apreq-2/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/STATUS,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- STATUS	30 Jun 2003 22:24:07 -0000	1.15
  +++ STATUS	10 Jul 2003 04:35:18 -0000	1.16
  @@ -1,26 +1,25 @@
  -APREQ 2.0 STATUS:                                              -*-text-*-
  -Last modified at [$Date$]
  +Last modified at [$Date$]   -*-text-*-
  +/** @page STATUS
   
        2.0.0  in development
   
   Contributors looking for a mission:
   
  -    * just do an egrep on "TODO" or "XXX" and see what's there
  +    - just do an egrep on "TODO" or "XXX" and see what's there
   
   
   CURRENT RELEASE NOTES:
   
  -    * This is unreleased software.
  +    - This is unreleased software.
   
   
   RELEASE SHOWSTOPPERS:
   
  -    * Missing Perl API components: 
  -
  -        1. What should $req->parse do?
  -        2. How should we encode/decode $cookie->value?
  -        3. What about CGI?  We can use import() to autoload 
  -           an environment if none exists, but should we?
  +    - Missing Perl API components: 
  +      -# What should $req->parse do?
  +      -# How should we encode/decode $cookie->value?
  +      -# What about CGI?  We can use import() to autoload 
  +         an environment if none exists, but should we?
   
   CURRENT VOTES:
   
  @@ -28,41 +27,43 @@
   
   TODO:
   
  -    * Write tests to exercise the filter prefetch code:
  -         1) Test AAA handler that checks early POST data,
  -         2) Test output filter w/ a streaming content-handler,
  -            that needs apreq to read POST data that is beyond 
  -            what the content handler has already pulled in.
  -
  -    * Adopt a versioning system for the various components: 
  -         1) src/,  (libtool-based)
  -         2) env/,  (module-magic-number ?)   
  -         3) glue/, (per-language ?)
  -
  -    * Bring Perl documentation up to speed.
  -
  -    * Add XForms logic to the mfd parser.
  -
  -    * symbol exports files:
  -      - win32 now has hardcoded .def files (need to automate, e.g. based
  -        on exports.c ala httpd-2.0)
  -      - aix needs .exp files
  +    - Write tests to exercise the filter prefetch code:
  +         Output filter w/ a streaming content-handler,
  +         that needs apreq to read POST data that is beyond 
  +         what the content handler has already pulled in.
  +
  +    - Adopt a versioning system for the various components: 
  +      -# src/,  (libtool-based, following apr)
  +      -# env/,  (module-magic-number ?)   
  +      -# glue/, (per-language ?)
  +
  +    - Bring Perl documentation up to speed.
  +
  +    - Write parser/hook API documentation.
   
  -    * on Win32, figure out how to build things so Apache::Cookie
  +    - Add XForms logic to the mfd parser.
  +
  +    - symbol exports files:
  +      -# win32 now has hardcoded .def files (need to automate, e.g. based
  +         on exports.c ala httpd-2.0)
  +      -# aix needs .exp files
  +
  +    - on Win32, figure out how to build things so Apache::Cookie
         and Apache::Request don't need to be linked against mod_apreq
         to resolve missing apreq_env* symbols. 
   
  +    - drop build/test_config.pl from the repository.
   
   OPEN ISSUES:
   
  -    * Should we bundle an apr-based "application/xml" parser?  
  +    - Should we bundle an apr-based "application/xml" parser?  
         If so, how should we parse the xml data into an apr_table?
   
  -    * How should the Perl API work in a CGI context?
  +    - How should the Perl API work in a CGI context?
         Will users need to preload an "CGI environment" module 
         before loading Request.so or Cookie.so?
   
  -    * Figure out how to bundle a CPAN release.
  +    - Figure out how to bundle a CPAN release.
   
   BUGS:
   
  @@ -71,15 +72,20 @@
   
   WISH LIST:
   
  -    * I [joes] wish folks would contribute some glue code for
  +    - I [joes] wish folks would contribute some glue code for
         one of these:
   
  -      - php, 
  -      - mod_tcl, 
  +      - php,
  +      - Rivet,
  +      - mod_dtcl, 
         - mod_python, 
         - mod_jk, 
  +      - tomcat,
         - mod_ruby,
         - mod_parrot.
   
  -    * Someone should also adopt env/libapreq_cgi.c and ensure it
  +    - Someone should also adopt env/libapreq_cgi.c and ensure it
         doesn't fall into disrepair by adding some tests to env/t.
  +
  +
  +*/
  \ No newline at end of file
  
  
  
  1.5       +1 -1      httpd-apreq-2/build/doxygen.conf
  
  Index: doxygen.conf
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/build/doxygen.conf,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- doxygen.conf	29 Jun 2003 23:13:32 -0000	1.4
  +++ doxygen.conf	10 Jul 2003 04:35:18 -0000	1.5
  @@ -310,7 +310,7 @@
   # *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp 
   # *.h++ *.idl *.odl
   
  -FILE_PATTERNS          = *.c *.h CHANGES
  +FILE_PATTERNS          = *.c *.h CHANGES STATUS
   
   # The RECURSIVE tag can be used to turn specify whether or not subdirectories 
   # should be searched for input files as well. Possible values are YES and NO. 
  
  
  
  1.23      +3 -5      httpd-apreq-2/env/mod_apreq.c
  
  Index: mod_apreq.c
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/env/mod_apreq.c,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- mod_apreq.c	9 Jul 2003 22:07:04 -0000	1.22
  +++ mod_apreq.c	10 Jul 2003 04:35:18 -0000	1.23
  @@ -195,10 +195,9 @@
           if (strcmp(f->frec->name, filter_name) == 0)
               return cfg->f = f;
       }
  -    apreq_filter_relocate(ap_add_input_filter(filter_name, NULL, r, r->connection));
  -    apreq_log(APREQ_DEBUG 0, r, 
  -              "apreq filter now added to top of filter chain" );
  -    return cfg->f = r->input_filters;
  +    cfg->f = ap_add_input_filter(filter_name, NULL, r, r->connection);
  +    apreq_filter_relocate(cfg->f);
  +    return cfg->f;
   }
   
   APREQ_DECLARE(apreq_request_t *) apreq_env_request(void *env, 
  @@ -300,7 +299,6 @@
               ctx->status = APR_SUCCESS;
               cfg->f = ap_add_input_filter(filter_name, NULL, r, r->connection);
               apreq_filter_relocate(cfg->f);
  -            cfg->f = r->input_filters;
           }
       } 
       else {