Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - Update copyright notices to 2006 | Andi Gutmans | 2006-01-04 | 1 | -1/+1 | |
| | ||||||
* | Allow recursive calls to __get/__set for different properties | Dmitry Stogov | 2005-11-15 | 1 | -4/+5 | |
| | ||||||
* | Fixed clone bug in ze1_compatibilty mode | Dmitry Stogov | 2005-08-04 | 1 | -2/+2 | |
| | ||||||
* | Bump up the year | foobar | 2005-08-03 | 1 | -1/+1 | |
| | ||||||
* | Fixed bug #33512 (Add missing support for isset()/unset() overloading to ↵ | Dmitry Stogov | 2005-07-07 | 1 | -0/+2 | |
| | | | | complement the property get/set methods) | |||||
* | Fixed ZTS build. | Ilia Alshanetsky | 2005-06-07 | 1 | -0/+2 | |
| | ||||||
* | Fixed bug #33243 (ze1_compatibility_mode does not work as expected) | Dmitry Stogov | 2005-06-07 | 1 | -1/+23 | |
| | ||||||
* | - Revert following patch until we decide what is the right way to handle | Andi Gutmans | 2005-02-24 | 1 | -5/+2 | |
| | | | | | | | - this: - Fix signatures they are all meant to be able to deal with any type in any object storage (though we are still missing several parts) | |||||
* | - Fix signatures they are all meant to be able to deal with any type in any | Marcus Boerger | 2005-02-22 | 1 | -2/+5 | |
| | | | | | object storage (though we are still missing several parts) | |||||
* | Simplify/Optmize magic method calls (__get/__set/__call/__clone/__destruct) | Marcus Boerger | 2004-09-28 | 1 | -18/+2 | |
| | ||||||
* | - Fix handling of exceptions in dtors | Marcus Boerger | 2004-09-06 | 1 | -3/+6 | |
| | ||||||
* | - Improve fix for protecting destructor's from exceptions. | Andi Gutmans | 2004-03-02 | 1 | -5/+8 | |
| | | | | | - I was killing the current exception completely which was wrong. | |||||
* | - Fix crash in destructors(). You can't throw an exception in destructors | Andi Gutmans | 2004-03-01 | 1 | -0/+8 | |
| | | | | | as there is no guaranteed time when the destructor will be called. | |||||
* | - Small fixes | Zeev Suraski | 2004-02-04 | 1 | -9/+3 | |
| | ||||||
* | Change destructor implementation (details will follow on internals@) | Zeev Suraski | 2004-02-04 | 1 | -1/+5 | |
| | ||||||
* | Nuke unused variable | Marcus Boerger | 2004-02-03 | 1 | -1/+0 | |
| | ||||||
* | Perform a bitwise copy of the object even when __clone() is defined. | Zeev Suraski | 2004-02-03 | 1 | -16/+2 | |
| | | | | | | | | __clone() is back to not requiring any arguments, as $that is no longer needed ($this already contains a copy of the original object, by the time we __clone() is executed). Calling the parent clone is done using parent::__clone() | |||||
* | Redesign the clone() feature to fix some fundamental flaws in the previous | Zeev Suraski | 2004-02-02 | 1 | -2/+5 | |
| | | | | | | | | | | | | | | | | implementation. Using clone directly is now done using $replica = clone $src; Clone methods must now be declared as follows: function __clone($that) { } Clone methods in derived classes can call the __clone method of their parent classes using parent::__clone($that) | |||||
* | - Happy new year and PHP 5 for rest of the files too.. | foobar | 2004-01-08 | 1 | -1/+1 | |
| | | | | | # Should the LICENSE and Zend/LICENSE dates be updated too? | |||||
* | Simplify | Marcus Boerger | 2003-12-27 | 1 | -25/+7 | |
| | ||||||
* | Synch/Unify error messages related to function/method calls | Marcus Boerger | 2003-09-02 | 1 | -2/+2 | |
| | ||||||
* | Precise destructor errors | Marcus Boerger | 2003-08-09 | 1 | -3/+14 | |
| | ||||||
* | make clone and throw coexist peacefully | Stanislav Malyshev | 2003-07-27 | 1 | -1/+3 | |
| | ||||||
* | Shuffle code to ease writing clone handlers | Marcus Boerger | 2003-07-19 | 1 | -16/+21 | |
| | ||||||
* | Temporairy solution to overcome shutdown propbelms with objects that have | Marcus Boerger | 2003-07-02 | 1 | -2/+3 | |
| | | | | | | | | | hidden destructors. # # If we set the error level to E_ERROR what we must to to be correct and an # object needs to be automatically destructed in shutdown process then the # exit would cause memory corruption and a SEGV. | |||||
* | Reorganize this a bit to ensure the object memory is destructed before | Marcus Boerger | 2003-07-02 | 1 | -27/+31 | |
| | | | | | showing the error. | |||||
* | Finally fix property cloning and fix the tests accordingly. | Marcus Boerger | 2003-07-02 | 1 | -1/+7 | |
| | | | | | | | | # The default behaviour is to copy all properties with all current values # from the old object. But if __clone is overwritten then only the default # properties are cloned with their correct default values. So we keep # the type system intact and also allow real __clone overwriting now. | |||||
* | Fix __clone(). | Marcus Boerger | 2003-07-01 | 1 | -7/+4 | |
| | | | | | | | | | # This is somewhat discussable. I copied all properties from the old to the # new object. But for type correctness we only need to copy the properties # declared in the class and its parents. # # Also someone might want to take care about static and const members. | |||||
* | Fix destructor visibility | Marcus Boerger | 2003-07-01 | 1 | -2/+17 | |
| | ||||||
* | updating license information in the headers. | James Cox | 2003-06-10 | 1 | -1/+1 | |
| | ||||||
* | Eliminate TSRMLS_FETCH() calls in zend_objects_new() and ↵ | Sebastian Bergmann | 2003-03-26 | 1 | -7/+4 | |
| | | | | zend_objects_get_address(). | |||||
* | - Added some missing CVS $Id$ tags, headers and footers. | foobar | 2003-02-01 | 1 | -0/+29 | |
| | ||||||
* | export zend_objects_destroy_object() | Harald Radi | 2003-01-17 | 1 | -1/+1 | |
| | | | | | | | static inline was meaningless anyways as the function was only used as a callback handler and was never called directly | |||||
* | - Change the automatically created variable $clone in __clone() to | Andi Gutmans | 2002-11-05 | 1 | -1/+1 | |
| | | | | | | | | - $that as discussed at the PHP Conference. If there are any objections - alternative names please let me know. The reason for changing it from - $clone is because $clone sounds as if it's the newly cloned object and - not the old one. | |||||
* | Support for __get, __set and __call in classes. | Stanislav Malyshev | 2002-09-04 | 1 | -0/+2 | |
| | | | | | | | This should work as follows: if class hasn't member with given name, __get/__set is called. If class has no method with given name, __call is called. __get/__set are not recursive, __call can be. | |||||
* | Fix warning. | Sebastian Bergmann | 2002-08-08 | 1 | -1/+1 | |
| | ||||||
* | Add ZEND_API to functions | Stanislav Malyshev | 2002-08-08 | 1 | -3/+3 | |
| | ||||||
* | - Export zend_object_get_address() | Andi Gutmans | 2002-07-01 | 1 | -1/+1 | |
| | ||||||
* | - Nuke persist_alloc(). | Andi Gutmans | 2002-06-22 | 1 | -1/+1 | |
| | ||||||
* | - Fix build | Andi Gutmans | 2002-05-31 | 1 | -4/+3 | |
| | ||||||
* | Generalize object storage and reference bookkeeping | Stanislav Malyshev | 2002-05-31 | 1 | -139/+5 | |
| | ||||||
* | - constructor_called is supposed to be destructor_called | Andi Gutmans | 2002-05-14 | 1 | -6/+6 | |
| | ||||||
* | - Pass TSRMLS to callbacks. | Andi Gutmans | 2002-03-15 | 1 | -8/+4 | |
| | ||||||
* | - Fix crash reported by Sebastian when destructor function causes a fatal | Andi Gutmans | 2002-03-01 | 1 | -1/+3 | |
| | | | | | - error. I hope this does it and we don't find any other problems. | |||||
* | - Remove object debug messages. | Andi Gutmans | 2002-02-08 | 1 | -1/+1 | |
| | ||||||
* | Mega-commit: Enter the new object model | Stanislav Malyshev | 2002-02-07 | 1 | -19/+15 | |
| | | | | | | | Note: only standard Zend objects are working now. This is definitely going to break custom objects like COM, Java, etc. - this will be fixed later. Also, this may break other things that access objects' internals directly. | |||||
* | - Fix problem with the objects_destructor called during shutdown. It was | Andi Gutmans | 2002-02-04 | 1 | -2/+2 | |
| | | | | | | | | | - freeing objects from id 0 instead of id 1. id 0 is not used. - Change isset/empty opcodes to support static members and the new way of - doing $this->foobar. Also the opcodes operate now on the hash table - combined with the variable names so that they can be overloaded by the - soon to be added overloading patch. | |||||
* | - First destructor hell fix. There was a situation where an object's | Andi Gutmans | 2002-01-25 | 1 | -1/+21 | |
| | | | | | | | | | | - destructor could be run after its class was already dead. Right now - object destructors is the first thing whic happens during shutdown in - order to prevent this problem. It's very likely that destructors will - cause more grief and we'll have to outline exactly when you should use - them and what kind of logic you're allowed to do inside of them. - This bug was reported by sebastian. | |||||
* | - Use two underscores for __construct(), __clone and friends... | Andi Gutmans | 2001-12-27 | 1 | -4/+4 | |
| | ||||||
* | - Only check refcount of object if the destructor was called. | Andi Gutmans | 2001-12-27 | 1 | -13/+19 | |
| |