Parent Directory
|
Revision Log
| Links to HEAD: | (view) (annotate) |
| Sticky Revision: |
Swapping trunk with the multi-env branch, step 2.
- 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.
Dump APR_INLINE and static from ParseSource input. Add name/value methods for APR::Request::Cookie and APR::Request::Param. Overload "" to value() for those as well.
xsbuilder (ie buildconf) needs to parse the apreq_handle_apache2.h header file in module/apache2.
Continue reorganization around include/, library/, and module/ dirs,
following this discussion-
http://marc.theaimsgroup.com/?t=110792260400001&r=1&w=2
All *nix tests should pass again.
Reorganize around include/, library/, and module/ dirs
Adjust xsbuilder.pl to use apreq_parsers.h for parser/hook macro defs. Show pretty autoconf messages while checking glue dependencies. Submitted by: Max Kellermann Reviewed by: joes
Create multi-env branch.
Add --with-apache2-httpd option so users can override apxs's notion of where the httpd executable is. XSBuilder's header parser runs from buildconf now instead of configure, so we will include those tables in the release tarball. buildconf gets an additional --with-perl option for running the xsbuilder.pl parsing script. The XS generation code in xsbuilder.pl has moved to glue/perl/Makefile.PL. Notes: This patch probably breaks the Win32 build, and the new arg parsing code for buildconf is copied from httpd's buildconf script.
property cleanup
Expose cookie->version and fix a bug in expires' argument checking (it missed the items==2 assignment case).
Don't open the destination file (which will clobber a preexisting file) unless the source podfile actually exists.
Use -I$base_dir/glue/perl/xs to find the (generated) xs headers instead of the ../../.. guesswork.
Introduce @AP[RU]_LDFLAGS@ so we don't mix these flags with @AP[RU]_LIBS@ until EU::MM forces us to (in build/xsbuilder.pl). Also list functions not covered by our tests in STATUS.
Replaced APR::PerlIO implementation of $upload->fh with a TIEHANDLE API layered over APR::Brigade. Without this change, one filehandle's seek pointer could become stale after another handle (on the same upload) is read from.
Fix typo in T_HASHOBJ override and add back tempnam() support, per user request.
override mp2's T_HASHOBJ definition to avoid modperl_* symbols in our typemap
Move f2g assignment to BOOT block for efficiency.
we don't support 1.x now
- deal with undef's being used to compare or being dereferenced - tighten up the warnings allowance, make them fatal early on so we deal with them PR: Obtained from: Submitted by: Reviewed by:
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.
On Win32, use the (apr|apu) library names coming from the (apr|apu)-config utilities (as recorded in the top-level Makefile) when building the Perl glue.
Add version regexp for perl glue on Win32
Improve the perl glue's environment check by following the recipe in CGI.pm
Fix dynaloader version mismatch by overriding ExtUtils::XSBuilder::WrapXS::pm_text
Enforce rule (on Unix builds): package version == perl module version.
On Win32, no longer need to link against mod_apreq.
Start 2.0.1 development with CGI as default module (embedded into libapreq2), and introduce new runtime API for setting up alternate environments. This should make it a bit easier to port libapreq to non-ELF platforms (eg. Win32). All current tests should still pass.
For Win32, changed the names of the built libraries
libapreq.lib -> libapreq2.lib
libapreq_cgi.lib -> libapreq2_cgi.lib.
Circumvent stupid exports in httpd.h (PACKAGE_* macros) by creating a dummy config header.
Add --enable-perl-glue option.
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.
Need to use ModPerl::MM to install Apache::Request into Apache2 directory
Doxify CHANGES and have WrapXS simply include Request_pod and Cookie_pod files, instead of trying to generate the perldocs.
s/read_bytes/read_ahead/ in apreq_cfg_t,added apreq_request_config & XS wrapper. Modified xsbuilder.pl to allow it to parse the header files in glue/perl/xsbuilder (mainly hoping this will eventually generate better pdd/pod)
Reviewed by: joes For Win32, - ensure cwd is a long path name, in order to get the base directory - obtain the Apache include and lib directories without relying on a config.status - adjust the library locations and names for WriteMakefile
Update xsbuilder typemaps, add missing newline to Makefile.am, and fix refcount problem with tiehash magic.
Add filler (unused?) typemaps; fix cookie test to reflect removal of version argument from apreq_make_cookie.
Override find_includes to work around ParseSource.pm bug
Fix typemap_code to generate typemaps for jar, cookie, request, and param.
Add xsbuilder.pl, an ExtUtils::XSBuilder script to make the perl glue.
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.
| apache@apache.org | ViewVC Help |
| Powered by ViewVC 1.1.2 |