You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-commits@quetz.apache.org by jg...@apache.org on 2005/08/17 01:55:35 UTC
svn commit: r233082 - in /httpd/mod_python/trunk: Doc/appendixc.tex NEWS
README
Author: jgallacher
Date: Tue Aug 16 16:55:32 2005
New Revision: 233082
URL: http://svn.apache.org/viewcvs?rev=233082&view=rev
Log:
Updated docs for pending 3.2.0 beta release.
Modified:
httpd/mod_python/trunk/Doc/appendixc.tex
httpd/mod_python/trunk/NEWS
httpd/mod_python/trunk/README
Modified: httpd/mod_python/trunk/Doc/appendixc.tex
URL: http://svn.apache.org/viewcvs/httpd/mod_python/trunk/Doc/appendixc.tex?rev=233082&r1=233081&r2=233082&view=diff
==============================================================================
--- httpd/mod_python/trunk/Doc/appendixc.tex (original)
+++ httpd/mod_python/trunk/Doc/appendixc.tex Tue Aug 16 16:55:32 2005
@@ -1,31 +1,131 @@
-\chapter{Changes from Previous Major Version (2.x)\label{app-changes}}
+\chapter{Changes from Version (3.1.4)\label{app-changes}}
-\indexii{Changes from}{version 2.x}
+\indexii{Changes from}{version 3.1.4}
+
+ New Features
+
+ \begin{itemize}
+ \item
+ New apache.register_cleanup() method.
+ \item
+ New file-based session manager class.
+ \item
+ Session cookie name can be specified.
+ \item
+ The maximum number of mutexes mod_python uses for session locking
+ can now be specifed at compile time using
+ \code{configure --with-max-locks}.
+ \item
+ New a version attribute in mod_python module.
+ \item
+ New test handler \code{testhandler.py} has been added.
+ \end{itemize}
-\begin{itemize}
+ Improvements
-\item
-Mod_python 3.0 no longer works with Apache 1.3, only Apache 2.x is
-supported.
-\item
-Mod_python no longer works with Python versions less than 2.2.1
-\item
-Mod_python now supports Apache filters.
-\item
-Mod_python now supports Apache connection handlers.
-\item
-Request object supports internal_redirect().
-\item
-Connection object has read(), readline() and write().
-\item
-Server object has get_config().
-\item
-\index{Httpdapy} \index{httpdapi}
-Httpdapi handler has been deprecated.
-\item
-\index{ZPublisher}
-Zpublisher handler has been deprecated.
-\item
-Username is now in req.user instead of req.connection.user
+ \begin{itemize}
+ \item
+ Autoreload of a module using apache.import_module() now works if
+ modification time for the module is different from the file.
+ Previously, the module was only reloaded if the the modification
+ time of the file was more recent. This allows for a more graceful
+ reload if a file with an older modification time needs to be
+ restored from backup.
+ \item
+ Iterable return values are now correctly published
+ \item
+ Fixed the traversal security issue
+ \item
+ mod_python.c now logs reason for a 500 error
+ \item
+ Calls to PyErr_Print in mod_python.c are now followed by fflush()
+ \item
+ Using an empty value with PythonOption will unset a PythonOption key.
+ \item
+ Improvments to FieldStorage allow uploading of large files. Uploaded
+ files are now streamed to disk, not to memory.
+ \item
+ Path to flex is now discovered at configuration time or can be
+ specifed using \code{configure --with-flex=/path/to/flex}.
+ \end{itemize}
+ Bug Fixes
+
+ \begin{itemize}
+ \item
+ Fixed memory leak which resulted from circular references starting
+ from the request object.
+ \item
+ Fixed Multiple/redundant interpreter creation problem.
+ \item
+ Cookie attributes with attribute names prefixed with
+ \$ are now ignored. See Section \ref{pyapi-cookie} for more
+ information.
+ \item
+ Bug in setting up of config_dir from Handler directives fixed.
+ \item
+ mod_python.publisher will now support modules with the same name
+ but in different directories
+ \item
+ Fixed continual reloading of modules problem
+ \item
+ Fixed big marshalled cookies error.
+ \item
+ Fixed mod_python.publisher extension handling
+ \item
+ mod_python.publisher default index file traversal
+ \item
+ mod_python.publisher loading wrong module and giving no
+ warning/error
+ \item
+ apply_fs_data() now works with "new style" objects
+ \item
+ File descriptor fd closed after ap_send_fd() in req_sendfile()
+ \item
+ Bug in mem_cleanup in MemorySession fixed.
+ \item
+ Fixed bug in _apache._global_lock() which could cause a segfault
+ if the lock index parameter is greater number of mutexes created
+ at mod_python startup.
+ \item
+ Fixed bug where local_ip and local_host in connection object
+ were returning remote_ip and remote_host instead
+ \item
+ Fixed install_dso Makefile rule so it only installs the dso, not the
+ python files
+ \item
+ Potential deadlock in psp cache handling fixed
+ \item
+ Fixed bug where sessions are used outside <Directory> directive.
\end{itemize}
+
+\chapter{Changes from Previous Major Version (2.x)\label{app-changes}}
+
+\indexii{Changes from}{version 2.x}
+
+ \begin{itemize}
+
+ \item
+ Mod_python 3.0 no longer works with Apache 1.3, only Apache 2.x is
+ supported.
+ \item
+ Mod_python no longer works with Python versions less than 2.2.1
+ \item
+ Mod_python now supports Apache filters.
+ \item
+ Mod_python now supports Apache connection handlers.
+ \item
+ Request object supports internal_redirect().
+ \item
+ Connection object has read(), readline() and write().
+ \item
+ Server object has get_config().
+ \item
+ \index{Httpdapy} \index{httpdapi}
+ Httpdapi handler has been deprecated.
+ \item
+ \index{ZPublisher}
+ Zpublisher handler has been deprecated.
+ \item
+ Username is now in req.user instead of req.connection.user
+ \end{itemize}
Modified: httpd/mod_python/trunk/NEWS
URL: http://svn.apache.org/viewcvs/httpd/mod_python/trunk/NEWS?rev=233082&r1=233081&r2=233082&view=diff
==============================================================================
--- httpd/mod_python/trunk/NEWS (original)
+++ httpd/mod_python/trunk/NEWS Tue Aug 16 16:55:32 2005
@@ -1,3 +1,5 @@
+Aug 16 2005 - 3.2.0b is being tagged
+
Feb 17 2004 - 3.1.3 is being tagged
Oct 14 2003 - 3.1.1b is tagged
Modified: httpd/mod_python/trunk/README
URL: http://svn.apache.org/viewcvs/httpd/mod_python/trunk/README?rev=233082&r1=233081&r2=233082&view=diff
==============================================================================
--- httpd/mod_python/trunk/README (original)
+++ httpd/mod_python/trunk/README Tue Aug 16 16:55:32 2005
@@ -3,9 +3,10 @@
1. Getting Started
-2. New in 3.0
-3. Migrating from Mod_Python 2.7.8
-4. OS Hints
+2. New in 3.2
+3. New in 3.0
+4. Migrating from Mod_Python 2.7.8
+5. OS Hints
@@ -28,7 +29,10 @@
If the above worked - read the tutorial in the doc directory.
-2. New in 3.0
+2. New in 3.2
+ Please refer to doc-html/ for more information.
+
+3. New in 3.0
o Compatibility with Apache Httpd 2.0 and Python 2.2. (Apache Httpd
1.3 and versions of Python prior to 2.2 will not work.)
@@ -42,7 +46,7 @@
o A basic test suite.
o Many other miscellaneous and internal changes.
-3. Migrating from Mod_Python 2.7.8.
+4. Migrating from Mod_Python 2.7.8.
First, this version of Mod_Python requires Apache Httpd 2, and Python
2.2. (Python 2.2.2 and Apache Httpd 2.0.43 are latest at the time of
@@ -75,7 +79,7 @@
It appears that req.server.port is 0 always, but if you need the local
port number, you can look at req.connection.local_addr.
-4. OS Hints
+5. OS Hints
FreeBSD: