Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

...
This comparison is big! We're only showing the most recent 250 commits
Commits on Apr 27, 2005
nlehuen Graham's fix for MODPYTHON-48. ad960e3
nlehuen Bumped version number. 507b16a
nlehuen Added two tests to check the publisher behaviour.
1) We are testing whether the publisher looks for index.py when receiving a directory/ request.
2) We are testing whether the publisher does fallback to the index.py module found in a directory when it receives a directory/function request instead of directory/index.py/function.
68f0a9f
nlehuen Tentative fix for MODPYTHON-8 and MODPYTHON-9. 8937917
Commits on Apr 28, 2005
nlehuen Latest version of FileSession by Jim Gallacher. This one does the ses…
…sion cleanup after the request takes place, thanks to register_cleanup, and uses a grace period to prevent valid sessions from being erased.
9ee58b3
nlehuen Fixed the problem with FileSession under Win32 : the session file had…
… to be opened (for read & write) in binary mode.
7ff3695
Commits on Apr 30, 2005
nlehuen Fix for MODPYTHON-32. 1174d67
nlehuen Fix for MODPYTHON-41 aa63af5
nlehuen FileSession integrated into Session.py. fe44dba
nlehuen Added a test for MODPYTHON-49. 4b2e083
nlehuen Fix for MODPYTHON-49. de8c351
nlehuen Fix for MODPYTHON-50. bc4cb42
Commits on May 01, 2005
nlehuen Changed apply_fs_data to support new-style classes as well as old-sty…
…le classes.
d59209a
nlehuen New version of the publisher with support for old-style & new-style c…
…lasses, iterators and generators.
b666610
nlehuen Reverted the change after the mistake I've made during the branch (oo…
…ps).
0c12f70
nlehuen Documentation fix for MODPYTHON-39. 3c07dec
nlehuen Documentation fix for MODPYTHON-42. 89d8604
nlehuen Added a test handler for MODPYTHON-28. Needs some documentation now. 3032146
nlehuen f5891af
nlehuen Added a few files to the ignore list, so that we're not annoyed durin…
…g a commit.
ac3419a
nlehuen Added a warning in the "Testing" section : the instructions are for m…
…od_python 3.x, NOT 2.7.x.
110016c
Commits on May 08, 2005
nlehuen Fix a compilation error which is detected by GCC 3.4 but not by MSVC7. 36792a2
Commits on May 10, 2005
nlehuen Integrated Jim Gallacher's fixes for setup.py.in : better support for…
… Unix builds.
a229b8a
Commits on May 13, 2005
nlehuen Working on MODPYTHON-54 - this does not work yet, but it does not bre…
…ak anything.
8dd51e6
Commits on May 18, 2005
nlehuen Implemented MODPYTHON-54 - we need a bit of documentation, now... 9bd8854
Commits on May 19, 2005
nlehuen Fix for MODPYTHON-55 : added a version attribute to the mod_python pa…
…ckage.
e68dcc1
nlehuen 56c345b
Commits on May 20, 2005
nlehuen The module cache now uses real module objects (obtained through new.m…
…odule) instead of custom modules.
5e76a72
nlehuen Dropped the import_page function as I don't want to get into the busi…
…ness of recursively managing module dependencies yet. Everything can be done with get_page in a much safer (yet less elegant) way.
04f6c12
nlehuen Keyword Id on build_installer.bat 62a376f
nlehuen Better detection of a Win32 install. 29f256a
Commits on May 24, 2005
nlehuen The module names cannot be "strange names", i.e. contain path separat…
…ors or dots. I guess this is due to the relative import mechanisms.
fc3e5d7
Commits on May 28, 2005
nlehuen Fix for MODPYTHON-57 66ee06f
nlehuen Added a few lines to explain how testing is performed. Also explained…
… how to use the new mod_python.testhandler.
db4655e
Commits on May 31, 2005
nlehuen Jim Gallacher's small fixes on the documentation. 32ae488
nd fix line endings 8e55d68
Commits on Jun 12, 2005
nlehuen Rewrote the tp_dealloc, tp_traverse and tp_clear handlers in a better…
… way, ready for extension.
c3012cd
Commits on Jun 13, 2005
jgallacher Fixed Session.DFT_TIMEOUT issue mentioned in MODPYTHON-45 08ac0e3
Commits on Jun 14, 2005
jgallacher Added request.get_session() support as described in MODPYTHON-59 18cfaa7
jgallacher Fixed documentation errors.
The lockfile parameter for Session and BaseSession is no longer used but
is still mentioned in the documentation.
29d2c9b
Commits on Jun 20, 2005
nlehuen Bumped version number for build. 1751c42
jgallacher Added comment on the return value or exception raised by request.send…
…file().
4b1aced
Commits on Jun 21, 2005
jgallacher Fixed memory leak by decreasing the reference count of the requestobj…
…ect.

