/[Apache-SVN]/httpd/apreq/trunk/include/apreq_util.h
ViewVC logotype

Log of /httpd/apreq/trunk/include/apreq_util.h

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 477025 - (view) (annotate) - [select for diffs]
Modified Mon Nov 20 03:56:08 2006 UTC (3 years ago) by joes
File length: 14675 byte(s)
Diff to previous 472398 (colored)
  Fix leak associated to calling apreq_brigade_fwrite() on an upload
  brigade.

Revision 472398 - (view) (annotate) - [select for diffs]
Modified Wed Nov 8 06:10:22 2006 UTC (3 years ago) by pgollucci
File length: 14653 byte(s)
Diff to previous 365517 (colored)
update to new licenese header per board resolution

Revision 365517 - (view) (annotate) - [select for diffs]
Modified Tue Jan 3 02:16:30 2006 UTC (3 years, 10 months ago) by pgollucci
File length: 14474 byte(s)
Diff to previous 312985 (colored)
Its 2006 now
bump the Copyright year

Revision 312985 - (view) (annotate) - [select for diffs]
Modified Wed Oct 12 00:52:31 2005 UTC (4 years, 1 month ago) by joes
File length: 14474 byte(s)
Diff to previous 239495 (colored)
Add explicit cast in apreq_escape()/apreq_util.h to keep
C++ compilers happy.

Submitted by: Ville Skytta
Reviewed by: joes

Revision 239495 - (view) (annotate) - [select for diffs]
Modified Wed Aug 24 01:08:56 2005 UTC (4 years, 3 months ago) by joes
File length: 14466 byte(s)
Diff to previous 235750 (colored)
Eliminate charset offsets from apreq_decode(v) return value.

Revision 235750 - (view) (annotate) - [select for diffs]
Modified Mon Aug 22 16:55:18 2005 UTC (4 years, 3 months ago) by joes
File length: 14631 byte(s)
Diff to previous 234120 (colored)
Factor out the charset detection code from url_decode
to apreq_charset_divine.  It's much cleaner to do the 
charset heuristics after decoding the string (instead of
doing it while decoding).

Revision 234120 - (view) (annotate) - [select for diffs]
Modified Sat Aug 20 19:50:35 2005 UTC (4 years, 3 months ago) by joes
File length: 14069 byte(s)
Diff to previous 209754 (colored)
style cleanup: delete-trailing-whitespace

Revision 209754 - (view) (annotate) - [select for diffs]
Modified Fri Jul 8 13:00:28 2005 UTC (4 years, 4 months ago) by max
File length: 14094 byte(s)
Diff to previous 165196 (colored)
apreq_brigade_move() bugfix: pass previous bucket to APR_RING_x()

Revision 165196 - (view) (annotate) - [select for diffs]
Modified Thu Apr 28 20:54:49 2005 UTC (4 years, 6 months ago) by joes
File length: 13936 byte(s)
Diff to previous 161816 (colored)
Drop brigade-debugging macros for portability
to httpd 2.0.47.

Revision 161816 - (view) (annotate) - [select for diffs]
Modified Mon Apr 18 23:45:32 2005 UTC (4 years, 7 months ago) by joes
File length: 14013 byte(s)
Diff to previous 160897 (colored)
Swapping trunk with the multi-env branch, step 2.

Revision 160897 - (view) (annotate) - [select for diffs]
Modified Mon Apr 11 15:02:51 2005 UTC (4 years, 7 months ago) by joes
Original Path: httpd/apreq/branches/multi-env-unstable/include/apreq_util.h
File length: 14013 byte(s)
Diff to previous 160717 (colored)
Add apreq_cp1252_to_utf8().

Revision 160717 - (view) (annotate) - [select for diffs]
Modified Sat Apr 9 20:13:52 2005 UTC (4 years, 7 months ago) by joes
Original Path: httpd/apreq/branches/multi-env-unstable/include/apreq_util.h
File length: 13396 byte(s)
Diff to previous 157753 (colored)
Document charset returns from apreq_decode and apreq_decodev.

