]> granicus.if.org Git - php/log
php
21 years agoDon't let the shell escape quotes
Tomas V.V.Cox [Sun, 3 Aug 2003 19:21:34 +0000 (19:21 +0000)]
Don't let the shell escape quotes

21 years agoStyle & WS fixes
Moriyoshi Koizumi [Sun, 3 Aug 2003 19:20:45 +0000 (19:20 +0000)]
Style & WS fixes

21 years agoFix build
Marcus Boerger [Sun, 3 Aug 2003 18:55:51 +0000 (18:55 +0000)]
Fix build

21 years agoFix warning
Marcus Boerger [Sun, 3 Aug 2003 18:52:09 +0000 (18:52 +0000)]
Fix warning

21 years agoReallow build
Marcus Boerger [Sun, 3 Aug 2003 18:46:34 +0000 (18:46 +0000)]
Reallow build

21 years agoUse new infrastructure.
Zeev Suraski [Sun, 3 Aug 2003 17:44:39 +0000 (17:44 +0000)]
Use new infrastructure.

There are bound to be some messups, please report build/runtime bugs!

21 years agoRemove unnecessary macro
Zeev Suraski [Sun, 3 Aug 2003 17:42:01 +0000 (17:42 +0000)]
Remove unnecessary macro

21 years agontroduce infrastructure for supplying information about arguments,
Zeev Suraski [Sun, 3 Aug 2003 17:40:44 +0000 (17:40 +0000)]
ntroduce infrastructure for supplying information about arguments,
including:

- Whether or not to pass by ref (replaces the old arg_types, with arg_info)
- Argument name (for future use, maybe introspection)
- Class/Interface name (for type hints)
- If a class/interface name is available, whether to allow a null instance

Both user and builtin functions share the same data structures.

To declare a builtin function that expects its first arg to be an instance
of class 'Person', its second argument as a regular arg, and its third by
reference, use:

ZEND_BEGIN_ARG_INFO(my_func_arg_info, 0)
    ZEND_ARG_OBJ_INFO(0, someone, Person, 1)
    ZEND_ARG_PASS_INFO(0)
    ZEND_ARG_PASS_INFO(1)
ZEND_END_ARG_INFO();

and use my_func_arg_info as the arg_info parameter to the ZEND_FE() family
of macros.

The first arg to each ZEND_ARG_*() macro is whether or not to pass by ref.

The boolean arg to ZEND_BEGIN_ARG_INFO() tells the engine whether to treat
the arguments for which there's no explicit information as pass by reference
or not.
The boolean argument to ZEND_ARG_OBJ_INFO() (4th arg) is whether or not to allownull values.

21 years agoDisable the test temporarily because "-d" flags in the command line doesn't
Moriyoshi Koizumi [Sun, 3 Aug 2003 13:58:20 +0000 (13:58 +0000)]
Disable the test temporarily because "-d" flags in the command line doesn't
take effect under CGI mode. (See the relevant portion of cgi_main.c
that begins at line 996)

21 years agoMade package dep checking to work again
Tomas V.V.Cox [Sun, 3 Aug 2003 13:44:36 +0000 (13:44 +0000)]
Made package dep checking to work again
(Seems that this line got lost at some point)

21 years agoFix Win32 Build because of missint TSRM stuff
Uwe Schindler [Sun, 3 Aug 2003 11:22:53 +0000 (11:22 +0000)]
Fix Win32 Build because of missint TSRM stuff

21 years agoNo need for this initialization - this function initializes all of the
Zeev Suraski [Sun, 3 Aug 2003 10:32:40 +0000 (10:32 +0000)]
No need for this initialization - this function initializes all of the
elements of zend_internal_function

21 years agoClean up. extended_value can only contain either ZEND_UNSET_DIM or
Zeev Suraski [Sun, 3 Aug 2003 08:23:25 +0000 (08:23 +0000)]
Clean up.  extended_value can only contain either ZEND_UNSET_DIM or
ZEND_UNSET_OBJ.

21 years agoGeneralize fetch_class
Zeev Suraski [Sun, 3 Aug 2003 08:21:08 +0000 (08:21 +0000)]
Generalize fetch_class

21 years agoChangeLog update
<changelog@php.net> [Sun, 3 Aug 2003 00:30:27 +0000 (00:30 +0000)]
ChangeLog update

21 years agoInitialize all struct members: Necessary for reflection
Marcus Boerger [Sat, 2 Aug 2003 19:03:14 +0000 (19:03 +0000)]
Initialize all struct members: Necessary for reflection

21 years agoFixed bug #24177 (Status not set correctly after flush() in Apache 2)
Ilia Alshanetsky [Sat, 2 Aug 2003 18:29:30 +0000 (18:29 +0000)]
Fixed bug #24177 (Status not set correctly after flush() in Apache 2)

21 years agofix invalid $fp check (by nicox@php.net)
Tomas V.V.Cox [Sat, 2 Aug 2003 15:34:19 +0000 (15:34 +0000)]
fix invalid $fp check (by nicox@php.net)

21 years agoupgrade-all back to work
Tomas V.V.Cox [Sat, 2 Aug 2003 14:59:44 +0000 (14:59 +0000)]
upgrade-all back to work

21 years agotrailing ws
Tomas V.V.Cox [Sat, 2 Aug 2003 14:57:59 +0000 (14:57 +0000)]
trailing ws

21 years agoShow interfaces
Marcus Boerger [Sat, 2 Aug 2003 14:22:18 +0000 (14:22 +0000)]
Show interfaces

21 years agoUse correct macro
Marcus Boerger [Sat, 2 Aug 2003 13:49:12 +0000 (13:49 +0000)]
Use correct macro

21 years agofix usage of instanceof here too
Wez Furlong [Sat, 2 Aug 2003 11:43:55 +0000 (11:43 +0000)]
fix usage of instanceof here too

21 years agoFix warning
Marcus Boerger [Sat, 2 Aug 2003 11:39:15 +0000 (11:39 +0000)]
Fix warning

21 years agoChangeLog update
<changelog@php.net> [Sat, 2 Aug 2003 00:30:27 +0000 (00:30 +0000)]
ChangeLog update

21 years agoFixed bug #22072 (Apache2 sapis do not detect aborted connections).
Ilia Alshanetsky [Fri, 1 Aug 2003 20:20:11 +0000 (20:20 +0000)]
Fixed bug #22072 (Apache2 sapis do not detect aborted connections).

21 years agobetter fix...
Wez Furlong [Fri, 1 Aug 2003 17:51:56 +0000 (17:51 +0000)]
better fix...

21 years agoPreserve exit status for non-php execution modes.
Ilia Alshanetsky [Fri, 1 Aug 2003 16:52:49 +0000 (16:52 +0000)]
Preserve exit status for non-php execution modes.

21 years agoFix "O" format for zend_parse_parameters
Wez Furlong [Fri, 1 Aug 2003 16:48:11 +0000 (16:48 +0000)]
Fix "O" format for zend_parse_parameters

21 years agoFixed bug #23509 (exit code lost when exit() called from
Ilia Alshanetsky [Fri, 1 Aug 2003 12:26:28 +0000 (12:26 +0000)]
Fixed bug #23509 (exit code lost when exit() called from
register_shutdown_function())

21 years agoRemoved the unnecessary check of array_init() return value.
Andrey Hristov [Fri, 1 Aug 2003 11:09:11 +0000 (11:09 +0000)]
Removed the unnecessary check of array_init() return value.

21 years agoAdd missing .cvsignore files.
Edin Kadribasic [Fri, 1 Aug 2003 09:48:57 +0000 (09:48 +0000)]
Add missing .cvsignore files.

21 years agoSegfault fix.
John Coggeshall [Fri, 1 Aug 2003 09:48:06 +0000 (09:48 +0000)]
Segfault fix.

21 years agoFixed a number of memleaks and cleaned up the code a bit.
John Coggeshall [Fri, 1 Aug 2003 09:12:35 +0000 (09:12 +0000)]
Fixed a number of memleaks and cleaned up the code a bit.

21 years agoChangeLog update
<changelog@php.net> [Fri, 1 Aug 2003 00:30:42 +0000 (00:30 +0000)]
ChangeLog update

21 years agoAdding the tidy extension to PECL
John Coggeshall [Fri, 1 Aug 2003 00:22:43 +0000 (00:22 +0000)]
Adding the tidy extension to PECL

21 years agoOnly register server variables when needed.
Ilia Alshanetsky [Thu, 31 Jul 2003 22:56:57 +0000 (22:56 +0000)]
Only register server variables when needed.

21 years agoFixed bug #24883 (variables created through register_globals, ignore
Ilia Alshanetsky [Thu, 31 Jul 2003 22:29:32 +0000 (22:29 +0000)]
Fixed bug #24883 (variables created through register_globals, ignore
gpc_order and variables_order).
Prevent multiple registration of ENV & SERVER variables when more then one
is specified.
Prevent multiple addition of GET/POST/COOKIE variables when building
_REQUEST.

