Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Coding standard | Pierrick Charron | 2011-12-06 | 1 | -1/+1 |
| | |||||
* | Fix typo | Xinchen Hui | 2011-12-05 | 1 | -1/+1 |
| | |||||
* | Fixed bug #60444 (Segmentation fault with include & class extending) | Dmitry Stogov | 2011-12-05 | 1 | -5/+5 |
| | |||||
* | Fixed Bug #60369 Crash with static property in trait | Stefan Marr | 2011-11-23 | 1 | -2/+3 |
| | |||||
* | - Fixed bug #43200 (Interface implementation / inheritence not possible in ↵ | Felipe Pena | 2011-11-19 | 1 | -1/+2 |
| | | | | abstract classes) | ||||
* | - CS | Felipe Pena | 2011-11-18 | 1 | -18/+21 |
| | |||||
* | Fixes Bug #54441 (Handling of changing modifiers on a trait alias) | Stefan Marr | 2011-11-18 | 1 | -5/+38 |
| | | | | | # this now results also in a compilation error, since it would open the door for inconsistencies, and violates the DRY principle. | ||||
* | - Fix build | Felipe Pena | 2011-11-17 | 1 | -1/+1 |
| | |||||
* | Fixed Bug #60165 (Aliasing unexisting trait should throw/trigger the ↵ | Stefan Marr | 2011-11-17 | 1 | -1/+68 |
| | | | | | | | | | | | | | | | | | exception/error) - aliases that are not actually matching anything are treated as errors now. This will make sure that all methods that are expected to be in a class are actually there, or in case a trait changed for instance, that the code breaks already on composition - Precedence declarations are also checked to ensure that the method which is supposed to take precedence actually exists, however, the other traits mentioned in the declaration are not regarded. We are more lenient here, since this avoids unnecessary fragility. - fixed another seamingly unrelated test which broke in the progress but wasn't clear before either. | ||||
* | - Fixed bug #60099 (__halt_compiler() works in braced namespaces) | Felipe Pena | 2011-11-16 | 1 | -0/+5 |
| | |||||
* | Fixed inconsistent whitespace. | Stefan Marr | 2011-11-05 | 1 | -33/+33 |
| | | | | | # Belongs to svn rev. 318793. | ||||
* | Fixed Bug #60217 (Requiring the same method from different traits) | Stefan Marr | 2011-11-05 | 1 | -19/+32 |
| | | | | | - also added test to check for inconsistent abstract method definitions, they need to be compatible | ||||
* | use jmp_addr only when it's initialized | Antony Dovgal | 2011-11-03 | 1 | -6/+20 |
| | |||||
* | fix folding, ws and cs | Antony Dovgal | 2011-11-02 | 1 | -3/+6 |
| | |||||
* | initialize variable and fix segfaulting tests | Antony Dovgal | 2011-11-02 | 1 | -1/+1 |
| | |||||
* | Fixed Bug #60153 (Interface method prototypes not enforced when implementd ↵ | Stefan Marr | 2011-11-01 | 1 | -8/+17 |
| | | | | | | | | | | via traits.) # Moved the freeing of overriden functions to a point after the check. # The new check comes after the normal inheritance check to give the first check # the opportunity to abort with a more detailed error. # Also fixed a small type in an unrelated test. | ||||
* | Added missing consistency check for abstract methods required by one trait ↵ | Stefan Marr | 2011-11-01 | 1 | -0/+6 |
| | | | | and implemented by another. | ||||
* | Fixed Bug #60145 (Usage of trait's use statement inside interfaces not ↵ | Stefan Marr | 2011-11-01 | 1 | -0/+6 |
| | | | | properly checked.) | ||||
* | Fixed bug #60174 (Notice when array in method prototype error) | Xinchen Hui | 2011-10-31 | 1 | -1/+4 |
| | | | | | this should also exists in ext/reflection. since the new warning of "array to string convert" is introduced in zend_make_printable_zval which is used in ext/reflection too | ||||
* | Improved ternary operator performance when returning arrays | Arnaud Le Blanc | 2011-10-18 | 1 | -8/+41 |
| | |||||
* | Bug #55754 - Only variables should be passed by reference for ↵ | Stanislav Malyshev | 2011-10-16 | 1 | -1/+1 |
| | | | | ZEND_SEND_PREFER_REF params | ||||
* | Fixed Bug #55554 (Legacy constructors not handled properly) [TRAITS] [DOC] | Stefan Marr | 2011-10-09 | 1 | -19/+34 |
| | | | | | | | | | | | | | # The handling of legacy constructors defined by traits was corrected. # They are now properly registered and used on instantiation. # The situation for conflicting legacy and __construct constructors is # mostly identical. If they are defined in the class, they override conflicts # and do not collide. However, in case different styles are mixed, between # class and trait definition, we assume a programmer's mistake and report # a collision. # # BTW: +1 for all the fixed tests! `make test` is fun again. | ||||
* | Use ZEND_ constants instead of plain strings for names of magic methods. | Stefan Marr | 2011-10-08 | 1 | -10/+10 |
| | | | | | # No functional changes. | ||||
* | Remove unecessary codes | Xinchen Hui | 2011-10-07 | 1 | -11/+3 |
| | |||||
* | Fixed bug #55825, and add test script | Xinchen Hui | 2011-10-03 | 1 | -1/+2 |
| | |||||
* | Improve the warning message of incompatible arguments. (#55719) | Xinchen Hui | 2011-09-23 | 1 | -3/+168 |
| | | | | | And fix tests related. | ||||
* | - Fixed compiler warnings (patch by Kalle Sommer Nielsen) | Derick Rethans | 2011-09-13 | 1 | -1/+1 |
| | |||||
* | Fixed ZE specific compile warnings (Bug #55629) | Dmitry Stogov | 2011-09-13 | 1 | -21/+23 |
| | |||||
* | Fixed bug #55524 Traits should not be able to extend a class | Stefan Marr | 2011-08-29 | 1 | -1/+6 |
| | | | | | # also used the Z_STRVAL where it seemed appropriate | ||||
* | Improve errormessage on wrong use statements | Hannes Magnusson | 2011-08-16 | 1 | -0/+3 |
| | |||||
* | Callable typehint following the rules of is_callable($arg, false); | Hannes Magnusson | 2011-08-16 | 1 | -20/+31 |
| | |||||
* | Bug #55424 Fatal error when calling a method from a trait that is defined in ↵ | Stefan Marr | 2011-08-15 | 1 | -4/+7 |
| | | | | | | | parent class and required by using an abstract method in the trait. # The method got unconditionally deleted from the class, since it was assumed that we override it, but we did not in case of abstract methods coming from a trait. Thus, dont delete when we try to merge in an abstract method. | ||||
* | Fixed Bug #55355: Inheritance chain was not regarded when checking whether ↵ | Stefan Marr | 2011-08-15 | 1 | -0/+8 |
| | | | | the abstract method of a trait is satisfied. | ||||
* | Fixed Bug #55372 Incorrect handling of literals led to memory corruption. | Stefan Marr | 2011-08-15 | 1 | -24/+48 |
| | | | | | | # Dmitry you might want to review this patch, since I split up zend_add_literal # and added a version for post-pass_two() usage. | ||||
* | Addendum for patch to bug #55214: Class name was freed before method literal ↵ | Stefan Marr | 2011-08-15 | 1 | -2/+2 |
| | | | | | | | | referring to it. # Thanks to Felipe for catching this. # The fix duplicates the name into the literal to avoid the dependency | ||||
* | Fixed Bug #55214 use of __CLASS__ within trait returns trait name not class ↵ | Stefan Marr | 2011-07-31 | 1 | -32/+65 |
| | | | | name [TRAITS] [DOC] | ||||
* | - Fixed bug #55326 (Trait method copying misindentifies serialization callbacks) | Felipe Pena | 2011-07-31 | 1 | -2/+0 |
| | | | | | patch by: Gustavo Lopes (cataphract@php) | ||||
* | Fixed incorrect initialization when copied op_array.vars was NULL (TRAITS) | Stefan Marr | 2011-07-23 | 1 | -9/+14 |
| | |||||
* | Fixed bug in the handling of conflicting property initializers for traits. | Stefan Marr | 2011-07-23 | 1 | -6/+8 |
| | | | | | | | # Bug was uncovered by discussion in http://news.php.net/php.internals/54129 # Forgot to check the actual value of the initializer comparison, only checked # whether comparison was successful which is not enough. | ||||
* | Fixed bug #55150 (php -a segfaults) | Dmitry Stogov | 2011-07-11 | 1 | -0/+9 |
| | |||||
* | - Added zend_is_auto_global_quick function | Felipe Pena | 2011-07-10 | 1 | -5/+12 |
| | |||||
* | - Minor optimization taking the computed hash of interned strings | Felipe Pena | 2011-07-10 | 1 | -2/+18 |
| | |||||
* | - Changed zend_resolve_class_name() prototype | Felipe Pena | 2011-07-09 | 1 | -18/+11 |
| | | | | | # No needed to pass fetch_type as pointer here | ||||
* | - WS | Felipe Pena | 2011-07-09 | 1 | -1/+1 |
| | |||||
* | - Minor optimization and clean up | Felipe Pena | 2011-07-09 | 1 | -48/+46 |
| | |||||
* | - CS and WS | Felipe Pena | 2011-07-08 | 1 | -77/+47 |
| | |||||
* | - Fixed bug #55156 (ReflectionClass::getDocComment() returns comment even ↵ | Felipe Pena | 2011-07-07 | 1 | -0/+6 |
| | | | | though the class has none) | ||||
* | - Fixed bug #55137 (Changing trait static method visibility) | Felipe Pena | 2011-07-06 | 1 | -0/+2 |
| | |||||
* | - Fixed bug #55086 (Namespace alias does not work inside trait's use block) | Felipe Pena | 2011-07-02 | 1 | -0/+2 |
| | | | | | patch by: Pierrick | ||||
* | - Optimize property finding by zend_hash_quick_find | Felipe Pena | 2011-06-20 | 1 | -8/+11 |
| |