cvs commit: modperl-2.0 Changes
stas2003/02/19 17:28:25 Modified:t/response/TestAPI uri.pm xs/APR/URI APR__URI.h .Changes Log: fix a bug for apr 0.9.3, where it segfaults in apr_uri_unparse, if hostname is set, but not the scheme. Revision ChangesPath 1.9 +13 -1 modperl-2.0/t/response/TestAPI/uri.pm Index: uri.pm === RCS file: /home/cvs/modperl-2.0/t/response/TestAPI/uri.pm,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- uri.pm14 May 2002 01:32:50 - 1.8 +++ uri.pm20 Feb 2003 01:28:24 - 1.9 @@ -4,6 +4,7 @@ use warnings FATAL = 'all'; use Apache::Test; +use Apache::TestUtil; use APR::URI (); use Apache::URI (); @@ -17,7 +18,7 @@ sub handler { my $r = shift; -plan $r, tests = 14; +plan $r, tests = 15; $r-args('query'); @@ -49,6 +50,17 @@ $parsed-path($path); ok $parsed-path eq $path; + +{ +# test the segfault in apr 0.9.3 (fixed on mod_perl side) +# passing only the /path +my $parsed = APR::URI-parse($r-pool, $r-uri); +# set hostname, but not the scheme +$parsed-hostname($r-get_server_name); +$parsed-port($r-get_server_port); +#$parsed-scheme('http'); +ok t_cmp($r-construct_url, $parsed-unparse); +} my $newr = Apache::RequestRec-new($r-connection, $r-pool); my $url_string = $path?query; 1.5 +9 -0 modperl-2.0/xs/APR/URI/APR__URI.h Index: APR__URI.h === RCS file: /home/cvs/modperl-2.0/xs/APR/URI/APR__URI.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- APR__URI.h14 May 2002 01:32:50 - 1.4 +++ APR__URI.h20 Feb 2003 01:28:24 - 1.5 @@ -3,6 +3,15 @@ apr_uri_t *uptr, unsigned flags) { + +/* XXX: check that my patch was actually applied in apr v9.3 */ +#if APR_MINOR_VERSION == 9 APR_PATCH_VERSION 3 +/* apr 0.9.3 segfaults if hostname is set, but scheme is not */ +if (uptr-hostname !uptr-scheme) { +uptr-scheme = http; +} +#endif + return apr_uri_unparse(((modperl_uri_t *)uptr)-pool, uptr, flags); } 1.131 +3 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.130 retrieving revision 1.131 diff -u -r1.130 -r1.131 --- Changes 19 Feb 2003 23:55:22 - 1.130 +++ Changes 20 Feb 2003 01:28:25 - 1.131 @@ -10,6 +10,9 @@ =item 1.99_09-dev +fix a bug for apr 0.9.3, where it segfaults in apr_uri_unparse, if +hostname is set, but not the scheme. [Stas] + move $r-send_http_header implementation to Apache::compat. This allows the 1.0 code to run unmodified if $r-send_http_header is called before the response change. we already handle the check whether
cvs commit: modperl-2.0 Changes
stas2003/02/18 16:32:45 Modified:.Changes Added: lib/Bundle Apache2.pm Log: add Apache::Bundle2 Revision ChangesPath 1.1 modperl-2.0/lib/Bundle/Apache2.pm Index: Apache2.pm === package Bundle::Apache2; $VERSION = '1.00'; 1; __END__ =head1 NAME Bundle::Apache2 - Install Apache mod_perl2 and related modules =head1 SYNOPSIS Cperl -MCPAN -e 'install Bundle::Apache2' =head1 CONTENTS LWP - Used in testing Chatbot::Eliza- Used in testing Devel::Symdump- Symbol table browsing with Apache::Status CGI - Used in testing (it's in core, but some vendors exclude it) =head1 DESCRIPTION This bundle contains modules used by Apache mod_perl2. Asking CPAN.pm to install a bundle means to install the bundle itself along with all the modules contained in the CONTENTS section above. Modules that are up to date are not installed, of course. =head1 AUTHOR Doug MacEachern, Stas Bekman 1.127 +2 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.126 retrieving revision 1.127 diff -u -r1.126 -r1.127 --- Changes 17 Feb 2003 09:39:54 - 1.126 +++ Changes 19 Feb 2003 00:32:45 - 1.127 @@ -10,6 +10,8 @@ =item 1.99_09-dev +add Apache::Bundle2 [Stas] + Apache::Reload now supports the PerlPreConnectionHandler invocation mode, so connection filter and protocol modules can be automatically reloaded on change. [Stas]
Re: cvs commit: modperl-2.0 Changes
+package Apache::Connection; + +# auth_type and user records don't exist in 2.0 conn_rec struct +# 'PerlOptions +GlobalRequest' is required +sub auth_type { Apache-request-auth_type } +sub user { Apache-request-user } + 1; __END__ I think this may need a bit more thought (or at least more explanation). in 1.0 there is both $r-auth_type and $c-auth_type, and they have different meanings. $r-auth_type represents the AuthType from the config (via r-per_dir_config). when you get $r-auth_type, you're asking what kind of authentication is configured for the request. $c-auth_type is populated by authen handlers, after the user has been authenticated, with whatever authentication method was used. I'm not sure about the history of this, but I suppose in theory it is possible for a client to request Digest auth, but the server fall back to Basic. at any rate, I don't know how the current 2.0 or 2.1 aaa stuff handles this difference, if at all, but we (well, I :) need to be clear on how that works before agreeing that $r-connection-auth_type in Apache::Compat is the same as $r-auth_type. --Geoff
cvs commit: modperl-2.0 Changes
stas2003/02/12 15:42:23 Modified:lib/Apache compat.pm .Changes Added: t/compat conn_authen.t t/response/TestCompat conn_authen.pm Log: Add Apache::compat methods: $r-connection-auth_type and $r-connection-user (requires 'PerlOptions +GlobalRequest') + tests Revision ChangesPath 1.1 modperl-2.0/t/compat/conn_authen.t Index: conn_authen.t === use strict; use warnings FATAL = 'all'; use Apache::Test; use Apache::TestRequest; plan tests = 1, \have_lwp; my $location = /TestCompat::conn_authen; ok GET_OK $location, username = 'dougm', password = 'foo'; 1.1 modperl-2.0/t/response/TestCompat/conn_authen.pm Index: conn_authen.pm === package TestCompat::conn_authen; # simply check that we can retrieve: # $r-connection-auth_type # $r-connection-user # both records don't exist in 2.0 conn_rec and therefore require # 'PerlOptions +GlobalRequest' to retrieve those via Apache-request use strict; use warnings FATAL = 'all'; use Apache::TestUtil; use Apache::Test; use Apache::compat (); use Apache::Constants qw(OK REMOTE_HOST); sub handler { my $r = shift; my($rc, $sent_pw) = $r-get_basic_auth_pw; return $rc if $rc != Apache::OK; my $auth_type = $r-connection-auth_type || ''; die auth_type is '$auth_type', should be 'Basic' unless $auth_type eq 'Basic'; my $user = $r-connection-user || ''; die user is '$user', while expecting 'dougm' unless $user eq 'dougm'; OK; } 1; __DATA__ require valid-user AuthType Basic AuthName simple SetHandler modperl PerlOptions +GlobalRequest PerlAuthenHandler TestCompat::conn_authen PerlResponseHandler Apache::TestHandler::ok1 1.77 +7 -0 modperl-2.0/lib/Apache/compat.pm Index: compat.pm === RCS file: /home/cvs/modperl-2.0/lib/Apache/compat.pm,v retrieving revision 1.76 retrieving revision 1.77 diff -u -r1.76 -r1.77 --- compat.pm 31 Jan 2003 04:37:06 - 1.76 +++ compat.pm 12 Feb 2003 23:42:23 - 1.77 @@ -530,5 +530,12 @@ return Apache::DECLINED; } +package Apache::Connection; + +# auth_type and user records don't exist in 2.0 conn_rec struct +# 'PerlOptions +GlobalRequest' is required +sub auth_type { Apache-request-auth_type } +sub user { Apache-request-user } + 1; __END__ 1.124 +4 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.123 retrieving revision 1.124 diff -u -r1.123 -r1.124 --- Changes 7 Feb 2003 02:58:30 - 1.123 +++ Changes 12 Feb 2003 23:42:23 - 1.124 @@ -10,6 +10,10 @@ =item 1.99_09-dev +Add Apache::compat methods: $r-connection-auth_type and +$r-connection-user (requires 'PerlOptions +GlobalRequest') + tests +[Stas] + Several issues resolved with parsing headers, including making work the handlers calling $r-content_type() and not sending raw headers, when the headers scanning is turned on. Lots of tests added to
cvs commit: modperl-2.0 Changes
stas2003/02/06 18:58:30 Modified:.Changes Log: log the recent changes Revision ChangesPath 1.123 +5 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.122 retrieving revision 1.123 diff -u -r1.122 -r1.123 --- Changes 5 Feb 2003 04:06:27 - 1.122 +++ Changes 7 Feb 2003 02:58:30 - 1.123 @@ -10,6 +10,11 @@ =item 1.99_09-dev +Several issues resolved with parsing headers, including making work +the handlers calling $r-content_type() and not sending raw headers, +when the headers scanning is turned on. Lots of tests added to +exercise different situations. [Stas] + warn on using -T in ModPerl::Registry scripts when mod_perl is not running with -T [Stas]
cvs commit: modperl-2.0 Changes
stas2003/01/21 23:02:14 Modified:.Changes Log: log the recent changes Revision ChangesPath 1.109 +5 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.108 retrieving revision 1.109 diff -u -r1.108 -r1.109 --- Changes 22 Jan 2003 06:12:42 - 1.108 +++ Changes 22 Jan 2003 07:02:14 - 1.109 @@ -10,6 +10,11 @@ =item 1.99_09-dev +Apache::Test: support two new shortcuts for skip functionality: + - have_threads: checks whether both Apache and Perl support threads + - under_construction: to print a consistent/clear skip reason +[Stas] + OPEN, CLOSE and FILENO implementation for Apache::RequestRec [Stas] Apache::Test: Support NoAutoConfig /NoAutoConfig blocks in .pm
cvs commit: modperl-2.0 Changes
stas2003/01/17 17:59:22 Modified:ModPerl-Registry/lib/ModPerl RegistryCooker.pm .Changes Log: Another fix for the handling of the return status in ModPerl::RegistryCooker: reset the status to the original one only if it was changed by the script, otherwise return the execution status Revision ChangesPath 1.28 +6 -2 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.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- RegistryCooker.pm 6 Jan 2003 10:42:38 - 1.27 +++ RegistryCooker.pm 18 Jan 2003 01:59:21 - 1.28 @@ -163,9 +163,13 @@ # handlers shouldn't set $r-status but return it my $old_status = $self-[REQ]-status; my $rc = $self-run; -$self-[REQ]-status($old_status); +my $new_status = $self-[REQ]-status; -return ($rc != Apache::OK) ? $rc : $self-[STATUS]; +# only if the script has changed the status, reset to the old +# status and return the new status +return $old_status != $new_status +? $self-[REQ]-status($old_status) +: $rc; } # 1.105 +5 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.104 retrieving revision 1.105 diff -u -r1.104 -r1.105 --- Changes 17 Jan 2003 03:23:24 - 1.104 +++ Changes 18 Jan 2003 01:59:22 - 1.105 @@ -10,6 +10,11 @@ =item 1.99_09-dev +Another fix for the handling of the return status in +ModPerl::RegistryCooker: reset the status to the original one only if +it was changed by the script, otherwise return the execution status +[Stas] + prevent segfault in $r-print / $filter-print (in output filter) and related functions when they are called before the response phase [Stas]
cvs commit: modperl-2.0 Changes
stas2003/01/15 18:38:09 Modified:.Changes Log: log the recent changes Revision ChangesPath 1.101 +14 -2 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.100 retrieving revision 1.101 diff -u -r1.100 -r1.101 --- Changes 14 Jan 2003 06:42:44 - 1.100 +++ Changes 16 Jan 2003 02:38:09 - 1.101 @@ -10,9 +10,21 @@ =item 1.99_09-dev -prevent a segfault when push_handlers are used to push a handler into -the currently phase and switching the handler (perl-script/modperl) +input stream filtering support was added + tests (plus renaming filter +tests so we can know from the test name what kind of filter is tested) [Stas] + +Add proper support for mis-behaved feeding filters that send more than +one EOS bucket in streaming filters + test. [Stas] + +implement a more robust autogenerated client .t test in +Apache::TestConfigPerl. Before this fix if the server side returned +500, the test would get skipped, not good. Now it will die a horrible +death. [Stas] + +prevent a segfault when push_handlers are used to push a handler into +the currently phase and switching the handler (perl-script/modperl) + +tests [Stas] Add $filter-seen_eos to the streaming filter api to know when eos has been seen, so special signatures can be passed and any data stored in
cvs commit: modperl-2.0 Changes
stas2002/12/31 19:48:20 Modified:.Changes Log: log the recent change Revision ChangesPath 1.92 +2 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.91 retrieving revision 1.92 diff -u -r1.91 -r1.92 --- Changes 1 Jan 2003 03:45:54 - 1.91 +++ Changes 1 Jan 2003 03:48:20 - 1.92 @@ -10,6 +10,8 @@ =item 1.99_08-dev +Add PerlPreConnectionHandler support in Apache::Test [Stas] + Enable PerlPreConnectionHandler [Stas] Support the Host: request header in Apache::TestClient [Stas]
cvs commit: modperl-2.0 Changes
stas2002/12/29 02:11:49 Modified:ModPerl-Registry TODO .Changes Log: document recent changes Revision ChangesPath 1.11 +0 -2 modperl-2.0/ModPerl-Registry/TODO Index: TODO === RCS file: /home/cvs/modperl-2.0/ModPerl-Registry/TODO,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- TODO 26 Nov 2002 07:47:26 - 1.10 +++ TODO 29 Dec 2002 10:11:49 - 1.11 @@ -25,8 +25,6 @@ - $Apache::Server::CWD doesn't exist -- NameWithVirtualHost is not handled - - need to figure out what's happening with ModPerl::Registry::MarkLine, why it's not on by default? 1.89 +9 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.88 retrieving revision 1.89 diff -u -r1.88 -r1.89 --- Changes 21 Dec 2002 03:46:07 - 1.88 +++ Changes 29 Dec 2002 10:11:49 - 1.89 @@ -10,6 +10,15 @@ =item 1.99_08-dev +restore the ModPerl::RegistryLoader::new() method for backwards +compatibility [Stas] + +port the support for NameWithVirtualHost in ModPerl::RegistryCooker +and ModPerl::RegistryLoader [Stas] + +fix the handling of the return status in ModPerl::RegistryCooker, add +a test to verify that [Stas] + under non-threaded perl need to check whether mod_perl is running, when modperl_vhost_is_running check is done. [Stas]
cvs commit: modperl-2.0 Changes
stas2002/12/20 18:26:02 Modified:src/modules/perl modperl_cmd.c .Changes Log: revert the last change, the file/linenumber of the error are already reported by httpd Revision ChangesPath 1.36 +2 -5 modperl-2.0/src/modules/perl/modperl_cmd.c Index: modperl_cmd.c === RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_cmd.c,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- modperl_cmd.c 20 Dec 2002 07:23:00 - 1.35 +++ modperl_cmd.c 21 Dec 2002 02:26:02 - 1.36 @@ -8,11 +8,8 @@ static char *modperl_cmd_too_late(cmd_parms *parms) { -return apr_psprintf(parms-pool, -mod_perl is already running, too late for %s (%s:%d), -parms-cmd-name, -parms-directive-filename, -parms-directive-line_num); +return apr_pstrcat(parms-pool, mod_perl is already running, + too late for , parms-cmd-name, NULL); } char *modperl_cmd_push_handlers(MpAV **handlers, const char *name, 1.87 +0 -3 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.86 retrieving revision 1.87 diff -u -r1.86 -r1.87 --- Changes 20 Dec 2002 07:23:00 - 1.86 +++ Changes 21 Dec 2002 02:26:02 - 1.87 @@ -10,9 +10,6 @@ =item 1.99_08-dev -when reporting too late for something, print the config file and the -line number [Stas] - fix $r-read to read all the requested amount of data if possible, adjust the test TestApache::read to verify that [Stas]
cvs commit: modperl-2.0 Changes
stas2002/12/20 19:46:07 Modified:src/modules/perl modperl_cmd.c .Changes Log: under non-threaded perl need to check whether mod_perl is running, when modperl_vhost_is_running check is done. Revision ChangesPath 1.37 +1 -1 modperl-2.0/src/modules/perl/modperl_cmd.c Index: modperl_cmd.c === RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_cmd.c,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- modperl_cmd.c 21 Dec 2002 02:26:02 - 1.36 +++ modperl_cmd.c 21 Dec 2002 03:46:07 - 1.37 @@ -61,7 +61,7 @@ return FALSE; } #else -return TRUE; +return modperl_is_running(); #endif } 1.88 +3 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.87 retrieving revision 1.88 diff -u -r1.87 -r1.88 --- Changes 21 Dec 2002 02:26:02 - 1.87 +++ Changes 21 Dec 2002 03:46:07 - 1.88 @@ -10,6 +10,9 @@ =item 1.99_08-dev +under non-threaded perl need to check whether mod_perl is running, +when modperl_vhost_is_running check is done. [Stas] + fix $r-read to read all the requested amount of data if possible, adjust the test TestApache::read to verify that [Stas]
cvs commit: modperl-2.0 Changes
stas2002/12/19 23:23:00 Modified:src/modules/perl modperl_cmd.c .Changes Log: when reporting too late for something, print the config file and the line number Revision ChangesPath 1.35 +5 -2 modperl-2.0/src/modules/perl/modperl_cmd.c Index: modperl_cmd.c === RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_cmd.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- modperl_cmd.c 12 Dec 2002 11:45:26 - 1.34 +++ modperl_cmd.c 20 Dec 2002 07:23:00 - 1.35 @@ -8,8 +8,11 @@ static char *modperl_cmd_too_late(cmd_parms *parms) { -return apr_pstrcat(parms-pool, mod_perl is already running, - too late for , parms-cmd-name, NULL); +return apr_psprintf(parms-pool, +mod_perl is already running, too late for %s (%s:%d), +parms-cmd-name, +parms-directive-filename, +parms-directive-line_num); } char *modperl_cmd_push_handlers(MpAV **handlers, const char *name, 1.86 +3 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.85 retrieving revision 1.86 diff -u -r1.85 -r1.86 --- Changes 17 Dec 2002 07:15:46 - 1.85 +++ Changes 20 Dec 2002 07:23:00 - 1.86 @@ -10,6 +10,9 @@ =item 1.99_08-dev +when reporting too late for something, print the config file and the +line number [Stas] + fix $r-read to read all the requested amount of data if possible, adjust the test TestApache::read to verify that [Stas]
cvs commit: modperl-2.0 Changes
stas2002/12/14 23:43:40 Modified:t/filter reverse.t .Changes Log: Adjust the reverse filter test to work on win32 (remove trailing \r) Submitted by: Randy Kobes [EMAIL PROTECTED] Reviewed by: stas Revision ChangesPath 1.4 +1 -0 modperl-2.0/t/filter/reverse.t Index: reverse.t === RCS file: /home/cvs/modperl-2.0/t/filter/reverse.t,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- reverse.t 25 Nov 2002 22:46:28 - 1.3 +++ reverse.t 15 Dec 2002 07:43:40 - 1.4 @@ -25,5 +25,6 @@ # test the filtering of the non-mod_perl response handler (file) my $location = '/filter/reverse.txt'; my $response = GET_BODY $location; +$response =~ s/\r//g; ok t_cmp($expected, $response, reverse filter); } 1.83 +3 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.82 retrieving revision 1.83 diff -u -r1.82 -r1.83 --- Changes 15 Dec 2002 04:03:43 - 1.82 +++ Changes 15 Dec 2002 07:43:40 - 1.83 @@ -10,6 +10,9 @@ =item 1.99_08-dev +Adjust the reverse filter test to work on win32 (remove trailing \r) +[Randy Kobes [EMAIL PROTECTED]] + Strongly suggest win32 users to upgrade to 5.8.0, if they run 5.6.x [Randy Kobes [EMAIL PROTECTED]]
cvs commit: modperl-2.0 Changes
stas2002/12/06 04:40:06 Modified:lib/Apache compat.pm .Changes Log: add backcompat value of $Apache::Server::CWD Revision ChangesPath 1.73 +4 -0 modperl-2.0/lib/Apache/compat.pm Index: compat.pm === RCS file: /home/cvs/modperl-2.0/lib/Apache/compat.pm,v retrieving revision 1.72 retrieving revision 1.73 diff -u -r1.72 -r1.73 --- compat.pm 4 Dec 2002 02:27:54 - 1.72 +++ compat.pm 6 Dec 2002 12:40:05 - 1.73 @@ -63,6 +63,10 @@ $r; } +package Apache::Server; +# XXX: is that good enough? see modperl/src/modules/perl/mod_perl.c:367 +our $CWD = Apache-server_root_relative(); + package Apache; sub exit { 1.77 +2 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.76 retrieving revision 1.77 diff -u -r1.76 -r1.77 --- Changes 6 Dec 2002 04:22:30 - 1.76 +++ Changes 6 Dec 2002 12:40:06 - 1.77 @@ -10,6 +10,8 @@ =item 1.99_08-dev +add backcompat value of $Apache::Server::CWD [Stas Bekman] + env var MOD_PERL_TRACE is working again [Stas Bekman] add a new test TestDirective::perlloadmodule2, which performs a more
cvs commit: modperl-2.0 Changes
stas2002/12/06 05:09:15 Modified:todo deprecated_features.txt lib/Apache compat.pm .Changes Log: add backcompat var $Apache::Server::AddPerlVersion Revision ChangesPath 1.7 +0 -2 modperl-2.0/todo/deprecated_features.txt Index: deprecated_features.txt === RCS file: /home/cvs/modperl-2.0/todo/deprecated_features.txt,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- deprecated_features.txt 4 Jun 2002 08:43:51 - 1.6 +++ deprecated_features.txt 6 Dec 2002 13:09:15 - 1.7 @@ -14,8 +14,6 @@ - $Apache::Server::Starting, $Apache::Server::ReStarting -- $Apache::Server::AddVersion, $Apache::Server::CWD - - modules: + Apache::SIG: dead + Apache::StatINC: replace with or point to Apache::Reload 1.74 +2 -0 modperl-2.0/lib/Apache/compat.pm Index: compat.pm === RCS file: /home/cvs/modperl-2.0/lib/Apache/compat.pm,v retrieving revision 1.73 retrieving revision 1.74 diff -u -r1.73 -r1.74 --- compat.pm 6 Dec 2002 12:40:05 - 1.73 +++ compat.pm 6 Dec 2002 13:09:15 - 1.74 @@ -67,6 +67,8 @@ # XXX: is that good enough? see modperl/src/modules/perl/mod_perl.c:367 our $CWD = Apache-server_root_relative(); +our $AddPerlVersion = 1; + package Apache; sub exit { 1.78 +2 -1 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.77 retrieving revision 1.78 diff -u -r1.77 -r1.78 --- Changes 6 Dec 2002 12:40:06 - 1.77 +++ Changes 6 Dec 2002 13:09:15 - 1.78 @@ -10,7 +10,8 @@ =item 1.99_08-dev -add backcompat value of $Apache::Server::CWD [Stas Bekman] +add backcompat vars: $Apache::Server::CWD and +$Apache::Server::AddPerlVersion [Stas Bekman] env var MOD_PERL_TRACE is working again [Stas Bekman]
cvs commit: modperl-2.0 Changes
stas2002/11/25 19:48:42 Modified:xs/APR/PerlIO apr_perlio.h .Changes Log: define IoTYPE_RDONLY/IoTYPE_WRONLY for perl-5.6.0 so the project compiles again under 5.6.0 Revision ChangesPath 1.4 +8 -0 modperl-2.0/xs/APR/PerlIO/apr_perlio.h Index: apr_perlio.h === RCS file: /home/cvs/modperl-2.0/xs/APR/PerlIO/apr_perlio.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- apr_perlio.h 21 Jun 2002 15:28:43 - 1.3 +++ apr_perlio.h 26 Nov 2002 03:48:42 - 1.4 @@ -15,6 +15,14 @@ #include apr_optional.h #endif +/* 5.6.0 */ +#ifndef IoTYPE_RDONLY +#define IoTYPE_RDONLY '' +#endif +#ifndef IoTYPE_WRONLY +#define IoTYPE_WRONLY '' +#endif + typedef enum { APR_PERLIO_HOOK_READ, APR_PERLIO_HOOK_WRITE 1.64 +3 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.63 retrieving revision 1.64 diff -u -r1.63 -r1.64 --- Changes 25 Nov 2002 22:46:29 - 1.63 +++ Changes 26 Nov 2002 03:48:42 - 1.64 @@ -10,6 +10,9 @@ =item 1.99_08-dev +define IoTYPE_RDONLY/IoTYPE_WRONLY for perl-5.6.0 so the project +compiles again under 5.6.0 [Stas Bekman] + Allow output streaming filters to append data to the end of the stream [Stas Bekman]
cvs commit: modperl-2.0 Changes
dougm 2002/09/27 08:11:21 Modified:.Changes Log: 1.99_06 release Revision ChangesPath 1.46 +1 -1 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- Changes 16 Sep 2002 19:14:16 - 1.45 +++ Changes 27 Sep 2002 15:11:21 - 1.46 @@ -8,7 +8,7 @@ =over 3 -=item 1.99_06-dev +=item 1.99_06 - September 25, 2002 add support for pod directives (=pod,=back,=cut) and __END__ directive [Philippe M. Chiasson [EMAIL PROTECTED]]
cvs commit: modperl-2.0 Changes STATUS
dougm 2002/09/04 18:50:45 Modified:.Changes STATUS Log: update Revision ChangesPath 1.43 +4 -1 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- Changes 29 Aug 2002 02:28:44 - 1.42 +++ Changes 5 Sep 2002 01:50:45 - 1.43 -10,13 +10,16 =item 1.99_06-dev +add $r-add_config method to add dynamic configuration at request time + add Apache::DIR_MAGIC_TYPE constant add support for directive handlers fix source_scan to run with current httpd/apr -add Apache::Directive-insert method to add dynamic configuration +add Apache::Server-add_config method to add dynamic configuration at +server startup time add Apache::Directive-to_string method 1.11 +2 -2 modperl-2.0/STATUS Index: STATUS === RCS file: /home/cvs/modperl-2.0/STATUS,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- STATUS4 Sep 2002 18:02:51 - 1.10 +++ STATUS5 Sep 2002 01:50:45 - 1.11 -57,7 +57,7 * pluggable Perl sections have been implemented but need a default handler to actually convert the Perl code into apache config -* Apache-httpd_conf compat method mapping to Apache::Directive-insert +* Apache-httpd_conf compat method mapping to Apache::Server-add_config * directive handlers are supported but need some work for 1.x compat - Apache::ModuleConfig-get needs a compat method mapping to
cvs commit: modperl-2.0 Changes
dougm 2002/08/19 13:02:24 Modified:.Changes Log: updates from post-_04 changes Revision ChangesPath 1.34 +7 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- Changes 16 Aug 2002 10:22:39 - 1.33 +++ Changes 19 Aug 2002 20:02:24 - 1.34 -40,6 +40,13 apr_table_t is now an opaque type, use apr_table_elts() to get the array record [Stas Bekman] +add support for redirects with PerlOptions +ParseHeaders + +backport to 2.0.35 + +adjust to filter register api change + +added APR::ThreadMutex module =item 1.99_04 - June 21, 2002
cvs commit: modperl-2.0 Changes
stas2002/08/15 02:48:53 Modified:.Changes Log: document recent changes Revision ChangesPath 1.31 +14 -2 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- Changes 31 Jul 2002 16:32:40 - 1.30 +++ Changes 15 Aug 2002 09:48:53 - 1.31 @@ -10,9 +10,21 @@ =item 1.99_05-dev -=item 1.99_04 - June 21, 2002 +compat tests were split into groups by functionality. [Stas Bekman] + +added $c-get_remote_host and a compat wrapper $r-get_remote_host + +tests [Stas Bekman] + +adjust the build system to support mod_perl build from the source +tree. [Stas Bekman] -added $r-get_remote_host to compat.pm + test [Stas Bekman] +ModPerl::RegistryCooker syncs with mod_perl 1.0's registry: + - prototypes defined checks in flush_namespace +[Yair Lenga [EMAIL PROTECTED]] + - set error-notes on error [Geoff Young [EMAIL PROTECTED]] + + +=item 1.99_04 - June 21, 2002 various APR PerlIO updates [Stas Bekman]
cvs commit: modperl-2.0 Changes
stas2002/08/15 08:25:04 Modified:.Changes Log: document recent changes Revision ChangesPath 1.32 +7 -1 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- Changes 15 Aug 2002 09:48:53 - 1.31 +++ Changes 15 Aug 2002 15:25:04 - 1.32 @@ -10,7 +10,12 @@ =item 1.99_05-dev -compat tests were split into groups by functionality. [Stas Bekman] +core Registry packages all compile the scripts into +ModPerl::RegistryROOT:: namespace and cache them in +%ModPerl::RegistryCache. Both overridable by the sub-classes. [Stas Bekman] + +compat tests were split into groups by functionality, send_fd test +moved to compat. [Stas Bekman] added $c-get_remote_host and a compat wrapper $r-get_remote_host + tests [Stas Bekman] @@ -22,6 +27,7 @@ - prototypes defined checks in flush_namespace [Yair Lenga [EMAIL PROTECTED]] - set error-notes on error [Geoff Young [EMAIL PROTECTED]] + - preserve status in Registry scripts [Geoff Young [EMAIL PROTECTED]] =item 1.99_04 - June 21, 2002
cvs commit: modperl-2.0 Changes
dougm 2002/06/21 09:39:44 Modified:.Changes Log: update Changes Revision ChangesPath 1.27 +10 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- Changes 17 Jun 2002 20:00:44 - 1.26 +++ Changes 21 Jun 2002 16:39:44 - 1.27 -10,6 +10,16 =item 1.99_04-dev +various APR PerlIO updates [Stas Bekman] + +stop using an apr_pool_t to allocate items for the interpreter pool, +safer for threaded MPMs and prevents leaks when interpreters are +removed from due to PerlInterpMax{Requests,Spare} + +implement modperl_sys_dlclose() to avoid apr/pool overhead/thread issues + +get the -DPERL_CORE optimization working again + PERL_SET_CONTEXT to the parent interpreter when cloning interpreters at request time, else dTHX might be NULL during clone in the given thread, which would crash the server.
cvs commit: modperl-2.0 Changes
dougm 2002/06/15 16:56:20 Modified:.Changes Log: _03 release Revision ChangesPath 1.24 +1 -1 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- Changes 15 Jun 2002 02:09:26 - 1.23 +++ Changes 15 Jun 2002 23:56:20 - 1.24 -8,7 +8,7 =over 3 -=item 1.99_03-dev +=item 1.99_03 - June 15, 2002 win32 fix for the global Apache-request object to make sure it uses the thread local storage mechanism
cvs commit: modperl-2.0 Changes
dougm 2002/06/14 19:09:26 Modified:.Changes Log: update Changes Revision ChangesPath 1.23 +3 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- Changes 13 Jun 2002 02:59:05 - 1.22 +++ Changes 15 Jun 2002 02:09:26 - 1.23 -10,6 +10,9 =item 1.99_03-dev +win32 fix for the global Apache-request object to make sure it uses +the thread local storage mechanism + add a reference count mechanism to interpreters for use in threaded MPMs, so if APR::Pool cleanups have been registered the interpreter is not putback into the interpreter pool until all cleanups have run.
cvs commit: modperl-2.0 Changes
dougm 2002/06/12 16:37:55 Modified:.Changes Log: update Changes Revision ChangesPath 1.21 +6 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- Changes 5 Jun 2002 01:36:37 - 1.20 +++ Changes 12 Jun 2002 23:37:55 - 1.21 @@ -10,6 +10,12 @@ =item 1.99_03-dev +unbuffer STDERR (by turning on autoflush by default) + +add support for Perl*Handler +Apache::Foo + +fix open_logs,post_config,child_init hooks to run in the proper order + adjust to apr_bucket_type_t changes in 2.0.37-dev [Mladen Turk [EMAIL PROTECTED]]
cvs commit: modperl-2.0 Changes
ask 2002/06/04 05:43:41 Modified:.Changes Log: slightly more useful documentation changes. I should subscribe to the docs-cvs list so I will see commits there, huh? :-) Revision ChangesPath 1.19 +5 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- Changes 4 Jun 2002 12:40:53 - 1.18 +++ Changes 4 Jun 2002 12:43:41 - 1.19 -10,7 +10,12 =item 1.99_03-dev +add MODPERL2 config define, as if the server had been started with -DMODPERL2 + +compat additions and fixes: $r-lookup_{file,uri}, $r-is_main, Apache-define + added compat for Apache::log_error [Stas Bekman] + =item 1.99_02 - June 1, 2002
cvs commit: modperl-2.0 Changes
dougm 2002/06/01 20:20:35 Modified:.Changes Log: update Changes Revision ChangesPath 1.15 +12 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- Changes 29 May 2002 16:31:44 - 1.14 +++ Changes 2 Jun 2002 03:20:35 - 1.15 @@ -10,6 +10,18 @@ =item 1.99_02-dev +pass the PATH and TZ environment variables at startup by default as 1.xx did + +fix ModPerl::Util::exit segv with 5.6.0 + +no longer support 5.7.x perl development versions + +added compat for Apache::Table-new + +various fixes to compile/run on darwin + +server-scope Perl{Set,Pass}Env config now propagated to %ENV at startup + use SvOK(sv) instead of sv == PL_sv_undef to detect undef values in xs [Stephen Clouse [EMAIL PROTECTED]]
cvs commit: modperl-2.0 Changes
dougm 2002/06/01 20:21:43 Modified:.Changes Log: releasing 1.99_02 Revision ChangesPath 1.16 +1 -1 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- Changes 2 Jun 2002 03:20:35 - 1.15 +++ Changes 2 Jun 2002 03:21:43 - 1.16 -8,7 +8,7 =over 3 -=item 1.99_02-dev +=item 1.99_02 - June 1, 2002 pass the PATH and TZ environment variables at startup by default as 1.xx did
cvs commit: modperl-2.0 Changes
dougm 02/05/23 19:47:01 Modified:.Changes Log: update Changes Revision ChangesPath 1.12 +32 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- Changes 19 May 2002 11:41:53 - 1.11 +++ Changes 24 May 2002 02:47:01 - 1.12 @@ -10,7 +10,39 @@ =item 1.99_02-dev +added Apache::MPM_IS_THREADED constant + +added compat function for Apache::Constants::SERVER_VERSION + +added Apache::Constants::export stub for compat + +added noop stubs for timeout functions removed from 2.0: +$r-{soft,hard,reset,kill}_timeout + +turned on PerlOptions +GlobalRequest by default for perl-script handler +unless it is explicitly turned off with PerlOptions -GlobalRequest + +added APR::OS::thread_current function + +added support for 1.x $r-subprocess_env functionality + +added support for $r-push_handlers(PerlHandler = ...) + +added support for $r-proxyreq to detect proxy requests + +$r-content_type($val) now calls ap_set_content_type underneath + add the err_header_out() wrapper to Apache::compat + corresponding tests +[Stas Bekman] + +fix $r-dir_config lookup of values set in the server context + +added Apache::REDIRECT shortcut constant + +various fixes for method handlers + +use Apache::ServerUtil in Apache::compat so Apache-server works in compat +mode [Dave Rolsky [EMAIL PROTECTED]] add Apache::Util::unescape_uri alias to Apache::unescape_url in Apache::compat
cvs commit: modperl-2.0 Changes
dougm 02/04/08 19:59:19 Modified:src/modules/perl modperl_util.c .Changes Log: fix ModPerl::Util::exit to clear $ before calling Perl_croak Revision ChangesPath 1.38 +1 -0 modperl-2.0/src/modules/perl/modperl_util.c Index: modperl_util.c === RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_util.c,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- modperl_util.c29 Jan 2002 09:50:39 - 1.37 +++ modperl_util.c9 Apr 2002 02:59:19 - 1.38 -517,6 +517,7 ENTER; SAVESPTR(PL_diehook); PL_diehook = Nullsv; +sv_setpv(ERRSV, ); Perl_croak(aTHX_ NULL); } 1.7 +2 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- Changes 9 Apr 2002 01:00:51 - 1.6 +++ Changes 9 Apr 2002 02:59:19 - 1.7 -1,5 +1,7 =item 1.99_02-dev +fix ModPerl::Util::exit to clear $ before calling Perl_croak [dougm] + fix 'PerlOptions +GlobalRequest' when used within subrequests [dougm] get rid of some subroutine redefined warnings in ModPerl::MM that
cvs commit: modperl-2.0 Changes
dougm 02/04/06 20:39:10 Modified:.Changes Log: here goes nuthin Revision ChangesPath 1.2 +3 -1 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Changes 13 Apr 2000 07:03:35 - 1.1 +++ Changes 7 Apr 2002 04:39:09 - 1.2 -1 +1,3 -=item 1.99_01-dev \ No newline at end of file +=item 1.99_01 - April 6, 2002 + +First public release of mod_perl-2.0-tobe.