Ref MODPYTHON-59
1b4de61
jgallacher create_session now gets the type session type to create from the apache
config as defined by PythonOption session name_of_session_class.
Ref MODPYTHON-59
59dba64
jgallacher Changed FileSession to use muliple directories to store session files.
Fix results in a substantial performance improvement when there are a large number of session files.
Ref MODPYTHON-45
8e3d4ba
jgallacher Changed run() to call req.get_session() when it needs to create a ses…
…sion.

If a session was previously created with req.get_session(), the current session instance is returned, other wise a new one is created.
This solves potential deadlock issues if the user previously created a session and called run() without unlocking the session.
Ref MODPYTHON-38
ebd7c8d
Commits on Jun 22, 2005
nlehuen Removed the file encoding because it is not needed and this could cau…
…se problems due to a bug in Python 2.4.1.
cec4403
Commits on Jun 24, 2005
jgallacher Moved release instructions from Makefile.in to separate file. dead00b
Commits on Jun 25, 2005
jgallacher Put session classes in alphabetic order. d9690fd
jgallacher Added a stub for the FileSession documentation. 841b9a1
jgallacher Added --with-python-src to configure.in to aid in building the docume…
…ntation.

The path to the python source, which is required to build the docs, can now be specified at configure time instead of manually editing Doc/Makefile.
effe832
jgallacher New configure file generated by autoconf from the changed configure.i…
…n file.
d52c039
jgallacher Added info regarding use of ./configure --with-python-src option need…
…ed to build the documentation.
619e7bb
jgallacher New release instructions to use with subversion repository. b75204d
jgallacher Added that TeTex is required to produce the documentation. d180a11
nlehuen Fixed two tests so that they pass :
- test_internal is not performed any more. I just don't get what it is supposed to do. From what I understand it should be expected to fail...
- we don't try to remove the temporary file used to test req.sendfile. On Win32 at least this is the cause of the failure...
5483f65
nlehuen New publishing code for the publisher.
- Solves MODPYTHON-15 "iterable return values should be corretly published"
- Also takes care of selecting a proper encoding when the returned objects are Unicode strings. It parses the Content-Type header to select the encoding, or chooses UTF-8 if no encoding is given.
- Returning nothing is now allowed. Nothing is returned to the client.

Unit tests have been made to ensure that there was no regression.
7fc02f1
Commits on Jun 26, 2005
jgallacher Added flex detection and --with-flex option to configure.
Ref MODPYTHON-52
73d5925
jgallacher Regenerated configure file for flex support.
Ref MODPYTHON-52
577ffab
jgallacher Applied hack so index entries containing \longproramopt build properly. 56f772f
jgallacher Fixed MODPYTHON-58
Index for mutex passed to _global_lock, _global_unlock, _global_trylock is now checked to make sure it is in appropriate range.
d50e4e8
Commits on Jun 28, 2005
nlehuen Fix for MODPYTHON-61 : now it is possible to configure the session co…
…okie name using "PythonOption session_cookie_name foobar".
6a83e49
Commits on Jul 05, 2005
nlehuen - Importing os.path is not required.
- testhandler now checks for req.server.error_fname before trying to display it.
af8059d
Commits on Jul 27, 2005
jgallacher Fixed issue where session cookie was not being set after an internal …
…redirect.

Ref MODPYTHON-59
0ce7f18
Commits on Jul 28, 2005
jgallacher Applied Graham Dumpleton's patch to support installation on Mac OS X …
…(10.3.7)

Ref MODPYTHON-65
3f80dd3
jgallacher Fixed install_dso Makefile rule so that it only installs mod_python.so.
install_dso should only install the dso, but currently it also calls the install_py_lib rule.
Ref MODPYTHON-66
d7d4d38
Commits on Jul 29, 2005
jgallacher req_get_session is not ready for release 3.2 to it's implementation w…
…ill be deferred to mod_python 3.3.0.

As a temporay measure calling req_get_session in version 3.2.x will raise a NotImplemented error.
The behaviour of PSP.run() in psp.py has reverted such that it no longer makes use of req.get_session().
Ref MODPYTHON-59
7ce48b3
jgallacher Added code to Session.Session() so it checks the Apache config for Py…
…thonOption session.

