Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Expand Interface C API. | Marcus Boerger | 2003-10-22 | 1 | -16/+29 | |
| | | | | | | In short: zend_class_entry->interface_gets_implemented() allows to modify the class entry of a class when an interface gets implemented. | |||||
* | Add oo support function zend_class_implements() | Marcus Boerger | 2003-10-15 | 1 | -0/+20 | |
| | ||||||
* | Fixed bug #24766 (strange result array from unpack()) | Moriyoshi Koizumi | 2003-10-03 | 1 | -10/+10 | |
| | ||||||
* | Add missing check | Marcus Boerger | 2003-09-18 | 1 | -0/+4 | |
| | ||||||
* | Tests show updating consts must happen once at runtime (revert optimization). | Marcus Boerger | 2003-09-04 | 1 | -2/+1 | |
| | | | | | Add tests for static properties. | |||||
* | Fix handling of static properties initialized to arrays | Marcus Boerger | 2003-09-03 | 1 | -7/+9 | |
| | ||||||
* | Fix static properties. | Marcus Boerger | 2003-09-03 | 1 | -1/+0 | |
| | | | | | | | | | # # There's only an errormessage missing which i'll wommit as soon as i find out # how to do it best. But besides that damn message everything works now and all # inheritance rules apply. # | |||||
* | Allow redeclaring of protected properties as public (for internal classes). | Marcus Boerger | 2003-09-02 | 1 | -0/+8 | |
| | | | | | | # See http://news.php.net/article.php?group=php.zend-engine.cvs&article=1737 # for the part not fixed (e.g. property redeclaration of userland classes) | |||||
* | Currently we cannot support static ctor/dtor | Marcus Boerger | 2003-09-02 | 1 | -0/+6 | |
| | ||||||
* | - Add zend_merge_properties() which is designed to serve *_fetch_object(). | Marcus Boerger | 2003-08-29 | 1 | -0/+38 | |
| | | | | | | | | | - Explain drawbacks of object_and_properties_init and zend_merge_properties. # # I guess we can live with the purity problem of potentially calling __set() # of an object which wasn't already ctored. # | |||||
* | Add missing check | Marcus Boerger | 2003-08-24 | 1 | -9/+11 | |
| | ||||||
* | Fix memory source of string duplication for non internal properties | Marcus Boerger | 2003-08-24 | 1 | -1/+2 | |
| | ||||||
* | - Provide appropriate way to destroy internal zval's. | Marcus Boerger | 2003-08-24 | 1 | -0/+25 | |
| | | | | | | - Allow internal zval's of type string and disallow complex types. - Define the default string for extensions at class level instead of ctor. | |||||
* | Use ""'s if you want empty strings. We want to crash on errors. | Zeev Suraski | 2003-08-24 | 1 | -3/+0 | |
| | ||||||
* | Allow NULL, too | Marcus Boerger | 2003-08-24 | 1 | -0/+3 | |
| | ||||||
* | Fix fn_flags handling | Marcus Boerger | 2003-08-24 | 1 | -1/+3 | |
| | ||||||
* | Add property read code and use that in default exception class | Marcus Boerger | 2003-08-24 | 1 | -0/+17 | |
| | ||||||
* | Internal classes can now have default properties. | Marcus Boerger | 2003-08-23 | 1 | -3/+80 | |
| | ||||||
* | - Flag ctor/dtor methods | Marcus Boerger | 2003-08-23 | 1 | -0/+6 | |
| | | | | | | | | - Use this to prevent memleaks when an exception gets thrown in ctors. # I added the dtor flags for consistency, atm a compareable check in # isn't necessary for destruction. But anyway i'll use this for the # Relection API too. | |||||
* | If ce not given than any object would do | Marcus Boerger | 2003-08-21 | 1 | -1/+1 | |
| | ||||||
* | Paramspec 'O' / zend_parse_method_params(): only if given check the class type | Marcus Boerger | 2003-08-21 | 1 | -1/+5 | |
| | ||||||
* | Improve tracking | Zeev Suraski | 2003-08-18 | 1 | -1/+1 | |
| | ||||||
* | - Show class names in error messages when dealing with methods | Marcus Boerger | 2003-08-17 | 1 | -5/+11 | |
| | | | | | - Mark class as abstract if it gets an abstract method | |||||
* | Simplify abstract method declaration | Marcus Boerger | 2003-08-16 | 1 | -1/+1 | |
| | ||||||
* | - Show classes in case of methods | Marcus Boerger | 2003-08-13 | 1 | -4/+11 | |
| | | | | | - Using sprintf here was a bad idea | |||||
* | Ensure functions have a valid access level | Zeev Suraski | 2003-08-03 | 1 | -0/+3 | |
| | ||||||
* | Default to public | Zeev Suraski | 2003-08-03 | 1 | -1/+5 | |
| | ||||||
* | Not needed, will be copied from ptr->flags later | Marcus Boerger | 2003-08-03 | 1 | -1/+0 | |
| | ||||||
* | ntroduce infrastructure for supplying information about arguments, | Zeev Suraski | 2003-08-03 | 1 | -1/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | No need for this initialization - this function initializes all of the | Zeev Suraski | 2003-08-03 | 1 | -1/+0 | |
| | | | | | elements of zend_internal_function | |||||
* | Initialize all struct members: Necessary for reflection | Marcus Boerger | 2003-08-02 | 1 | -0/+1 | |
| | ||||||
* | fix usage of instanceof here too | Wez Furlong | 2003-08-02 | 1 | -3/+4 | |
| | ||||||
* | better fix... | Wez Furlong | 2003-08-01 | 1 | -3/+6 | |
| | ||||||
* | Fix "O" format for zend_parse_parameters | Wez Furlong | 2003-08-01 | 1 | -2/+2 | |
| | ||||||
* | Use instanceof_function() | Zeev Suraski | 2003-07-31 | 1 | -20/+4 | |
| | ||||||
* | Add exec_finished() callback for modules - this is the last place where the | Zeev Suraski | 2003-07-30 | 1 | -1/+2 | |
| | | | | | modules may touch the symbol table reliably | |||||
* | - WS | Andi Gutmans | 2003-07-12 | 1 | -9/+9 | |
| | ||||||
* | - Add support for Z in zend_parse_parameters(). It will allow the extension | Andi Gutmans | 2003-07-11 | 1 | -2/+11 | |
| | | | | | | | - to retreive the zval **, thus allowing it to use the convert_to_*_ex() - family of functions to do type conversions without effecting the value in - the engine itself. (Josh Fuhs <fuhs@purdue.edu>) | |||||
* | Rework zend_do_declare_property and related code into one code base | Zeev Suraski | 2003-07-07 | 1 | -27/+31 | |
| | ||||||
* | Fix bug | Zeev Suraski | 2003-07-07 | 1 | -1/+1 | |
| | ||||||
* | add convenience functions or adding class properties. Ok'd for commit by Andi. | George Schlossnagle | 2003-07-06 | 1 | -0/+45 | |
| | ||||||
* | Fix bug #19859 - allow fast_call_user_function to support __call | Stanislav Malyshev | 2003-07-03 | 1 | -2/+8 | |
| | ||||||
* | - ZE coding style requires if ( instead of if( | Andi Gutmans | 2003-06-30 | 1 | -2/+2 | |
| | ||||||
* | updating license information in the headers. | James Cox | 2003-06-10 | 1 | -1/+1 | |
| | ||||||
* | Support 'self' and 'parent' in call_user_func() | Stanislav Malyshev | 2003-06-09 | 1 | -1/+6 | |
| | ||||||
* | rm namespace leftovers | Stanislav Malyshev | 2003-06-04 | 1 | -23/+0 | |
| | ||||||
* | MEGA-patch: namespaces are R.I.P. | Stanislav Malyshev | 2003-06-02 | 1 | -85/+13 | |
| | ||||||
* | Make use optimized string lowering | Marcus Boerger | 2003-05-21 | 1 | -8/+7 | |
| | ||||||
* | Make zend_str_tolower_copy() a copy function (like stccpy). | Marcus Boerger | 2003-05-21 | 1 | -3/+3 | |
| | | | | | | | | Supply a dup version (like estrdup). Fix tolower() handling. # Havin copy and dup allows to use the faster version even with # memory not allocated by emalloc. | |||||
* | use zend_str_tolower_copy() | Sterling Hughes | 2003-05-21 | 1 | -6/+3 | |
| |