Dmitry Stogov
6efa17c2a1
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
2005-06-10 07:56:40 +00:00
Wez Furlong
a5135f4528
Patch from zhao ming sen.
2005-06-10 06:32:36 +00:00
Wez Furlong
fcff6a079a
"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.
2005-06-10 06:11:29 +00:00
Wez Furlong
711b4e0043
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.
2005-06-10 05:49:48 +00:00
Wez Furlong
49e7b3da4c
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.
2005-06-10 05:47:55 +00:00
3ff7178126
ChangeLog update
2005-06-10 05:32:48 +00:00
Wez Furlong
6cc74b0e39
add sqliteCreateAggregate()
2005-06-10 05:17:47 +00:00
Wez Furlong
41421c7d7a
finish implementation of sqliteCreateFunction().
2005-06-10 04:04:43 +00:00
Wez Furlong
5c16028eb5
initialize type of function
2005-06-10 04:03:43 +00:00
Wez Furlong
be76bd5278
work in progress on UDF.
...
Something is hokey in HEAD, checking it in to try it on another box.
2005-06-10 02:50:37 +00:00
Stanislav Malyshev
648522ab98
#29689
2005-06-09 17:22:06 +00:00
Stanislav Malyshev
2cb52151ac
MF50: fix #29689 and more private property problems
2005-06-09 17:20:44 +00:00
Stanislav Malyshev
b2f7dd2f66
add test for this TBF bug
2005-06-09 17:16:13 +00:00
Stanislav Malyshev
b83a2603b3
disallow abstrace private methods
2005-06-09 17:12:54 +00:00
Dmitry Stogov
59a46c34fa
Fixed double call to php_stream_close() on compiler errors
2005-06-09 16:57:43 +00:00
Ilia Alshanetsky
3341b5dedd
Fixed compiler warning.
2005-06-09 16:13:14 +00:00
Wez Furlong
fc92678b05
add --enable-memory-manager switch for win32 too
2005-06-09 13:09:04 +00:00
Wez Furlong
a4874a5533
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.
2005-06-09 12:15:14 +00:00
Dmitry Stogov
e0b0ae9ce7
Fixed bug #25922 (In error handler, modifying 5th arg (errcontext) may result in seg fault)
2005-06-09 10:32:08 +00:00
Dmitry Stogov
f3ebf7dd91
Fixed bug (Crash on Windows and ZTS) that was introduced with fix for bug #26456
2005-06-09 08:52:51 +00:00
Dmitry Stogov
4c0970bec6
Fixed reference counting and probable crash on fclose() or shutdown
2005-06-09 08:19:30 +00:00
Dmitry Stogov
992a187eb1
Fixed array type autodetection (use namespace name, but not the namespace prefix
...
)
2005-06-09 08:17:37 +00:00
92c5fb8368
ChangeLog update
2005-06-09 05:41:03 +00:00
Ilia Alshanetsky
0c6368d44b
Fixed bug #33268 (iconv_strlen() works only with a parameter of < 3 in length)
2005-06-08 23:49:38 +00:00
Frank M. Kromann
1f33f5cb96
USE_ZEND_ALLOC should be defined here too.
2005-06-08 20:50:44 +00:00
Dmitry Stogov
72c6d5cbaf
Fixed memory allocation bugs in array_reduce() with initial value ( #22463 & #24980 )
2005-06-08 19:54:24 +00:00
Dmitry Stogov
cf5a6f81e3
Fixed zval_ptr_dtor(&return_value) on uninicialized zval
2005-06-08 19:51:56 +00:00
Dmitry Stogov
87df726f05
Fixed exception handling in getIterator() callback (bugs #26229 & #30725 )
2005-06-08 18:54:04 +00:00
Dmitry Stogov
d873ecb29c
Fixed valgrind errors
2005-06-08 18:11:06 +00:00
Dmitry Stogov
9cf513dfea
Fixed ReflectionClass::setStaticPropertyValue()
2005-06-08 17:08:06 +00:00
foobar
03389f8206
Hopefully fixes win32 builds
2005-06-08 15:57:17 +00:00
Dmitry Stogov
415ec46927
Fixed incorrect usage of zend_mangle_property_name() (valgrind errors)
2005-06-08 15:48:12 +00:00
Dmitry Stogov
55cdb7c043
Fixed lookups for previos opcodes
2005-06-08 15:01:35 +00:00
Dmitry Stogov
9affa32237
Fixed bug #30140 (Problem with array in static properties)
2005-06-08 13:21:28 +00:00
Dmitry Stogov
a95db2790d
Added test for bug #32322 (Return values by reference broken( using self::),example singleton instance)
2005-06-08 08:43:38 +00:00
Dmitry Stogov
0a08f62d21
Fixed test file affected by fix for bug #30820 (static member conflict with $this->member silently ignored)
2005-06-08 08:08:37 +00:00
Dmitry Stogov
d02d270f48
Fixed bug #30820 (static member conflict with $this->member silently ignored)
2005-06-08 08:08:18 +00:00
Dmitry Stogov
0a44789bf3
Fixed bug #30961 (Wrong linenumber in ReflectionClass getStartLine())
2005-06-08 06:49:01 +00:00
79ca149b75
ChangeLog update
2005-06-08 05:39:00 +00:00
266290176b
ChangeLog update
2005-06-08 00:40:35 +00:00
foobar
d3f1bf4c35
- Fix paths when using --libdir and --includedir configure options
2005-06-07 21:56:09 +00:00
foobar
7101cd821a
- It is nice to close the script with ?>..
2005-06-07 21:39:54 +00:00
Dmitry Stogov
58a0ee09c3
Fixed bug #26456 (Wrong results from Reflection-API getDocComment() when called via STDIN)
2005-06-07 18:11:56 +00:00
foobar
eaa3d6c5ec
-Moved --disable-zend-memory-manager where it belongs
2005-06-07 17:22:40 +00:00
foobar
8e2efc351b
- Show "none" when nothing is found
2005-06-07 16:47:33 +00:00
Dmitry Stogov
84392e5e7f
Fixed memory allocation bugs. Probably this patch should fix bug #31725 .
2005-06-07 15:39:35 +00:00
Ilia Alshanetsky
7e8bd05c89
Fixed ZTS build.
2005-06-07 14:01:36 +00:00
Derick Rethans
7a3dbcd1c4
- Added the --disable-zend-memory-manager switch to disable the Zend memory
...
manager.
#- I discussed this with Dmitry today - we found it useful.
2005-06-07 13:36:08 +00:00
Derick Rethans
401902b8a5
- Not sure why this wasn't committed...
2005-06-07 13:19:09 +00:00
Dmitry Stogov
fac2718edd
Fixed memory leak in debug_print_backtrace()
2005-06-07 13:14:23 +00:00