If PythonOption session does not exist, then the default session type will be determined base on the apache-mpm (ie. same behaviour as 3.1.4).
Currently only FileSession, DbmSession, and MemorySession can be specified via the PythonOption.
a2359f6
jgallacher Code cleanup: Removed class TestSession.
This class was only here for testing req_get_session and is not required for next release version.
a680318
Commits on Aug 06, 2005
nlehuen Fix for MODPYTHON-37 by Graham Dumpleton. ecf0963
nlehuen Added tests for apache.register_cleanup. 650df93
nlehuen apache.register_cleanup "args" argument is renamed to "data" to match…
… request.server.register_cleanup.
6884c2c
jgallacher The sed script for inserting the version into the documentation was n…
…ot working.

I found 
  sed s/\\release.*/\\release\{$$VERSION\}/
needed need to be
  sed s/\\\release.*/\\\release\{$$VERSION\}/
It seemed it was trying to match the ASCII 13 character rather than "\r".
Perhaps this is a difference between GNU sed and BSD sed? Since I'm building the docs
we'll make it GNU sed compatible for now.
103306f
Commits on Aug 08, 2005
jgallacher FileSession.__init__() was ignoring the fast_cleanup, verify_cleanup and
grace_period paramenters. The values of these are now determined in the order
__init__(), PythonOption setting, and finally the default value given in
Session.py.
6e86098
jgallacher Changed default value of verify_cleanup for FileSession to True. This…
… would

seem to be the safer option.
9e59a02
jgallacher Removed grace_period parameter from FileSession.__init__(). There is …
…no really

good reason for a user to change the cleanup grace period, so we might as
well simplify the constructor. The default value can still be changed using
PythonOption session_grace_period some_value.
355ddb3
jgallacher Changed PythonOption parameters used in FileSession so that our naming
convention is consistent.
PythonOption fast_cleanup is now session_fast_cleanup and
PythonOption verify_cleanup is now session_verify_cleanup.
d8db52f
jgallacher Added FileSession documentation. The layout for this section in the PDF
format is a little strange but it is not a show stopper.
Ref MODPYTHON-45.
948bc11
jgallacher Corrected error in MemorySession constructor. The docs incorrectly show
dbmtype as a parameter.
e56c660
Commits on Aug 09, 2005
jgallacher Checked in some broken code for FileSession eariler today. (r230799)
This should fix it.
9a09209
jgallacher One final fix to FileSession. Session files should reside in directory
mp_sess. Somehow the line of code doing this got lost in the previous
couple of changes.
5ba88ac
jgallacher Changed DbmSession to check PythonOption session_directory to determi…
…ne the

path where the dbm file should be saved. If session_directory does not exist,
tempdir will be used by default, which is the same as for versions < 3.2.0
04cc092
jgallacher Changed DbmSession to use PythonOption session_dbm instead of SessionDbm
so that we are consistent with our naming convention.
5bf2ca7
jgallacher Fixed potential deadlock issues in dbm_cache_get() and dbm_cache_stor…
…e().

Lock index 0 is now used to lock the dbm file.
Ref MODPYTHON-69.
258cc7a
jgallacher Fixed spelling error "PythonAutenHandler" as reported by Graham Dumpl…
…eton.

Ref MODPYTHON-46.
5a98d8f
jgallacher Added comments to the code explaining the potential deadlock issue
and the applied fix.
Ref MODPYTHON-69.
822150c
jgallacher Applied Graham's silent.diff.txt patch to correct SILENT/NOTSILENT
logic reversal in directive_PythonHandlerModule(). Patch also
disables adding "PythonConnectionHandler" in same function.
Ref MODPYTHON-46
0379fbe
jgallacher Added configure option for setting MAX_LOCKS at compile time.
Default for MAX_LOCKS also changed from 32 to 8.
Ref MODPYTHON-70
a72b402
nlehuen Incremented the version number for a release. 4e98db8
jgallacher Fixed a small error in filesession_cleanup. Not enough arguments for …
…format

string in status_file.write() call. I thought I had fixed this previously
but the fix was not checked in.
3ba0078
Commits on Aug 10, 2005
nlehuen Commented out mod_python.publisher.get_page(). dde210c
nlehuen Graham's patch for MODPYTHON-67. b0320f7
nlehuen - removed the reference to req.finfo in publisher.py. We now only use…
… req.filename, which is more middleware-friendly.

