summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* white space changes (s/ /\t/g)experimental/apache_hooksGeorge Schlossnagle2002-10-231-323/+323
|
* fixed directory mergingGeorge Schlossnagle2002-10-231-1/+11
|
* fixed return values for php_response_handlerGeorge Schlossnagle2002-10-091-4/+5
|
* headers code cleanupGeorge Schlossnagle2002-10-081-2/+1
|
* header code cleanupGeorge Schlossnagle2002-10-081-0/+5
|
* sync with head. add optional content type param to send_http_headerGeorge Schlossnagle2002-10-082-2/+9
|
* sync with headGeorge Schlossnagle2002-10-083-48/+57
|
* Cleaned up a bunch of code, fully integrated the class::method handlerGeorge Schlossnagle2002-08-303-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 beGeorge Schlossnagle2002-08-292-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 methodsGeorge Schlossnagle2002-08-281-23/+177
|
* Added wrapper functions for the majority of the apache API_EXPORT functionsGeorge Schlossnagle2002-08-287-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 nowGeorge Schlossnagle2002-08-283-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 Schlossnagle2002-08-281-1/+1
|
* All handlers are now 'stacked' allowing for multiple handlers to be called ↵George Schlossnagle2002-08-272-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 wasGeorge Schlossnagle2002-08-271-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_outlukas schroeder2002-08-261-24/+157
|
* - put common sapi startup code into a functionlukas schroeder2002-08-261-22/+31
|
* Import of Lukas Schroeder's work to give php a full interface to apache ↵George Schlossnagle2002-08-265-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 importGeorge Schlossnagle2002-08-263-174/+390
|
* This commit was manufactured by cvs2svn to create branch 'apache_hooks'.SVN Migration2002-08-223-0/+1120
|
* Ok, get it onto the right branchRasmus Lerdorf2001-09-061-0/+34
| | | | | (cvs can get annoying sometimes)
* Apache request handler hook framework. So far only the uri hook isRasmus Lerdorf2001-09-065-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 Migration2001-08-311743-438336/+0
|
* WSfoobar2001-08-311-2/+2
|
* spaces->tabsSterling Hughes2001-08-311-2/+2
|
* MFZE1Sterling Hughes2001-08-312-25/+23
|
* MFZE1Sterling Hughes2001-08-311-6/+6
|
* Restore session_adapt_url()Zeev Suraski2001-08-312-8/+19
|
* fixed NEWS entryfoobar2001-08-311-0/+1
|
* Cleanup and clarifyZeev Suraski2001-08-312-13/+6
|
* define_sid updatesZeev Suraski2001-08-311-8/+6
|
* renumber error linesTomas V.V.Cox2001-08-311-5/+5
|
* fix for DB/tests/db_error2.phptTomas V.V.Cox2001-08-311-2/+4
|
* fix problem when mixing different error modes under certain circumstancesTomas V.V.Cox2001-08-311-2/+4
| | | | | (pear/test/pear_error3.phpt)
* make some tests to work. Still left the Notice of the deprecated use ofTomas V.V.Cox2001-08-311-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.Cox2001-08-311-6/+6
| | | | | Depreciate the use of _default_error_callback
* Support multiple chunked output buffering layersZeev Suraski2001-08-311-10/+19
|
* Fix trans_sid handler registration logicZeev Suraski2001-08-311-1/+1
|
* Fix double freeingZeev Suraski2001-08-311-1/+2
|
* API updateZeev Suraski2001-08-312-2/+2
|
* fix userinfo msg in Pear_Error::toString() when callback mode is selectedTomas V.V.Cox2001-08-311-30/+30
| | | | | and style
* MFZE1Zeev Suraski2001-08-312-3/+7
|
* @- Made in_array() and search_array() allow the needle to be an array inAndrei Zmievski2001-08-311-1/+1
| | | | | @ itself. (Andrei)
* ChangeLog update2001-08-311-0/+33
|
* NEWS update2001-08-311-0/+1
|
* killed obscure bug in pushErrorHandlingTomas V.V.Cox2001-08-301-3/+0
|
* Try to fix TSRM.dspZeev Suraski2001-08-300-0/+0
|
* @- Added ini_get_all() function which returns all registered ini entriesfoobar2001-08-302-0/+69
| | | | | or the entries for the specified extension. (Jani)
* - Make it compile in thread-safe mode.Andi Gutmans2001-08-302-12/+12
|
* KISS. And the search order must be reversed always. Last one counts.foobar2001-08-301-14/+7
|