Commit Graph

1766 Commits

Author SHA1 Message Date
7ea4d18488 serious bug fix:
htdigest didn't init the first parm to ap_open(), so ap_open()
  segfaults thinking it was passed valid storage
build portability:
  make most src/lib/apr/test/Makefile.in compatible with OS/390
  make (no -o outfile after infile specified)
MD5 translation support:
  when APR_HAS_XLATE, low-level routines allow translation handle
  to be specified

  when CHARSET_EBCDIC, password-specific routines always translate,
  but client app must set handle before using


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85160 13f79535-47bb-0310-9956-ffa450edef68
2000-05-06 13:41:59 +00:00
fa7fae96a6 initial .cvsignore for PCRE-in-Apache
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85159 13f79535-47bb-0310-9956-ffa450edef68
2000-05-06 12:21:20 +00:00
807e5aed4d Initial revision
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85154 13f79535-47bb-0310-9956-ffa450edef68
2000-05-05 23:28:20 +00:00
c445556372 Replace hsregex with PCRE. The PCRE library is always used in 2.0,
regardless of what system we are on.  Currently, we are using the POSIX
wrappers that PCRE provides.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85153 13f79535-47bb-0310-9956-ffa450edef68
2000-05-05 23:17:54 +00:00
dbe89e6787 Fix a stupid mistake in apxs.in.
Submitted by:	Greg Stein


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85152 13f79535-47bb-0310-9956-ffa450edef68
2000-05-05 21:11:06 +00:00
fcb34179d6 I forgot to update the alpha information with the last alpha release.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85151 13f79535-47bb-0310-9956-ffa450edef68
2000-05-05 20:19:25 +00:00
c3b24299af Make apxs mostly work for 2.0. It doesn't add the module to the config
file yet, but that should be trivial to add back in.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85150 13f79535-47bb-0310-9956-ffa450edef68
2000-05-05 20:10:33 +00:00
40bb44ba3e Ahem... the newsgroups seem unruly over the explicit
reference to the other half of Wintel.  This seems like
  a more accurate statement


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85148 13f79535-47bb-0310-9956-ffa450edef68
2000-05-05 02:38:29 +00:00
803be27e87 Install os.h and os-inline.c from src/os/$(OSDIR) to $(prefix)/include
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85146 13f79535-47bb-0310-9956-ffa450edef68
2000-05-04 23:34:44 +00:00
e034386cd8 Move the generating empty deps stuff into fastgen.sh. The .deps files
are only used by Makefiles which are created by fastgen.sh, so fastgen
is the natural place to create them.

The "portable dirname" regex has been changed to remove any number of
trailing slashes. Just in case. :)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85139 13f79535-47bb-0310-9956-ffa450edef68
2000-05-04 20:17:22 +00:00
d06207a32e Back out an inadvertant change to apxs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85138 13f79535-47bb-0310-9956-ffa450edef68
2000-05-04 19:56:41 +00:00
fcc4d8c669 Port reliable piped logs to mpmt_pthread and dexter. Also a couple of small
cleanups for reliable piped logs.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85137 13f79535-47bb-0310-9956-ffa450edef68
2000-05-04 19:42:57 +00:00
8c385f0dbd Make reliable piped logs work on 2.0.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85136 13f79535-47bb-0310-9956-ffa450edef68
2000-05-04 04:02:37 +00:00
66c90f61ef Get rid of warning by including crypt.h when available.
Make tmpnam stuff less complex.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85134 13f79535-47bb-0310-9956-ffa450edef68
2000-05-04 00:46:51 +00:00
597b2a381b Use our own buffer for tmpnam() if the platform seems to know
about it.  Avoids threading and reentrancy problems.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85132 13f79535-47bb-0310-9956-ffa450edef68
2000-05-03 17:55:38 +00:00
3512abd7b4 Win32: Fix some bugs in the restart logic. This is still rather adhoc. A more rigorous solution
is to maintain a list of overlapped io structures in the child_main control thread
and use HasOverLappedIoCompleted() to manage the connections and pending io.

We must resort to maintaining a list of pending io (i.e. overlapped structures) should
we ever begin using AcceptEx to receive data. Why? We need to be able to detect when
a connection is received but no data is being sent over that connection. There is a
Win32 function (whose name I forget at the moment) to handle this. Why can't Win32
just timeout the connection using setopt??? It would make life so much easier if AcceptEx
just returned TIMEOUT in this condition rather than requiring the application to
explicitly poll the socket to see if data is available.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85131 13f79535-47bb-0310-9956-ffa450edef68
2000-05-03 16:28:04 +00:00
9452b0d2a6 Be more expliciti in our error messages if the tmpnam() call fails,
or we have trouble opening the filename it returns.