- Added a few comments on mod_python.publisher.publish_object
a78b74e
Commits on Aug 11, 2005
jgallacher Bug fixed in requestobject.c.
request_tp_clear() is called in request_tp_dealloc() before it was 
defined, which causes a gcc 4.0.1 compliation error. GCC 3.3 only
generated a warning so this bug was not previously noticed.
a3c8866
Commits on Aug 16, 2005
jgallacher Applied Graham Dumpleton's patch for import_module() in apache.py.
"from mod_python import publisher" is now possible without raising
an exception. 
Ref MODPYTHON-12
995dcc0
jgallacher Small latex formatting fix for FileSession. Should fix the PDF layout
problem.
503aff4
jgallacher Updated docs for pending 3.2.0 beta release. 80b82fa
Commits on Aug 17, 2005
jgallacher Updated mpversion.h and __init__.py. f5896f7
Commits on Aug 20, 2005
jgallacher Applied Graham's setup.py.in-2.diff patch to fix Mac OSX compile prob…
…lems.

Ref MODPYTHON-65
804ba37
Commits on Aug 27, 2005
nlehuen Graham's patch for MODPYTHON-72. e5de18b
Commits on Aug 28, 2005
jgallacher Fixed crash and memory leak in python_merge_config function in mod_py…
…thon.c

described in MODPYTHON-75. Boyan Boyadjiev provided the code which corrected
the problem. This also fixes the memory leak resulting in the use of any
PythonOption directive as described in MODPYTHON-60.
481c105
jgallacher Added more detail to the warning message for ./configure when flex is
not found or is not the correct version. Also added some information to
the README detailing the flex requirements.
8093a87
jgallacher Added apxs2 path detection to ./configure. Some linux distributions such
as Debian use apxs2 instead of apxs for apache2 installations.
edc6b1e
Commits on Aug 31, 2005
jgallacher Added information to Session documentation on using PythonOption session
to specify the default session class to use for Session().
afecd74
jgallacher Updated "Changes from 3.1.4" section in documentation appendix. ab58025
jgallacher Updated version info to reflect documentation changes. 65d7c3d
Commits on Sep 01, 2005
nlehuen Graham's patch for MODPYTHON-73 1480519
nlehuen Added unit tests for MODPYTHON-73 283e65a
nlehuen Added a new unit test to match Graham's test in MODPYTHON-73. 98d6d50
jgallacher Fixed setup.py.in so it does not create the mod_python_so.so module in
non-windows builds.
e874230
Commits on Sep 07, 2005
jgallacher Fixed the memory leak in mod_python.c get_interpreter() mentioned in
MODPYTHON-77. Note that this change does not fix the MODPYTHON-77 issue
itself.
7662503
jgallacher Updated version information. 6f278c2
Commits on Sep 08, 2005
nlehuen Fix for MODPYTHON-79. b5ba22a
nlehuen Forgot to change __init__.py to match the new version number. c4dda12
Commits on Sep 10, 2005
nlehuen Added a test for WITH_THREAD because the interpreters_lock doesn't ne…
…ed to be created if we don't have threads.
49d323a
Commits on Sep 11, 2005
nlehuen Added tests for the presence of the APR thread library. 607f167
nlehuen APR_HAS_THREADS must be tested for truth value, not for definition. O…
…n minotaur, APR_HAS_THREADS is defined as 0.
74626ef
Commits on Sep 12, 2005
nlehuen Defined MOD_PYTHON_WITH_THREAD_SUPPORT as (defined(WITH_THREAD) && AP…
…R_HAS_THREAD) and used it everywhere WITH_THREAD was previously used.
79a1b78
Commits on Sep 13, 2005
grisha FreeBSD passes all tests now c0f8288
grisha Added an autoconf warning comment cb2fb80
grisha Regenerated mod_python.h 726e269
nlehuen Fixed : APR_HAS_THREADS ends with an 'S'. Reintroduced the calls to P…
…yEval_AcquireLock and PyEval_ReleaseLock as they are required if threading is enabled. Removed two debugging log entries. Added the conditional commenting of the LockFile directive in the LockFile class.
e1ecd4d
Commits on Sep 19, 2005
nd fix eol-style props 76edad6
Commits on Sep 20, 2005
nlehuen A first try at implementing a session storage relying on SQLite. It i…
…s slower than FileSession but could scale better ?
8298e30
Commits on Sep 21, 2005
nlehuen Testing with NO isolation level. 6c02009
Commits on Sep 24, 2005
nd fix line endings d25087d
Commits on Oct 15, 2005
nlehuen Fix for MODPYTHON-82. d93dc4d
jgallacher Fixed req_sendfile(filename) to return the correct number of bytes when
filename points to a symbolic link. The fix needs to be tested on Windows.
Ref MODPYTHON-84
b22f3c8
jgallacher Fixed dist/Makefile so it works on IRIX. The ln command in linux and …
…bsd has the format