21 years agoFixed bug #22154 (Possible crash when memory_limit is reached and
Ilia Alshanetsky [Thu, 31 Jul 2003 19:46:03 +0000 (19:46 +0000)]
Fixed bug #22154 (Possible crash when memory_limit is reached and
output buffering in addition to session.use_trans_sid is used).

21 years ago- Removed the unnecessary check of array_init() return value.
foobar [Thu, 31 Jul 2003 18:28:47 +0000 (18:28 +0000)]
- Removed the unnecessary check of array_init() return value.

21 years agoUse instanceof_function()
Zeev Suraski [Thu, 31 Jul 2003 16:30:15 +0000 (16:30 +0000)]
Use instanceof_function()

21 years agoFinish the array overloading patch
Zeev Suraski [Thu, 31 Jul 2003 09:06:11 +0000 (09:06 +0000)]
Finish the array overloading patch

21 years agoCleanup
Zeev Suraski [Thu, 31 Jul 2003 08:24:55 +0000 (08:24 +0000)]
Cleanup

21 years ago- Fix logic. It was the wrong way around.
Andi Gutmans [Thu, 31 Jul 2003 05:08:59 +0000 (05:08 +0000)]
- Fix logic. It was the wrong way around.

21 years agoChangeLog update
<changelog@php.net> [Thu, 31 Jul 2003 00:30:27 +0000 (00:30 +0000)]
ChangeLog update

21 years agoRevert the fix for now
foobar [Wed, 30 Jul 2003 21:56:45 +0000 (21:56 +0000)]
Revert the fix for now

21 years ago- Fix problem with hash when updating same bucket with data of different
Andi Gutmans [Wed, 30 Jul 2003 19:47:39 +0000 (19:47 +0000)]
- Fix problem with hash when updating same bucket with data of different
  sizes one after another.
- Fix number of arguments to read_dimension.

21 years agoFixed bug #24873 (incorrect handling of / inside open_basedir)
Ilia Alshanetsky [Wed, 30 Jul 2003 17:55:06 +0000 (17:55 +0000)]
Fixed bug #24873 (incorrect handling of / inside open_basedir)

21 years agoGet rid of an opcode
Zeev Suraski [Wed, 30 Jul 2003 17:49:27 +0000 (17:49 +0000)]
Get rid of an opcode

21 years agoSupport overloading of $foo["bar"] += "baz"
Zeev Suraski [Wed, 30 Jul 2003 17:40:54 +0000 (17:40 +0000)]
Support overloading of $foo["bar"] += "baz"

21 years agoFixed bug #23792 (8 bit graphics don't rotate properly)
Ilia Alshanetsky [Wed, 30 Jul 2003 17:34:11 +0000 (17:34 +0000)]
Fixed bug #23792 (8 bit graphics don't rotate properly)
Patch by: pajoye@php.net

21 years agoImprove array overloading - support unset($foo["bar"])
Zeev Suraski [Wed, 30 Jul 2003 17:12:06 +0000 (17:12 +0000)]
Improve array overloading - support unset($foo["bar"])

21 years agoRemove garbage
Zeev Suraski [Wed, 30 Jul 2003 17:02:41 +0000 (17:02 +0000)]
Remove garbage

21 years agoCall exec_finished()
Zeev Suraski [Wed, 30 Jul 2003 16:15:03 +0000 (16:15 +0000)]
Call exec_finished()

21 years agoAdd exec_finished() callback for modules - this is the last place where the
Zeev Suraski [Wed, 30 Jul 2003 16:13:52 +0000 (16:13 +0000)]
Add exec_finished() callback for modules - this is the last place where the
modules may touch the symbol table reliably

21 years agoFix build on certain platforms which do not accept #include FOOBAR
foobar [Wed, 30 Jul 2003 14:09:42 +0000 (14:09 +0000)]
Fix build on certain platforms which do not accept #include FOOBAR

21 years agoFix yaz_record, type array to return bibliographic record part
Adam Dickmeiss [Wed, 30 Jul 2003 09:53:39 +0000 (09:53 +0000)]
Fix yaz_record, type array to return bibliographic record part

21 years agoChangeLog update
<changelog@php.net> [Wed, 30 Jul 2003 00:30:26 +0000 (00:30 +0000)]
ChangeLog update

21 years agoFinalize the closing process of persistent streams. The current
Ilia Alshanetsky [Tue, 29 Jul 2003 18:26:34 +0000 (18:26 +0000)]
Finalize the closing process of persistent streams. The current
behavior/API is as follows:

1) To close a persistent use php_stream_pclose(), it will close the stream
and remove it from the persistent list.

2) Inside PHP code only explicit fclose() will close persistent streams,
all other actions such as unset() or assigning a value to stream handle
will not.

3) Regular streams can still be closed by either fclose(), unset() or an
assignment of a value to the stream handler.

21 years agoTest case for bug #22836.
Ilia Alshanetsky [Tue, 29 Jul 2003 17:56:50 +0000 (17:56 +0000)]
Test case for bug #22836.

21 years agoincrement refcount for arrays passed to xml_set_handler
Rob Richards [Tue, 29 Jul 2003 13:34:50 +0000 (13:34 +0000)]
increment refcount for arrays passed to xml_set_handler

21 years agoRemove the obfuscation caused by the double "#ifdef ZTS"
foobar [Tue, 29 Jul 2003 01:30:59 +0000 (01:30 +0000)]
Remove the obfuscation caused by the double "#ifdef ZTS"

21 years agoFixed a double free bug when freeing persistent streams.
Ilia Alshanetsky [Mon, 28 Jul 2003 18:57:28 +0000 (18:57 +0000)]
Fixed a double free bug when freeing persistent streams.

21 years agoMake pclose() respect references.
Ilia Alshanetsky [Mon, 28 Jul 2003 14:42:42 +0000 (14:42 +0000)]
Make pclose() respect references.

21 years agoFixed bug #24839 (missing </div>)
foobar [Mon, 28 Jul 2003 10:44:19 +0000 (10:44 +0000)]
Fixed bug #24839 (missing </div>)

21 years agows fix
foobar [Mon, 28 Jul 2003 10:23:36 +0000 (10:23 +0000)]
ws fix

21 years agoFixed bug #13142 (strtotime not handling "M d H:i:s Y" format)
Ilia Alshanetsky [Mon, 28 Jul 2003 04:01:32 +0000 (04:01 +0000)]
Fixed bug #13142 (strtotime not handling "M d H:i:s Y" format)

21 years agoChangeLog update
<changelog@php.net> [Mon, 28 Jul 2003 00:30:27 +0000 (00:30 +0000)]
ChangeLog update

21 years agoFix bug #24801 (xml_call_handler() causes segmentation fault)
Rob Richards [Sun, 27 Jul 2003 20:32:55 +0000 (20:32 +0000)]
Fix bug #24801 (xml_call_handler() causes segmentation fault)

21 years agoremove xml debug code
Rob Richards [Sun, 27 Jul 2003 20:21:36 +0000 (20:21 +0000)]
remove xml debug code

21 years agoFixed bug #24557 (make fclose() respect refcount on the resource).
Ilia Alshanetsky [Sun, 27 Jul 2003 18:45:02 +0000 (18:45 +0000)]
Fixed bug #24557 (make fclose() respect refcount on the resource).

21 years agoFixed bug #24827 (ob_gzhandler overrides Vary header)
Ilia Alshanetsky [Sun, 27 Jul 2003 18:16:06 +0000 (18:16 +0000)]
Fixed bug #24827 (ob_gzhandler overrides Vary header)

21 years agoreworking xml namespace support
Rob Richards [Sun, 27 Jul 2003 17:57:06 +0000 (17:57 +0000)]
reworking xml namespace support
add node lookupNamespaceURI and lookupPrefix
add attr isId

21 years ago#damn
Marcus Boerger [Sun, 27 Jul 2003 17:44:20 +0000 (17:44 +0000)]
#damn

21 years agoIn protocol version < 3 we cannot test transaction status and do unconditional ROLLBACK;
Marcus Boerger [Sun, 27 Jul 2003 17:05:56 +0000 (17:05 +0000)]
In protocol version < 3 we cannot test transaction status and do unconditional ROLLBACK;

21 years agoAdded new function pg_parameter_status()
Marcus Boerger [Sun, 27 Jul 2003 16:47:36 +0000 (16:47 +0000)]
Added new function pg_parameter_status()

21 years agoNeeded function detection
Marcus Boerger [Sun, 27 Jul 2003 16:46:40 +0000 (16:46 +0000)]
Needed function detection

21 years agoNew smart connect/shutdown for persistent connections.
Marcus Boerger [Sun, 27 Jul 2003 16:45:10 +0000 (16:45 +0000)]
New smart connect/shutdown for persistent connections.
Behavior for old libs/servers is "BEGIN;ROLLBACK;" in request shutdown.
For new libs a "RESET ALL;" is done in connect and "ROLLBACK;" is only done
where appropriate.

