History log of /php-src/Zend/zend_generators.c (Results 176 – 200 of 345)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
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

Revision tags: php-5.6.12RC1, php-7.0.0beta2, php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43
# 5df893ce 07-Jul-2015 Aaron Piotrowski

Use NULL where possible for exception class

Matches usage of zend_throw_exception()/zend_throw_exception_ex().

# 22c38b2e 03-Jul-2015 Aaron Piotrowski

Remove need to pass error level

# 5a99c07e 03-Jul-2015 Aaron Piotrowski

Enable throwing custom exceptions from errors

# ed1b6487 03-Jul-2015 Aaron Piotrowski

Switch position of ce in exception ce variable names

# a812a74c 03-Jul-2015 Aaron Piotrowski

Change zend_exception_get_default() to zend_exception_ce

Revision tags: php-5.6.11RC1, php-5.5.27RC1
# 41774bce 23-Jun-2015 Rasmus Lerdorf

Fix more minor mistakes in the proto comments

# ea5c66ec 23-Jun-2015 Nikita Popov

Avoid op_num = -1 in unfinished generator cleanup

Also add two tests showing that the -1 substraction in the
computation of op_num is really necessary.

Revision tags: php-7.0.0alpha2
# f58ebb36 20-Jun-2015 Nikita Popov

Load/restore VM stack before unfinished generator cleanup

# ddf41d3a 20-Jun-2015 Nikita Popov

Fix generator memory leak

Make sure HANDLE_EXCEPTION and generator unwinds stay in sync in
the future by extracting a common function.

# 1c754f0b 12-Jun-2015 Dmitry Stogov

Get rid of more ZVAL_ZVAL() macros

# 8e10e8f9 12-Jun-2015 Dmitry Stogov

Avoid zval duplication in ZVAL_ZVAL() macro (it was necessary only in few places).
Switch from ZVAL_ZVAL() to simpler macros where possible (it makes sense to review remaining places)

# 580eb56f 11-Jun-2015 Nikita Popov

Merge branch 'PHP-5.6'

Conflicts:
Zend/zend_generators.c


# 84052655 11-Jun-2015 Nikita Popov

Fix bug #69740

Revision tags: php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42, POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1
# c6a6b974 14-May-2015 Bob Weinand

Fix memleak in generators using symtable

Revision tags: php-5.5.25, php-5.6.9, php-5.4.41
# bdbe1210 07-May-2015 Dmitry Stogov

Fixed $this release

Revision tags: php-5.6.9RC1, php-5.5.25RC1
# 4376373d 21-Apr-2015 Bob Weinand

Fix yield from with iterator (first element missing)

# 9a0cb734 17-Apr-2015 Nikita Popov

Fix memory error when throwing into a generator

throw_exception_internal will access opline+1, which is not always
defined at the current opline of the generator. To avoid this
decre

Fix memory error when throwing into a generator

throw_exception_internal will access opline+1, which is not always
defined at the current opline of the generator. To avoid this
decrement the opline before throwing (so the throw occurs at the
YIELD opcode instead of one after it).

show more ...

# a759967d 16-Apr-2015 Dmitry Stogov

Mark call frames to closures with ZEND_CALL_CLOSURE flag to avoid expensive check at zend_leave_helper()

12345678910>>...14