Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
Checking mergeability… Don’t worry, you can still create the pull request.
This comparison is big! We’re only showing the most recent 250 commits
Commits on Jan 29, 2005
nlehuen The Cookie.Cookie test had to be modified to follow the changes in th…
…e cookie parsing algorithm.
nlehuen - Rewriting mod_python/ resolve_object to enhance security.
- Added unit tests for mod_python/
- Fixing [#MODPYTHON-13]
- Preparing 3.1.4 release
nlehuen - finished fixing MODPYTHON-13 ; added new unit tests for this bug
- refined traversal / publication control in resolve_object : we now rely on a dictionary of rules.
nlehuen Building the _psp extension is done in the same way as buidling mod_p…
nlehuen Fix : len(sys.argv) is never equal to 0. When the script is launched …
…without parameters, len(sys.argv)==1 and the installation should be performed.
nlehuen Added a Win32 batch file to build the Win32 installer. 4d6fcc6
nlehuen We log the path to, and remove it when uninstalling mod…
nlehuen Cosmetic changes to the code in order to unify coding style. 22eeca4
Commits on Jan 31, 2005
nlehuen New traversal and publishing rules. We now forbid the traversal of an…
…y type defined in the 'types' module, except for a few exceptions.
nlehuen Fix for MODPYTHON-17 5e8a751
Commits on Feb 10, 2005
grisha added graham and nicolas 0f5cf45
Commits on Mar 02, 2005
nlehuen - BuiltinFunctionTypes are not traversable nor publishable (this foll…
…ows a discussion with Graham)

- Updated the credits (thanks Grisha) with my canonical e-mail address.
nlehuen - build_installer.bat now makes a clean build of the installer. It re…
…moves everything from the dist & build directories as well as the object files so that we are sure we are building a clean install.

- mpversion.h is updated to reflect the current build.
nlehuen Try to compress the installer with UPX if available. dd4d60f
Commits on Mar 17, 2005
nlehuen Fix for #MODPYTHON-36 : close fd after ap_send_fd() in req_sendfile()…
…. (Patch by Matt Wilson)
nlehuen Nudged the mpversion.h version. 5b1a703
nlehuen Fix for MODPYTON-35 : mod_python.c doesn't always log reason for 500 …
Commits on Apr 06, 2005
nlehuen Fix for MODPYTHON-40 by Barry Pearce. 81b5c12
Commits on Apr 07, 2005
nlehuen Remove two unused class fields. 3a46916
nlehuen Added for preliminary work. 3af6704
nlehuen Set properties to the file. a635527
nlehuen Work on FileSession :
- switch to cPickle protocol 2
- better error reporting
- added locking
Commits on Apr 09, 2005
nlehuen Removed the locking code since locking is already performed in BaseSe…
Commits on Apr 11, 2005
nlehuen Jim Gallacher's contribution : uses of separate locks for session-lev…
…el and file-level locking + a little more cleanup on file path construction.
nlehuen We make sure the file is locked while not blocking when the session i…
…s locked.
nlehuen Updated credits to include Jim Gallacher for his work on FileSession. 7dd0b90
nlehuen We use the python libs directory to store the uninstall log. 73fe6cf
Commits on Apr 12, 2005
nlehuen Latest fix from Jim. 7a61e2f
nlehuen First go at trying to implement _apache._global_trylock. 5515ace
Commits on Apr 16, 2005
nlehuen Updated version number. 853d161
Commits on Apr 18, 2005
nlehuen (Sander Striker <>) Expose ap_meets_conditions() to …
…allow for easier checking of conditional

headers.  Primarily meant to facilitate caching.
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 when receiving a directory/ request.
2) We are testing whether the publisher does fallback to the module found in a directory when it receives a directory/function request instead of directory/
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.
nlehuen Fixed the problem with FileSession under Win32 : the session file had…
… to be opened (for read & write) in binary mode.
Commits on Apr 30, 2005
nlehuen Fix for MODPYTHON-32. 1174d67
nlehuen Fix for MODPYTHON-41 aa63af5
nlehuen FileSession integrated into 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.
nlehuen New version of the publisher with support for old-style & new-style c…
…lasses, iterators and generators.
nlehuen Reverted the change after the mistake I've made during the branch (oo…
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.
nlehuen Added a warning in the "Testing" section : the instructions are for m…
…od_python 3.x, NOT 2.7.x.
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 : better support for…
… Unix builds.
Commits on May 13, 2005
nlehuen Working on MODPYTHON-54 - this does not work yet, but it does not bre…
…ak anything.
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…
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.
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.
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.
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.
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.
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.
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…
Commits on Jun 21, 2005
jgallacher Fixed memory leak by decreasing the reference count of the requestobj…

jgallacher create_session now gets the type session type to create from the apache
config as defined by PythonOption session name_of_session_class.
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.
jgallacher Changed run() to call req.get_session() when it needs to create a ses…

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.
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.
Commits on Jun 24, 2005
jgallacher Moved release instructions from 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 to aid in building the docume…

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.
jgallacher New configure file generated by autoconf from the changed configure.i…
…n file.
jgallacher Added info regarding use of ./configure --with-python-src option need…
…ed to build the documentation.
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...
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.
Commits on Jun 26, 2005
jgallacher Added flex detection and --with-flex option to configure.
jgallacher Regenerated configure file for flex support.
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.
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".
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.
Commits on Jul 27, 2005
jgallacher Fixed issue where session cookie was not being set after an internal …

Commits on Jul 28, 2005
jgallacher Applied Graham Dumpleton's patch to support installation on Mac OS X …