21 years agofix compare
Stanislav Malyshev [Sun, 27 Jul 2003 16:43:05 +0000 (16:43 +0000)]
fix compare

21 years agouse zend_binary_strncasecmp
Stanislav Malyshev [Sun, 27 Jul 2003 16:39:35 +0000 (16:39 +0000)]
use zend_binary_strncasecmp

21 years agochange shutdown order so that dtors would coexist with object error handlers
Stanislav Malyshev [Sun, 27 Jul 2003 15:59:37 +0000 (15:59 +0000)]
change shutdown order so that dtors would coexist with object error handlers

21 years agoclean the right one
Stanislav Malyshev [Sun, 27 Jul 2003 14:02:46 +0000 (14:02 +0000)]
clean the right one

21 years agomake shutdown more granular so in case some dtor goes ape we still
Stanislav Malyshev [Sun, 27 Jul 2003 13:47:58 +0000 (13:47 +0000)]
make shutdown more granular so in case some dtor goes ape we still
can shut down cleanly

21 years agomake clone and throw coexist peacefully
Stanislav Malyshev [Sun, 27 Jul 2003 13:20:31 +0000 (13:20 +0000)]
make clone and throw coexist peacefully

21 years agoadd test
Stanislav Malyshev [Sun, 27 Jul 2003 12:50:56 +0000 (12:50 +0000)]
add test

21 years agofix #24635: clean hash before putting into cache
Stanislav Malyshev [Sun, 27 Jul 2003 12:46:14 +0000 (12:46 +0000)]
fix #24635: clean hash before putting into cache

21 years agofix crash #24550
Stanislav Malyshev [Sun, 27 Jul 2003 12:25:50 +0000 (12:25 +0000)]
fix crash #24550

21 years agoadd test
Stanislav Malyshev [Sun, 27 Jul 2003 12:07:23 +0000 (12:07 +0000)]
add test

21 years agofix leaks with class constants (bug #24699)
Stanislav Malyshev [Sun, 27 Jul 2003 12:03:54 +0000 (12:03 +0000)]
fix leaks with class constants (bug #24699)

21 years agomake __clone call case insensitive, just as other calls are
Stanislav Malyshev [Sun, 27 Jul 2003 11:42:21 +0000 (11:42 +0000)]
make __clone call case insensitive, just as other calls are

21 years agodoctype and namespace fix
Rob Richards [Fri, 25 Jul 2003 17:25:50 +0000 (17:25 +0000)]
doctype and namespace fix
memory leak fix

21 years agoMade avaible the "download-all" command
Tomas V.V.Cox [Fri, 25 Jul 2003 17:08:19 +0000 (17:08 +0000)]
Made avaible the "download-all" command

21 years agoFix typo (and debug build)
foobar [Fri, 25 Jul 2003 12:15:33 +0000 (12:15 +0000)]
Fix typo (and debug build)

21 years agoPartial MDB
Edin Kadribasic [Fri, 25 Jul 2003 11:41:33 +0000 (11:41 +0000)]
Partial MDB

21 years agoFix run-test.php so it can correctly handle skip conditions.
Moriyoshi Koizumi [Fri, 25 Jul 2003 05:51:57 +0000 (05:51 +0000)]
Fix run-test.php so it can correctly handle skip conditions.

21 years agoRemoved unused variable.
Ilia Alshanetsky [Fri, 25 Jul 2003 03:03:26 +0000 (03:03 +0000)]
Removed unused variable.

21 years agoFix Bug#24784 single character search keys not respecting case sensitivity/replace...
Sara Golemon [Fri, 25 Jul 2003 01:03:39 +0000 (01:03 +0000)]
Fix Bug#24784 single character search keys not respecting case sensitivity/replace count parameters.

21 years agoChangeLog update
<changelog@php.net> [Fri, 25 Jul 2003 00:30:31 +0000 (00:30 +0000)]
ChangeLog update

21 years agoBug 24760 fix, in which the port number when non-default is not handled
Harrie Hazewinkel [Thu, 24 Jul 2003 21:48:55 +0000 (21:48 +0000)]
Bug 24760 fix, in which the port number when non-default is not handled
correctly and ends up as the default port. This seems to be caused by
some buffer overflow where the port number is assign zero, even though
it it is not assigned to the port variable.
FIx was reported and a fix proposed by "chuck+php at 2003 dot snew dot com"

21 years agoUpdate due to Zeev's latest engine changes
Marcus Boerger [Thu, 24 Jul 2003 20:28:15 +0000 (20:28 +0000)]
Update due to Zeev's latest engine changes