Commit Graph

2967 Commits

Author SHA1 Message Date
Pierre Joye
5627ff52f0 - MFH: don't redefine WINDOWS and pid_t 2008-07-05 18:51:17 +00:00
Pierre Joye
98ce717bf2 - MFH: _getpid is in process.h 2008-07-05 18:36:34 +00:00
Dmitry Stogov
531b31ca08 Fixed bug #45352 (Segmentation fault because of tick function on second request) 2008-06-25 12:18:36 +00:00
Frank M. Kromann
99a430074f Not sure why this file was comitted?
I was running a CVS update and then I see commit messages with my user id!
Reverting the changes.
2008-06-24 06:01:53 +00:00
Kalle Sommer Nielsen
4398fbbbe4 MFH 2008-06-24 05:59:53 +00:00
Frank M. Kromann
7e5ee41aa9 no message 2008-06-24 04:31:05 +00:00
Felipe Pena
bee6c52437 - New parameter parsing API 2008-06-21 02:41:27 +00:00
Dmitry Stogov
99933df5e2 closeder/readdir/rewinddir must work only with directories 2008-06-11 09:01:56 +00:00
Pierre Joye
bbc34ba14a - actually disable the ASSERT error dialog box (affects debug mode only), helps to run the tests and coverage analyze 2008-05-21 15:55:31 +00:00
Dmitry Stogov
2ecf4bb0a7 Lazy EG(active_symbol_table) initialization 2008-04-29 08:15:20 +00:00
Greg Beaver
cac1fd72ea fix erroneous use of php_resolve_path in _php_stream_wrapper_open_ex - this breaks require/include for all extensions that intercept zend_resolve_path 2008-04-28 22:39:54 +00:00
Greg Beaver
c46d651b3e Fixed potentially confusing error message on failure when no errors are logged 2008-04-28 22:37:31 +00:00
Dmitry Stogov
ba8e3174ce Optimized request startup sequence for php.ini without per dir and per host configurations 2008-04-15 11:31:58 +00:00
Greg Beaver
e668dc629b do not scan include_path with faulty plain_wrapper-based include_path fopen
# _fopen_with_path_rel probably needs to call out to regular php_stream_open, for exts that use it (it is exported)
2008-04-13 22:19:10 +00:00
Dmitry Stogov
862f9ee3d2 Added ability to use stream wrappers in include_path 2008-03-27 10:33:40 +00:00
Johannes Schlüter
c826caa84f - MFH: New egg 2008-03-25 17:17:56 +00:00
Christopher Jones
ceb2193b7c rename PHP_OCI8_VERSION in preparation for peclversioning RFC. Remove obsolete HAVE_OCI8_ATTR_STATEMENT macro 2008-03-25 02:00:32 +00:00
Antony Dovgal
fc134fd6c5 MFH: disabled mmap() when copying files to memory 2008-03-24 16:28:35 +00:00
Dmitry Stogov
2f794ceabb Fixed ws and comment 2008-03-24 09:30:41 +00:00
Antony Dovgal
66b66914a6 use correct flags 2008-03-22 12:56:16 +00:00
Marcus Boerger
f8f01a1fd1 - MFH Settle to 4 MB, see internals@ archives 2008-03-21 19:37:43 +00:00
Marcus Boerger
3ce7194a4d - MFH Fix comment 2008-03-21 18:21:09 +00:00
Marcus Boerger
9f001a01a1 - MFH Increase max mmap size to 8 MB 2008-03-21 17:13:08 +00:00
Antony Dovgal
7f02e564f7 MFH: revert 2008-03-21 16:39:11 +00:00
Stanislav Malyshev
bb86f3ae5b [DOC] make short_open_tag user-accessible 2008-03-20 17:30:14 +00:00
Antony Dovgal
e3b672bb23 MFH: make use of zend_atol() 2008-03-19 12:42:16 +00:00
Rasmus Lerdorf
6c158374ba exit_on_timeout patch
After the sigsetjmp change, this is patch #2 in an effort to get some
sanity restored to signal handling in PHP.