PR:		Not a solution, but will help debug several


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85129 13f79535-47bb-0310-9956-ffa450edef68
2000-05-03 10:32:45 +00:00
b6d1cf01a2 The 'portable dirname' shouldn't leave a trailing / on the directory name
as it causes double trailing / in some places which confuses some programs.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85128 13f79535-47bb-0310-9956-ffa450edef68
2000-05-03 02:42:18 +00:00
afb48ffe10 Configure creates config.nice now containing your configure options.
Syntax: ./config.nice [--more-options]

Obtained from: PHP


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85127 13f79535-47bb-0310-9956-ffa450edef68
2000-05-03 02:02:54 +00:00
a7315d1bd1 Blurf. Move the preload down a bit to
ensure that the location of config.guess is set :)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85126 13f79535-47bb-0310-9956-ffa450edef68
2000-05-03 00:48:54 +00:00
56faece2ad And preload from the top.
Next on the list: using hints.m4 to set whether to use HSregex and
 to select the "default" mpm for each OS type.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85125 13f79535-47bb-0310-9956-ffa450edef68
2000-05-03 00:09:05 +00:00
b9de469821 - checking for thread options is mature
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85124 13f79535-47bb-0310-9956-ffa450edef68
2000-05-01 21:52:18 +00:00
54b4528cc6 Cleanup the STATUS file a bit.
--  Configuration modules have been rejected
    --  make install works already.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85122 13f79535-47bb-0310-9956-ffa450edef68
2000-05-01 21:46:19 +00:00
85a9f216b6 Final .dsp changes to produce the lightest weight builds
without precompiled headers or source browse files under
  Win32.  Enabling these is straightforward, if that's what
  the user desires.  Also correct minor errors, and reset
  some project defaults to their current config.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85121 13f79535-47bb-0310-9956-ffa450edef68
2000-05-01 16:51:24 +00:00
607d91d897 add missing ';' in non-ASCII path
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85120 13f79535-47bb-0310-9956-ffa450edef68
2000-05-01 15:56:26 +00:00
624a66585b Just a last few files to ignore in the installed Win32 tree.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85119 13f79535-47bb-0310-9956-ffa450edef68
2000-05-01 15:47:31 +00:00
6d9adaf3a8 Significantly shorten the Win32 build and shrink symbol tables
for precompiled headers and debugging by eliminating large chunks
  of the windows.h declarations, especially the graphical user
  interface declarations.

  Also eliminates redundant inclusion of winsock and windows headers.
  As the GUI sections can be included by adding the windows.h include
  prior to any apr headers, these includes now imply something
  completely different.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85117 13f79535-47bb-0310-9956-ffa450edef68
2000-05-01 14:40:03 +00:00
f8e8de348f Make install target work on AIX.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85116 13f79535-47bb-0310-9956-ffa450edef68
2000-04-30 22:30:23 +00:00
5c5d265c73 Use F_SETFL for setting the O_NONBLOCK status flag. F_SETFD is for setting
file descriptor flags (like FD_CLOEXEC).

PR: #47


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85115 13f79535-47bb-0310-9956-ffa450edef68
2000-04-30 21:42:46 +00:00
0a29229315 Make piped logs work again in 2.0. The next step is reliable piped logs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85114 13f79535-47bb-0310-9956-ffa450edef68
2000-04-30 21:21:51 +00:00
6a0e55e698 Add VPATH support to Apache:
os/$(OS_DIR) is now equivalent to the old $(OS_DIR)

  Necessary include paths are added only in VPATH mode.

  Dependencies are stored in the build directory now.
  They contain paths which depend on the current build,
  and therefore they are not general.

  Fixed two dependencies in main/Makefile.in.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85113 13f79535-47bb-0310-9956-ffa450edef68
2000-04-30 18:27:18 +00:00
998b29182f Most of the support programs are created during the build, so we can expect
them to be in $(builddir).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85111 13f79535-47bb-0310-9956-ffa450edef68
2000-04-30 15:51:37 +00:00
6c2a300d10 Always create the target directory, if it does not exist. Also use the
Makefile template from the source tree.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85110 13f79535-47bb-0310-9956-ffa450edef68
2000-04-30 15:50:42 +00:00
88fdb2fda3 We want to build in the build dir, not the src dir.
s/top_srcdir/top_builddir/


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85109 13f79535-47bb-0310-9956-ffa450edef68
2000-04-30 15:49:32 +00:00
0ce9111af4 Allow for help messages for modules.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85105 13f79535-47bb-0310-9956-ffa450edef68
2000-04-30 15:19:30 +00:00
bb5807c705 Work around the non-working pthread.h detection on OpenBSD.
We can savely assume that pthread.h exists on every system which
supports Pthreads.