Revision 157753 - (view) (annotate) - [select for diffs]
Modified Wed Mar 16 13:59:58 2005 UTC (4 years, 8 months ago) by joes
Original Path: httpd/apreq/branches/multi-env-unstable/include/apreq_util.h
File length: 13124 byte(s)
Diff to previous 157492 (colored)
Doxygen fixes.


Revision 157492 - (view) (annotate) - [select for diffs]
Modified Tue Mar 15 02:04:37 2005 UTC (4 years, 8 months ago) by joes
Original Path: httpd/apreq/branches/multi-env-unstable/include/apreq_util.h
File length: 12625 byte(s)
Diff to previous 157331 (colored)
Replace leaky uses of apr_brigade_split
with new apreq_brigade_move, patterned on
Paul Querna's r154200 patch to httpd's
core_filters.c.

Revision 157331 - (view) (annotate) - [select for diffs]
Modified Sun Mar 13 14:54:28 2005 UTC (4 years, 8 months ago) by joes
Original Path: httpd/apreq/branches/multi-env-unstable/include/apreq_util.h
File length: 11828 byte(s)
Diff to previous 157308 (colored)
Make apreq_join() and apreq_params_as_string() return an empty
string on n==0.

Submitted by: Max Kellermann
Reviewed by: joes

Revision 157308 - (view) (annotate) - [select for diffs]
Modified Sun Mar 13 02:26:09 2005 UTC (4 years, 8 months ago) by joes
Original Path: httpd/apreq/branches/multi-env-unstable/include/apreq_util.h
File length: 11792 byte(s)
Diff to previous 156729 (colored)
This patch includes two components:

  1) Max Kellermann's rewrite of apreq_fwrite
     which removes the recursion, and eliminates
     the possibility of a "successful zero-byte-write" 
     infinite loop.

  2) Define a copy method for SPOOL buckets.  It's
     clear from the perl glue's $upload->io() implementation 
     that on a copy, the original bucket stays a SPOOL
     while the copy becomes an ordinary file bucket.

Revision 156729 - (view) (annotate) - [select for diffs]
Modified Thu Mar 10 02:54:09 2005 UTC (4 years, 8 months ago) by joes
Original Path: httpd/apreq/branches/multi-env-unstable/include/apreq_util.h
File length: 11773 byte(s)
Diff to previous 155866 (colored)
API documentation updates.

Submitted by: Max Kellermann
Reviewed by: joes

Revision 155866 - (view) (annotate) - [select for diffs]
Modified Wed Mar 2 03:40:06 2005 UTC (4 years, 8 months ago) by joes
Original Path: httpd/apreq/branches/multi-env-unstable/include/apreq_util.h
File length: 11545 byte(s)
Diff to previous 155843 (colored)
Working on Apache::Upload API... with this patch, the failure list
should be:

Failed Test       Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/apreq/request.t               18   10  55.56%  4-5 10-15 17-18

Revision 155843 - (view) (annotate) - [select for diffs]
Modified Tue Mar 1 23:57:22 2005 UTC (4 years, 8 months ago) by joes
Original Path: httpd/apreq/branches/multi-env-unstable/include/apreq_util.h
File length: 11469 byte(s)
Diff to previous 154527 (colored)
++2004 in Copyrights.


Revision 154527 - (view) (annotate) - [select for diffs]
Modified Sun Feb 20 17:00:30 2005 UTC (4 years, 9 months ago) by joes
Original Path: httpd/apreq/branches/multi-env-unstable/include/apreq_util.h
File length: 11469 byte(s)
Diff to previous 154358 (colored)
Move apreq_status_is_error to apreq_module_status_is_error, since
that's all it represents.  Also drop apreq_*_(name|value) inlines;
apreq_value_t needs to remain a public struct. 

Improved error codes in apreq_error.h, added new tests for apreq_strerrror.
Also includes whitespace cleanups for function declarations; started work
to bring doxygen docs back in sync.

The APR::Request:: perl glue is taking shape.  The basic idea is
to directly map apreq_module.h to APR::Request, and map the remaining 
apreq_foo.h to APR::Request::Foo.

Removed deprecated apreq_expires, apreq_make_*. 
Renamed apreq_run_$foo apreq_$foo_run.
Dropped const qualifier from apreq_join's return value.

