appendixc.tex

Checkout Tools
  • last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Documentation housecleaing. Added "Changes from Version 3.3.1" to Appendix.

Update notes in change log in respect of companion functions needed to use

req.meets_condition().

(MODPYTHON-170) Added req._request_rec, server._server_rec and

conn._conn_rec semi private members for getting accessing to underlying

Apache struct as a Python CObject. These can be used for use in

implementing SWIG bindings for lower level APIs of Apache. These members

should be regarded as experimental and there are no guarantees that they

will remain present in this specific form in the future.

  1. … 5 more files in changeset.
(MODPYTHON-93) Made assignment using the subscript operator against the

FieldStorage class act like a dictionary. In other words, any existing values

against a field are replaced with a single value rather than an additional

value being added against the field.

  1. … 2 more files in changeset.
(MODPYTHON-129) Changed how return status of stacked handlers registered

against PythonHandler phase are interpreted. Subsequent stacked content

handlers are now executed when apache.DECLINED is returned as well as when

apache.OK is returned.

  1. … 4 more files in changeset.
(MODPYTHON-207) The attribute req.args is now modifiable and can be set

from within handlers.

  1. … 2 more files in changeset.
The attribute req.used_path_info is now modifiable and can be set from

within handlers. This is equivalent to having used the AcceptPathInfo

directive.

  1. … 4 more files in changeset.
(MODPYTHON-143) Added entry to list of changes for implementation of new

module importer.

(MODPYTHON-195) Fix potential Win32 resource leaks in parent Apache process

when process restarts occur.

  1. … 3 more files in changeset.
(MODPYTHON-191) Session class will no longer accept a normal cookie if a

signed cookie was expected.

(MODPYTHON-200) Fixed problem whereby signed and marshalled cookies could

not be used at the same time. When expecting marshalled cookie, any signed,

but not marshalled cookies will be returned as normal cookies.

  1. … 8 more files in changeset.
Reorganized the changes section of appendix in prepartion for 3.3 release.

(MODPYTHON-198) Fixed code supporting nested auth/access/realm details inside

of functions in mod_python.publisher that was broken by Python 2.5.

  1. … 1 more file in changeset.
(MODPYTHON-193) Added new req.hlist.location attribute so that value to a

Location/LocationMatch directive can be determined. Also fixed crash when

req.hlist is accessed from inside a filter and do some restructuring of how

errors are logged and displayed back to browser.

  1. … 9 more files in changeset.
(MODPYTHON-196) Added log_error() methods to server and connection objects.

Also removed some unused variables which were causing compiler warnings.

  1. … 8 more files in changeset.
(MODPYTHON-128) Removed apache.lstat() due to apr_lstat() having being

deprecated in Apache 2.2. Similar outcome can be had by supplying

APR_FINFO_LINK flag with arguments to apache.stat().

  1. … 5 more files in changeset.
(MODPYTHON-194) Fixed potential memory leak when thread state objects weren't

cleared before they were being deleted.

  1. … 3 more files in changeset.
(MODPYTHON-180) Publisher would wrongly output a warning about nothing to

publish if req.write() or req.sendfile() used and data not flushed, and

then published function returned None.

  1. … 5 more files in changeset.
Added missing latex directive \item

(MODPYTHON-189) Fixed representation returned by calling repr() on a table

object. Note this was committed as part of change for MODPYTHON-187.

(MODPYTHON-187) Table objects could crash in various ways when the value of

an item was NULL. This could occur for SCRIPT_FILENAME when the

req.subprocess_env table was accessed in the post read request handler

phase.

  1. … 2 more files in changeset.
(MODPYTHON-159) Fix FieldStorage class so that it can handle multiline

headers.

  1. … 2 more files in changeset.
(MODPYTHON-171) Reverted changes which resulted in automatic normalisation

of path assigned to req.filename. This is because req.filename is sometimes

used to pass values which isn't strictly a path between handlers. For example

when setting up proxy-server module. Doing normalisation in this case would

thus cause these handlers to fail as extraneous leading slash could be

added to req.filename.

  1. … 3 more files in changeset.
(MODPYTHON-184) Documentation on fix to memory leak in apache.make_table().

(MODPYTHON-128) Changed req.finfo to be an object where fields of underlying

fields of apr_finfo_t structure are accessed as object attributes. Tuple

style access is still maintained for backward compatability. The req.finfo

attribute is now also writable and can be assigned with the result of calling

new functions apache.stat() and apache.lstat().

  1. … 13 more files in changeset.
(MODPYTHON-165) Exported functions from mod_python module to be used in

other third party modules for Apache. The purpose of these functions is to

allow those other modules to access the mechanics of how mod_python creates

interpreters, thereby allowing other modules to also embed Python and for

there not to be a conflict with mod_python.

  1. … 3 more files in changeset.
Fixed segfault in psp.parsestring(src) where src = "".

(MODPYTHON-185)

  1. … 1 more file in changeset.
Reorganized the "Changes from ..." sections in appendexc.tex.

When handler directives are used within Directory or DirectoryMatch

directives where wildcards or regular expressions are used, the handler

directory will now be correctly set to the shortest directory matched by

the directory pattern, whereas previously it was being left as the

pattern which meant that modules located with that directory weren't

able to be loaded.

  1. … 11 more files in changeset.
(MODPYTHON-171) When a pathname is assigned to req.filename, the pathname

will be normalised with the result being a POSIX style pathname as required

by Apache.

  1. … 4 more files in changeset.
(MODPYTHON-84) Further fix related to symlinks in req.sendfile() not noted

in changes list of documentation.