This patch does two things.  First, it makes it possible to reset the
timeout without resetting the signal handlers.  This is important for
cases where an extension may have deferred signals in its MINIT in order
to implement critical sections. It also lays the groundwork for cleaning
up our signal handling and perhaps eventually implementing our own
signal deferring mechanism so we can have true critical sections.

The second thing this does is to make it possible to terminate the current
child process (only for Apache1 at the moment) on a timeout.  There are
a number of extensions that are unhappy about being longjmp'ed out of
and when this happens on a timeout they are left in an inconsistent state.
By turning on exit_on_timeout you can now force the process to terminate
on a timeout which will clean up any hanging locks and/or memory left
hanging after the longjmp.
2008-03-18 21:42:50 +00:00
Felipe Pena
2b10c53ae1 MFH: Dropped zend.ze1_compatibility_mode
[DOC]
2008-03-18 14:10:45 +00:00
Felipe Pena
40f83dad26 Fix build (ZTS) 2008-03-16 21:55:46 +00:00
Marcus Boerger
af316021e8 - Rewrite scanner to be based on re2c instead of flex
The full patch is available as:
  http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
  This is against php-re2c repository version 98
  An older patch against version 97 is available under:
  http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:55 +00:00
Felipe Pena
bbac59aa40 MFB: Fixed bug #44440 (st_blocks undefined under BeOS) 2008-03-15 10:32:32 +00:00
Antony Dovgal
8f6b35ccd3 MFH: check if return value of write() is -1 and abort upload in this case setting the correct error status 2008-03-14 13:11:12 +00:00
Dmitry Stogov
7705272218 Disable path resolution for filenames with stream wrappers
More careful check for relative pathes (./xxx and ../xxx)
2008-03-13 14:09:54 +00:00
Stanislav Malyshev
a9fe1010d2 [DOC] add request_order INI variable to control $_REQUEST content
# if not set (default), variables_order still is used
# request_order accepts G,P and C
2008-03-12 20:24:45 +00:00
Antony Dovgal
f0b9ac513c MFH: fix segfault - error_string may be NULL, in this case we have to follow the old behavior 2008-03-11 10:27:10 +00:00
Felipe Pena
84a8bb038a MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
Andrey Hristov
49add03404 char **error_message was passed but not used. This causes problems in cases
of getaddrinfo() failure, because the upper layers don't get the error.
initialize a variable because we were reading initialized in case of error.
2008-03-10 19:54:47 +00:00
Etienne Kneuss
e9a6f0f24a MFH: User error handlers no longer catch supressed errors 2008-03-08 22:12:32 +00:00
Dmitry Stogov
ab232458c7 Optimized require_once() and include_once() by eliminationg open() syscall on second usage. 2008-03-05 13:34:12 +00:00
Ilia Alshanetsky
425c4bca2e Fixed bug #44233 (MSG_PEEK undefined under BeOS R5) 2008-02-27 00:30:24 +00:00
Marcus Boerger
d3e5026564 - MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
[DOC] Finally added deprecation messages
2008-02-23 17:06:22 +00:00
Pierre Joye
4652c2bf2c - [DOC] add PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION,
PHP_EXTRA_VERSION, PHP_VERSION_ID, PHP_ZTS and PHP_DEBUG constants
2008-02-15 14:51:39 +00:00
Marcus Boerger
dff168c38b - MFH Add %Z to *printf 2008-02-07 18:41:35 +00:00
Marcus Boerger
45e6d1e333 - MFH WS 2008-02-07 12:47:44 +00:00
Jani Taskinen
a0f168752e MFH: allow using these constants in php.ini (f.e. PHP_SAPI..) 2008-02-04 20:39:21 +00:00
Marcus Boerger
8976db80c5 - MFH Typo 2008-02-03 14:48:38 +00:00
Marcus Boerger
fa94dabd97 - MFH Rename dump_config_hash() to get_config_hash() as it doesn't dump 2008-02-03 14:35:59 +00:00
Marcus Boerger
81b40f7047 - MFH Get rid of overoptimization 2008-01-30 23:43:13 +00:00
Dmitry Stogov
240fa244c3 Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
Dmitry Stogov
0ac1830d9c Fixed bug #43491 (Under certain conditions, file_exists() never returns) 2008-01-29 14:24:55 +00:00