Jason Greene [Wed, 28 Aug 2002 06:15:13 +0000 (06:15 +0000)]
@socket_recvfrom is now binary safe (Jason)
Zero the structure so that when the tcp layer of the OS decides to ignore it,
we do not think we are getting a value
Marcus Boerger [Mon, 26 Aug 2002 23:26:46 +0000 (23:26 +0000)]
-reimplemented old style output (.exp, .out)
-implemented diff format output
-delete error logs on success
@Changed regression tests produce selectable error reports. The tests now
@recognize environment variable TEST_PHP_LOG_FORMAT which can
@contain O and E for old style .out and .exp files, L for new .log format and
@D for an internal diff format that does not require systems diff. (Marcus)
#diff output makes it easier to detect the failure on huge or combined tests.
#It was discussed that the php function's diff output has the advantage that
#it is available on every system. Everyone insisting on systems diff may
#use diff on .exp and .out files.
Wez Furlong [Mon, 26 Aug 2002 13:36:35 +0000 (13:36 +0000)]
Implement com_invoke_ex, which allows the user to specify the invoke kind
flags, so that custom invocations can be made.
Tidy up code for com_propget and com_propset, so that it can work with
objects as well as resources.
# This code is from a couple of months ago, and has been hanging around
# on my windows dev box; I'm not entirely sure where I needed com_invoke_ex,
# but the additions to propget and propset are useful.
Derick Rethans [Mon, 26 Aug 2002 09:44:31 +0000 (09:44 +0000)]
@- Use escape_shell_cmd() to allow multiple extra parameters to the
@ invocation of the mailer as used in the fifth parameter to mail(). (Derick)
- Use escape_shell_cmd() to allow multiple extra parameters to the invocation
of the mailer as used in the fifth parameter to mail().
Wez Furlong [Sun, 25 Aug 2002 10:26:58 +0000 (10:26 +0000)]
Add a "closing" parameter for filters to determine if a flush is the last
flush before the stream is closed. This allows filters to finish a chunk
and write footers etc.
Yasuo Ohgaki [Sat, 24 Aug 2002 22:28:28 +0000 (22:28 +0000)]
Changed pg_connection_info()/pg_connection_reset()/pg_connection_busy()/pg_result_status()/pg_result_error() silently return FALSE when resource is not passed to them.
@ Changed pg_connection_info()/pg_connection_reset()/pg_connection_busy()/pg_result_status()/pg_result_error() silently return FALSE when resource is not passed to them. (Yasuo)
Yasuo Ohgaki [Sat, 24 Aug 2002 21:41:25 +0000 (21:41 +0000)]
Rename mysql_character_set_name() to mysql_client_encoding(). pg_client_encoding() is available from PHP4.0.3 and this function is available from PHP 4.3.0
Yasuo Ohgaki [Sat, 24 Aug 2002 07:18:15 +0000 (07:18 +0000)]
Make pg_result_status() a little more useufl by ignoring invalid
parameter and return FALSE.
(i.e. pg_query() may return FALSE instead of result resource)
Thies C. Arntzen [Fri, 23 Aug 2002 14:22:25 +0000 (14:22 +0000)]
- debug_backtrace now also returns an array containing the arguments of the
called function.
zeev, andi - is knowing the structure of the stack considered a bad thing in
zend_builtin_function? if yes i would have to create a new function in
zend_ptr_stack.c (but i think we are save this way)
Wez Furlong [Thu, 22 Aug 2002 22:28:19 +0000 (22:28 +0000)]
Add a configure check to see if the seeker function in an fopencookie
uses off_t or the newer, more portable "fpos_t *".
The check could perhaps be more refined, as the test program will segfault
on older systems (like mine) that use off_t.