ln [OPTION]... TARGET [LINK_NAME]
where LINK_NAME is option. On IRIX, LINK_NAME is required. The fix is trivial - explicitly
give the LINK_NAME wherever "ln -s" is used.
Ref MODPYTHON-80
f6c9892
Commits on Oct 22, 2005
nlehuen - better fix for MODPYTHON-82 (using dummy_threading instead of reimp…
…lementing Lock)

- fix for MODPYTHON-83
48747e2
jgallacher Fixed docs for req.path_info. The description had not been updated to…
… reflect

the change from Read-Only to Read/Write.
Ref MODPYTHON-67
c3e829d
jgallacher Fixed a typo. 07aa0ab
jgallacher Changed a couple of descriptions displayed by ./configure --help. ie.
--with-python=PATH      Path to specific Python binary
--with-python-src=DIR   Path to python sources - required if you want to 
generate the documenation
3850c37
jgallacher Fixed the release instructions to detail the changes that need to
be make to update the version information. This was messed up in the
3.2.2b release, so now there are explict instructions.
62d5fdb
nlehuen Added another unit test for req.send_file(). 7b50424
jgallacher Added unittest for req.sendfile(filename) where filename is a symboli…
…c link.

This test is only run when os.name == 'posix'
Ref MODPYTHON-84
c4a1175
jgallacher Cleaning up some print noise that I introduced into req_sendfile2
when I created req_sendfile3.
9286ef2
nlehuen Deleted SQLiteSession.py c5a1b3f
jgallacher Removed duplicate definition for make_filesession_dirs. I'm not sure
how the duplicate code ended up in there, execpt that for just plain
sloppy coding on my part. Mea cupla.
e348266
Commits on Oct 23, 2005
jgallacher Fixed possible problem where a stale lockfile will keep the filesession
cleanup from running.

A lockfile is used to ensure that only one process can run the cleanup code
at any given time. A situation may arise where the process running the cleanup
segfaults (ie same process, but different thread) such that the lockfile is not
deleted. If this should happen subsequent attempts to run the cleanup will
fail. To avoid this possibility a test has been added to check the age of the
lockfile. If it is more than 3600 seconds old it will be considered stale
and deleted. The next time filesession cleanup runs it should succeed.
7404b50
jgallacher Changed version in trunk - ready to tag 3.2.3b. ad9d2ef
Commits on Oct 28, 2005
jgallacher Fixed ./configure error for x86-64 platforms. The correct path for
PY_STD_LIB will now be found.
Ref MODPYTHON-85
c8cad4b
jgallacher Bumped version to 3.2.4-dev-20051028 8b0a56b
jgallacher Fixed problem in BaseSession.__init__ which was causing multiple session
cookies to be set.
Ref MODPYTHON-86
57b0038
jgallacher Changed description for file attribute of the Field class in util.py.
It now indicates that Field.file is a file-like object and may be either
an instance of TemporaryFile or StringIO.
8c4dd02
jgallacher Updated the changes from 3.1.4 section of the docs. 53cf137
jgallacher Fixed a bit of garbled text in the docs. 7c8cd83
jgallacher Changed version info in prepartion for 3.2.4b. fca2f8e
Commits on Nov 06, 2005
nlehuen Added a unit test for file upload. d438423
nlehuen Added a test with the UNIX-HATERS handbook. fad34a1
Commits on Nov 07, 2005
nlehuen Added Jim Gallacher's tricky file upload. af04a47
Commits on Nov 09, 2005
jgallacher Split Nicolas' fileupload tests into 3 separate tests as each one
exercises a different aspect of FieldStorage.read_to_boundary.
Changing the read_to_boundary implementation to fix one problem
could result in a regression.
The 3 tests are test_fileupload, test_fileupload_embedded_cr and
test_fileupload_split_boundary. Take a look at test/test.py for
more information.
Ref MODPYTHON-40
0f1f5ff
jgallacher Modified stopHttpd to wait for apache to shutdown. This was done
to allow the unit tests to be run cleanly using the qemu emulator.
Qemu will run about 1/10 the native speed. stopHttpd() was only
allowing 1 second for apache to shutdown before proceeding.
This may not be long enough in a qemu test environment, resulting
in a large number of apache processes which are never killed, as
well as a number of failed tests where the apache error log is examined
after the shutdown.