Revision 154358 - (view) (annotate) - [select for diffs]
Modified Fri Feb 18 22:07:36 2005 UTC (4 years, 9 months ago) by joes
Original Path: httpd/apreq/branches/multi-env-unstable/include/apreq_util.h
File length: 11029 byte(s)
Diff to previous 153661 (colored)
  - Add apreq_error.h, apreq_module.h.
  - Rename apreq_run* and apreq_make* funcs to conform with 
    apreq_$obj_$meth scheme.
  - Replace c->version & c->secure with flags.
  - Parsers are assumed to be working with external data, so the
    cookies & params they produce are marked tainted.

Revision 153661 - (view) (annotate) - [select for diffs]
Modified Sun Feb 13 20:43:46 2005 UTC (4 years, 9 months ago) by joes
Original Path: httpd/apreq/branches/multi-env-unstable/include/apreq_util.h
File length: 15146 byte(s)
Copied from: httpd/apreq/branches/multi-env-unstable/src/apreq.h revision 153633
Diff to previous 151821 (colored)
Reorganize around include/, library/, and module/ dirs

Revision 151821 - (view) (annotate) - [select for diffs]
Modified Tue Feb 8 02:27:24 2005 UTC (4 years, 9 months ago) by joes
Original Path: httpd/apreq/branches/multi-env-unstable/src/apreq.h
File length: 15131 byte(s)
Diff to previous 151386 (colored)
Convert APREQ_RUN_PARSER and APREQ_RUN_HOOK to inline, and downcase them.
Remove apreq_memmem.
Convert apreq_(un)escape to inline.
apreq_escape does not create an apreq_value_t*.
Initialize default_parsers explicitly to NULL.
Convert APREQ_BRIGADE_COPY to inline, and downcase it.
Lowercase APREQ_BRIGADE_SETASIDE, APREQ_BRIGADE_COPY.
Convert apreq_cookie_name and apreq_cookie_value macros to inline.
Convert apreq_param_name, apreq_param_value, apreq_param_info, apreq_param_brigade to inline.
Add apreq_initialize to allow thread-safe parser registration.


Submitted by: Max Kellermann
Reviewed by: joes

