Parent Directory
|
Revision Log
| Links to HEAD: | (view) (annotate) |
| Sticky Revision: |
Remove some whitespace from generated Makefile, it's breaking nmake on Win32. Reviewed-by: gozer Submtted-by: Randy Kobes <randy@theoryx5.uwinnipeg.ca> Message-ID: Pine.LNX.4.64.0704011922080.18576@theoryx5.uwinnipeg.ca
Get rid of a very old broken piece of Makefile.PL code that post processes PERL_EXTRA_CLFAGS, effectively doing s/,/ /g. That's breaking CFLAGS with valid ',' in their values, like -Wl,foo.
Add /D _WINSOCK2API_ for perl < 5.8.6 on Win32.
pulled the seperate A-SL back out and restored lib/Apache/SizeLimit.pm@177851 (will restore this after the 1.30 security release)
Since no releases have been made in a while, there was some tidying up needed. Copied over and adapeted the RELEASE instructions from the 2.x branch as well.
well this seems to work. Sadlly, the existing mod_perl 1.x framework seems to orphan the httpd process after make test BEFORE Apache-Test gets a chance to startup for Apache-SizeLimit. Any ideas welcome....
put some space between the test suites and tabify the Makefile syntax correctly
hook in the Apache-SizeLimit tests [Still need to pass -httpd to its Makefile.PL earlier in the process]
sadly my editor was setup to insert spaces and not tabs so this time its an actual tab and not 4 spaces
left justify the makefile targets and tab indent the cmds There must be a better way....
vain attempt at our style guidlines no functional changes.
fix the tag target for SVN
move modperl 1.x trunk to a branches/1.x
for some reason .pm files during the modperl build see $ENV{PERL5LIB}
set in Makefile.PL, which is used for generating Makefiles, as
"PERL5LIB=/path:/another/path" instead of "/path:/another/path"
essentially rendering this env var useless. I'm not sure why, may be
MakeMaker kicks in somewhere. Trying to workaround by
s/PERL5LIB/PERL5LIB_ENV/, using anything that's not PERL5LIB.
PR:
Obtained from:
Submitted by:
Reviewed by:
Submitted by: Steve Hay Reviewed by: randyk Fix a bug in Makefile.PL where it would, under certain circumstances, pick up the wrong Perl include directory.
Reviewed by: stas Add an INSTALL_LIB attribute to Makefile.PL for Win32 to specify where to install mod_perl.lib [suggested by STeve Hay]
On Win32, use Win32::GetShortPathName() on paths containing spaces.
For Win32, - copy mod_perl.lib into Apache/libexec directory, if it exists - keep drive letter in dsp (fixes bug reported by DH <crazyinsomniac@yahoo.com>)
For Win32, use a default of APACHE_SRC/modules to install mod_perl.so, if this directory exists and if INSTALL_DLL is not provided. Update the INSTALL.win32 documentation accordingly, and also add some discussion of the limitations of mod_perl 1 on Win32.
t/TEST is now autogenerated, getting the right #!perl PR: Obtained from: Submitted by: Reviewed by:
s/Apache::(OK|DECLINED)/Apache::Constants::$1/g PR: Obtained from: Submitted by: Reviewed by:
Should never have happened, sorry. "gozer" ne "dougm"
bin/prep
Reviewed by: stas remove commented-out lines from previous commits.
Reviewed by: stas Use Perl's touch(), in case a system touch() isn't available.
Reviewed by: stas Enable PERL_SECTIONS for Win32
Reviewed by: stas Enable PERL_DIRECTIVE_HANLDERS for Win32
use $Config{'installstyle'} instead of hardcoded 'lib', to handle
Makefile.PL's PREFIX option correctly
PR:
Obtained from:
Submitted by: Philippe M. Chiasson <gozer@cpan.org>
Reviewed by: stas
PR: Obtained from: Submitted by: Per Einar Ellefsen <per.einar@skynet.be> Reviewed by: dougm various cygwin fixes
PR:
Obtained from:
Submitted by:
Reviewed by:
workaround bug in 5.8.0-RC1 where Cwd::cwd creates $ENV{IFS}
which makes apache configure fall apart on solaris
PR: Obtained from: Submitted by: Randy Kobes <randy@theoryx5.uwinnipeg.ca> Reviewed by: dougm fix Win32 build problems with spaces in shell arguments
autoset PERL_USELARGEFILES=0 if needed
on hpux with bleedperl $Config{ld} is the fullpath, strip to the basename
PR: Obtained from: Submitted by: stas Reviewed by: dougm rip -D_GNU_SOURCE out of Perl 5.7.3+'s ccflags, which modperl doesn't need and apache won't compile with
workaround Apache::Constants::AUTOLOAD problem with bleedperl
the first flag argument to perl cannot start with space, since perl tries to open the " -spi.bak" as a file. fix that in the win32 case. PR: Obtained from: Submitted by: Reviewed by:
warn if Perl is configured with -Duseshrplib and a libperl.so is found in a place where it should not be, example: /lib /usr/lib or /usr/local/lib PR: Obtained from: Submitted by: Reviewed by:
s|perl.apache.org:/home/cvs|cvs.apache.org:/home/cvs|
minor cosmetic
fixes for building with 5.004
more for the latest win32 patch from randy
enabled Apache::ModuleConfig on win32 win32 support for Apache::src PR: Obtained from: Submitted by: Reviewed by:
make sure Apache::ExtUtils can be found when building inside of the apache source tree PR: Obtained from: Submitted by: Reviewed by:
addition to the latest win32 fix
win32 enhancement: APACHE_SRC can be either the build or install tree
remove dead code for PERL_STARTUP_{IS_DONE,DONE_CHECK} hack
if PREFIX is given to Makefile.PL add it to @INC at startup
add %Apache::MyConfig aliases for Apache::src backwards compat
fix 'make offsite-tar'
win32 fixes
adding PERL_SSI PERL_SECTIONS to MyConfig generator
need this alias for Apache::src backwards compat
improve Apache::MyConfig
fix 'make tar_Apache'
include File::Spec at runtime, otherwise fails with oldperls (5.004_04)
dont strip lfs flags by default just yet
DSO support for hpux with native cc/ld
win32 updates for 1.3.15, including ApacheModulePerl.{dsp,dll} ->
mod_perl.{dsp,so} rename
PR:
Obtained from:
Submitted by:
Reviewed by:
if Perl is linked with -lpthread, then httpd needs to be linked with -lpthread, make sure that happens with USE_DSO=1, warn if USE_APXS=1 disable uselargefile flags by default, enable with: Makefile.PL PERL_USELARGEFILES=1 PR: Obtained from: Submitted by: Reviewed by:
pod patch from geoff
include mod_perl hook/feature config in Apache::MyConfig
allow Makefile.PL to build mod_perl on Win32 using VC++
fixups for libapreq
fix for Makefile.PL ADD_MODULE=src/module/foo/libfoo.a
fix 'make tar_Apache'
'make test' config fixes for mod_ssl
Latest patches so mod_perl works now on ActivePerl
Makefile.PL:post_initialize fix for win32
support version parsing of 1.3.13-dev's httpd.h
fixes for building with stronghold
make sure full perlpath is used
Makefile.PL warns about 5.6.0+uselargefiles if USE_APXS
pass $Config{ccflags} to apache for 5.6.0+
fixed 'make clean' to remove FILES => passed to MakeMaker
create test files during Makefile.PL so 'make test' can be run as root
--disable-rule=EXPAT is passed to Apache's configure to avoid XML::Parser conflicts PR: Obtained from: Submitted by: Reviewed by:
User/Group for 'make test' can be overridden with the environment variables APACHE_USER/APACHE_GROUP PR: Obtained from: Submitted by: Reviewed by:
updated dso+aix Perl patch
oops
warn that dso+Perl malloc needs a Perl built with -Ubincompat5005
handy target
should warn if apxs too
make sure lib/Apache/MyConfig.pm is written before used
fixup the output of apxs -q CFLAGS to preserve quoting (again)
removed the generated apaci/mod_perl.config from MANIFEST
make use of $Config{shrpenv} to find CORE/libperl.so
compile with 5.005 threads
warn aix-apxs-5.005_03 users of the patch needed for DynaLoader
fix Makefile.PL if $USE_APXS && $PERL_DEBUG
remove t/httpd symlink during 'make realclean' and when rebuilding
mod_perl.exp is now installed
there have been several reports of Config.pm breaking builds these are the pieces needed to override Config.pm values, ugly, but it works. commented out probably until post-1.22 PR: Obtained from: Submitted by: Reviewed by:
tweaks to compile/run with 5.5.670 + -Dusethreads
adjust Makefile.PL to parse 1.3.13-dev's httpd.h
Look for the makepl_args.mod_perl file as .makepl_args.mod_perl in ./ and ../ too since the book says it works so.
PerlRestartHandler is now enabled w/ ALL_HOOKS=1 (or EVERYTHING=1) PR: Obtained from: Submitted by: Reviewed by:
document that Apache 1.2.x is no longer supported Apache::src now supported with USE_APXS=1 PR: Obtained from: Submitted by: Reviewed by:
disable experimental perlrunxs until future notice
add sanity check for libgdbm
ok, no more crack smoking PR: Obtained from: Submitted by: Reviewed by:
fix mod_perl_version.h problem PR: Obtained from: Submitted by: Reviewed by:
don't delete the mod_perl_version.h file when we still need it
mod_perl_version.h removed from MANIFEST PR: Obtained from: Submitted by: Reviewed by:
ready to roll.. PR: Obtained from: Submitted by: Reviewed by:
-w's PR: Obtained from: Submitted by: Reviewed by:
cygwin port PR: Obtained from: Submitted by: Reviewed by:
Makefile.PL will now do a handful of sanity checks looking for possible broken configurations and offer suggestions for those it finds PR: Obtained from: Submitted by: Reviewed by:
If we're building mod_perl as a DSO using APACI, we need to provide a better definition of LDFLAGS_SHLIB_EXPORT since the one Perl needs specifies, for example, the location of the perl shared library. I think this is a generic solution. If not, it can be limited on a per-os basis. At least bsd/os 4.x needs this for a standard "gmake test" to pass easily.
Added a couple of comments to make XEmacs perl-mode happy with
font-highlighting of this file. (XEmacs' perl-mode is quite lame in
parsing quoted strings which are "HEREIS" or qq{} type quotes, thus we
need to help it along with comments.
make sure server is up before runtests() PR: Obtained from: Submitted by: Reviewed by:
Makefile.PL will look for --target=(\S+) in APACI_ARGS, if found use instead of the default `httpd' for 'make test' PR: Obtained from: Submitted by: Reviewed by:
make sure ap_config_auto.h is picked up when PREP_HTTPD=1 (for non-distribution modules that use Apache::src to build) PR: Obtained from: Submitted by: Reviewed by:
don't link against all_lowercase.a's (e.g. libapr.a) PR: Obtained from: Submitted by: Reviewed by:
a few -Wall items no longer need default --with-layout PR: Obtained from: Submitted by: Reviewed by:
some minor fixes PR: Obtained from: Submitted by: Reviewed by:
default --with-layout to `Apache' for 1.3.4, can be overridden with APACI_ARGS or APACHE_LAYOUT Makefile.PL attribute PR: Obtained from: Submitted by: Reviewed by:
removed PERLV define, just use patchlevel.h's defines PR: Obtained from: Submitted by: Reviewed by:
new path PR: Obtained from: Submitted by: Reviewed by:
ready to roll... PR: Obtained from: Submitted by: Reviewed by:
a few things caught by 'make test' PR: Obtained from: Submitted by: Reviewed by:
use absolute path for StrongholdLicenseFile [Todd R. Eigenschink <todd@tekinteractive.com>] PR: Obtained from: Submitted by: Reviewed by:
new-ish xs modules added to win32 build: Apache::Log, Apache::File, Apache::Table, Apache::URI, Apache::Util PR: Obtained from: Submitted by: Reviewed by:
two experimental options now on by default: PERL_SECTIONS_SELF_BOOT and ERRSV_CAN_BE_HTTP PR: Obtained from: Submitted by: Reviewed by:
Makefile.PL will look for and link with *.a files in $APACHE_SRC/src/modules/modperl/blib/arch/auto assumed to be from 'make static' of an xs module the static bootstrap call is added to perlxsi.c handy for profiling xs modules (built w/ -pg -a) inside httpd with gprof PR: Obtained from: Submitted by: Reviewed by:
rename PERL_VERSION macro to PERLV to avoid conflict with 5.00502's PR: Obtained from: Submitted by: Reviewed by:
s/^mod_perl_(error_log|httpd.pid)/$1/g PR: Obtained from: Submitted by: Reviewed by:
a bit of Apache::Table optimization PR: Obtained from: Submitted by: Reviewed by:
rename Apache::Tie/Apache::TieHashTable -> Apache::Table PR: Obtained from: Submitted by: Reviewed by:
Perl*Handler configuration will attempt to pre-load the argument as a module if it has a leading `+'. PERL_AUTOPRELOAD=1 or $Apache::Server::AutoPreLoad=1 will turn on auto-preloading for all Perl*Handlers except those which have a leading `-' PR: Obtained from: Submitted by: Reviewed by:
ready to roll... PR: Obtained from: Submitted by: Reviewed by:
added INSTALL.simple.mod_ssl and SSL_BASE=... Makefile.PL option PR: Obtained from: Submitted by: Reviewed by:
try to cut down on dso madness PR: Obtained from: Submitted by: Reviewed by:
updates for Apache::File PR: Obtained from: Submitted by: Reviewed by:
fixups for building Stronghold 2.4 PR: Obtained from: Submitted by: Reviewed by:
USE_DSO=1 may be fixed on some platforms w/ current 1.3.2-dev for those who are not, e.g. linux, can try a workaround by giving PERL_DSO_UNLOAD to Makefile.PL or by setting the PERL_DSO_UNLOAD environment variable PR: Obtained from: Submitted by: Reviewed by:
USE_DSO=1 should work now (fingers crossed) PR: Obtained from: Submitted by: Reviewed by:
Gerald's PERL_STARTUP_DONE workaround we need to find the *real* problem and fix it. if perl_construct..perl_run is being called more than once, we are leaking unless perl_shutdown is called, but I cannot reproduce this problem PR: Obtained from: Submitted by: Reviewed by:
deal with mod_ssl.c/Stronghold test configuration PR: Obtained from: Submitted by: Reviewed by:
DYNAMIC=1 works again PR: Obtained from: Submitted by: Reviewed by:
s/PERL_TIE_TABLES/PERL_TABLE_API/g PR: Obtained from: Submitted by: Reviewed by:
allow multiple APACI_ARGS lines in .makepl_args.mod_perl PR: Obtained from: Submitted by: Reviewed by:
make sure perlxsi.c is re-generated PR: Obtained from: Submitted by: Reviewed by:
minor fix PR: Obtained from: Submitted by: Reviewed by:
another for %very_experimental PR: Obtained from: Submitted by: Reviewed by:
need to fix opmask-auto-generation before this can be on by default, otherwise people using EXPERIMENTAL=1 may fail 'make test' for no good reason PR: Obtained from: Submitted by: Reviewed by:
added :override :args_how tags to Apache::Constants PR: Obtained from: Submitted by: Reviewed by:
pushing out experimental stuff: EXPERIMENTAL=1 (enables all experiments, except PERL_DEFAULT_OPMASK) PERL_GET_SET_HANDLERS=1 if PERL_STACKED_HANDLERS PERL_MARK_WHERE=1, PERL_TIE_SCRIPTNAME=1 if PERL_TRACE PERL_SECTIONS_SELF_BOOT=1 if PERL_SECTIONS PR: Obtained from: Submitted by: Reviewed by:
Removed use of Term::ReadLine in Makefile.PL
fix Makefile.PL and Apache::src to find MODULE_MAGIC_NUMBER in ap_mmn.h PR: Obtained from: Submitted by: Reviewed by:
set LD_RUN_PATH in Makefile.PL [Tom Hughes <tom@compton.demon.co.uk>] PR: Obtained from: Submitted by: Reviewed by:
PERL_ORALL_OPMASK=1 enables $r->set_opmask method for per-directory masks PR: Obtained from: Submitted by: Reviewed by:
new experimental options PERL_SAFE_STARTUP and PERL_DEFAULT_OPMASK when httpd is starting, opcodes will be disabled during PerlModule, PerlRequire and <Perl></Perl> -PERL_SAFE_STARTUP=1 enables PerlOpmask directive if PerlOpmask is "default", use mask generated from src/opcodes.txt else it's a file to create the mask in the format of src/opcodes.txt if no PerlOpmask, no opcodes are disabled - 'make update_op_mask OPCODE_FILE=my_opcodes.txt && make' changes the default opmask generated from OPCODE_FILE -PERL_DEFAULT_OPMASK=1 disables PerlOpmask directive, forces default opmask on PR: Obtained from: Submitted by: Reviewed by:
added $r->finfo method Apache::Connection and Apache::Server will not be loaded by default if a PerlRequire file says: no mod_perl qw(Connection Server); Apache.xs cleanups: -move Apache::Connection code from Apache.xs to Connection.xs -move Apache::Server code from Apache.xs to Server.xs -remove Apache::fork stuff -remove max_request_per_client method (use Apache::Globals instead) PR: Obtained from: Submitted by: Reviewed by:
new experimental XS implementation of Apache::PerlRun/Apache::Registry handlers in module Apache::PerlRunXS (enable with PERL_RUN_XS=1) PR: Obtained from: Submitted by: Reviewed by:
added $r->get_server_name method PR: Obtained from: Submitted by: Reviewed by:
minor fixups for last set of changes PR: Obtained from: Submitted by: Reviewed by:
move /tmp/mod_perl_* to t/logs, t/conf PR: Obtained from: Submitted by: Reviewed by:
deal with PL_ renaming in 5.004_76+ PR: Obtained from: Submitted by: Reviewed by:
fixes to support to apache_1.3.0+ssl_1.19 [Salvador Ortiz] PR: Obtained from: Submitted by: Reviewed by:
fixup when answering 'n' to "Shall I build httpd?" PR: Obtained from: Submitted by: Reviewed by:
USE_APXS fixups: -use apaci/find_source instead of hard-coding files in apaci/configure -re-gen apaci/mod_perl.config before running apache/configure -chmod 0644, apaci/mod_perl.config PR: Obtained from: Submitted by: Reviewed by:
disable PERL_SSI at this level if USE_DSO=1 PR: Obtained from: Submitted by: Reviewed by:
PERL_DEBUG=1 w/ USE_APACI=1 will properly link against libperld if exists Ralf, does this look okay?? PR: Obtained from: Submitted by: Reviewed by:
a few fixups PR: Obtained from: Submitted by: Reviewed by:
remove mod_perl.pm_version file. move Makefile.PL-time generated code from mod_perl.pm to mod_perl_hooks.pm.PL so CPAN.pm can 'install mod_perl' again PR: Obtained from: Submitted by: Reviewed by:
added Apache::Util module (enable with PERL_UTIL_API=1 or EVERYTHING=1) PR: Obtained from: Submitted by: Reviewed by:
added Apache::URI module (enable with PERL_URI_API=1 or EVERYTHING=1) PR: Obtained from: Submitted by: Reviewed by:
Makefile.PL fix for 'make test' and --enable-shared= modules applied src/modules/perl/Makefile fixup for ApacheSSL [Iosif Fettich <ifettich@netsoft.ro>] PR: Obtained from: Submitted by: Reviewed by:
experimental optimization for Apache::Constants if XS_IMPORT=1 is given to Makefile.PL: drop heavy Exporter::import/@EXPORT/@EXPORT_OK/%EXPORT_TAGS for Apache::Constants::import written in C, shaves ~25K from resident memory PR: Obtained from: Submitted by: Reviewed by:
couple o' fixups PR: Obtained from: Submitted by: Reviewed by:
fix Makefile.PL setting of numeric $User/$Group for 'make test' [Michael K. Sanders <msanders@confusion.net>] PR: Obtained from: Submitted by: Reviewed by:
Makefile.PL is -w clean now PR: Obtained from: Submitted by: Reviewed by:
giving PERL_STASH_POST_DATA=1 to Makefile.PL will save read(STDIN, ...)/$r->read data in $r->subprocess_env for logging PR: Obtained from: Submitted by: Reviewed by:
fixup for win32 PR: Obtained from: Submitted by: Reviewed by:
s/mod_perl_version.pm/mod_perl.pm_version/g PR: Obtained from: Submitted by: Reviewed by:
added Apache::Log module PR: Obtained from: Submitted by: Reviewed by:
add mod_perl_version.pm so CPAN.pm can 'install mod_perl' again PR: Obtained from: Submitted by: Reviewed by:
Makefile.PL will now set CFLAGS="$PERL_EXTRA_CFLAGS" with USE_APACI=1 thanks to help from Vivek Khera PR: Obtained from: Submitted by: Reviewed by:
improve support for Makefile.PL USE_APXS=... to generate modperl.config and, drop some old junk PR: Obtained from: Submitted by: Reviewed by:
add PERL_TIE_TABLES and PERL_DIRECTIVE_HANDLERS to EVERYTHING=1 group PR: Obtained from: Submitted by: Reviewed by:
bump to 1.12_01-dev PR: Obtained from: Submitted by: Reviewed by:
prepare for 1.12 PR: Obtained from: Submitted by: Reviewed by:
Make sure "make install" works correctly (i.e. runs apxs_install target) under USE_APXS=1. This was broken because USE_APXS=1 forced NO_HTTPD=1 and thus this if-construct failed.
Make abbrev. read as at the other locations, i.e. in upper case.
s/1\.3b\d/1.3.0/g disable USE_APACI if version < 1.3.0 PR: Obtained from: Submitted by: Reviewed by:
map ADD_MODULE to proper apaci --option=... thanks to Ralf for his hints! PR: Obtained from: Submitted by: Reviewed by:
if APACHE_PREFIX=... is present, use it for: - when USE_APXS=1, set $WITH_APXS=$APACHE_PREFIX/sbin/apxs - add --prefix=$APACHE_PREFIX when running configure - add apaci_install target for mod_perl's 'make install' which will (cd $APACHE_ROOT && make install) PR: Obtained from: Submitted by: Reviewed by:
make NO_HTTPD=1 work properly again PR: Obtained from: Submitted by: Reviewed by:
'make distclean' will now (cd ./apaci && make distclean) as suggested by Ralf PR: Obtained from: Submitted by: Reviewed by:
make USE_APACI=1 NO_HTTPD=1 work properly again PR: Obtained from: Submitted by: Reviewed by:
Fix three APACI/APXS-related things:
1. The shell doesn't like strings like "can't". We need quotes here.
2. MakeMaker complained that WITH_APXS is not a MakeMaker argument
3. The C compiler for the APXS is already the correct one (no forcing
via "make CC=.." needed) while under APACI it has to be set at the
configuration step and cannot be overridden later (notice that mod_perl
_always_ use the $Config{cc}, CC=.. only affects the rest of Apache).
Now all three new build variants seem to work fine.
Doug broke PERL_SSI=1 and PERL_TIE_TABLES=1 w/ USE_APACI=1 thanks to Brian Millet for spotting this and the fix PR: Obtained from: Submitted by: Reviewed by:
make from APACHE_ROOT if $USE_APACI=1 thanks to hint from Ralf PR: Obtained from: Submitted by: Reviewed by:
a few USE_APXS tweaks: have configure `cp -f' so source files can be overwritten 'make clean' will (cd ./apaci && make clean) replace -Wl args meant for gcc with args for ld if $^O eq "hpux" PR: Obtained from: Submitted by: Reviewed by:
improve ap{aci,dso,xs} support:
perl Makefile.PL USE_APACI=1
now works just like the old 'perl Makefile.PL'
if you don't want Makefile.PL to build httpd:
perl Makefile.PL USE_APACI=1 NO_HTTPD=1
----
perl Makefile.PL USE_DSO=1
works just USE_APACI=1 but passes `--enable-shared=perl' to the
configure script.
See apache/load_modules.pl.PL, which will attempt to add all the
.so modules to the t/conf/httpd.conf for 'make test'. httpd starts
okay now, but when running the tests, all fail and
/tmp/mod_perl_error_log says:
"...handler "perl-script" not found, using default handler ..."
---
perl Makefile.PL USE_APXS=/opt/apache/sbin/apxs
runs apaci/configure ...
Does not try to build any httpd.
'make' will (cd ./apaci && make)
'make install' will (cd ./apaci && make install)
'make test' will echo can't make test with apxs (yet)
---
APACI_ARGS=... can be passed to Makefile.PL or present in
.makepl_args.mod_perl for the configure script, like so:
APACI_ARGS=--prefix=/opt/apache,--enable-module=most,--enable-shared=max
---
added a .xs.lo rule in Makefile.tmpl, hpux build failed otherwise
PR:
Obtained from:
Submitted by:
Reviewed by:
add SSLCacheServer{Port,Path} directives for ApacheSSL + 'make test'
[Adam Laurie <adam@algroup.co.uk>]
make $r->header_in->{get,set,etc}
work just like
(tied $r->header_in)->{get,set,etc}
PR:
Obtained from:
Submitted by:
Reviewed by:
Add support for PERL_THREADS to APACI stuff.
Avoid more unnecessary file copies and edits under APACI situations.
PERL_SECTIONS was missing in the APACI's generated mod_perl.config file.
have Makefile.PL check for HTML::HeadParser PR: Obtained from: Submitted by: Reviewed by:
fix bug when PERL_MARK_WHERE was undefined spotted by Kermit Tensmeyer emulate pre-1.3b6 r->uri/r->proxyreq behavior for proxy requests inside the post_read_request_handler and add t/internal/proxy test PR: Obtained from: Submitted by: Reviewed by:
misc cleanups PR: Obtained from: Submitted by: Reviewed by:
We _know_ the Perl executable we used ourself for building, so this one should be used on the Apache-side, too. Because its always problematic when a different Perl is used there (for instance on my system where 4 different Perl installations exist).
APACI support added [Ralf S. Engelschall <rse@engelschall.com>] PR: Obtained from: Submitted by: Reviewed by:
experimental tie of $0 to Apache->request->filename, enable with -DPERL_TIE_SCRIPTNAME PR: Obtained from: Submitted by: Reviewed by:
new Apache::Tie module, provides Apache::TieHashTable for a proper interface to Apache table structures. The following methods, called in a scalar context with no "key" argument, will return a HASH reference, where HASH is tied to Apache::TieHashTable: headers_in, headers_out, err_headers_out, notes, dir_config, subprocess_env enable with PERL_TIE_TABLES=1 see also: t/net/perl/tie_table.pl some other tidbits PR: Obtained from: Submitted by: Reviewed by:
remove Cwd::fastcwd usage from Apache::Registry, use $Apache::Server::CWD set at server startup instead new method Apache->chdir_file, use to replace chdir File::Basename::dirname($r->filename) in Apache::Registry replace Apache::Registry use of IO::File w/ Apache::gensym new function Apache::gensym (xsub, does same as Symbol::gensym) add $ServerRoot/lib/perl to @INC at startup PR: Obtained from: Submitted by: Reviewed by:
more Perl Directive Handler stuff -split out from dir_config to Apache::ModuleConfig->get -pass an Apache::CmdParms (cmd_parms*) object as first argument -more Apache::ExtUtils rope -if args_how is RAW_ARGS and the last arg in the Perl prototype is `*' pass a tie'd filehandle who's methods read out of the config file -better prototype checking -various cleanups/fixups PR: Obtained from: Submitted by: Reviewed by:
overload the get_basic_auth_pw function so we can change AuthType on the fly via $r->connection->auth_type add code to deal with 1.3b7-dev's SERVER_SUBVERSION replacement a few doc patches [John D Groenveld <jdg117@elvis.arl.psu.edu>] re-implemented $r->read to properly use *client_block methods and call reset_timeout after each read in the loop. until this is well tested, the method is called new_read. to test on tie'd STDIN reads, a startup script can say this: *Apache::READ = \&Apache::new_read; added setup_client_block, should_client_block and get_client_block methods some Apache::PerlRun enhancements PR: Obtained from: Submitted by: Doug MacEachern Reviewed by:
suggest upgrade if $CGI::VERSION < 2.39 PR: Obtained from: Submitted by: Reviewed by:
$r->read_client_block is deprecated re-implemented $r->read to properly use *client_block methods and call reset_timeout after each read in the loop added setup_client_block, should_client_block and get_client_block methods modules/cgi test will attempt a fileupload of perlfunc.pod to file_upload.cgi if HTTP::Request::Common is installed (libwww-perl-5.09+) and $CGI::VERSION >= 2.39 PR: Obtained from: Submitted by: Reviewed by:
additions to experimental Perl directive support: - per-directory config can be an arbitrary SV, returned by directive handlers registered via Apache::ExtUtils->xs_cmd_table - $r->dir_config with no args now looks for per-directory config in the caller's namespace - xs_cmd_table now looks for a prototype to determine TAKE1, TAKE2, TAKE3, etc. added $Apache::CurrentThreadId variable under win32 added method/object handler tests to internal/stacked test PR: Obtained from: Submitted by: Doug MacEachern Reviewed by:
fixed broken modules/eperl test spotted by Tom Mornini fixed Makefile.PL bug spotted by Jon Drukman w/ PERL_CHILD_EXIT=1 in fact, PerlChildInitHandler/PerlHandlerExitHandler are always enabled by default now with 1.3bx+ PR: Obtained from: Submitted by: Reviewed by:
added experimental get_handlers/set_handlers methods (enable with PERL_GET_SET_HANDLERS=1) new module Apache::PerlRun, splits out Apache::Registry functionality and provides a `dirty-perl' handler (see pod) PERL_OBJECT_HANDLERS now enabled #ifdef PERL_METHOD_HANDLERS PR: Obtained from: Submitted by: Doug MacEachern Reviewed by:
*yawn* PR: Obtained from: Submitted by: Reviewed by:
Apache::SIG enhancements for LogFormat [Doug Bagley <doug@dejanews.com>] other bits for 1.11 release PR: Obtained from: Submitted by: Reviewed by:
added test support for Perl configuration directives (Apache::ExtUtils) PR: Obtained from: Submitted by: Reviewed by:
Inclusion of $r->server->server_hostname if $r->server->is_virtual in Apache::Registry script namespaces is back to On by default after recently tripping up Ben Laurie, Janos Farkas, Tony Bowden. To disable (only gain is to conserve memory) in a startup file set: $Apache::Registry::NameWithVirtualHost = 0; work around bloody make problem "don't know how to make Apache.c Constants.c" spotted on SCO by Krister Keskitalo (along w/ 1-2 others in the past) PR: Obtained from: Submitted by: Reviewed by:
fix Makefile.PL for apache-1.2.6+ssl_1.16 [Stefano Santoro <ssantoro@voicetek.com>, Dan Peterson <pete@spry.com>] removed obsolete src/Makefile.tmpl and src/Makefile.tmpl-Ben-SSL files new module Apache::ExtUtils, currently with one method to generate xs code so Apache/Perl modules can add their own directives to Apache rather than use PerlSetVar (just some more rope, really) PR: Obtained from: Submitted by: Reviewed by:
so *.t can get at MODULE_MAGIC_NUMBER PR: Obtained from: Submitted by: Reviewed by:
s/PERL_OBJ_HANDLERS/PERL_OBJECT_HANDLERS/g need to SvREFCNT_inc(class) for new PERL_OBJECT_HANDLERS add some test stuff for PERL_OBJECT_HANDLERS PR: Obtained from: Submitted by: Doug MacEachern Reviewed by:
experimental: #ifdef PERL_OBJ_HANDLERS, mod_perl will thaw objects from Perl*Handler strings such as `$Global::Object->method' PR: Obtained from: Submitted by: Doug MacEachern Reviewed by:
oops, add -dev to $VERSION PR: Obtained from: Submitted by: Reviewed by:
bump $VERSION PR: Obtained from: Submitted by: Reviewed by:
have t/TEST look for core files rid of SEGV in PerlChildExitHandler spotted by Eric Cholet #ifdef USE_THREADS, don't hard_timeout/kill_timeout, SIGALRM causes hangage PR: Obtained from: Submitted by: Doug MacEachern Reviewed by:
I'm gonna start using modperl cvs for real! start by bumping Makefile.PL's VERSION PR: Obtained from: Submitted by: Doug MacEachern Reviewed by:
mod_perl-1.09 PR: Obtained from: Submitted by: Doug MacEachern Reviewed by:
v1.08
Doug's 1.07_04
mod_perl-1.07_03.tar.gz
1.07_02
mod_perl-1.07
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 |