History log of /PHP-7.3/Zend/zend_generators.c (Results 51 – 75 of 229)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.6.21, php-5.5.35
# 50853524 18-Apr-2016 Bob Weinand

Fix generator being a cycle to itself


Revision tags: php-5.6.21RC1, php-7.0.6RC1
# aad4eceb 07-Apr-2016 Nikita Popov

Fixed bug #71980


# e7730fec 04-Apr-2016 Dmitry Stogov

Fised possible use-after-free


# 7abfaac9 01-Apr-2016 Dmitry Stogov

Merge zend_execute_data->called_scope into zend_execute_data->This.
"called_scope" made sense only for static method calls, for dynamic calls it was always equal to the class of $this.
Now EG

Merge zend_execute_data->called_scope into zend_execute_data->This.
"called_scope" made sense only for static method calls, for dynamic calls it was always equal to the class of $this.
Now EG(This) may store IS_OBJECT + $this or IS_UNUSED + "called_scope" (of course, "called_scope" may be NULL).
Some code might need to be adopted to support this change.
Checks (Z_OBJ(EX(This))) might need to be converted into (Z_TYPE(EX(This)) == IS_OBJECT).

show more ...


# 86a1aeed 31-Mar-2016 Dmitry Stogov

Flags ZEND_CALL_RELEASE_THIS and ZEND_CALL_CLOSURE should never be set together.
Closures keep responsibility for releasing $this theirselves.


Revision tags: php-5.6.20, php-5.5.34, php-7.0.5
# 9583cb84 17-Mar-2016 Kalle Sommer Nielsen

Fix build


Revision tags: php-5.6.20RC1, php-7.0.5RC1, php-5.6.19, php-5.5.33, php-7.0.4, php-5.6.19RC1, php-7.0.4RC1
# 23b770f3 15-Feb-2016 Bob Weinand

Fixed bug #71601 (finally block not executed after yield from)


# c0c73f70 12-Feb-2016 Nikita Popov

Fix bug #69989

This should cover all the basic cycles. Anything further would
require scanning the call stack and live temporaries.


# f75be353 11-Feb-2016 Nikita Popov

Support partial GC for unfinished generators

This doesn't cover everything yet, but should be a good start for
cycled in unfinished generators.


# 1322672c 11-Feb-2016 Nikita Popov

Fix dangling send target when using yield from

Also drop some unnecessary TRY_DELREFs -- leftovers from the days
when null was refcounted.


# aa3f44a3 10-Feb-2016 Nikita Popov

Crude generator GC for value/key/retval

These values remain live after the generator has been closed, so
they are particularly susceptible to leaking cycles.


Revision tags: php-5.6.18, php-7.0.3, php-5.5.32, php-5.6.18RC1, php-7.0.3RC1
# 83cb7510 07-Jan-2016 Bob Weinand

Fix accidental zval_dtor() usage


# 033d6087 07-Jan-2016 Bob Weinand

Fixed bug #71297 (Memory leak with yield from)


Revision tags: php-5.6.17, php-5.5.31, php-7.0.2
# 97a9470d 02-Jan-2016 Xinchen Hui

bump year which is missed in rev 49493a2


# 3537e95d 02-Jan-2016 Xinchen Hui

bump year which is missed in rev 49493a2


Revision tags: php-7.0.2RC1, php-5.6.17RC1, php-7.0.1RC1
# 559ede17 06-Dec-2015 Bob Weinand

Fixed bug #71013 (Incorrect exception handler with yield from)


Revision tags: php-7.0.0
# 2de8915d 25-Nov-2015 Bob Weinand

Fixed bug causing exception not being thrown immediately into a generator yielding from an array


Revision tags: php-5.6.16
# 73a92964 25-Nov-2015 Bob Weinand

Fixed bug #70965 (yield from with a common iterator primes too much)


Revision tags: php-7.0.0RC8
# 80d9dcaf 24-Nov-2015 Bob Weinand

Fixed bug #70904 (yield from incorrectly marks valid generator as finished)


Revision tags: php-7.0.0RC7, php-5.6.16RC1, php-5.6.15, php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5, php-5.5.30, php-5.6.14, php-7.0.0RC4
# c9988a1e 20-Sep-2015 Bob Weinand

Remove superfluous branches


# 14af0f6d 20-Sep-2015 Bob Weinand

Set expectations in generator handling


Revision tags: php-5.6.14RC1, php-7.0.0RC3, php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45
# 5ece3ec7 20-Aug-2015 Bob Weinand

Fix bogus traces with ReflectionGenerator::getTrace()


Revision tags: php-5.6.13RC1
# 71af54e5 19-Aug-2015 Dmitry Stogov

Mark error and exception functions as "cold" (Matt's idea)


Revision tags: php-7.0.0RC1
# 715d5d28 13-Aug-2015 Dmitry Stogov

Get rid of implicit type casting in GC_*() macros in Zend/zend_types.h.
This prevented compilation warnings and disclosed few incorrect usages in Zend/zend_vm_def.h and ext/dom/xpath.c.
Now e

Get rid of implicit type casting in GC_*() macros in Zend/zend_types.h.
This prevented compilation warnings and disclosed few incorrect usages in Zend/zend_vm_def.h and ext/dom/xpath.c.
Now explicit type casting may be required on call site.
This may break some C extension code, but it shoulfn't be a problem to add explicit casting.

show more ...


Revision tags: php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44
# 3eabf2bf 30-Jul-2015 Xinchen Hui

"This" is C++ keyword


12345678910