]>
granicus.if.org Git - php/log
Dmitry Stogov [Wed, 5 Sep 2012 05:55:14 +0000 (09:55 +0400)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
forked two tests for windows
Dmitry Stogov [Wed, 5 Sep 2012 05:50:55 +0000 (09:50 +0400)]
Fixed bug #62991 (Segfault with generator and closure)
Anatoliy Belsky [Mon, 3 Sep 2012 11:48:02 +0000 (13:48 +0200)]
Merge branch 'PHP-5.4'
* PHP-5.4:
forked two tests for windows
Anatoliy Belsky [Mon, 3 Sep 2012 11:37:34 +0000 (13:37 +0200)]
forked two tests for windows
* bug55544.phpt - VT vs. EXT at the start of the data block,
but the data can still be decoded correctly
* bug_52944.phpt works with the corrupted data and has some
different out
Most likely the ASM optimization under windows is responsible
for this behaviour.
Dmitry Stogov [Mon, 3 Sep 2012 08:00:19 +0000 (12:00 +0400)]
Merge branch 'PHP-5.4'
* PHP-5.4:
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
Dmitry Stogov [Mon, 3 Sep 2012 07:52:42 +0000 (11:52 +0400)]
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)
Dmitry Stogov [Mon, 3 Sep 2012 07:51:17 +0000 (11:51 +0400)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
Dmitry Stogov [Mon, 3 Sep 2012 07:51:08 +0000 (11:51 +0400)]
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
Dmitry Stogov [Mon, 3 Sep 2012 07:49:58 +0000 (11:49 +0400)]
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
Dmitry Stogov [Mon, 3 Sep 2012 07:47:59 +0000 (11:47 +0400)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)
Dmitry Stogov [Mon, 3 Sep 2012 07:46:47 +0000 (11:46 +0400)]
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)
Dmitry Stogov [Mon, 3 Sep 2012 07:38:08 +0000 (11:38 +0400)]
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)
Lars Strojny [Sun, 2 Sep 2012 20:11:47 +0000 (22:11 +0200)]
Merge branch 'PHP-5.4'
Lars Strojny [Sun, 2 Sep 2012 20:10:23 +0000 (22:10 +0200)]
Bug #49510: Boolean validation fails with FILTER_NULL_ON_FAILURE with empty string or false
Nikita Popov [Sun, 2 Sep 2012 15:40:23 +0000 (17:40 +0200)]
Merge remote-tracking branch 'reeze/add-reflection-isGenerator'
Reeze Xia [Sun, 2 Sep 2012 15:29:56 +0000 (23:29 +0800)]
Implemented ReflectionFunction::isGenerator()
Lars Strojny [Sun, 2 Sep 2012 12:52:05 +0000 (14:52 +0200)]
Allow null as a default value for length in mb_substr() and mb_strcut()
Lars Strojny [Sun, 2 Sep 2012 12:53:52 +0000 (14:53 +0200)]
Merge branch 'PHP-5.4' of git://github.com/php/php-src into PHP-5.4
Lars Strojny [Sun, 2 Sep 2012 12:52:05 +0000 (14:52 +0200)]
Allow null as a default value for length in mb_substr() and mb_strcut()
Xinchen Hui [Sun, 2 Sep 2012 08:53:31 +0000 (16:53 +0800)]
Merge branch 'PHP-5.4'
Xinchen Hui [Sun, 2 Sep 2012 08:52:53 +0000 (16:52 +0800)]
folder
Lars Strojny [Sun, 2 Sep 2012 06:01:18 +0000 (08:01 +0200)]
Initializing optional argument description in assert()
Lars Strojny [Sun, 2 Sep 2012 06:01:18 +0000 (08:01 +0200)]
Initializing optional argument description in assert()
Xinchen Hui [Sun, 2 Sep 2012 05:15:23 +0000 (13:15 +0800)]
Fix test failed due to new Token T_YIELD
Stanislav Malyshev [Sun, 2 Sep 2012 00:00:01 +0000 (17:00 -0700)]
Merge branch 'PHP-5.4'
* PHP-5.4:
fix NEWS
Stanislav Malyshev [Sat, 1 Sep 2012 23:55:51 +0000 (16:55 -0700)]
fix NEWS
Nikita Popov [Sat, 1 Sep 2012 18:31:40 +0000 (20:31 +0200)]
Fix leak when yielding array as key
The code was copy-pasted and I forgot to change OP1 to OP2 in that one
place.
Nikita Popov [Sat, 1 Sep 2012 18:10:12 +0000 (20:10 +0200)]
Drop obsolete test
Gustavo Lopes [Sat, 1 Sep 2012 17:07:20 +0000 (19:07 +0200)]
Merge branch 'generators'
* generators: (70 commits)
Fix typos
Fix segfault when traversing a by-ref generator twice
Make sure that exception is thrown on rewind() after closing too
Remove implementation stubs for yield delegation
Fix several issues and allow rewind only at/before first yield
Run finally if generator is closed before finishing
Finally with return now works in generators too
Add dedicated opcode for returns from a generator
Disallow serialization and unserialization
Fix zts build (typo)
Drop Generator::close() method
Forgot to add test
Support trivial finally in generators (no yield, no return)
Fix implementation of Iterator interface
Add T_YIELD in tokenizer_data.c
Throw error also for return occuring before yield
Fix throwing of exceptions within a generator
Remove reference restrictions from foreach
Require parenthesis around yield expressions
Add some more tests
...
Xinchen Hui [Sat, 1 Sep 2012 06:38:33 +0000 (14:38 +0800)]
Merge branch 'PHP-5.4'
Xinchen Hui [Sat, 1 Sep 2012 06:37:45 +0000 (14:37 +0800)]
Remove extra blank in notice message, should act as same as vm
Xinchen Hui [Sat, 1 Sep 2012 06:27:59 +0000 (14:27 +0800)]
Merge branch 'PHP-5.4'
Xinchen Hui [Sat, 1 Sep 2012 06:27:09 +0000 (14:27 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4
Conflicts:
ext/spl/spl_array.c
Xinchen Hui [Sat, 1 Sep 2012 06:17:39 +0000 (14:17 +0800)]
Fixed bug #62987 (Assigning to ArrayObject[null][something] overrides all undefined variables)
The get_zval_ptr_ptr of spl_array handler should act as same as the vm's
Lars Strojny [Fri, 31 Aug 2012 17:04:53 +0000 (19:04 +0200)]
assert() user message
Added 2nd, optional, param to assert. When passed in it will be added
to the printed warnings and passed as a 4th param to a callback. PR 150
by Lonny Kapelushnik
Lars Strojny [Fri, 31 Aug 2012 17:01:57 +0000 (19:01 +0200)]
Tests for the previous assert() with user message
Lars Strojny [Fri, 31 Aug 2012 16:55:43 +0000 (18:55 +0200)]
assert() user message
Added 2nd, optional, param to assert. When passed in it will be added
to the printed warnings and passed as a 4th param to a callback. PR 150
by Lonny Kapelushnik
Xinchen Hui [Fri, 31 Aug 2012 03:25:21 +0000 (11:25 +0800)]
Merge branch 'PHP-5.4'
Xinchen Hui [Fri, 31 Aug 2012 03:23:33 +0000 (11:23 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Fri, 31 Aug 2012 03:22:43 +0000 (11:22 +0800)]
Fixed bug #62976 (Notice: could not be converted to int when comparing some builtin classes)
Felipe Pena [Thu, 30 Aug 2012 12:33:35 +0000 (09:33 -0300)]
- BFN
Felipe Pena [Thu, 30 Aug 2012 12:32:34 +0000 (09:32 -0300)]
Merge branch 'PHP-5.4'
* PHP-5.4:
- Fixed bug #62955 (Only one directive is loaded from "Per Directory Values" Windows registry)
Felipe Pena [Thu, 30 Aug 2012 12:32:26 +0000 (09:32 -0300)]
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
- Fixed bug #62955 (Only one directive is loaded from "Per Directory Values" Windows registry)
Felipe Pena [Thu, 30 Aug 2012 12:32:13 +0000 (09:32 -0300)]
- Fixed bug #62955 (Only one directive is loaded from "Per Directory Values" Windows registry)
Nikita Popov [Wed, 29 Aug 2012 18:49:14 +0000 (20:49 +0200)]
Fix typos
Nikita Popov [Wed, 29 Aug 2012 18:46:56 +0000 (20:46 +0200)]
Fix segfault when traversing a by-ref generator twice
If you try to traverse an already closed generator an exception will now be
thrown.
Furthermore this changes the error for traversing a by-val generator by-ref
from an E_ERROR to an Exception.
Nikita Popov [Wed, 29 Aug 2012 18:31:34 +0000 (20:31 +0200)]
Make sure that exception is thrown on rewind() after closing too
Anatoliy Belsky [Wed, 29 Aug 2012 15:56:42 +0000 (17:56 +0200)]
Merge branch 'PHP-5.4'
* PHP-5.4:
updated mpir version
Fixed defective cloning in ext/intl classes
Anatoliy Belsky [Wed, 29 Aug 2012 15:49:02 +0000 (17:49 +0200)]
updated mpir version
Gustavo André dos Santos Lopes [Wed, 29 Aug 2012 13:30:39 +0000 (14:30 +0100)]
Merge 5.3 with strategy ours
* origin/PHP-5.3:
Fixed defective cloning in ext/intl classes
Stanislav Malyshev [Wed, 29 Aug 2012 05:11:24 +0000 (22:11 -0700)]
Merge branch 'PHP-5.4'
Stanislav Malyshev [Wed, 29 Aug 2012 05:10:34 +0000 (22:10 -0700)]
update version id too
Stanislav Malyshev [Wed, 29 Aug 2012 05:07:08 +0000 (22:07 -0700)]
5.4.7 branched
Stanislav Malyshev [Wed, 29 Aug 2012 05:02:15 +0000 (22:02 -0700)]
Merge branch 'PHP-5.4'
* PHP-5.4:
fix bug #55856: preg_replace should fail on trailing garbage
Bug #62956: fixing private method signature validation
NEWS for
886a50a
Stanislav Malyshev [Sat, 30 Jun 2012 23:31:26 +0000 (16:31 -0700)]
fix bug #55856: preg_replace should fail on trailing garbage
Lars Strojny [Tue, 28 Aug 2012 12:06:18 +0000 (14:06 +0200)]
Bug #62956: fixing private method signature validation
In inheritance, if both methods are private, don not enforce the same
signature.
Lars Strojny [Tue, 28 Aug 2012 12:06:18 +0000 (14:06 +0200)]
Bug #62956: fixing private method signature validation
In inheritance, if both methods are private, don not enforce the same
signature.
Felipe Pena [Mon, 27 Aug 2012 11:56:54 +0000 (08:56 -0300)]
- Fixed compiler warnings
Xinchen Hui [Mon, 27 Aug 2012 02:23:23 +0000 (10:23 +0800)]
Fixed bug #62938 (zend_do_bind_catch() used without declaration)
Gustavo Lopes [Sun, 26 Aug 2012 21:37:09 +0000 (23:37 +0200)]
Fixed defective cloning in ext/intl classes
See also bug #62915
Cherry picked from
886a50a (I forgot about 5.3)
Conflicts:
ext/intl/spoofchecker/spoofchecker_class.c
ext/intl/transliterator/transliterator_class.c
Gustavo Lopes [Sun, 26 Aug 2012 21:47:00 +0000 (23:47 +0200)]
Gustavo Lopes [Sun, 26 Aug 2012 21:44:54 +0000 (23:44 +0200)]
Fixed cloning in ext/intl classes; master specific
Gustavo Lopes [Sun, 26 Aug 2012 21:42:57 +0000 (23:42 +0200)]
Merge branch 'PHP-5.4'
* PHP-5.4:
Fixed defective cloning in ext/intl classes
NEWS for commit
72c807a
Allow Spoofchecker to be registered on ICU 49.1
Announce on NEWS change in
1ce572c
Gustavo Lopes [Sun, 26 Aug 2012 21:37:09 +0000 (23:37 +0200)]
Fixed defective cloning in ext/intl classes
See also bug #62915
Gustavo Lopes [Sun, 26 Aug 2012 21:39:53 +0000 (23:39 +0200)]
Gustavo Lopes [Sun, 26 Aug 2012 21:30:43 +0000 (23:30 +0200)]
Allow Spoofchecker to be registered on ICU 49.1
Gustavo Lopes [Sun, 26 Aug 2012 21:12:41 +0000 (23:12 +0200)]
Fix version in check message
Gustavo Lopes [Sun, 26 Aug 2012 20:01:15 +0000 (22:01 +0200)]
Announce on NEWS change in
1ce572c
Gustavo Lopes [Sun, 26 Aug 2012 19:59:17 +0000 (21:59 +0200)]
Merge branch 'PHP-5.4' (merge with strategy ours)
Change does not apply to master where the min ICU version is 4.0
* PHP-5.4:
Bug #62933: compilation error with ICU 3.4
Gustavo Lopes [Sun, 26 Aug 2012 19:59:05 +0000 (21:59 +0200)]
Merge branch 'PHP-5.4' (early part)
* 'PHP-5.4' (early part):
Merging PR 121 to add support for slow request counting on the PHP-FPM status page
Gustavo Lopes [Sun, 26 Aug 2012 19:57:50 +0000 (21:57 +0200)]
Bug #62933: compilation error with ICU 3.4
Gustavo Lopes [Sun, 26 Aug 2012 18:42:18 +0000 (20:42 +0200)]
Relax 4 dateformat tests for ICU 4.8
Lars Strojny [Sun, 26 Aug 2012 18:06:47 +0000 (20:06 +0200)]
Prefix RESULT_CODE enum with ZEND_
Gustavo Lopes [Sun, 26 Aug 2012 17:44:05 +0000 (19:44 +0200)]
zend_binary_strncasecmp_l used w/out declaration
Gustavo Lopes [Sat, 25 Aug 2012 17:00:34 +0000 (19:00 +0200)]
Require ICU >= 4.0 in configure
Nikita Popov [Sun, 26 Aug 2012 15:46:01 +0000 (17:46 +0200)]
Travis: Silence configure and make
The large compile logs are hurting the poor browsers.
This also drops two bogus configure options.
Stuart Langley [Tue, 7 Aug 2012 03:06:13 +0000 (13:06 +1000)]
Strong types for the result codes SUCCESS & FAILURE. These are common
symbol names and using #defines can cause conflicts.
Lars Strojny [Sun, 26 Aug 2012 15:02:39 +0000 (17:02 +0200)]
Merging PR 121 to add support for slow request counting on the PHP-FPM status page
Lars Strojny [Sun, 26 Aug 2012 15:02:39 +0000 (17:02 +0200)]
Merging PR 121 to add support for slow request counting on the PHP-FPM status page
Pierrick Charron [Sun, 26 Aug 2012 13:03:45 +0000 (09:03 -0400)]
Fix bad version for CURLINFO_CERTINFO
CURLINFO_CERTINFO is available since 7.19.1. The cURL extension
allow to use it since this same version but the internal function
create_certinfo used internally for CURLINFO_CERTINFO usage
is only usable for version greater than 7.19.1 which will cause
problem if the user is using the 7.19.1 cURL version
Nikita Popov [Sat, 25 Aug 2012 18:07:01 +0000 (20:07 +0200)]
Merge remote-tracking branch 'php-src/master' into addGeneratorsSupport
Conflicts:
Zend/zend_language_parser.y
Zend/zend_vm_execute.skl
Xinchen Hui [Sun, 26 Aug 2012 10:28:58 +0000 (18:28 +0800)]
Merge branch 'PHP-5.4'
Xinchen Hui [Sun, 26 Aug 2012 10:28:15 +0000 (18:28 +0800)]
Add test for #62907
Xinchen Hui [Sun, 26 Aug 2012 05:05:33 +0000 (13:05 +0800)]
Fixed bug #62930, and more tests
Xinchen Hui [Sun, 26 Aug 2012 04:27:10 +0000 (12:27 +0800)]
tabs
Xinchen Hui [Sun, 26 Aug 2012 03:37:05 +0000 (11:37 +0800)]
Fixed bug #62931 & #62932
Nikita Popov [Sat, 25 Aug 2012 17:03:23 +0000 (19:03 +0200)]
Remove implementation stubs for yield delegation
I decided to leave out yield delegation for an initial proposal, so remove
the stubs for it too.
Nikita Popov [Sat, 25 Aug 2012 15:40:08 +0000 (17:40 +0200)]
Fix several issues and allow rewind only at/before first yield
* Trying to resume a generator while it is already running now throws a
fatal error.
* Trying to use yield in finally while the generator is being force-closed
(by GC) throws a fatal error.
* Rewinding after the first yield now throws an Exception
Xinchen Hui [Sat, 25 Aug 2012 14:23:14 +0000 (22:23 +0800)]
Support list in foreach
RFC: https://wiki.php.net/rfc/foreachlist
Xinchen Hui [Sat, 25 Aug 2012 13:55:36 +0000 (21:55 +0800)]
Merge branch 'PHP-5.4'
Xinchen Hui [Sat, 25 Aug 2012 13:49:29 +0000 (21:49 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Sat, 25 Aug 2012 13:47:53 +0000 (21:47 +0800)]
Fixed bug (segfault while build with zts and GOTO vm-kind)
Xinchen Hui [Sat, 25 Aug 2012 13:14:51 +0000 (21:14 +0800)]
Prefer no finally block for most situations
Pierrick Charron [Sat, 25 Aug 2012 05:21:17 +0000 (01:21 -0400)]
Add missing constants in cURL
Pierrick Charron [Fri, 24 Aug 2012 22:04:16 +0000 (18:04 -0400)]
Update bad versions for cURL constants
This was updated according to the cURL symbol tables located here :
http://curl.haxx.se/libcurl/c/symbols-in-versions.html
Nikita Popov [Fri, 24 Aug 2012 13:50:53 +0000 (15:50 +0200)]
Run finally if generator is closed before finishing
Pierrick Charron [Fri, 24 Aug 2012 14:26:44 +0000 (10:26 -0400)]
Merge branch 'PHP-5.4'
* PHP-5.4:
Fixed bug #62912 (CURLINFO_PRIMARY_IP is not exposed)
Pierrick Charron [Fri, 24 Aug 2012 14:16:40 +0000 (10:16 -0400)]
Fixed bug #62912 (CURLINFO_PRIMARY_IP is not exposed)
CURLINFO_PRIMARY_* and CURLINFO_LOCAL_* where available in curl_getinfo
but the constant itself was not exposed to php userland
Nikita Popov [Fri, 24 Aug 2012 11:52:16 +0000 (13:52 +0200)]
Finally with return now works in generators too
Nikita Popov [Fri, 24 Aug 2012 11:51:39 +0000 (13:51 +0200)]
Add dedicated opcode for returns from a generator
Generators don't have a return value, so it doesn't make sense to have
a shared implementation here.