Revision 151386 - (view) (annotate) - [select for diffs]
Modified Fri Feb 4 18:27:55 2005 UTC (4 years, 9 months ago) by joes
Original Path: httpd/apreq/branches/multi-env-unstable/src/apreq.h
File length: 15207 byte(s)
Diff to previous 126444 (colored)
  Widespread API refactorization to remove apreq_jar_t and apreq_request_t:
  
  - Header includes reorganized; apreq_parsers.h added (back again).
  - Replaced apreq_jar_t and apreq_request_t with single apreq_env_handle_t.
  - Added const qualifier to "v" attribute of apreq_cookie_t and apreq_param_t.
  - Use union type-puns to drop const qualifiers inside the new
    apreq_value_to_cookie and apreq_value_to_param implementations
    (gcc generates same object code as the macro versions did).
  - Moved "flags" attribute from apreq_value_t to apreq_cookie_t and apreq_param_t.
  - Remove env argument from hooks and parsers.
  - Reduce apreq_env_module to minimal set of operations.
  - Replace apreq_log calls with apreq-specific error codes.
  - Hooks are called on each body param now, not just during file uploads.
  - Tie the cgi handle to its creator pool.

  Detailed changes by header file:

  [apreq.h]
  - Remove flags from apreq_value_t.
  - Remove const qualifier from apreq_value_t's "name" attribute.
  - Remove apreq_value_merge* and apreq_value_copy*.
  - Remove apreq_char_to_value, apreq_strtoval, and apreq_strlen.
  - Move apreq_enctype to apreq_env.h.
  - Move apreq_env_handle_t struct definition to apreq_env.h
  - Change signature of apreq_decode.
  - Move apreq_brigade_concat here, changed its signature and improved it alot.
  - Remove apreq_brigade_spoolfile.
  - Dropped APREQ_*_ENCTYPE, renamed some APREQ_$foo defaults APREQ_DEFAULT_$foo.
  - Added APREQ_ERROR_*.

  [apreq_cookie.h]
  - Remove apreq_env.h include.
  - Remove apreq_jar_t.
  - Add "flags" to apreq_cookie_t, add const qualifier to its "v" attr.
  - Remove apreq_jar* functions.
  - Add apreq_parse_cookie_header.
  - Move apreq_cookie, apreq_cookie_bake(2), and 
    apreq_ua_cookie_version to apreq_env.h.

  [apreq_params.h]
  - Remove apreq_env.h include.
  - Remove apreq_request_t.
  - Add "flags" to apreq_param_t, and const qualifier to its "v" attr.
  - Rename "bb" attribute "upload" in apreq_param_t.
  - Remove apreq_request* functions.
  - Remove apreq_parse_request.
  - Changed apreq_decode_param signature.
  - Replace env argument with apr_table_t in apreq_params_as_array,
    apreq_params_as_string,
  - Move remaining apreq_param* to apreq_env.h.
  - Move parser and hook sections to apreq_parsers.h.
  - Change apreq_upload(s) old apreq_request_t arg to apr_table_t.

  [apreq_parsers.h]
  - Acquire the hook and parser sections of original apreq_params.h.
  - Remove env argument from APREQ_PARSER_ARGS and APREQ_HOOK_ARGS
  - Augment apreq_hook_t and apreq_parser_t to replace missing env features.
  - Change apreq_make_parser and apreq_make_hook signatures.
  - Rename apreq_add_hook to apreq_parser_add_hook, returning apr_status_t.
  - Change apreq_parser signature.

  [apreq_env.h]
  - Remove read, log, pool, bucket_alloc, request, jar, and query_string methods.
  - Include apreq_parsers.h.
  - Reorganize apreq_env_module_t to provide hook, parser, jar, args,
    & body table ops.
  - Rename max_brigade to "brigade_limit", max_body to "read_limit".
  - Change related module sigs, including temp_dir, to get/set methods.
  - Add parser and read_limit args to apreq_env_make_custom_handle.
  - Drop "name" arg and APREQ_ENV_MODULE =~ s/_ENV//.
  - s/apreq_env_make/apreq_handle/ in the handle constructor names.

  [mod_apreq.c, apreq_env_apache2.h]
  - Changed APREQ_Max* configs to APREQ_BrigadeLimit and APREQ_ReadLimit.
  - Handle constructor renamed apreq_handle_apache2.

Revision 126444 - (view) (annotate) - [select for diffs]
Modified Tue Jan 25 23:36:01 2005 UTC (4 years, 10 months ago) by joes
Original Path: httpd/apreq/branches/multi-env-unstable/src/apreq.h
File length: 15860 byte(s)
Diff to previous 126241 (colored)
Introduce apreq_env_handle_t to replace the void *env usage.
Also added apreq_env_custom for making private handles, and new 
apreq_env_apache2.h to let mod_apreq export apreq_env_make_apache2.

This patch represents part one of 

        http://marc.theaimsgroup.com/?l=apreq-dev&m=110667661730797&w=2

I added a few additional notes to STATUS and CHANGES.

Submitted by: Max Kellermann
Reviewed by: joes

Revision 126241 - (view) (annotate) - [select for diffs]
Modified Sun Jan 23 21:02:55 2005 UTC (4 years, 10 months ago) by joes
Original Path: httpd/apreq/branches/multi-env-unstable/src/apreq.h
File length: 15570 byte(s)
Diff to previous 125263 (colored)
New gcc warning flags and associated fixes.

Submitted by: Max Kellermann
Reviewed by: joes

Revision 125263 - (view) (annotate) - [select for diffs]
Modified Sat Jan 15 15:41:46 2005 UTC (4 years, 10 months ago) by joes
Original Path: httpd/apreq/branches/multi-env-unstable/src/apreq.h
File length: 15414 byte(s)
Diff to previous 109213 (colored)
Create multi-env branch.

