Greg Stein [Fri, 8 Dec 2000 12:40:20 +0000 (12:40 +0000)]
configure's --with-* type switches are the standard way to specify foreign
directories to a package. APRUTIL works this way, and does not need APR's
location at buildconf.sh time.
Greg Stein [Fri, 8 Dec 2000 09:33:31 +0000 (09:33 +0000)]
not into looking into this right now, but it should be done. just watch the
make output and the bazillion -export-dynamic options getting added to know
that something should be fixed :-)
[ and more precisely, it is needed for AP modules, but not Apache itself nor
libraries such as libmain.la; therefore, the move to special.mk ]
Ryan Bloom [Fri, 8 Dec 2000 01:26:31 +0000 (01:26 +0000)]
Get Apache filters and Apr-util buckets using the same values for
blocking and non-blocking reads. This allows us to use the mode parameter
passed to a filter to read from the bucket correctly.
Eliminate the /GX flag from release builds of the support tree. This
disables exception handling overhead that has no handler in Apache.
Add the /Fd"Debug|Release/projname" options to eliminate conflicting
vc50.pdb and vc50.idb files.
Greg Stein [Thu, 7 Dec 2000 11:52:17 +0000 (11:52 +0000)]
*) top-level: build our base libraries (srclib) first since these (by
definition) have no dependencies on anything else. this will also ensure
that we have *.exports available for building server/
*) add the "test" SUBDIR back in so that it gets called for "make clean" and
other types of make targets.
*) revise test/Makefile.in so that it does not build any test programs by
default. add "make test" to build any/all test programs.
Greg Stein [Thu, 7 Dec 2000 11:37:08 +0000 (11:37 +0000)]
*) fix up buildexports.sh:
- enable it to be run from any dir by passing a parameter for the
location of srclib, and using its own location for determining where
the AWK script is located
- accept exports files on STDIN, and produce output on STDOUT
- use "pwd" and cd back to it, rather than assuming ../../.. (which might
not apply if we feed it other export files)
- add USAGE reporting
*) generate exports.c during normal build of "server" rather than during the
buildconf stage. update invocation to match above changes
*) revamp the ap_ugly_hack referencing in main.c: put it at the bottom of
the file with the other, similar references, and style it similarly.
*) remove the ap_ugly_hack declaration from http_main.h; it is internal to
the "server" code
Greg Stein [Thu, 7 Dec 2000 10:31:16 +0000 (10:31 +0000)]
*) add check for mod_so
*) juse use APACHE_MODULE (the custom defun only saved a single arg)
*) toss AC_SUBST(STANDARD_LIBS) line; it isn't used/needed
Ryan Bloom [Thu, 7 Dec 2000 03:32:54 +0000 (03:32 +0000)]
Make mod_include use a hash table to associate directive tags with
functions. This allows modules to implement their own SSI tags easily.
The idea is simple enough, a module can insert it's own tag and function
combination into a hash table provided by mod_include. While mod_include
parses an SSI file, when it encounters a tag in the file, it does a
hash lookup to find the function that implements that tag, and passes
all of the relevant data to the function. That function is then
responsible for processing the tag and handing the remaining data back
to mod_include for further processing.
Submitted by: Paul J. Reder <rederpj@raleigh.ibm.com>
Reviewed by: Ryan Bloom
This solves two issues, one is a backref from apr-util into the
apache namespace, and the second is the proper linkage declarations
and their explanations. Documented the distinction between
AP_IMPLEMENT_HOOK_ and AP_IMPLEMENT_EXPORT_HOOK_
This doesn't resolve any export issues within apr-util, however.
Bill Stoddard [Wed, 6 Dec 2000 04:42:33 +0000 (04:42 +0000)]
And this gets Apache for Windows compiling from the command line and
serving files again. The APR_DECLARE_DATA declaration allows the
ap_*_type structures to be exported which is reqired for the correct
operation of the AP_BUCKET_IS_* macros.
An alternate way to fix this problem is to explicitly break the bucket
type out of the "type" structure in ap_bucketi and represent each bucket
type with an enum.
Ryan Bloom [Tue, 5 Dec 2000 22:44:50 +0000 (22:44 +0000)]
Get the perchild MPM building cleanly again. This hasn't been tested,
because I can't install Apache right now. As soon as I get the make
install target working, I'll test this MPM.
Ryan Bloom [Tue, 5 Dec 2000 18:29:06 +0000 (18:29 +0000)]
Generate the apr-utils exports file using APR's buildexports scripts.
This also modified Apache's buildconf to add those symbols to the
exports.c file.
Ryan Bloom [Tue, 5 Dec 2000 02:45:50 +0000 (02:45 +0000)]
Apache builds again, although the test directory doesn't. I will work on
the test directory soon. The server does NOT currently run, but it does
build cleanly.
Ryan Bloom [Mon, 4 Dec 2000 23:24:23 +0000 (23:24 +0000)]
Buff was removed this weekend, so the STATUS item should go away. This
also adds the STATUS file to the new httpd-2.0 directory, with all the
history from apache-2.0
Jeff Trawick [Mon, 4 Dec 2000 19:26:04 +0000 (19:26 +0000)]
Get rid of ap_new_apr_connection(). ap_new_connection() now has
fewer parameters: the local and remote socket addresses were removed
from the parameter list because all required information is available
via the APR socket.
Jeff Trawick [Mon, 4 Dec 2000 19:24:10 +0000 (19:24 +0000)]
Get rid of ap_new_apr_connection(). ap_new_connection() now has
fewer parameters: the local and remote socket addresses were removed
from the parameter list because all required information is available
via the APR socket.
I haven't tested the most important part -- the WinNT MPM changes
-- but it compiles and it looks okay :) If the WinNT MPM works on
Win98 these days let me know.
Roy T. Fielding [Mon, 4 Dec 2000 17:07:12 +0000 (17:07 +0000)]
The httpd-2.0 repository is now open for business. I have copied
over all files for which the cvs history is important. The rest can
be added as new files (like this one).
The modules were tagged as "moving_to_httpd_module" prior to my move.
Any commits to apache-2.0 after that point will have to be repeated here.
Ryan Bloom [Mon, 4 Dec 2000 15:08:02 +0000 (15:08 +0000)]
Add a test to buildconf to ensure that APR has been checked out. If it
isn't there, we output a message giving the public CVS root.
Submitted by: Roy Fielding
Ryan Bloom [Mon, 4 Dec 2000 06:36:16 +0000 (06:36 +0000)]
Remove buff.c and buff.h. There are still a few files that rely on these,
but those files are already broken. This just makes that breakage more
obvious.
Chris Pepper [Sun, 3 Dec 2000 16:44:09 +0000 (16:44 +0000)]
Cleaned "index.html" out of a bunch of <a href>s.
Quoted size in a bunch of <font>s.
Wrapped and fixed mismatched <p>s in index.html.en.
Wrapped and encoded > in index.html.it.
Ryan Bloom [Sat, 2 Dec 2000 07:15:32 +0000 (07:15 +0000)]
Note the patch submitted today by Jon Travis about cleaning up inet_ntoa.
This patch is waiting until IPv6 is settled, and we can really see what
we are left with. I don't want us to forget that inet_ntoa has thread-
safeness issues, so I am noting this patch here.