diff --git a/package.xml b/package.xml
index f4f93ee..cdf7523 100644
--- a/package.xml
+++ b/package.xml
@@ -4,51 +4,59 @@ http://pear.php.net/dtd/tasks-1.0.xsd
http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
runkit
- pecl.php.net
+ http://github.com/downloads/zenovich/runkit/runkit-1.0.1
For all those things you.... probably shouldn't have been doing anyway....
Replace, rename, and remove user defined functions and classes.
Define customized superglobal variables for general purpose use.
Execute code in restricted environment (sandboxing).
+
+ Dmitry Zenovich
+
+ dzenovich@gmail.com
+ yes
+
Sara Golemon
pollita
pollita@php.net
- yes
+ no
- 2006-06-06
+ 2010-10-03
- 0.9
- 0.8
+ 1.0.1
+ 1.0.1
- beta
- beta
+ stable
+ stable
PHP
- Allow building part of runkit while leaving other functionality out.
---enable-runkit works as before, building all runkit features
-Individual features may enabled or disable by using
---enable-runkit-featurename or --disbale-runkit-featurename
-where featurename is any of:
- modify - Runtime manipulation
- super - Superglobal registration
- sandbox - Sandboxing
+
+ New features:
+ + The patch made by David Sklar was applied to support creation and changing of static methods.
+ The new user-level const "RUNKIT_ACC_STATIC" was introduced.
+ + An ability to import static class properties was added.
+ The new user-level const "RUNKIT_IMPORT_CLASS_STATIC_PROPS" was introduced.
+ + An ability to apply a closure to a sandbox in PHP 5.3+ by calling the call_user_func method was added.
-Ex: ./configure --enable-runkit --disable-runkit-modify
- Enable superglobal registration and sandbox support,
- but disable runtime manipulation.
-
- ./configure --disable-runkit --enable-runkit-sandbox
- Enable only sandboxing support.
-
-This release also:
-- Fixes PHP4 (ZE1) compilation
-- Closes a potential crash-bug in runkit_import()
- handling of default properties
-- Resolves an output buffering bug in Runkit_Sandbox
-- Resolves Runkit_Sandbox failure when superglobals are defined
+ Main bug-fixes:
+ * Fixes of issues with importing constant arrays into properties and constants
+ * Fixes of issues with importing functions or methods having static variables inside them
+ * The behaviour that old methods had been always overridden by new ones independently from
+ the RUNKIT_IMPORT_OVERRIDE flag was corrected
+ * Compatibility with 5.3+ in zts mode
+ * runkit_function_* functions were fixed with the patch from Keisial at gmail dot com
+ (see the second comment from http://pecl.php.net/bugs/bug.php?id=14086)
+ * The reverting of protected methods via runkit_method_copy was corrected, the segmentation fault
+ on calling restored method was eliminated
+ * Elimination of the segmentation-fault on exit after restoring modified internal functions
+ (see also http://pecl.php.net/bugs/bug.php?id=11632)
+ * Correction for the situation when a method or function having static variables in itself
+ and copied by runkit crashes afterwards on calling if the original method or function was removed
+ * The issue that the runkit used to create new methods with lowercase names was fixed, tests were extended
+ * Methods' prototype detection was fixed
@@ -58,16 +66,35 @@ This release also:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -90,6 +117,7 @@ This release also:
+
@@ -98,6 +126,10 @@ This release also:
+
+
+
+
@@ -131,6 +163,67 @@ This release also:
+
+ 2010-04-01
+
+ 1.0
+ 0.8
+
+
+ beta
+ beta
+
+ PHP
+ This version never was released. It contains all changes from official PHP repository since the release of 0.9:
+ johannes: function_entry -> zend_function_entry
+ philip: Fixed test
+ bjori: Fixed PHP bug#46847 (phpinfo() is missing some settings.)
+ felipe: 'static' was added into ZEND_BEGIN_ARG_INFO_EX macro
+ mlively: Rework of runkit_import to allow the fixing of 4519.
+ sfox: Bring the majority of PECL extensions into line with macro/x.x.x versioning.
+ sebastian: Fix #10053: memory exhausted, patch by Stefan Marr.
+ Fix #10300: Segfault when copying __call(), patch by Stefan Marr.
+ Fix #12371. Patch by Stefan Marr <mail@stefan-marr.de>.
+ PHP 5.3+ compatibility.
+ mike: fix build: use Z_LVAL in assignment as Z_BVAL contains a (zend_bool) cast
+ pollita: Catch signature change in zend_unmangle_property_name() -- Thanks steph
+
+
+
+ 2006-06-06
+
+ 0.9
+ 0.8
+
+
+ beta
+ beta
+
+ PHP
+ Allow building part of runkit while leaving other functionality out.
+--enable-runkit works as before, building all runkit features
+Individual features may enabled or disable by using
+--enable-runkit-featurename or --disbale-runkit-featurename
+where featurename is any of:
+ modify - Runtime manipulation
+ super - Superglobal registration
+ sandbox - Sandboxing
+
+Ex: ./configure --enable-runkit --disable-runkit-modify
+ Enable superglobal registration and sandbox support,
+ but disable runtime manipulation.
+
+ ./configure --disable-runkit --enable-runkit-sandbox
+ Enable only sandboxing support.
+
+This release also:
+- Fixes PHP4 (ZE1) compilation
+- Closes a potential crash-bug in runkit_import()
+ handling of default properties
+- Resolves an output buffering bug in Runkit_Sandbox
+- Resolves Runkit_Sandbox failure when superglobals are defined
+
+
2006-05-20
diff --git a/php_runkit.h b/php_runkit.h
index 7c6abd3..6cfbbf8 100644
--- a/php_runkit.h
+++ b/php_runkit.h
@@ -13,6 +13,7 @@
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Sara Golemon |
+ | Modified by Dmitry Zenovich |
+----------------------------------------------------------------------+
*/
@@ -34,7 +35,7 @@
#include "Zend/zend_closures.h"
#endif
-#define PHP_RUNKIT_VERSION "1.0.0-dev"
+#define PHP_RUNKIT_VERSION "1.0.1-dev"
#define PHP_RUNKIT_SANDBOX_CLASSNAME "Runkit_Sandbox"
#define PHP_RUNKIT_SANDBOX_PARENT_CLASSNAME "Runkit_Sandbox_Parent"
diff --git a/runkit.c b/runkit.c
index b38899a..728514e 100644
--- a/runkit.c
+++ b/runkit.c
@@ -13,6 +13,7 @@
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Sara Golemon |
+ | Modified by Dmitry Zenovich |
+----------------------------------------------------------------------+
*/
diff --git a/runkit_classes.c b/runkit_classes.c
index 2ef35c4..6e86bb2 100644
--- a/runkit_classes.c
+++ b/runkit_classes.c
@@ -13,6 +13,7 @@
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Sara Golemon |
+ | Modified by Dmitry Zenovich |
+----------------------------------------------------------------------+
*/
diff --git a/runkit_constants.c b/runkit_constants.c
index 75c18ab..bfc4f6d 100644
--- a/runkit_constants.c
+++ b/runkit_constants.c
@@ -13,6 +13,7 @@
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Sara Golemon |
+ | Modified by Dmitry Zenovich |
+----------------------------------------------------------------------+
*/
diff --git a/runkit_functions.c b/runkit_functions.c
index d0e5f16..78d4ad6 100644
--- a/runkit_functions.c
+++ b/runkit_functions.c
@@ -13,6 +13,7 @@
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Sara Golemon |
+ | Modified by Dmitry Zenovich |
+----------------------------------------------------------------------+
*/
diff --git a/runkit_import.c b/runkit_import.c
index e4e29bc..41c6d66 100644
--- a/runkit_import.c
+++ b/runkit_import.c
@@ -13,6 +13,7 @@
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Sara Golemon |
+ | Modified by Dmitry Zenovich |
+----------------------------------------------------------------------+
*/
diff --git a/runkit_methods.c b/runkit_methods.c
index 6fccd52..460b702 100644
--- a/runkit_methods.c
+++ b/runkit_methods.c
@@ -13,6 +13,7 @@
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Sara Golemon |
+ | Modified by Dmitry Zenovich |
+----------------------------------------------------------------------+
*/
diff --git a/runkit_props.c b/runkit_props.c
index 2593245..54df0f1 100644
--- a/runkit_props.c
+++ b/runkit_props.c
@@ -13,6 +13,7 @@
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Sara Golemon |
+ | Modified by Dmitry Zenovich |
+----------------------------------------------------------------------+
*/
diff --git a/runkit_sandbox.c b/runkit_sandbox.c
index ee9002c..f5a730a 100644
--- a/runkit_sandbox.c
+++ b/runkit_sandbox.c
@@ -13,7 +13,8 @@
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Sara Golemon |
- | Props: Wez Furlong |
+ | Props: Wez Furlong |
+ | Modified by Dmitry Zenovich |
+----------------------------------------------------------------------+
*/
diff --git a/runkit_sandbox_parent.c b/runkit_sandbox_parent.c
index ea755a5..6d62125 100644
--- a/runkit_sandbox_parent.c
+++ b/runkit_sandbox_parent.c
@@ -13,6 +13,7 @@
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Author: Sara Golemon |
+ | Modified by Dmitry Zenovich |
+----------------------------------------------------------------------+
*/
diff --git a/tests/static_vars.phpt b/tests/runkit_method_redefine_with_static_vars.phpt
similarity index 100%
rename from tests/static_vars.phpt
rename to tests/runkit_method_redefine_with_static_vars.phpt