stopHttpd waits for apache to stop by checking for the existence of the
pid file. The testing can continue after apache has deleted this file.
If pid file still exists after 20 seconds an RuntimeError is raised.
5ae2e48
Commits on Nov 10, 2005
jgallacher Unit tests to confirm correct psp parser output.
Ref MODPYTHON-87
6012bea
jgallacher Fixed psp_parser problem.
Rolled psp_parser.l back to -r 102649.
Added handling for \t, \n and \t character strings.
Ref MODPYTHON-87.
c01a0c5
Commits on Nov 12, 2005
nlehuen - Fix for MODPYTHON-40
- tweaked req_readlines : checking a string for zero length should not require strcmp() it to "".
208b047
nlehuen Added a new file upload test. 145dd0f
nlehuen Fixed a small glitch in the PSP tests 83a93da
nlehuen Tried to simplify the whole multipart/form-data parsing algorithm by …
…using a regexp for the boundary.
12dd1c2
nlehuen Ignore ugh.pdf to prevent accidental check-in. c8d65fb
nlehuen This should resolve MODPYTHON-89 : add new apache.exists_config_defin…
…e() function.
4693ed5
nlehuen Documentation for apache.exists_config_define and apache.register_cle…
…anup.
0ee983d
nlehuen Added a few "What's new" items. 8b0d47e
nlehuen Fix for MODPYTHON-64. This needs to be tested with IPv6. b7169d1
nlehuen Restored internal tests which had been disabled, IIRC, due to my shee…
…r lazyness. When we fixed MODPYTHON-6, we added a default PythonOption which caused the req.get_options() test to fail, since it received an additional and unexpected entry. At the time I did not fully understand how the test framework was supposed to work and I disabled the test because I thought its failure was due to a Win32 - specific bug...
eec99e8
nlehuen Reactivated test_global_lock since it looks perfectly functional. The…
…re was a comment about ab being bugged but I guess it has been fixed since.
2912c78
nlehuen Updated the WHATSNEW section following the fix of MODPYTHON-64. e425177
nlehuen Fix for MODPYTHON-88. 88d2423
nlehuen Small logic error : continue only affects the innermost loop and Pyth…
…on doesn't have labels nor labeled break or continue.
ec29be5
Commits on Nov 14, 2005
nlehuen Speed up the 1 Mb file upload test. 30087ce
nlehuen Perform case-insensitive path comparison to prevent tests from failin…
…g under Win32.
d0f52a5
jgallacher Updated 'Bug Fixes' section of appendixc.tex to include psp_parser fix.
Ref MODPYTHON-87
885dec3
jgallacher Preparing to tag 3.2.5b. cc857a8
Commits on Nov 16, 2005
nlehuen Better build information in build_installer.bat 1f50c62
jgallacher Fixed test_req_headers_out unit test problem for Gentoo.
Using DirectoryIndex in the VirtualHost config was causing the apache process
to segfault. Using the full path "/tests.py" in conn.putrequest rather than
depending on DirectoryIndex solved the problem. 

I have no idea why DirectoryIndex was only causing a segfault on Gentoo.
Might be worth further investigation.
bf98575
jgallacher Changed unit test for global_lock to use either ab or ab2. If neither is
found the test is skipped.
6561881
nlehuen Perform quoting AFTER the test for file existence... Otherwise with s…
…paces in Apache path, the test for file existence will always fail since the system call with be done with the quotes (tested under Win32).
6cd9d00
Commits on Dec 03, 2005
nlehuen First try at explaining the various parts of an URL and what is expos…
…ed by the various API surrounding mod_python. The format is Microsoft Excel 2003, XML output, sorry... Once I reach a somewhat stable state, I'll convert it to pure HTML. But for now, editing through Excel is much more faster.
7638a13
nlehuen A few cosmetic changes. 52a9ba6
nlehuen Other cosmetic changes. a013e46
nlehuen Switched to OpenOffice 2 for a slightly better karma. 06296f9
nlehuen All cosmetic effort were ruined by OpenOffice's desastrous merged cel…
…ls and border management algorithms. Duh.
5f42c0f
nlehuen Other cosmetic changes. e9ed34f
nlehuen Other cosmetic changes. 25368bb
nlehuen HTML version, built from OpenOffice and cleanup up manually. 4846aac
nlehuen Version number in the page. 0a5ed9c
nlehuen Bye bye OpenOffice document... 49dd023
Commits on Dec 05, 2005
nlehuen Moved whats-in-an-url.html to /branches/nlehuen/sandbox. 70348c3
nlehuen A bit of documentation and self-testing for the unit test module. 5516f03
nlehuen 1e3ffc5
Commits on Dec 06, 2005
nlehuen A bit of explanation about the behaviour of the monitor application d…
…uring tests.
1f1cf83
Commits on Dec 08, 2005
nlehuen Fix for MODPYTHON-96. Thanks to Martin Devera and Graham. dbcfc9a
Commits on Dec 10, 2005
nlehuen Reverted MODPYTHON-15 to fix MODPYTHON-97 ; we'll get back to this in…
… mod_python 3.3.
4dcc4e0
nlehuen Incremented the build number. 18a21c5
Commits on Dec 17, 2005
jgallacher Ref MODPYTHON-99
Fixed segfault bug which occured when some request or server object
members were accessed. Affected members are:

  server.names
  server.wild_names
  req.allowed_xmethods
  req.allowed_methods
  req.content_languages 

