]> granicus.if.org Git - php/log
php
19 years agoAdd some entries that was forgotten
Dmitry Stogov [Fri, 10 Jun 2005 12:27:07 +0000 (12:27 +0000)]
Add some entries that was forgotten

19 years agoAdded test for bug #30162 (it is already fixed but test file was forgotten)
Dmitry Stogov [Fri, 10 Jun 2005 10:46:04 +0000 (10:46 +0000)]
Added test for bug #30162 (it is already fixed but test file was forgotten)

19 years agoAdded test file for bug #31177 (not fixed yet)
Dmitry Stogov [Fri, 10 Jun 2005 10:45:14 +0000 (10:45 +0000)]
Added test file for bug #31177 (not fixed yet)

19 years agotypos
Dmitry Stogov [Fri, 10 Jun 2005 10:23:37 +0000 (10:23 +0000)]
typos

19 years agoFixed support for ZEND_ACC_SHADOW in ReflectionProperty constructor
Dmitry Stogov [Fri, 10 Jun 2005 10:22:36 +0000 (10:22 +0000)]
Fixed support for ZEND_ACC_SHADOW in ReflectionProperty constructor

19 years agoFix so that extensions like xdebug, can overload opcodes in all execution modes inclu...
Dmitry Stogov [Fri, 10 Jun 2005 09:54:38 +0000 (09:54 +0000)]
Fix so that extensions like xdebug, can overload opcodes in all execution modes including goto/switch