jgallacher Fixed install_dso Makefile rule so that it only installs
install_dso should only install the dso, but currently it also calls the install_py_lib rule.
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 in has reverted such that it no longer makes use of req.get_session().
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.
jgallacher Code cleanup: Removed class TestSession.
This class was only here for testing req_get_session and is not required for next release version.
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.
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.
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
jgallacher Changed default value of verify_cleanup for FileSession to True. This…
… would

seem to be the safer option.
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.
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.
jgallacher Added FileSession documentation. The layout for this section in the PDF
format is a little strange but it is not a show stopper.
jgallacher Corrected error in MemorySession constructor. The docs incorrectly show
dbmtype as a parameter.
Commits on Aug 09, 2005
jgallacher Checked in some broken code for FileSession eariler today. (r230799)
This should fix it.
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.
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
jgallacher Changed DbmSession to use PythonOption session_dbm instead of SessionDbm
so that we are consistent with our naming convention.
jgallacher Fixed potential deadlock issues in dbm_cache_get() and dbm_cache_stor…

Lock index 0 is now used to lock the dbm file.
jgallacher Fixed spelling error "PythonAutenHandler" as reported by Graham Dumpl…

jgallacher Added comments to the code explaining the potential deadlock issue
and the applied fix.
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.
jgallacher Added configure option for setting MAX_LOCKS at compile time.
Default for MAX_LOCKS also changed from 32 to 8.
nlehuen Incremented the version number for a release. 4e98db8
jgallacher Fixed a small error in filesession_cleanup. Not enough arguments for …

string in status_file.write() call. I thought I had fixed this previously
but the fix was not checked in.
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 We now only use…
… req.filename, which is more middleware-friendly.

- Added a few comments on mod_python.publisher.publish_object
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.
Commits on Aug 16, 2005
jgallacher Applied Graham Dumpleton's patch for import_module() in
"from mod_python import publisher" is now possible without raising
an exception. 
jgallacher Small latex formatting fix for FileSession. Should fix the PDF layout
jgallacher Updated docs for pending 3.2.0 beta release. 80b82fa
Commits on Aug 17, 2005
jgallacher Updated mpversion.h and f5896f7
Commits on Aug 20, 2005
jgallacher Applied Graham's patch to fix Mac OSX compile prob…

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…

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.
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.
jgallacher Added apxs2 path detection to ./configure. Some linux distributions such
as Debian use apxs2 instead of apxs for apache2 installations.
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().
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 so it does not create the module in
non-windows builds.
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
jgallacher Updated version information. 6f278c2
Commits on Sep 08, 2005
nlehuen Fix for MODPYTHON-79. b5ba22a
nlehuen Forgot to change 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.
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.
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.
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.
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 ?
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.
jgallacher Fixed dist/Makefile so it works on IRIX. The ln command in linux and …
…bsd has the format

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.
Commits on Oct 22, 2005
nlehuen - better fix for MODPYTHON-82 (using dummy_threading instead of reimp…
…lementing Lock)

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

the change from Read-Only to Read/Write.
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
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.
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 == 'posix'
jgallacher Cleaning up some print noise that I introduced into req_sendfile2
when I created req_sendfile3.
nlehuen Deleted 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.
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.
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.
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.
jgallacher Changed description for file attribute of the Field class in
It now indicates that Field.file is a file-like object and may be either
an instance of TemporaryFile or StringIO.
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/ for
more information.
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.
Commits on Nov 10, 2005
jgallacher Unit tests to confirm correct psp parser output.
jgallacher Fixed psp_parser problem.
Rolled psp_parser.l back to -r 102649.
Added handling for \t, \n and \t character strings.
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 "".
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.
nlehuen Ignore ugh.pdf to prevent accidental check-in. c8d65fb
nlehuen This should resolve MODPYTHON-89 : add new apache.exists_config_defin…
…e() function.
nlehuen Documentation for apache.exists_config_define and apache.register_cle…
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...
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.
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.
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.
jgallacher Updated 'Bug Fixes' section of appendixc.tex to include psp_parser fix.
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 "/" 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.
jgallacher Changed unit test for global_lock to use either ab or ab2. If neither is
found the test is skipped.
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).
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.
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.
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.
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.
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:


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:

Added unit tests for:
Commits on Dec 18, 2005
jgallacher Added description for request.content_languages, server.names and
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.
jgallacher Reverted publisher.publish_object behaviour to write result even if
even if req.method == 'HEAD'.
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.
jgallacher Changed HandleDispatch in so that an exception is raised if…
… handler

string is empty. 
jgallacher Fix segfault when adding handler to empty list in python_handler.
jgallacher Changed HandlerDispatch in so that a faulty handler
which is marked as silent will propagate DECLINED if it is the
first and only handler.
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.
jgallacher Added unit tests for several different uses of req.add_handler.
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
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.
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.
nlehuen Reverted the Python 2.2 support hack ; I leave in place b…
…ecause it should be possible to use it with PythonImport.
nlehuen Bumped up version number. a696624
nlehuen We don't need no stinkin' enumerate. 1d58f16
jgallacher Fixed buffer resizing bug in _conn_read().
jgallacher Fixed connection handler seg fault bug.
Commits on Feb 03, 2006
jgallacher Disabled test_publisher_cache as it is problematic on mpm-prefork and
worker. See comments in test/ for more information.
nlehuen Use time.time() rather than time.clock() as its behavior is more cons…
…istent on all platforms.
jgallacher Prepartion for 3.2.7 packaging. af46e7f
jgallacher Updated the appendix to show what was fixed for 3.2.7. 84d5d84