In util.c, changed tuple_from_array_header() and tuple_from_method_list()
to return an empty tuple rather than None when there are 0 elements. 

Changed unit tests to check for empty tuple for:
  req.allowed_methods
  req.allowed_xmethods

Added unit tests for:
  server.names
  server.wildnames
  req.content_language
ad8c649
Commits on Dec 18, 2005
jgallacher Added description for request.content_languages, server.names and
server.wild_names.
10623b1
Commits on Dec 29, 2005
nlehuen Cache the main callback as Graham suggested in http://www.mail-archiv… 738a5c6
Commits on Jan 10, 2006
jgallacher Fixed PythonAutoReload directive problem.
Ref MODPYTHON-106
3d07b2d
jgallacher Reverted publisher.publish_object behaviour to write result even if
even if req.method == 'HEAD'.
Ref MODPYTHON-105
64fc9e4
jgallacher Documentation changed for req.add_handler. Docs now state that
passing an invalid handler in add_handler will generate an exception
at the time an attempt is made to find the handler.
Ref MODPYTHON-98
c477c21
jgallacher Changed HandleDispatch in apache.py so that an exception is raised if…
… handler

string is empty. 
Ref MODPYTHON-98
0790a92
jgallacher Fix segfault when adding handler to empty list in python_handler.
Ref MODPYTHON-98
3179b46
jgallacher Changed HandlerDispatch in apache.py so that a faulty handler
which is marked as silent will propagate DECLINED if it is the
first and only handler.
Ref MODPYTHON-98
5a56fd1
Commits on Jan 11, 2006
jgallacher Changed code in req_add_handler() of requestobject.c to use NOTSILENT
instead of 0. This should make the intent of code clearer in as much as
highlighting that an exception will be raised if handler not found.
Ref MODPYTHON-98
727bb24
jgallacher Added unit tests for several different uses of req.add_handler.
Ref MODPYTHON-98
dc5c77f
Commits on Jan 12, 2006
jgallacher Refactored req_add_empty_handler_string to check the response
from the request for evidence of an exception rather than examining
error_log.
Ref MODPYTHON-98
b579481
Commits on Jan 14, 2006
jgallacher Preparation for 3.2.6b. 0ace329
Commits on Jan 16, 2006
jgallacher Preparation for tagging 3.2.6 (final) b429ce6
Commits on Feb 01, 2006
nlehuen Added a Python 2.2 compatibility module. The test suite now runs succ…
…essfully on Python 2.2 under Windows 2000.
b8cba8e
Commits on Feb 02, 2006
nlehuen Changed the mod_python.cache.FileCache.check() method so that it stat…
…() then open() the file, rather than open() it and fstat() it. Added a unit test to check whether the publisher cache is doing his job correctly.
47ee5eb
nlehuen Reverted the Python 2.2 support hack ; I leave python22.py in place b…
…ecause it should be possible to use it with PythonImport.
e10ca08
nlehuen Bumped up version number. a696624
nlehuen We don't need no stinkin' enumerate. 1d58f16
jgallacher Fixed buffer resizing bug in _conn_read().
Ref MODPYTHON-102
e0bb420
jgallacher Fixed connection handler seg fault bug.
Ref MODPYTHON-102
f0a5e8b
Commits on Feb 03, 2006
jgallacher Disabled test_publisher_cache as it is problematic on mpm-prefork and
worker. See comments in test/test.py for more information.
1041a2a
nlehuen Use time.time() rather than time.clock() as its behavior is more cons…
…istent on all platforms.
0a51bd7
jgallacher Prepartion for 3.2.7 packaging. af46e7f
jgallacher Updated the appendix to show what was fixed for 3.2.7. 84d5d84
Commits on Feb 09, 2006
jgallacher created 3.2.x stable bugfix branch fc69786
Commits on Feb 19, 2006
jgallacher Added check for the validity of the session id. This will fix a poten…
…tial