PR: #29


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85104 13f79535-47bb-0310-9956-ffa450edef68
2000-04-30 02:31:07 +00:00
110f9d862d Get rid of last relative include path in our Makefiles
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85103 13f79535-47bb-0310-9956-ffa450edef68
2000-04-30 02:28:14 +00:00
99fa11cb5f Overall UNIX build system improvements:
* Makefile header is now completely dynamic
* Absolute paths everywhere
  (fixes Tru64 support)
* Get rid of LTLIBRARY_SHARED_NAME rule in library.mk
  (fixes Irix support, untested)
* VPATH does not contain variables anymore
  (fixes UnixWare support)
* Remove inclusion of program.mk in support/Makefile.in
  (PROGRAM_NAME is empty => breaks Irix and others)
* Call REENTRANCY_FLAGS earlier, so that flags are passed to header checks
  (might fix OpenBSD pthread.h-detection, untested)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85102 13f79535-47bb-0310-9956-ffa450edef68
2000-04-30 00:06:07 +00:00
0cfb1d0be3 Add ap_sigwait() to support old-style sigwait().
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85101 13f79535-47bb-0310-9956-ffa450edef68
2000-04-29 23:57:54 +00:00
d2892da2e6 Update some docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85100 13f79535-47bb-0310-9956-ffa450edef68
2000-04-29 19:06:35 +00:00
716eb6da71 PR:
Obtained from:
Submitted by:
Reviewed by:

  Sorry I missed one.  I -really- believe now that ap.h can now be safely swept
  out to the attic, but I will leave for someone in unix to test and confirm.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85099 13f79535-47bb-0310-9956-ffa450edef68
2000-04-29 16:23:46 +00:00
c922c0d50d PR:
Obtained from:
Submitted by:	William Rowe
Reviewed by:

  With this change, I believe that ap.h can now be safely swept out to
  the attic, but I will leave for at least one other to confirm.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85098 13f79535-47bb-0310-9956-ffa450edef68
2000-04-29 16:16:18 +00:00
85845c9bcb PR:
Obtained from:
Submitted by:	William Rowe
Reviewed by:

  Created ap_base64.h to extract those declarations for clarity from ap.h

  CORE_PRIVATE, httpd.h do not belong in library functions, removed from ap.lib

  Use apr headers for declarations in ap.lib stuff, kill AP_LONG from ap_sha1.h

  Move credit to lib/apr/lib/ap_snprintf.c from ap.h for authorship


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85097 13f79535-47bb-0310-9956-ffa450edef68
2000-04-29 16:00:33 +00:00
0a3f836975 Get rid of NO_RECURSION. This was originally implemented for PHP and is not
used by Apache (will soon be obsolete in PHP as well).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85096 13f79535-47bb-0310-9956-ffa450edef68
2000-04-29 14:43:10 +00:00
603a6eca53 PR:
Obtained from:
Submitted by:	William Rowe
Reviewed by:

  Sorry, trying to watch for those no-newline edits... let one slip by.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85089 13f79535-47bb-0310-9956-ffa450edef68
2000-04-28 20:42:28 +00:00
e5954e618f PR:
Obtained from:
Submitted by:	William Rowe
Reviewed by:

  Second round of changes to assure Win32 droppings don't infect the tree.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85088 13f79535-47bb-0310-9956-ffa450edef68
2000-04-28 20:40:01 +00:00
42f60d5e0d PR:
Obtained from:
Submitted by:	William Rowe
Reviewed by:

  Not good... can't be adding to the makefile.win list of files to copy
  without adding to the list of projects to build :-|


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85087 13f79535-47bb-0310-9956-ffa450edef68
2000-04-28 20:10:09 +00:00
7d4602b4ae PR:
Obtained from:
Submitted by:	William Rowe
Reviewed by:

  First round of .cvsignore changes for Win32's droppings


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85086 13f79535-47bb-0310-9956-ffa450edef68
2000-04-28 19:58:06 +00:00
de87338df2 Update the version string for the current dev version.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85085 13f79535-47bb-0310-9956-ffa450edef68
2000-04-28 19:03:15 +00:00
78b0a254fd Update version information for 3rd alpha.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85084 13f79535-47bb-0310-9956-ffa450edef68
2000-04-28 18:41:53 +00:00