Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | white space changes (s/ /\t/g)experimental/apache_hooks | George Schlossnagle | 2002-10-23 | 1 | -323/+323 |
| | |||||
* | fixed directory merging | George Schlossnagle | 2002-10-23 | 1 | -1/+11 |
| | |||||
* | fixed return values for php_response_handler | George Schlossnagle | 2002-10-09 | 1 | -4/+5 |
| | |||||
* | headers code cleanup | George Schlossnagle | 2002-10-08 | 1 | -2/+1 |
| | |||||
* | header code cleanup | George Schlossnagle | 2002-10-08 | 1 | -0/+5 |
| | |||||
* | sync with head. add optional content type param to send_http_header | George Schlossnagle | 2002-10-08 | 2 | -2/+9 |
| | |||||
* | sync with head | George Schlossnagle | 2002-10-08 | 3 | -48/+57 |
| | |||||
* | Cleaned up a bunch of code, fully integrated the class::method handler | George Schlossnagle | 2002-08-30 | 3 | -175/+193 |
| | | | | | | | | | | | | code into a single stack per handlers (for correct interleaving). Changed the syntax so that now they are of the form phpUriHandler /filename phpUriHandlerMethod Class::Method This now works for all handlers including response handlers. | ||||
* | added the ability to set handlers as class methods (classes will need to be | George Schlossnagle | 2002-08-29 | 2 | -1/+109 |
| | | | | | | | | | | | | declared in a phpRequire statemenet, of course, or be otherwise available at the hook run-time (builtins)). This is currently only implemented for the uri trans handler it is usable as: phpUriHandlerCodeRef MyClass::MyMethod This can be greatly robustified from whre it stands now, but is a good proof of concept (hopefully!) | ||||
* | added all the sub_request methods and logging methods | George Schlossnagle | 2002-08-28 | 1 | -23/+177 |
| | |||||
* | Added wrapper functions for the majority of the apache API_EXPORT functions | George Schlossnagle | 2002-08-28 | 7 | -56/+329 |
| | | | | | | | | | | as class methods for the ApacheRequest objects. broke sapi_activate into two functions to allow for reading of headers/cookies separately from request bodies (POST stuff). Altered some of the send_headers code in mod_php4.c to prevent sending headers twice (since a phpResponseHandler needs to be able to have full freedom for setting headers using the ap_*_header* functions. | ||||
* | added wrapper for ap_send_http_header so that phpResponseHandler is now | George Schlossnagle | 2002-08-28 | 3 | -4/+10 |
| | | | | | | working. Added protections to mod_php4's internal call to the same so that headers cannot be accidentally sent twice. | ||||
* | This handler works much better when not commented out. :) | George Schlossnagle | 2002-08-28 | 1 | -1/+1 |
| | |||||
* | All handlers are now 'stacked' allowing for multiple handlers to be called ↵ | George Schlossnagle | 2002-08-27 | 2 | -61/+275 |
| | | | | | | | | | | | | | | in the order they are listed in the httpd.conf for a section. phpRequire is now supported (called out of the post-read request handler), and a first attempt at phpResponseHandler, a response-time type handler which is set by a <Location blah> SetHandler php-script phpResponseHandler /tmp/foo.php </Location> To allow for the stacked handlers, the entirety of zend_stack.c was imported into mod_php4.c. There is a patch pending to zend_stack.c to add the functionality so that all the redundant code can be removed. | ||||
* | Replaced handler loading commands such that what was | George Schlossnagle | 2002-08-27 | 1 | -60/+214 |
| | | | | | | | | | | | | | | | php_value uri_handler /tmp/foo.php is now phpUriHandler /tmp/foo.php This fixes some bugs that caused handlers to be skipped or mysteriously 'unloaded', reduces the number of calls to zend_alter_ini_entries that are necessary, as well as allows for easier implementation of stacked handlers (which comes next). Added 2 new hooks, phpPostReadHandler and phpHeaderHandler (going to the obvious places). | ||||
* | - add interface functions for headers_in, headers_out and err_headers_out | lukas schroeder | 2002-08-26 | 1 | -24/+157 |
| | |||||
* | - put common sapi startup code into a function | lukas schroeder | 2002-08-26 | 1 | -22/+31 |
| | |||||
* | Import of Lukas Schroeder's work to give php a full interface to apache ↵ | George Schlossnagle | 2002-08-26 | 5 | -275/+1184 |
| | | | | 1.3.x's hook interface, and full class wrappers around the apache request object and it's interfaces. | ||||
* | new full apache-1.3.x hooks interface support initial import | George Schlossnagle | 2002-08-26 | 3 | -174/+390 |
| | |||||
* | This commit was manufactured by cvs2svn to create branch 'apache_hooks'. | SVN Migration | 2002-08-22 | 3 | -0/+1120 |
| | |||||
* | Ok, get it onto the right branch | Rasmus Lerdorf | 2001-09-06 | 1 | -0/+34 |
| | | | | | (cvs can get annoying sometimes) | ||||
* | Apache request handler hook framework. So far only the uri hook is | Rasmus Lerdorf | 2001-09-06 | 5 | -11/+172 |
| | | | | | | | | | | | | | implemented, but the others will be easy once I finish the uri translation example. The big things left to do is to create a proper $r request object to be manipulated in user-space and also to verify that the hooks don't steal the POST data such that it isn't available to the content handler once it is finally called. Or if we do steal it, make sure it is somehow available to the content handler later on. Comments and help with this stuff is more than welcome. Check out these files from the 'apache_hooks' branch to play along. | ||||
* | This commit was manufactured by cvs2svn to create branch 'apache_hooks'. | SVN Migration | 2001-08-31 | 1743 | -438336/+0 |
| | |||||
* | WS | foobar | 2001-08-31 | 1 | -2/+2 |
| | |||||
* | spaces->tabs | Sterling Hughes | 2001-08-31 | 1 | -2/+2 |
| | |||||
* | MFZE1 | Sterling Hughes | 2001-08-31 | 2 | -25/+23 |
| | |||||
* | MFZE1 | Sterling Hughes | 2001-08-31 | 1 | -6/+6 |
| | |||||
* | Restore session_adapt_url() | Zeev Suraski | 2001-08-31 | 2 | -8/+19 |
| | |||||
* | fixed NEWS entry | foobar | 2001-08-31 | 1 | -0/+1 |
| | |||||
* | Cleanup and clarify | Zeev Suraski | 2001-08-31 | 2 | -13/+6 |
| | |||||
* | define_sid updates | Zeev Suraski | 2001-08-31 | 1 | -8/+6 |
| | |||||
* | renumber error lines | Tomas V.V.Cox | 2001-08-31 | 1 | -5/+5 |
| | |||||
* | fix for DB/tests/db_error2.phpt | Tomas V.V.Cox | 2001-08-31 | 1 | -2/+4 |
| | |||||
* | fix problem when mixing different error modes under certain circumstances | Tomas V.V.Cox | 2001-08-31 | 1 | -2/+4 |
| | | | | | (pear/test/pear_error3.phpt) | ||||
* | make some tests to work. Still left the Notice of the deprecated use of | Tomas V.V.Cox | 2001-08-31 | 1 | -13/+13 |
| | | | | | call_user_method, no way to shut it down. | ||||
* | Use _default_error_options as the options for PEAR_ERROR_CALLBACK. | Tomas V.V.Cox | 2001-08-31 | 1 | -6/+6 |
| | | | | | Depreciate the use of _default_error_callback | ||||
* | Support multiple chunked output buffering layers | Zeev Suraski | 2001-08-31 | 1 | -10/+19 |
| | |||||
* | Fix trans_sid handler registration logic | Zeev Suraski | 2001-08-31 | 1 | -1/+1 |
| | |||||
* | Fix double freeing | Zeev Suraski | 2001-08-31 | 1 | -1/+2 |
| | |||||
* | API update | Zeev Suraski | 2001-08-31 | 2 | -2/+2 |
| | |||||
* | fix userinfo msg in Pear_Error::toString() when callback mode is selected | Tomas V.V.Cox | 2001-08-31 | 1 | -30/+30 |
| | | | | | and style | ||||
* | MFZE1 | Zeev Suraski | 2001-08-31 | 2 | -3/+7 |
| | |||||
* | @- Made in_array() and search_array() allow the needle to be an array in | Andrei Zmievski | 2001-08-31 | 1 | -1/+1 |
| | | | | | @ itself. (Andrei) | ||||
* | ChangeLog update | 2001-08-31 | 1 | -0/+33 | |
| | |||||
* | NEWS update | 2001-08-31 | 1 | -0/+1 | |
| | |||||
* | killed obscure bug in pushErrorHandling | Tomas V.V.Cox | 2001-08-30 | 1 | -3/+0 |
| | |||||
* | Try to fix TSRM.dsp | Zeev Suraski | 2001-08-30 | 0 | -0/+0 |
| | |||||
* | @- Added ini_get_all() function which returns all registered ini entries | foobar | 2001-08-30 | 2 | -0/+69 |
| | | | | | or the entries for the specified extension. (Jani) | ||||
* | - Make it compile in thread-safe mode. | Andi Gutmans | 2001-08-30 | 2 | -12/+12 |
| | |||||
* | KISS. And the search order must be reversed always. Last one counts. | foobar | 2001-08-30 | 1 | -14/+7 |
| |