directory traversal attack in FileSession.
Ref MODPYTHON-135
062a130
Commits on Mar 05, 2006
jgallacher Backport fix for bash 3.1.x configure problems (MODPYTHON-122) 76674de
jgallacher Backported Apache 2.2 support from trunk. (MODPYTHON-78) 8645885
jgallacher Bumped version for 3.2.x branch. 503e47b
jgallacher Updated changes section in docs. 1bbcde6
Commits on Mar 06, 2006
jgallacher Backported DbmSession dbm file location fix. (MODPYTHON-119) 9f3f9cb
Commits on Mar 07, 2006
jgallacher Backported simplified GIL fix. (MODPYTHON-77) 855c7d3
Commits on Apr 12, 2006
grahamd Backported MODPYTHON-94 from trunk to branches/3.2.x. f0297f5
grahamd Backported MODPYTHON-137 from trunk to branches/3.2.x. 47f1083
grahamd Backported MODPYTHON-131 and MODPYTHON-145 from trunk to branches/3.2.x. fe06eb6
Commits on Apr 13, 2006
grahamd Restructure req_requires test to avoid needing to use AuthBasicAuthor…
…itative

drective just for Apache 2.2 configuration. Change also avoids falling back
onto basic authentication handler, thus avoiding any issues which might have
come from that because of AuthFile directive not being set.
b8c17a0
grahamd Backported MODPYTHON-93 from trunk to branches/3.2.x. c792692
grahamd Backported additional debug logging when mod_python startup problems …
…occur

as associated with MODPYTHON-158 from trunk to branches/3.2.x.
812b95a
Commits on Apr 28, 2006
grahamd Dictionary from module is a borrowd reference and thus reference coun…
…t should

not be decremented. (MODPYTHON-158)
2019eaa
Commits on Jun 23, 2006
jgallacher Backport of indentation fix for Session.py c87ab05
jgallacher Backport of DbmSession file mode creation fix. (MODPYTHON-173) ea38a55
jgallacher Updated changes section of docs. (MODPYTHON-173) 9b29ece
jgallacher As part of the improvments to FieldStorage, the Field class __init__ …
…method

was changed in trunk (3.3-dev) and backported to branches/3.2.x. Although
the documentation states that the Field class is for internal use by
FieldStorage, some software applications create Field instances directly.
This change in the __init__ signature causes those applications to fail.

The code committed here is a work around that maintains forward compatibilty
with the FieldStorage improvements, while maintaining backward compatiblitly
with applications that may be using the Field class directly. (MODPYTHON-93)
0ba9ce0
jgallacher Bumped version strings. 94d0eb2
jgallacher Backport of additional fix for symlink problem in req.sendfile, as re…
…ported

by Sergey A. Lipnevich. (MODPYTHON-84)
b14610f
jgallacher Bumped version strings - preparing for 3.2.9-rc2 release. 4c85033
jgallacher Updated changes section of docs. 38b294e
jgallacher Changed minimum apache version to 2.0.47 in docs. 54afe03
Commits on Jun 25, 2006
jgallacher Rolled back changes to Field and FieldStorage for MODPYTHON-93.
These changes were meant to improve FieldStorage efficiency, but
cause problems for applications such as Trac that treated 
FieldStorage as a dictionary, or modified FieldStorage.list.
There is nothing in the documentation or source code stating that list
is private, or FieldStorage should be considered immutable, so these
applications were not wrong in doing so, and our changes should be
considered as unacceptable.
759b6f5
jgallacher Bumped version strings. 2affa4f
Commits on Jun 30, 2006
jgallacher Bumped version string to 3.2.9 in preparation for release. c53c4f5
Commits on Jul 09, 2006
nlehuen Merged fix for #MODPYTHON-172 into the 3.2 branch. b11272d
jgallacher Bumped version strings. cb3e304
Commits on Jul 19, 2006
jgallacher Bumped version string to 3.2.10. cd90f8f
Commits on Jan 25, 2008
grisha Moving mod_python under quetz 9586b31