Revision 109213 - (view) (annotate) - [select for diffs]
Modified Tue Nov 30 17:33:54 2004 UTC (4 years, 11 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 15414 byte(s)
Diff to previous 106601 (colored)
Add flags to apreq_value_t, planning for future charset support.
This is an ABI change, starting with libapreq2.so.2.0.24.

Revision 106601 - (view) (annotate) - [select for diffs]
Modified Thu Nov 25 20:47:23 2004 UTC (5 years ago) by nd
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 15340 byte(s)
Diff to previous 104316 (colored)
property cleanup

Revision 104316 - (view) (annotate) - [select for diffs]
Modified Sat Jul 17 17:05:27 2004 UTC (5 years, 4 months ago) by randyk
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 15340 byte(s)
Diff to previous 104222 (colored)
Reviewed by:	joes
add tests for apreq_(make|copy)_value, and declare apreq_copy_value
using APREQ_DECLARE().

Revision 104222 - (view) (annotate) - [select for diffs]
Modified Sat Jul 10 14:42:30 2004 UTC (5 years, 4 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 15310 byte(s)
Diff to previous 104221 (colored)
Reorder args in apreq_decodev and rename bytes_written dlen (which is less confusing since this represents the length of the decoded string, not the size of the pre-decoded iovec data).

Revision 104221 - (view) (annotate) - [select for diffs]
Modified Sat Jul 10 14:24:17 2004 UTC (5 years, 4 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 15350 byte(s)
Diff to previous 104211 (colored)
Eliminate tail-recursion in apreq_decodev.

Revision 104211 - (view) (annotate) - [select for diffs]
Modified Fri Jul 9 23:00:39 2004 UTC (5 years, 4 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 14835 byte(s)
Diff to previous 104088 (colored)
Add apreq_decodev to fix bug in url parser reported by Ken Burcham.

Revision 104088 - (view) (annotate) - [select for diffs]
Modified Tue Jun 29 18:34:48 2004 UTC (5 years, 4 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 14690 byte(s)
Diff to previous 104017 (colored)
- Perl API [joes]
  Added $jar->status, $req->args_status and $req->body_status to report
  parsing errors.

- C API [joes]
  Dropped status attribute of apreq_value_t.  Added status field to
  apreq_jar_t and added args_status field to apreq_request_t. Parsers
  also must return their public status code when a NULL brigade is passed.

Revision 104017 - (view) (annotate) - [select for diffs]
Modified Wed Jun 23 02:22:28 2004 UTC (5 years, 5 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 14775 byte(s)
Diff to previous 104001 (colored)
Large-scale doxygen cleanups: add src/groups.dox.in to move doxygen formatting instructions out of the header files.  Document the new directives for mod_apreq, and have doxygen build manpages.  The manpages are currently unsuitable for installed documentation.

Revision 104001 - (view) (annotate) - [select for diffs]
Modified Mon Jun 21 17:49:18 2004 UTC (5 years, 5 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 15379 byte(s)
Diff to previous 103989 (colored)
Namespace-protect remaining globals (mainly enums), and start a series of doxygen fixes.

Revision 103989 - (view) (annotate) - [select for diffs]
Modified Sat Jun 19 20:03:59 2004 UTC (5 years, 5 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 15354 byte(s)
Diff to previous 103942 (colored)
Fully specify parser's behavior wrt input brigade. Parsers will never destroy it, and sometimes will not even clean it up completely (see comments on rejected buckets in apreq_params.h).

Revision 103942 - (view) (annotate) - [select for diffs]
Modified Mon Jun 14 02:19:58 2004 UTC (5 years, 5 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 15226 byte(s)
Diff to previous 103847 (colored)
Fix longstanding mod_ssl-related bug: missing apr_bucket_setaside calls on stored-away transient buckets.

Revision 103847 - (view) (annotate) - [select for diffs]
Modified Fri Jun 4 22:02:11 2004 UTC (5 years, 5 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 13997 byte(s)
Diff to previous 103123 (colored)
  apreq_run_(hook|parser) are macros, so they are capitalized now.
  Fixed apreq_params_as_string() and added apreq_params_as_array().
  Reworked definitions of APREQ_DECLARE_HOOK, APREQ_DECLARE_PARSER
  and apreq_(parser|hook)_t, hopefully to be more Win32 friendly.
  Also updated the documentation.

Revision 103123 - (view) (annotate) - [select for diffs]
Modified Wed Mar 24 08:22:48 2004 UTC (5 years, 8 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 12129 byte(s)
Diff to previous 102798 (colored)
Reformatted STATUS file, removing dates. Removed struct apreq_cfg_t and added corresponding
apreq_env hooks.  Bumped version numbers (note- libapreq2.so.2.0.5 is not ABI compatible
with earlier versions).  This is a large patch, but all existing tests should still pass.

Revision 102798 - (view) (annotate) - [select for diffs]
Modified Sat Feb 28 07:48:15 2004 UTC (5 years, 8 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 12024 byte(s)
Diff to previous 101641 (colored)
Update Apache License to 2.0 in all *.[ch] files.

Revision 101641 - (view) (annotate) - [select for diffs]
Modified Sat Nov 1 03:58:30 2003 UTC (6 years ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 14028 byte(s)
Diff to previous 101473 (colored)
Eliminate apr_table_nelts macro

Revision 101473 - (view) (annotate) - [select for diffs]
Modified Fri Oct 17 06:10:35 2003 UTC (6 years, 1 month ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 14112 byte(s)
Diff to previous 101449 (colored)
drop const qualifier from first argument to apreq_header_attribute (mainly because it confuses XSBuilder).

Revision 101449 - (view) (annotate) - [select for diffs]
Modified Tue Oct 14 18:15:38 2003 UTC (6 years, 1 month ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 14104 byte(s)
Diff to previous 101437 (colored)
Opera may include a charset attribute in its Content-Type header.  I dropped nextval() from apreq_parsers.c and replaced it with apreq_header_attribute() in apreq.h.  Updated the mfd parser test in t/parsers.c accordingly.

Revision 101437 - (view) (annotate) - [select for diffs]
Modified Mon Oct 13 18:24:47 2003 UTC (6 years, 1 month ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 13894 byte(s)
Diff to previous 100631 (colored)
Add versioning changes to libapreq-
1) The shared library is now named libapreq2.
2) The header files get installed into their own subdirectory: apreq2.
3) Added a versioning API (apreq_version.[ch]) based on apr-util.
4) I also added an apreq2-config script based on apu-config.

Revision 100631 - (view) (annotate) - [select for diffs]
Modified Tue Jul 15 16:15:50 2003 UTC (6 years, 4 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 13894 byte(s)
Diff to previous 100417 (colored)
make apreq_brigade_concat public, and use it for controlling mod_apreq's spool.

Revision 100417 - (view) (annotate) - [select for diffs]
Modified Mon Jun 30 20:42:14 2003 UTC (6 years, 4 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 13893 byte(s)
Diff to previous 100387 (colored)
Phase out test_config.pl script.  Rework prefetch code in mod_apreq.c and move apreq_brigade_copy function from apreq_params.c to apreq.c

Revision 100387 - (view) (annotate) - [select for diffs]
Modified Sat Jun 28 22:25:07 2003 UTC (6 years, 4 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 13424 byte(s)
Diff to previous 100386 (colored)
'%make apr_tags' creates doxygen tags for apr & apr-util

Revision 100386 - (view) (annotate) - [select for diffs]
Modified Sat Jun 28 19:00:45 2003 UTC (6 years, 5 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 13272 byte(s)
Diff to previous 100384 (colored)
Deprecate apreq_expires in favor of apr_rfc822_date, add doc link to apreq homepage

Revision 100384 - (view) (annotate) - [select for diffs]
Modified Sat Jun 28 17:51:38 2003 UTC (6 years, 5 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 12961 byte(s)
Diff to previous 100382 (colored)
Eliminate codependency between cookie->version and cookie->time by using max_age to store the cookie's lifetime.

Revision 100382 - (view) (annotate) - [select for diffs]
Modified Sat Jun 28 00:47:57 2003 UTC (6 years, 5 months ago) by randyk
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 11794 byte(s)
Diff to previous 100376 (colored)
undefining APR_INLINE no longer needed on Win32

Revision 100376 - (view) (annotate) - [select for diffs]
Modified Fri Jun 27 18:23:18 2003 UTC (6 years, 5 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 11916 byte(s)
Diff to previous 100369 (colored)
License check: add/fix license year = 2003 for httpd-apreq-2

Revision 100369 - (view) (annotate) - [select for diffs]
Modified Fri Jun 27 11:41:07 2003 UTC (6 years, 5 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 11921 byte(s)
Diff to previous 100289 (colored)
Add name, info, value, & link to upload API.

Revision 100289 - (view) (annotate) - [select for diffs]
Modified Wed Jun 18 02:08:43 2003 UTC (6 years, 5 months ago) by randyk
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 11394 byte(s)
Diff to previous 100275 (colored)
Reviewed by:	joes
For the benefit of Win32, don't declare apreq_copy_value and
apreq_merge_values with APREQ_DECLARE.

Revision 100275 - (view) (annotate) - [select for diffs]
Modified Tue Jun 17 06:16:36 2003 UTC (6 years, 5 months ago) by randyk
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 11448 byte(s)
Diff to previous 100273 (colored)
ExtUtils::XSBuilder seems to like the defines the other way around ...

Revision 100273 - (view) (annotate) - [select for diffs]
Modified Tue Jun 17 04:00:23 2003 UTC (6 years, 5 months ago) by randyk
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 11447 byte(s)
Diff to previous 100253 (colored)
Change declarations of APREQ_DECLARE* on Win32 to use __declspec(dllexport)

Revision 100253 - (view) (annotate) - [select for diffs]
Modified Sun Jun 15 10:33:01 2003 UTC (6 years, 5 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 11368 byte(s)
Diff to previous 100247 (colored)
Lots of doxygen updates.  Preliminary changes to prefetch code in mod_apreq.c, and some XS fixes to allow constructors to derive their classname from the caller.

Revision 100247 - (view) (annotate) - [select for diffs]
Modified Sun Jun 15 05:25:37 2003 UTC (6 years, 5 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 11158 byte(s)
Diff to previous 100191 (colored)
Add build/doxygen.conf and build doxygen documentation in /docs via '% make docs'

Revision 100191 - (view) (annotate) - [select for diffs]
Modified Sat Jun 7 20:07:42 2003 UTC (6 years, 5 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 4958 byte(s)
Diff to previous 99950 (colored)
Drop version argument from make_cookie.

Revision 99950 - (view) (annotate) - [select for diffs]
Modified Tue May 20 20:10:59 2003 UTC (6 years, 6 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 4970 byte(s)
Diff to previous 99729 (colored)
s/apreq_tables/apr_tables/g, phase 1:  Update core to only use apr_tables, but (for now) still build apreq_tables into libapreq.so

Revision 99729 - (view) (annotate) - [select for diffs]
Modified Tue May 6 02:11:37 2003 UTC (6 years, 6 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 4073 byte(s)
Diff to previous 99708 (colored)
Major improvements to the apreq_parser API and mod_apreq filter.


Structural changes to the core:

    APREQ_ENV is gone.

    struct apreq_hook_t added (similar API to httpd's filter stack),

    struct apreq_parser_t simplified,

    struct apreq_request_t modified to hold config data (as in libapreq-1).

    "passive-aggressive" parsing code added to apreq_param() (similar
                        to libapreq-1, but slightly less agressive :-).


Feature additions to mod_apreq.c:

        Filter supports prefetch reads.

        Filter should DTRT for subrequests & internal redirects.


Also cleaned up libapreq_cgi.c a little bit.

Revision 99708 - (view) (annotate) - [select for diffs]
Modified Sun May 4 20:45:25 2003 UTC (6 years, 6 months ago) by randyk
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 4008 byte(s)
Diff to previous 99530 (colored)
For Win32,
- don't use APR_INLINE, so functions will be added to libapreq.lib.
- temporary workaround until the proper form of APREQ_DECLARE can
  be worked out.

Revision 99530 - (view) (annotate) - [select for diffs]
Modified Wed Apr 23 06:48:57 2003 UTC (6 years, 7 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 3734 byte(s)
Diff to previous 99477 (colored)
Eliminate a few segfaults in tree insertion/deletion algorithms. Added test handler and filter injection logic to mod_apreq.c

Revision 99477 - (view) (annotate) - [select for diffs]
Modified Mon Apr 21 16:09:10 2003 UTC (6 years, 7 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 3701 byte(s)
Diff to previous 99473 (colored)
Table Iterator API simplified (back to using apr-style table_elts); table_keys() added.  apreq_params returns a table, and apreq_param returns a param again (instead of a char *) .

Revision 99473 - (view) (annotate) - [select for diffs]
Modified Mon Apr 21 04:29:47 2003 UTC (6 years, 7 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 3827 byte(s)
Diff to previous 99444 (colored)
replace table_iter API with simpler table_elts

Revision 99444 - (view) (annotate) - [select for diffs]
Modified Fri Apr 18 20:15:50 2003 UTC (6 years, 7 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 3701 byte(s)
Diff to previous 99372 (colored)
Polish table iterator API.

Revision 99372 - (view) (annotate) - [select for diffs]
Modified Tue Apr 15 21:47:23 2003 UTC (6 years, 7 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 3660 byte(s)
Diff to previous 99362 (colored)
Fix off-by-one errors in url parser.

Revision 99362 - (view) (annotate) - [select for diffs]
Modified Tue Apr 15 09:36:11 2003 UTC (6 years, 7 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 3655 byte(s)
Diff to previous 99339 (colored)
Changed configure option:
    dropped:                        --with-apache-includes
    temporarily replaced with:      --with-apache2  (server-root, assuming
                                                     typical Apache layout).

Lots of bugfixes focusing on urlencoded data parsers (GET & POST).
The mod_apreq filter is now functional; to bang on it, just do this

        % ./buildconf
        % ./configure --with-apache2=/path/to/apache2
        % make
        % cp src/.libs/libapreq.* /path/to/apache2/libs
        % cp env/.libs/mod_apreq.so /path/to/apache2/modules

Now edit httpd.conf by adding

        LoadModule apreq_module modules/mod_apreq.so
        ...
        SetInputFilter APREQ

in some appropriate place.  Hopefully the server will start up :-).
Lowering the loglevel to DEBUG should produce some debugging messages in
the error log.

Revision 99339 - (view) (annotate) - [select for diffs]
Modified Sat Apr 12 01:45:30 2003 UTC (6 years, 7 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 3784 byte(s)
Diff to previous 99327 (colored)
core API (parser, env) cleanup.

Revision 99327 - (view) (annotate) - [select for diffs]
Modified Fri Apr 11 02:48:01 2003 UTC (6 years, 7 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 4153 byte(s)
Diff to previous 98498 (colored)
Completing work on upload-hook API. Next phase is to get current /src to a compilable state.

Revision 98498 - (view) (annotate) - [select for diffs]
Modified Sun Jan 26 02:39:08 2003 UTC (6 years, 10 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 4081 byte(s)
Diff to previous 98491 (colored)
apreq_env cleanups, etc.

Revision 98491 - (view) (annotate) - [select for diffs]
Modified Fri Jan 24 19:15:07 2003 UTC (6 years, 10 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 4004 byte(s)
Diff to previous 98482 (colored)
Symmetrize the APIs for cookies & params.

Revision 98482 - (view) (annotate) - [select for diffs]
Modified Fri Jan 24 04:29:09 2003 UTC (6 years, 10 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 3762 byte(s)
Diff to previous 98467 (colored)
Import apreq_params skeleton, along with some state management tweaks.  Parsers are coming next.

Revision 98467 - (view) (annotate) - [select for diffs]
Modified Thu Jan 23 07:00:41 2003 UTC (6 years, 10 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 3534 byte(s)
Diff to previous 98410 (colored)
Sweeping changes to implementation, just a few header tweaks tho.

Revision 98410 - (view) (annotate) - [select for diffs]
Modified Tue Jan 21 02:34:32 2003 UTC (6 years, 10 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 3506 byte(s)
Diff to previous 98357 (colored)
Prep for cookies.

Revision 98357 - (view) (annotate) - [select for diffs]
Modified Mon Jan 20 01:54:43 2003 UTC (6 years, 10 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 3498 byte(s)
Diff to previous 98315 (colored)
Clean up table API.

Revision 98315 - (view) (annotate) - [select for diffs]
Added Fri Jan 17 23:24:52 2003 UTC (6 years, 10 months ago) by joes
Original Path: httpd/apreq/trunk/src/apreq.h
File length: 3206 byte(s)
Import Frankentables.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2