742318b93e89c311f66b55f426c4d9cf2c14628b 1174748 |
|
23-Sep-2011 |
jim |
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change |
72e3829dbd019a63b1091987fc6e7b1c028b089c 998701 |
|
19-Sep-2010 |
minfrin |
mod_include: Move the request_rec within mod_include to be
exposed within include_ctx_t. |
0eb136e744b80f60bcc59cf4a88c3f6530bf7645 572136 |
|
02-Sep-2007 |
minfrin |
Move the accessenable variable into the private ssi_internal_ctx structure
instead of the public include_ctx_t structure. |
9c97e6302f7624855e1909b35d448a5a2d5a4378 571872 |
|
01-Sep-2007 |
minfrin |
mod_include: Add an "if" directive syntax to test whether an URL
is accessible, and if so, conditionally display content. This
allows a webmaster to hide a link to a private page when the user
has no access to that page. |
842ae4bd224140319ae7feec1872b93dfd491143 420983 |
|
11-Jul-2006 |
fielding |
update license header text |
3d81f57512275ca06a60a9bcbd23c1f8b429fdf2 395228 |
|
19-Apr-2006 |
colm |
Update the copyright year in all .c, .h and .xml files |
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8 263931 |
|
29-Aug-2005 |
ianh |
Doxygen fixup / cleanup
submited by: Neale Ranns neale ranns.org
reviewed by: Ian Holsman |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
78cd48acd325773619d78ac0d7263a99a8922fae 102618 |
|
09-Feb-2004 |
nd |
fix name of The Apache Software Foundation |
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dc 102525 |
|
06-Feb-2004 |
nd |
apply Apache License, Version 2.0 |
26a4456dd6f1a5d7d7fff766551461a578687c4a 102135 |
|
01-Jan-2004 |
nd |
update license to 2004. |
98ebafaf350a6b091fe22c2899a80f7855c70a66 101069 |
|
23-Aug-2003 |
nd |
drop superfluous argument from ap_ssi_parse_string.
The new API should now be stable. |
f653f18d041eee9b4f4d5cbfff9bb51d46390f60 101051 |
|
22-Aug-2003 |
nd |
these should be const. |
31cd7345e3f8257a89ef1f5ab344fb037c0d941f 101046 |
|
22-Aug-2003 |
nd |
bump mod_include's external API. The API is now more simple and expected
to be better extensible without breaking binary compatibility, since an
opaque pointer to internal structures is part of the public context.
(We can easily add APi functions that operate on this internal struct).
I've tried to keep this change as small as possible - sorry for the big
diff though, but the commit should be atomic. mod_cgi and mod_cgid won't
compile until the next commit, anyway. |
6c4c113ce85934b11c9e78399e1bb8ec7a568af9 101036 |
|
20-Aug-2003 |
nd |
major overhaul of mod_include's filter parser. Note that the new code
contains a thin wrapper to ensure binary compatibility. (needed for
2.0 backport).
This is a two-tiered commit for better diffs. This one inserts the new
code (old code #if'd out). |
33bdcae1f7a1a65e351dda2a766a0cf28b1e695d 98573 |
|
03-Feb-2003 |
nd |
finished that boring job:
update license to 2003.
Happy New Year! ;-)) |
9879245661cccfaece04770166d76312431446f7 95542 |
|
06-Jun-2002 |
wrowe |
Need to grok optional fns. |
2fc50921b88defeb7127985dfe4b4130175e069e 94304 |
|
29-Mar-2002 |
jwoolley |
BUCKET FREELISTS
Add an allocator-passing mechanism throughout the bucket brigades API.
From Apache's standpoint, the apr_bucket_alloc_t* used throughout a given
connection is stored in the conn_rec by the create_connection hook. That
means it's the MPM's job to optimize recycling of apr_bucket_alloc_t's --
the MPM must ensure that no two threads can ever use the same one at the
same time, for instance. |
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986 93918 |
|
13-Mar-2002 |
fielding |
Update our copyright for this year. |
c8678fa7a8dd6c93f5cdab3745240eaa03c80637 93678 |
|
03-Mar-2002 |
jwoolley |
Paren-protect macro arguments when used. (This will be needed later when
the bucket api gets changed.)
Submitted by: Brian Pane |
83ca150ef902e9692972aa923e893bc6406d20f1 93553 |
|
23-Feb-2002 |
ianh |
make it work with flushes
make the false alarm not as generic
PR:
Obtained from:
Submitted by:
Reviewed by: Ian, Brian, Justin |
7f7ba3f0537003a359c42170aee14a101d7fe917 92747 |
|
06-Jan-2002 |
brianp |
Eliminated various large (8KB) string buffers from the stack in
mod_include by adding support for a power-of-two pool-based allocator
in ap_ssi_parse_string(). (The default operation of this function
is backward-compatible, to support the other modules that call it.)
This change should help reduce memory usage for servers delivering
shtml pages. |
c6a9d49433c9ba5b18b26c3d764f1bbcb9746090 92676 |
|
31-Dec-2001 |
wrowe |
Ever tried to extract some value of QUERY_STRING from within SSI?
Now you can :) Provides $0..$9 results for any regex evaluation,
and strengthens the expr parser for regex expressions. |
51be7fc538641ed7cb22e959eb31629f7183f70f 92660 |
|
30-Dec-2001 |
ianh |
allow mod_include to handle different start/end tags instead of the default
<!-- --> ones.
PR:
Obtained from:
Submitted by:
Reviewed by: |
ba00c3b7c20f00ce631b89ae3b1cd3bae8d1b165 91963 |
|
15-Nov-2001 |
rbb |
Fix a file descriptor leak in mod_include. When we include a
file, we use a sub-request, but we didn't destroy the sub-request
immediately, instead we waited until the original request was
done. This patch closes the sub-request as soon as the data is
done being generated.
This passes all tests in the test suite.
Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Ryan Bloom and Cliff Woolley |
17bdb8862482dff763afd4d86a58de533afff4ca 91866 |
|
12-Nov-2001 |
jwoolley |
Remove the returned-length "w" parameter from apr_bucket_heap_create()
and apr_bucket_heap_make(). It was useless, since the length is invariant
from the length passed in and from the resulting bucket's b->length. This
takes care of a long-standing issue first brought up in February and
discussed on the dev@apr list. (Issue #2 from the "Bucket API Cleanup
Issues" thread.)
See http://marc.theaimsgroup.com/?l=apr-dev&m=98324983126666&w=2
Reviewed by: Ryan Bloom (concept) |
7f1533cc21a93c0744bd40e697ba610a5b1cb68f 91859 |
|
11-Nov-2001 |
ianh |
This patch zero-fills just the integer and pointer fields in
the structure, plus the first byte of each of the string buffers.
This updated version of the patch doesn't allocate space for
the error_str and time_str buffers in the mod_include filter
context until/unless they're actually needed.
--Brian
Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Ian Holsman |
e099672a13ea4ff4a11f130406f1baecba5949ba 90869 |
|
02-Sep-2001 |
jerenkrantz |
Make mod_include check for BYTE_COUNT_THRESHOLD on a per-bucket basis
rather than on a per-character basis. A significant amount of time
was spent checking the limit. A better place to check for the threshold
is when we read the bucket in not as we read each character in the bucket.
If a bucket manages to be 200MB, it is not this code's problem as it
is a mere filter.
I ran this with the mod_include stuff in httpd-test and it looks good
from here.
Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Justin Erenkrantz, Ryan Bloom, Greg Stein, Cliff Woolley,
Paul Reder, etc, etc, etc... |
4d003677925ceb0abefb9c95355b4c9e9e502899 90735 |
|
27-Aug-2001 |
rederpj |
Moved split_and_pass_pretag_buckets back to being a
macro at Ryans's request. Removed the return from it
by setting and returning a return code instead. Updated
the code to check the return code from teh macro and
do the right thing. |
53b8cdb3621b11b897438d8990d20e0b78f0d4b7 90554 |
|
23-Aug-2001 |
rederpj |
Fix for mod_include. Ryan's patch to check error
codes put a return in the wrong place. Also, the
include handler return code wasn't being checked.
I don't like macros with returns, so I converted
SPLIT_AND_PASS_PRETAG_BUCKETS into a function. |
b44b4de016a9fb7bd378e8b1b484df53131cbedf 89902 |
|
03-Aug-2001 |
rbb |
Handle the ap_pass_brigade inside the SPLIT_BRIGADE... macro. |
bfd43a0d7c378ab28f80f013a7c0931562774ee3 88936 |
|
25-Apr-2001 |
jwoolley |
Fix a reference to "ctx" in mod_include's CREATE_ERROR_BUCKET macro
to "cntx", which is the actual name of the argument to that macro. It
accidentally worked before because all of the callers of the macro happen
to be passing in a variable named "ctx". If one of them were to ever try
to pass in a context named something else, bad things would happen. |
e08a1745d191d666759873a50edcc520ca273e12 88785 |
|
10-Apr-2001 |
wrowe |
change include_handler to include_handler_fn_t, and clean up a nasty
explicit cast that could float from the include_handler_fn_t declaration. |
33404444ac325fa222785ca5f378a242c78da0ae 88782 |
|
10-Apr-2001 |
wrowe |
We seem to use fn_t *fn throughout the rest of apache, so normalize this
syntax for mod_include's include_handler(_t) |
b42a7e46e4f80282bd27e96d43c9510b14ccb9aa 88417 |
|
02-Mar-2001 |
rbb |
Modify mod_include to send blocks of data no larger than 9k.
Without this, mod_include will wait until the whole file is parsed,
or the first tag is found to send any data to the client.
Submitted by: Paul J. Reder <rederpj@raleigh.ibm.com> |
cd33213135c92372051b7fa4f617c3d5848e6eb0 88277 |
|
22-Feb-2001 |
rbb |
Remove a semicolon from a macro. This makes things a bit more readable,
and it makes this macro look like the rest of our macros. |
138c8f7cb8254e035c6f45288e3909cd9c21be5c 88189 |
|
16-Feb-2001 |
martin |
Rename the module structures so that the exported symbol matches
the file name, and it is easier to automate the installation
process (generating LoadModule directives from the module filenames).
Next step is to remove the 4th argument to the APACHE_MODULE macro
completely and require people to use the matching names, and to
reduce the LoadModule directive to 1 argument.... Objections? |
b99dbaab171d91e1b664397cc40e039d0c087c65 88184 |
|
16-Feb-2001 |
fielding |
Update copyright to 2001 |
066877f1a045103acfdd376d48cdd473c33f409b 88019 |
|
08-Feb-2001 |
dougm |
renaming various functions for consistency sake
see: http://apr.apache.org/~dougm/apr_rename.pl
PR:
Obtained from:
Submitted by:
Reviewed by: |
2cfa4a3d464d1ce4d6eee58ea899501ba78957a0 87991 |
|
06-Feb-2001 |
trawick |
move the instantiation of includes_module out of mod_include.h |
445997e06464e7625c7f0e22917f8f2d9876cfff 87984 |
|
05-Feb-2001 |
rbb |
Move the logic for creating CGI processes from mod_include to mod_cgi(d).
This removes a good deal of duplicate logic for creating CGI scripts. |
4b13b6bcdcfae61d3c58cc2569757651f28f2bbf 87754 |
|
20-Jan-2001 |
rbb |
Remove ap_chdir_file. This function is not thread-safe, and nobody
is currently using it. The proper way to do this, is to use the
apr_create_process API. |
b980ad7fdc218b4855cde9f75a747527f50c554d 87731 |
|
19-Jan-2001 |
wrowe |
The big change. This is part 3 of the apr-util symbols rename, please
see the first commit of srclib/apr-util/include (cvs apr-util/include)
for the quick glance at symbols changed. |
db3fa7db7c7910f2f23c3e3ffe0cf9f41a1899b9 87460 |
|
20-Dec-2000 |
trawick |
Switch to the APR-provided APR_CHARSET_EBCDIC feature test macro. |
886cd69ebf69e990dbc365be87ff8ea7cd681904 87424 |
|
19-Dec-2000 |
rbb |
Force all Apache functions to be linked into the executable, whether they
are used or not. This uses the same mechanism that is used for APR
and APR-util. This may not be the correct solution, but it works, and that
is what I really care about. This also renames CHARSET_EBCDIC to
AP_CHARSET_EBCDIC. This is for namespace correctness, but it also makes
the exports script a bit easier. |
f6e9f5600e77b78fb013bb543d364135961639d1 87241 |
|
07-Dec-2000 |
rbb |
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 |
23801cf373ddaff5a5ba7692d2637d75bdffdc4b 87099 |
|
28-Nov-2000 |
trawick |
Change some apr_ssize_t uses to apr_size_t.
Submitted by: Victor J. Orlikowski
Reviewed by: Jeff Trawick |
cd36eaa1f276d94ef45e8665cc701ac1d5fc5ba3 87094 |
|
27-Nov-2000 |
trawick |
fix a bunch of apr_ssize_t/apr_size_t discrepancies |
18343797fadabacf01280b38ea7688690d12aec0 87067 |
|
22-Nov-2000 |
rbb |
A complete re-write of mod_include. This has served the entire manual
now. This makes mod_include a filter that uses buckets directly.
Submitted by: Paul J. Reder <rederpj@raleigh.ibm.com>
Reviewed by: Ryan Bloom |