19 years agoMerge three opcodes (ZEND_NEW, ZEND_JMP_NO_CTOR, ZEND_INIT_CTOR) into one (ZEND_NEW...
Dmitry Stogov [Fri, 10 Jun 2005 07:56:40 +0000 (07:56 +0000)]
Merge three opcodes (ZEND_NEW, ZEND_JMP_NO_CTOR, ZEND_INIT_CTOR) into one (ZEND_NEW). There was no real reason for this anymore and API should be changed before 5.1

19 years agoPatch from zhao ming sen.
Wez Furlong [Fri, 10 Jun 2005 06:32:36 +0000 (06:32 +0000)]
Patch from zhao ming sen.

19 years ago"Fix" PECL #4411
Wez Furlong [Fri, 10 Jun 2005 06:11:29 +0000 (06:11 +0000)]
"Fix" PECL #4411
SPL is not initialized before PDO, so inheriting from SPL's runtime exception class gives PDO a broken exception class.
We don't currently have a way to express this kind of "soft" dependency in the build system, so I'm disabling inheriting from the runtime exception for now.

19 years agoimplement the 'request shutdown' hook; this allows us to register UDFs on
Wez Furlong [Fri, 10 Jun 2005 05:49:48 +0000 (05:49 +0000)]
implement the 'request shutdown' hook; this allows us to register UDFs on
persistent handles safely. (it is dangerous to keep them registered between
requests, as there are 0 guarantees that functions with the same name are even
present on the next hit, let alone that the zvals we cache point to the right
place.

19 years agoFix a dumb bug that would effecively ignore persistent connections and create a
Wez Furlong [Fri, 10 Jun 2005 05:47:55 +0000 (05:47 +0000)]
Fix a dumb bug that would effecively ignore persistent connections and create a
new one each time.

Add a hook for persistent connections: it is called when the object goes out of
scope, and offers the driver an opportunity to release per-request scoped data
at the right time.

This hook is used by pdo_sqlite to unregister UDFs, which are dangerous to keep
registered between requests.

19 years agoChangeLog update
<changelog@php.net> [Fri, 10 Jun 2005 05:32:48 +0000 (05:32 +0000)]
ChangeLog update

19 years agoadd sqliteCreateAggregate()
Wez Furlong [Fri, 10 Jun 2005 05:17:47 +0000 (05:17 +0000)]
add sqliteCreateAggregate()

19 years agofinish implementation of sqliteCreateFunction().
Wez Furlong [Fri, 10 Jun 2005 04:04:43 +0000 (04:04 +0000)]
finish implementation of sqliteCreateFunction().

19 years agoinitialize type of function
Wez Furlong [Fri, 10 Jun 2005 04:03:43 +0000 (04:03 +0000)]
initialize type of function

19 years agowork in progress on UDF.
Wez Furlong [Fri, 10 Jun 2005 02:50:37 +0000 (02:50 +0000)]
work in progress on UDF.
Something is hokey in HEAD, checking it in to try it on another box.

19 years ago#29689
Stanislav Malyshev [Thu, 9 Jun 2005 17:22:06 +0000 (17:22 +0000)]
#29689

19 years agoMF50: fix #29689 and more private property problems
Stanislav Malyshev [Thu, 9 Jun 2005 17:20:44 +0000 (17:20 +0000)]
MF50:  fix #29689 and more private property problems

19 years agoadd test for this TBF bug
Stanislav Malyshev [Thu, 9 Jun 2005 17:16:13 +0000 (17:16 +0000)]
add test for this TBF bug

19 years agodisallow abstrace private methods
Stanislav Malyshev [Thu, 9 Jun 2005 17:12:54 +0000 (17:12 +0000)]
disallow abstrace private methods

19 years agoFixed double call to php_stream_close() on compiler errors
Dmitry Stogov [Thu, 9 Jun 2005 16:57:43 +0000 (16:57 +0000)]
Fixed double call to php_stream_close() on compiler errors

19 years agoFixed compiler warning.
Ilia Alshanetsky [Thu, 9 Jun 2005 16:13:14 +0000 (16:13 +0000)]
Fixed compiler warning.

19 years agoadd --enable-memory-manager switch for win32 too
Wez Furlong [Thu, 9 Jun 2005 13:09:04 +0000 (13:09 +0000)]
add --enable-memory-manager switch for win32 too

19 years agohmm, backing out this change, as it seems to cause problems with user-space
Wez Furlong [Thu, 9 Jun 2005 12:15:14 +0000 (12:15 +0000)]
hmm, backing out this change, as it seems to cause problems with user-space
streams and filters (the ZE needs to close them before it blows away the
user-space code.

Noticed by Dmitry.  Still need to find out how to avoid double-closing streams.

19 years agoFixed bug #25922 (In error handler, modifying 5th arg (errcontext) may result in...
Dmitry Stogov [Thu, 9 Jun 2005 10:32:08 +0000 (10:32 +0000)]
Fixed bug #25922 (In error handler, modifying 5th arg (errcontext) may result in seg fault)

19 years agoFixed bug (Crash on Windows and ZTS) that was introduced with fix for bug #26456
Dmitry Stogov [Thu, 9 Jun 2005 08:52:51 +0000 (08:52 +0000)]
Fixed bug (Crash on Windows and ZTS) that was introduced with fix for bug #26456

19 years agoFixed reference counting and probable crash on fclose() or shutdown
Dmitry Stogov [Thu, 9 Jun 2005 08:19:30 +0000 (08:19 +0000)]
Fixed reference counting and probable crash on fclose() or shutdown

19 years agoFixed array type autodetection (use namespace name, but not the namespace prefix
Dmitry Stogov [Thu, 9 Jun 2005 08:17:37 +0000 (08:17 +0000)]
Fixed array type autodetection (use namespace name, but not the namespace prefix
)

19 years agoChangeLog update
<changelog@php.net> [Thu, 9 Jun 2005 05:41:03 +0000 (05:41 +0000)]
ChangeLog update

19 years agoFixed bug #33268 (iconv_strlen() works only with a parameter of < 3 in length)
Ilia Alshanetsky [Wed, 8 Jun 2005 23:49:38 +0000 (23:49 +0000)]
Fixed bug #33268 (iconv_strlen() works only with a parameter of < 3 in length)

19 years agoUSE_ZEND_ALLOC should be defined here too.
Frank M. Kromann [Wed, 8 Jun 2005 20:50:44 +0000 (20:50 +0000)]
USE_ZEND_ALLOC should be defined here too.

19 years agoFixed memory allocation bugs in array_reduce() with initial value (#22463 & #24980)
Dmitry Stogov [Wed, 8 Jun 2005 19:54:24 +0000 (19:54 +0000)]
Fixed memory allocation bugs in array_reduce() with initial value (#22463 & #24980)

19 years agoFixed zval_ptr_dtor(&return_value) on uninicialized zval
Dmitry Stogov [Wed, 8 Jun 2005 19:51:56 +0000 (19:51 +0000)]
Fixed zval_ptr_dtor(&return_value) on uninicialized zval

19 years agoFixed exception handling in getIterator() callback (bugs #26229 & #30725)
Dmitry Stogov [Wed, 8 Jun 2005 18:54:04 +0000 (18:54 +0000)]
Fixed exception handling in getIterator() callback (bugs #26229 & #30725)

19 years agoFixed valgrind errors
Dmitry Stogov [Wed, 8 Jun 2005 18:11:06 +0000 (18:11 +0000)]
Fixed valgrind errors

19 years agoFixed ReflectionClass::setStaticPropertyValue()
Dmitry Stogov [Wed, 8 Jun 2005 17:08:06 +0000 (17:08 +0000)]
Fixed ReflectionClass::setStaticPropertyValue()

19 years agoHopefully fixes win32 builds
foobar [Wed, 8 Jun 2005 15:57:17 +0000 (15:57 +0000)]
Hopefully fixes win32 builds

19 years agoFixed incorrect usage of zend_mangle_property_name() (valgrind errors)
Dmitry Stogov [Wed, 8 Jun 2005 15:48:12 +0000 (15:48 +0000)]
Fixed incorrect usage of zend_mangle_property_name() (valgrind errors)

19 years agoFixed lookups for previos opcodes
Dmitry Stogov [Wed, 8 Jun 2005 15:01:35 +0000 (15:01 +0000)]
Fixed lookups for previos opcodes

19 years agoFixed bug #30140 (Problem with array in static properties)
Dmitry Stogov [Wed, 8 Jun 2005 13:21:28 +0000 (13:21 +0000)]
Fixed bug #30140 (Problem with array in static properties)

19 years agoAdded test for bug #32322 (Return values by reference broken( using self::),example...
Dmitry Stogov [Wed, 8 Jun 2005 08:43:38 +0000 (08:43 +0000)]
Added test for bug #32322 (Return values by reference broken( using self::),example singleton instance)

19 years agoFixed test file affected by fix for bug #30820 (static member conflict with $this...
Dmitry Stogov [Wed, 8 Jun 2005 08:08:37 +0000 (08:08 +0000)]
Fixed test file affected by fix for bug #30820 (static member conflict with $this->member silently ignored)

19 years agoFixed bug #30820 (static member conflict with $this->member silently ignored)
Dmitry Stogov [Wed, 8 Jun 2005 08:08:18 +0000 (08:08 +0000)]
Fixed bug #30820 (static member conflict with $this->member silently ignored)

19 years agoFixed bug #30961 (Wrong linenumber in ReflectionClass getStartLine())
Dmitry Stogov [Wed, 8 Jun 2005 06:49:01 +0000 (06:49 +0000)]
Fixed bug #30961 (Wrong linenumber in ReflectionClass getStartLine())

19 years agoChangeLog update
<changelog@php.net> [Wed, 8 Jun 2005 05:39:00 +0000 (05:39 +0000)]
ChangeLog update

19 years agoChangeLog update
<changelog@php.net> [Wed, 8 Jun 2005 00:40:35 +0000 (00:40 +0000)]
ChangeLog update

19 years ago- Fix paths when using --libdir and --includedir configure options
foobar [Tue, 7 Jun 2005 21:56:09 +0000 (21:56 +0000)]
- Fix paths when using --libdir and --includedir configure options

19 years ago- It is nice to close the script with ?>..
foobar [Tue, 7 Jun 2005 21:39:54 +0000 (21:39 +0000)]
- It is nice to close the script with ?>..

19 years agoFixed bug #26456 (Wrong results from Reflection-API getDocComment() when called via...
Dmitry Stogov [Tue, 7 Jun 2005 18:11:56 +0000 (18:11 +0000)]
Fixed bug #26456 (Wrong results from Reflection-API getDocComment() when called via STDIN)

19 years ago-Moved --disable-zend-memory-manager where it belongs
foobar [Tue, 7 Jun 2005 17:22:40 +0000 (17:22 +0000)]
-Moved --disable-zend-memory-manager where it belongs

19 years ago- Show "none" when nothing is found
foobar [Tue, 7 Jun 2005 16:47:33 +0000 (16:47 +0000)]
- Show "none" when nothing is found

19 years agoFixed memory allocation bugs. Probably this patch should fix bug #31725.
Dmitry Stogov [Tue, 7 Jun 2005 15:39:35 +0000 (15:39 +0000)]
Fixed memory allocation bugs. Probably this patch should fix bug #31725.

19 years agoFixed ZTS build.
Ilia Alshanetsky [Tue, 7 Jun 2005 14:01:36 +0000 (14:01 +0000)]
Fixed ZTS build.

19 years ago- Added the --disable-zend-memory-manager switch to disable the Zend memory
Derick Rethans [Tue, 7 Jun 2005 13:36:08 +0000 (13:36 +0000)]
- Added the --disable-zend-memory-manager switch to disable the Zend memory
  manager.
#- I discussed this with Dmitry today - we found it useful.

19 years ago- Not sure why this wasn't committed...
Derick Rethans [Tue, 7 Jun 2005 13:19:09 +0000 (13:19 +0000)]
- Not sure why this wasn't committed...

19 years agoFixed memory leak in debug_print_backtrace()
Dmitry Stogov [Tue, 7 Jun 2005 13:14:23 +0000 (13:14 +0000)]
Fixed memory leak in debug_print_backtrace()

19 years ago- Allow doing --with-mysql --with-mysqli (no mysql libs are bundled atm)
foobar [Tue, 7 Jun 2005 12:39:02 +0000 (12:39 +0000)]
- Allow doing --with-mysql --with-mysqli (no mysql libs are bundled atm)
- Make sure MYSQL_DIR is empty.

19 years agofixed memory leak in bug #28972 ([] operator overflow treatment is incorrect), not...
Dmitry Stogov [Tue, 7 Jun 2005 10:21:52 +0000 (10:21 +0000)]
fixed memory leak in bug #28972 ([] operator overflow treatment is incorrect), not the bug itself.

19 years ago- MF44: Problems with user defined error handler and references
Derick Rethans [Tue, 7 Jun 2005 10:01:30 +0000 (10:01 +0000)]
- MF44: Problems with user defined error handler and references

19 years agoFixed bug #33243 (ze1_compatibility_mode does not work as expected)
Dmitry Stogov [Tue, 7 Jun 2005 07:03:28 +0000 (07:03 +0000)]
Fixed bug #33243 (ze1_compatibility_mode does not work as expected)

19 years agoEnabled test for <any>
Dmitry Stogov [Tue, 7 Jun 2005 05:37:38 +0000 (05:37 +0000)]
Enabled test for <any>

19 years agoChangeLog update
<changelog@php.net> [Tue, 7 Jun 2005 00:35:54 +0000 (00:35 +0000)]
ChangeLog update

19 years agofix build on Solaris
Wez Furlong [Mon, 6 Jun 2005 22:04:14 +0000 (22:04 +0000)]
fix build on Solaris

19 years agosilence warning
foobar [Mon, 6 Jun 2005 22:01:41 +0000 (22:01 +0000)]
silence warning

19 years agotest commit
Wez Furlong [Mon, 6 Jun 2005 17:47:49 +0000 (17:47 +0000)]
test commit

19 years agolibmonetra-5.0 sync.
Brad House [Mon, 6 Jun 2005 16:43:26 +0000 (16:43 +0000)]
libmonetra-5.0 sync.
added m_validateidentifier, which is enabled by default to keep invalid pointer addresses from causing PHP to crash
kept compatability with older versions of libmonetra.

19 years agoBetter storage size for output length.
Ilia Alshanetsky [Mon, 6 Jun 2005 16:30:46 +0000 (16:30 +0000)]
Better storage size for output length.
# Thanks to Stefan for noticing the problem.

19 years ago- Regenerate VM files and add warning about regeneration
Derick Rethans [Mon, 6 Jun 2005 15:17:20 +0000 (15:17 +0000)]
- Regenerate VM files and add warning about regeneration

19 years ago- MH44: Problems with user defined error handler and wrong usage of references
Derick Rethans [Mon, 6 Jun 2005 13:09:23 +0000 (13:09 +0000)]
- MH44: Problems with user defined error handler and wrong usage of references

19 years ago- Fixed bug #33242 (Mangled error message when stream fails).
Derick Rethans [Mon, 6 Jun 2005 12:39:57 +0000 (12:39 +0000)]
- Fixed bug #33242 (Mangled error message when stream fails).

19 years agoFixed bug #32428 (The @ warning error supression operator is broken)
Dmitry Stogov [Mon, 6 Jun 2005 11:20:46 +0000 (11:20 +0000)]
Fixed bug #32428 (The @ warning error supression operator is broken)

19 years agoFixed bug #32799 (crash: calling the corresponding global var during the destruct)
Dmitry Stogov [Mon, 6 Jun 2005 10:38:43 +0000 (10:38 +0000)]
Fixed bug #32799 (crash: calling the corresponding global var during the destruct)

19 years agoAdded test for bug #32596 (Segfault/Memory Leak by getClass (etc) in __destruct)
Dmitry Stogov [Mon, 6 Jun 2005 09:50:40 +0000 (09:50 +0000)]
Added test for bug #32596 (Segfault/Memory Leak by getClass (etc) in __destruct)

19 years agoFixed bug #32993 (implemented Iterator function current() don't throw exception)
Dmitry Stogov [Mon, 6 Jun 2005 08:24:05 +0000 (08:24 +0000)]
Fixed bug #32993 (implemented Iterator function current() don't throw exception)

19 years agoFixed bug #33171 (foreach enumerates private fields declared in base classes)
Dmitry Stogov [Mon, 6 Jun 2005 07:52:08 +0000 (07:52 +0000)]
Fixed bug #33171 (foreach enumerates private fields declared in base classes)

19 years ago- Expose -a as special mode and show whether it is a shell or not
Marcus Boerger [Mon, 6 Jun 2005 07:11:08 +0000 (07:11 +0000)]
- Expose -a as special mode and show whether it is a shell or not

19 years agoDon't crash when compiled with the zend memory manager disabled.
Wez Furlong [Mon, 6 Jun 2005 01:52:18 +0000 (01:52 +0000)]
Don't crash when compiled with the zend memory manager disabled.

19 years agoAvoid double-freeing streams.
Wez Furlong [Mon, 6 Jun 2005 01:51:48 +0000 (01:51 +0000)]
Avoid double-freeing streams.
This can happen because all streams are registered as resources;
the engine also tracks them in the open_files global.

Avoid the potential for double-freeing by simply making streams exposed to the
engine have no closer for the engine to call; they will already be in the
resource list, and thus will be shut down properly at request end.

19 years agoChangeLog update
<changelog@php.net> [Mon, 6 Jun 2005 00:35:16 +0000 (00:35 +0000)]
ChangeLog update

19 years agofixes for #33251
Wez Furlong [Sun, 5 Jun 2005 19:25:01 +0000 (19:25 +0000)]
fixes for #33251

19 years agodon't screw up the default fd set size when --disable-all is used
Wez Furlong [Sun, 5 Jun 2005 19:19:09 +0000 (19:19 +0000)]
don't screw up the default fd set size when --disable-all is used

19 years agoFixed bug #33070 (Improved performance of bzdecompress() by several orders
Ilia Alshanetsky [Sun, 5 Jun 2005 18:04:20 +0000 (18:04 +0000)]
Fixed bug #33070 (Improved performance of bzdecompress() by several orders
of magnitude).

19 years ago- Proper fix for phpize when dealing with PECL
foobar [Sun, 5 Jun 2005 12:58:59 +0000 (12:58 +0000)]
- Proper fix for phpize when dealing with PECL

19 years agomake "nmake install" more verbose.
Wez Furlong [Sun, 5 Jun 2005 02:33:26 +0000 (02:33 +0000)]
make "nmake install" more verbose.

19 years agoAdd option for placing the big binaries outside of the source tree.
Wez Furlong [Sun, 5 Jun 2005 01:57:03 +0000 (01:57 +0000)]
Add option for placing the big binaries outside of the source tree.
I find that having Debug_TS sitting in the source tree makes cvs seem much slower.

19 years agotweaks for a recent addition to cygwin
Wez Furlong [Sun, 5 Jun 2005 01:39:07 +0000 (01:39 +0000)]
tweaks for a recent addition to cygwin

19 years agoChangeLog update
<changelog@php.net> [Sun, 5 Jun 2005 00:35:24 +0000 (00:35 +0000)]
ChangeLog update

19 years ago__halt_compiler() patch interface
Zeev Suraski [Sat, 4 Jun 2005 16:16:53 +0000 (16:16 +0000)]
__halt_compiler() patch interface

19 years agoThought I committed it ages ago... Anyway, without further delays, the final
Zeev Suraski [Sat, 4 Jun 2005 16:16:19 +0000 (16:16 +0000)]
Thought I committed it ages ago...  Anyway, without further delays, the final
__halt_compiler() patch

19 years agoChangeLog update
<changelog@php.net> [Sat, 4 Jun 2005 00:35:41 +0000 (00:35 +0000)]
ChangeLog update

19 years agonuke crap, end scripts always with ?>
foobar [Fri, 3 Jun 2005 23:13:23 +0000 (23:13 +0000)]
nuke crap, end scripts always with ?>

19 years agocs + ws
foobar [Fri, 3 Jun 2005 23:11:51 +0000 (23:11 +0000)]
cs + ws

19 years agoAdd skipif, test requires iconv.
Magnus M��tt� [Fri, 3 Jun 2005 22:51:10 +0000 (22:51 +0000)]
Add skipif, test requires iconv.

19 years agonuke duplicate code
foobar [Fri, 3 Jun 2005 22:09:22 +0000 (22:09 +0000)]
nuke duplicate code

19 years agoAdded test for 5.0 specific bug #30394 (Assignment operators yield wrong result with...
Dmitry Stogov [Fri, 3 Jun 2005 15:38:32 +0000 (15:38 +0000)]
Added test for 5.0 specific bug #30394 (Assignment operators yield wrong result with __get/__set)

19 years agoFixed bug #30080 (Passing array or non array of objects)
Dmitry Stogov [Fri, 3 Jun 2005 15:02:49 +0000 (15:02 +0000)]
Fixed bug #30080 (Passing array or non array of objects)

19 years agoFixed bug #27598 (list() array key assignment causes HUGE memory leak)
Dmitry Stogov [Fri, 3 Jun 2005 13:57:26 +0000 (13:57 +0000)]
Fixed bug #27598 (list() array key assignment causes HUGE memory leak)

19 years agoFixed memory allocation bugs related to magic object handlers (__get(), __set(),
Dmitry Stogov [Fri, 3 Jun 2005 11:16:19 +0000 (11:16 +0000)]
Fixed memory allocation bugs related to magic object handlers (__get(), __set(),
 ...)

19 years agoadded new function mysqli_get_charset
Georg Richter [Fri, 3 Jun 2005 08:49:01 +0000 (08:49 +0000)]
added new function mysqli_get_charset

19 years ago[Move from branch]
George Schlossnagle [Fri, 3 Jun 2005 07:34:49 +0000 (07:34 +0000)]
[Move from branch]
On architectures that support va_copy (specifically x86_64 linux distros),
if you use va_list args more than once, you can corrupt memory - you
need to use va_copy instead.  man va_copy for details.

Also, derefrencing a void * to a long on 64 bit is totally uncool.