Stanislav Malyshev
d005ed9681
5.5.3
2013-08-19 21:46:43 -07:00
Stanislav Malyshev
b7f033bd5d
fix using wrong buffer pointer
2013-08-19 21:41:53 -07:00
David Soria Parra
29b4532f61
PHP 5.5.2
2013-08-15 22:42:04 +02:00
David Soria Parra
f12f3abe8e
Prepare news for PHP-5.5.2
2013-08-15 22:40:38 +02:00
Christopher Jones
82dd6b94f2
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
2013-08-14 21:33:27 -07:00
Christopher Jones
5a186a3e0a
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
* 'PHP-5.5' of https://git.php.net/repository/php-src :
Fixed #65431 in zend_exception.c by Sixd
2013-08-14 21:32:13 -07:00
Christopher Jones
ba30c78d5c
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
...
* 'PHP-5.4' of https://git.php.net/repository/php-src :
Fixed #65431 in zend_exception.c by Sixd
2013-08-14 21:32:07 -07:00
Christopher Jones
cd14de94d2
Reduce compiler noise by removing unused variables and labels
2013-08-14 21:06:59 -07:00
Xinchen Hui
cb361ed27e
Merge branch 'PHP-5.4' into PHP-5.5
2013-08-15 11:49:59 +08:00
Xinchen Hui
8280393828
Fixed #65431 in zend_exception.c by Sixd
2013-08-15 11:47:44 +08:00
Christopher Jones
39612afc72
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
Conflicts:
ext/dba/libinifile/inifile.c
2013-08-14 20:43:25 -07:00
Christopher Jones
9ad97cd489
Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
2013-08-14 20:36:50 -07:00
Christopher Jones
8c61758dc7
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Skip test if SKIP_ONLINE_TESTS set
2013-08-14 15:45:46 -07:00
Christopher Jones
9d62807190
Skip test if SKIP_ONLINE_TESTS set
2013-08-14 15:45:06 -07:00
Stanislav Malyshev
2b9f5ac252
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix CVE-2013-4073 - handling of certs with null bytes
Fix CVE-2013-4073 - handling of certs with null bytes
2013-08-13 22:25:47 -07:00
Stanislav Malyshev
7f69f07fc1
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix CVE-2013-4073 - handling of certs with null bytes
2013-08-13 22:24:29 -07:00
Stanislav Malyshev
dcea4ec698
Fix CVE-2013-4073 - handling of certs with null bytes
2013-08-13 22:24:11 -07:00
Stanislav Malyshev
2874696a5a
Fix CVE-2013-4073 - handling of certs with null bytes
2013-08-13 22:20:33 -07:00
Xinchen Hui
f3d18add08
Merge branch 'PHP-5.4' into PHP-5.5
2013-08-14 11:44:37 +08:00
Xinchen Hui
f4dc2240a0
Fixed #65431 (Discarded qualifiers from pointer target warnings when using --enable-dtrace) by Sixd
2013-08-14 11:42:39 +08:00
Anatol Belski
bab33f7e05
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
removed unused vars
2013-08-12 15:52:50 +02:00
Anatol Belski
72aacbf735
removed unused vars
2013-08-12 15:52:15 +02:00
Anatol Belski
87198989cd
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fixed strndup usage in the pgsql ext
2013-08-12 15:45:26 +02:00
Anatol Belski
4134ebec8e
fixed strndup usage in the pgsql ext
2013-08-12 15:44:47 +02:00
Stanislav Malyshev
76fd13f742
use mysqlnd, some tests fail otherwise
2013-08-11 01:36:59 -07:00
Stanislav Malyshev
29f1aa2618
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
ensure notices are not ignored when tests need them
2013-08-10 23:12:51 -07:00
Stanislav Malyshev
cf39c3d638
ensure notices are not ignored when tests need them
2013-08-10 23:12:04 -07:00
Antonio Diaz Ruiz
1a5c460ea2
Embeds the content of the DTD in the DOCTYPE declaration of the XML files.
2013-08-10 18:02:08 -07:00
Antonio Diaz Ruiz
5f5ff92bc0
Adds 2 new xml files which include the dtd path relative to the base directory for the php source code.
...
It fixs the fail on the load of the dtd in the tests modified by this commit.
2013-08-10 18:02:00 -07:00
Antonio Diaz Ruiz
24f36934ad
Adds files: error 1 to 5 and variation 1 to 4
...
tests for error1: not well formed xml
tests for error2: not well formed xml attribute without colon
tests for error2: not well formed xml, typo
tests for error4: wrong xml version
tests for error5: extra content at the end of the doc
tests libxml_dtd_load
tests libxml_dtd_valid
tests for libdtd_noerror
tests for LIBXML_DTDATTR, LIBXML_NOCDATA, LIBXML_NOENT and LIBXML_NOBLANKS
the basic behavior
fix comments
2013-08-10 18:01:54 -07:00
Stanislav Malyshev
473d66553d
Merge branch 'pull-request/325' into PHP-5.5
...
* pull-request/325:
Add schema default/fixed value support
2013-08-10 17:56:23 -07:00
Stanislav Malyshev
6b4971a29b
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix #61345 : fix install of CGI binary
2013-08-10 17:35:52 -07:00
Michael Heimpold
36b759d1dd
Fix #61345 : fix install of CGI binary
...
When CLI was not built but only CGI binary, then a sequence of
$ ./buildconf
$ ./configure --prefix=/usr/local/phpcgi --disable-cli
$ make -j8
$ sudo rm -rf /usr/local/phpcgi
$ sudo make install
results in the following error:
/bin/bash /srv/smb/php-src.test/libtool --silent --preserve-dup-deps --mode=install cp ext/opcache/opcache.la /srv/smb/php-src.test/modules
Installing shared extensions: /usr/local/phpcgi/lib/php/extensions/no-debug-non-zts-20121212/
Installing PHP CGI binary: /usr/local/phpcgi/bin/
cp: cannot create regular file `/usr/local/phpcgi/bin/#INST@28245#': No such file or directory
make: *** [install-cgi] Fehler 1
The solution is to create the binary directory before copying the
CGI binary as e.g. CLI does.
Signed-off-by: Oliver Metz <oliver.metz@gmx.de >
[extensive commit message]
Signed-off-by: Michael Heimpold <mhei@heimpold.de >
2013-08-10 17:35:09 -07:00
Stanislav Malyshev
3f99ba6351
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix #61345 : fix install of CGI binary
2013-08-10 17:33:28 -07:00
Michael Heimpold
cdedee3fa1
Fix #61345 : fix install of CGI binary
...
When CLI was not built but only CGI binary, then a sequence of
$ ./buildconf
$ ./configure --prefix=/usr/local/phpcgi --disable-cli
$ make -j8
$ sudo rm -rf /usr/local/phpcgi
$ sudo make install
results in the following error:
/bin/bash /srv/smb/php-src.test/libtool --silent --preserve-dup-deps --mode=install cp ext/opcache/opcache.la /srv/smb/php-src.test/modules
Installing shared extensions: /usr/local/phpcgi/lib/php/extensions/no-debug-non-zts-20121212/
Installing PHP CGI binary: /usr/local/phpcgi/bin/
cp: cannot create regular file `/usr/local/phpcgi/bin/#INST@28245#': No such file or directory
make: *** [install-cgi] Fehler 1
The solution is to create the binary directory before copying the
CGI binary as e.g. CLI does.
Signed-off-by: Oliver Metz <oliver.metz@gmx.de >
[extensive commit message]
Signed-off-by: Michael Heimpold <mhei@heimpold.de >
2013-08-10 17:33:24 -07:00
Stanislav Malyshev
143ec70638
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
php.ini-development/production: remove php_zip.dll
Update NEWS
2013-08-10 17:31:48 -07:00
Jan Ehrhardt
503d39d925
php.ini-development/production: remove php_zip.dll
...
Remove the reference to php_zip.dll in php.ini-production and
php.ini-development, because php_zip.dll does not exist anymore since
PHP 5.3
2013-08-10 17:31:40 -07:00
Yasuo Ohgaki
ac538e5e16
Update NEWS
2013-08-11 07:15:55 +09:00
Yasuo Ohgaki
bff1a96a0f
Update NEWS
2013-08-11 07:15:01 +09:00
Yasuo Ohgaki
2df95b1354
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed possible buffer overflow under Windows. Note: Not a security fix.
2013-08-11 06:43:37 +09:00
Yasuo Ohgaki
0ad81ac18a
Fixed possible buffer overflow under Windows. Note: Not a security fix.
2013-08-11 06:43:01 +09:00
Yasuo Ohgaki
9d95a1a7d1
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed Bug #62015 Changed session.auto_start to PHP_INI_PERDIR. It is simply wrong and never worked if the value is changed at runtime
2013-08-10 18:29:29 +09:00
Yasuo Ohgaki
e9b128c1bf
Fixed Bug #62015 Changed session.auto_start to PHP_INI_PERDIR. It is simply wrong and never worked if the value is changed at runtime
2013-08-10 18:29:13 +09:00
Dmitry Stogov
b27f6826d4
Replce ZEND_FETCH_* instructions with IS_CV if possible
2013-08-09 17:47:47 +04:00
Michael Wallner
b33824bfea
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix bug #65391
Update NEWS
2013-08-09 11:21:50 +02:00
Michael Wallner
ac28283beb
fix bug #65391
...
Unable to send vary header user-agent when
ob_start('ob_gzhandler') is called
2013-08-09 11:14:04 +02:00
Yasuo Ohgaki
22d7002462
Update NEWS
2013-08-09 11:21:54 +09:00
Yasuo Ohgaki
fc7fe62e3b
Update NEWS
2013-08-09 11:19:56 +09:00
Andrey Hristov
c9243344a0
Merge branch 'PHP-5.4' into PHP-5.5
2013-08-08 14:05:08 +02:00
Andrey Hristov
a188693a27
Merge branch 'PHP-5.4' of ssh://git.php.net/php-src into PHP-5.4
2013-08-08 14:04:19 +02:00
Andrey Hristov
d3dae9a616
Merge branch 'PHP-5.4' into PHP-5.5
2013-08-08 14:03:11 +02:00
Andrey Hristov
80fe5461a9
Merge branch 'PHP-5.3' into PHP-5.4
2013-08-08 14:03:00 +02:00
Andrey Hristov
1e2f72d6b6
Merge branch 'PHP-5.5' of ssh://git.php.net/php-src into PHP-5.5
2013-08-08 13:52:09 +02:00
Andrey Hristov
82a7ec72de
add some tracing
2013-08-08 13:51:55 +02:00
Christopher Jones
ae4f8b2ab0
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Remove tabs on blanklines in Makefile sources. This prevents a 'suspicious line' warning when editing & saving Makefile using Emacs.
2013-08-07 13:14:46 -07:00
Christopher Jones
4ed133c4e2
Remove tabs on blanklines in Makefile sources. This prevents a
...
'suspicious line' warning when editing & saving Makefile using Emacs.
2013-08-07 13:14:00 -07:00
Christopher Jones
c932d532c8
One more './configure --help' alignment fix
2013-08-06 11:23:02 -07:00
Christopher Jones
c6d977dd39
Fix long-standing visual pain point: the misalignment of './configure help' text.
...
Whitespace changes and a couple of grammar fixes.
2013-08-06 11:06:09 -07:00
Christopher Jones
930183f961
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
# By Xinchen Hui
# Via Xinchen Hui
* 'PHP-5.5' of https://git.php.net/repository/php-src :
Re-fix Bug #65372 (Segfault in gc_zval_possible_root when return reference fails)
2013-08-06 10:01:43 -07:00
Christopher Jones
2743c3aac8
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
...
# By Xinchen Hui
# Via Xinchen Hui
* 'PHP-5.4' of https://git.php.net/repository/php-src :
Re-fix Bug #65372 (Segfault in gc_zval_possible_root when return reference fails)
2013-08-06 10:01:41 -07:00
Xinchen Hui
aa042d0c35
Merge branch 'PHP-5.4' into PHP-5.5
2013-08-06 15:39:33 +08:00
Xinchen Hui
a831499b4a
Re-fix Bug #65372 (Segfault in gc_zval_possible_root when return reference fails)
...
Missed a zval_copy_ctor there
2013-08-06 15:37:20 +08:00
Christopher Jones
6184753fab
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
* 'PHP-5.5' of https://git.php.net/repository/php-src :
PHP 5.5.2 has already branched
Doh. PHP 5.5 NEWS needs own commit.
2013-08-05 16:10:06 -07:00
Christopher Jones
6e505f4969
PHP 5.5.2 has already branched
2013-08-05 16:03:22 -07:00
Christopher Jones
4f87f26d06
Doh. PHP 5.5 NEWS needs own commit.
2013-08-05 15:56:46 -07:00
Christopher Jones
0cd77475e0
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
# By Rasmus Lerdorf (6) and others
# Via Christopher Jones (5) and others
* 'PHP-5.5' of https://git.php.net/repository/php-src: (26 commits)
NEWS for recent DTrace merges. Remove redundant 'cp' during DTrace install.
Fixed bug #62691 (solaris sed has no -i switch) Make 'make distclean' remove generated DTrace .h file
Enable dtrace probes on linux as they are compatible with systemtap
Fixed bug #63706 : Cannot build PHP-5.5 with --enable-dtrace on Fedora 17
Add an empty make command for DTrace .d files to stop an implicit circular dependency in GNU Make which causes .d files to be overwritten (Bug 61268)
Merge branch 'PHP-5.4'
Merge branch 'PHP-5.5'
Fixed bug #62978 . pg_select()/etc may allow SQL injection when table name is user parameter, users are able to control table names.
add news about session fix
First fixes for a 64bit compatible ftp extension
fix compiler warning, use longs for hashes
fix crash, enable session_id and fix test
Strict session. Detect session id collision
Strict session
non living code related typo fixes
fix typo
This doesn't fail in 5.5 anymore
We shouldn't load any local ini files for these tests
pcre_quote? No such thing. How did this ever pass?
This test needs local infile enabled
...
2013-08-05 15:53:00 -07:00
Christopher Jones
18f17818a6
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
NEWS for recent DTrace merges. Remove redundant 'cp' during DTrace install.
2013-08-05 15:40:56 -07:00
Christopher Jones
47d66a0b4e
NEWS for recent DTrace merges.
...
Remove redundant 'cp' during DTrace install.
2013-08-05 15:38:36 -07:00
Christopher Jones
6e89818f2f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #62691 (solaris sed has no -i switch) Make 'make distclean' remove generated DTrace .h file
Enable dtrace probes on linux as they are compatible with systemtap
Fixed bug #63706 : Cannot build PHP-5.5 with --enable-dtrace on Fedora 17
Conflicts:
Makefile.global
2013-08-05 15:35:46 -07:00
Christopher Jones
3bbe5931bc
Fixed bug #62691 (solaris sed has no -i switch)
...
Make 'make distclean' remove generated DTrace .h file
2013-08-05 15:18:12 -07:00
David Soria Parra
a5c524f1be
Enable dtrace probes on linux as they are compatible with systemtap
...
You can build php with dtrace probes enabled on linux if you have
systemtap with uprobes.
2013-08-05 15:07:04 -07:00
Remi Collet
3c5e229212
Fixed bug #63706 : Cannot build PHP-5.5 with --enable-dtrace on Fedora 17
2013-08-05 14:52:12 -07:00
Christopher Jones
b90b551228
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Add an empty make command for DTrace .d files to stop an implicit circular dependency in GNU Make which causes .d files to be overwritten (Bug 61268)
Merge branch 'PHP-5.4'
Conflicts:
ext/mysqlnd/mysqlnd.c
2013-08-05 14:27:54 -07:00
Christopher Jones
ec4019e8f6
Add an empty make command for DTrace .d files to stop an implicit
...
circular dependency in GNU Make which causes .d files to be
overwritten (Bug 61268)
2013-08-05 14:21:06 -07:00
Kalle Sommer Nielsen
cabf38af6d
Merge branch 'PHP-5.4'
2013-08-05 17:23:00 +02:00
Kalle Sommer Nielsen
963c1be38d
Merge branch 'PHP-5.5'
2013-08-05 17:16:05 +02:00
Yasuo Ohgaki
cb8d1fc7f9
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #62978 . pg_select()/etc may allow SQL injection when table name is user parameter, users are able to control table names.
2013-08-05 18:24:07 +09:00
Yasuo Ohgaki
f718684a6c
Fixed bug #62978 . pg_select()/etc may allow SQL injection when table name is user parameter, users are able to control table names.
2013-08-05 18:23:15 +09:00
Stanislav Malyshev
e59143e896
add news about session fix
2013-08-04 20:06:48 -07:00
Stanislav Malyshev
6f73a0c00f
Merge branch 'pr368' into PHP-5.5
...
* pr368:
fix crash, enable session_id and fix test
Strict session. Detect session id collision
Strict session
2013-08-04 20:00:28 -07:00
Stanislav Malyshev
7d3fa7d8b6
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
First fixes for a 64bit compatible ftp extension
2013-08-04 19:36:01 -07:00
Andreas Streichardt
a93a462dce
First fixes for a 64bit compatible ftp extension
2013-08-04 19:31:30 -07:00
Stanislav Malyshev
e4f9619fad
fix compiler warning, use longs for hashes
2013-08-04 18:04:45 -07:00
Stanislav Malyshev
b80d73ce15
fix crash, enable session_id and fix test
2013-08-04 17:43:20 -07:00
Yasuo Ohgaki
82b0e8be99
Strict session. Detect session id collision
2013-08-04 16:36:53 -07:00
Yasuo Ohgaki
25e8fcc88f
Strict session
2013-08-04 16:36:45 -07:00
Stanislav Malyshev
c793a65690
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
non living code related typo fixes
Conflicts:
Zend/zend_compile.c
2013-08-04 16:06:24 -07:00
Veres Lajos
8d86597d73
non living code related typo fixes
2013-08-04 16:05:36 -07:00
Stanislav Malyshev
3626db6142
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix typo
2013-08-04 16:02:53 -07:00
Stanislav Malyshev
5f137d080a
fix typo
2013-08-04 16:02:27 -07:00
Rasmus Lerdorf
626d96ab6d
This doesn't fail in 5.5 anymore
2013-08-03 12:14:47 -04:00
Rasmus Lerdorf
f17f596b27
Merge commit 'a03f094' into PHP-5.5
...
* commit 'a03f094':
We shouldn't load any local ini files for these tests
2013-08-02 16:23:44 -04:00
Rasmus Lerdorf
a03f0943ca
We shouldn't load any local ini files for these tests
2013-08-02 16:23:18 -04:00
Rasmus Lerdorf
d24f31c65e
Merge commit 'd60e168' into PHP-5.5
...
* commit 'd60e168':
pcre_quote? No such thing. How did this ever pass?
2013-08-02 16:13:03 -04:00
Rasmus Lerdorf
d60e168a7a
pcre_quote? No such thing. How did this ever pass?
2013-08-02 16:12:21 -04:00
Rasmus Lerdorf
9ca7910661
Merge commit 'ea75b1b' into PHP-5.5
...
* commit 'ea75b1b':
This test needs local infile enabled
2013-08-02 15:33:40 -04:00
Rasmus Lerdorf
ea75b1b5db
This test needs local infile enabled
2013-08-02 15:33:18 -04:00
Rasmus Lerdorf
3d0aca80f2
Merge commit 'e55f08a' into PHP-5.5
...
* commit 'e55f08a':
This test will only work if gc is enabled
2013-08-02 12:01:12 -04:00
Rasmus Lerdorf
e55f08a5ae
This test will only work if gc is enabled
2013-08-02 12:00:48 -04:00
Rasmus Lerdorf
a85e71e655
Merge commit '5753b74' into PHP-5.5
...
* commit '5753b74':
Make sure test.php isn't coming in from the include_path
2013-08-02 11:47:52 -04:00
Rasmus Lerdorf
5753b74fab
Make sure test.php isn't coming in from the include_path
2013-08-02 11:47:12 -04:00
Xinchen Hui
47ac4f8670
Fixed tests (inet_pton behaves differently on Darwin)
2013-08-02 18:43:08 +08:00
Xinchen Hui
6f1a762fab
Update NEWS
2013-08-02 18:39:41 +08:00
Xinchen Hui
1e942dde24
Merge branch 'PHP-5.4' into PHP-5.5
2013-08-02 18:39:18 +08:00
Xinchen Hui
ce9169e360
Fixed bug Bug #65372 (Segfault in gc_zval_possible_root when return reference fails)
2013-08-02 18:37:15 +08:00
Yasuo Ohgaki
1c32b97bc3
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Add user contributed test. Bug #61748
2013-08-02 09:52:50 +09:00
Yasuo Ohgaki
cb13f8318b
Add user contributed test. Bug #61748
2013-08-02 09:52:08 +09:00
Christopher Jones
48ea95188e
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
* 'PHP-5.5' of https://git.php.net/repository/php-src :
Clean up the 'generated' phar.inc file. When building outside the source tree the copied phar.inc needs to be removed, but when building in the tree, the file must remain since it is part of the source. See the copying logic in ext/phar/Makefile.frag.
Revert "Allow 'make distclean' to clean up the 'generated' phar.inc"
Use PHP's major version when cleaning up Apache .module files
Allow 'make distclean' to clean up the 'generated' phar.inc
Give 'make distclean' some love. Clean files created by AC_OUTPUT, shell redirection etc.
2013-08-01 10:39:38 -07:00
Christopher Jones
d884ec15e9
Clean up the 'generated' phar.inc file.
...
When building outside the source tree the copied phar.inc needs to be removed,
but when building in the tree, the file must remain since it is part of the source.
See the copying logic in ext/phar/Makefile.frag.
2013-08-01 09:19:53 -07:00
Christopher Jones
146b933ab4
Revert "Allow 'make distclean' to clean up the 'generated' phar.inc"
...
This reverts commit 017145bc57 .
2013-08-01 08:47:13 -07:00
Christopher Jones
c069b5f571
Use PHP's major version when cleaning up Apache .module files
2013-07-31 12:35:10 -07:00
Christopher Jones
2ab080da2d
Merge branch 'phardistclean' into PHP-5.5
...
* phardistclean:
Allow 'make distclean' to clean up the 'generated' phar.inc
2013-07-31 12:34:28 -07:00
Christopher Jones
017145bc57
Allow 'make distclean' to clean up the 'generated' phar.inc
2013-07-31 12:31:50 -07:00
Christopher Jones
4ed18d5955
Give 'make distclean' some love. Clean files created by AC_OUTPUT, shell redirection etc.
2013-07-31 11:49:29 -07:00
Christopher Jones
3b4d2647f9
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
# By Dmitry Stogov (3) and others
# Via Christopher Jones (6) and Dmitry Stogov (2)
* 'PHP-5.5' of https://git.php.net/repository/php-src :
Fixed bug #62691 (solaris sed has no -i switch) Make 'make distclean' remove generated DTrace .h file
Improved fix for bug #44686 (SOAP-ERROR: Parsing WSDL)
Fixed bug #65018 (SoapHeader problems with SoapServer)
Added opcache.restrict_api configuration directive that may limit usage of OPcahce API functions only to patricular script(s)
MFH: fixed #65045 : mb_convert_encoding breaks well-formed character.
Fixed bug #65336
2013-07-31 10:08:50 -07:00
Christopher Jones
e3a4b87e89
Fixed bug #62691 (solaris sed has no -i switch)
...
Make 'make distclean' remove generated DTrace .h file
2013-07-31 09:58:28 -07:00
Christopher Jones
0625d5ce67
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
* 'PHP-5.5' of https://git.php.net/repository/php-src :
Improved fix for bug #44686 (SOAP-ERROR: Parsing WSDL)
Fixed bug #65018 (SoapHeader problems with SoapServer)
Added opcache.restrict_api configuration directive that may limit usage of OPcahce API functions only to patricular script(s)
MFH: fixed #65045 : mb_convert_encoding breaks well-formed character.
Fixed php-5.2 support
added test script for bug65045.
MFH: fixed #65045 : mb_convert_encoding breaks well-formed character.
Added support for glob symbols in blacklist entries (?, *, **)
Fixed bug #65336
2013-07-31 09:01:56 -07:00
Christopher Jones
4590070f31
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
...
* 'PHP-5.4' of https://git.php.net/repository/php-src :
Improved fix for bug #44686 (SOAP-ERROR: Parsing WSDL)
Fixed bug #65018 (SoapHeader problems with SoapServer)
MFH: fixed #65045 : mb_convert_encoding breaks well-formed character.
2013-07-31 09:01:54 -07:00
Dmitry Stogov
5129892788
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Improved fix for bug #44686 (SOAP-ERROR: Parsing WSDL)
2013-07-31 17:37:08 +04:00
Dmitry Stogov
4395f70207
Improved fix for bug #44686 (SOAP-ERROR: Parsing WSDL)
2013-07-31 17:36:06 +04:00
Dmitry Stogov
35872e101b
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #65018 (SoapHeader problems with SoapServer)
MFH: fixed #65045 : mb_convert_encoding breaks well-formed character.
Fixed bug #65336
Conflicts:
NEWS
2013-07-31 16:34:26 +04:00
Dmitry Stogov
fd8f454520
Fixed bug #65018 (SoapHeader problems with SoapServer)
2013-07-31 16:32:26 +04:00
Dmitry Stogov
d69b3d8f59
Added opcache.restrict_api configuration directive that may limit usage of OPcahce API functions only to patricular script(s)
2013-07-31 14:20:56 +04:00
Christopher Jones
f7c87fcc8c
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
# By Dmitry Stogov (5) and Rui Hirokawa (2)
# Via Dmitry Stogov (3) and others
* 'PHP-5.5' of https://git.php.net/repository/php-src :
Fixed php-5.2 support
added test script for bug65045.
MFH: fixed #65045 : mb_convert_encoding breaks well-formed character.
Added support for glob symbols in blacklist entries (?, *, **)
Improved implementation of NOP removal pass from O(n^2) to O(n) (hnw)
A minor fix for configure outpu (Tony)
Fixed bug #65338 (Enabling both php_opcache and php_wincache AVs on shutdown).
2013-07-30 16:53:05 -07:00
Rui Hirokawa
0a974f14d1
MFH: fixed #65045 : mb_convert_encoding breaks well-formed character.
2013-07-31 08:46:54 +09:00
Dmitry Stogov
d9e2dc8084
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
added test script for bug65045.
MFH: fixed #65045 : mb_convert_encoding breaks well-formed character.
2013-07-31 03:24:04 +04:00
Dmitry Stogov
f3aca8bc4d
Fixed php-5.2 support
2013-07-31 03:22:34 +04:00
Rui Hirokawa
f14ed5bce0
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-07-31 08:18:51 +09:00
Rui Hirokawa
7da3315015
added test script for bug65045.
2013-07-31 08:18:39 +09:00
Rui Hirokawa
c10d7e1afc
MFH: fixed #65045 : mb_convert_encoding breaks well-formed character.
2013-07-31 08:17:15 +09:00
Dmitry Stogov
2bd23530d8
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
2013-07-31 03:04:48 +04:00
Dmitry Stogov
02409669e4
Added support for glob symbols in blacklist entries (?, *, **)
2013-07-31 03:01:19 +04:00
Christopher Jones
8ca04e51aa
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
* 'PHP-5.5' of https://git.php.net/repository/php-src :
Improved implementation of NOP removal pass from O(n^2) to O(n) (hnw)
A minor fix for configure outpu (Tony)
2013-07-30 13:39:20 -07:00
Dmitry Stogov
cb17c99511
Improved implementation of NOP removal pass from O(n^2) to O(n) (hnw)
2013-07-30 22:31:37 +04:00
Dmitry Stogov
e2aba1cf9e
A minor fix for configure outpu (Tony)
2013-07-30 22:03:21 +04:00
Dmitry Stogov
3550f3d0aa
Fixed bug #65338 (Enabling both php_opcache and php_wincache AVs on shutdown).
2013-07-30 17:35:19 +04:00
Christopher Jones
e37fdbb2f2
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
# By Dmitry Stogov
# Via Dmitry Stogov
* 'PHP-5.5' of https://git.php.net/repository/php-src :
Merge from GitHub
2013-07-29 09:43:42 -07:00
Dmitry Stogov
ae5e70afac
Merge from GitHub
2013-07-28 13:47:13 +04:00
Yasuo Ohgaki
bafe0e5399
Update NEWS
2013-07-27 05:54:33 +09:00
Yasuo Ohgaki
ef3d813d2c
Fixed bug #65336
2013-07-27 05:54:33 +09:00
Yasuo Ohgaki
1d7b6970f2
Fixed bug #65336
2013-07-27 05:54:09 +09:00
Christopher Jones
8e79724c6f
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
* 'PHP-5.5' of https://git.php.net/repository/php-src :
2013-07-25 10:57:47 -07:00
Christopher Jones
fd616ba50f
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
...
* 'PHP-5.4' of https://git.php.net/repository/php-src :
2013-07-25 10:57:46 -07:00
Christopher Jones
4cab45946c
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
* 'PHP-5.5' of https://git.php.net/repository/php-src :
Upper section name
Update NEWs
Fixed bug #65328 (Segfault when getting SplStack object Value)
2013-07-25 10:42:45 -07:00
Christopher Jones
29b2522df1
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
...
* 'PHP-5.4' of https://git.php.net/repository/php-src :
Upper section name
Fixed bug #65328 (Segfault when getting SplStack object Value)
2013-07-25 10:42:43 -07:00
Christopher Jones
42e8f3ca28
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
# By Johannes Schlüter (3) and others
# Via Xinchen Hui (3) and others
* 'PHP-5.5' of https://git.php.net/repository/php-src :
Upper section name
Update NEWs
Fixed bug #65328 (Segfault when getting SplStack object Value)
Expand the ZEND_STRL macro to handle platforms where strncmp() is a macro.
fix missing include
Fix bug 65299
Fix compiler warning on redefined constant
Fix comment
fixed bug #65311 testsuite failure due to incomplete fix to bug28985.phpt
fix bug #65028 Phar::buildFromDirectory creates corrupt archives for some specific contents
2013-07-25 08:53:29 -07:00
Christopher Jones
979194351d
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
...
# By Xinchen Hui (2) and others
# Via Stanislav Malyshev (1) and Xinchen Hui (1)
* 'PHP-5.4' of https://git.php.net/repository/php-src :
Upper section name
Fixed bug #65328 (Segfault when getting SplStack object Value)
Fix compiler warning on redefined constant
fixed bug #65311 testsuite failure due to incomplete fix to bug28985.phpt
fix bug #65028 Phar::buildFromDirectory creates corrupt archives for some specific contents
2013-07-25 08:53:26 -07:00
Xinchen Hui
9776504c5b
Merge branch 'PHP-5.4' into PHP-5.5
2013-07-25 22:45:44 +08:00
Xinchen Hui
515092917d
Upper section name
2013-07-25 22:45:15 +08:00
Xinchen Hui
1fbcfc9bdb
Update NEWs
2013-07-25 22:44:59 +08:00
Xinchen Hui
9126909c08
Merge branch 'PHP-5.4' into PHP-5.5
2013-07-25 22:44:19 +08:00
Xinchen Hui
9909c4d4c4
Fixed bug #65328 (Segfault when getting SplStack object Value)
2013-07-25 22:43:41 +08:00
Stanislav Malyshev
b8c8a04a85
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix bug #65028 Phar::buildFromDirectory creates corrupt archives for some specific contents
2013-07-23 21:45:35 -07:00
Stanislav Malyshev
96a53f6715
Merge branch 'bug65028' into PHP-5.4
...
* bug65028:
fix bug #65028 Phar::buildFromDirectory creates corrupt archives for some specific contents
2013-07-23 21:44:06 -07:00
Adam Harvey
f9000fde98
Expand the ZEND_STRL macro to handle platforms where strncmp() is a macro.
...
On most platforms, this works fine, but on Linux armhf, strncmp() is a macro
rather than a real function, ergo the macro expansion of ZEND_STRL doesn't
occur until after the compiler knows it needs three parameters for strncmp()
and we get a compile error.
Fixes the fix for bug #61697 .
2013-07-23 11:15:43 -07:00
Anatol Belski
f00d796b7e
fix missing include
2013-07-23 18:06:51 +02:00
Johannes Schlüter
7b92a22772
Fix bug 65299
2013-07-23 14:13:22 +02:00
Johannes Schlüter
5a8b0ca8fa
Merge branch 'PHP-5.4' into PHP-5.5
2013-07-23 12:57:08 +02:00
Johannes Schlüter
c28ab73d73
Fix compiler warning on redefined constant
2013-07-23 12:50:37 +02:00
Johannes Schlüter
063e10b275
Fix comment
2013-07-23 12:41:24 +02:00
Anatol Belski
8aebe0f1e7
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fixed bug #65311 testsuite failure due to incomplete fix to bug28985.phpt
2013-07-23 10:00:07 +02:00
Anatol Belski
9b6aa268a3
fixed bug #65311 testsuite failure due to incomplete fix to bug28985.phpt
2013-07-23 09:59:08 +02:00
Christopher Jones
024972e3b9
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
# By Anatol Belski (12) and others
# Via Stanislav Malyshev (12) and others
* 'PHP-5.5' of https://git.php.net/repository/php-src: (74 commits)
fixed possible null deref
- addressed bug #65159 , Misleading configure help text for --with-mysql-sock
Fix bug #61697 - spl_autoload_functions returns lambda functions incorrectly
Update news for FILTER_SANITIZE_FULL_SPECIAL_CHARS fix
Wrong value for FILTER_SANITIZE_FULL_SPECIAL_CHARS in REGISTER_LONG_CONSTANT
Added recursivetreeiterator::setPostfix() method
next is 5.5.2
add a few comment
allow both the old and new cfg argument to work. (the old of course should contain the typo)
mssql.compatability_mode fix
backward compatibility
HASH_KEY_NON_EXISTANT fix
Update NEWS
Fixed bug #65304 (Use of max int in array_sum)
Updaet NEWS
Reorder NEWS
intl: remove extra quotes from arginfo params
Fixed bug #65291 - get_defined_constants() crash with __CLASS__ in trait
Fixed bug #65291 - get_defined_constants() crash with __CLASS__ in trait
Properly fixed bug #63186 on NetBSD == 6.0
...
2013-07-22 10:59:01 -07:00
Christopher Jones
a1bf38e075
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
...
# By Anatol Belski (8) and others
# Via Anatol Belski (2) and others
* 'PHP-5.4' of https://git.php.net/repository/php-src: (44 commits)
fixed possible null deref
- addressed bug #65159 , Misleading configure help text for --with-mysql-sock
Update news for FILTER_SANITIZE_FULL_SPECIAL_CHARS fix
Wrong value for FILTER_SANITIZE_FULL_SPECIAL_CHARS in REGISTER_LONG_CONSTANT
Fixed bug #65304 (Use of max int in array_sum)
Reorder NEWS
Fixed bug #65291 - get_defined_constants() crash with __CLASS__ in trait
Fixed bug #65291 - get_defined_constants() crash with __CLASS__ in trait
Properly fixed bug #63186 on NetBSD == 6.0
Improve php.ini-* documentation
5.4.19 is next
Fixed bug #50308 - session id not appended properly for empty anchor tags
Fix bug #62129 - rfc1867 crashes php even though turned off
add news for xml fix
fix TS build
added sapi check for dl() test
Make zval2myslqnd implementations aware of inheritance
Fixed typo ensuring header str is \0 terminated
fix buffer overrun
fix invalid variable name at ext/spl/internal/multipleiterator.inc (key() method, too)
...
2013-07-22 10:58:57 -07:00
Christopher Jones
7c9bb87edd
Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
...
# By Johannes Schlüter
# Via Christopher Jones (1) and Johannes Schlüter (1)
* 'PHP-5.3' of https://git.php.net/repository/php-src :
Merge PHP 5.3.27 NEWS
add test for bug #65236
2013-07-22 10:58:52 -07:00
Anatol Belski
bd20c79423
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fixed possible null deref
2013-07-22 14:51:11 +02:00
Anatol Belski
25f924abf6
fixed possible null deref
2013-07-22 14:50:18 +02:00
Stanislav Malyshev
f8efdc2b4b
fix bug #65028 Phar::buildFromDirectory creates corrupt archives for some specific contents
2013-07-22 00:57:33 -07:00
Stanislav Malyshev
b8d4a6939e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- addressed bug #65159 , Misleading configure help text for --with-mysql-sock
2013-07-21 23:14:42 -07:00
Yoshinari Takaoka
1b4103c09d
- addressed bug #65159 , Misleading configure help text for --with-mysql-sock
2013-07-21 23:12:54 -07:00
Stanislav Malyshev
83ced9124e
Fix bug #61697 - spl_autoload_functions returns lambda functions incorrectly
2013-07-21 22:47:10 -07:00
Stanislav Malyshev
476924ec3d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Update news for FILTER_SANITIZE_FULL_SPECIAL_CHARS fix
Wrong value for FILTER_SANITIZE_FULL_SPECIAL_CHARS in REGISTER_LONG_CONSTANT
2013-07-21 22:31:19 -07:00
Stanislav Malyshev
ba984582db
Update news for FILTER_SANITIZE_FULL_SPECIAL_CHARS fix
2013-07-21 22:28:02 -07:00
Andrey
da3886de6d
Wrong value for FILTER_SANITIZE_FULL_SPECIAL_CHARS in REGISTER_LONG_CONSTANT
2013-07-21 22:25:21 -07:00
Joshua Thijssen
5027fa79d7
Added recursivetreeiterator::setPostfix() method
2013-07-21 22:20:58 -07:00
Stanislav Malyshev
2c23004a1e
next is 5.5.2
2013-07-21 21:16:39 -07:00
Veres Lajos
e7a00a2566
add a few comment
2013-07-21 21:14:38 -07:00
Lajos Veres
f51b8d8820
allow both the old and new cfg argument to work. (the old of course should contain the typo)
2013-07-21 21:12:19 -07:00
Veres Lajos
b8941a73cc
mssql.compatability_mode fix
2013-07-21 21:12:16 -07:00
Lajos Veres
97637b2a4c
backward compatibility
2013-07-21 20:09:59 -07:00
Veres Lajos
4749457a49
HASH_KEY_NON_EXISTANT fix
2013-07-21 20:09:53 -07:00
Xinchen Hui
29281dee49
Update NEWS
2013-07-21 21:07:38 +08:00
Xinchen Hui
c7b58e4967
Merge branch 'PHP-5.4' into PHP-5.5
2013-07-21 21:07:27 +08:00
Xinchen Hui
3380de9774
Fixed bug #65304 (Use of max int in array_sum)
2013-07-21 21:07:19 +08:00
Xinchen Hui
3cd13204bb
Updaet NEWS
2013-07-21 16:19:40 +08:00
Xinchen Hui
629965abe2
Merge branch 'PHP-5.4' into PHP-5.5
2013-07-21 16:19:13 +08:00
Xinchen Hui
cc91fbe986
Reorder NEWS
2013-07-21 15:58:10 +08:00
Gustavo André dos Santos Lopes
3363e04fb4
intl: remove extra quotes from arginfo params
2013-07-21 03:30:28 +02:00
Arpad Ray
b963249456
Fixed bug #65291 - get_defined_constants() crash with __CLASS__ in trait
...
Also fix and test for get_defined_constants(true)
2013-07-20 11:05:13 +01:00
Arpad Ray
a015fa83a7
Fixed bug #65291 - get_defined_constants() crash with __CLASS__ in trait
2013-07-19 19:19:48 +01:00
Matteo Beccati
1dc7d0da08
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Properly fixed bug #63186 on NetBSD == 6.0
2013-07-19 09:39:53 +02:00
Matteo Beccati
2b9d42433f
Properly fixed bug #63186 on NetBSD == 6.0
2013-07-19 09:37:39 +02:00
Anatol Belski
99afc6dc11
Fixed bug #65268 select() implementation uses outdated tick API
2013-07-18 18:01:51 +02:00
Anatol Belski
d8dd4d9b02
fix header include
...
stddef.h is needed to have offsetof macros on windows (at least)
2013-07-18 15:28:20 +02:00
Julien Pauli
cbdf9edebd
new NEWS for next release
2013-07-18 11:54:09 +02:00
Yasuo Ohgaki
d6692514f8
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Improve php.ini-* documentation
2013-07-18 14:10:05 +09:00
Yasuo Ohgaki
445dffa75a
Improve php.ini-* documentation
2013-07-18 14:08:28 +09:00
Stanislav Malyshev
fec93992de
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
5.4.19 is next
Conflicts:
configure.in
main/php_version.h
2013-07-17 13:52:25 -07:00
Stanislav Malyshev
b9e3f737d9
5.4.19 is next
2013-07-17 13:51:15 -07:00
Arpad Ray
31edf4df56
regenerate url scanner
2013-07-17 16:28:01 +01:00
Arpad Ray
94ab37f06a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #50308 - session id not appended properly for empty anchor tags
2013-07-17 16:19:53 +01:00
Arpad Ray
e6ae977082
Fixed bug #50308 - session id not appended properly for empty anchor tags
...
The issue was actually because a lack of space before a "/" marking the tag
as empty. This was being swallowed in the rule for unquoted values. Fixed
by making that rule exclude quotes (as per spec anyway).
2013-07-17 16:07:26 +01:00
Arpad Ray
0d3d739bf7
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #62129 - rfc1867 crashes php even though turned off
2013-07-17 11:05:23 +01:00
Arpad Ray
ba3234888d
Fix bug #62129 - rfc1867 crashes php even though turned off
...
Patch by gxd305 at gmail dot com
2013-07-17 11:02:48 +01:00
Stanislav Malyshev
c855f44737
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add news for xml fix
2013-07-16 15:39:16 -07:00
Anatol Belski
fd5cdf89a8
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix TS build
2013-07-16 18:05:45 +02:00
Anatol Belski
f37ac6f591
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
added sapi check for dl() test
2013-07-16 15:43:37 +02:00
Johannes Schlüter
e1a0c90b8b
Merge branch 'PHP-5.4' into PHP-5.5
2013-07-16 13:55:32 +02:00
Anatol Belski
54b740a7e1
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed typo ensuring header str is \0 terminated
2013-07-16 00:15:29 +02:00
Gustavo Lopes
ceecfaff5a
NEWS for 710150c and e2744f1
2013-07-16 00:02:43 +02:00
Gustavo Lopes
710150ccb7
socket: support unix paths in the abstract namespace
...
Those starting with '\0'.
2013-07-15 23:57:51 +02:00
Gustavo Lopes
e2744f1aa3
socket: fix bug #65260 (SCM_RIGHTS)
...
The data for messages of type SOL_SOCKET/SCM_RIGHTS was not being
passed correctly. There were actually two bugs: (1) the number of file
descriptors being passed was being read incorrectly (the length of the
cmsg array was being read instead of that of its 'data' element), as a
result it was generally being reported as always three elements
('level', 'type' and 'data') and (2) the allocated block for writing
the file descriptors was being acessed incorrectly because a 1-based
counter was being used as if it was 0-based.
Any of these two bugs would probably be enough to cause heap
corruption.
2013-07-15 23:57:49 +02:00
Anatol Belski
e7a4cf8d7e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix buffer overrun
2013-07-15 17:35:29 +02:00
Anatol Belski
904c5d7ba8
kick unused var
2013-07-15 17:23:16 +02:00
Bruno CHALOPIN
2ec7b1c388
Remove PWS (Personal Web Server) references
2013-07-15 00:38:29 -07:00
Stanislav Malyshev
68e630b72f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix invalid variable name at ext/spl/internal/multipleiterator.inc (key() method, too)
fix invalid variable name at ext/spl/internal/multipleiterator.inc
2013-07-15 00:36:35 -07:00
Stanislav Malyshev
0aadbf7578
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
revert false fix
typo fixes
less serious compatAbility fixes
typos (orig)
Conflicts:
ext/mysql/php_mysql.c
2013-07-15 00:27:57 -07:00
Veres Lajos
f23a5fbc8e
revert false fix
2013-07-15 00:19:07 -07:00
Veres Lajos
72085b0e5f
typo fixes
2013-07-15 00:18:57 -07:00
Veres Lajos
b8a2b254a1
typos (orig)
2013-07-15 00:18:32 -07:00
Veres Lajos
227556c6a2
less serious compatAbility fixes
2013-07-15 00:17:35 -07:00
Stanislav Malyshev
8c663fd4cc
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #62665 : add curl.cainfo to php.ini
Conflicts:
php.ini-development
php.ini-production
2013-07-14 23:56:59 -07:00
Stanislav Malyshev
07ab23655a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add news for bug #65219
2013-07-14 17:07:24 -07:00
Stanislav Malyshev
9cc9d32e6a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Add built-in web server to invocation list
Terminology: change embedded web server to built-in web server to align with cli usage
Align -B and -E parameter names with cli usage (begin_code and end_code)
Fix Bug #65219 DBSETLDBNAME should be called before login to set DBNAME in login record
2013-07-14 17:01:43 -07:00
Anatol Belski
168a5bb6df
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix uninitialized memory usage
2013-07-14 20:46:19 +02:00
Xinchen Hui
e20fc85454
Update NEWS
2013-07-14 11:56:37 +08:00
Xinchen Hui
2c4f823437
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2013-07-14 11:53:56 +08:00
Felipe Pena
efc89368dd
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- Bug #65228 (FTPs memory leak) patch by: marco dot beierer at mbsecurity dot ch
2013-07-13 17:54:41 -03:00
Stanislav Malyshev
184dea7033
fix version - not -dev anymore since 5.5.0 release
2013-07-12 17:23:22 -07:00
Felipe Pena
4bd2f755ba
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- Fixed bug #65227 (Memory leak in gmp_cmp second parameter)
Fixed meta data retrieve when OID is larger than 2^31
2013-07-12 20:23:31 -03:00
Yasuo Ohgaki
bccc3e2ec0
Fixed meta data retrieve when OID is larger than 2^31
2013-07-13 06:05:18 +09:00
Yasuo Ohgaki
002f3ff4dc
Inprove pg_unescape_bytea() error message
2013-07-13 06:05:17 +09:00
Stanislav Malyshev
657116f12e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix the date for 5.4.17
2013-07-12 10:58:24 -07:00
Stanislav Malyshev
64b11f8918
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update 5.4.17 date
2013-07-12 10:55:37 -07:00
Stanislav Malyshev
20e9ca5c9f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update 5.4.17 date
2013-07-12 10:53:47 -07:00
Anatol Belski
4f4fa32ca5
updated NEWS
2013-07-11 00:51:10 +02:00
Anatol Belski
ecf057d197
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #65226 chroot() does not get enabled
2013-07-11 00:49:41 +02:00
Christopher Jones
2d77bbdf64
Merge branch 'spl_tempfile_clean' into PHP-5.5
...
* spl_tempfile_clean:
Cleanup temp test file
2013-07-10 11:18:58 -07:00
Christopher Jones
3478ddc1f0
Cleanup temp test file
2013-07-10 11:17:52 -07:00
Christopher Jones
c0bfc57ba8
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
* 'PHP-5.5' of https://git.php.net/repository/php-src :
Merge PHP 5.3.27 NEWS
add test for bug #65236
fix possible resource leak and make sure there's something to qsort()
Cleanup temp file
- Updated to version 2013.4 (2013d)
2013-07-10 11:13:19 -07:00
Johannes Schlüter
1891577d04
Merge branch 'PHP-5.4' into PHP-5.5
2013-07-10 19:47:15 +02:00
Johannes Schlüter
26019d2022
Merge branch 'PHP-5.4' into PHP-5.5
2013-07-10 19:38:00 +02:00
Anatol Belski
f5b9d87fb9
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix possible resource leak and make sure there's something to qsort()
2013-07-10 13:31:22 +02:00
Christopher Jones
73b54b4a5b
Merge branch 'gd_clean' into PHP-5.5
...
* gd_clean:
Cleanup temp file
2013-07-09 14:52:35 -07:00
Christopher Jones
cd7e56e536
Cleanup temp file
2013-07-09 14:51:47 -07:00
Derick Rethans
06cef326fd
Merge branch 'PHP-5.4' into PHP-5.5
2013-07-09 09:07:17 +01:00
Christopher Jones
7045bd5c4a
Merge branch 'bump_pecl_check' into PHP-5.5
...
* bump_pecl_check:
Bump PECL package info version check to allow PECL installs with PHP 5.5+
2013-07-08 13:38:45 -07:00
Christopher Jones
6ac7c9d0a7
Bump PECL package info version check to allow PECL installs with PHP 5.5+
2013-07-08 13:32:04 -07:00
Christopher Jones
ac26d0e655
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
* 'PHP-5.5' of https://git.php.net/repository/php-src :
Fixed segfault in mysqlnd when doing long prepare
2013-07-08 13:31:12 -07:00
Andrey Hristov
dd71f1f173
Merge branch 'PHP-5.5' of ssh://git.php.net/php-src into PHP-5.5
2013-07-08 20:27:14 +02:00
Andrey Hristov
3dd5f4ae4c
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
NEWS
2013-07-08 20:24:58 +02:00
Yasuo Ohgaki
204137693c
Update NEWS
2013-07-08 19:21:52 +09:00
Yasuo Ohgaki
bde0f1318a
Added warning for hex2bin() when input is invalid string
2013-07-08 19:14:45 +09:00
Yasuo Ohgaki
bdfe70ab34
Update NEWS
2013-07-08 19:02:42 +09:00
Yasuo Ohgaki
2bc8271b29
Add warning to pg_unescape_bytea() when invalid parameter is passed
2013-07-08 18:51:37 +09:00
Ben Ramsey
d1c261d7f8
array_column: Changing integer in test output to use %d
2013-07-06 20:50:34 +00:00
Rob Richards
eed492ce84
Merge branch 'PHP-5.4' into PHP-5.5
...
# By Nuno Lopes (2) and Rob Richards (1)
* PHP-5.4:
truncate results at depth of 255 to prevent corruption
fix assembly of safe_address() for x86 and x86_64
fix assembly of safe_address() for x86 and x86_64
2013-07-06 08:00:58 -04:00
Ard Biesheuvel
47e21a2c40
Fix assembly of safe_address() for aarch64
2013-07-04 10:25:38 +02:00
Nuno Lopes
40cbceaf71
fix assembly of safe_address() for x86 and x86_64
2013-07-03 17:55:18 -04:00
Anatol Belski
332e46b3aa
Extended the test for bug #65184
2013-07-03 22:52:51 +02:00
Felipe Pena
00293fec05
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- Fixed build on FreeTDS 0.82
2013-07-03 15:02:39 -03:00
Johannes Schlüter
9aa7343ae0
Merge branch 'PHP-5.4' into PHP-5.5
2013-07-03 17:10:58 +02:00
Johannes Schlüter
631bb27dca
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
Zend/acinclude.m4
2013-07-03 16:58:20 +02:00
Anatol Belski
5324416b65
Fixed bug #65184 strftime() returns insufficient-length
...
string under multibyte locales
The msdn doc states 'strftime returns the number of characters', but prior
to VS2012 it seems to have returned the number of bytes. Locale independent.
The return is however \0-terminated, so strlen is just fine. The behaivor
seems to be persisting in the later VC++ versions as the corresponding
MSDN ticket is closed 'by design'.
See http://connect.microsoft.com/VisualStudio/feedback/details/766205/vs2012-strftime-has-incorrect-return-value-in-vc-11-with-multibyte-codepages#details
2013-07-03 11:12:46 +02:00
Gustavo André dos Santos Lopes
b52fea6f35
NEWS for two lst intl changes
2013-07-03 05:22:33 +01:00
Gustavo André dos Santos Lopes
9487f0b4bb
intl: fix extra space in constant name
2013-07-03 05:15:56 +01:00
Gustavo André dos Santos Lopes
a4538a4ca2
intl: add intlcal_set_minimal_days_in_first_week()
...
and IntlCalendar::setMinimalDaysInFirstWeek(). This one had slipped.
we had a ::getMinimalDaysInFirstWeek() but no way to change the value.
2013-07-03 05:06:32 +01:00
Remi Collet
1aeb2514fe
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix typo in php man page
2013-07-02 12:19:37 +02:00
Remi Collet
4d5a2fba16
NEWS
2013-07-02 10:48:19 +02:00
Remi Collet
8f0567581e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed Bug #65142 Missing phar man page
NEWS
Fixed Bug #65143 Missing php-cgi man page
2013-07-02 10:47:38 +02:00
Anatol Belski
1968fac697
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed mysql tests parsing phpinfo()
Update NEWS
Fixed bug #35703 : when session_name("123") consist only digits, should warning
Fixed bug #49175 : mod_files.sh does not support hash bits
2013-07-02 08:24:37 +02:00
Christopher Jones
bf8ed4708e
Add a few links
2013-07-01 16:48:18 -07:00
Christopher Jones
49a2cd93d6
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
# By Stanislav Malyshev (3) and others
# Via Stanislav Malyshev (3) and Nikita Popov (1)
* 'PHP-5.5' of https://git.php.net/repository/php-src :
Don't try to clean up generator stack on unclean shutdown
NEWS
Added PHP_FCGI_BACKLOG, overrides the default listen backlog
Fixed bug #49175 : mod_files.sh does not support hash bits
add fix for #60560 into upgrading
Add a __wakeup() method to SplFixedArray, thereby fixing serialising an
Update NEWS
small optimization
fix bug #61860 : use USearch for searches, it does the right thing
2013-07-01 13:45:44 -07:00
Nikita Popov
0f36224beb
Don't try to clean up generator stack on unclean shutdown
...
This fixes bugs #65035 and #65161 . In one of the bugs the issue is
that function_state.arguments is NULL, but the arg count is pushed
to the stack and the code tries to free it. In the other bug the
stack of the generator is freed twice, once in generator_close and
later during shutdown.
It's rather hard (if at all possible) to do a proper stack cleanup
on an unclean shutdown, so I'm just disabling it in this case.
2013-06-29 21:51:54 +02:00
Arnaud Le Blanc
5904da9948
NEWS
2013-06-29 17:54:55 +02:00
Arnaud Le Blanc
18f45c535b
Added PHP_FCGI_BACKLOG, overrides the default listen backlog
2013-06-29 17:52:04 +02:00
Yasuo Ohgaki
27b01cfcd7
Fixed bug #49175 : mod_files.sh does not support hash bits
2013-06-29 09:09:23 +09:00
Stanislav Malyshev
657d486013
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add fix for #60560 into upgrading
2013-06-28 14:01:53 -07:00
Stanislav Malyshev
4020ef8980
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Add a __wakeup() method to SplFixedArray, thereby fixing serialising an
Update NEWS
small optimization
fix bug #61860 : use USearch for searches, it does the right thing
2013-06-28 13:56:11 -07:00
Christopher Jones
2c73f61a1c
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
# By Felipe Pena (11) and others
# Via Felipe Pena (7) and others
* 'PHP-5.5' of https://git.php.net/repository/php-src: (22 commits)
Fix bug #62535 - $_SESSION[$key]["cancel_upload"] doesn't work as documented
Update NEWS
BC fix for PR 109 merge - create_sid() method in SessionHandler
Update NEWS:w
Fixed bug #65136 (RecursiveDirectoryIterator segfault)
- BFN
- Fixed bug #64467 (Segmentation fault after imap_reopen failure) patch by: askalski at gmail dot com
- Reclassify bug
- BFN
- Fixed bug #63983 (enabling FPM borks compile on FreeBSD) patch by: chibisuke at web dot de
- Fixed bug #63409 (php-dba function test fails on big-endian machine) patch by: tianhonglouis at gmail dot com
- Fixed test
add new test
Update NEWS
Fixed bug #65015 (pg_send_query does not flush send buffer) patch submitted by: adam at vektah dot net
- Fixed typo on condition
- BFN
- Fixed bug #62475 (variant_* functions causes crash when null given as an argument)
Update NEWS
- BFN
...
2013-06-27 16:48:26 -07:00
Arpad Ray
70ae67b5da
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #62535 - $_SESSION[$key]["cancel_upload"] doesn't work as documented
2013-06-27 19:12:46 +01:00
Arpad Ray
41565a239f
Update NEWS
2013-06-27 12:49:16 +01:00
Arpad Ray
1e836cdd64
BC fix for PR 109 merge - create_sid() method in SessionHandler
...
Creates a new SessionIdInterface and moves create_sid() into it, so existing
handlers implementing SessionHandlerInterface don't require create_sid().
SessionHandler still includes the method so the default mod can be called, but
now implements both interfaces.
Also added several more tests for this feature.
2013-06-27 12:33:56 +01:00
Arpad Ray
b66c14b0c8
Merge PR 109 - Add create_sid to session_set_save_handler and SessionHandler
...
Allows user session handlers to create session IDs by adding an optional
7th argument to session_set_save_handler() and a create_sid() method
to SessionHandler.
2013-06-27 12:29:44 +01:00
Xinchen Hui
60bbc78bde
Update NEWS:w
2013-06-27 12:38:35 +08:00
Xinchen Hui
c2cfc242c4
Merge branch 'PHP-5.4' into PHP-5.5
2013-06-27 12:38:13 +08:00
Felipe Pena
402b3aaf56
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- BFN
- Fixed bug #64467 (Segmentation fault after imap_reopen failure) patch by: askalski at gmail dot com
- Reclassify bug
2013-06-26 19:16:26 -03:00
Felipe Pena
efbf573e9f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- BFN
- Fixed bug #63983 (enabling FPM borks compile on FreeBSD) patch by: chibisuke at web dot de
2013-06-26 15:08:51 -03:00
Felipe Pena
aa31d7e1ef
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- Fixed bug #63409 (php-dba function test fails on big-endian machine) patch by: tianhonglouis at gmail dot com
2013-06-26 13:50:43 -03:00
Felipe Pena
32f11e4ee6
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- Fixed test
2013-06-26 13:36:41 -03:00
Andrey Hristov
781be5f1d7
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
NEWS
2013-06-26 16:50:08 +02:00
Felipe Pena
623386d799
- Fixed typo on condition
2013-06-25 21:53:20 -03:00
Felipe Pena
b68c496175
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- BFN
2013-06-25 21:44:03 -03:00
Felipe Pena
fba44be828
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- Fixed bug #62475 (variant_* functions causes crash when null given as an argument)
Update NEWS
- BFN
2013-06-25 21:40:24 -03:00
Christopher Jones
91bd2de85c
Update NEWS
2013-06-25 17:31:13 -07:00
Christopher Jones
99ab8a83af
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
# By Felipe Pena
# Via Felipe Pena
* 'PHP-5.5' of https://git.php.net/repository/php-src :
- Fixed bug #62672 (Error on serialize of ArrayObject) patch by: lior dot k at zend dot com
- BFN
- Fixed bug #62964 (Possible XSS on "Registered stream filters" info) patch by: david at nnucomputerwhiz dot com
2013-06-25 17:28:12 -07:00
Felipe Pena
f5bf90ef34
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- Fixed bug #62672 (Error on serialize of ArrayObject) patch by: lior dot k at zend dot com
- BFN
2013-06-25 21:18:34 -03:00
Felipe Pena
b78f129a4a
Merge branch 'PHP-5.5' of git.php.net:/php-src into PHP-5.5
2013-06-25 18:01:40 -03:00
Felipe Pena
adb116dd48
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- Fixed bug #62964 (Possible XSS on "Registered stream filters" info) patch by: david at nnucomputerwhiz dot com
- BFN
2013-06-25 18:00:42 -03:00
Christopher Jones
c3f4cc2e40
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- BFN
2013-06-25 13:25:04 -07:00
Christopher Jones
3675b953f6
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
* 'PHP-5.5' of https://git.php.net/repository/php-src :
- Fixed bug #60732 (php_error_docref links to invalid pages) patch by: Jakub Vrana
2013-06-25 13:23:50 -07:00
Felipe Pena
d01ca1342c
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- Fixed bug #60732 (php_error_docref links to invalid pages) patch by: Jakub Vrana
2013-06-25 16:26:36 -03:00
Christopher Jones
ec7ac71b52
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Minium changes to allow PDO_OCI to build with Oracle Database 12c libraries. (note OCI8 already builds with Oracle Database 12c)
2013-06-25 12:00:24 -07:00
Xinchen Hui
157ccaf507
Fixed bug #64827 Segfault in zval_mark_grey (zend_gc.c)
...
I can not get a reproduce script since the context is very strict.
Of course I will try to make one, but for now, I just commit this first.
2013-06-25 13:47:50 +08:00
Xinchen Hui
efd3c72de3
Update NEWS
2013-06-25 13:39:31 +08:00
Xinchen Hui
9d9ec2a90e
Merge branch 'PHP-5.4' into PHP-5.5
2013-06-25 13:38:50 +08:00
Christopher Jones
0093980fe0
Some tidy-ups: Don't mention Logo GUIDs in three places; mention
...
password_hash functionality; add some doc URLs for new features;
grammar & typos; formatting changes.
2013-06-24 17:12:35 -07:00
Felipe Pena
ff292d619c
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- Fixed bug #61594 (ext/session/mod_mm.c: missing free of ps_mm_instance) patch by: jlawall at hotmail dot com
- BFN
2013-06-24 16:49:22 -03:00
Felipe Pena
4b41959f9e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- Fixed bug #61387 (NULL valued anonymous column causes segfault in odbc_fetch_array) patch by: Brandon Kirsch
2013-06-24 14:47:40 -03:00
Xinchen Hui
47035ba5c9
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-06-24 23:49:45 +08:00
Xinchen Hui
a6a3aa5d49
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
Zend/zend_API.c
2013-06-24 23:49:30 +08:00
David Soria Parra
0ddfafe489
Notify doc team BEFORE we release
2013-06-24 17:44:00 +02:00
David Soria Parra
ecd9d76250
Fix #65108 (is_callable() triggers Fatal Error)
...
We have to check if the fcall info cache contains a pointer if we
use __call, otherwise we endup in a static lookup.
2013-06-24 15:55:10 +02:00
Remi Collet
9da4985bf2
fix imagecreatefromwebp and imagewebp protos
2013-06-24 11:15:50 +02:00
Remi Collet
8075f1f4a3
Use same logic to load WebP image that other formats
2013-06-24 11:10:52 +02:00
Remi Collet
b4632d0c12
Upstream fix from https://bitbucket.org/libgd/gd-libgd/issue/75
2013-06-24 11:03:12 +02:00
Dmitry Stogov
f49b27e166
OPcache must be compatible with LiteSpeed SAPI
2013-06-24 11:59:50 +04:00
Stanislav Malyshev
ae5a09b47d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
seems to be working fine for me on 32-bit
2013-06-23 23:37:10 -07:00
Stanislav Malyshev
9872835cf3
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #62759 : Buggy grapheme_substr() on edge case
2013-06-23 21:27:08 -07:00
Jakub Vrana
e1acaea4f1
Require second parameter of imagecrop()
2013-06-23 20:29:54 -07:00
Stanislav Malyshev
1beb24bd6f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Implements feature Bug #63472 ability to set SO_BINDTODEVICE on socket.
Conflicts:
ext/sockets/sockets.c
2013-06-23 15:26:14 -07:00
Stanislav Malyshev
7272e3e722
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Adding test to verify that __sleep can handle parent classes' private members
Adding test to stabelize keys used when converting objects to arrays
2013-06-23 13:54:50 -07:00
Adam Harvey
296a12efbb
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #65088 (Generated configure script is malformed on OpenBSD).
2013-06-23 11:04:10 -07:00
Remi Collet
fc898ee0f9
Fixed Bug #65060 imagecreatefrom... crashes with user streams
...
Fixed Bug #65084 imagecreatefromjpeg fails with URL
Regression introduced in 8a90aad (drop of USE_GD_IOCTX)
Secure with php_stream_can_cast to avoid segfault in php_stream_cast.
(encountered when imagecreatefromxpm with URL)
2013-06-21 14:11:04 +02:00
Ard Biesheuvel
162726241c
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
Zend/zend_vm_def.h
2013-06-21 11:26:37 +02:00
Pierre Joye
c65d663aef
fix #65070 , bgcolor does not use the same format as the input image with imagerotate
2013-06-20 22:22:07 +02:00
Pierre Joye
876b474c7d
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-06-20 22:19:53 +02:00
Pierre Joye
07e52857b5
fix #65070 , bgcolor does not use the same format as the input image with imagerotate
2013-06-20 22:19:33 +02:00
Adam Harvey
77c46ba516
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix the spelling of the php_cli_server_http_response_status_code_pair typedef.
Change the search in get_status_string() to correctly handle unknown codes.
2013-06-20 09:39:37 -07:00
Johannes Schlüter
94e7549719
Merge branch 'PHP-5.4' into PHP-5.5
2013-06-20 11:57:10 +02:00
Remi Collet
60afd3fce4
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
skip test for bug #64936 when tokenizer not built
2013-06-20 08:42:30 +02:00
David Soria Parra
83fc53acb9
Bump version
2013-06-19 22:11:52 +02:00
David Soria Parra
c1b8fbc112
Update credits
2013-06-19 22:03:18 +02:00
David Soria Parra
8547628fec
Merge NEWS from PHP 5.4 branch
2013-06-19 21:54:34 +02:00
David Soria Parra
2bac1ff137
Reorder NEWS for PHP 5.5.0 final
2013-06-19 21:50:05 +02:00
Pierre Joye
0a6ec7a2c9
add notes about opcache windows issue and migration from APC
2013-06-19 17:57:08 +02:00
Anatol Belski
2873b5b6eb
added some tests based on bug #64395
2013-06-19 16:24:30 +02:00
Johannes Schlüter
c6b8d992ba
Merge branch 'PHP-5.4' into PHP-5.5
2013-06-19 15:09:33 +02:00
Remi Collet
fb68e0fe63
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Related to bug #65047 (Test skip on client / server version)
2013-06-19 12:26:53 +02:00
Matteo Beccati
9b8259cdfa
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #65047 (Test skip on client / server version)
Remove broken client version checking
Clean up leftover file after the test
2013-06-19 11:53:05 +02:00
Stanislav Malyshev
7b08c7f4e7
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
sync NEWS
2013-06-18 23:09:29 -07:00
Stanislav Malyshev
59d4d41efb
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
5.4.18 next
Conflicts:
configure.in
main/php_version.h
2013-06-18 22:59:26 -07:00
Xinchen Hui
bb9928c343
Merge branch 'PHP-5.4' into PHP-5.5
2013-06-19 11:17:44 +08:00
Nikita Popov
86434be946
Fix bug #65051 : count() off by one inside unset()
...
nNumOfElements was incremented after the pDestructor code, so any
code in the dtor would get a wrong number of elements.
Right now the bucket deletion code is replicated in four places,
it should probably be moved off into one function (or rather,
zend_hash_apply_deleter should be used everywhere). The codes are
subtly different though in that the HANDLE_UNBLOCK_INTERRUPTIONS()
happens in different places. In particular it seems odd that in
some cases interruptions stay blocked during the destructor call.
2013-06-17 23:44:13 +02:00
Stanislav Malyshev
d587efb7ee
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Merge branch 'pull-request/320'
2013-06-17 01:06:28 -07:00
Stanislav Malyshev
af5e2eaf8d
Merge branch 'pull-request/320'
...
* pull-request/320:
this is test 5 not 6
fix race condition
more shared names that create race conditions
change to a unique filename
more shared filenames
yet another shared filename
don't share a filename to stop race conditions
fix race condition for 2-4 and normalize names for others
fix race condition when running tests in parallel
clean up after test
Fix #64572 : Clean up after the test
Fix #64572 : Clean up after the test
2013-06-17 01:06:20 -07:00
Stanislav Malyshev
a080611e48
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Tests: PDO Mysql - update for fixed getColumnMeta()
fix bug #48724
2013-06-17 00:42:21 -07:00
Stanislav Malyshev
69d187de02
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
readline can output control codes
Bug #55694 : Update readline test to support attempted_completion_over variable
Bug #55694 : Expose attempted_completion_over variable from readline library
2013-06-17 00:17:06 -07:00
Xinchen Hui
aa2369f85a
Merge branch 'PHP-5.4' into PHP-5.5
2013-06-17 13:23:24 +08:00
Stanislav Malyshev
9bfb28c793
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Identation Fixed
2013-06-16 18:14:16 -07:00
Stanislav Malyshev
59280d910a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Identation Fixed
2013-06-16 18:13:26 -07:00
Jefersson Nathan
1498b8260b
Identation Fixed
2013-06-16 18:13:14 -07:00
Stanislav Malyshev
a770ae36c2
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #64764 : Add status option to fpm init.d script
2013-06-16 16:56:29 -07:00
Stanislav Malyshev
44822a7166
update NEWS
2013-06-16 16:41:23 -07:00
Stanislav Malyshev
d44daff4d0
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
news for #64166
2013-06-16 16:40:52 -07:00
Stanislav Malyshev
7d1fef15cf
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add more tests for bug #64166
Move unsigned char declaration to top of block
trailing ws
Fix #64166 : quoted-printable-encode stream filter incorrectly discarding whitespace
Fix #64166 : quoted-printable-encode stream filter incorrectly discarding whitespace
2013-06-16 16:38:49 -07:00
Stanislav Malyshev
ac343d5c1f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #64936 - clean doc comment state at the beginning and end of the scan
ws fix
Conflicts:
Zend/zend_language_scanner.c
Zend/zend_language_scanner.l
Zend/zend_language_scanner_defs.h
2013-06-16 15:29:25 -07:00
Anatol Belski
3625b83aaa
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix test
2013-06-17 00:10:32 +02:00
Xinchen Hui
e3e4ec3f55
Update NEWS
2013-06-16 22:56:47 +08:00
Xinchen Hui
6cd6349ff8
Merge branch 'PHP-5.4' into PHP-5.5
2013-06-16 22:56:22 +08:00
Boris Lytochkin
3dd2de3f45
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix typo in test
2013-06-16 00:09:55 +04:00
Boris Lytochkin
0741697107
Merge branch 'PHP-5.5' of https://git.php.net/push/php-src into PHP-5.5
...
* 'PHP-5.5' of https://git.php.net/push/php-src: (147 commits)
Fixed bug #63186 (compile failure on netbsd)
fix test for bug #60322
ensure the error_reporting level to get expected notice
fixed tests
missing tests for bug #53437
fixed EOL
added closing ?>
fix double entry
Merge branch 'pull-request/341'
Merge branch 'pull-request/341'
Merge branch 'pull-request/341'
split the test for 32 and 64 bit
typo fixes (argument)
typo fixes (accommodate, parameter)
missing colon
Backported the fix for bug #53437
Backported the fix for bug #53437
fixed the test
Fix a BC breach related to bug #53437
Fixed bug #64988 (Class loading order affects E_STRICT warning)
...
2013-06-16 00:04:00 +04:00
Matteo Beccati
6f594514b0
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #63186 (compile failure on netbsd)
2013-06-14 16:55:12 +02:00
Stanislav Malyshev
e74776266f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix test for bug #60322
2013-06-13 10:30:18 -07:00
Anatol Belski
a0cb61b292
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
ensure the error_reporting level to get expected notice
2013-06-12 13:15:18 +02:00
Anatol Belski
cb542d3c83
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fixed tests
2013-06-11 12:39:50 +02:00
Anatol Belski
7704e40d8f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
missing tests for bug #53437
2013-06-11 11:24:16 +02:00
Anatol Belski
bd4f6ad8a0
fixed EOL
2013-06-11 08:32:54 +02:00
Anatol Belski
28e264db2a
added closing ?>
2013-06-11 08:25:38 +02:00
Stanislav Malyshev
8acf9a4fe6
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix double entry
Merge branch 'pull-request/341'
2013-06-10 18:16:09 -07:00
Stanislav Malyshev
4427d1dcfd
Merge branch 'pull-request/341'
...
* pull-request/341: (23 commits)
typofixes
2013-06-10 14:30:59 -07:00
Stanislav Malyshev
02e4d7a290
Merge branch 'pull-request/341'
...
* pull-request/341: (23 commits)
typofixes
2013-06-10 14:30:59 -07:00
Anatol Belski
ec79075394
split the test for 32 and 64 bit
2013-06-10 22:49:30 +02:00
Stanislav Malyshev
84e35fb2e0
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
typo fixes (argument)
typo fixes (accommodate, parameter)
2013-06-10 13:36:41 -07:00
Anatol Belski
cf5b3fb166
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
missing colon
2013-06-10 19:55:30 +02:00
Anatol Belski
3a92c1beeb
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Backported the fix for bug #53437
Backported the fix for bug #53437
2013-06-10 19:53:03 +02:00
Anatol Belski
760c85a70a
fixed the test
2013-06-10 18:31:18 +02:00
Anatol Belski
02f3922047
Fix a BC breach related to bug #53437
...
days and special_amount properties are exported as int again
2013-06-10 17:48:13 +02:00
Xinchen Hui
a9d005c04e
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
Zend/zend_compile.c
2013-06-10 21:31:25 +08:00
Jakub Vrana
46d3738d0a
Fix image method signatures
2013-06-10 02:24:03 -07:00
Dmitry Stogov
ed0767f5d4
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
PHPTests for the DOMDocument::loadHTMLfile method. They cover - The basic behaviour - When the method receives as argument a file which doesn't exist - When the argument is an empty string - When an empty file is loaded - When a not-well formed html file is loaded
Fix spelling and correct typo.
Fix spelling and correct typo.
2013-06-10 12:59:09 +04:00
Dmitry Stogov
ef20fdb338
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed test script
2013-06-10 12:55:51 +04:00
Stanislav Malyshev
7a2d9690fe
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
PHPTests for the DOMDocument::loadHTMLfile method. They cover - The basic behaviour - When the method receives as argument a file which doesn't exist - When the argument is an empty string - When an empty file is loaded - When a not-well formed html file is loaded
2013-06-10 01:53:29 -07:00
Stanislav Malyshev
20df5f8f24
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix spelling and correct typo.
2013-06-10 01:42:32 -07:00
Stanislav Malyshev
de1688d16e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix spelling and correct typo.
2013-06-10 01:41:16 -07:00
Carson McDonald
b8cf17635e
Fix spelling and correct typo.
2013-06-10 01:40:41 -07:00
Dmitry Stogov
731b4a3fa4
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Callback has to be restored in MSHUTDOWN
2013-06-10 12:34:08 +04:00
Dmitry Stogov
53e6529203
Fixed comments
2013-06-10 12:05:20 +04:00
Dmitry Stogov
23a9bb09ba
Avoid multiple allocations of the same key in different processes
2013-06-10 11:43:03 +04:00
Dmitry Stogov
540488bf55
Compact HashTables before storing them in shared memory
2013-06-10 11:22:19 +04:00
Dmitry Stogov
2e9d3e8b39
Use size_t instead of int
2013-06-10 10:36:35 +04:00
Xinchen Hui
8ae43caeee
Update NEWS
2013-06-09 22:26:07 +08:00
Xinchen Hui
3f229f4364
Merge branch 'PHP-5.4' into PHP-5.5
2013-06-09 22:25:49 +08:00
Xinchen Hui
b839e6921d
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
Zend/zend_vm_def.h
2013-06-09 14:25:53 +08:00
Xinchen Hui
6139358804
Update NEWS
2013-06-09 13:49:43 +08:00
Xinchen Hui
f372e00332
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
Zend/zend_vm_def.h
2013-06-09 13:49:26 +08:00
Stanislav Malyshev
bccacb6308
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix 5.4.16 date
2013-06-06 13:27:25 -07:00
Anatol Belski
25980d4db5
fix NEWS
2013-06-06 18:57:20 +02:00
Anatol Belski
f47e879235
updated NEWS
2013-06-06 18:53:22 +02:00
Anatol Belski
bbdbef40db
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
updated NEWS
Fixed bug #64934 Apache2 TS crash with get_browser()
2013-06-06 18:52:39 +02:00
David Soria Parra
c649186c31
News update
2013-06-05 23:08:48 +02:00
David Soria Parra
aef5295756
PHP 5.5.0RC3 NEWS
2013-06-05 23:06:51 +02:00
Johannes Schlüter
fdeefc466e
Merge branch 'PHP-5.4' into PHP-5.5
2013-06-05 16:35:14 +02:00
Xinchen Hui
7da648ff2f
Update NEWS
2013-06-05 17:30:57 +08:00
Xinchen Hui
e89537f2a3
Merge branch 'PHP-5.4' into PHP-5.5
2013-06-05 17:30:09 +08:00
Stanislav Malyshev
785f4c5fc6
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix CVE-2013-2110 - use correct formula to calculate string size
2013-06-04 22:00:45 -07:00
Stanislav Malyshev
74e52eaea9
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
news for dblib fixes
Fix PDO_DBLIB bugs: #64338 , #64808 , #63638
Conflicts:
ext/pdo_dblib/dblib_driver.c
ext/pdo_dblib/dblib_stmt.c
2013-06-03 22:00:51 -07:00
Stanley Sufficool
d8f938c784
FIX BUG #55647 , #60512 , #60512 , #61900 , #64338 , #64808 , #63638
...
Return an error on passwords longer than 30 chars instead of segfault.
Set error and message handlers properly.
Do not segfault in out of bound colnums in getColumnMeta()
Fix DBSETOPT to use a blank string instead of NULL to stop FreeTDS complaints.
Use DBSETLDBNAME for compatibillity with SQL Azure.
2013-06-03 20:34:47 -07:00
Remi Collet
3579e81200
Fixed Bug #64962 imagerotate produce corrupted image
...
See https://bitbucket.org/libgd/gd-libgd/issue/67/problem-with-gdrotate
This computation need to be done in signed range.
2013-06-03 15:01:48 +02:00
Remi Collet
245e103ed3
NEWS
2013-06-03 14:17:00 +02:00
Remi Collet
99ea60c2dd
Fixed Bug #64961 segfault in imagesetinterpolation
...
enum type are not long ;) so cannot be used as zend_parse_parameters arg.
2013-06-03 14:15:18 +02:00
Matteo Beccati
ad135fc69f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Clean up leftover test files
Improved test portability so that it doesn't fail with pdo_pgsql
Fix PDO::inTransaction() test for pgsql
2013-06-02 13:39:38 +02:00
Matteo Beccati
d5a1c0cae2
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #64609 (pg_convert enum type support)
2013-06-02 06:34:05 +02:00
Matteo Beccati
d9c2eecec0
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #62857 (bytea test failures)
2013-06-01 23:23:14 +02:00
Matteo Beccati
d19e46d9d4
Merge branch 'PHP-5.4' into PHP-5.5
2013-05-31 16:27:01 +02:00
Remi Collet
c829895a1a
NEWS
2013-05-31 08:45:54 +02:00
Remi Collet
f3ca1d3125
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
NEWS
Fixed Bug #64949 (Buffer overflow in _pdo_pgsql_error)
2013-05-31 08:45:32 +02:00
Rasmus Lerdorf
4c762152bf
Use size_t everywhere instead
2013-05-29 14:34:53 -07:00
Rasmus Lerdorf
29ee4b81f2
This needs to be a long
...
Otherwise we are limited to a 32G opcache segment
2013-05-29 14:22:43 -07:00
Dmitry Stogov
7e00d0994f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed incorrect argument number
2013-05-29 11:14:15 +04:00
Dmitry Stogov
ad90e90d90
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
Fix #64745 hash_pbkdf2 truncation issue
2013-05-29 00:02:37 +04:00
Dmitry Stogov
6008ac8e32
Fixed crash during search in empty persistent HashTable
2013-05-28 23:45:36 +04:00
Anthony Ferrara
540a5a52e8
Fix #64745 hash_pbkdf2 truncation issue
...
When using hash_pbkdf2 with hex output and 0 length (auto), it incorrectly
truncates the result to 1/2 the expected result.
2013-05-28 15:30:45 -04:00
Pierre Joye
2f01e06786
fix #64898imagerotate is broken with bilinear interpolation
2013-05-27 09:21:41 +02:00
Anatol Belski
b262787ef9
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
reduced the file size even more
2013-05-25 00:10:49 +02:00
Anatol Belski
fbdce3b6f6
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #64916 finfo testcase contains copyrighted music.
2013-05-25 00:02:09 +02:00
Remi Collet
af13dded5c
NEWS
2013-05-24 12:11:04 +02:00
Remi Collet
433731d463
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed Bug #64915 (error_log ignored when daemonize=0)
2013-05-24 12:10:39 +02:00
David Soria Parra
2df1067036
News for upcoming RC3 if necessary
2013-05-23 00:44:42 +02:00
David Soria Parra
aa5f19cffb
News for RC2
2013-05-23 00:44:08 +02:00
Johannes Schlüter
4fe74f14c4
Merge branch 'PHP-5.4' into PHP-5.5
2013-05-22 17:19:58 +02:00
Remi Collet
93469a1d15
NEWS
2013-05-22 08:29:43 +02:00
Remi Collet
d64e8dd7a4
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
NEWS
Fixed bug #64895 Integer overflow in SndToJewish
2013-05-22 08:29:30 +02:00
Stanislav Malyshev
f5fcb591cc
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
merge NEWS from 5.3
fix order
2013-05-21 23:26:23 -07:00
Sara Golemon
4f46a40b9d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Don't double-quote name of namespaced function.
2013-05-19 13:35:03 -07:00
Remi Collet
4840ff0f05
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Integer overflow in SndToJewish leads to php hang AT least in (inputDay is long, metonicCycle is int): metonicCycle = (inputDay + 310) / 6940;
2013-05-21 18:09:02 +02:00
Andrey Hristov
378a5f9bfe
updates
2013-05-21 13:27:45 +02:00
Remi Collet
ed9a9b6144
UPGRADING
2013-05-21 12:32:11 +02:00
Remi Collet
70abac2b4e
NEWS
2013-05-21 09:54:39 +02:00
Remi Collet
c79f162c37
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Add --with-fpm-systemd option to report health to systemd, and systemd_interval option to configure this. The service can now use Type=notify in the systemd unit file.
2013-05-21 09:53:51 +02:00
Dmitry Stogov
a2d6d27458
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #64720 (SegFault on zend_deactivate)
Conflicts:
NEWS
2013-05-21 10:15:37 +04:00
Stanislav Malyshev
49c1a223d5
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add reporter
2013-05-20 02:02:34 -07:00
Stanislav Malyshev
ac0aa5737e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix bug #64660 - yyparse can return 2, not only 1
Conflicts:
Zend/zend_language_scanner.c
2013-05-20 00:57:34 -07:00
Stanislav Malyshev
0f02c3aa29
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix 5.4.16 relase date
2013-05-19 23:55:38 -07:00
Pierre Joye
40d5458eff
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
entry for #64214
other fix for #64214 , unmodified file may not have old fp set, causing other possible crashes
2013-05-17 11:50:52 +02:00
Anatol Belski
d565e8f0eb
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed error handling for ext/sockets under win
2013-05-16 19:29:25 +02:00
Anatol Belski
07bd1fac57
updated NEWS
2013-05-16 08:44:36 +02:00
Anatol Belski
fda25c7ea6
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #64853Use of no longer available ini directives causes crash on TS build
2013-05-16 08:43:07 +02:00
Pierre Joye
9accfee55f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
2013-05-15 15:54:52 +02:00
Pierre Joye
bfb50d17cb
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-05-15 15:54:46 +02:00
David Soria Parra
139e9824ad
Fix array_colum segfault
...
Separate zval to avoid gc from freeing
2013-05-15 14:42:39 +02:00
Anatol Belski
082ee90b9b
fixe preprocessor definition
2013-05-15 14:24:21 +02:00
Anatol Belski
077b575d51
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix unitialized vars when sql.safe_mode=1
more check for php_stream_fopen_tmpfile failure
2013-05-15 11:17:18 +02:00
Pierre Joye
42a186e22d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
more check for php_stream_fopen_tmpfile failure
2013-05-14 16:46:32 +02:00
Andrey Hristov
1f97fde89e
Merge branch 'PHP-5.5' of ssh://git.php.net/php-src into PHP-5.5
2013-05-14 13:01:18 +02:00
Andrey Hristov
9d2dda9058
Fix for Bug #64394 MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS undeclared when using Connector/C
2013-05-14 11:26:35 +02:00
Anatol Belski
75ee1a6113
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
updated libmagic.patch after fix for #64830
2013-05-14 11:16:01 +02:00
Anatol Belski
ad210f2c10
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-05-14 09:44:48 +02:00
Anatol Belski
2626819d65
updated NEWS
2013-05-14 09:42:34 +02:00
Anatol Belski
933e01bbac
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #64830 mimetype detection segfaults on mp3 file
2013-05-14 09:41:38 +02:00
Pierre Joye
362402d748
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
php_stream_fopen_tmpfile may file, causing any following stream usage to crash
2013-05-14 09:21:30 +02:00
Anatol Belski
e191cb63ba
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix heap overflow warnings on win x64 debug crt
2013-05-13 14:26:50 +02:00
Anatol Belski
e44849b0f4
Fixed bug #64825 Invalid free unserializing DateTimeZone
2013-05-12 21:29:16 +02:00
Anatol Belski
3fd39c13f9
updated NEWS
2013-05-12 14:09:59 +02:00
Anatol Belski
2d8ce75f39
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
updated NEWS
Fixed bug #64821 Custom Exceptions crash when internal properties overridden
2013-05-12 14:09:16 +02:00
Anatol Belski
95ea1e7ca7
fixed variable corruption under win x64
2013-05-11 02:47:48 +02:00
Xinchen Hui
b3f6cc20e0
Merge branch 'PHP-5.4' into PHP-5.5
2013-05-09 15:57:44 +08:00
Gustavo Lopes
98302ee3cc
Fix NEWS (wrong bug # AND wrong section...)
...
It's bug #64508 , not #64506 .
2013-05-08 20:03:43 +02:00
Gustavo Lopes
8687332e08
Fix bug #64506 : fix build with --disable-ipv6
2013-05-08 19:58:27 +02:00
Anatol Belski
7b09e5fe35
Fixed news, rc1 is already branched
2013-05-08 19:24:51 +02:00
Anatol Belski
4091e94660
Fixed bug #64769 mbstring PHPTs crash on Windows x64
...
The tricky business going there in oniguruma is saving a pointer
in an int variable, passing that variable into a function and making
it a pointer again. On 64bit windows casting a pointer to a 32 bit
int will truncate that pointer. This kind of things won't work on
Windows x64.
[SNIPPET]
unsigned long ul0[2], ul1, *ul2;
ul0[0] = 42uL;
ul0[0] = 24uL;
ul1 = (unsigned long)ul0;
ul2 = (unsigned long *)ul1;
/* now it's broken, accessing ul2[0] will crash. */
[/SNIPPET]
To make it portable, ULONG_PTR should be used in this case.
In oniguruma this behaviour is to see at least in the following
codepath:
ext/mbstring/oniguruma/enc/unicode.c:10938
ext/mbstring/oniguruma/st.c:308
ext/mbstring/oniguruma/enc/unicode.c:10859
2013-05-08 19:22:37 +02:00
David Soria Parra
288f04c430
News for RC2
2013-05-08 18:57:06 +02:00
David Soria Parra
e30dbcce77
NEWS for RC1
2013-05-08 18:44:05 +02:00
Johannes Schlüter
9ef017af00
Merge branch 'PHP-5.4' into PHP-5.5
2013-05-08 18:03:12 +02:00
Remi Collet
36eee5b994
Fixed bug #64785 : restore 5.4 behaviour, libpng is mandatory
2013-05-08 07:37:40 +02:00
Ard Biesheuvel
5b121eb04d
Fix #64780 (PHP 5.5 builds are broken with GCC 3)
...
A recent change (by me) introduced a call to __builtin_offsetof()
into zend_operators.h which is not defined by GCC prior to
version 4.
Changed the code to use offsetof() instead: this is defined in
<stddef.h>, so #include this header conditionally (#ifdef GNUC)
2013-05-07 20:37:04 +02:00
Remi Collet
de7415ea55
gd: fix 2 failed tests (bundled lib) due to arithmetic precision (allow minor diff).
2013-05-06 10:25:36 +02:00
Remi Collet
96a575123d
gd: fix previous (bad include)
2013-05-06 10:07:06 +02:00
Remi Collet
9480de29db
Revert removal of overflow2 use in gd.c
...
Function provided by gd_security with bundled libgd
Function provided by gd_compat with system libgd
This fix failed test imageloadfont_invalid.phpt
This test now also pass with system libgd
2013-05-06 10:00:45 +02:00
Remi Collet
4cea61a0fa
gd: fix include...
2013-05-05 10:39:33 +02:00
Remi Collet
0cae9a15d7
Move (back) missing functions in system libgd to gd_compat
...
- display libPng version in all cases
- gd_compat.c in ext/gd (nothing in ext/gd/libgd)
2013-05-05 09:54:27 +02:00
Remi Collet
9a48b6506c
gd: don't include png.h (breaks build on some old version), so report libPNG version only with external libgd
2013-05-05 08:35:29 +02:00
Remi Collet
54d6f8b34e
gd: missing comma
2013-05-05 06:52:28 +02:00
Remi Collet
2ab270011d
gd: fix typo and cleanups
2013-05-04 20:36:32 +02:00
Remi Collet
d981c191d4
NEWS
2013-05-04 16:54:22 +02:00
Remi Collet
00b097d2a3
fix build with bundled libgd
2013-05-04 16:51:56 +02:00
Ondřej Surý
2a2ac5f2be
Move png and jpeg version functions to gd.c so the external library build doesn't include anything from libgd/.
2013-05-04 16:50:13 +02:00
Ondřej Surý
e6704501f8
Remove extra unused functions from gd_compat.h
2013-05-04 16:50:11 +02:00
Ondřej Surý
5e9c6c3b64
Rewrite Xpm library check so it doesn't break on MultiArch systems
2013-05-04 16:50:08 +02:00
Ondřej Surý
8a90aad35b
Required GD >= 2.1.0 or GD bundled, this allows us to remove most of the #ifdef
2013-05-04 16:50:06 +02:00
Ondřej Surý
2fc17d83cb
* Remove overflow2, getmbi and skipheaders from gd_compat.h * Add missing return in _php_ctx_getmbi * Reintroduce imagecreatefromxbm by checking for gdCreateImageFromXbm
2013-05-04 16:50:03 +02:00
Ondřej Surý
8a07908215
Remove overflow2, getmbi and skipheader, since they are not needed anymore.
2013-05-04 16:49:59 +02:00
Ondřej Surý
6aedadce0a
Allow to use new GD-2.1.0 function from system library
2013-05-04 16:49:35 +02:00
Xinchen Hui
9155d17fef
Fix #64749 (warning: cast from pointer to integer of different size)
2013-05-04 20:43:42 +08:00
Anatol Belski
b2ef8672c7
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
better fix for bug #64770
better fix for bug #64770
2013-05-04 12:20:19 +02:00
Boris Lytochkin
67d83de11c
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
remove OS-specific OIDs from 'WALK multiple on single OID with OID suffix as keys' test part
2013-05-04 00:06:06 +04:00
Boris Lytochkin
eff60f993c
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
re-work walkaround for net-snmp BUGid 2027834, no need to detect it anymore add test for Bug #64159 bump default buffer size for values(32->512): do not reallocate buffers in 99% cases
2013-05-03 23:10:11 +04:00
Boris Lytochkin
1c8befe893
cut PHP_VERSION_ID - we know API version now
2013-05-03 19:22:21 +04:00
Boris Lytochkin
74ef9b6cea
Merge branch 'PHP-5.5' of https://git.php.net/push/php-src into PHP-5.5
...
* 'PHP-5.5' of https://git.php.net/push/php-src :
updated NEWS
updated NEWS
Fixed bug #64770 stream_select() fails with pipes
2013-05-03 19:10:22 +04:00
Anatol Belski
f7830e4f98
updated NEWS
2013-05-03 17:05:54 +02:00
Anatol Belski
6d41711fd9
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
updated NEWS
Fixed bug #64770 stream_select() fails with pipes
2013-05-03 17:04:53 +02:00
Boris Lytochkin
2c336c9cde
Fixed bug #64159 (Truncated snmpget)
2013-05-03 15:46:43 +04:00
Boris Lytochkin
c68f9d5503
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #64159 (Truncated snmpget)
2013-05-03 15:39:57 +04:00
Boris Lytochkin
cbe2870b72
update NEWS
2013-05-03 12:25:49 +04:00
Boris Lytochkin
1ce836580d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update NEWS
Fix bug #64765 (enclose IPv6 address into square brackets)
2013-05-03 12:19:10 +04:00
Boris Lytochkin
5f67584fd7
Merge branch 'PHP-5.5' of https://git.php.net/push/php-src into PHP-5.5
...
* 'PHP-5.5' of https://git.php.net/push/php-src: (310 commits)
NEWS
NEWS
NEWS
From code coverity scan, syscall return value must be check.
fix more resource leaks
From code coverity scan - fix some memory leak - fix some resources leak (fd) - create fpm_worker_pool_free (shared use) - possible null dref (wp->user and wp->home can be null)
fixed size array cannot be null
use limit_extensions as we use security_limit_extensions later (free)
unused variable
fix possible null deref (detected by code coverity scan)
updated lib versions
Remove trailing space in NEWS
NEWS for 514afd67
Fix bug #64729 : compilation failure on x32
don't include smart_str.h in a too global header, fixes #64718
NEWS
When Apache use RewriteRule to redirect, via mod_proxy_fgi, to php-fpm the SCRIPT_FILENAME may contains the QUERY_STRING.
Added SoapClient constructor option 'ssl_method' to specify ssl method
fix #64738 , fix implicit type declaration
Avoid possible conditional jump depended on uninitialised value
...
2013-05-03 11:22:42 +04:00
Remi Collet
432b09f238
NEWS
2013-05-03 08:31:22 +02:00
Remi Collet
3011208f1a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
NEWS
NEWS
2013-05-03 08:30:58 +02:00
Remi Collet
c9085837a9
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
From code coverity scan, syscall return value must be check.
2013-05-03 08:23:07 +02:00
Remi Collet
6494faa844
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix more resource leaks
2013-05-02 13:47:48 +02:00
Remi Collet
a3e177b9fd
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
From code coverity scan - fix some memory leak - fix some resources leak (fd) - create fpm_worker_pool_free (shared use) - possible null dref (wp->user and wp->home can be null)
2013-05-02 13:31:22 +02:00
Remi Collet
eb53035a80
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fixed size array cannot be null
2013-05-02 10:33:05 +02:00
Remi Collet
2f12769db0
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
use limit_extensions as we use security_limit_extensions later (free)
unused variable
2013-05-02 10:15:49 +02:00
Remi Collet
d42ae32738
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix possible null deref (detected by code coverity scan)
Remove trailing space in NEWS
NEWS for 514afd67
2013-05-02 09:38:38 +02:00
Anatol Belski
e3aeb6c070
updated lib versions
2013-05-01 21:37:28 +02:00
Gustavo Lopes
865cc3a800
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #64729 : compilation failure on x32
Conflicts:
Zend/zend_alloc.c
2013-04-30 19:36:08 +02:00
Johannes Schlüter
062519ed41
don't include smart_str.h in a too global header, fixes #64718
2013-04-30 14:26:55 +02:00
Remi Collet
36b968ae96
NEWS
2013-04-30 09:03:18 +02:00
Remi Collet
fbff4ccf27
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
When Apache use RewriteRule to redirect, via mod_proxy_fgi, to php-fpm the SCRIPT_FILENAME may contains the QUERY_STRING.
2013-04-30 09:02:59 +02:00
Dmitry Stogov
13de57c0f4
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
fix #64738 , fix implicit type declaration
2013-04-30 10:27:24 +04:00
Dmitry Stogov
c782cf7fb3
Added SoapClient constructor option 'ssl_method' to specify ssl method
2013-04-30 10:24:49 +04:00
Pierre Joye
83682d8833
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-04-30 08:01:52 +02:00
Pierre Joye
1a335d20a8
fix #64738 , fix implicit type declaration
2013-04-30 07:52:40 +02:00
Dmitry Stogov
4b83f4a011
Avoid possible conditional jump depended on uninitialised value
2013-04-29 10:45:31 +04:00
Dmitry Stogov
a5b4eeb5f0
Fixed compilation warnings (issue #92 )
2013-04-29 10:32:08 +04:00
Stanislav Malyshev
8a51bdd3ce
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Revert "Add CURL_WRAPPERS_ENABLE constant"
Conflicts:
ext/curl/interface.c
2013-04-28 22:28:13 -07:00
David Soria Parra
86685aefab
Revert "Fix conversion from unsigned char to char"
...
This reverts commit bc50ba4bf9 .
2013-04-29 02:27:11 +02:00
Pierre Joye
9877773438
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-04-27 18:00:02 +02:00
Pierre Joye
25c9f34c9c
fix #64725 , wrong res check
2013-04-27 17:52:30 +02:00
Xinchen Hui
e60638faca
Merge branch 'PHP-5.4' into PHP-5.5
2013-04-27 23:50:23 +08:00
Xinchen Hui
a56a95e58d
Update NEWS
2013-04-27 23:42:18 +08:00
Xinchen Hui
1c07590ed7
Merge branch 'PHP-5.4' into PHP-5.5
2013-04-27 23:41:51 +08:00
Anatol Belski
ca148c030f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
updated libmagic.patch
2013-04-27 14:09:55 +02:00
Anatol Belski
d72307f1ca
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug bug #64713 Compilation warnings in finfo
2013-04-27 13:51:12 +02:00
David Soria Parra
cf5d7d9e73
Fix implicit declaration warning for cdf_timestamp_to_timespec
2013-04-26 12:28:58 +02:00
David Soria Parra
b86c85723e
Fix #64711 ("value computed but not used" in parse_date.c)
2013-04-26 11:33:54 +02:00
David Soria Parra
3411fbbc51
Fix implicit uint* to int* conversion warning
2013-04-26 10:57:55 +02:00
David Soria Parra
bc50ba4bf9
Fix conversion from unsigned char to char
2013-04-26 10:55:52 +02:00
David Soria Parra
75cec90d8c
Fix #64712 (Obsolete declarations in php_date.c)
2013-04-26 10:45:08 +02:00
Pierre Joye
2809afa119
- #64710 , check return val
2013-04-26 08:15:33 +02:00
Pierre Joye
7bd20354a8
- #64710 , kill unused var
2013-04-26 08:15:05 +02:00
Pierre Joye
b0afef2d5e
#64710 , kill unused vars
2013-04-26 08:10:24 +02:00
Pierre Joye
685a6d9aab
#64710 , kill unused vars
2013-04-26 08:09:19 +02:00
Pierre Joye
7b06189702
#64710 , kill unused vars
2013-04-26 08:08:38 +02:00
Pierre Joye
3fffc78ed0
#64710 , kill unused vars
2013-04-26 08:07:47 +02:00
Pierre Joye
b5902b6c9d
#64710 , kill unused vars
2013-04-26 08:06:34 +02:00
Pierre Joye
afe46d4d47
#64710 , Implicit declaration
2013-04-26 07:48:11 +02:00
Matt Ficken
4941e3fe44
Adding sys_get_temp_dir() test specific for Windows.
...
sys_get_temp_dir() returns a Windows-style path (\\ instead of /) on
Windows. This is why a Windows specific test is required.
Skipping req60524.phpt on Windows. Adding -win32 fork for use only on
Windows.
Fixes test bug #64396 .
2013-04-25 14:52:48 -07:00
Anatol Belski
30802dbc55
Fixed float precision change under Windows x64
...
otherwise we'll have asserts in debug builds and void runs of the
error handlers in non debug builds.
2013-04-25 22:44:29 +02:00
Matt Ficken
7d0dd957eb
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix Test Bug #64714
2013-04-25 11:37:25 -07:00
Johannes Schlüter
6251706ea6
Merge branch 'PHP-5.4' into PHP-5.5
2013-04-25 18:05:40 +02:00
David Soria Parra
4a52fe4755
NEWS for RC1
2013-04-25 08:05:56 +02:00
David Soria Parra
51e3fabf10
NEWS for PHP 5.5.0 Beta 4 again
2013-04-25 08:05:16 +02:00
David Soria Parra
e04baf692a
Fix curl build on windows
2013-04-25 08:04:30 +02:00
Remi Collet
182fef46a9
Fixed bug #64707 missing declaration after dd0399f
2013-04-25 06:40:55 +02:00
Pierrick Charron
f42a257711
Update NEWS file
2013-04-24 13:26:34 -04:00
Stanislav Malyshev
cf9db2154e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
5.4.16-dev
Conflicts:
configure.in
main/php_version.h
2013-04-24 10:16:56 -07:00
Remi Collet
26bd2cba81
gd: missing headers in previous
2013-04-24 16:15:42 +02:00
Remi Collet
3a8ceed844
allow use of gdImageCreateFromJpegEx with system libgd
2013-04-24 16:15:11 +02:00
Remi Collet
dd0399f5c6
We need both gdImageCreateFromJpeg* and gdImageCreateFromJpeg*Ex
...
The new (Ex) functions are used with the new ignore_warning parameter
The standard functions are used in _php_image_create_from_string,
sent as a function pointer, and call without this optional parameter.
2013-04-24 16:07:50 +02:00
Remi Collet
7189cc5be8
gd: fix proto comment
2013-04-24 14:44:20 +02:00
Anatol Belski
eb4065b9e1
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-04-24 14:36:57 +02:00
Remi Collet
aa4b0af20f
gd: provide imageflip with system libgd when available
2013-04-24 14:32:03 +02:00
Anatol Belski
8d41f6dab6
Removed fork of ext/zlib/tests/bug_52944.phpt
...
The real issue is a bug in asm zlib build, reported here
https://github.com/madler/zlib/issues/41 . Non ASM builds
behave more predictable.
2013-04-24 14:31:59 +02:00
David Soria Parra
ee65e6953f
NEWS for RC 1
2013-04-24 12:39:44 +02:00
David Soria Parra
78c79a2d5b
NEWS for beta 4
2013-04-24 12:37:07 +02:00
Stanislav Malyshev
920c7ac16e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update credits
2013-04-23 22:03:42 -07:00
Stanislav Malyshev
1363626f11
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
2013-04-23 21:46:03 -07:00
Stanislav Malyshev
2a15aed399
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #64458 (dns_get_record result with string of length -1)
2013-04-23 21:45:10 -07:00
Stanislav Malyshev
f87d2ab893
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #64458 (dns_get_record result with string of length -1)
2013-04-23 21:43:55 -07:00
Pierrick Charron
b79e65f268
Remove curl wrappers
2013-04-23 17:01:17 -04:00
Dmitry Stogov
758b666c0a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed incorrect check. SEND_REF may be executed before DO_FCALL when EX(function_state).function is not yet set to the calling function.
Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2013-04-23 23:59:00 +04:00
Remi Collet
2005a15caa
fix copy/paste in error message
2013-04-23 13:53:00 +02:00
Remi Collet
9819d81ddf
enable WebP with system libgd when available
2013-04-23 13:46:10 +02:00
Remi Collet
eb50789910
(re)allow WBMP detection with system libgd
...
provide getbmi and skipheader not exported functions in gd_compat.
2013-04-23 13:43:57 +02:00
Sara Golemon
734e165d4e
array_column() - Use entire subject array when NULL passed for second param.
...
This starts to look like array_values(), except that you can reindex the arrays
using the third parameter.
2013-04-22 16:19:21 -07:00
Sara Golemon
1a03bd5dee
Allow array_column() to take -1 as a valid value in third param
...
Also do some cleanup and simplification to make this code more
readable in the long term.
2013-04-22 15:54:21 -07:00
Sara Golemon
f63db963c4
Harden array_column_basic.phpt against resource renumbering.
...
We don't care what resource number it is, so long as there's a
stream resource returned.
2013-04-22 13:36:40 -07:00
Sara Golemon
7b34324f84
Fix handling of double keys in array_column
...
Also fix resource test to not localize __FILE__ to cwd.
2013-04-21 22:35:04 -07:00
Anatol Belski
b119836765
updated NEWS
2013-04-22 19:00:46 +02:00
Anatol Belski
f578bb0388
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
updated NEWS
Fixed stream_socket_pair() on Windows x64 and
2013-04-22 19:00:13 +02:00
Derick Rethans
0720804e7c
Merge branch 'PHP-5.4' into PHP-5.5
2013-04-22 17:51:47 +01:00
Remi Collet
ec1678dd7c
temporary disable WBM detection with system libgd, as gdGetC, getmbi and skipheader not exported
2013-04-22 17:48:28 +02:00
Remi Collet
6889a0d1f5
overflow2 is not exported by system libgd
2013-04-22 17:39:35 +02:00
Dmitry Stogov
13b039ff9a
Fixed linkage with C++
2013-04-22 15:39:50 +04:00
Xinchen Hui
32490673b9
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-04-21 11:10:41 +08:00
Xinchen Hui
6b1928ba0b
Merge branch 'PHP-5.4' into PHP-5.5
2013-04-21 11:09:18 +08:00
Pierre Joye
3cc81d151d
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-04-20 18:24:04 +02:00
Pierre Joye
14d9f3450b
fix x64 opcache, still uses fugly fixed addresses, see TODO entry for explanaton
2013-04-20 18:22:39 +02:00
Xinchen Hui
63d3ef4df0
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-04-20 15:24:18 +08:00
Xinchen Hui
6ed16753c1
Fixed bug #64677 (execution operator `` stealing surrounding arguments)
2013-04-20 15:23:49 +08:00
Dmitry Stogov
c7cf9b68b6
Fixed 5.2 ZTS build
2013-04-19 21:37:24 +04:00
Andrey Hristov
7b7424c34c
Merge branch 'PHP-5.4' into PHP-5.5
2013-04-19 16:29:53 +02:00
Xinchen Hui
0704e4badb
Fixed compiler warning "cast from pointer to integer of different size"
2013-04-18 17:32:46 +08:00
Dmitry Stogov
5a897009a8
Initialize literals hash_value and cache_slot
2013-04-17 21:19:56 +04:00
Anatol Belski
2d9cbf720d
Added curl config test for windows
2013-04-17 14:25:45 +02:00
Anatol Belski
c76cdb8067
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
updated lib versions
fixed EOL
updated lib versions
allow lcov 1.10
allow lcov 1.10
2013-04-17 13:20:46 +02:00
Anatol Belski
ca425a67c4
updated lib versions
2013-04-17 13:20:23 +02:00
Nuno Lopes
adc17bff57
allow lcov 1.10
2013-04-13 16:53:39 -04:00
Chris Wright
c091819f40
Add schema default/fixed value support
...
Added support for adding fixed/default values during XSD validation
and added/updated associated tests
2013-04-12 09:50:14 +01:00
Xinchen Hui
a5cfe57e08
Merge branch 'PHP-5.4' into PHP-5.5
2013-04-11 14:29:09 +08:00
Pierre Joye
e71b794569
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
lucky that the name is not used, fix name of encoder
2013-04-11 07:08:39 +02:00
Remi Collet
6df1e8d3fe
apply change from opcache readme to php.ini
2013-04-11 07:05:56 +02:00
Dmitry Stogov
88e14d01bf
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
update NEWS
updated NEWS
Fixed bug #64342 ZipArchive::addFile() has to check for file existence
2013-04-10 23:12:48 +04:00
Dmitry Stogov
193e1865ad
Added opcache related entries
2013-04-10 23:10:43 +04:00
Anatol Belski
7133eee5f2
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-04-10 20:51:58 +02:00
Anatol Belski
fc658f442d
update NEWS
2013-04-10 20:47:28 +02:00
Anatol Belski
0655ab7c26
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
updated NEWS
Fixed bug #64342 ZipArchive::addFile() has to check for file existence
2013-04-10 20:45:28 +02:00
Pierre Joye
6ea7e6da8b
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-04-10 20:15:03 +02:00
Pierre Joye
87f5d9aa1b
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add external 2.1 detection and fix gd_compat for 2.1+
2013-04-10 20:13:46 +02:00
Dmitry Stogov
af967de2af
Allow wilcards in opcache.blacklist_filename
2013-04-10 21:41:30 +04:00
Dmitry Stogov
e27039630a
Fixed support for PHP-5.3
2013-04-10 21:27:06 +04:00
Dmitry Stogov
2b3a4afcbf
Added missing ARG_INFO
2013-04-10 16:45:59 +04:00
Dmitry Stogov
7845f49006
Numeric string constants used as array indeces have to be converted to long at compile time
2013-04-10 15:33:08 +04:00
Johannes Schlüter
2e3e87029f
Merge branch 'PHP-5.4' into PHP-5.5
2013-04-10 09:48:15 +02:00
Michael Moravec
70668fd88a
Fixed typo - inconsistent notice for undefined property (introduced by fix for #49348 )
2013-04-10 13:36:47 +08:00
David Soria Parra
1c498e6e94
NEWS section for next beta
2013-04-09 20:27:22 +02:00
David Soria Parra
6426a002e7
NEWS for PHP 5.5.0 Beta 3
2013-04-09 20:26:58 +02:00
Dmitry Stogov
2b28f29e53
Fixed CFG construction bugs
2013-04-09 17:48:45 +04:00
Dmitry Stogov
e13d2c7c7f
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
fix possible NULL deref
fix null deref
Fixed bugs #47675 and #64577 (fd leak on Solaris)
2013-04-09 12:10:54 +04:00
Pierre Joye
24f1045d55
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix possible NULL deref
2013-04-09 10:09:47 +02:00
Pierre Joye
1359eaa057
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-04-09 10:06:49 +02:00
Pierre Joye
4d6c367177
Merge branch 'PHP-5.4' into PHP-5.5
...
# By Pierre Joye (1) and Rasmus Lerdorf (1)
* PHP-5.4:
fix null deref
Fixed bugs #47675 and #64577 (fd leak on Solaris)
2013-04-09 10:04:32 +02:00
Dmitry Stogov
4bf1f3801b
Fixed ZTS build
2013-04-09 12:03:41 +04:00
Dmitry Stogov
4cf00c08bd
Fixed issue #26 (added opcache_invalidate(string $filename [, bool $force = false]) function)
2013-04-09 11:57:28 +04:00
Dmitry Stogov
d9c9e78369
Fixed issue #82 (allow comments in blacklist file, lines started with ";")
2013-04-09 10:51:19 +04:00
Pierre Joye
83500123d0
ws and comment for recommended aa method
2013-04-09 07:04:52 +02:00
Pierre Joye
ec136c219e
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-04-09 06:47:21 +02:00
Pierre Joye
85ad65ef40
fix some unitialized values and typo
2013-04-09 06:44:45 +02:00
Anatol Belski
a9f9ff68a2
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
updated libmagic.patch
2013-04-08 16:24:20 +02:00
Anatol Belski
b810878e7d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix ident
2013-04-08 15:51:53 +02:00
Anatol Belski
a1f66c0b50
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Refactored the previous memleak fix
2013-04-08 14:34:09 +02:00
Anatol Belski
9f0bfed435
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix memory leak at apprentice.c:1095
2013-04-08 12:50:25 +02:00
Anatol Belski
30fc3ac6aa
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fixed EOL
2013-04-08 09:21:06 +02:00
Anatol Belski
ee0df8c40a
updated NEWS
2013-04-07 22:20:12 +02:00
Anatol Belski
b12f79cafb
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
upgraded libmagic to 5.14
2013-04-07 22:18:53 +02:00
Nuno Lopes
e769025791
leave a sane environment behind (even if empty) when exiting
...
some OS atexit() handlers call getenv()
2013-04-07 02:33:33 -04:00
Xinchen Hui
5ac8084e5f
Merge branch 'PHP-5.4' into PHP-5.5
2013-04-05 23:28:02 +08:00
Xinchen Hui
5c4d9123fa
Drop support for bison < 2.4 when building PHP from GIT source
2013-04-05 21:35:09 +08:00
Xinchen Hui
ce88a81111
Contant has been renamed
2013-04-05 14:27:56 +08:00
Xinchen Hui
f4d27a1557
Merge branch 'PHP-5.4' into PHP-5.5
2013-04-05 14:27:29 +08:00
Rasmus Lerdorf
c3a57fff5e
Fixed bugs #47675 and #64577 (fd leak on Solaris)
2013-04-04 19:23:22 -07:00
Johannes Schlüter
9587cf385e
Improve warning when trying to load zend ext as PHP module
2013-04-04 15:36:46 +02:00
Xinchen Hui
01ca2bf8c3
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
ext/curl/interface.c
2013-04-04 19:31:14 +08:00
Xinchen Hui
aac43c9ee8
Merge branch 'PHP-5.4' into PHP-5.5
2013-04-04 14:56:00 +08:00
Xinchen Hui
4d66b3b589
no tab here
2013-04-04 14:53:30 +08:00
Xinchen Hui
5f969c1d46
Merge branch 'PHP-5.4' into PHP-5.5
2013-04-04 14:53:17 +08:00
Xinchen Hui
34c5b80595
Update NEWs
2013-04-04 14:49:22 +08:00
Xinchen Hui
65e368debd
Merge branch 'PHP-5.4' into PHP-5.5
2013-04-04 14:48:53 +08:00
Nikita Popov
1f34ccbe34
Fix bug #64555 : foreach no longer copies keys if they are interned
2013-04-03 20:29:19 +02:00
Xinchen Hui
42f94aa978
Fix test due to opcache
2013-04-03 19:52:09 +08:00
Xinchen Hui
bbb4a44f98
Merge branch 'PHP-5.4' into PHP-5.5
2013-04-03 18:51:19 +08:00
Xinchen Hui
f5f3ab1b3f
format
2013-04-03 10:21:06 +08:00
Xinchen Hui
0495061a8f
Merge branch 'PHP-5.4' into PHP-5.5
2013-04-03 10:20:52 +08:00
Xinchen Hui
bb70176328
Update NEWS & UPGRADING
2013-04-03 10:17:27 +08:00
Xinchen Hui
6ace9c646b
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
ext/curl/interface.c
2013-04-03 10:15:41 +08:00
Remi Collet
688f5fc889
NEW for #64565
2013-04-02 16:34:39 +02:00
Remi Collet
44dbe6a815
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
keep previous test to avoid any behavior change
2013-04-02 16:31:45 +02:00
Remi Collet
ce89bc8743
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix comment
Fixed Bug #64565 copy doesn't report failure on partial copy
2013-04-02 16:24:14 +02:00
Dmitry Stogov
23b44e7f39
Fixed ZTS build
2013-04-01 21:16:33 +04:00
Xinchen Hui
d8a5f41a60
Fixed bug parameter is casted to string of array_column
2013-04-01 19:11:45 +08:00
Xinchen Hui
3b504a3717
Merge branch 'PHP-5.4' into PHP-5.5
2013-04-01 18:17:28 +08:00
Dmitry Stogov
74f158fb9d
Fixed issue #79 (Optimization Problem/Bug)
2013-04-01 11:33:04 +04:00
Nuno Lopes
586dc07a8a
fix coverage data for the opcache optimizer
2013-03-31 15:45:15 -04:00
Xinchen Hui
ad7c0b1928
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-31 21:26:26 +08:00
Xinchen Hui
2f6b9b970c
Fix typo (it's in DateTime::__wakeup)
2013-03-31 20:07:14 +08:00
Derick Rethans
503760c913
Updated test case and added BFN to NEWS.
2013-03-31 11:07:24 +01:00
EC2 Default User
b07ecb5501
Bug #60774 (DateInterval::format("%a") is always zero when an interval is
...
created using the createFromDateString method)
2013-03-31 10:59:21 +01:00
Derick Rethans
84208d9dc5
Added the new .c files as well as they are not automatically regenerated.
2013-03-31 10:55:45 +01:00
Lonny Kapelushnik
58a8013e5f
Rebased to PHP-5.4
...
Implemented Dmitrys change from df97c3aa0d
Moved the timelib_parse_tz_cor function to ext/date/lib/timelib.c
2013-03-31 10:45:01 +01:00
Lonny Kapelushnik
a4ca01cc2b
Made separate tests for each TZ type
...
Fixed handling of unserializing types 1 and 3
2013-03-31 10:45:00 +01:00
Lonny Kapelushnik
a1ebd82a29
Fixed the test to use %d instead of an actual number
2013-03-31 10:45:00 +01:00
Lonny Kapelushnik
30d0ae42b5
Bug 54567 DateTimeZone serialize/unserialize
...
Make DateTimeZone serializable and implement __set_state
2013-03-31 10:45:00 +01:00
Derick Rethans
5dd73b9e54
Merge branch 'splitting-out-date-time-immutable' into PHP-5.5
2013-03-31 10:39:01 +01:00
Derick Rethans
68a7fec7af
Make DateTime and DateTimeImmutable siblings.
...
They both implement the DateTimeInterface interface, which specifies the
non-modifying methods of DateTime/DateTimeImmutable.
2013-03-31 10:37:16 +01:00
Stanislav Malyshev
61fff1fd8b
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #64433 : does not follow redirects for non-3xx response codes
2013-03-30 21:24:21 -07:00
Xinchen Hui
bed44e562e
missed part of the patch
2013-03-29 23:47:46 +08:00
Xinchen Hui
953f07503a
Fixed bug #64544 (Valgrind warnings after using putenv)
...
The frozen_envion is needed, since if an item in environ is updated
(like the test script HOME one), invalid free still shows up
2013-03-29 23:42:50 +08:00
Keyur Govande
b2a760fe45
Merge branch 'pull-request/313' into PHP-5.5
...
* pull-request/313:
Patch for Bug #64544 . The process title change module keeps track of the locally allocated environ, so it doesn't need to worry about when environ changes underneath it, for example by putenv()/setenv()
2013-03-29 14:42:16 +00:00
Keyur Govande
00d961cf6a
Merge branch 'PHP-5.5' of https://git.php.net/push/php-src into PHP-5.5
...
* 'PHP-5.5' of https://git.php.net/push/php-src: (266 commits)
Fix "passing NULL to non-pointer argument" warnings in intl
Remove support for cloning generators
Removed deprecated check
Fix whitespace issue in the SOAP test
Fix SOAP test
Forgot to fix the test on 5.4
Exclude Travis build for 5.3 and 5.4
Fix tests after addition of ^ (xor) operator to ini
Fix Bug #64545 : PHP Error in ef93a93ee2
Attempt to fix SKIP
This will PHP 5.3.25
Typo fix (greater then => greater than)
don't optimize script if it's not going to be cached
Reimplemented OPcache restart trigger. Now, if memory or hash are full the restart is scheduled only in case the amount of wasted memory is above opcache.max_wasted_percentage. Otherwise OPcahce continue serving the following requests using already cached files, but doesn't try to add new files (the cache is full anyway).
With pkgconfig < 0.28 output is a single space With pkgconfig = 0.28 output is an empty string, This breaks the test on the 2 vars
Fixed issue #78 (incorrect file path validation)
Fix test on Mac (\D shows up)
Add test for #64529
will be 5.4.15
fix NEWS
...
2013-03-29 14:35:45 +00:00
Keyur Govande
5bf6323e51
Patch for Bug #64544 .
...
The process title change module keeps track of the locally allocated
environ, so it doesn't need to worry about when environ changes
underneath it, for example by putenv()/setenv()
2013-03-29 14:27:36 +00:00
Nikita Popov
8aff7f0528
Fix "passing NULL to non-pointer argument" warnings in intl
...
The second argument to spprintf is a size_t (maximum length).
2013-03-29 12:55:00 +01:00
Nikita Popov
8345abcabb
Remove support for cloning generators
2013-03-29 11:42:10 +01:00
Dmitry Stogov
aa791a4d72
Removed deprecated check
2013-03-29 03:18:04 +04:00
Pierre Joye
ac0b66f160
fix BELL constant declaration
2013-03-28 22:14:34 +01:00
Nikita Popov
0e25e00ecf
Fix whitespace issue in the SOAP test
2013-03-28 19:10:57 +01:00
Nikita Popov
a5e606a2ba
Fix SOAP test
...
Doesn't look like these warnings are present anymore.
2013-03-28 19:05:06 +01:00
Nikita Popov
15994a14a4
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
.travis.yml
2013-03-28 18:43:11 +01:00
Nikita Popov
dcf0b71c98
Fix tests after addition of ^ (xor) operator to ini
2013-03-28 18:35:46 +01:00
Nikita Popov
b1a6a17039
Fix Bug #64545 : PHP Error in ef93a93ee2
...
Test was using die "Foo" instead of die("Foo").
2013-03-28 18:23:23 +01:00
Xinchen Hui
127c78cb76
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-28 23:23:07 +08:00
Johannes Schlüter
e6ef89861e
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-28 15:09:06 +01:00
Xinchen Hui
f4daaf9250
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-28 19:13:58 +08:00
Dmitry Stogov
86d301b232
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
With pkgconfig < 0.28 output is a single space With pkgconfig = 0.28 output is an empty string, This breaks the test on the 2 vars
2013-03-28 13:48:18 +04:00
Dmitry Stogov
3ae5c55596
don't optimize script if it's not going to be cached
2013-03-28 13:45:40 +04:00
Dmitry Stogov
037ea6f360
Reimplemented OPcache restart trigger. Now, if memory or hash are full the restart is scheduled only in case the amount of wasted memory is above opcache.max_wasted_percentage. Otherwise OPcahce continue serving the following requests using already cached files, but doesn't try to add new files (the cache is full anyway).
2013-03-28 13:34:59 +04:00
Remi Collet
201128d39c
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
With pkgconfig < 0.28 output is a single space With pkgconfig = 0.28 output is an empty string, This breaks the test on the 2 vars
2013-03-28 10:25:39 +01:00
Dmitry Stogov
031553cd01
Fixed issue #78 (incorrect file path validation)
2013-03-28 12:30:18 +04:00
Xinchen Hui
7dd661d0cd
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-28 14:35:02 +08:00
Xinchen Hui
ae71c1d9aa
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-28 13:54:37 +08:00
Stanislav Malyshev
5d535a007d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
will be 5.4.15
fix NEWS
Conflicts:
configure.in
main/php_version.h
2013-03-27 14:02:14 -07:00
Lars Strojny
25b3c94944
Added XOR support for expressions in INI parser: NEWS and zend_language_scanner.c
2013-03-27 21:30:56 +01:00
Dejan Marjanovic
05016b7e96
Added XOR support for expressions in INI parser
2013-03-27 21:28:53 +01:00
Dmitry Stogov
6e8aa09696
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #64529 (Ran out of opcode space)
Conflicts:
NEWS
Zend/zend_execute_API.c
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
2013-03-28 00:08:11 +04:00
Dmitry Stogov
391a41e167
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
Remove unused variable
NEWS Section for beta 3
News for beta 2
2013-03-27 23:15:38 +04:00
Dmitry Stogov
1556d5df8a
Fixed issue #74 (Allowed per request OPcache disabling)
2013-03-27 23:13:21 +04:00
David Soria Parra
f92a15864b
Remove unused variable
2013-03-27 20:00:54 +01:00
David Soria Parra
ef6cdb85d9
NEWS Section for beta 3
2013-03-27 19:57:24 +01:00
David Soria Parra
2185746feb
News for beta 2
2013-03-27 19:30:43 +01:00
Dmitry Stogov
91ab11ed07
Fixed issue #76 (actually we don't need zend_shared_memory_block_header at all)
2013-03-27 22:16:18 +04:00
Dmitry Stogov
fc7efecda0
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
add WebP support in phpinfo
2013-03-27 21:09:51 +04:00
Dmitry Stogov
26f3ff25fe
Added opcache.enable_cli=0
2013-03-27 21:08:18 +04:00
Dmitry Stogov
f139534694
Added description for opcache.enable_cli
2013-03-27 21:02:39 +04:00
Pierre Joye
e7d88a63fa
add WebP support in phpinfo
2013-03-27 17:38:57 +01:00
Pierre Joye
f01a7e54d3
add windows 8 and windows server 2012
2013-03-27 07:29:47 +01:00
Pierre Joye
d0aa831614
versions no longer supported, no need to check
2013-03-27 07:15:23 +01:00
Pierre Joye
f3ebb40ad6
FALSE on error
2013-03-27 05:13:30 +01:00
Pierre Joye
4d73bb070e
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-03-26 11:24:48 +01:00
Pierre Joye
5ae6f582fb
fix regression, take #2 (merge issue due to git 1.8 default setting changes)
2013-03-26 11:23:15 +01:00
Xinchen Hui
ed31582301
Fixed bug #64515 (Memoryleak when using the same variablename 2times in function declaration)
2013-03-26 12:02:48 +08:00
Xinchen Hui
0496ad31ac
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-26 11:51:15 +08:00
Xinchen Hui
62ec3893d2
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-26 11:47:38 +08:00
Xinchen Hui
975d26667b
Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
2013-03-25 23:48:21 +08:00
Pierre Joye
c6e911e154
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-03-25 13:43:22 +01:00
Pierre Joye
0171bcb9fa
typo and WS
2013-03-25 13:42:29 +01:00
Dmitry Stogov
65afa3c044
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
add new functions and constants for GD
2013-03-25 15:49:41 +04:00
Dmitry Stogov
96e5f5eb05
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #63914 (zend_do_fcall_common_helper_SPEC does not handle exceptions properly). (Jeff Welch)
Conflicts:
NEWS
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2013-03-25 15:47:45 +04:00
Pierre Joye
878bef2a1d
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-03-25 12:22:20 +01:00
Pierre Joye
1c662dc303
add new functions and constants for GD
2013-03-25 12:15:46 +01:00
Dmitry Stogov
6a7088fd18
back to dev (7.0.2-dev)
2013-03-25 13:57:50 +04:00
Dmitry Stogov
f17156c2d1
Fixed copy/paste mistake
2013-03-25 13:30:45 +04:00
Dmitry Stogov
0a00d29256
Fixed bug #64482 (Opcodes for dynamic includes should not be cached)
2013-03-25 13:05:16 +04:00
Dmitry Stogov
64b029af0d
Separate "start_time" from "last_restart_time"
2013-03-25 12:33:24 +04:00
Dmitry Stogov
987dee9ca1
Fixed PHP-5.2 ZTS compatibility
2013-03-25 12:21:58 +04:00
Dmitry Stogov
a3316ffe6a
7.0.1 release
2013-03-25 11:44:09 +04:00
Stanislav Malyshev
c20e4bbc96
make it int main
2013-03-24 23:58:30 -07:00
Stanislav Malyshev
016fbd9991
fix return value
2013-03-24 23:43:25 -07:00
Stanislav Malyshev
385d0e52cc
add code to check if we know flock definition on this system
...
In order to configure detect it and not fail the compile.
Not an ideal solution, suggestions are welcome on how to improve it.
2013-03-24 20:11:28 -07:00
Stanislav Malyshev
504ef64c7b
fix typo
2013-03-24 20:03:57 -07:00
Stanislav Malyshev
7c0bdb9a4f
add definition for 5.5
2013-03-24 19:54:10 -07:00
Pierre Joye
4394249881
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-03-25 03:19:08 +01:00
Pierre Joye
1b34ab8ff8
remove comments
2013-03-25 03:14:27 +01:00
Stanislav Malyshev
c342c9b964
fix bug #64490 - add __FreeBSD_kernel__ to allowed FreeBSD defs
2013-03-24 19:07:30 -07:00
Nikita Popov
c08e1d2be9
Fix PDO::inTransaction() test for pgsql
...
inTransaction() nowadays casts the in_transaction result to boolean.
I'm not sure whether the INERROR state should result in true or false.
For now I went with the result that we actually get.
2013-03-24 17:54:05 +01:00
Johannes Schlüter
d900382814
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-24 17:33:17 +01:00
Nikita Popov
4633e07e29
Fix mysql_list_fields.phpt test
...
The minimum length is given in bytes, so it is charset dependent.
For utf8 charsets for example it's 3 rather than 1.
2013-03-24 17:07:16 +01:00
Pierre Joye
be3e2bb295
fix generic rotation and 90 degrees & multiples rotation, take #2
2013-03-24 16:52:20 +01:00
Nikita Popov
585f71f497
Fix some errors in mysqlnd charset list
...
I fixed the stuff that seemed obviously wrong, but there are some more
differences with the SHOW COLLATIONS output:
* The whole range of "utf16" collations missing
* "filename" missing
* "ucs2_general_mysql500_ci" and "utf8_general_mysql500_ci" missing
I wasn't sure whether those omissions are intentional, so I didn't add
them.
2013-03-24 16:09:39 +01:00
David Soria Parra
ec7250fb64
Merge commit '1ec484d' into PHP-5.5
...
* commit '1ec484d':
- add imageaffinematrixget and imagematrixconcat
- add affine matrix helper for translate, scale, rotate and shear
- fix unix build
- add new files for interpolation
- config.m4 sync with .w32
- add new interpolation method . imagescale . imageaffine . replace imagerotate with new generic and optimized new implementations . imagesetinterpolationmethod, to set the default interpolation to be used with the new functions . add imagepalettetotruecolor
2013-03-24 14:05:55 +01:00
Nikita Popov
aa2b54812f
Fix version check in test
2013-03-24 13:58:35 +01:00
Pierre Joye
0179284bfb
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- add reminder for checking return values
2013-03-24 13:29:16 +01:00
Anatol Belski
ec26141f92
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- fix x64 issues on windows with the various time types (overflow, signed and unsigned bits ops, etc.) causing crashes on start, error or log, must be done in win32/time.c for some of these functions too
2013-03-23 22:43:58 +01:00
Nikita Popov
2b62226188
Fix cli server tests on travis
...
This passes an absolute path to the executable, rather than a relative.
Maybe this is something that should be done automatically by
run-tests.php as it doesn't apply only to travis.
2013-03-23 21:43:55 +01:00
Nikita Popov
430c987716
Skip locale dependent test if locale not available
2013-03-23 21:09:21 +01:00
Nikita Popov
c2893ab592
Missed two occurances of Revision:
2013-03-23 21:09:20 +01:00
Anatol Belski
ec25e99193
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Reworked the changes for bug #64452
2013-03-23 21:00:46 +01:00
Nikita Popov
01583bdc36
phar phpinfo uses Id instead of Revision
2013-03-23 20:11:06 +01:00
Nikita Popov
9a56dce83f
Use NEWS merge driver for UPGRADING and UPGRADING.INTERNALS
2013-03-23 18:26:11 +01:00
Nikita Popov
bda5c0b082
Show diffs on Travis CI
2013-03-23 18:25:18 +01:00
Nikita Popov
0cb868c042
Move some internal changes from UPGRADING to UPGRADING.INTERNALS
2013-03-23 18:06:25 +01:00
Anatol Belski
2e00f7611c
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed possible precision loss in microtime
2013-03-23 17:48:05 +01:00
David Soria Parra
defb08c705
Note about bison version
2013-03-22 17:44:32 +01:00
Etienne Kneuss
6af1b08482
Add SplDoublyLinkedList::add to UPGRADING
2013-03-22 11:35:45 +01:00
Rasmus Lerdorf
fd2b8df265
Tweaks an add OPcache info to UPGRADING
2013-03-21 23:14:16 -07:00
David Soria Parra
293d5defb4
Add OPCache ini settings to php.ini
2013-03-21 15:51:23 +01:00
Xinchen Hui
534aec8a52
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-21 21:32:32 +08:00
Xinchen Hui
9d31c0de0c
Update NEWS
2013-03-21 21:11:15 +08:00
Xinchen Hui
79925094c4
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-21 21:10:32 +08:00
Xinchen Hui
f2383dead6
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-21 15:58:08 +08:00
Xinchen Hui
b29a9fa75d
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-21 11:14:36 +08:00
Xinchen Hui
da6916a770
fix memory leak
...
the value shouldn't be ref, use z_add_ref is enough
2013-03-21 10:58:58 +08:00
Stanislav Malyshev
6f17c6242f
add array_column()
2013-03-20 14:14:17 -07:00
David Soria Parra
2258350450
NEWS section for beta 2
2013-03-20 15:17:53 +01:00
David Soria Parra
7f2424bb1d
NEWS for beta 1
2013-03-20 15:17:53 +01:00
David Soria Parra
52171aeaf4
Allow local override of PHPROOT in makedist
2013-03-20 15:17:53 +01:00
David Soria Parra
66b4e5cdec
NEWS for array_column
2013-03-20 13:14:20 +01:00
David Soria Parra
0173c4bab0
Merge branch 'pull-request/257' into PHP-5.5
...
* pull-request/257:
array_column: Fix compile-time warnings
array_column: Removed array_pluck() alias
array_column: Set array_pluck as an alias for array_column
array_column: Implement ability to specify an index column
Cleaning up a memory leak.
array_column: Adding test for IS_OBJECT and converting object to string
array_column: Using add_next_index_zval() at nikic's recommendation.
array_column: Improved tests
array_column: Cleaning up, as recommended in pull request #56 comments
Fixing typo in test for array_column()
Simplify the code and use zend_hash_next_index_insert()
Adding test for columns not present in all rows for array_column().
Adding tests for the negative results of array_column()
Implement new array function array_column()
2013-03-20 13:02:33 +01:00
Pierre Joye
1ec484d3c5
- add imageaffinematrixget and imagematrixconcat
2013-03-20 12:19:03 +01:00
Pierre Joye
780c6e0a9c
- add affine matrix helper for translate, scale, rotate and shear
2013-03-20 11:01:37 +01:00
Pierre Joye
a46065ef71
- fix unix build
2013-03-20 09:24:54 +01:00
Anatol Belski
bf8026aacf
updated NEWS
2013-03-20 09:15:16 +01:00
Anatol Belski
0125ec77d2
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
updated NEWS
Fixed bug #64452 Zip PHPTs crash intermittently
2013-03-20 09:14:13 +01:00
Pierre Joye
a7a53d369b
- add new files for interpolation
2013-03-20 08:10:54 +01:00
Pierre Joye
00a53ca817
- config.m4 sync with .w32
2013-03-20 07:52:23 +01:00
Pierre Joye
22159fb7b7
- add new interpolation method
...
. imagescale
. imageaffine
. replace imagerotate with new generic and optimized new implementations
. imagesetinterpolationmethod, to set the default interpolation to be
used with the new functions
. add imagepalettetotruecolor
2013-03-20 07:46:59 +01:00
Stanislav Malyshev
5aaff8d634
clarify NEWS
2013-03-19 22:32:50 -07:00
Ben Ramsey
f5bf1ba88f
array_column: Fix compile-time warnings
2013-03-19 20:44:19 -05:00
Anatol Belski
cb76420fe0
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Backported fix for bug #62852
2013-03-19 21:22:49 +01:00
David Soria Parra
5e55c6d9fd
Refer to Zend Optimizer as Zend Opcache from now on
2013-03-19 16:20:37 +01:00
David Soria Parra
60b36a6819
ZO+ NEWS
2013-03-19 15:54:57 +01:00
Anatol Belski
25b84546a8
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-03-19 15:15:31 +01:00
Anatol Belski
b3d82845db
fix C89 compat
2013-03-19 15:13:27 +01:00
David Soria Parra
c542e969f2
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix typos
2013-03-19 15:11:48 +01:00
Anatol Belski
ce04268bb9
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-03-19 14:50:05 +01:00
Mark Baker
4257469079
Fix #48358 add() method for SplDoublyLinkedLis
2013-03-19 14:46:21 +01:00
Anatol Belski
6f0f5d5281
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix C90 compat
2013-03-19 14:44:20 +01:00
Dmitry Stogov
4837bdb910
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #63976 (Parent class incorrectly using child constant in class property)
Conflicts:
NEWS
2013-03-19 17:04:35 +04:00
Dmitry Stogov
960d5be528
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Partial fix for bug #64239
2013-03-19 15:47:43 +04:00
Dmitry Stogov
74e11fb14c
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #62343 (Show class_alias In get_declared_classes())
Conflicts:
NEWS
2013-03-19 15:00:24 +04:00
Dmitry Stogov
ef8c8eaa95
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #64417 (ArrayAccess::&offsetGet() in a trait causes fatal error)
Conflicts:
NEWS
Zend/zend_compile.c
2013-03-19 13:07:32 +04:00
Dmitry Stogov
f621f0b8e7
strlen() returns size_t
2013-03-19 10:45:38 +04:00
Dmitry Stogov
a62ffb72f4
Renamed Zend Optimizer+ into Zend OPcache
2013-03-19 10:32:24 +04:00
Dmitry Stogov
840c0d6091
Add stats to phpinfo
2013-03-19 10:17:44 +04:00
Dmitry Stogov
5b0879e7c9
Avoid trailing line break
2013-03-18 13:36:31 +04:00
Dmitry Stogov
a9684532eb
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
fix NEWS
fix NEWS
2013-03-18 13:17:42 +04:00
Dmitry Stogov
1fe43d0798
Add oom, wasted, hash and manual restart counters to help identify potential configuration problems
2013-03-18 13:13:35 +04:00
Stanislav Malyshev
260007a303
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix NEWS
2013-03-18 00:52:36 -07:00
Stanislav Malyshev
b893326e0d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix NEWS
2013-03-18 00:51:35 -07:00
Dmitry Stogov
ccf7d7cc93
Add optional flag to opcache_get_status()
2013-03-18 11:23:26 +04:00
Boris Lytochkin
fe384b3444
merge with 5.4
2013-03-17 20:52:55 +04:00
Boris Lytochkin
c5ba47ac59
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
more test coverage: missing square bracket error message
Fixed bug #61981
2013-03-17 20:52:12 +04:00
Boris Lytochkin
5d0826e9c3
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #61981
2013-03-17 20:02:34 +04:00
Dmitry Stogov
dcc927d3f2
Load "black list" only if O+ is enabled
2013-03-17 12:17:04 +04:00
Dmitry Stogov
e66c8681c7
Made opcache_get_status() return statistics during O+ restart
2013-03-17 11:56:04 +04:00
Dmitry Stogov
0b8b6a727d
Added ability to load zend_extensions without absolute path names
2013-03-17 11:42:25 +04:00
Dmitry Stogov
930b272d70
Enabled O+ build by default (it may be disabled before 5.0.0 release)
2013-03-17 10:58:30 +04:00
Dmitry Stogov
07b1eaa609
Removed files that are neccessary only for standalone pecl branch
2013-03-17 10:40:59 +04:00
Anatol Belski
fa3fc711d3
setting plausible default value for struct members
...
especially for unsigned members so they don't casted to max unsigned
2013-03-16 18:29:50 +01:00
Etienne Kneuss
b46897941a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Remove spurious int cast in between two longs
2013-03-16 18:20:16 +01:00
Xinchen Hui
c1cf7538f0
Fixed test after nick previous fix
2013-03-16 23:16:32 +08:00
Xinchen Hui
acd160530a
Fix test after f8b91d9acf
2013-03-16 23:14:06 +08:00
Dmitry Stogov
e00b04a54f
Fixed memory leaks
2013-03-16 17:24:54 +04:00
Dmitry Stogov
e9641141aa
Made test compatible with O+
2013-03-16 16:11:00 +04:00
Dmitry Stogov
92430bcf5d
Fixed compatibility with ext/phar
2013-03-16 16:08:11 +04:00
Dmitry Stogov
ac05e68f55
Fixed O+ testes
2013-03-16 12:07:09 +04:00
Dmitry Stogov
9ef01ce698
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-03-16 00:46:34 +04:00
Dmitry Stogov
34d3202eda
Merge Zend Optimizer+
...
git-subtree-dir: ext/opcache
git-subtree-mainline: b1dbfb7357
git-subtree-split: 8d35170c5f
2013-03-16 00:41:46 +04:00
Anatol Belski
f8b91d9acf
Fixed bug #62852 Unserialize Invalid Date crash
...
Error handling is the same as in bug #53437 , E_ERROR if we
expect an invalid object.
2013-03-15 21:22:35 +01:00
Anatol Belski
b1dbfb7357
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
updated NEWS
2013-03-15 19:12:34 +01:00
Anatol Belski
f058942923
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Backported patch for #64370
2013-03-15 19:09:18 +01:00
Dmitry Stogov
8d35170c5f
Renamed ZendOptimizerPlus.so into opcache.so
2013-03-15 21:03:05 +04:00
Anatol Belski
0ee71557ff
Fixed bug #53437 Crash with unserialized DatePeriod instance
2013-03-15 16:59:54 +01:00
Nikita Popov
b7788c52f1
Fix wrong macro usage and add missing NEWS entry
2013-03-15 13:48:33 +01:00
Dmitry Stogov
c765c81cf6
"ZendOptimizerPlus" is renamed to "opcache" to de merged into PHP-5.5 under ext/opcache (the product name is still "Zend Optimizer+")
2013-03-15 16:21:07 +04:00
Ferenc Kovacs
cc51729c00
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
explain the step updating the git submodule reference in web/php.git
2013-03-15 09:41:50 +01:00
Dmitry Stogov
be020633f2
More accurate restart scheduling
2013-03-15 11:49:33 +04:00
Dmitry Stogov
0ab356c8e5
Autogolobal $GLOBALS has to be pinged even if auto_globals_jit=0
2013-03-15 10:45:49 +04:00
Dmitry Stogov
61ac64b372
Allow only shared O+ build
2013-03-14 23:11:10 +04:00
Anatol Belski
96388c78c9
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix zts check
2013-03-14 14:39:47 +01:00
Dmitry Stogov
dd1c358d1b
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
fix the fix
fix for bug #63530 mysqlnd_stmt::bind_one_parameter uses wrong alloc for stmt->param_bind
Forgot to remove some now unused variables
Add support for non-scalar Iterator keys in foreach
fixed headers order
- Updated to version 2013.2 (2013b)
fixed the test
Fixed bug #64370 (microtime(true) less than $_SERVER['REQUEST_TIME_FLOAT'])
Disable zend_always_inline in debug build
2013-03-14 14:19:41 +04:00
Andrey Hristov
c09652c289
fix the fix
2013-03-13 15:56:44 +01:00
Andrey Hristov
7503a4b4a4
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
NEWS
2013-03-13 15:29:40 +01:00
Dmitry Stogov
d77c865aff
Removed redundand code
2013-03-13 17:51:10 +04:00
Nikita Popov
28634bf603
Forgot to remove some now unused variables
2013-03-12 17:39:20 +01:00
Nikita Popov
fcc6611de9
Add support for non-scalar Iterator keys in foreach
...
RFC: https://wiki.php.net/rfc/foreach-non-scalar-keys
2013-03-12 17:27:31 +01:00
Anatol Belski
8436342d88
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fixed headers order
2013-03-12 08:34:48 +01:00
Derick Rethans
e5c64c0bda
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-11 21:36:41 +00:00
Pascal Borreli
4c5517623c
Fixed typos
2013-03-11 18:49:05 +00:00
Anatol Belski
278c4097c6
fixed the test
2013-03-11 16:14:39 +01:00
Anatol Belski
8aaa09636a
Fixed bug #64370 (microtime(true) less than $_SERVER['REQUEST_TIME_FLOAT'])
2013-03-11 16:04:37 +01:00
Xinchen Hui
4573405c5d
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-11 15:16:47 +08:00
Keyur Govande
c7ad92fac7
Adding in NEWS/UPGRADING about process title change support.
2013-03-11 00:20:57 +00:00
Keyur Govande
cdacda720c
Merge branch 'PHP-5.5' of https://git.php.net/push/php-src into PHP-5.5
...
* 'PHP-5.5' of https://git.php.net/push/php-src :
Fix tests after laruence unserialize change
Fix get_property_ptr_ptr declaration in simplexml
Update NEWS
Fixed confused exception message while user threw exception
Fixed bug #64354 (Unserialize array of objects whose class can't be autoloaded fail)
Fix date
use NEWS only
Fixed bug #61025 (__invoke() visibility not honored)
2013-03-11 00:05:49 +00:00
Nikita Popov
9490118fdb
Fix tests after laruence unserialize change
2013-03-09 20:21:33 +01:00
Nikita Popov
a59b211b2d
Fix get_property_ptr_ptr declaration in simplexml
...
A new parameter was added to the API and simplexml wasn't adjusted,
thus causing crashes.
2013-03-09 20:15:00 +01:00
Xinchen Hui
9d816ba1d3
Update NEWS
2013-03-09 23:11:48 +08:00
Xinchen Hui
1be745ce1b
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
ext/standard/var_unserializer.c
2013-03-09 23:10:48 +08:00
Xinchen Hui
af5ada3871
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-09 11:38:32 +08:00
David Soria Parra
6824dc6b33
use NEWS only
2013-03-08 11:12:35 +01:00
Xinchen Hui
01049ca7ae
Fixed bug #61025 (__invoke() visibility not honored)
2013-03-08 10:34:17 +08:00
Keyur Govande
5543035a70
Merge branch 'pull-request/300' into PHP-5.5
...
* pull-request/300:
Support for CLI process title (https://wiki.php.net/rfc/cli_process_title )
2013-03-07 23:51:37 +00:00
Ralph Schindler
ac73ca6db4
Fix for https://bugs.php.net/bug.php?id=62649
2013-03-07 23:20:11 +01:00
Carson McDonald
0c11cab919
Typo fix: recieved to received
2013-03-07 23:05:05 +01:00
Keyur Govande
a0a995cff3
Support for CLI process title ( https://wiki.php.net/rfc/cli_process_title )
...
A new commit into branch 5.5
2013-03-07 18:54:34 +00:00
David Soria Parra
e98271f588
News for next beta
2013-03-07 12:14:48 +01:00
David Soria Parra
d0ca2430da
Do another Alpha instead of Beta because of ZO+ RFC being voted on
2013-03-07 12:14:26 +01:00
Xinchen Hui
d2f9804e1f
add tests into package
2013-03-07 14:53:22 +08:00
Xinchen Hui
bc926f2fbb
Add test script for #57 (segfaults in drupal7)
2013-03-07 12:19:30 +08:00
Dmitry Stogov
b543511343
fixed memory leaks
2013-03-07 08:13:58 +04:00
David Soria Parra
4923bb579a
NEWS for the next beta
2013-03-06 23:51:27 +01:00
David Soria Parra
b6ae7cba1e
NEWS for PHP 5.5.0 Beta 1
2013-03-06 22:39:54 +01:00
Dmitry Stogov
1143d3b1d0
Fixed Issue #57 (segfaults in drupal7)
2013-03-06 22:32:21 +04:00
Anatol Belski
8589dfb6cc
simplified the previous fix for #64359
2013-03-06 16:48:51 +01:00
Dmitry Stogov
b34e50cc78
Fixed issue #58 (PHP-5.2 compatibility)
2013-03-06 17:49:47 +04:00
Anatol Belski
371000a877
Fixed bug #64359 strftime crash with VS2012
2013-03-06 12:37:57 +01:00
Stanislav Malyshev
9ed7eab514
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix NEWS
2013-03-06 00:45:26 -08:00
Dmitry Stogov
40ce4127f6
Merge branch 'master' of github.com:zend-dev/ZendOptimizerPlus
2013-03-06 09:42:26 +04:00
Dmitry Stogov
08bfdc75a4
Allows exclusion of large files from being cached
2013-03-06 09:41:59 +04:00
Xinchen Hui
be5369be59
Add maintainers inot package.xml
...
otherwise, when doing release, pecl net will sync the maintianers info
form package.xml
2013-03-06 11:22:20 +08:00
Anatol Belski
bfb8b9153b
fix ANSI C90 compat
2013-03-05 20:24:58 +01:00
Dmitry Stogov
c3c244af81
Fixed test
2013-03-05 22:49:31 +04:00
Dmitry Stogov
6ab1759369
Fixed uninitialized variable
2013-03-05 15:46:21 +04:00
Dmitry Stogov
fae0a738df
Fixed bug #64353 (Built-in classes can be unavailable with dynamic includes and Optimizer+)
2013-03-05 14:57:50 +04:00
Xinchen Hui
082741814a
skip if no IPv6 support
2013-03-05 17:18:13 +08:00
Xinchen Hui
e5d0dc24d2
Fix tests temporary
...
seems IPV6_PKTINFO are not avaiable in some OS
2013-03-05 16:56:00 +08:00
Dmitry Stogov
32904c6043
Merge branch 'master' of github.com:zend-dev/ZendOptimizerPlus
2013-03-05 12:18:57 +04:00
Dmitry Stogov
9c5039eabb
Save a stat() call by calling sapi_module.get_stat()
2013-03-05 12:17:18 +04:00
Xinchen Hui
1978dae309
Skip test on Apple
2013-03-05 14:02:28 +08:00
Xinchen Hui
3f67d5ae43
Revert "Fixed Bug #64340 (sockets tests failed) Patch by Reeze"
...
build break, will only leave the test script fix first
This reverts commit f2246f352f .
2013-03-05 13:58:20 +08:00
Xinchen Hui
3b78c87a36
Fixed #54 (PECL install adds extension= instead of zend_extension= to php.ini)
2013-03-05 13:37:49 +08:00
Xinchen Hui
8f991588b9
Merge pull request #52 from laruence/master
...
update package.xml for releasing 7.0.0
2013-03-04 05:35:14 -08:00
Pierre Joye
0404c38615
- fix path
2013-03-04 14:14:09 +01:00
Pierre Joye
e9a2642c89
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-03-04 14:06:09 +01:00
Xinchen Hui
a293bd1c4a
release 7.0.0
2013-03-04 19:49:53 +08:00
Dmitry Stogov
2c95834135
Increased version number
2013-03-04 15:29:02 +04:00
Dmitry Stogov
3b0da73d32
Preparaton for pecl release
2013-03-04 15:26:40 +04:00
Pierre Joye
5001f40e82
- add noisy php logo for autocrop with threshold test
2013-03-04 12:05:59 +01:00
Anatol Belski
2635408a0d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed PCRE locale crash in Windows/TS
2013-03-04 09:15:17 +01:00
Pierre Joye
2024ff3b61
- add test for imagecropauto
2013-03-04 07:26:07 +01:00
Stanislav Malyshev
b65d4d1cfc
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
rename NEWS back
updated NEWS
2013-03-03 13:24:00 -08:00
Anatol Belski
a5b6a0a25b
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
Rename to create a NEWS file per version to fix the annoying merging issue with NEWS files.
Rename to create a NEWS file per version to fix the annoying merging issue with NEWS files.
Rename to create a NEWS file per version to fix the annoying merging issue with NEWS files.
2013-03-03 19:23:06 +01:00
Anatol Belski
555d584a40
updated NEWS
2013-03-03 19:16:36 +01:00
Anatol Belski
b89c326578
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
updated NEWS
This commit was manufactured by cvs2svn to create tag 'NEWS'.
2013-03-03 19:15:37 +01:00
Derick Rethans
1e1de1554f
Rename to create a NEWS file per version to fix the annoying merging issue with NEWS files.
2013-03-03 13:10:24 -05:00
Anatol Belski
1cda84a986
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
merged PCRE 8.32
2013-03-03 19:10:12 +01:00
Derick Rethans
47ac3ec1f4
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-03 13:10:07 -05:00
Derick Rethans
c596850af6
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
NEWS
2013-03-03 12:58:42 -05:00
Pierre Joye
0a55c4b1dd
- (s)rgb distance works way better for now, re enable threshold
2013-03-03 05:30:12 +01:00
Xinchen Hui
46e612ada4
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-03 11:25:29 +08:00
Xinchen Hui
2413fa6fbb
Fix test after the convert_to_long be improved, see #64290
2013-03-03 11:13:52 +08:00
Xinchen Hui
505c6ca486
Fixed bug #64290 (behavior change of converting to long)
...
convert_to_long behavior has been improved
As Cataphrace said in IRC, the test should be fixed.
2013-03-03 10:59:15 +08:00
Xinchen Hui
f2246f352f
Fixed Bug #64340 (sockets tests failed) Patch by Reeze
...
Add __APPLE_USE_RFC_3542 for OS X 10.7 because IPv6 options are incompatible with RFC 2292.
2013-03-03 10:51:04 +08:00
Dmitry Stogov
68c265ce37
typo
2013-03-01 22:57:53 +04:00
Pierre Joye
7698bc5735
- disable threshold for now, will enable it again using CIEDE2000
2013-03-01 08:10:49 +01:00
Dmitry Stogov
28cd079adb
Added info anout zend_optimizerplus.mmap_base directice
2013-03-01 10:17:41 +04:00
Dmitry Stogov
a91292c6e9
Merge branch 'master' of https://github.com/Tyrael/ZendOptimizerPlus into test
2013-03-01 10:03:59 +04:00
Dmitry Stogov
aa1e91b130
Merge branch 'patch-1' of https://github.com/patrickallaert/ZendOptimizerPlus into test
2013-03-01 10:00:21 +04:00
Stanislav Malyshev
99b373da25
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
5.4.24-dev
5.3.23RC1
2013-02-28 21:30:02 -08:00
Ferenc Kovacs
0a29c8de7a
adding the package.xml for pecl
2013-02-28 22:38:09 +01:00
Pierre Joye
22aeb976e0
- add todo for threshold
2013-02-28 19:34:14 +01:00
Pierre Joye
0c32a18d4c
- clean and enable threshold
2013-02-28 19:22:06 +01:00
Pierre Joye
a991360344
- add image crop support
2013-02-28 17:24:23 +01:00
Patrick Allaert
171843a4e0
Fixed typo
2013-02-28 15:44:58 +01:00
Pierre Joye
82765a0780
- typo
2013-02-27 21:02:47 +01:00
Pierre Joye
74983a45cc
- fix name for imageflip constants, consistent witht the other
2013-02-27 20:23:31 +01:00
Pierre Joye
03d0bf633d
- add test
2013-02-27 20:22:45 +01:00
Pierre Joye
34adce6c47
- add constants for imageflip
2013-02-27 20:08:26 +01:00
Ilia Alshanetsky
23daa95d10
return false to be consistent
2013-02-27 13:54:56 -05:00
Ilia Alshanetsky
0039f160f2
Make the functions validate input parameters (or lack thereof)
2013-02-27 13:53:03 -05:00
Dmitry Stogov
d39a49a534
Correction
2013-02-27 21:35:24 +04:00
Ilia Alshanetsky
e1fb6ce365
Added missing calloc() result checks
2013-02-27 10:13:01 -05:00
Pierre Joye
efffdb4d7f
- add only once
2013-02-27 16:03:17 +01:00
Pierre Joye
98e43de7c5
- add new file for m4 as well
2013-02-27 16:02:54 +01:00
Pierre Joye
fa940a60de
- add image flip API support
2013-02-27 10:39:25 +01:00
Pierre Joye
e6414140e6
- add image flip API support
2013-02-27 10:39:16 +01:00
Pierre Joye
af5bf879aa
- add image flip API support
2013-02-27 10:39:09 +01:00
Pierre Joye
e26ea9df42
- add image flip API support
2013-02-27 10:38:55 +01:00
Pierre Joye
6a3623e199
- add image flip API support
2013-02-27 10:38:33 +01:00
Pierre Joye
246de922e6
- add image flip API support
2013-02-27 10:37:48 +01:00
Stanislav Malyshev
0d65a85cc0
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
5.4.13 branched, now it's 5.4.14
Conflicts:
configure.in
main/php_version.h
2013-02-26 22:26:36 -08:00
Stanislav Malyshev
84b65cf7ab
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add news for SOAP fixes
2013-02-26 22:20:50 -08:00
Stanislav Malyshev
207d0ee08a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Bug #52861 : unset fails with ArrayObject and deep arrays
2013-02-26 22:13:01 -08:00
Dmitry Stogov
a6e115e94e
Fixed typo
2013-02-26 23:05:24 +04:00
Remi Collet
7a3933a93b
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add support for ppc64p7 arch (Power7 optimized)
2013-02-26 14:35:47 +01:00
Dmitry Stogov
616214f929
Fixed build instruction
2013-02-26 11:26:51 +04:00
Dmitry Stogov
443a177b34
Emit the same error messages as without O+ (use "dups_fix" hack only for classes)
2013-02-26 01:34:11 +04:00
Dmitry Stogov
a7a355c741
Fixed memory leaks (avoid generation of unused results)
2013-02-26 01:32:24 +04:00
Dmitry Stogov
70f1cd9dc5
Execute shared memory initialization/deinitialization under exclusive lock
2013-02-25 16:35:44 +04:00
Dmitry Stogov
f463abc508
Fixed function prototypes
2013-02-25 16:06:38 +04:00
Dmitry Stogov
56baf17a17
Merge branch 'master' of https://github.com/laruence/ZendOptimizerPlus
...
Conflicts:
Optimizer/block_pass.c
2013-02-25 14:55:27 +04:00
Dmitry Stogov
cf102333a2
op_array->brk_count_array has to be kept even if op_array doesn't have BRK/CONT/GOTO opcodes.
...
It might be used to unlock "loop" or "switch" variable in case of exception.
2013-02-25 14:18:07 +04:00
Xinchen Hui
3da5b830c2
coding style improve
2013-02-25 15:29:54 +08:00
Xinchen Hui
c58b899470
remove useless configure option
2013-02-25 14:45:03 +08:00
Dmitry Stogov
ce69b86927
Ability to disable O+ per process (or process pool)
2013-02-25 10:35:59 +04:00
Dmitry Stogov
0c220d6fb3
Fixed build in a separate directory (Ilia Alshanetsky)
2013-02-25 10:04:03 +04:00
Dmitry Stogov
0d73c20d87
Fixed compilation, when compiling right into PHP (Ilia Alshanetsky)
2013-02-25 09:59:39 +04:00
Xinchen Hui
e75804c34e
Merge branch 'PHP-5.4' into PHP-5.5
2013-02-24 12:59:10 +08:00
Gustavo Lopes
59ec22b370
sendrecvmsg_shutdown function moved to mshutdown
...
The function php_socket_sendrecvmsg_shutdown() should have been called in
MSHUTDOWN, not RSHUTDOWN.
Bug only on TSRM builds.
Should fix bug #64287 .
2013-02-24 03:50:38 +01:00
Gustavo Lopes
189fbfd53b
Fix ext/sockets build with phpize
...
Fixes bug #64285
2013-02-24 00:49:25 +01:00
Gustavo Lopes
97f22702c4
Fix ext/intl build with phpize
...
Fixes bug #64284 .
2013-02-24 00:49:01 +01:00
Gustavo Lopes
fa3cb8608c
NEWS for 8718755
2013-02-23 18:07:01 +01:00
Gustavo Lopes
12745594a4
Remove trailing whitespace; break long lines
2013-02-23 18:01:52 +01:00
Gustavo Lopes
8718755c9f
Merge branch 'dval_to_lval' into PHP-5.5
...
* dval_to_lval:
Fix rounding of zend_dval_to_lval
Fix zend_dval_to_lval outside 64bit integers range
2013-02-23 17:59:28 +01:00
Gustavo Lopes
a86fcfbc1d
Fix rounding of zend_dval_to_lval
...
Now rounding is always towards zero; the rounding can be though as if
occurring on the original double. Only relevant for the 32-bit long
variant.
2013-02-23 16:55:50 +00:00
Gustavo Lopes
77566edbaf
Fix zend_dval_to_lval outside 64bit integers range
...
PHP should preserve the least significant bits when casting from double
to long. Zend.m4 contains this:
AC_DEFINE([ZEND_DVAL_TO_LVAL_CAST_OK], 1, [Define if double cast to long preserves least significant bits])
If ZEND_DVAL_TO_LVAL_CAST_OK is not defined, zend_operators.h had an
inline implementation of zend_dval_to_lval() that would do a cast to an
int64_t (when sizeof(long) == 4), then a cast to unsigned long and
finally the cast to long.
While this works well for doubles inside the range of values of the type
used in the first cast (int64_t in the 32-bit version and unsigned long
in the 64-bit version), if outside the range, it is undefined behavior
that WILL give varying and not particularly useful results.
This commit uses fmod() to first put the double in a range that can
safely be cast to unsigned long and then casts this unsigned long to
long. This last cast is implementation defined, but it's very likely
that this gives the expected result (i.e. the internal 2's complement
representation is unchanged) on all platforms that PHP supports. In any
case, the previous implementationa already had this assumption.
This alternative code path is indeed significantly slower than simply
casting the double (almost an order of magnitude), but that should not
matter because casting doubles with a very high absolute value is a
rare event.
2013-02-23 17:23:49 +01:00
Xinchen Hui
a1afc0a139
Simplify the install instructions
2013-02-23 15:34:10 +08:00
Dmitry Stogov
a9910f3ce2
white spaces
2013-02-22 18:09:26 +04:00
Dmitry Stogov
4fe4b0d593
Fixed memory leak
2013-02-22 17:22:43 +04:00
Dmitry Stogov
f2e8465017
Fixed memory leak
2013-02-22 17:10:34 +04:00
Andrey Hristov
64a2a8a753
relax the check
2013-02-22 13:50:04 +01:00
Andrey Hristov
1643d4ed56
Add some parameter checks
2013-02-22 13:17:46 +01:00
Dmitry Stogov
56818541c7
Started Test Suite
2013-02-22 14:06:02 +04:00
Dmitry Stogov
f1b76342d8
We build a zend_extension (not a regular PHP module).
2013-02-22 13:38:32 +04:00
Xinchen Hui
cddc2c35d9
Codes style improve
2013-02-22 14:56:05 +08:00
Johannes Schlüter
b479c2bffb
Merge branch 'PHP-5.4' into PHP-5.5
2013-02-21 16:50:59 +01:00
Johannes Schlüter
7b719235b3
Merge branch 'PHP-5.4' into PHP-5.5
2013-02-21 15:10:47 +01:00
Dmitry Stogov
8b7222e22f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
PHAR should modify entry timestamp when it's modified
2013-02-21 16:08:07 +04:00
Sara Golemon
ead2e1708d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
http-stream test requires network connectivity
2013-02-21 03:22:09 -08:00
Xinchen Hui
f39d12c821
Merge branch 'PHP-5.4' into PHP-5.5
2013-02-21 18:20:48 +08:00
Anatol Belski
22ae9efe6e
added back the older vc9 favours
2013-02-21 10:59:50 +01:00
Anatol Belski
27f8944eaa
updated lib versions
2013-02-21 10:32:56 +01:00
Anatol Belski
5ec06a1e5a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
updated lib versions
updated lib versions
2013-02-21 10:29:55 +01:00
Stanislav Malyshev
76160319a5
news for bug #49348
2013-02-21 00:56:00 -08:00
Stanislav Malyshev
d39554ac08
Merge branch 'bug49348' into PHP-5.5
...
* bug49348:
fix tests
fix bug #49348 - issue notice on get_property_ptr_ptr when used for read
2013-02-21 00:52:46 -08:00
Dmitry Stogov
3a06991ffd
Added ability to always validate cached script timestamps using zend_optimizerplus.revalidate_freq=0
2013-02-21 12:11:03 +04:00
Dmitry Stogov
20c623c9be
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed external entity loading
2013-02-20 22:30:59 +04:00
Dmitry Stogov
280bbaf301
Avoid unexpected warning messages (ext/standard/tests/file/fopencookie.phpt)
2013-02-20 18:04:07 +04:00
Johannes Schlüter
b157e05f57
Merge branch 'PHP-5.4' into PHP-5.5
2013-02-20 11:58:01 +01:00
Dmitry Stogov
b95964535c
Fixed compilation error
2013-02-20 11:21:15 +04:00
David Soria Parra
7e5f761e82
Start new NEWS section for beta1
2013-02-19 19:42:27 +01:00
David Soria Parra
a4bcc15c3b
News for PHP 5.5.0 Alpha 5
2013-02-19 19:41:46 +01:00
Dmitry Stogov
1fcdd25e83
Added check for calloc() failure
2013-02-19 18:21:31 +04:00
Dmitry Stogov
6ee2602317
Simplification
2013-02-19 18:15:11 +04:00
Dmitry Stogov
4813a71174
Fixed static analyser warning
2013-02-19 18:07:23 +04:00
Dmitry Stogov
3af305cc50
Removed redundand TSRMLS_FETCH()
2013-02-19 18:04:40 +04:00
Dmitry Stogov
2d87dce1ed
Avoid buffer overrun
2013-02-19 18:00:49 +04:00
Anatol Belski
43664e656d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix the test for curl 7.29.0+
2013-02-19 09:05:27 +01:00
Stanislav Malyshev
dc6f073ce9
fix tests
2013-02-18 23:01:42 -08:00
Stanislav Malyshev
0c6d903ce7
fix bug #49348 - issue notice on get_property_ptr_ptr when used for read
2013-02-18 20:56:02 -08:00
Dmitry Stogov
d77eb411ea
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #64070 (Inheritance with Traits failed with error)
Conflicts:
NEWS
Zend/zend_compile.c
2013-02-18 16:20:49 +04:00
Dmitry Stogov
511b33ccdf
Avoid warning about possible precision loss
2013-02-18 13:27:42 +04:00
Dmitry Stogov
40107aa6da
Use proper format specifier
2013-02-18 13:19:24 +04:00
Dmitry Stogov
53d4abb16c
Avoid static analyzer warning
2013-02-18 13:13:25 +04:00
Dmitry Stogov
f18678bbcf
Fixed signed/unsigned comparison warnings
2013-02-18 13:03:29 +04:00
Dmitry Stogov
e708dce674
Lenght is unsigned
2013-02-18 12:42:56 +04:00
Dmitry Stogov
d9ba147e5c
Avoid mixing declarations and code
2013-02-18 12:33:58 +04:00
Dmitry Stogov
a120178520
Added checks for malloc() failures
2013-02-18 11:34:10 +04:00
Dmitry Stogov
6d999b4379
Added check for CreateMutex() failure
2013-02-18 11:12:20 +04:00
Dmitry Stogov
908fc9dcc4
Fixed inconsistent start_accel_module() prototype and usage
2013-02-18 11:04:58 +04:00
Gustavo Lopes
91538e4e13
Cleanup some multicast code; fix for mac os x?
...
When I moved some stuff from sockets.c to multicast.c, I did not copy
some conditional defines for systems without the RFC 3678 API.
I moved such defines to multicast.h so both sockets.c and multicast.c
can benefit from them and I prefixed them with PHP_ so that it's less
confusing: now PHP_MCAST_* are defined to either the MCAST_* RFC 3678
APIs or to legacy APIs and MCAST_* always mean the (possibly undefined)
system definitions.
2013-02-17 22:42:58 +01:00
Stanislav Malyshev
17c6389e9e
fix protos
2013-02-17 13:33:48 -08:00
Stanislav Malyshev
0841eca580
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix bug #61930 : openssl corrupts ssl key resource when using openssl_get_publickey()
2013-02-17 13:29:34 -08:00
Anatol Belski
432d59ab55
fix free vs. curl_free
2013-02-17 20:29:20 +01:00
krakjoe
996485e0b2
bug #29 enable cli-server support
2013-02-17 15:48:31 +00:00
Stanislav Malyshev
d420368bc9
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update NEWS
2013-02-17 02:38:25 -08:00
Stanislav Malyshev
c877fcf6ec
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Added HTTP codes as of RFC 6585
2013-02-17 01:20:14 -08:00
Xinchen Hui
d3291de51a
Merge branch 'PHP-5.4' into PHP-5.5
2013-02-17 11:06:33 +08:00
Xinchen Hui
69b80a93de
Merge branch 'PHP-5.4' into PHP-5.5
2013-02-16 22:29:14 +08:00
Xinchen Hui
75742d57eb
Exceptions triggered by undefined variable should be handled before FATAL error
...
this is a enhancement of the fix for bug #64135
2013-02-16 22:22:22 +08:00
Dmitry Stogov
2b6eede1d3
Fixed warning about uninitialized variable (actually, it doesn't have to be initialized).
2013-02-15 18:06:48 +04:00
Dmitry Stogov
6693f1854d
Wrong value
2013-02-15 17:59:36 +04:00
Dmitry Stogov
bee06002d0
Fixed possible resource leak
2013-02-15 17:46:38 +04:00
Dmitry Stogov
4c97b6c8cf
"locked" must be a "module" global (local to thread)
2013-02-15 17:35:58 +04:00
Dmitry Stogov
d70ed26aaa
Added ZTS lock
2013-02-15 15:08:51 +04:00
Dmitry Stogov
bde294f8eb
Renamed ZCG(startup_ok) into "accel_startup_ok".
...
It must be a "true" global to make ZTS work.
(ZTS starts work, but ZTS O+ is not stable anyway)
2013-02-15 13:45:42 +04:00
Dmitry Stogov
f579ef5abe
Merge branch 'patch-1' of https://github.com/reeze/ZendOptimizerPlus
2013-02-15 10:51:29 +04:00
Reeze Xia
4fec381b3a
Typo fix
2013-02-15 13:48:37 +08:00
Daniel Gimenes
ddbe1b66ed
Fix typo in README
2013-02-15 00:00:40 -02:00
Boris Lytochkin
cddc9f598b
Fixed bug #64124 (IPv6 malformed)
2013-02-14 23:12:53 +04:00
Dmitry Stogov
aef92d22d5
Fixed compatibility with 5.2 and 5.3
2013-02-14 18:36:07 +04:00
Dmitry Stogov
5cd7c77545
Added Xdebug compatibility note
2013-02-14 18:20:34 +04:00
Dmitry Stogov
d8b84d9f80
Merge branch 'master' of https://github.com/thomasbley/ZendOptimizerPlus
2013-02-14 16:15:55 +04:00
Dmitry Stogov
a84b588208
Merge branch 'issue-ini' of https://github.com/remicollet/ZendOptimizerPlus
2013-02-14 16:03:32 +04:00
Thomas Bley
a9ff713a56
phpize is already in README
2013-02-14 12:44:07 +01:00
Thomas Bley
f0aa77a44d
Update README
2013-02-14 12:24:48 +01:00
Thomas Bley
8eb38dacac
added travis-ci config (make + load extension)
2013-02-14 12:20:50 +01:00
Dmitry Stogov
ded12158cc
Fixed phpinfo() output when O+ is not enabled for CLI
2013-02-14 13:19:06 +04:00
Dmitry Stogov
91e775df1b
Disabled unsafe optimization pattern
2013-02-14 13:06:30 +04:00
Remi Collet
071ab3cf37
also add load_comments
2013-02-14 09:24:11 +01:00
Remi Collet
92df8e208f
missing directives in accelerator_get_configuration
2013-02-14 09:21:45 +01:00
Remi Collet
d30b985015
missing directive in README (need doc)
2013-02-14 09:21:45 +01:00
Dmitry Stogov
afb43f5650
- Added zend_optimizerplus.load_comments configuration durective, so "Doc comments" may be always stored in SHM, but
...
restored only by applicaions that really need them.
- Added note, that zend_optimizerplus.save_comments is dangerous and may break applications and frameworks.
2013-02-14 11:59:23 +04:00
Dmitry Stogov
4bc28ae783
Revert renaming (md needs additional formatting tags)
2013-02-14 11:13:51 +04:00
Dmitry Stogov
37de7567b1
Renamed README into README.md
2013-02-14 11:09:36 +04:00
Dmitry Stogov
30ea6e100e
Merge branch 'master' of https://github.com/johnl/ZendOptimizerPlus
2013-02-14 11:04:37 +04:00
Dmitry Stogov
54a90b691f
Don't completely delete the "enabled condition".
2013-02-14 11:00:04 +04:00
Dmitry Stogov
18904d18c7
Merge branch 'master' of https://github.com/adoy/ZendOptimizerPlus
2013-02-14 10:57:59 +04:00
Dmitry Stogov
abb7788093
Merge branch 'master' of https://github.com/pierrejoye/ZendOptimizerPlus
2013-02-14 10:43:50 +04:00
Pierre Joye
dfcd77341d
- nuke unused variable
2013-02-14 07:41:18 +01:00
Dmitry Stogov
219decd8ec
This is a development version yet
2013-02-14 10:38:20 +04:00
Pierre Joye
f74c938c95
- fix windows build
2013-02-14 07:24:26 +01:00
Dmitry Stogov
44f892080d
Merge branch 'patch-1' of https://github.com/raziel057/ZendOptimizerPlus
2013-02-14 10:07:39 +04:00
Dmitry Stogov
bfcbe7849b
Avoid compilation of unsupported SHM backends
2013-02-14 10:01:29 +04:00
Pierrick Charron
30c3a59668
Avoid unnecessary code and change the type of accelerator_enabled
...
accelerator_enabled will always be true when accelerator_get_status
returns an array. Also the accelerator_enabled should be a boolean
and not a long
2013-02-13 14:25:38 -05:00
Thomas Lallement
8847f9107b
Fix typo
2013-02-13 19:56:44 +01:00
John Leach
54da28b015
Added LICENSE from http://www.php.net/license/3_01.txt
...
Closes #2
2013-02-13 18:47:31 +00:00
Dmitry Stogov
1bde2b4fc9
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Proper bit reset code
2013-02-13 22:07:57 +04:00
Dmitry Stogov
7334835143
Fixed zend_optimizerplus.enable_file_override=1 compatibility with PHP-5.3
2013-02-13 21:41:07 +04:00
sasezaki
2ba47175cf
typo at Optimizer/block_pass.c
2013-02-14 00:48:18 +09:00
Damien Tournoud
7c0e3ccdb6
Fix typos and grammar issues in README.
2013-02-13 16:08:19 +01:00
Ard Biesheuvel
65fa9f2c4b
Merge branch 'PHP-5.4' into PHP-5.5
2013-02-13 13:50:53 +01:00
Dmitry Stogov
aafc1456b0
spelling
2013-02-13 16:33:14 +04:00
Dmitry Stogov
528006a3b4
Open Source Release
2013-02-13 16:26:47 +04:00
Ard Biesheuvel
d1ad926aa4
Update config.sub/config.guess to latest GPLv2 upstream version
...
This adds the ability to configure/build for/on 64-bit ARMv8,
which uses the host triplet 'aarch64-linux-gnu'.
Source:
http://git.savannah.gnu.org/gitweb/?p=config.git;h=306afce
2013-02-11 17:53:30 +01:00
Ard Biesheuvel
dbad4fb3ad
NEWS update
2013-02-11 15:54:59 +01:00
Ard Biesheuvel
e2453276e9
Low-level ARM optimizations
...
- added ARM versions of zend_mm_high_bit()/zend_mm_low_bit()
- improved safe_address()
2013-02-11 14:36:58 +01:00
Ard Biesheuvel
aa12cdc361
Improve x86 inline assembler
...
- added cc annotation to inline asm that clobbers the condition
flags
- remove hardcoded constants (IS_LONG,IS_DOUBLE)
- remove hardcoded offsets (zval->value, zval->type)
2013-02-11 13:53:27 +01:00
Andrey Hristov
5bfdf4f069
build fixes
2013-02-11 12:07:10 +01:00
Remi Collet
1a954ea616
NEWS
2013-02-11 09:13:52 +01:00
Remi Collet
dc47ec0490
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #64142 (dval to lval different behavior on ppc64)
2013-02-11 09:13:27 +01:00
Stanislav Malyshev
ce005c0883
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update NEWS
mb_split() can now handle empty matches like preg_split() does.
2013-02-09 23:05:35 -08:00
Moriyoshi Koizumi
20eb33b321
mb_split() can now handle empty matches like preg_split() does.
2013-02-10 15:05:17 +09:00
Andrey Hristov
3d9a31efdf
news for mysqli_savepoint and mysql_release_savepoint
2013-02-08 18:33:45 +01:00
Andrey Hristov
a5b426eeff
update test case
2013-02-08 18:28:22 +01:00
Andrey Hristov
43ecd8fe1b
mysqli_savepoint()/mysqli_release_savepoint()
2013-02-08 18:09:50 +01:00
Andrey Hristov
0da369ae50
Add the constants needed for mysqli_commit(), _rollback() and
...
begin_transaction()
2013-02-08 17:05:25 +01:00
Andrey Hristov
666a835660
Add savepoint and rollback to savepoint support
2013-02-08 16:36:17 +01:00
Andrey Hristov
2d30a192f0
add the news about recent commits
2013-02-08 11:12:54 +01:00
Andrey Hristov
e1e22fd2e4
Merge branch 'PHP-5.5' of ssh://git.php.net/php-src into PHP-5.5
2013-02-07 20:35:30 +01:00
Andrey Hristov
afacdecd1f
Add support for begin_transaction in libmysql mode.
...
Add support for flags and name for commit/rollback in libmysql mode
2013-02-07 18:45:49 +01:00
Boris Lytochkin
e09211545c
Merge branch 'PHP-5.5' of https://git.php.net/push/php-src into PHP-5.5
2013-02-07 21:42:07 +04:00
Andrey Hristov
403d4fbbff
Export new calls
2013-02-07 18:29:19 +01:00
Xinchen Hui
7948eea6f9
Forgot test script
2013-02-07 23:49:35 +08:00
Xinchen Hui
ee825e0b42
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-02-07 23:45:28 +08:00
Xinchen Hui
290509755a
Fixed bug #64135 (Exceptions from set_error_handler are not always propagated)
2013-02-07 23:44:46 +08:00
Andrey Hristov
49e3d91ad9
Add the name in a comment at commit/rollback, if provided
2013-02-07 16:24:08 +01:00
Andrey Hristov
9fb0dba4be
Add support for commit and rollback options.
...
Add support for explicitly starting a transaction - modes also available.
Using the API makes the life of load balancer mysqlnd plugins easier/possible.
2013-02-07 16:05:27 +01:00
Dmitry Stogov
0547a36e95
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Disabled external entities loading
2013-02-07 16:09:49 +04:00
Boris Lytochkin
6c5c04888d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix bug #64124 (IPv6 malformed)
2013-02-07 14:49:45 +04:00
Dmitry Stogov
4730bc8680
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Check if soap.wsdl_cache_dir confirms to open_basedir
2013-02-07 13:12:01 +04:00
Anatoliy Belsky
215da6057f
make libvpx optional
2013-02-06 16:22:27 +01:00
Remi Collet
02ae4522f5
revert
2013-02-05 12:29:21 +01:00
Remi Collet
7b75a941ef
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
revert
2013-02-05 12:29:01 +01:00
Remi Collet
6585a7bd79
NEWS
2013-02-04 15:27:43 +01:00
Remi Collet
79956330fe
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #64142 (dval to lval different behavior on ppc64)
2013-02-04 15:27:07 +01:00
Andrey Hristov
c311884e5b
Merge branch 'PHP-5.4' into PHP-5.5
2013-02-04 14:28:23 +01:00
Andrey Hristov
cb8b2dd2e0
Merge branch 'PHP-5.5' of ssh://git.php.net/php-src into PHP-5.5
2013-02-04 14:15:29 +01:00
Xinchen Hui
53159f6e05
implicit declaration of zend_throw_exception
2013-02-04 14:20:50 +08:00
Felipe Pena
7369a68379
- Fixed ZTS build
2013-02-03 10:57:31 -02:00
Martin Jansen
60b5f6d463
News about FR #49180 .
2013-02-03 13:27:36 +01:00
Martin Jansen
6186b67600
Add option to specific the expected separator character.
2013-02-03 13:23:54 +01:00
Martin Jansen
0661d03eba
There is no need to use memchr() for comparisons in these places.
2013-02-03 13:23:53 +01:00
Martin Jansen
2f33443883
ext/filter support for validating MAC addresses.
2013-02-03 13:23:53 +01:00
Gustavo Lopes
8771c265a4
Fix test on Windows.
...
Windows complains of invalid parameters because the socket is not bound.
The test expected the error to be EAGAIN/EWOULDBLOCK. Moved the call down,
after the socket is bound.
2013-02-03 02:03:00 +01:00
Gustavo Lopes
a000920dfb
NEWS/UPGRADING for changes in sockets, intl
2013-02-03 01:59:35 +01:00
Gustavo Lopes
af1b90d62b
Fix bug and hopefully build on WinSDK 6.1
...
There build was failing on rmtools on the sockets extension for two reasons:
1. IPV6_TCLASS and IPV6_RECVTCLASS not being defined. These are probably
recent additions to SDK. Windows 7 doesn't event seem to have complete
support for IPV6_TCLASS, not accepting in WSASendMsg(). The parts that
needed this constant were not guarded by #ifdefs. They are now.
2. The constants EWOULDBLOCK and EINPROGRESS not being defined. These
were only defined in php_network.h, outside of the extension, and not
all source files included this header. Nevertheless, a macro defined in
php_sockets.h needed these constants. When this macro was used in files
that did not include php_network.h, the compilation would fail.
Surprisingly, the build did not fail when using the 7.1 Windows SDK
(more likely, the CRT headers used in VC10), as somehow errno.h was
being included through some other standard header. This would make the
constant EWOULDBLOCK defined; however, it would be defined to the wrong
value. In the winsock context, WSAEWOULDBLOCK should be used instead.
Because we have difficulty using Windows-only constants in the code, we
(re)define EWOULDBLOCK to WSAEWOULDBLOCK. This has the obvious
disavantage we may miss problems like this again in the future.
2013-02-03 01:36:14 +01:00
Gustavo Lopes
6ba5d0a4a5
Merge branch 'PHP-5.4' into PHP-5.5 (strategy ours)
...
* PHP-5.4:
Move macro back to .c file
2013-02-02 18:40:05 +01:00
Gustavo Lopes
03b1da5d7a
php_strerror in ext/sockets renamed in 5.5
2013-02-02 18:39:47 +01:00
Gustavo Lopes
b11777ca2a
Merge branch 'sendrecvmsg_rebase_55' into PHP-5.5
...
* sendrecvmsg_rebase_55: (31 commits)
Fix multicast.c not defining errno on Windows
Fix non-Windows build
send/recvmsg() support for Windows
Remove some pre-vista code
Revert "Payload of HOPLIMIT/TCLASS are 8-bit"
Ensure memory is initialized
Payload of HOPLIMIT/TCLASS are 8-bit
Fix buf in string -> int conv.
Build fixes; accept names for if_index
Refactoring: move stuff to new conversions.c
Support sticky IPV6_PKTINFO
Rename some functions for consistency
Destroy ancillary registry on shutdown
Move some multicast stuff to multicast.c
Fix mcast_ipv6_send test
Check return of fstat()
Fix build on Mac OS X
Register extra MSG_* constants
Add test for CMSG_RIGHTS
Add test for CMSG_CREDENTIALS message
...
2013-02-02 16:50:38 +01:00
Gustavo Lopes
e2fc17c833
Fix multicast.c not defining errno on Windows
...
Small cleanups in includes as well.
2013-02-02 16:38:09 +01:00
Gustavo Lopes
608254fa57
Fix non-Windows build
2013-02-02 16:38:09 +01:00
Gustavo Lopes
7066cc7267
send/recvmsg() support for Windows
2013-02-02 16:38:09 +01:00
Gustavo Lopes
8561680533
Remove some pre-vista code
2013-02-02 16:38:09 +01:00
Gustavo Lopes
95f8d34f9c
Revert "Payload of HOPLIMIT/TCLASS are 8-bit"
...
This reverts commit 61a5ec7381ba5388a52926779fe3f58af0caea83.
I checked Linux and OpenBSD and both use integers to write the
IPV6_TCLASS messages and they don't force any endianness. This is
despite RFC 3542 explicitly saying the first byte of cmsg_data will
have the result. In any case, it doesn't make any difference in
little-endian archs.
2013-02-02 16:38:08 +01:00
Gustavo Lopes
5c0a8b1a2a
Ensure memory is initialized
2013-02-02 16:38:08 +01:00
Gustavo Lopes
f10baf14ed
Payload of HOPLIMIT/TCLASS are 8-bit
2013-02-02 16:38:08 +01:00
Gustavo Lopes
c846fcef68
Fix buf in string -> int conv.
2013-02-02 16:38:08 +01:00
Gustavo Lopes
bd580db373
Build fixes; accept names for if_index
2013-02-02 16:38:08 +01:00
Gustavo Lopes
4414b33abd
Refactoring: move stuff to new conversions.c
2013-02-02 16:38:08 +01:00
Gustavo Lopes
66ea024587
Support sticky IPV6_PKTINFO
2013-02-02 16:38:08 +01:00
Gustavo Lopes
b18bd8904e
Rename some functions for consistency
2013-02-02 16:38:07 +01:00
Gustavo Lopes
8fb1aa6184
Destroy ancillary registry on shutdown
2013-02-02 16:38:07 +01:00
Gustavo Lopes
51394f76a5
Move some multicast stuff to multicast.c
2013-02-02 16:38:07 +01:00
Gustavo Lopes
3e515a2fd9
Fix mcast_ipv6_send test
2013-02-02 16:38:07 +01:00
Gustavo Lopes
5bf7b08efd
Check return of fstat()
2013-02-02 16:38:07 +01:00
Gustavo Lopes
190a0ed713
Fix build on Mac OS X
...
By deactivating unsupported features on this OS.
2013-02-02 16:38:07 +01:00
Gustavo Lopes
51e65667f5
Register extra MSG_* constants
2013-02-02 16:38:06 +01:00
Gustavo Lopes
74cf40c2fd
Add test for CMSG_RIGHTS
2013-02-02 16:38:06 +01:00
Gustavo Lopes
7fc4671df9
Add test for CMSG_CREDENTIALS message
2013-02-02 16:38:06 +01:00
Gustavo Lopes
a85d7f28f6
Added support for AF_UNIX messages
...
Added constants: SCM_RIGHTS, SCM_CREDENTIALS and SO_PASSCRED.
The function socket_cmsg_space() was modified to support message types with
variable size. Its new signature is:
int socket_cmsg_space(int $level, int $type, int $n)
where $n is the number of repetable elements that the message is composed of.
2013-02-02 16:38:06 +01:00
Gustavo Lopes
131245474b
Redactor to expose socket_import_file_descriptor()
2013-02-02 16:38:06 +01:00
Gustavo Lopes
b3effa60c7
Improve imported socket family detection
...
Also added constant SO_FAMILY.
2013-02-02 16:38:06 +01:00
Gustavo Lopes
17540788ad
Added missing return statements
2013-02-02 16:38:06 +01:00
Gustavo Lopes
0f849fe2aa
Add test and slightly tweak another
2013-02-02 16:38:06 +01:00
Gustavo Lopes
73ab2385cb
Support for IPV6_HOPLIMIT and IPV6_TCLASS
2013-02-02 16:38:05 +01:00
Gustavo Lopes
b27c22d627
Fix bug in from_zval_write_control_array()
2013-02-02 16:38:05 +01:00
Gustavo Lopes
b06f00477c
Fix bug converting zval sockaddr
...
The bug ocurred when the family was not specified but was instead guessed.
2013-02-02 16:38:05 +01:00
Gustavo Lopes
806a6e6399
Add IPV6_UNICAST_HOPS option constant.
2013-02-02 16:38:05 +01:00
Gustavo Lopes
eb4b1f6d46
Add test for recvmsg()
2013-02-02 16:38:05 +01:00
Gustavo Lopes
5e51c85143
Wrap recvmsg() and sendmsg()
...
This introduces two new functions:
int socket_recvmsg(resource $socket, array &$msghdr, int $flags)
int socket_sendmsg(resource $socket, array $msghdr, int $flags)
The arrays representing struct msghdr follow the native counterpart
closely: structs are mapped to arrays, fields to array elements whose
key is the name of the field without the prefix (e.g. "name" instead
of "msg_name") and array are mapped to sequential numeric PHP arrays.
Right now the only type of ancillary data supported is fot the
level/type pair IPPROTO_IPV6/IPV6_PKTINFO.
I also refactored out the name resolution functions and made
sockets_strerror() a global function.
2013-02-02 16:38:05 +01:00
Gustavo Lopes
ac47448abb
Ignore warnings on EAGAIN/EWOULDBLOCK/EINPROGRESS
...
See bug #63570
2013-02-02 15:43:05 +01:00
Gustavo Lopes
e8f0e863ae
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix wrong blocking state being set
Fix tests (Windows)
Remove a Windows only warning
Move & improve PHP_SOCKET_ERROR def
Move some declarations to sockets.c
Fix overbroad skipif include
2013-02-02 15:32:03 +01:00
Nikita Popov
114245c1b9
Fix bug #63830 : Segfault on undefined function call in nested generator
...
This also reverses the destruction order of the pushed arguments to
align with how it is done everywhere else.
I'm not exactly sure whether this is the right way to fix it, but it
seems to work fine.
2013-02-01 19:53:04 +01:00
Remi Collet
2117b8edd1
NEWS
2013-02-01 19:27:10 +01:00
Remi Collet
5d3501c7d4
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #64128 buit-in web server is broken on ppc64.
2013-02-01 19:26:11 +01:00
Nikita Popov
3ee20e450f
Fix segfault when cloning generator with properties
...
Rule of thumb: Always implement the object clone handler rather
than the object storage clone handler. Actually I think we should
drop the latter. It's nearly never usable.
2013-02-01 18:33:26 +01:00
Andrey Hristov
642cff08c1
Merge branch 'PHP-5.4' into PHP-5.5
2013-02-01 17:22:21 +01:00
Anatoliy Belsky
ac18c318dc
fix enchant compilation under vc11
2013-02-01 12:43:26 +01:00
Johannes Schlüter
9c821ec7a1
Merge branch 'PHP-5.4' into PHP-5.5
2013-02-01 12:32:00 +01:00
Remi Collet
4608341303
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Mark this test as requiring internet connecion.
2013-01-31 14:39:42 +01:00
Remi Collet
4ad5c82016
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix failed test: sys_errlist[116] have changed on recent glibc (Fedora 18) old: Stale NFS file handle new: Stale file handle
2013-01-31 14:25:43 +01:00
Johannes Schlüter
6167f9dc8d
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-31 00:59:10 +01:00
Lars Strojny
6b48a86a17
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-31 00:33:46 +01:00
Nikita Popov
8b972efe5f
Fix potential segfault when finally in a generator is run during shutdown
...
If a generator is destroyed in a finally block it will resume the generator to run that finally
block before freeing the generator. This was done in the object storage free handler.
Running user code in the free handler isn't safe though because the free handlers may be run
during request shutdown, already after several key components have been shut down.
This is avoided by doing the finally handling in the dtor handler. These handlers are run at the
start of the shutdown sequence.
2013-01-30 23:52:02 +01:00
Nikita Popov
f540e086e2
Fixed bug #64106 : Segfault on SplFixedArray[][x] = y when extended
2013-01-30 20:40:02 +01:00
Jelle Zijlstra
86b3643807
Fix build problem in C++11
2013-01-30 19:08:24 +01:00
Ferenc Kovacs
f0fe3d2dbe
having xz makes it three. thanks Mike Ford for spotting it
2013-01-30 17:39:13 +01:00
Ferenc Kovacs
cbdf9ea34c
now we have also an xz archive
2013-01-30 14:12:38 +01:00
Stanislav Malyshev
15e76e6a98
forgot this file :(
2013-01-29 15:02:55 -08:00
Stanislav Malyshev
26de5cc57f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
branched 5.4.12
update NEWS
Conflicts:
configure.in
main/php_version.h
2013-01-29 12:34:45 -08:00
Stanislav Malyshev
748b37654d
complete zts fix
2013-01-29 12:12:34 -08:00
Johannes Schlüter
78d3e66f3a
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-29 19:50:14 +01:00
Johannes Schlüter
078b025a15
Merge branch 'PHP-5.5' of git.php.net:/php-src into PHP-5.5
2013-01-29 19:50:00 +01:00
Gustavo Lopes
3bedc8ec27
Fixed paramter count
2013-01-29 19:19:51 +01:00
Gustavo Lopes
9d1bdaa569
Make converter work on VS
2013-01-29 19:19:49 +01:00
Gustavo Lopes
1da67fc65e
intl/converter in line w/ intl error handling
2013-01-29 19:06:15 +01:00
Gustavo Lopes
a721fe2b22
Fix zpp() call in intl/converter
2013-01-29 19:06:14 +01:00
Gustavo Lopes
ee6522bebf
Write local err on intlcal_get_time_zone() failure
2013-01-29 19:06:14 +01:00
Gustavo Lopes
363fd6d6fb
Improve ERROR.CONVENTIONS
2013-01-29 19:06:14 +01:00
Gustavo Lopes
b4ba46cb99
Fix arginfo of BreakIterator::getLocale
2013-01-29 19:06:14 +01:00
Gustavo Lopes
4badc0c071
intl: doc explaining error conventions
2013-01-29 19:06:14 +01:00
Sara Golemon
1faddd15d9
Add UConverter class (ICU's UConverter API)
...
RFC at http://wiki.php.net/rfc/uconverter
2013-01-29 19:05:14 +01:00
Felipe Pena
37c304b5db
- Fixed ZTS build
2013-01-29 09:26:54 -02:00
Stanislav Malyshev
489073b501
Merge branch 'PHp-5.4' into PHP-5.5
...
* PHp-5.4:
Fix bug #62524 , only follow redirects in file streams for 3xx HTTP statuses
2013-01-29 00:28:50 -08:00
Stanislav Malyshev
389d41cc2e
Add news for bug #60524
2013-01-28 22:55:55 -08:00
ALeX Kazik
475a644bd8
Implemented Feature #60524 (sys_temp_dir)
...
Added a new configuration directive which allows it to change the
temporary directory, the default behavior is unchanged.
This is a useful option if you use all/some hosts inside of one .ini file
with sections and want to change the temp dir per user (maybe it's not
allowed to write outside the users home directory). Since the TMPDIR
variable affects the whole php that way can not be used for this scenario.
(see https://bugs.php.net/bug.php?id=60524 )
2013-01-28 22:37:43 -08:00
Stanislav Malyshev
a9d013bb02
Implement fix for bug #46439 - add CURLFile class for safer uploads
2013-01-28 22:22:59 -08:00
Stanislav Malyshev
420bcc1a8e
add new features
2013-01-28 12:13:13 -08:00
Anatoliy Belsky
263a220997
allow for libpng 1.5.x
2013-01-28 13:23:31 +01:00
Stanislav Malyshev
184db665eb
fix bug #60833 - self, parent, static behave inconsistently case-sensitive
2013-01-27 18:02:51 -08:00
Stanislav Malyshev
581db9c5fa
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix missing parameter
2013-01-27 17:11:36 -08:00
Stanislav Malyshev
d86e14b8f6
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix tests
2013-01-23 10:45:01 -08:00
Stanislav Malyshev
dc617c74fa
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
fix valgrind warning
Fix bug #64023 (__toString() & SplFileInfo)
Fix test related to change for #bug64007 and also fix in newInstanceArgs
NEWS: Start PHP 5.5.0 Beta 1 section
NEWS for PHP 5.5.0alpha4
Fix NEWS
2013-01-23 10:44:53 -08:00
Stanislav Malyshev
beb5c8e551
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix tests
2013-01-23 10:44:38 -08:00
Stanislav Malyshev
bcf922b0f8
fix tests
2013-01-23 10:44:25 -08:00
Gustavo Lopes
fc7b054c2d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #64023 (__toString() & SplFileInfo)
2013-01-23 13:24:50 +01:00
Andrey Hristov
95346c017c
fix valgrind warning
2013-01-22 16:48:39 +01:00
Xinchen Hui
e6bde1f8f6
Fix test related to change for #bug64007 and also fix in newInstanceArgs
2013-01-22 16:58:40 +08:00
David Soria Parra
51e5022364
NEWS: Start PHP 5.5.0 Beta 1 section
2013-01-22 09:45:04 +01:00
David Soria Parra
ca734cfbc7
NEWS for PHP 5.5.0alpha4
2013-01-22 09:42:04 +01:00
David Soria Parra
03ff2b301c
Fix NEWS
2013-01-22 09:41:53 +01:00
Stanislav Malyshev
92b5bdc231
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
Merge fix of #62836 to ?.re, and regenerate ?.c
Fixed bug #64007 (There is an ability to create instance of Generator by hand).
- Fixed ZTS build
Class Name Resolution As Scalar Via "class" Keyword
2013-01-22 00:36:26 -08:00
Stanislav Malyshev
d78f5ababe
fix tests
2013-01-22 00:36:07 -08:00
Xinchen Hui
85fae636d0
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
ext/standard/var_unserializer.c
2013-01-21 11:42:16 +08:00
Xinchen Hui
f7b99c481d
Fixed bug #64007 (There is an ability to create instance of Generator by hand).
...
Use get_constrctor instead of access of the ce->constructor directly
2013-01-19 17:01:57 +08:00
Felipe Pena
e23fca8910
- Fixed ZTS build
2013-01-18 22:15:08 -02:00
Lars Strojny
087a188702
Merge branch 'PHP-5.5' of git://github.com/php/php-src into PHP-5.5
2013-01-19 01:06:13 +01:00
Lars Strojny
8991ed016f
Class Name Resolution As Scalar Via "class" Keyword
2013-01-19 01:00:47 +01:00
Stanislav Malyshev
cd619b47f3
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
Fixed bug #63988 (Two Date tests fail) only for PHP-5.5
- Fixed ZTS build
Dereferencing process-handles no longer waits on those processes.
revert change. now it doesn't compile again...someone should fix ext/date...
Use two dtors thus allow allocation based on the alloc model of the connection.
plug a leak - forgot ot use the dtor already written
Revert "Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa."
Revert "Update fputcsv() to escape all characters equally."
Add support for connect attributes, as of MySQL 5.6
Bug #62489 : dba_insert not working as expected
UPGRADING.INTERNALS: document zend_qsort_r
Add zend_qsort_r & use it in strtr
NEWS for bug #63893
Update README.PARAMETER_PARSING_API
Export zend_parse_parameter()
Expose zend_parse_arg() as zend_parse_parameter()
zend_parse_parameters: allow ! for non pointers
2013-01-18 13:42:19 -08:00
Stanislav Malyshev
deeacc7106
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix bug #63462 (Magic methods called twice for unset protected properties)
NEWS for bug #64011 . See 77ee200
Fix bug #64011 (get_html_translation_table())
Fix News
Update the arguments in the prototype of fpm_socket_unix_test_connect().
fixed build
NEWS for bug #63893
Fixed inconsequential bug in strtr()
Revert "Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa."
Revert "Update fputcsv() to escape all characters equally."
Remove _GNU_SOURCE, add local heap sort
The compiler can figure this out
Remove unused block
strtr() with 2nd param array - optimization
Refactoring, bugs & leaks
Optimize strtr w/ 2nd arg array
2013-01-18 13:42:04 -08:00
Gustavo Lopes
cd2b03d5ae
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
NEWS for bug #64011 . See 77ee200
Fix bug #64011 (get_html_translation_table())
Fix News
2013-01-18 12:12:25 +01:00
Xinchen Hui
4eae087296
Fixed bug #63988 (Two Date tests fail) only for PHP-5.5
2013-01-18 15:49:36 +08:00
Gustavo Lopes
b8603035d0
Merge remote-tracking branch 'cataphract/zpp_improv' into PHP-5.5
...
See https://wiki.php.net/rfc/zpp_improv
* cataphract/zpp_improv:
Update README.PARAMETER_PARSING_API
Export zend_parse_parameter()
Expose zend_parse_arg() as zend_parse_parameter()
zend_parse_parameters: allow ! for non pointers
2013-01-16 23:37:06 +01:00
Johannes Schlüter
d7d9ce0f42
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-16 17:38:55 +01:00
Adam Harvey
77010bf9bf
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Update the arguments in the prototype of fpm_socket_unix_test_connect().
2013-01-16 10:19:13 +08:00
Felipe Pena
2f7aafe992
- Fixed ZTS build
2013-01-15 19:59:23 -02:00
Anatoliy Belsky
18e160411e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fixed build
NEWS for bug #63893
Conflicts:
NEWS
2013-01-15 22:39:49 +01:00
Jille Timmermans
dba22c0864
Dereferencing process-handles no longer waits on those processes.
...
Implements FR #46487
2013-01-15 21:50:35 +01:00
Gustavo Lopes
1bd193ed36
Merge remote-tracking branch 'remotes/cataphract/strtr_wu94_55' into PHP-5.5
...
* remotes/cataphract/strtr_wu94_55:
Fixed inconsequential bug in strtr()
UPGRADING.INTERNALS: document zend_qsort_r
Add zend_qsort_r & use it in strtr
NEWS for bug #63893
Remove _GNU_SOURCE, add local heap sort
The compiler can figure this out
Remove unused block
strtr() with 2nd param array - optimization
Refactoring, bugs & leaks
Optimize strtr w/ 2nd arg array
2013-01-15 21:45:22 +01:00
Gustavo Lopes
88b82ae54d
Merge branch 'strtr_wu94_54' into strtr_wu94_55
2013-01-15 17:26:24 +01:00
Andrey Hristov
5cfa916aad
revert change. now it doesn't compile again...someone should fix ext/date...
2013-01-15 12:20:58 +01:00
Andrey Hristov
acc24d1f9e
Use two dtors thus allow allocation based on the alloc model of the
...
connection.
2013-01-15 12:19:52 +01:00
Andrey Hristov
d377a266b2
plug a leak - forgot ot use the dtor already written
2013-01-15 11:32:44 +01:00
Andrey Hristov
5718568830
Merge branch 'PHP-5.5' of ssh://git.php.net/php-src into PHP-5.5
2013-01-15 11:07:32 +01:00
Andrey Hristov
22ba2b95ce
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
NEWS
2013-01-15 11:06:59 +01:00
Adam Harvey
ef86530a56
Revert "Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa."
...
This reverts commit 0510701474 .
2013-01-15 17:40:30 +08:00
Adam Harvey
cab290d2ad
Revert "Update fputcsv() to escape all characters equally."
...
On second thoughts, while the behaviour _is_ broken, this isn't the right fix.
This reverts commit 9b5cb0e805 .
2013-01-15 17:40:30 +08:00
Andrey Hristov
dc495bbe95
Merge branch 'PHP-5.5' of ssh://git.php.net/php-src into PHP-5.5
2013-01-15 10:05:54 +01:00
Andrey Hristov
1ff4352263
Add support for connect attributes, as of MySQL 5.6
2013-01-15 10:04:59 +01:00
Lars Strojny
eb40f73ca0
Bug #62489 : dba_insert not working as expected
2013-01-15 09:30:44 +01:00
Stanislav Malyshev
6dc80f080e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix NEWS
2013-01-15 00:08:29 -08:00
Stanislav Malyshev
10cd61386e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix NEWS
2013-01-15 00:07:07 -08:00
Stanislav Malyshev
643e7a54ec
fix NEWS
2013-01-15 00:06:35 -08:00
Adam Harvey
8bf937f9bf
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa.
2013-01-15 15:50:57 +08:00
Xinchen Hui
4fa5c1d22d
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-15 15:33:26 +08:00
Adam Harvey
ba32970710
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Update fputcsv() to escape all characters equally.
2013-01-15 15:26:25 +08:00
Adam Harvey
be1700d467
Fix compile failure introduced by the fix for bug #46408 .
2013-01-15 10:08:26 +08:00
Lars Strojny
3ea2b73a30
Merge branch 'PHP-5.5' of git://github.com/php/php-src into PHP-5.5
2013-01-14 21:41:24 +01:00
Derick Rethans
6313fc7e10
Added NEWS item for DateTimeImmutable
2013-01-14 20:36:48 +00:00
Lars Strojny
c4de702d4e
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-14 21:36:28 +01:00
Derick Rethans
c20911a850
Make DatePeriod support DateTimeImmutable as well.
...
If the start element is a DateTimeImmutable object, then all returned objects
are also DateTimeImmutable objects. If the start element is a DateTime object,
then all returned objects are DateTime objects.
2013-01-14 20:34:58 +00:00
Derick Rethans
a0618139c9
Fixed crash bug when the non-OO interface was used.
2013-01-14 20:34:58 +00:00
Derick Rethans
017b1f7fca
Rename DateTimePoint to DateTimeImmutable.
2013-01-14 20:34:58 +00:00
Derick Rethans
a0bea9a1de
Added another test to test the unmodified inherited methods.
2013-01-14 20:34:58 +00:00
Derick Rethans
3919d0adf7
Added a few missing TSRMLS_DC/TSRMLS_CC.
2013-01-14 20:34:58 +00:00
Derick Rethans
45a429200c
Added a test case for DateTimePoint.
2013-01-14 20:34:57 +00:00
Derick Rethans
1cc61f0927
Implemented immutable DateTime objects as the DateTimePoint class.
2013-01-14 20:34:57 +00:00
Lars Strojny
92965b033a
Bug #46408 : Fix double formatting for PostgreSQL bound parameters
2013-01-14 21:23:52 +01:00
Lars Strojny
785e66adb5
PR #260 : Update css for 404 pages to feel more up to date and have a consistent layout across browsers
2013-01-14 20:43:14 +01:00
Lars Strojny
97157b376f
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-14 18:53:40 +01:00
Lars Strojny
3ec2281298
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-14 18:00:00 +01:00
Lars Strojny
b16463a9fb
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-14 17:36:07 +01:00
Gustavo Lopes
70b25e9c61
UPGRADING.INTERNALS: document zend_qsort_r
2013-01-14 17:27:20 +01:00
Gustavo Lopes
22390d3393
Add zend_qsort_r & use it in strtr
2013-01-14 17:24:16 +01:00
Gustavo Lopes
1ce5a22589
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
NEWS
2013-01-14 17:19:23 +01:00
Gustavo Lopes
200242595d
NEWS for bug #63893
2013-01-14 17:17:58 +01:00
Ben Ramsey
3439a098a0
array_column: Removed array_pluck() alias
2013-01-14 10:04:14 -06:00
Xinchen Hui
be07f815f2
Use zend_unmangle_property_name_ex to save strlen
2013-01-14 17:08:21 +08:00
Xinchen Hui
62059c16ee
Fixed bug #63980 (object members get trimmed by zero bytes)
2013-01-14 16:23:22 +08:00
Adam Harvey
fe27146b1b
Tinker with UPGRADING's wording for the format string changes for clarity.
2013-01-14 13:54:43 +08:00
Stanislav Malyshev
30fd25bb49
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix bug #63982 : isset() inconsistently produces a fatal error on protected property
different OSes have different messages, and that's not what the test is about anyway
2013-01-13 17:27:05 -08:00
Arnaud Le Blanc
718afb9acf
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-13 15:47:12 +01:00
Ben Ramsey
a1876b6846
array_column: Set array_pluck as an alias for array_column
2013-01-11 17:09:34 -06:00
Ben Ramsey
5bc2854b37
array_column: Implement ability to specify an index column
2013-01-11 16:58:31 -06:00
Ben Ramsey
94d5b2519a
Cleaning up a memory leak.
2013-01-11 14:16:20 -06:00
Ben Ramsey
20ab30339d
array_column: Adding test for IS_OBJECT and converting object to string
2013-01-11 14:16:19 -06:00
Ben Ramsey
66a02eb25e
array_column: Using add_next_index_zval() at nikic's recommendation.
2013-01-11 14:16:19 -06:00
Ben Ramsey
5f6b20a44d
array_column: Improved tests
2013-01-11 14:16:19 -06:00
Ben Ramsey
e921d28ae3
array_column: Cleaning up, as recommended in pull request #56 comments
2013-01-11 14:16:19 -06:00
Ben Ramsey
10da6f00b8
Fixing typo in test for array_column()
2013-01-11 14:16:19 -06:00
Ben Ramsey
6a27b890e6
Simplify the code and use zend_hash_next_index_insert()
2013-01-11 14:16:19 -06:00
Ben Ramsey
dc4dfe8ae0
Adding test for columns not present in all rows for array_column().
2013-01-11 14:16:19 -06:00
Ben Ramsey
a811e5b6f7
Adding tests for the negative results of array_column()
2013-01-11 14:16:19 -06:00
Ben Ramsey
9035a1ed24
Implement new array function array_column()
...
array_column() returns the values of the specified column from a
multi-dimensional array.
2013-01-11 14:16:19 -06:00
Dmitry Stogov
52dd0d1c73
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed uninitialized zval.type (Yoram)
2013-01-10 18:54:37 +04:00
ULF WENDEL
f787e21ef5
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
MySQL 5.6 EXPIRE PASSWORD flag tests
2013-01-10 14:53:46 +01:00
Remi Collet
b3a934bdb3
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix test after fix for bug #63943 (Bad warning text from strpos() on empty needle) See commit c05ee74e7f
2013-01-10 11:18:25 +01:00
Andrey Hristov
846e506a3d
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-09 19:15:29 +01:00
Andrey Hristov
790096b68b
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
ext/mysqlnd/mysqlnd_enum_n_def.h
2013-01-09 19:03:56 +01:00
Andrey Hristov
1f7f8429af
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
ext/mysqlnd/mysqlnd.c
2013-01-09 18:40:57 +01:00
Andrey Hristov
cb6071ef54
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
ext/mysqlnd/mysqlnd.c
2013-01-09 18:30:56 +01:00
Gustavo Lopes
428aec8ce3
Update README.PARAMETER_PARSING_API
2013-01-09 17:16:40 +01:00
Gustavo Lopes
07590e6e45
Export zend_parse_parameter()
2013-01-09 17:00:04 +01:00
Andrey Hristov
ddcb67d446
support for password expiration in mysqlnd, through a flag
2013-01-09 15:33:07 +01:00
Andrey Hristov
83f736aad4
Merge branch 'PHP-5.5' of ssh://git.php.net/php-src into PHP-5.5
2013-01-09 15:07:26 +01:00
Dmitry Stogov
c3ebd6305e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed compilator bug that might cause jump depended on unitialized value
2013-01-09 17:52:48 +04:00
Andrey Hristov
b8a369f522
Add new constants
2013-01-09 14:50:43 +01:00
Dmitry Stogov
326f896739
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #63882 (zend_std_compare_objects crash on recursion)
Conflicts:
NEWS
2013-01-09 11:32:40 +04:00
Xinchen Hui
6deb8361f3
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-09 10:57:47 +08:00
Adam Harvey
9566314d62
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Add NEWS for the previously cherry picked commit.
sapi/litespeed/lsapi_main.c: Fix bug #63228
Conflicts:
sapi/litespeed/lsapi_main.c
2013-01-08 11:45:26 +08:00
Andrey Hristov
cde53e7fcd
fix different values of mysqli_stmt_affected_rows between libmysql
...
and mysqlnd (in favor of libmysql) before execute and after prepare()
2013-01-07 16:36:21 +01:00
Pierre Joye
f4142a92b2
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- fix the fix for bug #50524
2013-01-07 13:04:29 +01:00
Pierre Joye
a71e91626a
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- fix the fix for bug #50524
2013-01-07 13:04:04 +01:00
Pierre Joye
c0fae054c9
- fix the fix for bug #50524
2013-01-07 13:03:12 +01:00
Anatoliy Belsky
8a481c711a
fix windows build
2013-01-06 18:37:26 +01:00
Derick Rethans
98331c89a1
Merge branch 'PHP-5.5' of git.php.net:/php-src into PHP-5.5
2013-01-06 15:10:16 +00:00
Derick Rethans
4ff088d061
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-06 15:07:25 +00:00
Lars Strojny
a951693cfb
News entry for bug #52126
2013-01-06 15:13:32 +01:00
Martin Jansen
371372714d
Add unit test for mail.log ini setting.
2013-01-06 15:04:27 +01:00
Martin Jansen
4a3bf25e3f
Add a timestamp to the mail log.
...
This patch is loosely based on the one in bug #52126 but instead of
using a UNIX timestamp it uses the date format also being used by
error_log et al.
2013-01-06 15:04:19 +01:00
Lars Strojny
853ef3c9cb
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-06 14:54:40 +01:00
Lars Strojny
9934efff5f
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-06 14:10:07 +01:00
Xinchen Hui
742b0e5b92
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2013-01-06 10:23:51 +08:00
Xinchen Hui
cbb5d42b9b
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-06 10:23:21 +08:00
Lars Strojny
ec2fff80e7
Bug #23955 : allow specifiy max age for setcookie()
2013-01-06 03:22:44 +01:00
Lars Strojny
f3824ad166
Bug #63699 performance improvements for ext/date by only validating timezone when timezone is set
2013-01-06 02:10:16 +01:00
Pierrick Charron
f85e5950ab
Improve resource management for curl handle
...
Previous implementation was using its own refcounting (uses field of
the php_curl struct). zend_list_add/remove already implements its own
refcount, so we don't need to use an other one.
2013-01-05 11:07:59 -05:00
Xinchen Hui
c4f2a20f15
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-04 11:05:53 +08:00
Stanislav Malyshev
1dda0c55d5
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
remove set but not used variables
2013-01-03 17:33:13 -08:00
Stanislav Malyshev
a72102f267
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
5.4.12-dev
This will be PHP 5.3.22
Conflicts:
configure.in
main/php_version.h
2013-01-03 17:27:19 -08:00
Johannes Schlüter
c2ad8926e7
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-03 23:00:17 +01:00
Remi Collet
b3a8609837
remove set but not used variables
2013-01-02 16:48:46 +01:00
Stanislav Malyshev
ff6b9a4b68
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add bug #63762
2013-01-01 22:10:10 -08:00
Stanislav Malyshev
39df129161
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add fix #43177
2013-01-01 21:24:37 -08:00
Stanislav Malyshev
80a9a80a52
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Bug #43177 : If an eval() has a parse error, the overall exit status and return code should not be affected.
fix NEWS
Conflicts:
main/main.c
2013-01-01 21:20:35 -08:00
Pierrick Charron
343a9199bb
Remove passwd handler from struct when not needed
...
CURLOPT_PASSWDFUNCTION was removed in cURL 7.15.5, the passwd field
will not be used for version greater than this one
2013-01-01 21:12:02 -05:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Xinchen Hui
f01c295dc6
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-01 16:31:06 +08:00
Pierrick Charron
8228597ecc
Fixed bug #63874 (Segfaul if php_strip_whitespace has heredoc)
...
T_END_HEREDOC don't carry a token value anymore since commit 4cf90e06c
Bugfix by Nikita for bug #60097
2012-12-29 23:11:37 -05:00
Lars Strojny
f8a9a47e8c
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-29 03:36:06 +01:00
Pierrick Charron
722b8fb80e
Add new curl options
...
Addes new curl options CURLOPT_TELNETOPTIONS, CURLOPT_GSSAPI_DELEGATION,
CURLOPT_ACCEPTTIMEOUT_MS, CURLOPT_SSL_OPTIONS, CURLOPT_TCP_KEEPALIVE,
CURLOPT_TCP_KEEPIDLE and CURLOPT_TCP_KEEPINTVL.
2012-12-28 00:51:04 -05:00
Pierrick Charron
8b67981b67
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed #63859 Memory leak when reusing curl-handle
2012-12-27 13:37:11 -05:00
Pierrick Charron
61afb2bb8f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Revert "Remove a useless memory write in zend_llist_del_element"
2012-12-26 10:18:46 -05:00
Pierrick Charron
8456cef1db
Fix ext/curl tests to work on every libcurl versions
...
Thanks Laruence :)
2012-12-26 00:43:37 -05:00
Pierrick Charron
5a97c30efe
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Remove a useless memory write in zend_llist_del_element
2012-12-25 20:59:20 -05:00
Dmitry Stogov
8e6bf9e5e5
spelling
2012-12-25 16:23:52 +04:00
Dmitry Stogov
7625a3b3b4
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
spelling
2012-12-25 16:22:07 +04:00
Dmitry Stogov
016f3c8610
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed ZTS build
2012-12-25 13:39:02 +04:00
Dmitry Stogov
bc0425c025
Removed deprecated fields
2012-12-25 10:47:43 +04:00
Dmitry Stogov
b8c719c068
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Traits refactoring
2012-12-25 10:33:01 +04:00
Nikita Popov
be7b0bc3ec
Implement Generator::throw() method
...
Generator::throw($exception) throws an exception into the generator. The
exception is thrown at the current point of suspension within the generator.
It basically behaves as if the current yield statement were replaced with
a throw statement and the generator subsequently resumed.
2012-12-24 00:27:55 +01:00
Pierrick Charron
24f1ef1b02
Update NEWS
2012-12-23 17:48:05 -05:00
Pierrick Charron
33f44af1a7
New curl_pause() function
...
Add the curl_pause function (binding of curl_easy_pause).
Using this function, you can explicitly mark a running connection
to get paused, and you can unpause a connection that was
previously paused.
2012-12-23 17:13:49 -05:00
Pierrick Charron
4b4f3db731
Support for curl_strerror and curl_multi_strerror
...
Add the support for both curl_strerror and curl_multi_strerror.
Those function will return a string describing the error code
passed in the argument errornum
2012-12-23 15:45:39 -05:00
Pierrick Charron
64595a5d1a
Add curl_multi_setopt and clean curl_share_setopt
...
curl_multi_setopt is now available and supports CURLMOPT_PIPELINING
and CURLMOPT_MAXCONNECTS
2012-12-23 14:59:41 -05:00
Pierrick Charron
ded889e865
Remove duplicated function definition
2012-12-23 14:05:04 -05:00
Pierrick Charron
ee453541ed
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Update NEWS file
Fixed segfault due to libcurl connection caching
2012-12-22 19:10:35 -05:00
Pierrick Charron
e3c88d16b4
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Update NEWS file
Fixed bug #63352 (Can't enable hostname validation when using curl stream wrappers)
CURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST)
2012-12-21 19:27:51 -05:00
Pierrick Charron
52e7b0ce2c
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix test to work on every libcurl version
- Fixed typo on "SKIPIF" (causing make test to abort on some systems)
2012-12-21 12:25:34 -05:00
Pierrick Charron
9d235eadc8
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix test
2012-12-21 11:49:00 -05:00
Nikita Popov
14f133036c
Fix crash when last yielded value is a closure
...
If zend_generator_close is called from within zend_generator_resume (e.g.
due to a return statement) then all the EGs will still be using the values
from the generator. That's why the stack frame has to be the last thing
that is dtored, otherwise some other dtor that is using
EG(current_execute_data) might access the already freed memory segment.
This was the case with the closure dtor.
The fix is to move the dtors for key and value to the start of the handler.
This way the stack frame is the last thing that is freed.
2012-12-21 17:28:20 +01:00
Nikita Popov
ffb848b275
Fix bug #63822 : Crash when using closures with ArrayAccess
...
op_array->T was used after the closure's op_array was already freed. This just
swaps the freeing order.
2012-12-21 01:56:37 +01:00
Nikita Popov
3e78c6ad25
Do not add a ref to EX(object) on generator clone
...
If a ref has to be added it will be already added while walking the call
slots.
2012-12-20 20:33:18 +01:00
Rasmus Lerdorf
d5fe89670e
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-19 23:00:41 -05:00
Pierrick Charron
aa9156d7e0
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #55438 (Curlwapper is not sending http header randomly)
2012-12-19 19:46:57 -05:00
Johannes Schlüter
1ee8c3d9a2
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-19 17:01:44 +01:00
Andrey Hristov
ec012c1b75
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
ext/mysqlnd/mysqlnd_alloc.c
2012-12-19 16:58:34 +01:00
Nikita Popov
2768315856
Add missing zend_do_free call
...
This is a followup to d53f1bf8ab . When the yield *statement* is used its
return value still needs to be freed.
2012-12-19 15:21:34 +01:00
Remi Collet
828bb4d44d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix failing test on Linux build
2012-12-19 10:25:05 +01:00
Nikita Popov
d53f1bf8ab
Fix leak when generator ignores sent value
...
When the return value of yield wasn't used it was leaked.
This is fixed by using a TMP_VAR return value instead of VAR. TMP_VARs are
automatically freed when they aren't used.
2012-12-18 21:39:02 +01:00
David Soria Parra
19f8bba10d
News for PHP 5.5.0 Alphas
2012-12-18 16:51:04 +01:00
Xinchen Hui
ea649a5aba
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-17 14:30:20 +08:00
Xinchen Hui
ea5132866f
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-17 12:58:12 +08:00
Sebastian Bergmann
67a7a66466
Ignore Zend/zend_dtrace_gen.h and Zend/zend_dtrace_gen.hbak
2012-12-16 09:07:55 +01:00
Remi Collet
717b367085
Fixed bug #63706 : Cannot build PHP-5.5 with --enable-dtrace on Fedora 17
2012-12-16 08:51:17 +01:00
Lars Strojny
aaa5e42177
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-14 14:56:25 +01:00
Xinchen Hui
a73a6be764
Fix warning of no return in non-void function
2012-12-14 17:26:42 +08:00
Xinchen Hui
9fb5cfdeb1
Fixed warning of no return in non-void funciton
2012-12-14 17:21:43 +08:00
Xinchen Hui
359d91a807
Add test for bug #63741
2012-12-14 16:52:56 +08:00
Dmitry Stogov
e65b966aac
Fixed uninitialized EX(call)->called_scope
2012-12-14 12:10:29 +04:00
Rasmus Lerdorf
5aabf243bf
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-13 16:54:44 -08:00
Rasmus Lerdorf
3925683d46
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-13 16:42:50 -08:00
Rasmus Lerdorf
17b803d448
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-13 16:17:34 -08:00
Arpad Ray
61bf1f4ee6
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix #63379 - Don't reset mod_user_is_open in destroy
2012-12-13 23:59:34 +00:00
Johannes Schlüter
2098cc7e9d
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-13 22:45:47 +01:00
Anatoliy Belsky
bef54e5365
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed mysqlnd compilation in debug mode on windows
2012-12-13 15:05:35 +01:00
Dmitry Stogov
d5c2da5756
Removed unreachable code
2012-12-13 17:51:04 +04:00
Dmitry Stogov
438cd86378
Removed unnecessary checks
2012-12-13 17:29:30 +04:00
Dmitry Stogov
ff1e1d7a8e
Removed redundand checks from release build
2012-12-13 14:46:44 +04:00
Dmitry Stogov
4b1b115633
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #63757 (getenv() produces memory leak with CGI SAPI)
Conflicts:
NEWS
2012-12-13 13:40:42 +04:00
Xinchen Hui
4d2593e1be
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-13 10:45:33 +08:00
Dmitry Stogov
6fd8b65cfb
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
Really fix test pdo_mysql_class_constants.phpt
2012-12-13 02:53:27 +04:00
Dmitry Stogov
6b0b4bf8eb
An exception thrown in try or catch block is disacarded by return statement in finally block.
2012-12-13 02:48:51 +04:00
Remi Collet
6e4cfa18f7
Really fix test pdo_mysql_class_constants.phpt
...
- with mysqlnd, constant always present
- with mysqli, check client library version
- without mysqlnd and without mysqli
skip the test if no connection
use connection to check client library
Note : MySQLPDOTest::getClientVersion() is broken with mysqlnd
as PDO::ATTR_CLIENT_VERSION return "mysqlnd 5.0.11-dev - 20120503..."
so, getClientVersion() return "11"
2012-12-12 16:53:18 +01:00
Dmitry Stogov
9c96fe52d9
Restored proper generators behaviour in conjunction with "finally". (Nikita)
2012-12-12 17:47:55 +04:00
Remi Collet
4d8d5d83fc
Fixed Bug #63738 unpack: back result with Z format
...
Fix result for empty string.
Same output as perl
perl -e 'print unpack("Z2","\0\0");' => ""
perl -e 'print unpack("Z2","A\0");' => "A"
perl -e 'print unpack("Z2","AB\0");' => "AB"
perl -e 'print unpack("Z2","ABC\0");'=> "AB"
2012-12-11 16:30:08 +01:00
Dmitry Stogov
a9a5f7aca6
- generators API exported for extensions
...
- improved RETURN sequence to avoid redundant check if op_array is a generator
2012-12-11 17:25:32 +04:00
Adam Harvey
8bb106d20c
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Alter php_json_decode_ex() to respect JSON_BIGINT_AS_STRING for bare numbers.
2012-12-11 19:53:02 +08:00
Adam Harvey
ec83534d88
Tinker with the wording of the MySQL deprecation news post.
...
I know that in general NEWS is a very punchy "this is what happened" log, but
Chris e-mailed me off-list to ask if it could be added to avoid any FUD — this
merely brings the NEWS post into line with UPGRADING, the migration guide, and
every other piece of advice we're giving out.
I also forgot to add the RFC URL last night, so added that.
2012-12-11 09:08:07 +08:00
Adam Harvey
b7091aaf01
Deprecate ext/mysql.
...
Per https://wiki.php.net/rfc/mysql_deprecation , connecting to a MySQL database
via ext/mysql now generates an E_DEPRECATED error. This commit includes the
minimal EXPECTF updates required for the test suite to pass: it may be
preferable to refactor some of the tests to suppress deprecation errors in
situations where no other error is expected from mysql_[p]connect(), but I'm
not enough of a MySQL expert to want to get my hands that dirty in a long
standing test suite.
2012-12-10 22:12:09 +08:00
Johannes Schlüter
c007ba4740
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-10 13:36:05 +01:00
Johannes Schlüter
1aba46081a
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-10 13:34:23 +01:00
Xinchen Hui
70b65f3100
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-10 20:30:39 +08:00
Xinchen Hui
4e7db3ecbc
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-10 18:35:04 +08:00
Sebastian Bergmann
16ec6fa206
Cleanup NEWS
2012-12-06 11:03:37 +01:00
Dmitry Stogov
e3b2a5cf74
Generatirs are going to be used less than regular functions
2012-12-06 13:14:31 +04:00
Sebastian Bergmann
8ca4288fd2
Leftover: Invoke re2c with --no-generation-date to prevent unintentional / unnecessary changes in generated files.
2012-12-06 09:43:27 +01:00
Sebastian Bergmann
eab14993fe
Invoke re2c with --no-generation-date to prevent unintentional / unnecessary changes in generated files.
2012-12-06 09:28:35 +01:00
Johannes Schlüter
cd6bf838d5
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-05 19:03:04 +01:00
Dmitry Stogov
bc7857169a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Use get_gc instead of hacks of get_properties
2012-12-05 17:59:46 +04:00
Dmitry Stogov
274ceb3d8d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #63680 (Memleak in splfixedarray with cycle reference)
Conflicts:
NEWS
2012-12-05 17:55:21 +04:00
Dmitry Stogov
27528b601f
Fixed comments
2012-12-05 16:02:47 +04:00
Dmitry Stogov
26c165cc03
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
Two tests deactivated until #63688 was fixed
2012-12-05 13:37:40 +04:00
Dmitry Stogov
fa30e4754b
Slight performance improvement
2012-12-05 13:23:37 +04:00
Anatoliy Belsky
7d7ff76659
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Two tests deactivated until #63688 was fixed
2012-12-05 09:58:04 +01:00
Stanislav Malyshev
16b1d45e69
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
5.4.11-dev
Conflicts:
configure.in
main/php_version.h
2012-12-04 21:33:31 -08:00
Stanislav Malyshev
266059d6f0
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update NEWS
2012-12-04 21:28:02 -08:00
Stanislav Malyshev
1c8f106d9a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix bug #63666 - Poor date() performance
2012-12-04 21:02:55 -08:00
David Soria Parra
86bf83dcf2
News for enabling systemtap support on linux
2012-12-05 00:54:36 +01:00
David Soria Parra
288f8734f6
Pass zend_execute_data instead of zend_op_array
2012-12-05 00:45:23 +01:00
David Soria Parra
15a251a424
Overwrite execute_ex instead of execute in dtrace_execute
2012-12-04 21:01:32 +01:00
David Soria Parra
3de00bc615
Enable dtrace probes on linux as they are compatible with systemtap
...
You can build php with dtrace probes enabled on linux if you have
systemtap with uprobes.
2012-12-04 19:36:06 +01:00
Dmitry Stogov
9e39a636da
Increased version numbers
2012-12-04 10:48:09 +04:00
Dmitry Stogov
61dbf35cfc
Moved zend_create_execute_data_from_op_array() implementation from zend_vm_execute.skl to zend_execute.c
2012-12-04 10:42:19 +04:00
Dmitry Stogov
7651d64556
Optimized access to temporary and compiled VM variables
2012-12-04 10:14:39 +04:00
Remi Collet
784850211e
Reduce case where this test will fails:
...
- no connection AND no mysqli extension
So, will succeed when no configured connection, but mysqli available.
2012-12-03 15:32:52 +01:00
Anatoliy Belsky
17dd769ab0
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Revert the previous test fix
2012-12-03 15:16:34 +01:00
Remi Collet
e3aad69ccc
Fix inifile.c:419:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
...
Please check this minor change.
Avoid, warning: 'pos_grp_start' may be used uninitialized in this function [-Wmaybe-uninitialized]
2012-12-03 13:38:12 +01:00
Remi Collet
869e6508b3
use php_stream_copy_to_stream_ex instead of deprecated php_stream_copy_to_stream
2012-12-03 13:35:26 +01:00
Anatoliy Belsky
262decd35f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix test with a slightly different warning in TS
2012-12-03 10:44:10 +01:00
Lars Strojny
5dd3ba5da9
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-02 19:51:51 +01:00
Lars Strojny
575b983703
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-02 19:42:25 +01:00
Remi Collet
50fec2bae2
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed Bug #63435 Datetime::format('u') sometimes wrong by 1 microsecond
2012-12-01 10:26:32 +01:00
Felipe Pena
5db372fbdc
- Fixed ZTS build
2012-11-30 09:07:35 -02:00
Dmitry Stogov
66b8ece02a
Fixed bug #63066 (Calling an undefined method in a generator results in a seg fault) (fixed with previous commit).
2012-11-30 14:14:36 +04:00
Dmitry Stogov
70f83f35d0
. The VM stacks for passing function arguments and syntaticaly nested calls were merged into a single stack. The stack size needed for op_array execution is calculated at compile time and preallocated at once. As result all the stack push operatins don't require checks for stack overflow any more.
...
. Generators implementation was improved using the new VM stack. Now it's a bit more clear and faster.
2012-11-30 13:39:23 +04:00
Xinchen Hui
9f7e53fde8
Merge branch 'PHP-5.4' into PHP-5.5
2012-11-30 14:50:01 +08:00
Xinchen Hui
055b6c9ce0
Merge branch 'PHP-5.4' into PHP-5.5
2012-11-30 14:33:52 +08:00
Xinchen Hui
093d119597
Merge branch 'PHP-5.4' into PHP-5.5
2012-11-30 14:30:37 +08:00
Dmitry Stogov
9e1d3cfdab
Fixed bug #63271 (SOAP wsdl cache is not enabled after initial requests)
2012-11-29 16:44:19 +04:00
Dmitry Stogov
bf6fea6ba0
Fixed bug #61557 (Crasher in tt-rss backend.php)
2012-11-29 14:41:20 +04:00
Dmitry Stogov
3c1888f584
Fixed bug #63635 (Segfault in gc_collect_cycles)
2012-11-29 13:06:12 +04:00
Remi Collet
bc7f2b5f41
Merge branch 'PHP-5.3' into PHP-5.5
...
* PHP-5.3:
Fixed Bug #63581 Possible buffer overflow
Fixed Bug #63581 Possible null dereference
2012-11-28 10:38:37 +01:00
Remi Collet
9519d2b585
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
updated NEWS
Fixed bug #63590 Fileinfo delivers ifferent results in TS and NTS under Windows
This test isn't supposed to pass on windows
Fixed Bug #63614 (Fatal error on Reflection)
2012-11-28 10:32:00 +01:00
Anatoliy Belsky
ca240f5b22
updated NEWS
2012-11-27 16:59:27 +01:00
Anatoliy Belsky
f094723852
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #63590 Fileinfo delivers ifferent results in TS and NTS under Windows
Conflicts:
NEWS
2012-11-27 16:55:47 +01:00
Anatoliy Belsky
17e21925c8
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
This test isn't supposed to pass on windows
2012-11-27 16:13:19 +01:00
Xinchen Hui
8337c96656
Merge branch 'PHP-5.4' into PHP-5.5
2012-11-27 13:37:50 +08:00
Remi Collet
495ff0964d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Related bug #63588 fix length computation + optimize for speed
2012-11-26 13:05:37 +01:00
Remi Collet
dfa5ca2b8d
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
count($test_files) already be checked above : if ($test_cnt)
2012-11-26 13:04:04 +01:00
Xinchen Hui
01a86eae8c
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2012-11-25 16:19:58 +08:00
Xinchen Hui
16efc77608
count($test_files) already be checked above : if ($test_cnt)
...
thus we can use $sum_results instead of the preg_match
2012-11-25 16:18:20 +08:00
Remi Collet
f4a8612561
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #63588 Duplicate implementation of php_next_utf8_char
2012-11-25 08:21:10 +01:00
Remi Collet
c5d4ee9bed
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed Bug #63361 Header not installed
2012-11-25 07:48:44 +01:00
Xinchen Hui
11c946e594
XFAIL test should not be considered as failed
2012-11-25 12:04:12 +08:00
Xinchen Hui
4d804aa52d
let make test report the run-test result
2012-11-25 12:03:54 +08:00
Stanislav Malyshev
57204ae6d9
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix NEWS
5.4.10-dev
Conflicts:
configure.in
main/php_version.h
2012-11-24 16:30:00 -08:00
Nikita Popov
60871e51ad
Fix bug #63596 : finally in generators segfaults
...
EX(fast_ret) wasn't initialized in this case so the code ended up
dereferencing an invalid pointer after the jump.
2012-11-24 19:24:09 +01:00
Remi Collet
966faa9a87
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed Bug #63149 Feature missing with system SQLite
2012-11-24 17:56:23 +01:00
Remi Collet
b620722196
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add unit test for bug 63126
NEWS
2012-11-24 17:32:05 +01:00
Remi Collet
f5156370b6
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed Bug #63126 DISABLE_AUTHENTICATOR ignores array
2012-11-24 15:03:09 +01:00
Anatoliy Belsky
64788e3110
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Backported the fix for bug #63248 from 5.4+
2012-11-23 14:01:28 +01:00
Anatoliy Belsky
bc910a7ce4
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed test for bug #63297
2012-11-22 19:05:31 +01:00
Dmitry Stogov
eb4825b50b
Improved "finally" im[plementation
2012-11-22 15:17:05 +04:00
Johannes Schlüter
a213caf4c3
Merge branch 'PHP-5.4' into PHP-5.5
2012-11-21 21:11:27 +01:00
David Soria Parra
c733f28bd9
Add myself to QA
2012-11-21 18:42:01 +01:00
Xinchen Hui
6b0299aafc
Merge branch 'PHP-5.4' into PHP-5.5
2012-11-21 12:30:54 +08:00
Xinchen Hui
aba80d09e6
Update credits for 5.5
2012-11-21 12:17:41 +08:00
Adam Harvey
f909e05835
Add the new password functions to UPGRADING.
...
As a public service announcement on behalf of the documentation team, please
remember to update UPGRADING as well as NEWS when adding features to master or
an alpha branch. :)
2012-11-21 09:26:32 +08:00
Dmitry Stogov
8f65c76d2e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #63468 (wrong called method as callback with inheritance)
Conflicts:
NEWS
2012-11-20 12:58:16 +04:00
Christopher Jones
3c9819ffd5
Merge branch 'add_ver_to_upgrading' into PHP-5.5
...
* add_ver_to_upgrading:
Add actual branch version number to UPGRADING
2012-11-18 14:44:00 -08:00
Christopher Jones
885a4562ab
Add actual branch version number to UPGRADING
2012-11-18 14:43:26 -08:00
Christopher Jones
6da7301b34
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
* 'PHP-5.5' of https://git.php.net/repository/php-src :
Put the new php.ini directives together.
Move the deprecated functions up to the Deprecated Functionality section so they're more visible.
Regenerate Zend ini scanner
Fixed bug #63512 parse_ini_file() with INI_SCANNER_RAW removes quotes from value
2012-11-18 14:20:57 -08:00
Adam Harvey
d207e6551b
Put the new php.ini directives together.
...
(And make colon usage more consistent.)
2012-11-18 07:24:08 +00:00
Adam Harvey
ab4c270ccf
Move the deprecated functions up to the Deprecated Functionality section so
...
they're more visible.
2012-11-18 07:21:04 +00:00
Pierrick Charron
8c97c79d77
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Regenerate Zend ini scanner
Conflicts:
Zend/zend_ini_scanner.c
Zend/zend_ini_scanner_defs.h
2012-11-16 18:28:04 -05:00
Pierrick Charron
30d659144a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #63512 parse_ini_file() with INI_SCANNER_RAW removes quotes from value
2012-11-16 18:08:19 -05:00
Christopher Jones
61cae177be
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
...
* 'PHP-5.5' of https://git.php.net/repository/php-src :
Fixed ext/intl/tests/timezone_createDefault_basic.phpt
Skip test if directory does not exist
Fixed ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt
Fixed test sapi/cli/tests/006.phpt
Fixed compiler reenterability
Fixed compiler reenterability
Updated NEWS
UPdated NEWS
Updated NEWS
2012-11-15 19:29:53 -08:00
Anatoliy Belsky
36fadde72c
Fixed ext/intl/tests/timezone_createDefault_basic.phpt
...
Timezone offsets can be negative
2012-11-15 14:31:55 +01:00
Johannes Schlüter
eb943fbc93
Merge branch 'PHP-5.4' into PHP-5.5
2012-11-15 12:29:58 +01:00
Anatoliy Belsky
f85ae48f4f
Fixed ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt
...
There is a constant now which only is there when mysqli with
mysqlnd and pdo_mysql was compiled at the same time, or when
libmysql version > 50605. So checking for that dynamically,
will fail only if there is no mysqli and no connection.
2012-11-14 21:18:16 +01:00
Anatoliy Belsky
01f1894194
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed test sapi/cli/tests/006.phpt
2012-11-14 16:23:36 +01:00
Dmitry Stogov
ba8a06fd95
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed compiler reenterability
Fixed compiler reenterability
Conflicts:
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
2012-11-14 18:03:38 +04:00
Anatoliy Belsky
e73beb82df
Updated NEWS
2012-11-14 10:15:42 +01:00
Anatoliy Belsky
0cac06c0eb
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
UPdated NEWS
Updated NEWS
2012-11-14 10:07:55 +01:00
David Soria Parra
ad4a87f798
Bump API versions
2012-11-13 20:57:34 +01:00
Anatoliy Belsky
64d7297506
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Enabled apache 2.4 handler build option
2012-11-13 19:48:34 +01:00
David Soria Parra
217020788a
Build .xz archive during makedist
2012-11-13 17:09:29 +01:00
David Soria Parra
f4512d01a0
NEWS: remove dots at the end of the NEWS file
2012-11-13 17:08:49 +01:00
David Soria Parra
727b6775ef
PHP-5.5 is open
2012-11-13 17:08:49 +01:00
David Soria Parra
7e565acca1
Add missing parts from UPGRADING to NEWS
2012-11-13 17:08:49 +01:00
Anatoliy Belsky
bc9f8030c7
Fixed sockets ext build on win
2012-11-13 14:53:32 +01:00
Derick Rethans
dae05b2973
Merge branch 'PHP-5.4'
2012-11-13 10:17:21 +00:00
Derick Rethans
97f39ee1d7
Merge branch 'master' of git.php.net:/php-src
2012-11-13 10:10:10 +00:00
Gustavo Lopes
acbc6d182b
List ext/intl changes also in NEWS
2012-11-12 19:16:12 +01:00
Adam Harvey
0b96b4c4e9
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Update arginfo for preg_match_all() to reflect reality.
fix invalid read when trimming empty string
2012-11-12 20:09:18 +08:00
Bernhard K. Weisshuhn
180767373d
make failed tests fail the test target
...
I don't see any reason to ignore failed tests. This makes it
unnecessarily difficult to use ci, also for module builds.
2012-11-11 20:11:06 +01:00
Antony Dovgal
4029475e82
fix invalid read when trimming empty string
2012-11-11 22:38:18 +04:00
Felipe Pena
80682bdcd8
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #63451 (config.guess file does not have AIX 7 defined, shared objects are not created)
2012-11-09 21:24:05 -02:00
Johannes Schlüter
e383d4d20d
Merge branch 'PHP-5.4'
2012-11-08 00:04:08 +01:00
Stanislav Malyshev
63307de7b6
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix NEWS
2012-11-07 01:19:20 -08:00
Xinchen Hui
b936a815fb
Merge branch 'PHP-5.4'
2012-11-07 17:09:27 +08:00
Rasmus Lerdorf
261e32f623
These need to be volatile in order to prevent leaking after the
...
longjmp in the error handler
2012-11-05 20:56:19 -08:00
Derick Rethans
37cc133d6f
Merge branch 'PHP-5.4'
2012-11-04 16:24:07 +00:00
Xinchen Hui
7bcb8780e0
Fixed bug #63428 (The behavior of execute() changed)
2012-11-04 12:48:35 +08:00
Xinchen Hui
3c6b0db052
The /e modifier is deprecated
2012-11-04 00:53:45 +08:00
Xinchen Hui
6dbf431541
Merge branch 'PHP-5.4'
2012-11-02 18:57:56 +08:00
Anatoliy Belsky
ab1429dd43
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #63241 PHP fails to open Windows deduplicated files.
Conflicts:
NEWS
2012-10-31 23:01:09 +01:00
Andrey Hristov
9acc2367b1
Merge branch 'PHP-5.4'
2012-10-31 19:04:10 +01:00
Johannes Schlüter
44b1a07d85
Allow setting SHA256 auth public key as option
2012-10-31 16:54:11 +01:00
Andrey Hristov
a0a34f5bca
plug recent leak
2012-10-31 16:13:00 +01:00
Andrey Hristov
f2f380407a
Merge branch 'master' of ssh://git.php.net/php-src
2012-10-31 15:55:04 +01:00
Andrey Hristov
d62bc53a4f
cosmetics
2012-10-31 15:54:45 +01:00
Xinchen Hui
8fb26e76ba
Merge branch 'PHP-5.4'
2012-10-31 11:14:53 +08:00
David Soria Parra
1af3d9d6c9
Merge branch 'PHP-5.4'
...
* PHP-5.4:
NEWS for bug #62593
Bug #62593 Updated to account for INOUT parameters
Bug #62593 Updated test to verify bindParam doesn't change original value
Bug #62593 Updated to always treat zval by value
Bug #62593 Added test for change
Bug #62593 Updated pdo_pgsql driver to convert boolean values to pg native format in emulation mode
2012-10-30 15:43:56 +01:00
Xinchen Hui
cc1caf92ea
Merge branch 'PHP-5.4'
2012-10-30 11:11:22 +08:00
Xinchen Hui
a87a6bfebc
Merge branch 'tstarling/server-tests' of https://github.com/tstarling/php-src
2012-10-29 15:11:23 +08:00
Tim Starling
65399be527
server-tests.php improvements:
...
* Fixed use of deprecated functions ereg(), split(), etc.
* Fixed notice due to _sendHTTP() declared return by reference but not
returning anything.
* Fixed interpretation of EXPECTF, copying from run-tests.php
2012-10-29 10:44:13 +11:00
Derick Rethans
c511ee3d64
Merge branch 'PHP-5.4'
2012-10-27 15:19:59 +01:00
Dmitry Stogov
0716ddcdb2
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #63180 (Corruption of hash tables)
fix bug #63369
Conflicts:
NEWS
2012-10-26 09:49:21 -07:00
Antony Dovgal
01dee2c4b0
fix bug #63369
...
(un)serialize() leaves dangling pointers, causes crashes
2012-10-26 16:42:21 +04:00
Johannes Schlüter
d21d909072
Merge branch 'PHP-5.4'
2012-10-26 14:23:22 +02:00
ULF WENDEL
5d4c691e51
Merge branch 'PHP-5.4'
...
* PHP-5.4:
This won't make the test pass but now its at least one that shows no unnecessary error messages...
2012-10-26 12:32:39 +02:00
Anthony Ferrara
db35ca4e54
Merge branch 'PHP-5.4'
2012-10-25 16:24:27 -04:00
Anthony Ferrara
18da63e5be
Merge in fix for bug 63363 (CURL silently accepts boolean true for SSL_VERIFYHOST
...
Merge in a fix to raise a notice when a boolean true is passed into curl_setopt for CURLOPT_SSL_VERIFYHOST.
2012-10-25 15:30:37 -04:00
John Jawed (JJ)
3b85d09de7
Notice if CURLOPT_SSL_VERIFYHOST is set to true
2012-10-25 12:22:23 -07:00
Anatoliy Belsky
7b4a53e263
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #63297 Phar fails to write an openssl based signature
2012-10-24 14:46:50 +02:00
Anatoliy Belsky
071f217388
Merge branch 'PHP-5.4'
...
* PHP-5.4:
enabled libxpm for gd on windows
2012-10-24 10:37:23 +02:00
Anatoliy Belsky
5054d77b75
Merge branch 'PHP-5.4'
...
* PHP-5.4:
enabled libxpm for gd on windows
2012-10-24 10:35:52 +02:00
Xinchen Hui
7e2c87bf2b
Add missed file
2012-10-24 10:34:44 +08:00
ULF WENDEL
7c00017671
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
commented out the HHC_LOCATION line, as there are no easy to use alternatives for hhc.exe on linux. we should either run the chm build on a windows box(maybe on the replacement of oti1), or look into running it through wine see http://cweiske.de/tagebuch/Generating%20CHM%20files%20with%20Wine%20on%20a%20Linux%20server,%20and%20a%20bit%20about%20PEAR's%20PhD%20transition.htm for details. I also set DOT_CLEANUP to NO as the doc generation was spitting out errors regarding some dot file cannot be found.
2012-10-23 15:14:59 +02:00
Ferenc Kovacs
240f8d06de
commented out the HHC_LOCATION line, as there are no easy to use alternatives for
...
hhc.exe on linux.
we should either run the chm build on a windows box(maybe on the replacement of oti1),
or look into running it through wine see
http://cweiske.de/tagebuch/Generating%20CHM%20files%20with%20Wine%20on%20a%20Linux%20server,%20and%20a%20bit%20about%20PEAR's%20PhD%20transition.htm
for details.
I also set DOT_CLEANUP to NO as the doc generation was spitting out errors regarding some dot
file cannot be found.
2012-10-25 17:11:13 +02:00
ULF WENDEL
b8595e1d40
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix for bug #62820
2012-10-23 15:14:45 +02:00
ULF WENDEL
e7fc671dc0
Deprecating undocumented function alias, related to bug #63295
2012-10-23 12:02:58 +02:00
Gustavo Lopes
e7e57aea0a
Use if_nametoindex in Vista
...
I missed this instance in bf19838c .
2012-10-23 11:52:31 +02:00
Xinchen Hui
ad476bde9b
Merge branch 'PHP-5.4'
2012-10-23 17:29:28 +08:00
ULF WENDEL
84ab603fc7
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
merged changes for bug #63297 from 5.3
fixed a typo in the error message
Fixed bug #63297 Phar fails to write an openssl based signature
enabled libxpm for gd on windows
enabled libxpm for gd on windows
Add missed file
Use if_nametoindex in Vista
Update test script
Test for #63336 , xfail now
Fixed bug #63305 (zend_mm_heap corrupted with traits)
fix crashes in newly introduced macros when normal trace is disabled but memory traced is enabled.
2012-10-23 11:18:43 +02:00
Anatoliy Belsky
f734c0a7ca
Merge branch 'PHP-5.4'
...
* PHP-5.4:
merged changes for bug #63297 from 5.3
Conflicts:
NEWS
2012-10-25 09:42:18 +02:00
Anatoliy Belsky
0d5c032470
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fixed a typo in the error message
2012-10-25 09:36:44 +02:00
Xinchen Hui
70e0624f6f
Merge branch 'PHP-5.4'
2012-10-23 16:36:36 +08:00
Xinchen Hui
0cce2a1e76
Merge branch 'PHP-5.4'
2012-10-23 11:35:20 +08:00
Andrey Hristov
91ce3764f0
Merge branch 'master' of ssh://git.php.net/php-src
2012-10-22 14:36:16 +02:00
Andrey Hristov
27e0999843
fix crashes in newly introduced macros when normal trace is disabled but
...
memory traced is enabled.
2012-10-22 14:35:35 +02:00
ULF WENDEL
7d9114f2b2
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src: (27 commits)
Re-fixed bug #60901 (Improve "tail" syntax for AIX installation)
updated NEWS
update NEWS
updated NEWS
Fixed bug #63284 PCRE upgrade to 8.31
preg indenpent test script for #63055
Update libmagic.patch
Add fix & missing fix
Add fix & missing fix
Fixed bug #63307 (Unused variable in oci8.c)
Fixed bug #63265 (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro)
- Updated to version 2012.7 (2012g)
SUpport newer bisons.
Merge the fix for #61964 to 5.3, which will fix #63304
add protection against core dumps if the underlying library returns 0x0 for some reason
indent
better fix for #63055
Fixed bug #63055 (Segfault in zend_gc with SF2 testsuite)
I forgot that inconsistent is only avaliable in debug mode
Add comments
...
2012-10-22 13:35:06 +02:00
Christopher Jones
0afca66958
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Re-fixed bug #60901 (Improve "tail" syntax for AIX installation)
2012-10-21 22:22:07 -07:00
Anatoliy Belsky
df82bf8a12
updated NEWS
2012-10-19 10:02:37 +02:00
Anatoliy Belsky
3f9cd82fa6
Merge branch 'PHP-5.4'
...
* PHP-5.4:
update NEWS
2012-10-19 10:00:55 +02:00
Anatoliy Belsky
9692e4bca3
Merge branch 'PHP-5.4'
...
* PHP-5.4:
updated NEWS
2012-10-19 09:57:17 +02:00
Anatoliy Belsky
8b0704618f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #63284 PCRE upgrade to 8.31
2012-10-19 09:52:43 +02:00
Xinchen Hui
c018d09c33
Merge branch 'PHP-5.4'
2012-10-19 11:24:56 +08:00
Xinchen Hui
542637dbd9
Merge branch 'PHP-5.4'
2012-10-19 11:17:04 +08:00
Christopher Jones
0c8cccd0b5
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Add fix & missing fix
2012-10-18 18:55:48 -07:00
Christopher Jones
65f38d7437
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Add fix & missing fix
2012-10-18 18:53:22 -07:00
Christopher Jones
25ebd50553
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #63307 (Unused variable in oci8.c)
Fixed bug #63265 (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro)
2012-10-18 17:58:36 -07:00
Christopher Jones
18c077adfc
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src: (75 commits)
- Updated to version 2012.7 (2012g)
SUpport newer bisons.
Merge the fix for #61964 to 5.3, which will fix #63304
add protection against core dumps if the underlying library returns 0x0 for some reason
indent
better fix for #63055
Fixed bug #63055 (Segfault in zend_gc with SF2 testsuite)
I forgot that inconsistent is only avaliable in debug mode
Add comments
Fixed bug #63055 (Segfault in zend_gc with SF2 testsuite)
PHP 5.3.18 NEWS
fix NEWS
fix compilation failure on 32/64bit linux systems, when libmysql is used with ext/mysql
fix build with libmysql on Ubuntu 12.04 x64 probably other mixed 32/64 systems
fix newly introduced segfault
Fixed bug #63248 Load multiple magic files on win
Cover have_ssl=NO and have_ssl=DISABLED
Updating expected output in anticipation of mysqlnd_auth.c path
updated NEWS
Refactor to using a stack based zval instead of dynamic allocation
...
2012-10-18 17:40:15 -07:00
Derick Rethans
51fe5bcd09
Merge branch 'PHP-5.4'
2012-10-18 21:53:08 +01:00
Derick Rethans
c165a0b6ec
Merge branch 'PHP-5.4'
2012-10-18 17:54:03 +01:00
Xinchen Hui
33ddfbe12f
Merge branch 'master' of git.php.net:php-src
2012-10-18 23:34:12 +08:00
Xinchen Hui
77d9abb6f2
Merge branch 'PHP-5.4'
2012-10-18 23:33:25 +08:00
Andrey Hristov
8219b02579
Merge branch 'master' of ssh://git.php.net/php-src
2012-10-18 15:15:32 +02:00
Andrey Hristov
967a1ebe51
add protection against core dumps if the underlying library returns
...
0x0 for some reason
2012-10-18 15:09:17 +02:00
Xinchen Hui
9714ceb92b
Merge branch 'PHP-5.4'
2012-10-18 20:14:54 +08:00
Xinchen Hui
84efca62ff
Merge branch 'PHP-5.4'
2012-10-18 20:12:00 +08:00
Xinchen Hui
4eece4c86a
Merge branch 'PHP-5.4'
2012-10-18 17:35:29 +08:00
Xinchen Hui
b77873f7d2
Merge branch 'PHP-5.4'
2012-10-18 16:33:48 +08:00
Xinchen Hui
2fee6f1ee9
Merge branch 'PHP-5.4'
2012-10-18 16:06:47 +08:00
Xinchen Hui
804ab5dc48
Merge branch 'PHP-5.4'
2012-10-18 15:53:12 +08:00
Johannes Schlüter
5414856ffb
Merge branch 'master' of git.php.net:/php-src
2012-10-17 18:27:40 +02:00
Johannes Schlüter
36e60436db
Merge branch 'PHP-5.4'
2012-10-17 18:27:03 +02:00
Andrey Hristov
d62702851c
fix build with libmysql on Ubuntu 12.04 x64 probably other mixed 32/64 systems
2012-10-17 16:35:36 +02:00
Andrey Hristov
54cbf5315c
Merge branch 'master' of ssh://git.php.net/php-src
2012-10-16 15:06:22 +02:00
Andrey Hristov
b0e8fb6489
fix newly introduced segfault
2012-10-16 15:06:02 +02:00
Christopher Jones
8effd6fe68
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src :
Implemented FR #63242 (Default error page in PHP built-in web server uses outdated html/css)
Fix warnings preventing this test from passing
Remove executable permission on inc
2012-10-10 17:28:39 -07:00
Xinchen Hui
7a7b2a0642
Merge branch 'PHP-5.4'
2012-10-10 17:24:40 +08:00
Anatoliy Belsky
e70aed5c74
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix warnings preventing this test from passing
2012-10-10 11:06:34 +02:00
Xinchen Hui
4e5e8c9da0
Merge branch 'PHP-5.4'
2012-10-10 10:45:34 +08:00
Christopher Jones
cd75cc3beb
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src :
Remove executable permission on phpt
Remove executable permission on phpt
Remove executable permission on phpt
2012-10-09 19:37:10 -07:00
Xinchen Hui
b17039c737
Remove executable permission on phpt
2012-10-10 10:32:58 +08:00
Xinchen Hui
4b152e5470
Merge branch 'PHP-5.4'
2012-10-10 10:32:38 +08:00
Christopher Jones
018868cfce
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src :
Fixed bug #63236 (Executable permission on various source files)
Fixed bug #63235 (buffer overflow in use of SQLGetDiagRec)
2012-10-08 22:52:03 -07:00
Xinchen Hui
75a2c0d715
Merge branch 'PHP-5.4'
2012-10-09 13:30:22 +08:00
Xinchen Hui
14bfd3126c
Merge branch 'PHP-5.4'
2012-10-09 13:16:53 +08:00
Christopher Jones
6979632221
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src: (54 commits)
Fixed bug #63219 (Segfault when aliasing trait method when autoloader throws excpetion)
Use zend_execute_internal always to call internal functions
use zend_execute_internal
exposing the libxpm version in phpinfo
update
5.4.9-dev
PHP-5.3 branch is 5.3.19 now
add a check for libmysql
if ssl has been switched on transmit clear-text password
reverted the previous fix for libpng include
fixed include checks for libpng under win
Avoding superfluous function call
Add test for #35895
Now we can set the tsrm_ls manually
Fixed bug #63184 test (ext/spl/tests/RecursiveDirectoryIterator_getSubPathname_basic.phpt failed)
add news for --offline
add --offline option to run-tests command
Bug #63147 : SKIP_ONLINE_TESTS, for getmxrr
Bug #63147 : introduce SKIP_ONLINE_TESTS, for gethostbyname
gethostbyname_basic002.phpt is a duplicate to gethostbyname_error004.phpt
...
2012-10-08 16:13:12 -07:00
Xinchen Hui
6cd6a74c5a
Merge branch 'PHP-5.4'
2012-10-08 23:00:57 +08:00
Stanislav Malyshev
531e2533dd
Use zend_execute_internal always to call internal functions
2012-10-05 08:14:20 +02:00
Stanislav Malyshev
bda93f5405
use zend_execute_internal
2012-10-04 22:43:13 -07:00
Anatoliy Belsky
d5494d5e24
Merge branch 'PHP-5.4'
...
* PHP-5.4:
exposing the libxpm version in phpinfo
5.4.9-dev
Conflicts:
NEWS
configure.in
main/php_version.h
2012-10-04 18:24:42 +02:00
Andrey Hristov
713a3fc58c
update
2012-10-04 13:40:23 +02:00
Derick Rethans
61bee020e1
Merge branch 'master' of git.php.net:/php-src
2012-10-04 08:38:56 +01:00
Johannes Schlüter
9b2303afd6
Merge branch 'PHP-5.4'
2012-10-04 02:37:27 +02:00
Andrey Hristov
06dfb96bf5
add a check for libmysql
2012-10-03 14:14:59 +02:00
Andrey Hristov
3262de2f62
Merge branch 'master' of ssh://git.php.net/php-src
2012-10-03 14:03:05 +02:00
Andrey Hristov
4c9e222f99
if ssl has been switched on transmit clear-text password
2012-10-03 14:02:33 +02:00
Anatoliy Belsky
eea88c58db
Merge branch 'PHP-5.4'
...
* PHP-5.4:
reverted the previous fix for libpng include
2012-10-02 10:03:03 +02:00
Anatoliy Belsky
6d1f81ebc0
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fixed include checks for libpng under win
2012-10-02 09:41:24 +02:00
Xinchen Hui
62fa875f3e
Merge branch 'PHP-5.4'
2012-10-02 00:31:47 +08:00
Xinchen Hui
2ccae0ee75
Merge branch 'PHP-5.4'
2012-10-02 00:05:25 +08:00
Xinchen Hui
a81d431068
Merge branch 'PHP-5.4'
2012-10-01 22:45:15 +08:00
Stanislav Malyshev
0a3b6e4ee9
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Eliminate process running requirement of dump_bt in .gdbinit
Add missing ____executor_globals in dump_bt if needed
Implemented FR #63188 (Display class name when debugging with gdb macro zbacktrace)
2012-09-30 20:32:04 -07:00
Stanislav Malyshev
e3e3fba66d
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bugs 62561,62896 (Modifying DateTime::__construct,date_create adds an hour) Prevent a unix timestamp, which is always GMT when being parsed, from taking on the local timezones DST flag.
2012-09-30 20:21:11 -07:00
Stanislav Malyshev
4ba2d546c8
Merge branch 'PHP-5.4'
...
* PHP-5.4:
add news for --offline
add --offline option to run-tests command
Bug #63147 : SKIP_ONLINE_TESTS, for getmxrr
Bug #63147 : introduce SKIP_ONLINE_TESTS, for gethostbyname
gethostbyname_basic002.phpt is a duplicate to gethostbyname_error004.phpt
2012-09-30 19:41:54 -07:00
Stanislav Malyshev
815248d8fb
Merge branch 'PHP-5.4'
...
* PHP-5.4:
add bug #63162
fix test and move to proper place
synergy ftl. Removed duplicate fields.
adding test phpt
Bug #63162 - parse_url does not matches password component
fix news
2012-09-30 19:28:42 -07:00
Xinchen Hui
f8d1fc62fa
Merge branch 'PHP-5.4'
2012-10-01 00:17:11 +08:00
ULF WENDEL
1fafc9b373
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Cover have_ssl=NO and have_ssl=DISABLED
2012-09-29 18:56:30 +02:00
ULF WENDEL
c36981efdb
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src: (47 commits)
Updating expected output in anticipation of mysqlnd_auth.c path
updated NEWS
Fixed bug #63248 Load multiple magic files on win
Refactor to using a stack based zval instead of dynamic allocation
Clean up unreported memory leak by switching to zval_ptr_dtor
fix allocation and copy issue
Really fix leaks, add test cases to prove it...
Fix issue with possible memory leak
Fix some double free issues, and more cleanup work
Refactor slightly to enable cleaner readability
Fix arg info for required params passed to needs_rehash
Fix ucwords error casing
A bunch of naming convention fixes. No functionality changes
Switch to using an ENUM for algorithms instead of a constant
Fix incorrect arg info required param count for password_hash
Add news entry for password API
Expose PASSWORD_BCRYPT_DEFAULT_COST constant and update test to use it
Remove bcrypt_cost ini entry from declaration
Switch test to using strict comparison for crypt fallback
Add tests for password_get_info and password_needs_rehash
...
2012-09-29 18:53:37 +02:00
ULF WENDEL
917639d463
Updating expected output in anticipation of mysqlnd_auth.c path
2012-09-29 17:42:00 +02:00
ULF WENDEL
0e1df4dfe7
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src: (46 commits)
updated NEWS
Fixed bug #63248 Load multiple magic files on win
Refactor to using a stack based zval instead of dynamic allocation
Clean up unreported memory leak by switching to zval_ptr_dtor
fix allocation and copy issue
Really fix leaks, add test cases to prove it...
Fix issue with possible memory leak
Fix some double free issues, and more cleanup work
Refactor slightly to enable cleaner readability
Fix arg info for required params passed to needs_rehash
Fix ucwords error casing
A bunch of naming convention fixes. No functionality changes
Switch to using an ENUM for algorithms instead of a constant
Fix incorrect arg info required param count for password_hash
Add news entry for password API
Expose PASSWORD_BCRYPT_DEFAULT_COST constant and update test to use it
Remove bcrypt_cost ini entry from declaration
Switch test to using strict comparison for crypt fallback
Add tests for password_get_info and password_needs_rehash
Refactoring to use size_t instead of int most places
...
2012-09-29 17:40:12 +02:00
Anatoliy Belsky
7eba512b51
updated NEWS
2012-10-16 11:14:43 +02:00
Anatoliy Belsky
3c89f8507f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #63248 Load multiple magic files on win
Conflicts:
NEWS
2012-10-16 11:14:11 +02:00
Anthony Ferrara
9aacdf6e89
Merging in Password Hashing API into master
...
This implements the accepted RFC password_hash https://wiki.php.net/rfc/password_hash
2012-10-16 04:11:37 -04:00
Anthony Ferrara
0bc9ca39ce
Refactor to using a stack based zval instead of dynamic allocation
2012-10-07 05:42:08 -04:00
Anthony Ferrara
37b2207f66
Clean up unreported memory leak by switching to zval_ptr_dtor
2012-10-07 05:12:02 -04:00
Anthony Ferrara
76e83f769f
fix allocation and copy issue
2012-10-06 12:33:48 -04:00
Anthony Ferrara
1751d5fabe
Really fix leaks, add test cases to prove it...
2012-10-06 10:38:41 -04:00
Anthony Ferrara
25b2d364e9
Fix issue with possible memory leak
2012-10-05 15:53:40 -04:00
Anthony Ferrara
4a7d18c79e
Fix some double free issues, and more cleanup work
2012-10-05 15:31:58 -04:00
ULF WENDEL
9da4db523f
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
- BFN
Minor changes for MySQL 5.6
NEWS for 76601c4
2012-09-29 12:29:59 +02:00
ULF WENDEL
ccf749e38d
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- BFN
Minor changes for MySQL 5.6
NEWS for 76601c4
2012-09-29 12:21:55 +02:00
ULF WENDEL
4969c7d50a
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
- Fixed bug #63214 (Large PDO Firebird Queries)
Fix bug #63240 on stream_get_line()
extended the SKIPIF section with ICU 49 (sync with 5.4 branch)
fixed tests for gd having freetype >= 2.4.10
sapi/litespeed/lsapi_main.c: Fix bug #63228
fix test
constify
Fixed bug #63258 (seg fault with PDO and dblib using DBSETOPT(H->link, DBQUOTEDIDENT, 1))
2012-09-29 09:56:55 +02:00
Felipe Pena
5cf6334e84
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #63214 (Large PDO Firebird Queries)
2012-10-12 19:43:00 -03:00
Gustavo Lopes
2634f55992
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #63240 on stream_get_line()
2012-10-12 20:24:28 +02:00
Anatoliy Belsky
1d87ad89b2
Merge branch 'PHP-5.4'
...
* PHP-5.4:
extended the SKIPIF section with ICU 49 (sync with 5.4 branch)
2012-10-12 19:54:25 +02:00
Anatoliy Belsky
2528b3c75e
Merge branch 'master' of git.php.net:php-src
2012-10-12 19:40:52 +02:00
Anatoliy Belsky
a4c964ca7b
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fixed tests for gd having freetype >= 2.4.10
2012-10-12 19:38:49 +02:00
George Wang
1407b4a080
Merge branch '5.4'
...
* 5.4:
sapi/litespeed/lsapi_main.c: Fix bug #63228
2012-10-12 13:29:37 -04:00
George Wang
68e528a6bc
Merge branch '5.3' into 5.4
...
* 5.3:
sapi/litespeed/lsapi_main.c: Fix bug #63228
2012-10-12 13:09:53 -04:00
George Wang
22611b8d37
sapi/litespeed/lsapi_main.c: Fix bug #63228
...
Fix compiling error at line 606 (error: format not a string
literal and no format arguments [-Werror=format-security]
2012-10-12 13:04:22 -04:00
Andrey Hristov
6fbcf69375
fix test
2012-10-12 10:35:45 +02:00
Andrey Hristov
0f3fb08a8d
Merge branch 'master' of ssh://git.php.net/php-src
2012-10-12 10:20:37 +02:00
Andrey Hristov
225792c5db
constify
2012-10-12 10:20:09 +02:00
Xinchen Hui
d709442faf
Merge branch 'PHP-5.4'
2012-10-12 10:39:20 +08:00
ULF WENDEL
a2098ca9eb
SHA256 authentication tests
2012-09-29 09:47:23 +02:00
Xinchen Hui
d6ca1c9b9a
Merge branch 'PHP-5.4'
2012-09-29 14:39:59 +08:00
Pierrick Charron
a7f7ac67e0
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Update NEWS
2012-09-28 15:29:26 -04:00
Pierrick Charron
02bdf4c1fc
Merge branch 'PHP-5.4'
...
* PHP-5.4:
FD_ZERO file descriptors before calling curl_multi_fdset
2012-09-28 15:22:37 -04:00
Andrey Hristov
5a385487c2
Merge branch 'master' of ssh://git.php.net/php-src
2012-09-28 11:59:20 +02:00
Andrey Hristov
c540fe2064
fix login failure with empty password. This is 5.5 specific - new code
2012-09-28 11:58:41 +02:00
Jerome Loyet
284ea56d4d
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Add missing NEWS entry
Fixed bug #62216
2012-09-28 11:22:59 +02:00
Xinchen Hui
ad9ee5de84
Merge branch 'PHP-5.4'
2012-09-28 15:05:10 +08:00
Jerome Loyet
68eb608f3c
- Fixed bug #62887 (Only /status?plain&full gives "last request cpu")
2012-09-28 01:26:20 +02:00
Jerome Loyet
9ed421e3d7
- Fixed bug #62947 (Unneccesary warnings on FPM)
2012-09-28 01:09:31 +02:00
Jerome Loyet
c8b7ea0f57
- fix merge (fucking git merging system ... :( )
2012-09-28 00:55:06 +02:00
Jerome Loyet
9e4c0b8142
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #63085 (Systemd integration and daemonize)
- Fixed bug #62954 (startup problems fpm / php-fpm) - Fixed bug #62886 (PHP-FPM may segfault/hang on startup)
2012-09-28 00:53:43 +02:00
Jerome Loyet
ace1bf9740
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #62954 (startup problems fpm / php-fpm) - Fixed bug #62886 (PHP-FPM may segfault/hang on startup)
2012-09-28 00:08:13 +02:00
Jerome Loyet
ca6273240e
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src: (641 commits)
fix unix/win dir separators
Fix bug #63173 : Crash when invoking invalid array callback
compile out example plugin in a release build
change public key setting to PERDIR and finish code that allows to set the key file programatically per mysqli_options()
remove old unicode code, that is was compiled out by using a macro
Add SHA256 authentication support - password hashing to mysqlnd Automatic switchover to SSL with plain-text password is not part of this
Correct the test summary
Fixed bug #60723 (error_log error time has changed to UTC ignoring default timezo)
Fixed bug #60723 (error_log error time has changed to UTC ignoring default timezo)
Add NEWS/UPGRADING for previous change
Simplify set_error_handler/set_exception_handler code
Return previous error handler when resetting the error handler
Allow resetting the error handler
Revert error/exception handler changes
Fixed bug #63132
Avoid calling select if maxfd returned by curl_multi_fdset is -1
Add CURLOPT_READDATA which was removed by mistake
Fixing NEWS file
Fixed bug #63111 (is_callable() lies for abstract static method)
updated lib versions
...
2012-09-28 00:06:13 +02:00
Anatoliy Belsky
87df717909
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix unix/win dir separators
2012-09-27 19:54:12 +02:00
Nikita Popov
aaabac2473
Merge branch 'PHP-5.4'
...
Conflicts:
Zend/zend_vm_def.h
2012-09-27 18:46:27 +02:00
Christopher Jones
609e375e2f
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src: (22 commits)
compile out example plugin in a release build
change public key setting to PERDIR and finish code that allows to set the key file programatically per mysqli_options()
remove old unicode code, that is was compiled out by using a macro
Add SHA256 authentication support - password hashing to mysqlnd Automatic switchover to SSL with plain-text password is not part of this
Correct the test summary
Fixed bug #60723 (error_log error time has changed to UTC ignoring default timezo)
Fixed bug #60723 (error_log error time has changed to UTC ignoring default timezo)
Add NEWS/UPGRADING for previous change
Simplify set_error_handler/set_exception_handler code
Return previous error handler when resetting the error handler
Allow resetting the error handler
Revert error/exception handler changes
Fixed bug #63132
Avoid calling select if maxfd returned by curl_multi_fdset is -1
Add CURLOPT_READDATA which was removed by mistake
Fixing NEWS file
Fixed bug #63111 (is_callable() lies for abstract static method)
updated lib versions
Do not disable RFC3678 multicast API on Windows
Fix folding
...
2012-09-26 16:31:22 -07:00
andrey
da96aa848f
compile out example plugin in a release build
2012-09-26 17:13:46 +02:00
andrey
263b37bee1
change public key setting to PERDIR and finish code that allows
...
to set the key file programatically per mysqli_options()
2012-09-25 18:26:02 +02:00
andrey
6074df91c6
remove old unicode code, that is was compiled out by using a macro
2012-09-25 16:36:21 +02:00
andrey
571b46bff6
Add SHA256 authentication support - password hashing to mysqlnd
...
Automatic switchover to SSL with plain-text password is not part of this
2012-09-25 14:04:36 +02:00
Xinchen Hui
8a930c93dd
Merge branch 'PHP-5.4'
2012-09-24 19:47:47 +08:00
Xinchen Hui
518fa8c4cf
Merge branch 'PHP-5.4'
2012-09-24 11:01:24 +08:00
Xinchen Hui
8fcb4f1107
Merge branch 'PHP-5.4'
2012-09-23 23:00:15 +08:00
Nikita Popov
5de79f9f07
Add NEWS/UPGRADING for previous change
2012-09-22 21:54:59 +02:00
Nikita Popov
5c7dd7811e
Simplify set_error_handler/set_exception_handler code
2012-09-22 21:46:29 +02:00
Nikita Popov
f28c128b20
Return previous error handler when resetting the error handler
...
set_error_handler(null) and set_exception_handler(null) now return the
previous error/exception handler instead of just returning bool(true).
This is consistent with the behavior of these functions with non-null
values.
2012-09-22 21:46:18 +02:00
Nikita Popov
c815dd74bc
Allow resetting the error handler
...
This allows the error handler to be reset using set_error_handler(null).
As the code suggests this behavior was already previously intended, but
the callback check was done too strictly.
2012-09-22 21:46:02 +02:00
Nikita Popov
4954aba2ed
Revert error/exception handler changes
...
This reverts the following two commits:
* 6ba2e662e4
* d8f8e98d8e
Laruence already did some partial changes to set_error_handler and
set_exception_handler. I'm reverting those modifications to apply the full
set of changes. (The modifications changed the code structure in a way that
would lead to more duplication with the new behavior.)
2012-09-22 21:41:51 +02:00
Nikita Popov
a31fa55b44
Fixed bug #63132
...
EG(arg_types_stack) is now also backed up when generators are used. This
allows the use of yield in nested method calls.
This commit adds two new functions to the zend_ptr_stack API:
zend_ptr_stack_push_from_memory
zend_ptr_stack_pop_into_memory
both taking the following arguments:
zend_ptr_stack *stack, int count, void **pointers
2012-09-22 19:15:53 +02:00
Pierrick Charron
6c135dff97
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Avoid calling select if maxfd returned by curl_multi_fdset is -1
Fixing NEWS file
2012-09-22 10:19:16 -04:00
Pierrick Charron
70713a27b6
Add CURLOPT_READDATA which was removed by mistake
...
I did a check and this is the only one which was removed by mistake.
No other constants are available in 5.4 branch and not in master
2012-09-22 10:05:52 -04:00
Dmitry Stogov
8984de4672
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
updated lib versions
2012-09-21 15:15:37 +04:00
Dmitry Stogov
274cbe5238
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #63111 (is_callable() lies for abstract static method)
Fix folding
Conflicts:
NEWS
2012-09-21 15:14:29 +04:00
Anatoliy Belsky
a9d727e180
Merge branch 'PHP-5.4'
...
* PHP-5.4:
updated lib versions
Fix folding
2012-09-21 09:59:01 +02:00
Gustavo Lopes
bf19838c87
Do not disable RFC3678 multicast API on Windows
...
The API is supported since Windows Vista and requires targeting Vista
when compiling PHP. Pierre had asked to disable this by default, even
when targeting Vista/Windows Server 2008.
Since XP will not be supported anymore on php-next, any rationale
for this option will not apply anymore.
2012-09-20 23:36:20 +02:00
Rasmus Lerdorf
fa5477d9d4
Fix folding
2012-09-20 14:24:55 -04:00
Rob Richards
4b9ed49217
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix bug #63015 (Incorrect arginfo for DOMErrorHandler)
2012-09-20 02:35:16 -04:00
Christopher Jones
6ce88bbc71
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src :
Bug #63000 : MCAST_JOIN_GROUP on OSX is broken
Fixed bug #61442 (exception threw in __autoload can not be catched)
2012-09-19 17:09:30 -07:00
Lars Strojny
1c423601a8
Merge branch 'PHP-5.4'
...
Conflicts:
ext/sockets/multicast.h
2012-09-19 22:23:22 +02:00
Xinchen Hui
2211300864
Merge branch 'PHP-5.4'
2012-09-19 19:52:38 +08:00
Christopher Jones
2a352f6af7
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src :
Merging PR #116
Merged GitHub PR #190 : Support for the HTTP PATCH method in CLI webserver
updated libary versions
split tests for the new zlib version on win
Fixed Bug #63103 (ext\curl\tests\bug62839.phpt broken)
2012-09-18 18:31:13 -07:00
Lars Strojny
6793e09a4e
Merge branch 'PHP-5.4'
2012-09-18 23:17:31 +02:00
Lars Strojny
d0e96a5575
Merge branch 'PHP-5.4'
2012-09-18 22:17:36 +02:00
Anatoliy Belsky
7be5e7539c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
updated libary versions
2012-09-18 10:20:47 +02:00
Anatoliy Belsky
d23efb137b
Merge branch 'PHP-5.4'
...
* PHP-5.4:
split tests for the new zlib version on win
2012-09-18 10:02:33 +02:00
Xinchen Hui
26ee1cb0b1
Merge branch 'PHP-5.4'
2012-09-18 10:50:24 +08:00
Christopher Jones
d90a7f1500
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src :
update news
Support building PHP with the native client toolchain.
test should fail
2012-09-17 17:11:03 -07:00
Stanislav Malyshev
44e3a9be7e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
update news
Support building PHP with the native client toolchain.
test should fail
2012-09-17 15:58:48 -07:00
Anthony Ferrara
8bd79d1807
Refactor slightly to enable cleaner readability
2012-09-17 11:43:47 -04:00
Anthony Ferrara
6fd5ba5c8d
Fix arg info for required params passed to needs_rehash
2012-09-17 11:10:59 -04:00
Anthony Ferrara
44c2624f8c
Fix ucwords error casing
2012-09-17 10:59:51 -04:00
Anthony Ferrara
e034a46bdc
A bunch of naming convention fixes. No functionality changes
2012-09-17 10:52:07 -04:00
Christopher Jones
e1419001bd
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src :
Add NEWS for generators
Fix two op_array -> function cast warnings
Replace code with zend_clean_and_cache_symbol_table() call
Fix invalid read / remove useless code
Respond with 501 to unknown request methods
news for bug #61421
commit for php bug 61421 enabling SHA2 and RMD160 for openssl signature verification
Fixed bug #63093 (Segfault while load extension failed in zts-build).
Remove bug fixed entry
Add XFAIL test for bug #62852
Revert "Fixed bug #62852 (Unserialize invalid DateTime causes crash)"
2012-09-16 18:37:35 -07:00
Nikita Popov
f163c70fea
Add NEWS for generators
2012-09-16 22:02:47 +02:00
Nikita Popov
a47c11a13d
Fix two op_array -> function cast warnings
2012-09-16 22:01:07 +02:00
Nikita Popov
526db7db14
Replace code with zend_clean_and_cache_symbol_table() call
...
I replaced other instances of this code with the function call, but missed
this one.
2012-09-16 21:54:48 +02:00
Nikita Popov
fb03ce93d3
Fix invalid read / remove useless code
...
Generators follow a different cleanup path, so the extra check for freeing
the execute_data is unnecessary there. It actually caused problems because
op_array->fn_flags could be in freed memory at that time (in case op_array
came from a closure in an ArrayAccess container).
This fixes the valgrind warning in Zend/tests/bug54367.phpt.
2012-09-16 21:48:57 +02:00
Stanislav Malyshev
6cc9d99dc2
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Respond with 501 to unknown request methods
2012-09-15 23:11:55 -07:00
Stanislav Malyshev
088640adb2
Merge branch 'PHp-5.4'
...
* PHp-5.4:
news for bug #61421
commit for php bug 61421 enabling SHA2 and RMD160 for openssl signature verification
2012-09-15 23:02:44 -07:00
Xinchen Hui
80b29dcfad
Merge branch 'PHP-5.4'
2012-09-15 11:51:48 +08:00
Xinchen Hui
d23f9194b1
Merge branch 'PHP-5.4'
2012-09-15 11:33:26 +08:00
Derick Rethans
7101e9161c
Merge branch 'PHP-5.4'
2012-09-14 09:38:36 +01:00
Christopher Jones
b7fa9bfc04
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Change package.xml fix description
Fixed bug #60901 (Improve "tail" syntax for AIX installation)
2012-09-13 22:45:54 -07:00
Christopher Jones
c0dcbd5231
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src :
This will become 5.3.18
Update RELEASE PROCESS
2012-09-13 18:09:16 -07:00
Johannes Schlüter
9b7bb8d42e
Merge branch 'PHP-5.4'
2012-09-13 23:10:59 +02:00
David Soria Parra
45f4305605
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Update RELEASE PROCESS
2012-09-13 20:24:09 +02:00
Anthony Ferrara
83cfff4593
Switch to using an ENUM for algorithms instead of a constant
2012-09-13 10:32:54 -04:00
Christopher Jones
9884666e62
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src :
fix NEWS after releses
Generators & UPGRADING
Merge 5.3.16 NEWS in.
2012-09-12 18:14:37 -07:00
Johannes Schlüter
cebd084182
Merge branch 'PHP-5.4'
2012-09-12 23:35:40 +02:00
Johannes Schlüter
7ae66c5a16
Merge branch 'master' of git.php.net:/php-src
2012-09-12 23:01:11 +02:00
Anthony Ferrara
7ec80e1a13
Fix incorrect arg info required param count for password_hash
2012-09-12 12:15:33 -04:00
Anthony Ferrara
7161c3d2cf
Add news entry for password API
2012-09-12 11:56:12 -04:00
Anthony Ferrara
3e383dc0d5
Merge remote branch 'upstream/master' into hash_password
...
* upstream/master:
Generators & UPGRADING
Capitalize the warning message
Rearrange the codes, remove empty lines
Provide a specific error message if date.timezone value is invalid.
regenerate patch, and save a strlen
Fix the wrong use of snprintf which is introduced in 1d2f619049
Fixed unintendent clearance of PHP_OUTPUT_ACTIVATED flag
Fix doc bug #63032 (Number of release in documentation).
fixed test for bug #52944 also for darwin
-enable VC11 (vc2012)
- Fixed bug #61767 (Shutdown functions not called in certain error situation) - Fixed bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function)
year++
correct PHP version & year++
Correct PHP version
year++
- fix build, there was no tsrm context there, doing a fetch but this is horribly slow, this fix needs improvement (or simply add a TSRM context in the signature in master
- fix build, declarations must be 1st in a contextgit checkout -f master
Fixed bug #62907 (Double free when use traits)
Fixed bug #62991 (Segfault with generator and closure)
2012-09-12 11:48:45 -04:00
Anthony Ferrara
76f3295cdf
Expose PASSWORD_BCRYPT_DEFAULT_COST constant and update test to use it
2012-09-12 11:47:50 -04:00
Anthony Ferrara
ebe0bd5dee
Remove bcrypt_cost ini entry from declaration
2012-09-12 11:44:03 -04:00
Anthony Ferrara
e9a7bde829
Switch test to using strict comparison for crypt fallback
2012-09-12 11:37:56 -04:00
Anthony Ferrara
e8b7f5b35d
Add tests for password_get_info and password_needs_rehash
2012-09-12 11:21:08 -04:00
Gustavo André dos Santos Lopes
5246d6f02e
Generators & UPGRADING
2012-09-12 09:05:28 +01:00
Christopher Jones
a755884225
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src :
Capitalize the warning message
Rearrange the codes, remove empty lines
Provide a specific error message if date.timezone value is invalid.
regenerate patch, and save a strlen
Fix the wrong use of snprintf which is introduced in 1d2f619049
Fixed unintendent clearance of PHP_OUTPUT_ACTIVATED flag
2012-09-11 16:39:43 -07:00
Xinchen Hui
f6000a01e2
Capitalize the warning message
2012-09-11 18:09:47 +08:00
Xinchen Hui
79e6635cb6
Rearrange the codes, remove empty lines
2012-09-11 18:02:19 +08:00
Xinchen Hui
0146efbd41
Merge branch 'invalid-timezone' of https://github.com/simonwelsh/php-src
2012-09-11 17:58:20 +08:00
Simon Welsh
e06c47ca2a
Provide a specific error message if date.timezone value is invalid.
2012-09-11 21:45:09 +12:00
Xinchen Hui
7e64681740
Merge branch 'PHP-5.4'
2012-09-11 11:44:33 +08:00
Xinchen Hui
b5c2f532af
Merge branch 'PHP-5.4'
2012-09-10 23:11:28 +08:00
Dmitry Stogov
04789300a4
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed unintendent clearance of PHP_OUTPUT_ACTIVATED flag
2012-09-10 14:57:45 +04:00
Christopher Jones
51b33bd331
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src: (157 commits)
Fix doc bug #63032 (Number of release in documentation).
fixed test for bug #52944 also for darwin
-enable VC11 (vc2012)
- Fixed bug #61767 (Shutdown functions not called in certain error situation) - Fixed bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function)
year++
correct PHP version & year++
Correct PHP version
year++
- fix build, there was no tsrm context there, doing a fetch but this is horribly slow, this fix needs improvement (or simply add a TSRM context in the signature in master
- fix build, declarations must be 1st in a contextgit checkout -f master
Fixed bug #62907 (Double free when use traits)
Fixed bug #62991 (Segfault with generator and closure)
forked two tests for windows
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)
Bug #49510 : Boolean validation fails with FILTER_NULL_ON_FAILURE with empty string or false
Implemented ReflectionFunction::isGenerator()
...
2012-09-10 00:04:42 -07:00
Adam Harvey
6dca491a74
Merge branch 'PHP-5.4'
2012-09-10 10:06:23 +08:00
Anatoliy Belsky
b815676494
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fixed test for bug #52944 also for darwin
2012-09-09 23:03:47 +02:00
unknown
80a2f2f68e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
-enable VC11 (vc2012)
2012-09-08 18:48:32 +02:00
unknown
cea7f09043
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
-enable VC11 (vc2012)
2012-09-08 18:47:32 +02:00
unknown
dabe89c6f3
-enable VC11 (vc2012)
2012-09-08 18:46:33 +02:00
Dmitry Stogov
d4d82aac39
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #61767 (Shutdown functions not called in certain error situation) - Fixed bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function)
Conflicts:
NEWS
2012-09-06 14:03:22 +04:00
Xinchen Hui
12191a9f36
Merge branch 'PHP-5.4'
2012-09-05 23:48:54 +08:00
Xinchen Hui
d22f18007f
Merge branch 'PHP-5.4'
2012-09-05 23:44:41 +08:00
Xinchen Hui
63d9c1f40b
Merge branch 'PHP-5.4'
...
Conflicts:
sapi/litespeed/lsapi_main.c
2012-09-05 23:20:42 +08:00
Pierre Joye
2b7bddd82a
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- fix build, there was no tsrm context there, doing a fetch but this is horribly slow, this fix needs improvement (or simply add a TSRM context in the signature in master
2012-09-05 13:00:41 +02:00
Pierre Joye
4a7d1b4ed8
- fix build, declarations must be 1st in a contextgit checkout -f master
2012-09-05 12:53:29 +02:00
Dmitry Stogov
bceec038c8
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62907 (Double free when use traits)
Conflicts:
NEWS
2012-09-05 10:01:04 +04:00
Dmitry Stogov
061f3799eb
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
forked two tests for windows
2012-09-05 09:55:14 +04:00
Dmitry Stogov
72473962a9
Fixed bug #62991 (Segfault with generator and closure)
2012-09-05 09:50:55 +04:00
Anthony Ferrara
db41f9fe60
Refactoring to use size_t instead of int most places
2012-09-04 11:34:00 -04:00
Anthony Ferrara
824f1f4581
Merge remote branch 'upstream/master' into hash_password
...
* upstream/master: (393 commits)
forked two tests for windows
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)
Bug #49510 : Boolean validation fails with FILTER_NULL_ON_FAILURE with empty string or false
Implemented ReflectionFunction::isGenerator()
Allow null as a default value for length in mb_substr() and mb_strcut()
Allow null as a default value for length in mb_substr() and mb_strcut()
folder
Initializing optional argument description in assert()
Initializing optional argument description in assert()
Fix test failed due to new Token T_YIELD
fix NEWS
Fix leak when yielding array as key
Drop obsolete test
Remove extra blank in notice message, should act as same as vm
Fixed bug #62987 (Assigning to ArrayObject[null][something] overrides all undefined variables)
assert() user message
...
2012-09-04 10:29:22 -04:00
Anatoliy Belsky
4b206126ac
Merge branch 'PHP-5.4'
...
* PHP-5.4:
forked two tests for windows
2012-09-03 13:48:02 +02:00
Dmitry Stogov
2a57a25636
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
2012-09-03 12:00:19 +04:00
Dmitry Stogov
2659f5e88e
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)
2012-09-03 11:52:42 +04:00
Dmitry Stogov
4cca6241e0
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)
2012-09-03 11:38:08 +04:00
Lars Strojny
6fc2962b9a
Merge branch 'PHP-5.4'
2012-09-02 22:11:47 +02:00
Nikita Popov
cdb9fe99c2
Merge remote-tracking branch 'reeze/add-reflection-isGenerator'
2012-09-02 17:40:23 +02:00
Reeze Xia
ad0da9ae60
Implemented ReflectionFunction::isGenerator()
2012-09-02 23:29:56 +08:00
Lars Strojny
352a1956b6
Allow null as a default value for length in mb_substr() and mb_strcut()
2012-09-02 15:02:26 +02:00
Xinchen Hui
32a97dfae6
Merge branch 'PHP-5.4'
2012-09-02 16:53:31 +08:00
Lars Strojny
e212de4a44
Initializing optional argument description in assert()
2012-09-02 08:01:18 +02:00
Xinchen Hui
4e84f72554
Fix test failed due to new Token T_YIELD
2012-09-02 13:15:23 +08:00
Stanislav Malyshev
664e763c2c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix NEWS
2012-09-01 17:00:01 -07:00
Nikita Popov
dffffdeb3d
Fix leak when yielding array as key
...
The code was copy-pasted and I forgot to change OP1 to OP2 in that one
place.
2012-09-01 20:31:40 +02:00
Nikita Popov
1b5b839312
Drop obsolete test
2012-09-01 20:10:12 +02:00
Gustavo Lopes
53351d087d
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
...
2012-09-01 19:07:20 +02:00
Xinchen Hui
7b5960b085
Merge branch 'PHP-5.4'
2012-09-01 14:38:33 +08:00
Xinchen Hui
59e34bad32
Merge branch 'PHP-5.4'
2012-09-01 14:27:59 +08:00
Lars Strojny
64c168efc5
Tests for the previous assert() with user message
2012-08-31 19:01:57 +02:00
Lars Strojny
167108d73c
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
2012-08-31 18:55:43 +02:00
Xinchen Hui
b5d2c3174f
Merge branch 'PHP-5.4'
2012-08-31 11:25:21 +08:00
Johannes Schlüter
010dec7d17
Merge branch 'PHP-5.4'
2012-08-30 22:31:04 +02:00
Felipe Pena
5e51209785
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #62955 (Only one directive is loaded from "Per Directory Values" Windows registry)
2012-08-30 09:32:34 -03:00
Nikita Popov
dbc7809b17
Fix typos
2012-08-29 20:49:14 +02:00
Nikita Popov
bef79588d5
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.
2012-08-29 20:46:56 +02:00
Nikita Popov
cc07038fa9
Make sure that exception is thrown on rewind() after closing too
2012-08-29 20:31:34 +02:00
Anatoliy Belsky
747d2f8417
Merge branch 'PHP-5.4'
...
* PHP-5.4:
updated mpir version
Fixed defective cloning in ext/intl classes
2012-08-29 17:56:42 +02:00
Stanislav Malyshev
bab8167553
Merge branch 'PHP-5.4'
2012-08-28 22:11:24 -07:00
Stanislav Malyshev
ab566a9712
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
2012-08-28 22:02:15 -07:00
Anthony Ferrara
e05413ca59
Remove password_make_salt() from the implementation
2012-08-28 11:24:33 -04:00
Lars Strojny
6b1073a3a7
Bug #62956 : fixing private method signature validation
...
In inheritance, if both methods are private, don not enforce the same
signature.
2012-08-28 14:10:25 +02:00
Felipe Pena
dd9478e6c8
- Fixed compiler warnings
2012-08-27 08:56:54 -03:00
Xinchen Hui
cec1786911
Fixed bug #62938 (zend_do_bind_catch() used without declaration)
2012-08-27 10:23:23 +08:00
Gustavo Lopes
dacd11ea89
Fixed cloning in ext/intl classes; master specific
2012-08-26 23:44:54 +02:00
Gustavo Lopes
befe4ab479
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
2012-08-26 23:42:57 +02:00
Gustavo Lopes
011af74b23
Fix version in check message
2012-08-26 23:12:41 +02:00
Gustavo Lopes
a89c95552c
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
2012-08-26 21:59:17 +02:00
Gustavo Lopes
7179c11066
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
2012-08-26 21:59:05 +02:00
Gustavo Lopes
e95ad46186
Relax 4 dateformat tests for ICU 4.8
2012-08-26 20:42:54 +02:00
Lars Strojny
8788cddfb3
Prefix RESULT_CODE enum with ZEND_
2012-08-26 20:06:47 +02:00
Gustavo Lopes
3d0857938d
zend_binary_strncasecmp_l used w/out declaration
2012-08-26 19:44:05 +02:00
Gustavo Lopes
8831b000ca
Require ICU >= 4.0 in configure
2012-08-26 19:28:22 +02:00
Nikita Popov
48f4096917
Travis: Silence configure and make
...
The large compile logs are hurting the poor browsers.
This also drops two bogus configure options.
2012-08-26 17:46:01 +02:00
Stuart Langley
e3ef84c59b
Strong types for the result codes SUCCESS & FAILURE. These are common
...
symbol names and using #defines can cause conflicts.
2012-08-26 17:15:27 +02:00
Lars Strojny
e7a714b35e
Merging PR 121 to add support for slow request counting on the PHP-FPM status page
2012-08-26 17:09:46 +02:00
Pierrick Charron
101fd2d3fd
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
2012-08-26 09:03:45 -04:00
Nikita Popov
d60e3c6ef5
Merge remote-tracking branch 'php-src/master' into addGeneratorsSupport
...
Conflicts:
Zend/zend_language_parser.y
Zend/zend_vm_execute.skl
2012-08-26 13:03:55 +02:00
Xinchen Hui
14c88ff82c
Merge branch 'PHP-5.4'
2012-08-26 18:28:58 +08:00
Xinchen Hui
5ebbdecfea
Fixed bug #62930 , and more tests
2012-08-26 13:05:33 +08:00
Xinchen Hui
c6a5d192c8
tabs
2012-08-26 12:27:10 +08:00
Xinchen Hui
7c60aeef85
Fixed bug #62931 & #62932
2012-08-26 11:37:05 +08:00
Nikita Popov
bd70d15588
Remove implementation stubs for yield delegation
...
I decided to leave out yield delegation for an initial proposal, so remove
the stubs for it too.
2012-08-25 19:03:23 +02:00
Nikita Popov
f53225a99e
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
2012-08-25 17:40:08 +02:00
Xinchen Hui
35951d4be0
Support list in foreach
...
RFC: https://wiki.php.net/rfc/foreachlist
2012-08-25 22:23:57 +08:00
Xinchen Hui
e888d48d9b
Merge branch 'PHP-5.4'
2012-08-25 21:55:36 +08:00
Xinchen Hui
326aa08753
Prefer no finally block for most situations
2012-08-25 21:14:51 +08:00
Pierrick Charron
9ab45d3edb
Add missing constants in cURL
2012-08-25 01:21:17 -04:00
Pierrick Charron
e5ff3f18f5
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
2012-08-24 18:04:16 -04:00
Nikita Popov
4d8edda341
Run finally if generator is closed before finishing
2012-08-24 19:10:09 +02:00
Pierrick Charron
2a2e31d2a5
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62912 (CURLINFO_PRIMARY_IP is not exposed)
2012-08-24 10:26:44 -04:00
Nikita Popov
7cdf6367a5
Finally with return now works in generators too
2012-08-24 13:52:16 +02:00
Nikita Popov
68c1e1cfe9
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.
2012-08-24 13:51:39 +02:00
Nikita Popov
6517ed0215
Merge remote-tracking branch 'php-src/master' into addGeneratorsSupport
...
Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2012-08-24 13:29:40 +02:00
Xinchen Hui
071580ea1f
Merge branch 'PHP-5.4'
2012-08-24 18:24:55 +08:00
Derick Rethans
00fc59e0ca
Merge branch 'master' of git.php.net:/php-src
2012-08-24 10:54:48 +02:00
Xinchen Hui
a3d701e11c
Merge branch 'PHP-5.4'
2012-08-23 23:28:24 +08:00
Anatoliy Belsky
8b0a87f1c3
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fixing test for upcoming mpir upgrade
2012-08-23 17:12:49 +02:00
Anatoliy Belsky
6df1b2c5aa
Merge branch 'PHP-5.4'
...
* PHP-5.4:
ZTS fix introduced by Felipe must also go into 5.3
Updated INSTALL. Generated from the XML Docs.
Update NEWS given a5d0c1e2
2012-08-23 13:36:20 +02:00
Gustavo André dos Santos Lopes
d9f5b1e9bc
Merge branch '5.4'
...
* 5.4:
Fix SPOOFCHECKER_METHOD_FETCH_OBJECT definition
2012-08-23 10:33:13 +01:00
Xinchen Hui
3ef3b80cdd
Merge branch 'PHP-5.4'
2012-08-23 16:13:57 +08:00
Xinchen Hui
9b2ca07223
Merge branch 'PHP-5.4'
2012-08-23 16:07:13 +08:00
Xinchen Hui
b8800d1701
Merge branch 'PHP-5.4'
2012-08-23 15:45:06 +08:00
Felipe Pena
058e2947fa
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed ZTS build
2012-08-22 19:40:05 -03:00
Gustavo Lopes
b9eae3d67c
Fix handling of several uinitialized intl objects
...
Master specific changes. Not having this in the merge commit helps
porting to pecl/intl
2012-08-22 22:54:43 +02:00
Gustavo Lopes
fcd4420dbf
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix handling of several uinitialized intl objects
Fix handling of several uinitialized intl objects
- Fix NEWS
- BFN
Conflicts:
ext/intl/dateformat/dateformat.c
2012-08-22 22:53:07 +02:00
andrey
815874c646
plug a leak when the server ask the client for a auth protocol, that
...
the client doesn't understand. This is 5.5 specific bug, as a result
of a refactoring in 5.5
2012-08-22 20:04:42 +02:00
Sebastian Bergmann
a90170e6f8
WTF?
2012-08-22 16:14:14 +02:00
Felipe Pena
596e855feb
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #62892 (ReflectionClass::getTraitAliases crashes on importing trait methods as private)
2012-08-22 10:51:06 -03:00
Xinchen Hui
3938e5d616
Merge branch 'finally'
2012-08-22 18:33:37 +08:00
Xinchen Hui
60a29791e4
Fixed bug that jmp in try block jmp over finally block
...
Refactor the implemention, make codes clear
2012-08-22 18:32:03 +08:00
Xinchen Hui
3d4f91da4b
Merge branch 'master' into finally
2012-08-22 18:12:11 +08:00
Anatoliy Belsky
dac25a0d50
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62313 Zend\tests\errmsg_021.phpt fails
2012-08-22 11:45:32 +02:00
Xinchen Hui
2af7a76822
Merge branch 'PHP-5.4'
2012-08-22 13:52:04 +08:00
Xinchen Hui
703a4e390d
stash
2012-08-22 13:51:44 +08:00
Felipe Pena
8830cd5be4
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Removed PHP 6 checks
2012-08-21 20:16:12 -03:00
Xinchen Hui
460d258e57
Merge branch 'PHP-5.4'
2012-08-21 22:19:23 +08:00
Sebastian Bergmann
0fa40bb999
Bump version.
2012-08-21 13:37:18 +02:00
Anatoliy Belsky
47abbd1b4f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Added test for bug #51353 . It'll be skipped by default and must be activated manually.
Bug 62462: adjusting test
2012-08-21 13:27:52 +02:00
Lars Strojny
c4fecc1c5d
Merge branch 'master' of git://github.com/php/php-src
2012-08-21 10:09:56 +02:00
Lars Strojny
a45e81d093
Bug 62462: adjusting test
2012-08-21 10:08:46 +02:00
Xinchen Hui
f8d9cabd11
Merge branch 'PHP-5.4'
2012-08-21 15:23:53 +08:00
Xinchen Hui
546b0e4a99
Merge branch 'PHP-5.4'
2012-08-21 13:33:23 +08:00
Lars Strojny
18bb426587
Bug 62462: Prevent multibyte characters from being split between the lines
...
Merged from https://github.com/php/php-src/pull/120
2012-08-20 23:47:20 +02:00
Xinchen Hui
ab4f3d93e8
Merge branch 'PHP-5.4'
2012-08-20 23:44:43 +08:00
Popa Marius Adrian
33d872d9f3
skip test for bug 43130 on firebird , not relevant
2012-08-20 17:25:56 +03:00
Nikita Popov
f45a0f31c8
Disallow serialization and unserialization
2012-08-20 16:01:16 +02:00
Nikita Popov
1823b16fa1
Merge remote-tracking branch 'php-src/master' into addGeneratorsSupport
...
Merging master to fix Windows build
Conflicts:
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
Zend/zend_vm_def.h
2012-08-20 13:37:53 +02:00
Nikita Popov
9003cd1425
Fix zts build (typo)
2012-08-20 13:28:36 +02:00
Nikita Popov
05f10480c5
Drop Generator::close() method
2012-08-20 12:53:18 +02:00
Stanislav Malyshev
9ccf854198
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix for #62844
relative-scheme
bug #62844 ; relative URL schemes in parse_url()
2012-08-19 22:20:30 -07:00
Stanislav Malyshev
591c59d9bf
add heredoc parsing fix
2012-08-19 21:46:29 -07:00
Stanislav Malyshev
5ee3bf1647
add finally
2012-08-19 21:43:16 -07:00
Stanislav Malyshev
3336e1e78c
Merge branch 'pull-request/31'
...
* pull-request/31:
Fix lexing of nested heredoc strings in token_get_all()
2012-08-19 21:43:04 -07:00
Stanislav Malyshev
d2521fc42c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
update NEWS
2012-08-19 20:40:52 -07:00
Felipe Pena
cd18e20101
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Value stored to var is never used
2012-08-19 15:09:20 -03:00
Felipe Pena
64e4279642
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Value stored to var is never used
2012-08-19 14:50:54 -03:00
Felipe Pena
01c3e0e62c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Value stored to var is never used
2012-08-19 14:34:46 -03:00
Felipe Pena
9ad748edfb
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Value stored to var is never used
2012-08-19 12:55:46 -03:00
Felipe Pena
a025abe388
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Value stored to var is never used
2012-08-19 12:44:54 -03:00
Felipe Pena
9899c077c5
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Value stored to var is never read
2012-08-19 12:14:12 -03:00
Felipe Pena
8c9e09313c
Merge branch 'master' of git.php.net:php-src
2012-08-19 11:44:31 -03:00
Felipe Pena
2b685075b5
- Remove unused variable
2012-08-19 11:35:18 -03:00
Xinchen Hui
94a1d0de2a
Merge branch 'master' of git.php.net:php-src
2012-08-19 18:34:58 +08:00
Xinchen Hui
ca3c210f05
Merge branch 'PHP-5.4'
2012-08-19 18:34:17 +08:00
Felipe Pena
b2a74b5bdb
- Remove unused vars
2012-08-18 11:28:00 -03:00
Xinchen Hui
75cf51de50
Merge branch 'PHP-5.4'
2012-08-18 12:22:47 +08:00
Xinchen Hui
57e7c7bd49
tab
2012-08-18 11:57:53 +08:00
Xinchen Hui
72b9b8f380
Make the codes clearer, and also check continue statement
2012-08-18 11:44:09 +08:00
Anatoliy Belsky
7cf9ac1420
Merge branch 'PHP-5.4'
...
* PHP-5.4:
More intl tests extracted from symfony
Update version numbers to 5.4.7-dev.
Conflicts:
configure.in
main/php_version.h
2012-08-17 20:36:07 +02:00
Nikita Popov
294e7c295f
Annother attempt at fixing the mysqli_fetch_field tests
...
Instead of character set detection (which doesn't always work correctly)
fetch the character set info using mysqli_get_charset(). To make sure that
the returned info applies to all of client, connection and result
explicitely set utf8 as charset using mysqli_set_charset() before. I'm not
sure whether that last part is really necessary, but included it to be
safe.
2012-08-17 19:47:59 +02:00
Xinchen Hui
f2a8912e61
Refactor examing of jumping out of finally block
2012-08-18 00:16:34 +08:00
Xinchen Hui
2449365238
Fixed context info in error message
2012-08-17 21:18:20 +08:00
Xinchen Hui
3d93c88811
Merge branch 'PHP-5.4'
2012-08-17 18:30:03 +08:00
Nikita Popov
8cccc5c37d
Revert "Try to fix mysqli_field tests"
...
This reverts commit 018395efaf .
This change didn't really make sense in hindsight. Looking for some other
fix.
2012-08-16 21:56:48 +02:00
Pierrick Charron
2118ab9ab4
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62839
2012-08-16 14:51:28 -04:00
Felipe Pena
f84947c688
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #62829 (stdint.h included on platform where HAVE_STDINT_H is not set)
2012-08-16 15:45:40 -03:00
Nikita Popov
b5305d267b
Fix curl_basic_022.phpt
...
Some curl versions seem to have issues handling dates beyond
Thu, 31-Dec-2037 23:59:59 GMT (dates after this are just clamped to
MAX_INT).
2012-08-16 19:08:46 +02:00
Nikita Popov
9a38bd66c8
Fix php_ini_loaded_file() test
...
If running ./run-tests.php directly there isn't necessarily an ini file,
so the function can also return false.
2012-08-16 17:46:34 +02:00
Nikita Popov
fc26aa7f3e
Adjust UPGRADING/NEWS for additional mcrypt deprecations
2012-08-16 17:10:05 +02:00
Nikita Popov
b2b02fcf92
Merge remote-tracking branch 'googleguy/mcrypt-deprecated-functions-tests'
2012-08-16 17:01:37 +02:00
Xinchen Hui
acd402d4e7
typo
2012-08-16 23:01:58 +08:00
Sherif Ramadan
7014a0eb6d
Fixed Mcrypt deprecated functions and related tests
2012-08-16 10:21:22 -04:00
Antony Dovgal
6a87a21c71
Merge commit '8649e42'
...
* commit '8649e42':
Fixed bug #62838
2012-08-16 14:35:42 +04:00
Xinchen Hui
0312d0a262
Prevents goto out of a finally block
2012-08-16 18:17:26 +08:00
Nikita Popov
018395efaf
Try to fix mysqli_field tests
...
Those tests seem to fail when people have a different default collation, so
try to fix by specifying utf8_general_ci explicitely.
2012-08-15 14:50:24 +02:00
Xinchen Hui
8f05350061
Merge branch 'master' of git.php.net:php-src
2012-08-15 10:47:51 +08:00
Xinchen Hui
b7a5a8eb62
Merge branch 'fix-intl-tests' of https://github.com/reeze/php-src
2012-08-15 10:46:39 +08:00
Christopher Jones
c8359123ed
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix skipifs
2012-08-14 14:13:19 -07:00
Christopher Jones
0b5fd34e1c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Small test tidy up
2012-08-14 11:45:45 -07:00
Xinchen Hui
d43a6cda42
Merge branch 'PHP-5.4'
2012-08-15 01:26:33 +08:00
Xinchen Hui
cd4e5d20d9
Merge branch 'PHP-5.4'
2012-08-15 01:08:48 +08:00
Reeze Xia
80044a0879
Fix intl tests failed because of missing skipif section
2012-08-15 01:03:56 +08:00
Xinchen Hui
e936f49b20
Merge branch 'PHP-5.4'
2012-08-15 00:47:45 +08:00
Xinchen Hui
9e2530bfe4
Merge branch 'PHP-5.4'
2012-08-15 00:32:42 +08:00
Xinchen Hui
8c02ad7d15
Merge branch 'PHP-5.4'
2012-08-15 00:26:09 +08:00
Xinchen Hui
d3ad2d72ba
Merge branch 'PHP-5.4'
2012-08-15 00:16:05 +08:00
Nikita Popov
bb5417bfe0
Merge branch 'PHP-5.4'
2012-08-14 17:38:27 +02:00
Xinchen Hui
154fe7486d
typo
2012-08-14 14:17:27 +08:00
Xinchen Hui
f82be0550b
add test for alone try block, and update test scripts summary
2012-08-14 14:08:38 +08:00
Xinchen Hui
dacd918dc7
Merge branch 'PHP-5.4'
2012-08-14 14:03:56 +08:00
Xinchen Hui
c64f4e736c
Add functions declarations, use tabs
2012-08-14 08:59:40 +08:00
Nikita Popov
5bf4c5f82c
Merge branch 'PHP-5.4'
2012-08-13 22:06:43 +02:00
Nikita Popov
7066be50c0
Merge remote-tracking branch 'reeze/fix-phpcredits-bc'
2012-08-13 21:23:06 +02:00
Nikita Popov
544f5ad35b
Fix mcrypt_ecb tests after deprecation
2012-08-13 20:30:53 +02:00
Anatoliy Belsky
baea290b6c
fix windows build
2012-08-13 19:44:45 +02:00
Nikita Popov
7195a5b376
Forgot to add test
2012-08-13 19:24:44 +02:00
Nikita Popov
f3192ea6e4
Fix 64bit JSON test
2012-08-13 18:43:03 +02:00
Nikita Popov
ae716939eb
Support trivial finally in generators (no yield, no return)
...
The finally clause is now properly run when an exception is thrown in the
try-block. It is not yet run on `return` and also not run when the generator
is claused within a try block.
I'll add those two things as soon as laruence refactored the finally code.
2012-08-13 17:22:21 +02:00
Nikita Popov
f4ce364628
Merge remote-tracking branch 'php-src/master' into addGeneratorsSupport
...
This is just an intial merge. It does not yet make generators and finally
work together.
Conflicts:
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
Zend/zend_vm_execute.skl
Zend/zend_vm_opcodes.h
2012-08-13 16:54:53 +02:00
Xinchen Hui
80d5ae3cea
Implemented 'finally' keywords for php
...
RFC: https://wiki.php.net/rfc/finally
FR: https://bugs.php.net/bug.php?id=32100
and I have got some improvment ideas(performance), will implemented
later. thanks
2012-08-13 21:48:39 +08:00
Xinchen Hui
e51acee43d
Merge branch 'PHP-5.4'
2012-08-13 11:04:05 +08:00
Xinchen Hui
253760bb6b
Merge branch 'PHP-5.4'
2012-08-12 21:00:01 +08:00
Xinchen Hui
9787e7af44
Merge branch 'PHP-5.4'
2012-08-12 12:02:17 +08:00
Xinchen Hui
75f6c8d42c
Revert "zend_make_printable_zval choses cast_object over __toString"
...
This reverts commit a5dfd41494 .
2012-08-12 12:02:06 +08:00
Xinchen Hui
32c1c5a19f
Revert "Test for bug 62328"
...
This reverts commit 222ab9da1a .
2012-08-12 12:02:02 +08:00
Xinchen Hui
d11fa44d62
Merge branch 'Bug-62328' of https://github.com/leight/php-src
2012-08-12 10:40:41 +08:00
Xinchen Hui
66a6d1b97b
Merge branch 'PHP-5.4'
2012-08-11 16:00:30 +08:00
Xinchen Hui
e904f9f4b2
Merge branch 'PHP-5.4'
2012-08-11 00:25:54 +08:00
Leigh
222ab9da1a
Test for bug 62328
2012-08-10 11:43:53 +01:00
Leigh
a5dfd41494
zend_make_printable_zval choses cast_object over __toString
...
https://bugs.php.net/bug.php?id=62328
Added a check to see if the object implements a __toString magic
method. This should be called instead of the cast_object method of
built-in classes when defined.
2012-08-10 11:09:25 +01:00
Rob Richards
6209632ca1
Merge branch 'PHP-5.4'
...
# By Daniel Veillard
* PHP-5.4:
Update to work with libxml 2.9.0
2012-08-09 14:25:46 -04:00
Reeze Xia
3d4169d751
Fix phpcredits() BC after remove Logo GUIDs
...
This test was affected: ext/standard/tests/general_functions/phpcredits2.phpt
see https://github.com/php/php-src/pull/132/files#diff-3
This makes constant PHP_CREDITS_FULLPAGE didn't functional anymore.
2012-08-09 21:43:59 +08:00
Stanislav Malyshev
054e41f4ae
Merge branch 'PHP-5.4'
...
* PHP-5.4:
News for bug#40459
fix bug #40459 - make all stream funcs that create object call ctor
2012-08-09 00:12:22 -07:00
Stanislav Malyshev
1190bc440b
bug #54254
2012-08-07 01:48:32 -07:00
Stanislav Malyshev
a15459b291
text fixes from emosenkis
2012-08-07 01:48:32 -07:00
Stanislav Malyshev
0826d39370
some fixes for bug#54254
2012-08-07 01:48:31 -07:00
Eitan Mosenkis
dedc8f2682
Add test for interoperability of jdtojewish and cal_days_in_month
2012-08-07 01:48:31 -07:00
Eitan Mosenkis
e1489c5793
Update documentation to reflect fix of 54254
2012-08-07 01:48:31 -07:00
Stanislav Malyshev
ad545949d0
fix for display of Jewish month names
2012-08-07 01:48:31 -07:00
Anatoliy Belsky
7e2d550e88
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Added the intl tests extracted from Symfony. These are making the intl ext crash with ICU at least 4.6, but probably with earlier versions too.
2012-08-06 14:13:25 +02:00
Derick Rethans
68ecccc60b
Merge branch 'PHP-5.4'
2012-08-06 12:59:44 +01:00
Stanislav Malyshev
c9eb64127e
Merge branch 'pull-request/132'
...
* pull-request/132:
OK, bye bye JavaScript, let's just include credits before license
Nicer (JSLint-compliant!) credits reveal JavaScript
Removed now-unnecessary expose_php checks for logo
Fixed small misalignment in prev commit
Removed Logo GUIDs and replaced with Data URIs and div hidden with JS
2012-08-05 21:15:53 -07:00
Stanislav Malyshev
1a41607d46
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Add #51363
2012-08-05 21:00:16 -07:00
Stanislav Malyshev
13763c76db
Merge branch 'PHP-5.4'
...
* PHP-5.4:
var_export outputs an E_WARNING when recursion is detected
2012-08-05 20:58:46 -07:00
Stanislav Malyshev
04ac5065e0
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Added Bison 2.5.1 to bison_version_list
2012-08-05 20:48:47 -07:00
Stanislav Malyshev
e7ca5bb3a1
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Minor spelling corrections
2012-08-05 20:43:53 -07:00
Stanislav Malyshev
4a2d41a5bb
add note for mcrypt_ecb
2012-08-05 20:41:14 -07:00
Stanislav Malyshev
233e4d3418
Merge branch 'pull-request/141'
...
* pull-request/141:
Fixes mcrypt_ecb not issuing an E_DEPRECATED level notice, despite having been deprecated for some time. Please reference bug #62374 as well.
2012-08-05 20:39:45 -07:00
Stanislav Malyshev
0975a586e4
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix for #62460
2012-08-05 20:31:40 -07:00
Stanislav Malyshev
1f5fd96630
Merge branch 'PHp-5.4'
...
* PHp-5.4:
Fixed bug #62460 (php binaries installed as binary.dSYM)
2012-08-05 20:24:20 -07:00
Stanislav Malyshev
54b1414be0
add #61642
2012-08-05 19:25:15 -07:00
Dmitri Iouchtchenko
a6a7787cf2
Fix #61642 : modify("+5 weekdays") returns Sunday
...
Adding a non-zero multiple of 5 weekdays to any Friday, Saturday, or
Sunday would result in a Sunday instead of the correct date. This patch
provides an implementation of do_adjust_special_weekday() which does
not suffer from this issue.
2012-08-05 19:22:36 -07:00
Xinchen Hui
9c0a3272e7
Merge branch 'PHP-5.4'
2012-08-05 12:47:28 +08:00
Xinchen Hui
ac88d108e6
Merge branch 'PHP-5.4'
2012-08-04 11:29:56 +08:00
Xinchen Hui
7e4c0125da
Merge branch 'PHP-5.4'
2012-08-02 23:05:09 +08:00
Xinchen Hui
e200c7ade0
Merge branch 'PHP-5.4'
2012-08-02 22:29:43 +08:00
Xinchen Hui
c1a7369a40
Merge branch 'PHP-5.4'
2012-08-02 19:33:58 +08:00
Xinchen Hui
6f9b638aed
Merge branch 'PHP-5.4'
2012-08-02 19:24:23 +08:00
Nuno Lopes
81369bcc20
make default_exception_ce and error_exception_ce static
2012-08-02 11:44:15 +01:00
Xinchen Hui
3ac50cfe3f
Merge branch 'PHP-5.4'
2012-08-02 12:55:43 +08:00
Xinchen Hui
6c7c2d0c03
Merge branch 'PHP-5.4'
2012-08-02 12:34:15 +08:00
Stanislav Malyshev
20b7adbb20
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix NEWS
2012-08-01 12:21:49 -07:00
Xinchen Hui
7e37860246
Merge branch 'PHP-5.4'
2012-08-01 23:56:44 +08:00
Xinchen Hui
67f4043b61
Merge branch 'PHP-5.4'
2012-08-01 20:26:02 +08:00
Stanislav Malyshev
0fd6cd462d
Merge branch 'PHP-5.4'
...
* PHP-5.4:
sync NEWS
2012-07-31 21:52:03 -07:00
Stanislav Malyshev
555d00bf63
Merge branch 'PHP-5.4'
...
* PHP-5.4:
skip tests if ibase not present
2012-07-31 21:45:32 -07:00
Xinchen Hui
38c38e677e
Merge branch 'PHP-5.4'
2012-07-31 22:43:10 +08:00
Xinchen Hui
b412df1e67
Merge branch 'PHP-5.4'
2012-07-31 10:52:26 +08:00
andrey
79c6c93e0d
Fix crashes with filenames that don't contain directory separator - generated
...
files like scanners/parsers.
2012-07-30 21:50:13 +03:00
Gustavo André dos Santos Lopes
06e06f026d
Merge branch '5.4'
...
* 5.4:
Fix test title and limit it to ICU >= 4.8
Remove executable bit from files
Limit test to ICU 49
Remove executable bit from files
2012-07-30 11:04:48 +02:00
Xinchen Hui
f8559194db
Fix test failed due to new feature introduced in 45d596ea
2012-07-29 23:35:06 +08:00
Xinchen Hui
9c73c8d58d
Merge branch 'PHP-5.4'
2012-07-29 14:31:22 +08:00
Xinchen Hui
689fda310a
Merge branch 'PHP-5.4'
2012-07-29 13:26:29 +08:00
Xinchen Hui
32c05f772e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Skip test while zend_mm is disabled
2012-07-29 12:20:05 +08:00
Felipe Pena
6583f36a17
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #57933 (Wrong table type used in phpinfo output) patch by: selsky at columbia dot edu
2012-07-28 19:05:53 -03:00
Xinchen Hui
328541db6d
Merge branch 'PHP-5.4'
2012-07-28 17:01:50 +08:00
Xinchen Hui
ef23da27e0
Merge branch 'PHP-5.4'
2012-07-28 00:55:02 +08:00
Gustavo André dos Santos Lopes
594397993d
Fix bug #62651 : source level BC break
...
Break for C++ extensions that don't wrap the includes of PHP libraries
in extern "C" {.
2012-07-27 01:39:06 +02:00
Pierrick Charron
edece6ec84
Fixed bug #62615 (test ext/curl/tests/curl_escape.phpt failed).
...
curl_easy_escape was modified in 5.21.2 to not escape "unreserved" characters
so this test will fail on version older than 5.21.2
2012-07-26 19:13:42 -04:00
Nikita Popov
268740d984
Fix implementation of Iterator interface
...
It looks like you have to implement the Iterator interface *before*
assigning get_iterator. Otherwise the structure for user iterators isn't
correctly zeroed out.
Additionaly I'm setting class_entry->iterator_funcs.funcs now. Not sure if
this is strictly necessary, but better safe than sorry ;)
2012-07-26 17:13:25 +02:00
Xinchen Hui
80497ea7df
Merge branch 'PHP-5.4'
2012-07-26 13:58:01 +08:00
Xinchen Hui
07c61c2fdb
Merge branch 'PHP-5.4'
2012-07-26 12:44:51 +08:00
Xinchen Hui
ba568aaebb
Fixed invalid read in CONST_STRING dereference, reported by Nikic
2012-07-26 00:29:39 +08:00
Rasmus Lerdorf
0fbc8561e6
Fix bug #62654
2012-07-24 16:40:50 -07:00
Gustavo André dos Santos Lopes
f356be68c2
ini intl.explicit_cleanup -> INTL_EXPLICIT_CLEANUP
...
Added an environment variable and removed the ini setting
intl.explicit_cleanup for calling u_cleanup()
2012-07-24 15:13:02 +02:00
Felipe Pena
777160f7b5
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed ZTS build
Updated NES
2012-07-24 10:02:43 -03:00
Florian Anderiasch
81de111131
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Add syslog support to mail.log #62356
2012-07-24 14:34:41 +02:00
Florian Anderiasch
45d596ea1e
Add optional depth parameter to json_encode #62369
2012-07-24 13:15:16 +02:00
Xinchen Hui
dd9d64b21e
Merge branch 'PHP-5.4'
2012-07-24 14:46:25 +08:00
Xinchen Hui
6126ac44b5
correct the author name introduced in bb685512
2012-07-24 13:39:46 +08:00
Xinchen Hui
38fb89f91d
Merge branch 'PHP-5.4'
2012-07-24 13:39:02 +08:00
Gustavo Lopes
ae3a827bf9
Leak caused by wrong and unreachable cleanup
2012-07-23 17:00:52 +02:00
Gustavo Lopes
01004c6abb
Fixed leak in RuleBasedBreakIterator constructor
...
The leak occurred in case of error.
2012-07-23 16:51:28 +02:00
Gustavo Lopes
d8d5f9a9f5
Fixed function name
2012-07-23 16:46:28 +02:00
Gustavo Lopes
c052b9c99a
Do not fetch default locale once on minit or rinit
...
The default locale is now requested to ICU when it's needed by using
intl_get_default_locale().
2012-07-23 16:38:27 +02:00
Gustavo Lopes
0dfcc3e798
Add ini setting intl.explicit_cleanup
...
This is to help with looking for leaks. If set to true, this ini
setting forces a call to u_cleanup() on module shutdown.
2012-07-23 16:36:24 +02:00
Andrew Faulds
b1a997e2a2
OK, bye bye JavaScript, let's just include credits before license
2012-07-23 00:11:00 +01:00
Johannes Schlüter
f43e4f9883
Merge branch 'PHP-5.4'
2012-07-22 23:30:06 +02:00
Johannes Schlüter
a3c8429131
Merge branch 'PHP-5.4'
2012-07-22 22:46:21 +02:00
Nikita Popov
99f93dd9a8
Add T_YIELD in tokenizer_data.c
...
Also had to fix up some tokenizer tests that were affected by the token
number changes.
2012-07-22 20:32:56 +02:00
Nikita Popov
134089372b
Throw error also for return occuring before yield
...
Previously only an error was thrown when return occured after yield. Also
returns before the first yield would fail for by-ref generators.
Now the error message is handled in pass_two, so all returns are checked.
2012-07-22 20:11:09 +02:00
Nikita Popov
94b2ccae9c
Fix throwing of exceptions within a generator
...
If a generator threw an exception and was iterated using foreach (i.e. not
manually) an infinite loop was triggered. The reason was that the exception
was not properly rethrown using zend_throw_exception_internal.
2012-07-22 17:46:46 +02:00
Nikita Popov
de80e3ce4b
Remove reference restrictions from foreach
...
foreach only allowed variables to be traversed by reference. This never
really made sense because
a) Expressions like array(&$a, &$b) can be meaningfully iterated by-ref
b) Function calls can return by-ref (so they can also be meaningfully
iterated)
c) Iterators could at least in theory also be iterated by-ref (not
sure if any iterator makes use of this)
With by-ref generators the restriction makes even less sense, so I removed
it altogether.
2012-07-22 14:33:25 +02:00
Xinchen Hui
f89dbe5dea
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Improve error message for ssl request
2012-07-22 19:25:54 +08:00
Gustavo André dos Santos Lopes
4203e0a5df
Reflect changes made in merge 99e48d3
2012-07-22 04:26:49 +02:00
Gustavo André dos Santos Lopes
99e48d3a57
Merge branch 'datefmt_tz_cal_interop'
...
* datefmt_tz_cal_interop:
Readded accidentally removed line
Added IntlDateFormatter::formatObject(). Refactor
Refactored internal_get_timestamp()
Unified zval -> UDate conversions
2012-07-22 04:22:48 +02:00
Gustavo André dos Santos Lopes
2498c90c71
Readded accidentally removed line
2012-07-22 04:22:23 +02:00
Gustavo André dos Santos Lopes
2f0775b999
Added IntlDateFormatter::formatObject(). Refactor
...
To better support IntlCalendar, added this function:
string IntlDateFormatter::formatObject(IntlCalendar|DateTime $obj [,
array|int|string $format = null [, string $locale = null).
$format is either of the constants IntlDateFormatter::FULL, etc., in
which case this format applies to both the date and the time, an array
in the form array($dateFormat, $timeFormat), or a string with the
SimpleDateFormat pattern.
This uses both the Calendar type and the timezone of the passed object
to configure the formatter (a GregorianCalendar is forced for
DateTime).
Some stuff was moved around and slighlt modified to allow for more code
reuse.
2012-07-22 04:22:23 +02:00
Sherif Ramadan
29a0efccef
Fixes mcrypt_ecb not issuing an E_DEPRECATED level notice, despite having been deprecated for some time. Please reference bug #62374 as well.
2012-07-21 19:38:03 -04:00
Nikita Popov
80748631aa
Require parenthesis around yield expressions
...
If yield is used in an expression context parenthesis are now required.
This ensures that the code is unambiguos.
Yield statements can still be used without parenthesis (which should be
the most common case).
Also yield expressions without value can be used without parenthesis,
too (this should be the most common case for coroutines).
If the yield expression is used in a context where parenthesis are required
anyway, no additional parenthesis have to be inserted.
Examples:
// Statements don't need parenthesis
yield $foo;
yield $foo => $bar;
// Yield without value doesn't need parenthesis either
$data = yield;
// Parentheses don't have to be duplicated
foo(yield $bar);
if (yield $bar) { ... }
// But we have to use parentheses here
$foo = (yield $bar);
This commit also fixes an issue with by-ref passing of $foo[0] like
variables. They previously weren't properly fetched for write.
Additionally this fixes valgrind warnings which were caused by access to
uninitialized memory in zend_is_function_or_method_call().
2012-07-22 01:22:22 +02:00
Xinchen Hui
11a5afec22
Merge branch 'PHP-5.4'
...
* PHP-5.4:
missed the test script
2012-07-21 23:34:13 +08:00
Xinchen Hui
3447fe4e04
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix test failed
Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault)
2012-07-21 23:29:51 +08:00
Xinchen Hui
a580405f38
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault)
2012-07-21 22:46:14 +08:00
Xinchen Hui
64cbdc606c
Merge branch 'PHP-5.4'
2012-07-21 02:58:16 +08:00
Xinchen Hui
b39c0749ac
Merge branch 'PHP-5.4'
2012-07-21 00:48:34 +08:00
Nikita Popov
1f70a4c5fe
Add some more tests
2012-07-20 17:40:04 +02:00
Nikita Popov
612c2490b7
Move a variable
2012-07-20 17:38:39 +02:00
Nikita Popov
c9709bfbd7
Remove asterix modifier (*) for generators
...
Generators are now automatically detected by the presence of a `yield`
expression in their body.
This removes the ZEND_SUSPEND_AND_RETURN_GENERATOR opcode. Instead
additional checks for ZEND_ACC_GENERATOR are added to the fcall_common
helper and zend_call_function.
This also adds a new function zend_generator_create_zval, which handles
the actual creation of the generator zval from an op array.
I feel like I should deglobalize the zend_create_execute_data_from_op_array
code a bit. It currently changes EG(current_execute_data) and
EG(opline_ptr) which is somewhat confusing (given the name).
2012-07-20 16:09:06 +02:00
Derick Rethans
7e2442038c
Merge branch 'PHP-5.4'
2012-07-20 10:07:33 +01:00
Gustavo André dos Santos Lopes
13f1d53b68
Expose zend_parse_arg() as zend_parse_parameter()
...
Sometimes, one wants to accept several types for a given parameter. zpp
has special functionality for detecting the NULL type, since the NULL
type is frequently used to skip parameters.
However, supporting several types is otherwise very tedious. There are
many cases where this situation arises -- for instance one may want
to accept an arbitrary number of integer and expect them in an array,
but allow a bare integer too; one may want to accept something that
will be used as an array key (which can be either and int or a string);
one may want to accept integer and double numbers. A search for IS_LONG
reveals many situations where this need arises.
The usual solution is to fetch the argument with 'z'/'Z', check its
type, and then convert the argument, e.g. with convert_to_long_ex().
As explain in the last commit, this has different behavior and
generates inconsistency.
Another -- even more flawed strategy --, is to try zpp with a specific
format, forcing it quiet, and if it fails retrying with another form.
But because zpp changes the arguments directly in the stack (for
instance, using "l" converts the zval in the stack to IS_LONG), the
arguments may look different after the first zpp, leaving subtle bugs.
This commit also allows more complex scenarios, for instance where the
expected type of one parameter depends on other parameters.
2012-07-18 23:30:03 +02:00
Gustavo André dos Santos Lopes
980dc7111b
zend_parse_parameters: allow ! for non pointers
...
This commit allows getting information about whether a certain value
was a NULL value by using the ! modifier together with the l/L, d and
b.
Example:
long l;
zend_bool is_null;
zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l!", &l, &is_null)
For the specifiers l/L, d and b, NULL values are reported as 0, 0., or
false. But sometimes one wants to distinguish NULL from those other
values -- for instance, to give NULL the same effect as the argument
not having been passed.
The usual way this problem is handled is by fetching the parameter
with 'z' or 'Z', check if it is NULL and if not use
convert_to_long_ex()/convert_to_double_ex(), etc. Unfortunately, this
is not equivalent. convert_to_long_ex() does a cast, while zpp() is
stricter. For instance, zpp will not accept 'foo' for a long argument,
and it will emit a notice when encountering '5foo'.
In fact, the only way to otherwise zpp semantics (without duplicating
its logic) is to fetch the raw zval from the stack and check whether
it's NULL (with zpp itself or its relatives) and then run zpp again.
That is not an elegant solution.
2012-07-18 23:30:03 +02:00
Xinchen Hui
94a0f8722b
Revert "fix test"
...
This reverts commit cea3f0f363 .
seems the behavior is different between certain versions
2012-07-18 22:35:03 +08:00
Xinchen Hui
da7cd966ff
Merge branch 'PHP-5.4'
...
* PHP-5.4:
this initialization is unnecessary anymore after commit 2d9d2cadad
2012-07-18 21:49:46 +08:00
Xinchen Hui
e7535e06e6
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62597 (segfault in php_stream_wrapper_log_error with ZTS build)
2012-07-18 20:17:42 +08:00
Xinchen Hui
401230c7e1
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix test (no charset outputed)
2012-07-18 19:50:59 +08:00
Xinchen Hui
2ed4026518
Merge branch 'PHP-5.4'
...
* PHP-5.4:
skip for ZTS
2012-07-18 19:48:27 +08:00
Xinchen Hui
44462955f8
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix test (dos2unix, typo)
2012-07-18 19:25:56 +08:00
Xinchen Hui
ecc960e862
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix test, the key may be a float value
2012-07-18 19:22:13 +08:00
Xinchen Hui
8238c6a4c8
test script for bug #61697
2012-07-18 19:19:31 +08:00
Xinchen Hui
f13288de96
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62594 (segfault in mysqlnd_res_meta::set_mode)
2012-07-18 19:06:58 +08:00
Xinchen Hui
cea3f0f363
fix test
...
All input characters that are not a-z, A-Z or 0-9 will be converted to their "URL escaped" version
see http://curl.haxx.se/libcurl/c/curl_escape.html
2012-07-18 18:50:42 +08:00
Xinchen Hui
2e325d6126
Merge branch 'PHP-5.4'
2012-07-18 18:00:58 +08:00
Gustavo André dos Santos Lopes
08302e3d03
Merge branch '5.4'
...
* 5.4:
NEWS for b47d6b32
Fix test fails: ext/standard/tests/general_functions/bug27678.phpt
2012-07-17 23:13:43 +02:00
Anatoliy Belsky
fa117c55b7
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix for bug #62379 was missing in 5.3
2012-07-17 17:53:02 +02:00
Nikita Popov
85f077cea1
Add support by yielding by-reference
2012-07-17 13:29:56 +02:00
Hannes Magnusson
ac227f4ba9
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Do not unload shared extensions when checking for leaks
2012-07-17 10:06:02 +01:00
Stanislav Malyshev
626effcf17
typo
2012-07-15 15:35:16 -07:00
Andrew Faulds
c7c2fb0158
Nicer (JSLint-compliant!) credits reveal JavaScript
2012-07-15 14:41:53 +01:00
Xinchen Hui
6d10bdff9f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Update libmagic.patch
2012-07-15 18:27:29 +08:00
Stanislav Malyshev
026c161caf
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Implemented FR #61602 Allow access to name of constant used as default value
2012-07-14 23:10:00 -07:00
Stanislav Malyshev
1910fcff1e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
update NEWS
2012-07-14 22:41:18 -07:00
Stanislav Malyshev
e84c5be631
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #61527 (Recursive/ArrayIterator gives misleading notice when array empty or moved to the end)
2012-07-14 22:35:47 -07:00
Stanislav Malyshev
05f4e3e52a
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Typofix in test-description
2012-07-14 22:08:27 -07:00
Stanislav Malyshev
efdb7ce4b0
improve code in zend_operators
2012-07-14 21:06:40 -07:00
Stanislav Malyshev
455f3de802
Merge branch 'PHP-5.4'
...
* PHP-5.4:
removed unneccesary arrat and ini settings
addition SplFileObject tests
new tests from PHP TestFest June 2012
2012-07-14 19:25:16 -07:00
Stanislav Malyshev
6bfea28ce3
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixing up closing tag
Testing variation on input parameters of http_build_query() function
2012-07-14 19:00:35 -07:00
Stanislav Malyshev
bbb5eba871
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #61964 (finfo_open with directory cause invalid free)
2012-07-14 18:53:30 -07:00
Andrew Faulds
ee6540ad09
Removed now-unnecessary expose_php checks for logo
2012-07-14 23:20:45 +01:00
Stanislav Malyshev
bd340b7296
add NEWS/UPGRADING
2012-07-14 15:03:51 -07:00
Stanislav Malyshev
3b0573363a
fix comment
2012-07-14 14:50:50 -07:00
Stanislav Malyshev
c164e6b5a3
add test
2012-07-14 14:50:50 -07:00
Stanislav Malyshev
582514d4c7
fix for bug#18556 - use simple tolower() function for internal things
2012-07-14 14:50:50 -07:00
Andrew Faulds
92d2aeb234
Fixed small misalignment in prev commit
2012-07-14 21:55:11 +01:00
Andrew Faulds
d12f8d6790
Removed Logo GUIDs and replaced with Data URIs and div hidden with JS
...
- removed php_logo_guid()
- removed php_egg_logo_guid()
- removed php_real_logo_guid()
- removed zend_logo_guid()
- removed logo GUID handling
- removed logo GUIDs from source
- added logo data URIs instead for phpinfo()
- added credits to phpinfo() page, but hidden by default
2012-07-14 21:44:21 +01:00
Felipe Pena
d2beb0fc05
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #62525 (sigabrt while converting floating point to string)
2012-07-14 15:15:42 -03:00
Felipe Pena
c481a21ea1
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed memory leak when extending DOMXPath
- BFN
2012-07-14 13:17:09 -03:00
Felipe Pena
f94051ea11
- Fix conflict
2012-07-14 12:23:24 -03:00
Felipe Pena
44cdcb7fdb
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #62564 (Extending MessageFormatter and adding property causes crash)
2012-07-14 11:37:20 -03:00
Anatoliy Belsky
afba8b6597
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62379 failing ODBC long column functionality
2012-07-13 15:38:38 +02:00
Anatoliy Belsky
92bf6391aa
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #61677 ext\zlib\tests\bug_52944.phpt fails
2012-07-13 11:46:49 +02:00
Anatoliy Belsky
9cfb176116
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fixed the test for warnings changed
2012-07-12 18:30:09 +02:00
Anatoliy Belsky
ed1f5b4dae
Merge branch 'PHP-5.4'
...
* PHP-5.4:
reverted news about #62477
reverted changes for #62477
Conflicts:
NEWS
2012-07-12 11:02:33 +02:00
Anthony Ferrara
707c9073b5
Switch second parameter to password_make_salt to be a flag
2012-07-11 22:15:56 -04:00
Anatoliy Belsky
7bd3d0bf8c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
updated NEWS
2012-07-11 22:38:38 +02:00
Anatoliy Belsky
0064722bfa
Merge branch 'PHP-5.4'
...
* PHP-5.4:
updated NEWS
2012-07-11 22:35:29 +02:00
Anatoliy Belsky
b530d6d790
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62477 LimitIterator int overflow
2012-07-11 22:30:40 +02:00
Anatoliy Belsky
6071bfb325
fix windows build
...
- there should be no trailing white spaces after \ in multiline macros
2012-07-11 13:32:19 +02:00
Anthony Ferrara
bf01548967
Add new function hash_pbkdf2() to UGRAPDING doc
2012-07-10 13:13:30 -04:00
Anthony Ferrara
99b7956ad5
Merge remote branch 'upstream/master' into hash_password
...
* upstream/master: (34 commits)
Fixed Bug #62500 (Segfault in DateInterval class when extended)
Fixed test bug #62312 (warnings changed one more time)
fix valgrind warning
fix valgrind warning
fixed #62433 test for win
update NEWS
Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false)
appease MSVC (doesnt like unary minus of unsigned ints)
appease MSVC (doesnt like unary minus of unsigned ints)
appease MSVC (doesnt like unary minus of unsigned ints)
- Fixed bug #62507 (['REQUEST_TIME'] under mod_php5 returns miliseconds instead of seconds)
Fixed Bug #62500 (Segfault in DateInterval class when extended)
Added in NEWS and UPGRADING for feature 55218
Fix two issues with run-tests.php
Fix potential integer overflow in nl2br
Fix potential integer overflow in bin2hex
This wil be PHP 5.3.16
Revert change 3f3ad30c50 : There shouldn't be new features in 5.3, especially not if they aren't in 5.4, too.
fix (signed) integer overflow (part of bug #52550
fix (signed) integer overflow (part of bug #52550
...
2012-07-10 10:33:51 -04:00
Anthony Ferrara
731c6fd274
Merge remote branch 'upstream/master' into hash_pbkdf2
...
* upstream/master: (101 commits)
Fixed Bug #62500 (Segfault in DateInterval class when extended)
Fixed test bug #62312 (warnings changed one more time)
fix valgrind warning
fix valgrind warning
fixed #62433 test for win
update NEWS
Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false)
appease MSVC (doesnt like unary minus of unsigned ints)
appease MSVC (doesnt like unary minus of unsigned ints)
appease MSVC (doesnt like unary minus of unsigned ints)
- Fixed bug #62507 (['REQUEST_TIME'] under mod_php5 returns miliseconds instead of seconds)
Fixed Bug #62500 (Segfault in DateInterval class when extended)
Added in NEWS and UPGRADING for feature 55218
Fix two issues with run-tests.php
Fix potential integer overflow in nl2br
Fix potential integer overflow in bin2hex
This wil be PHP 5.3.16
Revert change 3f3ad30c50 : There shouldn't be new features in 5.3, especially not if they aren't in 5.4, too.
fix (signed) integer overflow (part of bug #52550
fix (signed) integer overflow (part of bug #52550
...
2012-07-10 10:31:25 -04:00
Xinchen Hui
b210766084
Merge branch 'PHP-5.4'
2012-07-10 18:46:20 +08:00
Anatoliy Belsky
64604350f5
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed test bug #62312 (warnings changed one more time)
fix valgrind warning
Conflicts:
ext/mysqlnd/mysqlnd.c
2012-07-09 18:51:27 +02:00
andrey
049abdfb26
fix valgrind warning
2012-07-09 18:13:35 +03:00
Anatoliy Belsky
f76bb14814
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fixed #62433 test for win
2012-07-09 12:45:56 +02:00
Xinchen Hui
0e97cdf86b
Merge branch 'PHP-5.4'
...
* PHP-5.4:
update NEWS
Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false)
appease MSVC (doesnt like unary minus of unsigned ints)
appease MSVC (doesnt like unary minus of unsigned ints)
2012-07-09 08:46:38 +08:00
Nuno Lopes
e6d9cd983b
appease MSVC (doesnt like unary minus of unsigned ints)
2012-07-08 15:19:41 -04:00
Felipe Pena
a76878cd59
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #62507 (['REQUEST_TIME'] under mod_php5 returns miliseconds instead of seconds)
2012-07-08 14:05:42 -03:00
Xinchen Hui
96651f8094
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed Bug #62500 (Segfault in DateInterval class when extended)
2012-07-09 00:28:04 +08:00
Stanislav Malyshev
9aa4851485
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Added in NEWS and UPGRADING for feature 55218
Adding in test for feature 55218
Implements feature 55218
Conflicts:
UPGRADING
2012-07-07 12:52:35 -07:00
Anthony Ferrara
6abd7365d0
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix two issues with run-tests.php
2012-07-06 22:39:32 -04:00
Anthony Ferrara
9d3630b5dc
Cleanup whitespace issues
2012-07-05 17:58:19 -04:00
Anthony Ferrara
ee7e799841
Implement password_get_info() function
2012-07-05 17:46:33 -04:00
Anthony Ferrara
db86d54446
Fix issue with int vs long parameter
2012-07-05 17:31:40 -04:00
Anthony Ferrara
5160dc11cd
Implement password_needs_rehash() function
2012-07-05 16:22:49 -04:00
Nikita Popov
ed54357fcd
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix potential integer overflow in nl2br
Fix potential integer overflow in bin2hex
2012-07-05 21:00:16 +02:00
Johannes Schlüter
3b104785c0
Merge branch 'PHP-5.4'
2012-07-05 01:19:27 +02:00
Anthony Ferrara
886527de56
Update signature info for changing algo to an ordinal
2012-07-03 08:26:50 -04:00
Anthony Ferrara
6943f2ab7f
Some more refactoring, make algo no longer optional
2012-07-03 08:24:31 -04:00
Anthony Ferrara
6cc3c65fbf
Remove php.ini setting for default bcrypt cost
2012-07-03 07:33:55 -04:00
Nuno Lopes
f2bf98a589
fix (signed) integer overflow (part of bug #52550
2012-07-02 01:31:40 -04:00
Xinchen Hui
8d81a03e43
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62433 (Inconsistent behavior of RecursiveDirectoryIterator to dot files).
2012-07-02 11:34:33 +08:00
Gustavo André dos Santos Lopes
46629e35ff
Refactored internal_get_timestamp()
...
Added bounds checking for 32-bit ints.
Do not fetch array elements that ::parse() generates but that
::format() does not actually care about.y
2012-07-02 00:26:38 +02:00
Gustavo André dos Santos Lopes
2416719fb1
Unified zval -> UDate conversions
...
Now IntlDateFormatter::format() also accepts IntlCalendar objects.
Code is shared in MessageFormatter and IntlDateFormatter.
2012-07-02 00:24:54 +02:00
Nikita Popov
4ff60737f7
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix accidential change of php_version.h
2012-07-01 17:06:51 +02:00
Nikita Popov
f6f9e3d166
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Revert JSON merges to 5.4
Revert JSON changes to PHP 5.3
2012-07-01 16:51:18 +02:00
Stanislav Malyshev
f3a4612c47
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix bug #61359 : json_encode() calls too many reallocs
2012-06-30 19:15:10 -07:00
Stanislav Malyshev
d0221f1065
Merge branch 'PHP-5.4'
...
* PHP-5.4:
update NEWS
remove duplicates, fix order
2012-06-30 17:37:30 -07:00
Stanislav Malyshev
a3322f8927
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed the common misspelling of the word occurred (occured -> occurred)
2012-06-30 17:00:25 -07:00
Felipe Pena
eb012cf884
- Fixed bug #62415 (Undefined variable: diff in run-tests.php on line 2093 for successful XFAIL)
2012-06-30 16:42:28 -03:00
Anthony Ferrara
f53112fdcf
Update password.c to use safe_emalloc in sensitive places
2012-06-29 11:37:39 -04:00
Anthony Ferrara
9c1445c6bc
More refactoring of crypt into php_crypt, and fixing memory allocation
2012-06-29 11:32:25 -04:00
Anthony Ferrara
9e18e578f0
Merge remote branch 'upstream/master' into hash_password
...
Conflicts:
ext/standard/crypt.c
2012-06-29 10:29:58 -04:00
andrey
c51fbbe4b4
merge
2012-06-29 16:58:53 +03:00
andrey
2abf2738f4
Merge branch 'master' of ssh://git.php.net/php-src
2012-06-29 14:39:47 +03:00
Nikita Popov
0b96fb4af5
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix some lengths in crypt()
2012-06-29 13:15:53 +02:00
andrey
267eba1805
Merge branch 'master' of ssh://git.php.net/php-src
2012-06-29 12:44:49 +03:00
andrey
0620ad2031
Merge branch 'PHP-5.4'
2012-06-29 12:43:41 +03:00
Anthony Ferrara
e778b03307
Restore old NEWS file, and re-add new entry.
...
This fixes a merge artifact where the 5.4 NEWS
file was accidentally brought in.
2012-06-28 22:43:59 -04:00
Stanislav Malyshev
da5fb9cb98
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix NEWS order
2012-06-28 18:09:04 -07:00
Anthony Ferrara
63318772ae
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)
2012-06-28 20:38:31 -04:00
Nikita Popov
cd7ab5cd11
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Add json_last_error_msg() function
2012-06-29 00:22:45 +02:00
Anthony Ferrara
da3d8bf514
Refactor password.c a bit, add different error checking
2012-06-28 15:29:40 -04:00
Anthony Ferrara
6bb3865a23
Refactor crypt to use an external working function
2012-06-28 14:44:04 -04:00
Johannes Schlüter
3eb40d9b46
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix #62432 ReflectionMethod random corrupt memory on high concurrent
2012-06-27 23:35:57 +02:00
Anthony Ferrara
0dd2f16b14
Fix formatting issues in password.c
2012-06-27 11:04:41 -04:00
andrey
46879ee4c2
Merge branch 'master' of http://git.php.net/repository/php-src
2012-06-27 16:51:35 +03:00
andrey
6e648e9340
trace allocations in a file
2012-06-27 16:51:07 +03:00
Felipe Pena
8d264dba93
- Fixed build
2012-06-27 09:01:02 -03:00
Nikita Popov
31dbd46641
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Improve JSON error handling
Conflicts:
main/php_version.h
2012-06-27 12:32:20 +02:00
Johannes Schlüter
cde8e0a281
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix memleak in CLI
2012-06-27 11:48:05 +02:00
Stanislav Malyshev
c0fa51e8f6
Merge branch 'PHP-5.4'
...
* PHP-5.4:
update NEWS
2012-06-26 21:56:27 -07:00
Stanislav Malyshev
a959ffa0a1
Merge branch 'PHP-5.4'
...
* PHP-5.4:
ws fix
BFN
Fix bug #62373 (serialize() generates wrong reference to the object)
2012-06-26 21:53:55 -07:00
Anthony Ferrara
5f44be03af
Add tests and error checking for large salt requested values to prevent overflow on allocation
2012-06-26 23:09:08 -04:00
Anthony Ferrara
2b9591f11f
Update tests to check ini setting
2012-06-26 22:13:51 -04:00
Anthony Ferrara
e505316aeb
Add tests for password hashing
2012-06-26 22:05:25 -04:00
Anthony Ferrara
232da90388
Implement php.ini setting password.bcrypt_cost
2012-06-26 21:15:56 -04:00
Leigh
6809c388b5
Tests, fixes and optimisations
...
* Amended existing tests to cater for new functionality.
* Implemented fixes and optimisations recommended by NikiC
* Added create_sid to the registered interface. This was breaking
tests. It also now breaks BC for people implementing the interface
directly instead of extending the class.
2012-06-26 14:57:10 +01:00
Xinchen Hui
a027ba3afe
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62357 (compile failure: (S) Arguments missing for built-in function __memcmp).
2012-06-26 18:50:52 +08:00
Johannes Schlüter
02d8e8959b
Merge branch 'master' of git.php.net:/php-src
...
* 'master' of git.php.net:/php-src: (22 commits)
Fix bug #62373 (serialize() generates wrong reference to the object)
Update UPGRADING given 7596445
Fix typo in error message
BreakIterator: fix compat with old ICU versions
Fix build error one ext/intl
Duplicate test for ICU 49
Fix undeclared intl_locale_get_default()
Fix memory allocation checks for base64 encode
Improve json_encode error handling
- BFN
- BFN
- Improved fix for #62384
BreakIterator::getPartsIterator: new optional arg
Added IntlCodePointBreakIterator.
Add Intl prefix to BreakIterator/RuleBasedBI
Remove trailing space
Replaced zend_parse_method_params with plain zpp
BreakIter: Removed getAvailableLocales/getHashCode
Change in BreakIterator::getPartsIterator()
BreakIterator: add rules status constants
...
2012-06-26 12:34:36 +02:00
Johannes Schlüter
d6e421f6a6
Pass orig filename and line through to emalloc and friends
2012-06-26 12:33:36 +02:00
Anthony Ferrara
2d4b7cb653
Refactor salt generation, rename password_create to password_hash
2012-06-25 21:22:16 -04:00
Nikita Popov
5a9bddba66
Forgot to git add two tests
2012-06-25 21:41:50 +02:00
Anthony Ferrara
41d7374ea4
Implement openssl support for make_salt
2012-06-25 11:37:48 -04:00
Anthony Ferrara
618f262956
More error checking, and some cleaning up for password.c
2012-06-25 08:50:39 -04:00
Anthony Ferrara
18d3bd9481
Basic random generator added to make_salt
2012-06-25 08:15:17 -04:00
Moriyoshi Koizumi
88cf472b92
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #62373 (serialize() generates wrong reference to the object)
2012-06-25 19:16:40 +09:00
Gustavo André dos Santos Lopes
794d2268f2
Update UPGRADING given 7596445
2012-06-25 12:12:22 +02:00
Gustavo André dos Santos Lopes
75964450ed
Merge branch 'break_iterator'
...
* break_iterator:
Fix typo in error message
BreakIterator: fix compat with old ICU versions
Fix build error one ext/intl
BreakIterator::getPartsIterator: new optional arg
Added IntlCodePointBreakIterator.
Add Intl prefix to BreakIterator/RuleBasedBI
Remove trailing space
Replaced zend_parse_method_params with plain zpp
BreakIter: Removed getAvailableLocales/getHashCode
Change in BreakIterator::getPartsIterator()
BreakIterator: add rules status constants
Tests for (RuleBased)BreakIterator.
BreakIterator and RuleBasedBreakiterator added
2012-06-25 12:11:49 +02:00
Gustavo André dos Santos Lopes
0df73a85e1
Fix typo in error message
2012-06-25 12:06:31 +02:00
Gustavo André dos Santos Lopes
d8b067e66f
BreakIterator: fix compat with old ICU versions
2012-06-25 12:05:13 +02:00
Gustavo André dos Santos Lopes
5a9dca458a
Fix build error one ext/intl
2012-06-25 11:53:20 +02:00
Gustavo André dos Santos Lopes
715e59ad82
Duplicate test for ICU 49
...
The output in ICU < 49 actually seems wrong here; ICU 49 seems to
fix the data.
2012-06-25 11:13:23 +02:00
Gustavo André dos Santos Lopes
9c5074a484
Fix undeclared intl_locale_get_default()
...
This was causing segfaults at least in the resourcebundle
constructor.
Also moved intl_locale_get_default() to a more central location
and fixed a constness warning in resourcebundle_ctor().
2012-06-25 10:59:58 +02:00
Anthony Ferrara
f7097d99ff
Fix memory leak on branch
2012-06-24 23:36:09 -04:00
Anthony Ferrara
657402832b
Implement password_verify
2012-06-24 23:35:26 -04:00
Anthony Ferrara
7e41980fe4
Actually complete password_create()
2012-06-24 23:25:18 -04:00
Anthony Ferrara
c77f2c2958
Base structure for passsword_create and password_make_salt
2012-06-24 22:44:43 -04:00
Nikita Popov
ee8b9d5c6f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix memory allocation checks for base64 encode
2012-06-25 00:09:05 +02:00
Nikita Popov
d68b614b09
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Improve json_encode error handling
- BFN
- BFN
2012-06-23 21:15:59 +02:00
Felipe Pena
1fc5659ebd
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Improved fix for #62384
2012-06-23 15:16:20 -03:00
Nikita Popov
ab75ed6ba9
Disallow closing a generator during its execution
...
If a generator is closed while it is running an E_WARNING is thrown and the
call is ignored. Maybe a fatal error should be thrown instead?
2012-06-23 16:08:15 +02:00
Nikita Popov
14766e1417
Pass zend_generator directly to Zend VM
...
Previously the zval* of the generator was passed into the VM by misusing
EG(return_value_ptr_ptr). Now the zend_generator* itself is directly passed
in. This saves us from always having to pass the zval* around everywhere.
2012-06-23 14:43:52 +02:00
Nikita Popov
04e781f0e4
Implement get_iterator
...
This implements the get_iterator handler for Generator objects, thus making
direct foreach() iteration significantly faster.
2012-06-23 01:28:16 +02:00
Nikita Popov
1d3f37dded
Fix segfault in method test
...
A ref has to be added to $this if the generator is called !nested (which
is the case when it is invoked via getIterator).
2012-06-23 00:03:28 +02:00
Johannes Schlüter
7d900356e9
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Remove unneeded and outdated ChangeLog file
2012-06-22 20:01:27 +02:00
Gustavo André dos Santos Lopes
77daa3482d
BreakIterator::getPartsIterator: new optional arg
...
Can take one of:
* IntlPartsIterator::KEY_SEQUENTIAL (keys are 0, 1, ...)
* IntlPartsIterator::KEY_LEFT (keys are left boundaries)
* IntlPartsIterator::KEY_LEFT (keys are right boundaries)
The default is IntlPartsIterator::KEY_SEQUENTIAL (the previous behavior).
2012-06-22 18:52:06 +02:00
Gustavo André dos Santos Lopes
0a7ae87e91
Added IntlCodePointBreakIterator.
...
Objects of this class can be instantiated with
IntlBreakIterator::createCodePointInstance()
The method does not take a locale, as it would not make sense in this
context.
This class has one additional method:
long IntlCodePointIterator::getLastCodePoint()
which returns either -1 or the last code point we moved over, if any
(and discounting any movement before the last call to
IntlBreakIterator::first() or IntlBreakIterator::last()).
2012-06-22 18:19:54 +02:00
Johannes Schlüter
21cbe30be3
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Remove extra ;
2012-06-22 17:33:38 +02:00
Felipe Pena
d980e95997
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #62384 (Attempting to invoke a Closure more than once causes segfaul)
2012-06-22 12:06:05 -03:00
Johannes Schlüter
4f5c7ee240
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Improve check for :memory: pseudo-filename in SQlite
2012-06-22 12:50:55 +02:00
Nikita Popov
6233408a2a
Fix thread safe build
2012-06-20 21:31:23 +02:00
Johannes Schlüter
6e6e98b9e3
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Remove outdated and user-specific files
2012-06-20 19:48:17 +02:00
Anatoliy Belsky
40af974c73
fix windows build
2012-06-20 15:02:49 +02:00
Nikita Popov
6eb169da8c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Add NEWS for bug #62262
Fixed bug RecursiveArrayIterator does not implement Countable
2012-06-19 18:42:22 +02:00
Nikita Popov
12b252e1dd
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug RecursiveArrayIterator does not implement Countable
2012-06-19 18:13:14 +02:00
Anatoliy Belsky
e31cebcae0
Merge branch 'PHP-5.4'
...
* PHP-5.4:
sync zip ext version with pecl
2012-06-19 17:18:00 +02:00
Anatoliy Belsky
b9048b905b
Merge branch 'PHP-5.4'
...
* PHP-5.4:
one more correction for COM upgrading notes
one more correction for COM upgrading notes
2012-06-19 14:58:47 +02:00
Anatoliy Belsky
5087778f42
Merge branch 'PHP-5.4'
...
* PHP-5.4:
split gzgetc_basic.phpt for zlib 1.2.7
2012-06-19 14:13:53 +02:00
Nikita Popov
d939d2dee5
Add sceleton for yield* expression
...
This does not yet actually implement any delegation.
2012-06-19 00:37:31 +02:00
Anatoliy Belsky
ae221c0379
Merge branch 'PHP-5.4'
...
* PHP-5.4:
com ext upgrading correction
2012-06-18 22:09:46 +02:00
Anatoliy Belsky
525738c5e5
Merge branch 'PHP-5.4'
...
* PHP-5.4:
com ext upgrading infos
2012-06-18 22:05:44 +02:00
Anatoliy Belsky
b335bf4f8e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
com ext upgrading info
2012-06-18 22:00:55 +02:00
Anatoliy Belsky
69ee7a241b
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Reverted the BC fix regarding to #57905 , test adopted
2012-06-17 16:16:59 +02:00
Xinchen Hui
df20808818
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix potential leak in cli server
2012-06-16 14:30:21 +08:00
Leigh
59cf3a2404
Add create_sid to session_set_save_handler and SessionHandler
...
A lot of code already existed to allow a custom create_sid handler, but
lacked a specific implementation.
Therefore I have added a 7th (optional) argument
session_set_save_handler, to allow a user function to be supplied for
session id generation.
If a create_sid function is not supplied, the default function is
called in its absence to preserve backwards compatibility.
Likewise create_sid only added to SessionHandler class, and not the
interface to maintain backwards compatibility. If the result is not
overridden, the default is called.
2012-06-15 15:06:47 +01:00
Anatoliy Belsky
bf8b58429b
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62312 ext\sockets\tests\socket_import_stream-4.phpt fails
2012-06-14 18:04:13 +02:00
Anatoliy Belsky
b04e8145c9
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #62270 Test bug - ext/fileinfo/tests/finfo_open_error-win32
2012-06-14 18:01:23 +02:00
Stanislav Malyshev
74916d8ec8
Merge branch 'PHP-5.4'
...
Merge reverts from 5.4, but shouldn't actually revert anything
* PHP-5.4:
Merge PHP 5.3.14 NEWS
re-add 61755 to NEWS
re-add 61755 to NEWS
Revert "Add PBKDF2 support via openssl()"
Revert "Rename openssl_pkcs5_pbkdf2_hmac() to something that doesn't sound like a spell."
add CVE
2012-06-13 12:26:14 -07:00
Stanislav Malyshev
784b4cddc6
simplify boolval()
2012-06-13 12:03:36 -07:00
Anthony Ferrara
03536e889a
More cleanup of documentation and comments, as well as code formatting
2012-06-12 15:05:44 -04:00
Anthony Ferrara
2f1cd2cb13
Fix tests to use proper casing
2012-06-12 14:52:43 -04:00
Anthony Ferrara
43eb8dc04a
Remove un-needed memset, and replacing stray spaces
2012-06-12 14:32:21 -04:00
Anthony Ferrara
df3d351cad
Update error messages to be more inline with PHP standards
2012-06-12 14:10:35 -04:00
Anthony Ferrara
4918acccc6
refactor away un-necessary casts in hashing routines
2012-06-12 14:09:16 -04:00
Anthony Ferrara
550253f652
Update NEWS to fix typo, add name
2012-06-12 13:51:18 -04:00
Anthony Ferrara
6387498823
Create hash_pbkdf2 function addition
2012-06-12 09:57:11 -04:00
Scott MacVicar
5b3c9f4fd1
One more time
2012-06-11 16:23:27 -07:00
Scott MacVicar
bcd671d999
Merge branch '5.4'
...
* 5.4:
Rename openssl_pkcs5_pbkdf2_hmac() to something that doesn't sound like a spell.
Add PBKDF2 support via openssl()
Conflicts:
ext/openssl/openssl.c
2012-06-11 16:04:01 -07:00
Scott MacVicar
aadf59dfa4
Add PBKDF2 support via openssl()
...
Summary:
No easy way to put these in the hash extension since we don't really support optional
parameters to certain algorithms. Implemented in openssl for now since it has it already
and is pretty stable.
Only SHA1 is confirmed to work as an algorithm but openssl has a parameter so it can be
changed in the future.
Will backport to 5.4 potentially with Stas' approval.
Test Plan:
Ran newly added tests which came from RFC 6070
2012-06-11 15:59:58 -07:00
Scott MacVicar
b481ebae55
Rename openssl_pkcs5_pbkdf2_hmac() to something that doesn't sound like a spell.
...
Summary:
Stas pointed out that this is named pretty poorly. Go for openssl_pbkdf2()
2012-06-11 12:38:54 -07:00
Felipe Pena
733aaf23b1
- Fixed build (PKCS5_PBKDF2_HMAC is from 1.0.0)
2012-06-11 14:08:38 -03:00
Anatoliy Belsky
0c6351778a
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #62271 test bug - ext/wddx/tests/bug48562.phpt
2012-06-11 17:03:14 +02:00
Scott MacVicar
32040b574e
Merge branch '5.4'
...
* 5.4:
Add PBKDF2 support via openssl()
2012-06-11 00:29:02 -07:00
Scott MacVicar
f4847efc5d
Add PBKDF2 support via openssl()
...
Summary:
No easy way to put these in the hash extension since we don't really support optional
parameters to certain algorithms. Implemented in openssl for now since it has it already
and is pretty stable.
Only SHA1 is confirmed to work as an algorithm but openssl has a parameter so it can be
changed in the future.
Will backport to 5.4 potentially with Stas' approval.
Test Plan:
Ran newly added tests which came from RFC 6070
2012-06-11 00:24:44 -07:00
Stanislav Malyshev
2065bab102
Merge branch 'PHP-5.4'
...
* PHP-5.4:
typo fix
2012-06-10 20:38:58 -07:00
Gustavo André dos Santos Lopes
cee31091a9
Add Intl prefix to BreakIterator/RuleBasedBI
2012-06-10 22:42:38 +02:00
David Soria Parra
552d80bce1
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Make travis silent
2012-06-10 18:18:05 +04:00
David Soria Parra
ff13501d33
Merge branch 'PHP-5.4'
...
By Stanislav Malyshev (1) and michelangelo (1)
* PHP-5.4:
Adding a test for ext/posix/tests/posix_getegid_basic.phpt
typo
2012-06-10 17:08:10 +04:00
Gustavo André dos Santos Lopes
87dd0269ba
Remove trailing space
2012-06-10 13:26:28 +02:00
Gustavo André dos Santos Lopes
a4925fae9b
Replaced zend_parse_method_params with plain zpp
2012-06-10 00:23:09 +02:00
Gustavo André dos Santos Lopes
afed66bb9e
BreakIter: Removed getAvailableLocales/getHashCode
2012-06-10 00:05:00 +02:00
Gustavo André dos Santos Lopes
4ec75539db
Change in BreakIterator::getPartsIterator()
...
BreakIterator::getPartsIterator() now returns an IntlIterator subclass
with a special method, getBreakIterator(), that returns the
associated BreakIterator.
Any call to getRuleStatus() is forwarded to the BreakIterator.
2012-06-10 00:04:53 +02:00
Gustavo André dos Santos Lopes
76a26d8419
Merge branch '5.4'
...
* 5.4:
Fix bug #62266
rearrange news
typo
NEWS File
2012-06-09 17:32:18 +01:00
Nikita Popov
f169b26dd7
Fix backtraces and func_get_args()
...
To make the generator function show up in backtraces one has to insert an
additional execute_data into the chain, as prev_execute_data->function_state
is used to determine the called function.
Adding the additional stack frame is also required for func_get_args(), as
the arguments are fetched from there too. The arguments have to be copied
in order to keep them around. Due to the way they are saved doing so is
quite ugly, so I added another function zend_copy_arguments to zend_execute.c
which handles this.
2012-06-09 00:40:47 +02:00
David Soria Parra
0d85a86bbb
Disable email notifications for travis-ci
2012-06-08 22:56:22 +02:00
Stanislav Malyshev
d1debecd90
typo
2012-06-08 12:24:40 -07:00
Stanislav Malyshev
c83457ed13
Merge branch 'PHP-5.4'
...
* PHP-5.4:
improve overflow checks
add NEWS
fix potential overflow in _php_stream_scandir
2012-06-08 01:23:07 -07:00
Stanislav Malyshev
426ccd3e7f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix potential overflow in _php_stream_scandir
2012-06-07 23:09:37 -07:00
Anatoliy Belsky
730493f2bb
Merge branch 'PHP-5.4'
...
* PHP-5.4:
set current versions for libzip and zip ext
2012-06-07 22:47:00 +02:00
Anatoliy Belsky
0c7ebf50fb
updated NEWS
2012-06-07 21:46:51 +02:00
Anatoliy Belsky
8af8125ec5
Merge branch 'PHP-5.4'
...
* PHP-5.4:
updated NEWS
2012-06-07 21:46:12 +02:00
Anatoliy Belsky
a4cbb605b1
Merge branch 'PHP-5.4'
...
* PHP-5.4:
updated NEWS
2012-06-07 21:44:20 +02:00
Anatoliy Belsky
ba4bfad257
Merge branch 'PHP-5.4'
...
* PHP-5.4:
zip windows fixes
fixed bc break related to #57905
fixed a bit overlooked from the last libzip port
brought the fix for #47667 back
fixed zip entry freeing
rechecked the merged libzip, took also the indents from the original to avoid confusion next time
fixed a double freeing crash
fixed header include
initial libzip upgrade patch to 0.10.1
- BFN
2012-06-07 21:07:53 +02:00
David Soria Parra
f8d60e2f09
Travis stop spamming
2012-06-07 19:45:56 +02:00
David Soria Parra
0eaa6e9512
UPGRADING entry for boolval()
2012-06-07 19:28:06 +02:00
Felipe Pena
7cb43e7955
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #62227 (Invalid phar stream path causes crash)
2012-06-07 14:21:20 -03:00
Pierrick Charron
93b041e6c2
Regenerated files
2012-06-07 18:05:25 +02:00
Pierrick Charron
4c98206a60
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Regenerated files
Regenerated files
2012-06-07 18:05:01 +02:00
Pierrick Charron
5b10a65617
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #51094 (parse_ini_file() with INI_SCANNER_RAW cuts a value that includes a semi-colon)
2012-06-07 17:51:56 +02:00
David Soria Parra
814e7bcf6c
Merge branch 'PHP-5.4'
...
By Till Klampaeckel
* PHP-5.4:
Don't depend on a fixed path for PHP shebang but use /usr/bin/env (cherry picked from commit 89c5d981603ed4a2a54f86c20cec4f263c58ded6)
2012-06-07 09:45:12 +02:00
David Soria Parra
753c3367c0
Merge branch 'pull-request/60'
...
By David Soria Parra (1) and Jille Timmermans (1)
* pull-request/60:
NEWS entry for boolval()
Implement boolval() with a test
2012-06-07 09:38:17 +02:00
David Soria Parra
6af01ed5a0
NEWS entry for boolval()
2012-06-07 09:37:26 +02:00
Xinchen Hui
07d0eab204
Merge branch 'PHP-5.4'
...
By Gustavo André dos Santos Lopes (4) and others
via Felipe Pena (2) and Xinchen Hui (2)
* PHP-5.4:
Remove unused codes
based on microsoft's description,the direct convert from FILETIME struct to __int64 is unsafe.
merge 5.3 entries
restore NEWS
Fix ext/intl build on ICU < 4.8
Optimization in ext/intl/msgformat
Fixed tests in ext/intl
Changed XFAILed collator_get_sort_key.phpt
2012-06-07 14:42:35 +08:00
Jille Timmermans
74b4ef5036
Implement boolval() with a test
2012-06-06 22:34:51 +02:00
Nikita Popov
40760ecb90
Fix cloning of generator methods
...
Forgot to add a reference to the this variable
2012-06-05 14:00:31 +02:00
Gustavo André dos Santos Lopes
c6593a0e9b
BreakIterator: add rules status constants
2012-06-04 23:09:10 +02:00
Gustavo André dos Santos Lopes
036b1eb291
Tests for (RuleBased)BreakIterator.
2012-06-04 22:25:08 +02:00
Gustavo André dos Santos Lopes
f5b421621d
BreakIterator and RuleBasedBreakiterator added
...
This commit adds wrappers for the classes BreakIterator and
RuleBasedbreakIterator. The C++ ICU classes are described here:
<http://icu-project.org/apiref/icu4c/classBreakIterator.html >
<http://icu-project.org/apiref/icu4c/classRuleBasedBreakIterator.html >
Additionally, a tutorial is available at:
<http://userguide.icu-project.org/boundaryanalysis >
This implementation wraps UTF-8 text in a UText. The text is
iterated without any copying or conversion to UTF-16. There is
also no validation that the input is actually UTF-8; where there
are malformed sequences, the UText will simply U+FFFD.
The class BreakIterator cannot be instantiated directly (has a
private constructor). It provides the interface exposed by the ICU
abstract class with the same name. The PHP class is not abstract
because we may use it to wrap native subclasses of BreakIterator
that we don't know how to wrap. This class includes methods to
move the iterator position to the beginning (first()), to the
end (last()), forward (next()), backwards (previous()), to the
boundary preceding a certain position (preceding()) and following
a certain position (following()) and to obtain the current position
(current()). next() can also be used to advance or recede an
arbitrary number of positions.
BreakIterator also exposes other native methods:
getAvailableLocales(), getLocale() and factory methods to build
several predefined types of BreakIterators: createWordInstance()
for word boundaries, createCharacterInstance() for locale
dependent notions of "characters", createSentenceInstance() for
sentences, createLineInstance() and createTitleInstance() -- for
title casing breaks. These factories currently return
RuleBasedbreakIterators where the names of the rule sets are found
in the ICU data, observing the passed locale (although the locale
is taken into considering there are very few exceptions to the
root rules).
The clone and compare_object PHP object handlers are also
implemented, though the comparison does not yield meaningful results
when used with >, <, >= and <=.
Note that BreakIterator is an iterator only in the sense of the
first 'Iterator' in 'IteratorIterator', i.e., it does not
implement the Iterator interface. The reason is that there is
no sensible implementation for Iterator::key(). Using it for
an ordinal of the current boundary is not feasible because
we are allowed to move to any boundary at any time. It we were
to determine the current ordinal when last() is called we'd
have to traverse the whole input text to find out how many
breaks there were before. Therefore, BreakIterator implements
only Traversable. It can be wrapped in an IteratorIterator,
but the usual warnings apply.
Finally, I added a convenience method to BreakIterator:
getPartsIterator(). This provides an IntlIterator, backed
by the BreakIterator PHP object (i.e. moving the pointer or
changing the text in BreakIterator affects the iterator
and also moving the iterator affects the backing BreakIterator),
which allows traversing the text between each boundary.
This iterator uses the original text to retrieve the text
between two positions, not the code points returned by the
wrapping UText. Therefore, if the text includes invalid code
unit sequences, these invalid sequences will be in the output
of this iterator, not U+FFFD code points.
The class RuleBasedIterator exposes a constructor that allows
building an iterator from arbitrary compiled or non-compiled
rules. The form of these rules in described in the tutorial linked
above. The rest of the methods allow retrieving the rules --
getRules() and getCompiledRules() --, a hash code of the rule set
(hashCode()) and the rules statuses (getRuleStatus() and
getRuleStatusVec()).
Because the RuleBasedBreakIterator constructor may return parse
errors, I reuse the UParseError to text function that was in the
transliterator files. Therefore, I move that function to
intl_error.c.
common_enum.cpp was also changed, mainly to expose previously
static functions. This avoided code duplication when implementing
the BreakIterator iterator and the IntlIterator returned by
BreakIterator::getPartsIterator().
2012-06-04 22:25:07 +02:00
Gustavo André dos Santos Lopes
c22a29b576
Updated UPGRADING for the changes in eb346ef
2012-06-04 18:25:55 +01:00
Gustavo André dos Santos Lopes
6efc877826
Merge branch 'datefmt_tz_cal_interop'
...
* datefmt_tz_cal_interop:
Added and fixed tests given eb346ef
DateFormat plays nice with Calendar, TimeZone
Added private constructor to IntlTimeZone.
Fixed write in constant memory.
2012-06-03 23:08:19 +01:00
Gustavo André dos Santos Lopes
758f0686d4
Added and fixed tests given eb346ef
2012-06-04 00:02:35 +02:00
Felipe Pena
9434f5e41f
Merge commit 'e59b6dc0ae803d49c3f620818285f98dfb61fd57'
2012-06-03 19:02:00 -03:00
Gustavo André dos Santos Lopes
eb346ef0f4
DateFormat plays nice with Calendar, TimeZone
...
The following changes were made:
* The IntlDateFormatter constructor now accepts the usual values
for its $timezone argument. This includes timezone identifiers,
IntlTimeZone objects, DateTimeZone objects and NULL. An empty
string is not accepted. An invalid time zone is no longer accepted
(it used to use UTC in this case).
* When NULL is passed to IntlDateFormatter, the time zone specified in
date.timezone is used instead of the ICU default.
* The IntlDateFormatter $calendar argument now accepts also an
IntlCalendar. In this case, IntlDateFormatter::getCalendar() will
return false.
* The time zone passed to the IntlDateFormatter is ignored if it is
NULL and if the calendar passed is an IntlCalendar object -- in this
case, the IntlCalendar time zone will be used instead. Otherwise,
the time zone specified in the $timezone argument is used instead.
* Added IntlDateFormatter::getCalendarObject(), which always returns
the IntlCalendar object that backs the DateFormat, even if a
constant was passed to the constructor, i.e., if an IntlCalendar
was not passed to the constructor.
* Added IntlDateFormatter::setTimeZone(). It accepts the usual values
for time zone arguments. If NULL is passed, the time zone of the
IntlDateFormatter WILL be overridden with the default time zone,
even if an IntlCalendar object was passed to the constructor.
* Added IntlDateFormatter::getTimeZone(), which returns the time zone
that's associated with the DateFormat.
* Depreacated IntlDateFormatter::setTimeZoneId() and made it an alias
for IntlDateFormatter::setTimeZone(), as the new ::setTimeZone()
also accepts plain identifiers, besides other types.
IntlDateFormatter::getTimeZoneId() is not deprecated however.
* IntlDateFormatter::setCalendar() with a constant passed should now
work correctly. This requires saving the requested locale to the
constructor.
* Centralized the hacks required to avoid compilation disasters on
Windows due to some headers being included inside and outside of
extern "C" blocks.
2012-06-04 00:01:48 +02:00
Gustavo André dos Santos Lopes
72beff0d41
Added private constructor to IntlTimeZone.
2012-06-03 23:39:34 +02:00
Gustavo André dos Santos Lopes
f3802db7a0
Fixed write in constant memory.
...
clang did not forgive.
2012-06-03 23:39:27 +02:00
Felipe Pena
913b2c700f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Optimize comparison between same HashTable pointer
- Fixed bug #62205 (php-fpm segfaults (null passed to strstr))
- fix missing include for unix sockets
- Comment unused function to avoid warnings
- Fixed bug #62205 (php-fpm segfaults (null passed to strstr))
- fix missing include for unix sockets
- Comment unused function to avoid warnings
2012-06-03 18:23:57 -03:00
David Soria Parra
160b5b564c
Fix indention
2012-06-03 19:20:17 +02:00
David Soria Parra
1fc6b3c4d9
Send mails to php-qa@lists.php.net whenever a build is failing
2012-06-03 19:11:10 +02:00
David Soria Parra
54d85308eb
Add preliminary README.md for github
...
Github uses a special markdown syntax and display the content of the README
formatted on the front page of the repo. This readme contains information for
github users.
2012-06-03 18:49:47 +02:00
David Soria Parra
8b0da0bb73
Merge branch 'pull-request/68'
...
By Davey Shafik
via Davey Shafik
* pull-request/68:
Fix boolean casting and whitespace (@dsp / #68 )
Add curl extension config, uses cli-server to test
Source all extension scripts for ENV vars
Add extension configs, compile more extensions
Reformat, setup MySQL DB, call run-tests directly
Add support for Travis CI
2012-06-03 18:22:14 +02:00
Nikita Popov
bf82f46ea9
Properly handle yield during method calls
2012-06-03 02:16:29 +02:00
Nikita Popov
7b3bfa5784
Improve backtraces from generators
...
The current situation is still not perfect, as the generator function itself
does not appear in the stack trace. This makes sense in some way, but it
would probably be more helpful if it would show up (with the bound arguments)
after the $generator->xyz() call. This could be misleading too though as the
function is not *really* called there.
2012-06-03 02:00:11 +02:00
Nikita Popov
6117f4c7c0
Add cloning support for generators
...
Generators can now be cloned. I'm pretty sure that my current code does not
yet cover all the edge cases of cloning the execution context, so there are
probably a few bugs in there :)
2012-06-02 20:40:58 +02:00
andrey
2c230fb574
close the underlying stream as early as possible and so notify the
...
NET layer
2012-06-01 22:12:08 +03:00
Jerome Loyet
ad60e181d6
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src: (43 commits)
close the stream whenever possible, no need to keep it open altough the connection is marked as unusable
Fixed Bug #62202 (ReflectionParameter::getDefaultValue() memory leaks with constant)
more refactoring stuff. Reduced code duplication in the authentication code
sort NEWS
fix bug #55042 - erealloc without updating pointer
Fix bug #62186 readline fails to compile
fix unchecked emalloc (cherry picked from commit 158d8a6b08 )
small refactoring - factour out code from connection establishment. Add a define for the default authentication protocol - get away from the hardcoded magic value
fix test
fix test
Typofix in comment in proc_open.c
fix CVE-2012-2143
updated the libmagic patch after Felipes regex fix
Fix bug #62150 Test Bug - ext/fileinfo/tests/finfo_open_error.phpt
Bug #62177 deactivate the linux test version on win
Fix bug #62177 Test Bug - finfo_file_regex.phpt
Fixed bug #62176 Test Bug - sapi/cli/tests/bug61546.phpt
fix unchecked emalloc
add CVE
add bug 62146
...
2012-06-01 11:30:13 +02:00
Jerome Loyet
4fc989fbbd
- Fixed bug #62205 (php-fpm segfaults (null passed to strstr))
2012-06-01 11:27:19 +02:00
Jerome Loyet
487e2fc0d5
- fix missing include for unix sockets
2012-06-01 11:26:55 +02:00
Jerome Loyet
34b6a9b32c
- Comment unused function to avoid warnings
2012-06-01 11:26:39 +02:00
andrey
ba23ddd06c
Merge branch 'master' of git.php.net:php-src
2012-06-01 11:22:52 +03:00
andrey
f96d19fa70
close the stream whenever possible, no need to keep it open altough the
...
connection is marked as unusable
2012-06-01 11:22:19 +03:00
Xinchen Hui
fc6462ec7b
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed Bug #62202 (ReflectionParameter::getDefaultValue() memory leaks with constant)
sort NEWS
2012-06-01 15:00:55 +08:00
Nikita Popov
1477be9aa8
Make $generator->send() return the current value
...
This makes the API easier to use (and is consistent with Python and JS).
2012-05-31 20:03:18 +02:00
andrey
9a64a23caf
Merge branch 'master' of git.php.net:php-src
2012-05-31 15:46:55 +03:00
andrey
0d1bc3e8e5
more refactoring stuff. Reduced code duplication in the authentication
...
code
2012-05-31 15:46:26 +03:00
Stanislav Malyshev
0c658c39f6
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix bug #55042 - erealloc without updating pointer
2012-05-30 22:27:54 -07:00
Johannes Schlüter
33849c2211
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #62186 readline fails to compile
fix unchecked emalloc (cherry picked from commit 158d8a6b08 )
2012-05-31 01:18:02 +02:00
Nikita Popov
ee89e228f6
Allow yielding during function calls
...
During function calls arguments are pushed onto the stack. Now these are
backed up on yield and restored on resume. This requires memcpy'ing them,
but there doesn't seem to be any better way to do it.
Also this fixes the issue with exceptions thrown during function calls.
2012-05-31 00:00:30 +02:00
Nikita Popov
0033a52521
Allow throwing exceptions from generators
...
The missing piece is how one can find the next stack frame, which is
required for dtor'ing arguments pushed to the stack. As the generator
execute_data does not live on the stack one can't use it to figure out the
start of the next stack frame. So there must be some other method.
2012-05-30 16:28:33 +02:00
andrey
56532895a8
Merge branch 'master' of git.php.net:php-src
2012-05-30 15:25:26 +03:00
andrey
5a2578a333
small refactoring - factour out code from connection establishment.
...
Add a define for the default authentication protocol - get away from
the hardcoded magic value
2012-05-30 15:24:17 +03:00
Stanislav Malyshev
ec2029a894
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix test
fix test
2012-05-29 23:53:01 -07:00
Xinchen Hui
4770fe2c97
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Typofix in comment in proc_open.c
2012-05-30 14:44:35 +08:00
Stanislav Malyshev
f428578138
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix CVE-2012-2143
2012-05-29 23:14:09 -07:00
Nikita Popov
8790160235
Add auto-increment keys
...
When no key is explicitely yielded PHP will used auto-incrementing keys
as a fallback. They behave the same as with arrays, i.e. the key is the
successor of the largest previously used integer key.
2012-05-30 05:05:49 +02:00
Nikita Popov
bc08c2cf94
Add support for yielding keys
...
Keys are yielded using the
yield $key => $value
syntax. Currently this is implemented as a statement only and not as an
expression, because conflicts arise considering nesting and use in arrays:
yield yield $a => $b;
// could be either
yield (yield $a) => $b;
// or
yield (yield $a => $b);
Once I find some way to resolve these conflicts this should be available
as an expression too.
Also the key yielding code is rather copy-and-past-y for the value yielding
code, so that should be factored out.
2012-05-30 02:44:06 +02:00
Nikita Popov
72a91d08e7
Add $generator->close() method
...
Calling $generator->close() is equivalent to executing a return statement
at the current position in the generator.
2012-05-29 18:11:18 +02:00
Nikita Popov
12e928314f
Fix segfault when send()ing to a closed generator
2012-05-29 18:01:08 +02:00
Nikita Popov
ad525c288a
Allow to use yield without value
...
If the generator is used as a coroutine it often doesn't make sense to yield
anything. In this case one can simply receive values using
$value = yield;
The yield here will simply yield NULL.
2012-05-29 17:53:11 +02:00
Anatoliy Belsky
9a9362cb09
Merge branch 'PHP-5.4'
...
* PHP-5.4:
updated the libmagic patch after Felipes regex fix
2012-05-29 17:42:35 +02:00
Nikita Popov
3600914ced
Add support for $generator->send()
...
Yield now is an expression and the return value is the value passed to
$generator->send(). By default (i.e. if ->next() is called) the value is
NULL.
Unlike in Python ->send() can be run without priming the generator with a
->next() call first.
2012-05-29 17:34:33 +02:00
Anatoliy Belsky
3a35479e59
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #62150 Test Bug - ext/fileinfo/tests/finfo_open_error.phpt
Bug #62177 deactivate the linux test version on win
Fix bug #62177 Test Bug - finfo_file_regex.phpt
2012-05-29 16:43:40 +02:00
Anatoliy Belsky
dffbc98239
Merge branch 'PHP-5.4'
...
* PHP-5.4: (21 commits)
Fixed bug #62176 Test Bug - sapi/cli/tests/bug61546.phpt
fix unchecked emalloc
add CVE
add bug 62146
add bug #62082
sync with HEAD
sync with HEAD
Fixed bug #61218 (the previous patch was not enough restritive on fcgi name string checks)
Fixed bug #61218 (the previous patch was not enough restritive on fcgi name string checks)
Fixed bug #61218 (FPM drops connection while receiving some binary values in FastCGI requests)
Fixed bug #61218 (FPM drops connection while receiving some binary valuesin FastCGI requests)
Fixed bug #62033 (USR2 signal was sent even if not catch when daemonize and an error occured)
- Fixed bug #62033 (USR2 signal was sent even if not catch when daemonize and an error occured)
- Fixed bug #62160 (Add process.priority to set nice(2) priorities)
- Fixed bug #62160 (Add process.priority to set nice(2) priorities)
- add missing headers to avoid warnings
- add missing headers to avoid warnings
- Fixed bug #62153 (when using unix sockets, multiples FPM instances can be launched without errors)
- Fixed bug #62153 (when using unix sockets, multiples FPM instances can be launched without errors)
- Fixed bug #62033 (php-fpm exits with status 0 on some failures to start)
...
Conflicts:
NEWS
2012-05-29 12:25:25 +02:00
Nikita Popov
b770b221e0
Make the GOTO and SWITCH VMs work again
2012-05-29 02:31:56 +02:00
Davey Shafik
5ef46fe43c
Fix boolean casting and whitespace (@dsp / #68 )
2012-05-28 06:25:03 -04:00
Davey Shafik
e2ebe6ce4e
Add curl extension config, uses cli-server to test
2012-05-28 06:22:25 -04:00
Davey Shafik
3db6d59a63
Source all extension scripts for ENV vars
2012-05-28 06:22:25 -04:00
Davey Shafik
0fe8b495ad
Add extension configs, compile more extensions
2012-05-28 06:22:25 -04:00
Davey Shafik
f15beda158
Reformat, setup MySQL DB, call run-tests directly
2012-05-28 06:22:25 -04:00
Davey Shafik
3966df7fc8
Add support for Travis CI
2012-05-28 06:22:24 -04:00
Nikita Popov
4aab08b64c
Properly free resources when generator return value not used
...
To keep things clean two new functions are introduced:
zend_clean_and_cache_symbol_table(HashTable *symbol_table)
zend_free_compiled_variables(zval ***CVs, int num)
2012-05-28 06:43:18 +02:00
Nikita Popov
bcc7d976f3
Set EG(current_execute_data)
...
This fixes several issues. In particular it makes method generators work
properly and also allows generators using a symbol table.
2012-05-28 06:06:30 +02:00
Pierrick Charron
fde8762e90
Added support for CURLOPT_MAIL_AUTH
...
pull-request/92:
Added support for CURLOPT_MAIL_AUTH for libcurl >= 7.25.0
2012-05-27 23:43:52 -04:00
Nuno Lopes
77b086f3f0
128 MB is enough for everyone (TM)
...
this is an initial tentative to avoid some testcases go crazy and consume 16 GB of memory. Additional measures will have to be taken if the problem persists.
Please patch individual tests that really require more than 128MB of memory
2012-05-27 20:03:58 -04:00
Nuno Lopes
c5d054d3a5
Merge branch 'master' of https://git.php.net/push/php-src
2012-05-27 19:58:00 -04:00
Nuno Lopes
af2d6a63bf
remove remaining traces of unicode.* ini settings
2012-05-27 19:57:34 -04:00
Your Name
60c4728594
VIM uses spaces as tabs and that doesn't comply with the coding
...
standard. I think I'd fixed it so it's using real tabs now.
2012-05-27 15:39:45 -07:00
Nikita Popov
9f52c5c226
Fix generator creation when execute_data is not nested
...
This happens primarily when the generator is invoked from some internal
place like a dynamic function call.
2012-05-27 22:48:21 +02:00
Nikita Popov
64a643a4e3
Free loop variables
...
If the generator is closed before it has finished running, it may happen
that some FREE or SWITCH_FREE opcodes haven't been executed and memory is
leaked.
This fixes it by walking the brk_cont_array and manually freeing the
variables.
2012-05-27 17:14:20 +02:00
Your Name
0667da8cb4
Removed syslog.h. That should never have been commited.
2012-05-27 01:50:29 -07:00
Your Name
d41fb16a52
Fixed the libcurl version checking for CURLOPT_MAIL_AUTH
2012-05-27 00:21:08 -07:00
Your Name
f75c1ed201
Added support for CURLOPT_MAIL_AUTH
2012-05-27 00:02:53 -07:00
Nikita Popov
247bb737d5
Add support for generator methods
2012-05-27 03:50:31 +02:00
Nikita Popov
39d3d5ec13
Add first real generator test
...
The test implements an xrange() function (the generator version of range()).
2012-05-27 00:50:27 +02:00
Nikita Popov
cbfa96cad5
Remove wrong dtor call
2012-05-27 00:25:12 +02:00
Nikita Popov
d49d3971e6
Close generator on return
2012-05-26 23:59:22 +02:00
Nikita Popov
5bb3a995c2
Implement return for generators
...
For generators ZEND_RETURN directly calls ZEND_VM_RETURN(), thus passing
execution back to the caller (zend_generator_resume).
This commit also adds a check that only return; is used in generators and
not return $value;.
2012-05-26 23:07:40 +02:00
Nikita Popov
fafce58683
Add YIELD opcode implementation
2012-05-26 22:44:53 +02:00
Nikita Popov
1a99d1c887
Add way to pass generator object to opcode handlers
...
The generator zval is put into the return_value_ptr_ptr.
2012-05-26 19:40:29 +02:00
Jerome Loyet
e7a7f533e3
Fixed bug #61218 (the previous patch was not enough restritive on fcgi name string checks)
2012-05-26 19:37:24 +02:00
Jerome Loyet
78de6eb03d
Fixed bug #61218 (FPM drops connection while receiving some binary values in FastCGI requests)
2012-05-26 19:29:01 +02:00
Jerome Loyet
0225300b70
Fixed bug #62033 (USR2 signal was sent even if not catch when daemonize and an error occured)
2012-05-26 18:48:56 +02:00
Jerome Loyet
7127135c87
- Fixed bug #62160 (Add process.priority to set nice(2) priorities)
2012-05-26 18:24:28 +02:00
Nikita Popov
f627be5254
Add support for executing a zend_execute_data
...
This adds another function execute_ex(), which accepts a zend_execute_data
struct to run (contrary to execute(), which accepts a zend_op_array from
which it initialized the execute_data).
This needs a bit more cleanup.
2012-05-26 17:53:13 +02:00
Jerome Loyet
18cd5772d6
- add missing headers to avoid warnings
2012-05-26 17:38:39 +02:00
Jerome Loyet
eeba67914e
- Fixed bug #62153 (when using unix sockets, multiples FPM instances can be launched without errors)
2012-05-25 21:23:39 +02:00
Jerome Loyet
a28fe034f2
- Fixed bug #62033 (php-fpm exits with status 0 on some failures to start).
2012-05-25 21:15:06 +02:00
Xinchen Hui
61a13773bc
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62128 superfluous ";"
2012-05-25 22:34:06 +08:00
Gustavo André dos Santos Lopes
a1e97bada8
Fixed problem in IntlCalendar debug handler
...
*is_temp was not being set.
Also deleted a redundant assignment to *is_temp in IntlTimeZone.
2012-05-25 13:29:19 +02:00
Anatoliy Belsky
c8d8d2442e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62149 Test Bug - ext/curl/tests/bug61948
Fixed bug #62148 mail_skipif doesn't skip imap tests on Release Build
2012-05-25 10:53:09 +02:00
Anatoliy Belsky
e2daa69b62
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62147 test bug - popen_pclose_basic-win32
2012-05-25 10:05:23 +02:00
Johannes Schlüter
cf73fb5f75
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #62146 com_dotnet cannot be built shared, tested by Anatoliy
Those changes are in 5.3.15
- BFN
2012-05-25 00:25:16 +02:00
Stanislav Malyshev
b187c35f23
Merge branch 'pull-request/54'
...
* pull-request/54:
Allow arbitrary expressions for empty()
This change is as per RFC https://wiki.php.net/rfc/empty_isset_exprs .
The change allows passing the result of function calls and other
expressions to the empty() language construct. This is accomplished by
simply rewriting empty(expr) to !expr.
The change does not affect the suppression of errors when using empty()
on variables. empty($undefinedVar) will continue not to throw errors.
When an expression is used inside empty() on the other hand, errors will
not be suppressed. Thus empty($undefinedVar + $somethingElse) *will*
throw a notice.
The change also does not make empty() into a real function, so using
'empty' as a callback is still not possible.
In addition to the empty() changes the commit adds nicer error messages
when isset() is used on function call results or other expressions.
2012-05-24 14:18:12 -05:00
Felipe Pena
3bd0a52468
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed magic file regex support
2012-05-24 13:43:53 -03:00
Xinchen Hui
7c297ca31e
Merge remote-tracking branch 'origin/PHP-5.4'
...
* origin/PHP-5.4:
Fixed bug #62073 (Different ways of iterating over an SplMaxHeap result in different keys)
2012-05-24 23:38:53 +08:00
Gustavo André dos Santos Lopes
457a57d653
Merge branch '5.4'
2012-05-24 14:33:42 +02:00
Gustavo André dos Santos Lopes
eeea790d30
Merge branch '5.4' with no code changes.
2012-05-24 14:18:38 +02:00
Anatoliy Belsky
1d30fb4c04
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62140 ext\standard\tests\file\tempnam_variation7-win32.phpt fails
2012-05-24 13:59:57 +02:00
Gustavo André dos Santos Lopes
a03f2e3814
Merge branch '5.4'
...
Conflicts:
UPGRADING
2012-05-24 13:52:06 +02:00
Anatoliy Belsky
674a04dfc7
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #62139 ext\standard\tests\file\rename_variation13-win32.phpt fails
2012-05-24 13:27:24 +02:00
Anatoliy Belsky
71b65a1bd2
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62138 ext\standard\tests\dir\dir_variation8-win32.phpt fails
2012-05-24 12:48:58 +02:00
Anatoliy Belsky
0b297a17e8
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #62137 ext\phar\tests\fatal_error_webphar.phpt fails
2012-05-24 12:06:53 +02:00
Gustavo André dos Santos Lopes
d4fd95e292
Merge branch '5.4'
2012-05-24 11:09:18 +02:00
Nuno Lopes
58d2203317
add support for the alloc_size __attribute__ (through ZEND_ATTRIBUTE_ALLOC_SIZE and ZEND_ATTRIBUTE_ALLOC_SIZE2
...
requires GCC >= 4.3 or clang >= 3.2 to perform anything useful
2012-05-23 22:18:01 -04:00
Rasmus Lerdorf
8208462fc1
This test depends on the default_charset setting, so set it to
...
UTF-8 for consistent output
2012-05-23 17:48:01 -07:00
Nikita Popov
ececcbce0e
Allow calling zend_vm_gen from everywhere
...
Before one could only call it with cwd=Zend.
2012-05-23 20:40:21 +02:00
Nikita Popov
2c5ecb4fea
Add dummy Iterator implementation
...
This simply adds dummy rewind/valid/current/key/next methods to Generator.
2012-05-23 16:44:58 +02:00
Gustavo André dos Santos Lopes
ca515e8073
Merge branch '5.4'
2012-05-23 15:52:47 +02:00
Gustavo André dos Santos Lopes
70e3e627fe
Fixed several ext/intl tests
2012-05-23 14:49:01 +02:00
Nikita Popov
9ce9a7e639
Add initial code for suspending execution
...
This is just some initial code, which is still quite broken (and needs to be
moved so it can be reused.)
2012-05-23 14:20:25 +02:00
Gustavo André dos Santos Lopes
2eb069aa48
Merge branch '5.4'
2012-05-23 13:27:54 +02:00
Jerome Loyet
e9a7039e60
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #61026 (FPM pools can listen on the same address)
2012-05-23 11:53:20 +02:00
Jerome Loyet
6e84267cc9
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Fix bug #62112 : number_format() is not binary safe
2012-05-23 11:40:59 +02:00
Jerome Loyet
2cd6855d4f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #61839 (Unable to cross-compile PHP with --enable-fpm)
2012-05-23 11:40:36 +02:00
Gustavo André dos Santos Lopes
adf2fba307
Merge branch '5.4'
2012-05-23 11:37:45 +02:00
Jerome Loyet
9438b2c401
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #61295 (php-fpm should not fail with commented 'user' for non-root start)
2012-05-23 11:32:02 +02:00
Jerome Loyet
3ec70a895e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- fix help message for '-R'
- Fixed bug #61835 (php-fpm is not allowed to run as root)
2012-05-23 10:37:36 +02:00
Xinchen Hui
c0f62636e8
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Revert NEWS
Revert "Implemented FR #61602 Allow access to name of constant used as default value"
Fix typo while resolving conflicts
Revert "Implemented FR #61602 Allow access to name of constant used as default value"
2012-05-23 13:53:25 +08:00
Nikita Popov
5e763d9420
Allocate execute_data using malloc for generators
...
Generators need to switch the execute_data very often. If the execute_data
is allocated on the VM stack this operation would require to always copy
the structure (which is quite large). That's why the execution context is
allocated on the heap instead (only for generators obviously).
2012-05-22 23:17:59 +02:00
Anatoliy Belsky
163099ae0e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #62109 tests\basic\bug46313-win.phpt fails
- Fixed bug #61045 (fpm don't send error log to fastcgi clients)
add news for new pg_ functions
Conflicts:
UPGRADING
2012-05-22 18:52:37 +02:00
Jerome Loyet
085e6a9f3b
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #61045 (fpm don't send error log to fastcgi clients)
- fix NEWS for bug #61812
2012-05-22 08:42:17 +02:00
Felipe Pena
1d1486016a
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fix the fix (typo s/AIX/_AIX/g)
2012-05-21 08:55:05 -03:00
Xinchen Hui
9126bc790a
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Use free instead of efree
2012-05-21 19:06:50 +08:00
Xinchen Hui
fba724d2f7
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Use emalloc instead of malloc
2012-05-21 18:59:16 +08:00
Anatoliy Belsky
60aebdf6e8
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #62066 Test Bug - ext/tidy/tests/004.phpt
2012-05-21 12:52:33 +02:00
Anatoliy Belsky
230f9e8733
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62068 Test bug - gmp_nextprime and 022
Fix: 62067 Moved comments to FILE section
- BFN
2012-05-21 12:38:43 +02:00
Dmitry Stogov
90e23107a2
Fixed bug #61998 (Using traits with method aliases appears to result in crash during execution)
2012-05-21 14:04:33 +04:00
Dmitry Stogov
7632a32ef9
Fixed bug #61998 (Using traits with method aliases appears to result in crash during execution)
2012-05-21 12:53:21 +04:00
Felipe Pena
f3615bc6f7
- Fixed bug #62025 (__ss_family was changed on AIX 5.3)
2012-05-20 19:39:54 -03:00
Felipe Pena
82740ef31e
- Fixed build using g++ (which complains about jump that crosses initialization)
2012-05-20 16:17:17 -03:00
Gustavo André dos Santos Lopes
6ea4d0d839
Note recent changes to ext/intl in UPGRADING
2012-05-20 19:57:06 +01:00
Gustavo André dos Santos Lopes
d9ca243212
Merge remote branch 'github/intl_calendar'
2012-05-20 19:50:17 +01:00
Nikita Popov
46fa26ab85
Make generator functions return a Generator object
...
Right now generator functions simply immediately return a new Generator
object (no suspension yet).
2012-05-20 14:45:01 +02:00
Nikita Popov
40b7533576
Add some boilerplate code for Generator class
...
The Generator class now uses a zend_generator struct, so it'll be able to
store additional info.
This commit also ensures that Generator cannot be directly instantiated
and extended. The error tests are now in a separate folder from the
(yet-to-come) functional tests.
2012-05-20 14:19:16 +02:00
Nikita Popov
ca59e5464d
Add empty Generator class
2012-05-20 00:03:27 +02:00
Nikita Popov
1cec3f12cc
Add ZEND_SUSPEND_AND_RETURN_GENERATOR opcode
...
If the function is a generator this opcode will be invoked right after
receiving the function arguments.
The current implementation is just a dummy.
2012-05-19 23:19:21 +02:00
Nikita Popov
e14cfafcbf
Add zend_do_suspend_if_generator calls
...
The execution of generator functions will be suspended right after the
arguments were RECVed. This will be done in zend_do_suspend_if_generator.
2012-05-19 20:19:45 +02:00
Nikita Popov
fd2a109f86
Add error if yield is used outside a generator
...
The yield statement can only be used in generator functions, which are
marked with an asterix.
2012-05-19 18:49:27 +02:00
zoe slattery
cd8cf5f495
Fix: 62067 Moved comments to FILE section
2012-05-19 16:18:12 +01:00
Nikita Popov
9b51a3b96d
Minor code cleanup
...
The block for the foreach separator was nested unnecessary. This commit
simply removes that nesting.
2012-05-19 14:21:49 +02:00
Nikita Popov
252f623464
Add flag for generator functions
...
Generator functions have to specify the * (asterix) modifier after the
function keyword. If they do so the ZEND_ACC_GENERATOR flag is added to
the fn_flags.
2012-05-19 14:18:20 +02:00
Felipe Pena
3b3b3d9229
Merge branch 'master' of git.php.net:php-src
2012-05-18 19:38:52 -03:00
Felipe Pena
f5e2315660
- Fixed bug #62064 (memory leak in the XML Writer module)
2012-05-18 19:34:39 -03:00
Gustavo André dos Santos Lopes
3a81f90ebc
Added IntlCalendar::toDateTime()
2012-05-17 23:18:51 +02:00
Gustavo André dos Santos Lopes
49b1f58194
Fixed a couple of memory leaks
2012-05-17 23:17:00 +02:00
Gustavo André dos Santos Lopes
887744f6b4
Fixed bad DateTime construction state check
2012-05-17 18:16:54 +02:00
Gustavo André dos Santos Lopes
ec23c3e540
MessageFormatter accepts IntlCalendar arguments
...
Now MessageFormatter::format() accepts IntlCalendar objects to be used in
arguments of type Format::kDate.
2012-05-17 17:57:37 +02:00
Gustavo André dos Santos Lopes
d754e9683a
Merge branch 'intl_format_tz' into intl_calendar
2012-05-17 17:57:22 +02:00
Gustavo André dos Santos Lopes
e9351b89a9
Bug #58756 : w.r.t MessageFormatter (partial fix)
...
I don't think the current ICU API allows this bug to be completely fixed.
Right now, the code cannot control the time zone used in date/time formats
that appear inside complex subformats. See the comment inside
umsg_set_timezone().
2012-05-17 17:57:01 +02:00
Gustavo André dos Santos Lopes
30bf2fbb9d
Handle bogus string in intl_charFromString().
2012-05-17 17:23:53 +02:00
Gustavo André dos Santos Lopes
81d8f4079c
Whitespace.
2012-05-17 17:23:52 +02:00
Gustavo André dos Santos Lopes
4cfd9995da
Added IntlTimeZone::fromDateTimeZone() and ::toDateTimeZone.
...
IntlTimeZone::fromDateTimeZone(DateTimeZone $dtz) converts from an
ext/date TimeZone to an IntlTimeZone. The conversion is done by feeding
the time zone name (essentially what would be given by
DateTimeZone::getName()) to ICU's TimeZone::createTimeZone except if it's
an offset time zone. In that case, the offset is read from the ext/date
time zone object structure and an appopriate id (of the form
GMT<+|-><HH:MM>) is given to ICU's TimeZone::createTimeZone. Not all
ext/date time zones are recognized for ICU. For instance, WEST is not.
Note that these kind of abbreviations, as far as I can tell, can only be
created via ext/date DateTime, not directly through DateTimeZone's
constructor.
For IntlTimeZone::toDateTimeZone(), the behavior is symmetrical.
We instantiate a DateTimeZone and then call its constructor if we don't
have an offset time zone, otherwise we mess with its structure. If the
timezone is not valid for ext/date, then we allow the exception of
DateTimeZone constructor to propagate.
2012-05-17 17:23:51 +02:00
Gustavo André dos Santos Lopes
22f4a30748
Fixed two IntlCalendar::setTimeZone() tests.
2012-05-17 17:23:50 +02:00
Gustavo André dos Santos Lopes
81278e1bbb
Added IntlCalendar::fromDateTime()
...
IntlCalendar::fromDateTime(DateTime|string $dateTime[, string $locale)
intlcal_from_date_time(...)
If a string is given as the first argument, the method will try to
instantiate a new DateTime object and use that instead.
2012-05-17 17:23:47 +02:00
Gustavo André dos Santos Lopes
9a35d45a5b
Accept DateTimeZone where time zones are expected.
...
Also unified timezone handling in IntlCalendar::setTimeZone()
to that in the IntlCalendar and IntlGregorianCalendar constructors.
2012-05-17 17:23:46 +02:00
Johannes Schlüter
51e3e51d3b
Merge branch 'PHP-5.4'
...
* PHP-5.4:
PHP 5.3.15-dev
2012-05-16 16:50:57 +02:00
Johannes Schlüter
ebe16343a2
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fd fix
fix bug #61065 (cherry picked from commit a10e778bfb )
2012-05-16 16:41:23 +02:00
andrey
dec56ca1e3
Merge branch 'PHP-5.4'
2012-05-16 16:00:17 +02:00
Felipe Pena
42faa077f9
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #55299 (multiple null pointer in win32/registry.c)
2012-05-16 08:40:53 -03:00
Stanislav Malyshev
910a4696e1
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Revert "Update test to fix breakage caused by the previous commit."
fix test
to 5.4.5-dev
2012-05-15 23:30:34 -07:00
Stanislav Malyshev
6a0212ea88
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fd fix
fix bug #61065
Conflicts:
UPGRADING
2012-05-15 22:39:17 -07:00
Nikita Popov
9b101ac8b3
Add T_YIELD "yield" keyword
2012-05-15 18:30:48 +02:00
zoe slattery
129c830562
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Changes to remaining two tests, #62022
2012-05-15 14:40:49 +01:00
zoe slattery
3556efc8e2
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Small fixes to tests, see #62022
2012-05-15 11:48:21 +01:00
zoe slattery
ec3a96a2e6
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Change impl of GZIP_POST, DEFLATE_POST. See #62021
2012-05-15 11:06:48 +01:00
Michael Wallner
c10c70f6ec
Merge branch 'PHP-5.4'
...
* PHP-5.4:
BFN
Fix NEWS entry for #61602 .
2012-05-15 11:26:41 +02:00
Sebastian Bergmann
cc7c403a40
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed CODING_STANDARD and move parameter parse code
Implemented FR #61602 Allow access to name of constant used as default value
2012-05-15 11:12:03 +02:00
Michael Wallner
2d11e55b94
cleanup merge
2012-05-15 09:44:01 +02:00
Stanislav Malyshev
d03900dc92
fix bug #61782 - __clone/__destruct do not match other methods when checking access controls
2012-05-14 11:03:21 -07:00
Stanislav Malyshev
47db8a9aa1
fix bug #54547
2012-05-14 11:03:20 -07:00
Gustavo André dos Santos Lopes
d27e71e598
Merge branch 'extra_precision'
2012-05-13 23:03:51 +02:00
Gustavo André dos Santos Lopes
ac33e40d2a
Keep date precision in MessageFormatter.
...
MessageFormatter::parse and MessageFormat::format (and their static
equivalents) now don't throw away better than second precision in the
arguments.
It's already bad enough that in MessageFormatter and IntlDateFormatter we
use seconds since epoch instead of milliseconds since epoch, deviating
from the ICU date representations. But we don't need to throw away extra
precision when parsing dates; we can keep the seconds since epoch
convention and return non integer doubles with only a small BC impact.
Note that we already could return doubles from MessageFormatter::parse if
the date was sufficiently in the past or in the future.
2012-05-13 23:03:07 +02:00
Gustavo André dos Santos Lopes
f09961cbe5
Updated UPGRADING with changes to ext/intl.
2012-05-13 21:56:11 +01:00
Gustavo André dos Santos Lopes
4015f55389
Merge branch 'fr61871'
2012-05-13 21:36:21 +01:00
Gustavo André dos Santos Lopes
53860672f3
ICU < 4.8 compat in MessageFormatter
...
Restricted support for named arguments to ICU 4.8+.
Also added bound checks when converting arguments to Formattables.
2012-05-13 20:55:02 +01:00
Gustavo André dos Santos Lopes
43ff66e095
Don't check number of args in msgfmt_do_format
...
The check does not work reliably across ICU versions when named arguments
are added to the mix. For instance, for recent versions of ICU like 49,
a pattern like "{foo,number} {foo}", has 0 returned from
umsg_format_arg_count(), but for ICU 4.0, this returns 2.
2012-05-13 20:54:55 +01:00
Gustavo André dos Santos Lopes
0295ed7d22
Added new MessageFormatter tests.
2012-05-13 20:53:06 +01:00
Gustavo André dos Santos Lopes
1c4f99b988
Better error messages in MessageFormatter::format.
2012-05-13 20:53:06 +01:00
Gustavo André dos Santos Lopes
0ad1b14f16
Accept numeric strings for dates.
...
Refactored umsg_helper_zval_to_millis in the process.
2012-05-13 20:53:06 +01:00
Gustavo André dos Santos Lopes
20dd5ccf19
Cache arguments type info in MessageFormatter.
2012-05-13 20:53:05 +01:00
Gustavo André dos Santos Lopes
407455876e
Set global error if insufficient numeric args. WS.
2012-05-13 20:53:05 +01:00
Gustavo André dos Santos Lopes
f1621485ad
Fixed MessageFormatter subformat tests.
2012-05-13 20:53:05 +01:00
Gustavo André dos Santos Lopes
edca0e2adb
Refactoring of patch for FR #61871 .
2012-05-13 20:52:41 +01:00
Gustavo André dos Santos Lopes
c9b913b56b
Orig patch for FR #61871 by David Sklar
2012-05-13 20:51:43 +01:00
Rasmus Lerdorf
8da61c62d9
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix grammo
2012-05-13 11:48:25 -07:00
Rasmus Lerdorf
cd16174f14
Fix grammo
2012-05-13 11:45:41 -07:00
Nikita Popov
ec061a93c5
Allow arbitrary expressions for empty()
...
This change is as per RFC https://wiki.php.net/rfc/empty_isset_exprs .
The change allows passing the result of function calls and other
expressions to the empty() language construct. This is accomplished by
simply rewriting empty(expr) to !expr.
The change does not affect the suppression of errors when using empty()
on variables. empty($undefinedVar) will continue not to throw errors.
When an expression is used inside empty() on the other hand, errors will
not be suppressed. Thus empty($undefinedVar + $somethingElse) *will*
throw a notice.
The change also does not make empty() into a real function, so using
'empty' as a callback is still not possible.
In addition to the empty() changes the commit adds nicer error messages
when isset() is used on function call results or other expressions.
2012-05-13 14:56:51 +02:00
Xinchen Hui
5852e5f48d
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed Bug #62005 (unexpected behavior when incrementally assigning to a member of a null object)
fix stack overflow in php_intlog10abs()
fix stack overflow in php_intlog10abs()
2012-05-12 13:21:49 +08:00
Nuno Lopes
3478b49fe9
Merge branch 'master' of https://git.php.net/push/php-src
2012-05-11 13:04:32 -04:00
Nuno Lopes
5c87ca2d27
fix stack overflow in php_intlog10abs()
...
bug uncovered by LLVM/clang's new -fbounds-checking switch
this patch fixes a crash in ext/standard/tests/math/round_large_exp.phpt
2012-05-11 12:50:29 -04:00
Anatoliy Belsky
257d0b5566
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61990 ext\spl\examples\tests\dualiterator_001.phpt fails
2012-05-11 14:39:29 +02:00
Xinchen Hui
e7934c0ffa
Merge branch 'PHP-5.4'
2012-05-11 20:27:07 +08:00
Anatoliy Belsky
d0d7340d50
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61992 ext\standard\tests\general_functions\bug44295.phpt fails
2012-05-10 17:35:09 +02:00
Anatoliy Belsky
27685b7bb5
Merge branch 'PHP-5.4'
...
* PHP-5.4:
updated NEWS
2012-05-10 15:58:30 +02:00
Anatoliy Belsky
4184551b94
Merge branch 'PHP-5.4'
...
* PHP-5.4:
updated NEWS
2012-05-10 15:53:08 +02:00
Anatoliy Belsky
f6558a295d
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug ext\standard\tests\file\realpath_cache_win32.phpt fails
2012-05-10 15:40:17 +02:00
Anatoliy Belsky
e3f2c76989
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61901 ext\phar\tests\phar_buildfromdirectory2.phpt fails
2012-05-09 13:06:47 +02:00
Xinchen Hui
134da93fbd
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Correct test title
2012-05-09 11:29:19 +08:00
Xinchen Hui
67075609d3
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Implemented FR #61977 (Need CLI web-server support for files with .htm & svg extensions)
2012-05-09 11:28:09 +08:00
Xinchen Hui
c4d0b796c2
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix test failed, the fsockopen will be refused immediately if the server is not set up.
- BFN
2012-05-09 11:23:37 +08:00
Felipe Pena
4dc9545aaa
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #61978 (Object recursion not detected for classes that implement JsonSerializable)
2012-05-08 21:06:15 -03:00
David Soria Parra
e67567088e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Typo
2012-05-08 22:09:13 +02:00
Anatoliy Belsky
5fce7fe885
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61746 Failing tests in ext/standard/tests/file/windows_links/*
2012-05-08 19:36:15 +02:00
Stanislav Malyshev
08779069e8
Merge branch 'PHP-5.4'
...
* PHP-5.4:
c++ comments
restore BC
ws + restore BC to apache_request_headers
fix bug #61807 - Buffer Overflow in apache_request_headers
2012-05-08 10:21:10 -07:00
Anatoliy Belsky
eafc567213
Merge branch 'PHP-5.4'
...
* PHP-5.4:
updated NEWS
2012-05-08 18:53:36 +02:00
Anatoliy Belsky
c5da8e699f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61713 check also that mbstring's found any internal_encoding
2012-05-08 18:35:15 +02:00
Anatoliy Belsky
8c69c6c6b0
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61713 ext\standard\tests\strings\htmlentities10.phpt fails
2012-05-08 18:15:19 +02:00
Johannes Schlüter
544c6f2f22
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix #61704 (Crash apache, phpinfo() threading issue)
Fix folding marks
2012-05-08 17:30:46 +02:00
Johannes Schlüter
6e96d7cd5e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
This will be PHP 5.3.14
improve fix for CVE-2012-1823
improve fix for CVE-2012-1823
2012-05-08 11:50:19 +02:00
Stanislav Malyshev
857fc1b473
Merge branch 'PHP-5.4'
...
* PHP-5.4:
improve fix for CVE-2012-1823
Fix for CVE-2012-1823
2012-05-07 12:12:48 -07:00
Stanislav Malyshev
36587ff335
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
improve fix for CVE-2012-1823
Fix for CVE-2012-1823
2012-05-07 12:10:36 -07:00
Stanislav Malyshev
7de4b75f74
improve fix for CVE-2012-1823
2012-05-07 12:08:36 -07:00
Rasmus Lerdorf
004941af15
Fix for CVE-2012-1823
2012-05-07 12:06:45 -07:00
Anatoliy Belsky
2c505ecc57
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61905 ext\phar\tests\zip\phar_commitwrite.phpt fails
Fix bug 61903 ext\phar\tests\tar\phar_commitwrite.phpt fails
2012-05-07 15:40:48 +02:00
andrey
c75cbd62dd
these methods should return a stream. This makes it easier to intercept
...
the return value
2012-05-07 15:32:00 +02:00
andrey
68536a4167
comment for the #else
2012-05-07 13:55:40 +02:00
andrey
9927cc5f4b
Merge branch 'master' of git.php.net:php-src
2012-05-07 13:32:05 +02:00
andrey
ec159081a0
reorganize things a bit...just shifting code
2012-05-07 13:31:42 +02:00
Anatoliy Belsky
692cc976ca
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61769 Random failure of php_cli_server*phpt tests
2012-05-06 18:06:12 +02:00
Xinchen Hui
067fad1b52
Merge branch 'PHP-5.4'
...
* PHP-5.4:
correct variable name
2012-05-06 20:37:33 +08:00
Xinchen Hui
5ad35d6c77
Merge branch 'PHP-5.4'
2012-05-06 20:32:33 +08:00
Xinchen Hui
556666cc4b
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #61730 (Segfault from array_walk modifying an array passed by reference)
2012-05-06 20:29:26 +08:00
Nikita Popov
9e1b690e0c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Add NEWS entry for bug #61961
Fixed Bug #61961 (file_get_content leaks when access empty file with max length)
2012-05-06 13:40:06 +02:00
Xinchen Hui
71e7c854b1
Merge branch 'PHP-5.4'
...
* PHP-5.4:
correct NEWS
Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction)
Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction)
2012-05-06 00:53:47 +08:00
David Soria Parra
d3a13c2a10
Merge branch 'PHP-5.4'
...
By Rasmus Lerdorf
* PHP-5.4:
Fix for CVE-2012-1823 (cherry picked from commit 29300b1f9d )
Fix for CVE-2012-1823
2012-05-05 17:37:35 +02:00
Anatoliy Belsky
56ac0e71bb
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61906 ext\phar\tests\zip\phar_setsignaturealgo2.phpt fails
2012-05-04 11:42:28 +02:00
Anatoliy Belsky
7388c085bf
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61904 ext\phar\tests\tar\phar_setsignaturealgo2.phpt
Bump to next version
Conflicts:
configure.in
main/php_version.h
2012-05-04 11:38:43 +02:00
Xinchen Hui
6b16f7cd69
Merge branch 'PHP-5.4'
2012-05-03 22:40:51 +08:00
andrey
f1f1c5c900
Merge branch 'master' of git.php.net:php-src
2012-05-03 15:34:24 +02:00
andrey
267f691a45
bump mysqlnd versions
2012-05-03 15:33:47 +02:00
Xinchen Hui
e022bfe34a
Merge remote-tracking branch 'origin/PHP-5.4'
...
* origin/PHP-5.4:
Fixed test bug #61892
2012-05-03 20:00:10 +08:00
andrey
b850fa14e0
phoenix from the ashes
2012-05-03 13:34:26 +02:00
andrey
0ce37188cd
here comes the news
2012-05-03 13:02:34 +02:00
andrey
e0c7ed91a4
Merge branch 'master' of git.php.net:php-src
2012-05-03 13:00:17 +02:00
andrey
522595086b
Remove support for local infile handler in mysqli from 5.5
...
This removes the following functions from the API:
mysqli_set_local_infile_default()
mysqli_set_local_infile_handler()
Using these functions is known to be lead to stability problems in
mysqli. It was only enabled when compiling against libmysql. mysqlnd
doesn't have this support for local infile. However, with mysqlnd it can
be emulated by using stream handlers like in:
$c->query("LOAD DATA LOCAL INFILE "http://example.com/import.csv " INTO ...")
All available protocols, as well as user implemented ones can be added.
2012-05-03 12:55:03 +02:00
Xinchen Hui
604d11ee6c
Merge remote-tracking branch 'origin/PHP-5.4'
2012-05-03 18:41:45 +08:00
andrey
57f7bd0d85
remove dead and unused for more than 8 years code
2012-05-03 12:22:25 +02:00
Anatoliy Belsky
62de1cfe33
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61902 ext\phar\tests\phar_setsignaturealgo2.phpt falis
2012-05-02 21:42:57 +02:00
andrey
cd9e4d1def
Merge branch 'PHP-5.4'
2012-05-02 16:15:35 +02:00
Stanislav Malyshev
8c41e45eec
Merge branch 'PHP-5.4'
...
* PHP-5.4:
merge 5.3.11 stuff
organize NEWS
Revert "Fix bug #61537 (json_encode() incorrectly truncates/discards information) and"
2012-05-02 00:11:19 -07:00
Christopher Jones
a499dfc37d
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Make output order for dom007.phpt platform independent
2012-05-01 15:51:01 -07:00
Christopher Jones
f2e81779a7
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix masking in bug61115-1.phpt
Conflicts:
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
2012-05-01 14:47:18 -07:00
Felipe Pena
1c2c620a58
- Regenerated files
2012-04-30 15:57:09 -03:00
Felipe Pena
45ef3c759e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed Windows build
2012-04-30 15:56:15 -03:00
Anatoliy Belsky
3e7af0f25a
Merge branch 'master' of git.php.net:php-src
2012-04-30 17:35:32 +02:00
Anatoliy Belsky
8382da0492
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61868 ext\dom\tests\DOMDocument_validate_on_parse_variation.phpt fails
- Regenerated files
Conflicts:
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
2012-04-30 17:31:31 +02:00
andrey
2ab5b57cd4
Merge branch 'master' of git.php.net:php-src
2012-04-30 17:31:06 +02:00
andrey
174bf906f8
refactor MYSQLND_NET, split it two parts for easy resharing
2012-04-30 17:01:56 +02:00
Felipe Pena
ea23192910
- Regenerated files
2012-04-30 10:35:11 -03:00
Felipe Pena
73b6150992
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Changed last commit to use VK_ESCAPE on Windows
2012-04-30 10:31:59 -03:00
Anatoliy Belsky
7fa7d9a8c6
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Additional fixs for bug 61746 - prepare/clean acls
2012-04-30 14:37:08 +02:00
Anatoliy Belsky
e509088c94
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61870 ext\session\tests\bug42596.phpt fails
2012-04-30 12:11:00 +02:00
Anatoliy Belsky
8a0981b2ef
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug ext\filter\tests\bug52209.phpt fails
2012-04-30 10:41:13 +02:00
Xinchen Hui
1ad91b2341
Merge remote-tracking branch 'origin/PHP-5.4'
2012-04-30 12:36:06 +08:00
Xinchen Hui
2de316ae8b
Merge remote-tracking branch 'origin/PHP-5.4'
...
* origin/PHP-5.4:
Fixed bug #61546 (functions related to current script failed when chdir() in cli sapi).
- BFN
- BFN
2012-04-30 12:16:50 +08:00
Felipe Pena
bbe9eec9a2
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #61827 (incorrect \e processing on Windows) patch by: ab@php.net
2012-04-29 19:36:10 -03:00
Felipe Pena
7fa45a9399
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Added missing bound check in iptcparse() (path by chris at chiappa.net)
2012-04-29 19:14:20 -03:00
Gustavo André dos Santos Lopes
ffec614412
Fix build on MS Windows
2012-04-28 16:32:44 +01:00
Anatoliy Belsky
a1f7423087
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61685 putenv('TZ=UTC') doesn't update timezone for localtime()
2012-04-28 11:45:24 +02:00
Anatoliy Belsky
3dac5b1105
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61786 Failing tests in ext\session\tests\*
2012-04-26 15:41:06 +02:00
Anatoliy Belsky
6996a51d59
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61791 ext\sqlite3\tests\sqlite3_15_open_error.phpt fails
2012-04-26 15:18:17 +02:00
Anatoliy Belsky
e857110116
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61800 ext\standard\tests\streams\bug61371.phpt fails
2012-04-26 13:30:25 +02:00
Anatoliy Belsky
71f620d436
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Partial fix for bug 61743 to get correct icacls path
sync version
Conflicts:
configure.in
2012-04-25 18:53:56 +02:00
Michael Wallner
743a74a3c5
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix NEWS order
2012-04-24 21:22:39 +02:00
Michael Wallner
edbd958815
Merge branch 'PHP-5.4'
...
* PHP-5.4:
BFN
2012-04-24 20:43:59 +02:00
Michael Wallner
a9836496e3
Merge branch 'PHP-5.4'
2012-04-24 20:37:29 +02:00
Michael Wallner
342b641a93
Merge branch 'PHP-5.4'
2012-04-24 19:52:45 +02:00
Anatoliy Belsky
117207121c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61413 ext\openssl\tests\openssl_encrypt_crash.phpt fails 5.3 only
2012-04-24 14:09:07 +02:00
Anatoliy Belsky
c9d89a349b
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Bug 61610 adopted expected warnings for 5.4
2012-04-24 13:45:07 +02:00
Gustavo André dos Santos Lopes
d77cde46e1
Merge branch '5.4'
2012-04-23 22:10:50 +01:00
Felipe Pena
93d42fb444
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #61829 (Memory leak when calling MessageFormatter's constructor twice)
2012-04-23 15:19:35 -03:00
Anatoliy Belsky
51aacf409f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61811 three of finfo tests failed, see also #61812 .
2012-04-22 19:30:26 +02:00
Xinchen Hui
c530fd9536
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed warning implicit declaration of function 'file_printedlen'
2012-04-22 20:00:07 +08:00
Xinchen Hui
1b1e91167e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Update NEWS
Fixed bug #61812 (Uninitialised value used in libmagic)
2012-04-22 19:40:22 +08:00
Johannes Schlüter
ca7b122c8c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix folding
2012-04-22 02:25:36 +02:00
Xinchen Hui
5ffe5d471f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix test
- BFN
2012-04-21 16:03:53 +08:00
Xinchen Hui
652fdbe789
Merge branch 'PHP-5.4'
...
* PHP-5.4:
typo in test
2012-04-21 10:16:08 +08:00
Xinchen Hui
303c52b54d
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Make css string constant
2012-04-21 09:31:45 +08:00
Xinchen Hui
465e9a1321
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed typo
2012-04-21 00:12:10 +08:00
Xinchen Hui
a9d54e77c6
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Improved performance while sending error page
- BFN
2012-04-21 00:02:12 +08:00
Felipe Pena
47cff264df
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed bug #54197 ([PATH=] sections incompatibility with user_ini.filename set to null) patch by ab@php.net
2012-04-19 23:14:00 -03:00
Felipe Pena
77f43a0770
Merge branch 'PHP-5.4'
2012-04-19 20:15:26 -03:00
Felipe Pena
e104d3fb6e
Merge branch 'PHP-5.4'
2012-04-19 20:07:37 -03:00
Stanislav Malyshev
c7e54d56ac
Merge branch 'PHP-5.4'
...
* PHP-5.4:
add pg_escape_identifier/pg_escape_literal
2012-04-19 13:40:36 -07:00
Stanislav Malyshev
71884b7024
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Bug#59597 NumberFormatter::parse() with TYPE_INT64 results in a 32 bit integer
2012-04-19 11:37:55 -07:00
Stanislav Malyshev
e9a73a4cf5
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix RCs
Update to 5.4.2-dev
Conflicts:
main/php_version.h
2012-04-19 11:03:12 -07:00
Johannes Schlüter
d2718cb9ff
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Commit generated file
Fix bug #61755 parsing bug can lead to access violations
2012-04-19 12:49:47 +02:00
Anatoliy Belsky
0e430c8ded
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61671 ext\spl\tests\fileobject_003.phpt fails
2012-04-19 11:38:35 +02:00
Johannes Schlüter
904ca2f0b3
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Drop old README
2012-04-19 00:30:58 +02:00
Johannes Schlüter
9ca4710c9f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix slight grammar glitch (thanks Dan Brown)
2012-04-19 00:08:42 +02:00
Johannes Schlüter
f3b3450f01
Merge branch 'master' of git.php.net:/php-src
...
* 'master' of git.php.net:/php-src:
2012-04-18 22:51:15 +02:00
Johannes Schlüter
15f552dbd0
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Update generated file.
Ensure the SQL parser is regenerated after changes.
Fix NEWS, the previous wrong was introduced in commit cb2a1c71c9
update NEWS
2012-04-18 22:51:06 +02:00
Xinchen Hui
140c8c1975
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix NEWS, the previous wrong was introduced in commit cb2a1c71c9
update NEWS
2012-04-18 18:48:36 +08:00
Johannes Schlüter
fcb63a8396
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Add NEWS
Implement Request #47570 libpq's PG_VERSION should be exported to userland
2012-04-18 12:23:35 +02:00
Xinchen Hui
6b9e88d9e6
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #61761 ('Overriding' a private static method with a different signature causes crash)
2012-04-18 18:15:29 +08:00
Gustavo André dos Santos Lopes
dbc5b42435
pack() with new "Z" more in line with Perl.
...
Made pack() with "Z" force NUL termination, even if it mean truncating input
to less than the number of characters specified and if the number of
characters is "*", the output will be one byte larger than the input.
Improved tests.
2012-04-17 22:21:32 +01:00
theanomaly.is@gmail.com
4968fa644b
Fixed bug #61038 ; "Z" and better behavior for unpack()
...
Added new "Z" argument to pack/unpack, now allowing "a" to return
data without stripping, and "A" strips all trailing white space,
while "Z" will strip everything after the first null.
2012-04-17 21:09:04 +01:00
Yasuo Ohgaki
417e9cfe1b
Implement Request #47570 libpq's PG_VERSION should be exported to userland
2012-04-17 16:35:24 +09:00
Xinchen Hui
65062b47f3
Fix bug #61430 for trunk
2012-04-17 11:23:28 +08:00
Xinchen Hui
565892d4c0
Implement const array/string dereference
...
RFC:https://wiki.php.net/rfc/constdereference
2012-04-17 10:06:17 +08:00
Anatoliy Belsky
739eda38cd
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61746 Failing tests in ext/standard/tests/file/windows_links/*
2012-04-16 17:07:52 +02:00
Anatoliy Belsky
80d692f51d
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61720 ext\libxml\tests\bug61367-read.phpt fails
2012-04-16 15:46:24 +02:00
Anatoliy Belsky
27e1a36d19
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61719 ext\soap\tests\bugs\bug31422.phpt fails
2012-04-16 15:40:38 +02:00
Anatoliy Belsky
eaeeb0f5e8
Fix bug 61719 ext\soap\tests\bugs\bug31422.phpt fails
2012-04-16 15:35:47 +02:00
Anatoliy Belsky
a688e69bae
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61718 ext\ldap\tests\ldap_set_rebind_proc_error.phpt fails
2012-04-16 15:27:20 +02:00
Anatoliy Belsky
38d87ed3ba
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61717 ext\ldap\tests\ldap_sasl_bind_basic.phpt fails
2012-04-16 15:21:36 +02:00
Anatoliy Belsky
7dda0d5f8d
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61716 tests\basic\021.phpt fails
2012-04-16 15:16:43 +02:00
Anatoliy Belsky
a6d8919a89
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61683 tests\basic\bug20539.phpt fails
2012-04-16 14:40:18 +02:00
Anatoliy Belsky
f5d8e2b896
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61680 ext\zlib\tests\gzencode_variation1-win32.phpt fails
2012-04-16 14:06:03 +02:00
Anatoliy Belsky
b2c4278385
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61676 ext\tidy\tests\bug54682.phpt fails
2012-04-16 13:44:00 +02:00
Anatoliy Belsky
6a48dc2076
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug 61743 tests in ext\standard\tests\file\windows_acls\* fail
2012-04-16 13:35:15 +02:00
Xinchen Hui
f787776b26
Merge branch 'PHP-5.4'
...
* PHP-5.4:
change the bug summary
2012-04-16 19:23:58 +08:00
Xinchen Hui
579d234f50
Merge branch 'PHP-5.4'
2012-04-15 01:17:56 +08:00
Johannes Schlüter
c62a41860e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Rename README.SVN-RULES to README.GIT-RULES, here, too
2012-04-14 00:31:29 +02:00
David Soria Parra
30aee4b861
Merge branch 'PHP-5.4'
...
* PHP-5.4:
configure.in: Check for README.GIT-RULES instead of README.SVN-RULES
2012-04-13 16:33:43 +02:00
Johannes Schlüter
8f5bc44698
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Move and update README.SVN-RULES to README.GIT-RULES
2012-04-13 02:17:05 +02:00
Xinchen Hui
ee8dfb8882
Merge branch 'PHP-5.4'
2012-04-13 00:12:40 +08:00
Johannes Schlüter
3e7d48a0ce
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Remove cherry-picked items for 5.3.11
Fix bug #61537 (json_encode() incorrectly truncates/discards information) and remove a test case that's now mooted by this fix.
2012-04-12 12:03:20 +02:00
Stanislav Malyshev
363797e9af
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Copy default properties of internal classes for different threads
2012-04-11 19:24:11 -07:00
Adam Harvey
8bf79f7b7f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Update test to fix breakage caused by the previous commit.
Fix bug #61537 (json_encode() incorrectly truncates/discards information) and remove a test case that's now mooted by this fix.
Conflicts:
NEWS
2012-04-11 08:33:11 +08:00
Gustavo André dos Santos Lopes
b03f62fb5d
Merge branch '5.4'
2012-04-10 19:45:47 +01:00
Anatoliy Belsky
2530ba8c2d
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #61669 ext\standard\tests\file\rename_variation7-win32.phpt fails
2012-04-10 15:24:19 +02:00
Anatoliy Belsky
5e157bc568
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #61668 ext\standard\tests\file\rename_variation13-win32.phpt fails
2012-04-10 15:13:12 +02:00
Anatoliy Belsky
5bef1a1175
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61667 ext\standard\tests\file\glob_variation-win32.phpt fails
2012-04-10 15:04:24 +02:00
Anatoliy Belsky
6c1fcef45c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #61666 ext\standard\tests\file\file_put_contents_variation8-win32.phpt fails
2012-04-10 14:56:01 +02:00
Anatoliy Belsky
e1ac874b73
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61659 Test ext\spl\tests\bug60082.phpt fails
Fixed bug #61638 Test ext\sockets\tests\unixloop.phpt fails
Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
Fixed bug #61635 ext\sockets\tests\socket_select-wrongparams-1.phpt
Fixed bug #61638 Test ext\sockets\tests\unixloop.phpt fails
Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
Fixed bug #61635 ext\sockets\tests\socket_select-wrongparams-1.phpt
2012-04-10 14:05:45 +02:00
Anatoliy Belsky
4d106f40a4
Fixed bug #61638 Test ext\sockets\tests\unixloop.phpt fails
2012-04-10 14:00:15 +02:00
Anatoliy Belsky
e9e4689145
Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
2012-04-10 14:00:14 +02:00
Anatoliy Belsky
882a3cf8a7
Fixed bug #61635 ext\sockets\tests\socket_select-wrongparams-1.phpt
2012-04-10 14:00:13 +02:00
Anatoliy Belsky
b2bc9c4141
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #61634 Test ext\sockets\tests\socket_listen-wrongparams.phpt fails
Fixed bug #61633 Test ext\sockets\tests\socket_create_pair-wrongparams.phpt fails
Fixed bug #61632 Test ext\sockets\tests\socket_create_listen.phpt fails
Fixed bug #61633 Test ext\sockets\tests\socket_create_pair-wrongparams.phpt fails
Fixed bug #61632 Test ext\sockets\tests\socket_create_listen.phpt fails
Fixed bug 61621 Test fail in ext/standard/tests/dir
2012-04-10 13:11:14 +02:00
Anatoliy Belsky
497a343a5e
Fixed bug #61633 Test ext\sockets\tests\socket_create_pair-wrongparams.phpt fails
2012-04-10 13:05:38 +02:00
Anatoliy Belsky
63ed8eb0a5
Fixed bug #61632 Test ext\sockets\tests\socket_create_listen.phpt fails
2012-04-10 13:05:37 +02:00
Anatoliy Belsky
e33d209076
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #61611 ext\date\tests\date_default_timezone_get-2.phpt fails
Fixed bug #61631 mbstring mail related tests fail
Fixed bug #61610 Test ext\date\tests\date_default_timezone_get-1.diff fails
Fix bug #61609 Test ext\date\tests\bug52062.phpt fails As expressed in the comments http://de.php.net/manual/en/datetime.gettimestamp.php this is the generic 32 bit timestamp issue
Fixed bug #61631 mbstring mail related tests fail
Fixed bug #61610 Test ext\date\tests\date_default_timezone_get-1.diff fails
Fix bug #61609 Test ext\date\tests\bug52062.phpt fails As expressed in the comments http://de.php.net/manual/en/datetime.gettimestamp.php this is the generic 32 bit timestamp issue
MFH: fixed a mistake on reverting my previous patch.
2012-04-10 12:38:19 +02:00
Anatoliy Belsky
58aa160ee4
Fixed bug #61631 mbstring mail related tests fail
2012-04-10 12:19:39 +02:00
Anatoliy Belsky
aa6ad6bc09
Fixed bug #61610 Test ext\date\tests\date_default_timezone_get-1.diff fails
...
The behaviour on windows is to select an arbitrary timezone from the current system settings.
This gives no chance to hardcode the timezone name, for instance for UTC+1 it could choose
from the multiple names like Europe/Berlin or Europe/Paris . For this reason the test is
parametrized so there is no hardcoded timezone data.
The original test made to be skipped on windows and a duplicate was made for windows.
2012-04-10 12:16:38 +02:00
Anatoliy Belsky
7a2a75d057
Fix bug #61609 Test ext\date\tests\bug52062.phpt fails
...
As expressed in the comments http://de.php.net/manual/en/datetime.gettimestamp.php
this is the generic 32 bit timestamp issue
2012-04-10 12:16:38 +02:00
Etienne Kneuss
40a21ed9e8
Merge pull-request 46: Allowing more expressions into ${}
...
Fix lexer so that ${} interpolation accepts expressions starting
with an identifier that are not T_STRING_VARNAME.
2012-04-09 18:57:27 +02:00
Nikita Popov
b233de098d
Fix bug #61681 : Malformed grammar
...
Generate T_STRING_VARNAME only if it actually is one. This is only the case
for "${varname}" and "${varname[offset]}" so we can just add a check for
} or [ after the LABEL.
2012-04-09 18:26:38 +02:00
Rui Hirokawa
b28231165a
fixed a mistake on reverting my previous patch:
...
http://git.php.net/?p=php-src.git;a=commitdiff;h=50b2e02c045b61f99e8c72d54e6bec055aee98e4
2012-04-09 23:32:41 +09:00
Nikita Popov
8ac56c15c9
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61660 : bin2hex(hex2bin($data)) != $data
2012-04-08 22:41:04 +02:00
Gustavo André dos Santos Lopes
bd5f52fd94
Merge branch '5.4'
2012-04-07 16:34:37 +01:00
Xinchen Hui
7497aa9c4e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Update NEWS
Fixed bug #61650 (ini parser crashes when using ${xxxx} ini variables (without apache2))
2012-04-06 22:00:15 +08:00
Anatoliy Belsky
8a4ca5289a
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61480 test bug - ext/gd/tests/bug48555.phpt
updated the NEWS with the latest fileinfo changes
2012-04-04 19:14:06 +02:00
Xinchen Hui
a1457b6ecb
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix typo
2012-04-04 17:43:12 +08:00
Xinchen Hui
a4fff4dc45
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Update NEWS for #61617
2012-04-04 17:40:01 +08:00
Xinchen Hui
1a3097373b
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #61617 (Libxml tests failed(ht is already destroyed))
Cherry-pick 4cc74767
2012-04-04 17:38:15 +08:00
Xinchen Hui
d467bf1d0e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix warning "suggest parentheses around assignment"
2012-04-04 16:38:43 +08:00
Xinchen Hui
06290cc049
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #61605 (header_remove() does not remove all headers)
Conflicts:
NEWS
2012-04-04 16:16:54 +08:00
Xinchen Hui
0421ef5e2e
Merge branch 'PHP-5.4'
2012-04-04 15:24:41 +08:00
Ilia Alshanetsky
4e40059c19
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #61423 (gzip compression fails).
2012-04-03 08:49:45 -04:00
Anatoliy Belsky
31cdcd3517
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61460 popen_close_error-win32 expected output is wrong
Fix bug #61454 ext\standard\tests\general_functions\bug49847.phpt fails
Fix bug #61481 Test Bug - ext/com_dotnet/tests/bug49192
Fix bug #61517 random test failure - ext/standard/tests/misc/time_sleep_until_basic.phpt
2012-04-03 14:27:43 +02:00
Anatoliy Belsky
84be455e22
Fix bug #61454 ext\standard\tests\general_functions\bug49847.phpt fails
2012-04-03 13:28:38 +02:00
Anatoliy Belsky
c7e9c646ee
Fix bug #61481 Test Bug - ext/com_dotnet/tests/bug49192
2012-04-03 13:28:37 +02:00
Anatoliy Belsky
36449bface
Fix bug #61517 random test failure - ext/standard/tests/misc/time_sleep_until_basic.phpt
2012-04-03 13:28:37 +02:00
Xinchen Hui
7a2885a591
Merge branch 'PHP-5.4'
2012-04-03 12:19:05 +08:00
Klaus Silveira
16bd11062e
Small performance improvement. The current code is correct, but if it is used inside a long loop or long strings, it's inefficient.
2012-04-02 22:54:57 -03:00
Moriyoshi Koizumi
14f120dbd9
Merge branch 'PHP-5.4'
2012-04-03 02:00:34 +09:00
Anatoliy Belsky
94d4bb86b4
Merge branch 'PHP-5.4'
...
* PHP-5.4:
updated the libmagic.patch
Bug #61566 Fileinfo ext\fileinfo\tests\finfo_file_002.phpt fails
Fix bug #61565 Fileinfo ext\fileinfo\tests\finfo_file_001.phpt fails
- update to openssl 0.9.8u
- update to openssl 0.9.8u
2012-04-02 17:43:23 +02:00
Pierre Joye
45416cbe56
- update to openssl 0.9.8u
2012-04-02 13:06:44 +02:00
Derick Rethans
cecc37b467
Merge branch 'PHP-5.4'
2012-04-02 10:40:03 +01:00
Popa Adrian Marius
e3e7f47441
Merge branch 'master' of git.php.net:php-src
2012-04-02 09:57:48 +03:00
Gustavo André dos Santos Lopes
1c16c89b96
Merge branch 'intl_calendar'
2012-04-01 23:36:59 +01:00
Gustavo André dos Santos Lopes
0e8d928c07
Update UPGRADING with changes.
2012-04-01 23:35:29 +01:00
Gustavo André dos Santos Lopes
d32ac3efc8
Fixed tests that required a "default" timezone.
...
Added date.timezone=Atlantic/Azores to all tests that were failing because
of ext/date warning about a timezone not having been set.
2012-04-01 23:28:01 +01:00
Gustavo André dos Santos Lopes
95fbae891a
Compatibility with old versions of ICU (4.0+).
2012-04-01 23:28:01 +01:00
Gustavo André dos Santos Lopes
69f75bb43c
Added support for new method TimeZone::getUnknown() added in ICU 49.
2012-04-01 23:28:00 +01:00
Gustavo André dos Santos Lopes
d3a29c108b
Supported Calendar methods new to ICU 49.
2012-04-01 23:28:00 +01:00
Gustavo André dos Santos Lopes
7460741f99
Fix TimeZone tests failing due to new data in ICU 49.
2012-04-01 23:28:00 +01:00
Gustavo André dos Santos Lopes
5e65205a8f
Initial checkin of calendar/timezone code.
2012-04-01 23:28:00 +01:00
Gustavo André dos Santos Lopes
6c891f33d7
Put new function in correct section.
2012-04-01 23:27:50 +01:00
Gustavo André dos Santos Lopes
ab627e0eb0
Convert EOL style to Unix.
2012-04-01 11:00:05 +02:00
Nikita Popov
4cf90e06c9
Fix lexing of nested heredoc strings in token_get_all()
...
This fixes bug #60097 .
Before two global variables CG(heredoc) and CG(heredoc_len) were used to
track the current heredoc label. In order to support nested heredoc
strings the *previous* heredoc label was assigned as the token value of
T_START_HEREDOC and the language_parser.y assigned that to CG(heredoc).
This created a dependency of the lexer on the parser. Thus the
token_get_all() function, which accesses the lexer directly without
also running the parser, was not able to tokenize nested heredoc strings
(and leaked memory). Same applies for the source-code highlighting
functions.
The new approach is to maintain a heredoc_label_stack in the lexer, which
contains all active heredoc labels.
As it is no longer required, T_START_HEREDOC and T_END_HEREDOC now don't
carry a token value anymore.
In order to make the work with zend_ptr_stack in this context more
convenient I added a new function zend_ptr_stack_top(), which retrieves the
top element of the stack (similar to zend_stack_top()).
2012-03-31 21:53:30 +02:00
Ferenc Kovacs
15a98ece9f
Revert "making the test fail for testing jenkins report mail. I will revert this soon."
...
This reverts commit b8fe28f455 .
2012-03-31 11:23:26 +02:00
Ferenc Kovacs
b8fe28f455
making the test fail for testing jenkins report mail. I will revert this soon.
2012-03-31 11:22:16 +02:00
David Soria Parra
cae2556462
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Cleanup Safe Mode related comment in SG(request_info)
2012-03-31 09:34:43 +02:00
Christopher Jones
8b2a51c62c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Add php.ini parameter checks for OCI8
2012-03-30 16:18:15 -07:00
Christopher Jones
15405e2abd
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src :
trivial change try to ci a "fake" merge
Fix test, parameter signatures was introduced only into 5.4
fix makedist for new tags
2012-03-30 10:48:49 -07:00
Xinchen Hui
1904cf696b
Merge branch 'PHP-5.4'
...
* PHP-5.4:
trivial change try to ci a "fake" merge
Fix test, parameter signatures was introduced only into 5.4
fix makedist for new tags
2012-03-30 20:57:55 +08:00
Christopher Jones
c3fd894d0a
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src :
Fixed bug61115-1.phpt for debug build version.
Fixed bug #60718 Complie problem with libpq (PostgreSQL 7.3 or less)
Fixed bug #60718 Complie problem with libpq (PostgreSQL 7.3 or less)
This will be PHP 5.3.12
ext/pcntl/pcntl.c: Fix typo in comment
Revert "ext/pcntl/pcntl.c: Fix typo in comment" (apply correct workflow)
Revert "ext/pcntl/pcntl.c: Fix typo in comment" (apply correct workflow)
Revert "Merge branch 'pull-request/24'" (apply correct workflow)
ext/pcntl/pcntl.c: Fix typo in comment
ext/pcntl/pcntl.c: Fix typo in comment
- fix bug #61541 , Segfault when using ob_* in output_callback
- fix bug #61541 , Segfault when using ob_* in output_callback
ext/pcntl/pcntl.c: Fix typo in comment
update NEWS
fix bug #61367 - open_basedir bypass using libxml RSHUTDOWN
open_basedir check for linkinfo
NEWS entry for readline fix
NEWS entry for readline fix
Add open_basedir checks to readline_write_history and readline_read_history
2012-03-29 17:42:43 -07:00
Popa Adrian Marius
1338e971fc
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix firebird bug #60947 , tested and now it prints the header page information from database
2012-03-29 18:28:38 +03:00
Shein Alexey
babe3ee0d2
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug61115-1.phpt for debug build version.
Fixed bug #60718 Complie problem with libpq (PostgreSQL 7.3 or less)
2012-03-29 17:25:49 +05:00
Yasuo Ohgaki
48033ed48d
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #60718 Complie problem with libpq (PostgreSQL 7.3 or less)
2012-03-29 20:06:00 +09:00
Johannes Schlüter
dde1bff4c6
Merge branch 'PHP-5.4'
...
* PHP-5.4:
This will be PHP 5.3.12
2012-03-29 11:44:10 +02:00
Johannes Schlüter
27378c2b5a
Merge branch 'PHP-5.4'
...
* PHP-5.4:
2012-03-29 10:59:02 +02:00
Gustavo André dos Santos Lopes
fc4482fd5e
Merge branch '5.4'
2012-03-29 08:48:13 +01:00
Gustavo André dos Santos Lopes
57af2875dc
Revert "Merge branch 'pull-request/24'" (apply correct workflow)
...
This reverts commit a00b447b34 , reversing
changes made to 48daddf093 .
2012-03-29 08:41:51 +01:00
Yasuo Ohgaki
a00b447b34
Merge branch 'pull-request/24'
...
* pull-request/24:
ext/pcntl/pcntl.c: Fix typo in comment
2012-03-29 09:06:04 +09:00
Christopher Jones
2c9d8f1d91
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src :
Refactoring junit logger. Added generation of nested testsuites in junit.xml.
2012-03-28 16:16:23 -07:00
Gustavo André dos Santos Lopes
48daddf093
Merge branch '5.4'
2012-03-28 21:43:02 +01:00
Anatoliy Belsky
a83d84279b
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61459 popen_close_basic-win32 can't run sort.exe
2012-03-28 19:43:45 +02:00
Anatoliy Belsky
40bbc7a1ed
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61401 ext\openssl\tests\004.phpt fails
Fix bug #61404 ext\openssl\tests\021.phpt fails
Fix bug #61404 ext\openssl\tests\021.phpt fails
Fix bug #61448 intl tests fail with icu >= 4.8
2012-03-28 17:25:23 +02:00
Anatoliy Belsky
b905167458
Fix bug #61404 ext\openssl\tests\021.phpt fails
2012-03-28 16:23:46 +02:00
Jille Timmermans
51e9365bb9
ext/pcntl/pcntl.c: Fix typo in comment
...
Signed-off-by: Jille Timmermans <jille@quis.cx >
2012-03-28 16:18:23 +02:00
Anatoliy Belsky
a715a21594
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61448 intl tests fail with icu >= 4.8
2012-03-28 14:53:28 +02:00
Gustavo André dos Santos Lopes
8319e99e5d
Merge branch 'master' of git.php.net:/php-src
2012-03-28 13:06:49 +01:00
Gustavo André dos Santos Lopes
e6b23547c1
Merge branch '5.4'
2012-03-28 13:06:36 +01:00
Anatoliy Belsky
2ceafc7e33
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61468 ext/phar/tests/phar_oo_005.phpt fails
2012-03-28 13:19:45 +02:00
Anatoliy Belsky
17241a9983
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Bug 61504 updated libmagic.patch
Bug #61504 TSRML_FETCH() must be last
2012-03-28 12:11:29 +02:00
Gustavo André dos Santos Lopes
298e9d2932
Merge branch '5.4'
2012-03-28 08:58:09 +01:00
Pierre Joye
13bd9c2c3d
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- fix bug #61504 , fix build errors on windows and possibly other
Conflicts:
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
2012-03-28 02:15:02 +02:00
Christopher Jones
7894525d40
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Update README
Conflicts:
ext/oci8/README
2012-03-27 11:57:55 -07:00
Anatoliy Belsky
7de75bc51e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61518 skip on windows, fix on linux - ext/standard/tests/streams/bug60106.phpt
2012-03-27 19:18:54 +02:00
Anatoliy Belsky
1eefd05eb5
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix bug #61519 test fails, should pass - ext/zlib/tests/bug60761.phpt
2012-03-27 18:22:37 +02:00
Anatoliy Belsky
fe8494d781
Merge branch '5.4'
...
* 5.4:
Fix bug #61405 ext\openssl\tests\022.phpt fails
Fix bug #61412 ext\openssl\tests\bug28382.phpt fails
Fix bug #61412 ext\openssl\tests\bug28382.phpt fails
2012-03-27 16:32:14 +02:00
Shein Alexey
dda95b794c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Added failing test for ArrayObject::offsetExists().
2012-03-27 19:02:01 +05:00
Anatoliy Belsky
686effc677
Merge branch '5.4'
...
* 5.4:
Fix bug #61412 ext\openssl\tests\bug28382.phpt fails
2012-03-27 15:34:57 +02:00
Anatoliy Belsky
5f3ba55a3c
Merge branch '5.3' into 5.4
...
* 5.3:
Fix bug #61412 ext\openssl\tests\bug28382.phpt fails
2012-03-27 15:27:20 +02:00
Anatoliy Belsky
5f6bed180e
Fix bug #61412 ext\openssl\tests\bug28382.phpt fails
2012-03-27 15:23:01 +02:00
Pierre Joye
63e58b6f3f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- fix test for 5.11
Fix bug #61504 , potential vuln. in fileinfo. update to 5.11
2012-03-27 14:02:35 +02:00
Yasuo Ohgaki
cfb2df5fb7
Adjust mbstring php.ini settings
2012-03-27 00:34:21 +09:00
Yasuo Ohgaki
2ceaa9da85
Merge branch 'pull-request/22'
...
* pull-request/22:
mbstring use UTF-8
2012-03-27 00:30:31 +09:00
slumbers99
833dcf3cf7
mbstring use UTF-8
2012-03-26 18:56:51 +09:00
Stanislav Malyshev
b4d078f18c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix test
2012-03-25 13:54:27 -07:00
Stanislav Malyshev
d780b4e4b3
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix tests
2012-03-25 13:50:33 -07:00
Stanislav Malyshev
53c2f47a8f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix bug #61487 - bad bounds check in grapheme_strpos
2012-03-25 01:03:43 -07:00
Stanislav Malyshev
dff73f343f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
NEWS for bug #61487
NEWS for bug #61487
2012-03-25 01:00:37 -07:00
Pierrick Charron
919085b822
Merge branch 'PHP-5.4'
2012-03-24 18:00:04 -04:00
Hannes Magnusson
6519665f9c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix test on FreeBSD and other systems that have /etc/services
2012-03-24 18:00:04 +01:00
Hannes Magnusson
54d82a962c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
This is a git checkout
Revert incorrect fix
2012-03-24 17:20:36 +01:00
David Soria Parra
1772a5a2e3
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Revert "Implemented FR #60738 (Allow 'set_error_handler' to handle NULL)"
2012-03-24 14:40:09 +01:00
Xinchen Hui
6ba2e662e4
Implemented FR #60738 (Allow 'set_error_handler' to handle NULL)
...
The previous commit was reverted as Stas ask, so only commit this
to Truk now.
2012-03-24 19:41:11 +08:00
Xinchen Hui
d8f8e98d8e
Improve set_exception_handler while doing reset
2012-03-24 19:38:40 +08:00
Xinchen Hui
aa7cdcd13d
Merge branch 'PHP-5.4' of ../php-5.4
2012-03-24 19:28:43 +08:00
Xinchen Hui
690afaffc8
Merge branch 'PHP-5.4' of ../php-5.4
2012-03-24 15:16:51 +08:00
Xinchen Hui
b1ea7cd1b0
Merge branch 'PHP-5.4' of ../php-5.4
2012-03-24 14:34:13 +08:00
Xinchen Hui
cbb9d32418
Merge branch 'PHP-5.4' of ../php-5.4
2012-03-24 14:23:22 +08:00
Xinchen Hui
8efdf61e80
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Typo
2012-03-24 12:23:52 +08:00
Xinchen Hui
ee45f06856
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix test
2012-03-24 12:15:17 +08:00
Xinchen Hui
0998ae34d3
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Improve set_exception_handler
Conflicts:
NEWS
2012-03-24 11:56:27 +08:00
Xinchen Hui
caa40dd323
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Improve set_exception_handler
2012-03-24 11:50:07 +08:00
Xinchen Hui
a2bca4e46f
Improve set_exception_handler
...
Remove useless alloc/free and return_value copy while doing reset
exception handler
2012-03-24 11:46:29 +08:00
Xinchen Hui
3813f987d5
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Remove empty lines
2012-03-24 11:35:29 +08:00
Gustavo André dos Santos Lopes
30642380de
Merge branch '5.4'
2012-03-23 22:14:56 +00:00
Gustavo André dos Santos Lopes
8609338a03
Merge branch '5.4'
2012-03-23 11:32:43 +00:00
Stanislav Malyshev
2e19cccad7
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Revert "- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or" - causes bug #61482
update for git
2012-03-22 22:31:10 -07:00
Christopher Jones
3efc9f2f78
Merge branch 'PHP-5.4' of ../php-5.4
...
* 'PHP-5.4' of ../php-5.4:
More changes to README
Add initialization tests for SQLT_INT binds
Fix NEWS
2012-03-22 14:35:56 -07:00
Christopher Jones
6d45a65753
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src :
Add initialization tests for SQLT_INT binds
2012-03-22 14:33:21 -07:00
Christopher Jones
256c4b8698
Merge branch 'PHP-5.3' of ../php-5.3 into PHP-5.4
...
* 'PHP-5.3' of ../php-5.3:
More changes to README
Add initialization tests for SQLT_INT binds
Fix NEWS
2012-03-22 14:31:48 -07:00
Christopher Jones
f402ca23d3
More changes to README
2012-03-22 14:28:33 -07:00
Christopher Jones
856f10c9cc
Add initialization tests for SQLT_INT binds
...
Added tests for SQLT_INT binds particularly to check for uninitialized
variables.
2012-03-22 12:00:37 -07:00
Christopher Jones
b206c9540d
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src: (26 commits)
Fixed bug #61423 (gzip compression fails).
BFN
Fixed bug #61423 (gzip compression fails).
Revert "Fixed reference counting"
Revert "Fixed reference counting"
Revert "Fixed reference counting"
Revert "Fixed reference counting"
Revert "Fixed reference counting"
Fixed reference counting
Fixed reference counting
Fixed reference counting
Fix test, and merge the modification from trunk
Ignore the tempoary files
Fix test, which was broken by the fix for #61173
Use the NEWS merge driver if available
Made some SplFileObject::fputcsv not pollute the working dir.
Fixed bug #61453 .
Fixed bug #49853 (Soap Client stream context header option ignored)
Always keep the NEWS file from the branch when merging
Fixed bug #61043 (Regression in magic_quotes_gpc fix for CVE-2012-0831)
...
2012-03-22 11:01:32 -07:00
Christopher Jones
fbe4612771
Merge branch 'PHP-5.4' of ../php-5.4
...
* 'PHP-5.4' of ../php-5.4:
Add initialization tests for SQLT_INT binds
2012-03-22 10:26:32 -07:00
Ilia Alshanetsky
0592e25a74
Merge branch '5.4'
...
* 5.4:
Fixed bug #61423 (gzip compression fails).
2012-03-22 09:46:52 -04:00
Ilia Alshanetsky
9974e6f606
Merge branch 'PHP-5.4'
...
* PHP-5.4:
BFN
Fixed bug #61423 (gzip compression fails).
Revert "Fixed reference counting"
Revert "Fixed reference counting"
2012-03-22 09:15:53 -04:00
Dmitry Stogov
264f417cb5
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Revert "Fixed reference counting"
Revert "Fixed reference counting"
Fixed reference counting
Fixed reference counting
2012-03-22 15:53:53 +04:00
Dmitry Stogov
6f49678fd8
Revert "Fixed reference counting"
...
This reverts commit 5bf1efbf20 .
2012-03-22 15:51:33 +04:00
David Soria Parra
ef678028bf
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Revert "Fixed reference counting"
Fixed reference counting
Fixed reference counting
2012-03-22 12:16:18 +01:00
David Soria Parra
30c1271464
Revert "Fixed reference counting"
...
This reverts commit 5bf1efbf20 .
2012-03-22 12:16:12 +01:00
Dmitry Stogov
5bf1efbf20
Fixed reference counting
2012-03-22 15:02:25 +04:00
Xinchen Hui
191df5bd06
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix test, and merge the modification from trunk
Conflicts:
ext/mbstring/tests/mb_eregi_replace.phpt
2012-03-22 17:33:23 +08:00
Xinchen Hui
31ae08b62f
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Ignore the tempoary files
2012-03-22 17:23:02 +08:00
Xinchen Hui
f6e7320da8
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix test, which was broken by the fix for #61173
2012-03-22 17:18:16 +08:00
Gustavo André dos Santos Lopes
d7733dd3cf
Merge branch '5.4' (just to sync, no code changes)
2012-03-21 21:32:17 +00:00
David Soria Parra
fbdacb6538
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Use the NEWS merge driver if available
2012-03-21 18:12:20 +01:00
Gustavo André dos Santos Lopes
65a97bec88
Merge branch '5.4'
2012-03-21 13:15:52 +00:00
Dmitry Stogov
41fc30a2d9
Merge branch 'master' of git.php.net:php-src
2012-03-21 16:50:59 +04:00
Dmitry Stogov
d080396908
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #49853 (Soap Client stream context header option ignored)
Conflicts:
NEWS
2012-03-21 16:49:49 +04:00
Gustavo André dos Santos Lopes
a19dba56d2
Merge branch '5.4'
...
Conflicts:
NEWS
2012-03-21 12:43:51 +00:00
David Soria Parra
abf5ed4d1b
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Always keep the NEWS file from the branch when merging
2012-03-21 12:41:45 +01:00
David Soria Parra
443e3b4c93
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #61461 (missing checks around malloc() calls).
Conflicts:
NEWS
2012-03-21 12:15:33 +01:00
David Soria Parra
c33aeb7d06
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- update NEWS
- add test for bug #55000 and #54374
- merge fix bug #54374 , bug #55500 - filter file names better, no dangling [s, svn revision 321664
2012-03-21 12:10:03 +01:00
David Soria Parra
28bce7618a
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- update NEWS
- add test for bug #55000 and #54374
- merge fix bug #54374 , bug #55500 - filter file names better, no dangling [s, svn revision 321664
adapt makedist to git
Conflicts:
NEWS
2012-03-21 12:09:53 +01:00
Pierre Joye
363a3218e2
- revert test commit
2012-03-21 08:30:33 +01:00
Pierre Joye
d11f4eddcc
- test commit for log mail
2012-03-21 07:34:46 +01:00
Stanislav Malyshev
2288e0eed1
Merge branch 'PHP-5.4'
...
* PHP-5.4:
adapt makedist to git
2012-03-20 10:02:38 -07:00
David Soria Parra
6e7284fb5b
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Replace $Revision$ with $Id$ in keyword expansion enable files
Enable $Id$ expansion for files with the $Revision$ keyword
Conflicts:
ext/mysqlnd/mysqlnd.h
2012-03-20 17:59:33 +01:00
David Soria Parra
1dcb81c14c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Adding Braces in json.c to conform with coding standards
2012-03-20 17:31:29 +01:00
Martin Jansen
a0c87ff53c
Merge branch 'master' of git.php.net:php-src
2012-03-20 11:16:09 +01:00
Martin Jansen
0119f24df1
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Bump copyright year.
2012-03-20 11:15:36 +01:00
Martin Jansen
c337f69157
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Bump copyright year.
2012-03-20 11:15:28 +01:00
Martin Jansen
52ec6f761e
Bump copyright year.
...
Bug #61386
2012-03-20 11:14:59 +01:00
Xinchen Hui
ac38f4e113
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Ignore the temporay files in sapi/*/tests/
2012-03-20 17:22:03 +08:00
Xinchen Hui
4b6772f847
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Ignore the temporay files in sapi/*/tests/
2012-03-20 16:00:21 +08:00
Xinchen Hui
1a42558832
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Minor change, test using php mail address as account
2012-03-20 15:42:25 +08:00
Xinchen Hui
a0d149bc50
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Use newdoc instead of escape char
adapt makedist to git
2012-03-20 15:27:41 +08:00
Christopher Jones
eda790de0f
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src :
2012-03-19 15:25:27 -07:00
Christopher Jones
faa731f147
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Minor text changes (to try new git repo)
Issue-60742: Added FilesystemIterator::OTHER_MODE_MASK
2012-03-19 15:19:00 -07:00
David Soria Parra
4335053636
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Issue-60742: Added FilesystemIterator::OTHER_MODE_MASK
2012-03-19 22:11:21 +01:00
Michael Wallner
3930e1e992
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix tests failing due to corrected hash tiger
2012-03-19 21:52:55 +01:00
Ilia Alshanetsky
4b6d10a06a
Merge branch '54'
...
* 54:
add note about corrected tiger hash output
Fixed bug #61430 (Transposed memset() params in sapi/fpm/fpm/fpm_shm.c).
MFH: 7dcada1 for 5.4
MFH: 45a6f8d for 5.4.
2012-03-19 13:16:14 -04:00
Sebastian Bergmann
ae5e8ad9c3
Merge branch 'PHP-5.4'
2012-03-19 18:26:01 +01:00
David Soria Parra
dea5376644
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Add .gitignore
2012-03-19 15:59:53 +01:00
David Soria Parra
b204f36eb3
Merge branch 'PHP-5.4'
...
This merge is a "fake". It was done with the merge strategy
"ours" to ensure Git thinks both branches are in sync after
the migration from SVN.
2012-03-19 06:12:45 -07:00
Gustavo André dos Santos Lopes
773bedb13d
- Fixed bug #61388 (ReflectionObject:getProperties() issues invalid reads
...
when get_properties returns a hash table with (inaccessible) dynamic
numeric properties).
2012-03-18 18:23:27 +00:00
Gustavo André dos Santos Lopes
a3699726f9
- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or
...
FilesystemIterator's iterators are requested more than once without
having had its dtor callback called in between).
2012-03-18 15:07:20 +00:00
Gustavo André dos Santos Lopes
e132db7a57
- Fixed bug #61371 (resource leak). This bug had two parts, a long standing leak
...
already fixed in trunk/5.3 and now merged onto 5.4 and a leak introduced in
fixing bug #61115 . This better fix for #61115 fixes the leak (the inhibition
for deleting the context was too broad) and so prevents segfaults in new
circumstances (where the inhibition was not broad enough).
2012-03-17 19:37:30 +00:00
Michael Wallner
a09349a170
add --PUT-- section support based on POST_RAW
2012-03-17 09:35:25 +00:00
Pierre Joye
5f31ecacd8
- Fix bug #61424 , ext/sqlite is not bundled anymore, remove it from php.ini
2012-03-17 08:52:27 +00:00
Adam Harvey
6655f79401
Fix bug #61409 (Bad formatting on phpinfo()). Patch by Jakub Vrana.
2012-03-16 02:07:46 +00:00
Ilia Alshanetsky
632825a4ff
Fixed bug #60947 (Segmentation fault while executing ibase_db_info)
2012-03-15 19:59:26 +00:00
Ilia Alshanetsky
283accdf15
Fixed bug #61212 (PDO ODBC Segfaults on SQL_SUCESS_WITH_INFO).
2012-03-14 20:20:33 +00:00
Ulf Wendel
18a4e93877
Test for MySQL version.Variable is deprecated in MySQL 5.6.
2012-03-14 14:55:09 +00:00
Gustavo André dos Santos Lopes
efc94f3115
- Fixed bug #61374 : html_entity_decode tries to decode code points that don't
...
exist in ISO-8859-1.
2012-03-13 18:08:30 +00:00
Christopher Jones
7aefbf70a8
Test portability and coverage changes
2012-03-12 18:08:34 +00:00
Ilia Alshanetsky
7337a901b7
Fixed bug #60222 (time_nanosleep() does validate input params).
2012-03-12 16:53:07 +00:00
Xinchen Hui
438a30f1e7
reduce memory usage
2012-03-12 14:52:02 +00:00
Ilia Alshanetsky
d4f05fbffc
Fixed bug #60569 (Nullbyte truncates Exception $message).
2012-03-11 18:15:13 +00:00
Felipe Pena
3954743813
- Fixed memory leak when calling SplFileInfo's constructor twice
2012-03-11 15:42:57 +00:00
Xinchen Hui
a38ffd5705
Fixed bug #61273 (call_user_func_array with more than 16333 arguments leaks / crashes)
2012-03-11 15:28:31 +00:00
Xinchen Hui
2db548acf2
Fix wrong type in the marco of fetching thread globals
2012-03-11 15:12:28 +00:00
Xinchen Hui
24603280d4
fix test
2012-03-11 14:44:07 +00:00
Xinchen Hui
7059735b1d
Fixed bug #61088 (Memory leak in readline_callback_handler_install).
2012-03-11 09:19:38 +00:00
Xinchen Hui
4ff1126846
Implemented FR #60850 (Built in web server does not set $_SERVER['SCRIPT_FILENAME'] when using router)
2012-03-11 08:56:14 +00:00
Xinchen Hui
024420e90b
Add Moriyoshi Koizumi and I to the cli SAPI credits
2012-03-11 08:41:40 +00:00
Xinchen Hui
e6ec1fb166
Fixed bug #61347 (inconsist isset behavior of Arrayobject)
2012-03-11 08:27:55 +00:00
Gustavo André dos Santos Lopes
23e65a9dcc
- Fixed bug #61326 (ArrayObject comparison).
2012-03-10 17:19:39 +00:00
Ilia Alshanetsky
d54e6ce832
Fixed bug #60842 , #51775 (Chunked response parsing error when chunksize length line is > 10 bytes).
2012-03-08 20:14:26 +00:00
Gustavo André dos Santos Lopes
cdc512afb3
- Oops committed old version of the patch in r324020. Fixed. See bug #61253 .
2012-03-08 12:39:48 +00:00
Gustavo André dos Santos Lopes
0169020e49
- Fixed bug #61253 : Wrappers opened with errors concurrency problem
...
#NOTE: There is a very small possibility that this will further break
#extensions that access wrapper->{err_stack, err_count}. On PECL SVN, rar is the
#only one and it may leak memory after this. I say "further break" because
#extensions that do that are already broken (will segfault) under ZTS, which is
#why this patch is necessary.
#There was what I deem as tacit acceptance from 5.3/5.4 RMs on this.
2012-03-08 12:30:59 +00:00
Gustavo André dos Santos Lopes
d1ccacd5a6
- Fixed bug #61267 : pdo_pgsql's PDO::exec() returns the number of SELECTed
...
rows on postgresql >= 9
2012-03-08 08:52:28 +00:00
Ilia Alshanetsky
f82a562453
Fixed bug #60634 (Segmentation fault when trying to die() in SessionHandler::write())
2012-03-08 03:31:46 +00:00
Gustavo André dos Santos Lopes
854f6377ae
- Tentative fix for bug #61306 .
...
#cjones: Will update NEWS when confirmed it fixes the problem.
2012-03-07 08:51:30 +00:00
Christopher Jones
15c956050c
Make "buildconf --force" more robust, per IRC chat. Not backported to 5.3 to avoid destabilization.
2012-03-06 21:30:59 +00:00
Derick Rethans
7afd050922
Fixed version numbers.
2012-03-06 18:34:10 +00:00
Xinchen Hui
02b3b616ce
Add test for bug #61292 , bug was fixed in -r323935
2012-03-06 06:24:50 +00:00
Xinchen Hui
1a1a8242c4
Fixed bug #61292 (Segfault while calling a method on an overloaded PDO object)
2012-03-06 03:45:27 +00:00
Johannes Schlüter
f36cc4f7c8
Apply test fix for bug #61288 pdo_mysql___construct_options_libmysql.phpt test fails
2012-03-06 01:43:49 +00:00
Johannes Schlüter
0aa45f4a2a
Fix bug #61003 mysql_stat() require a valid connection
2012-03-06 00:15:40 +00:00
Johannes Schlüter
048f1fa092
Fix bug #61194 PDO should export compression flag with myslqnd
2012-03-05 23:57:24 +00:00
Johannes Schlüter
4c4a33e706
Fix bug #60948 mysqlnd FTBFS when -Wformat-security is enabled
...
# 5.3 not affected
2012-03-05 23:55:12 +00:00
Johannes Schlüter
5c896b344a
Fix Bug #61207 PDO::nextRowset() after a multi-statement query doesn't always work
2012-03-05 23:38:15 +00:00
Christopher Jones
77e1a1ab6e
Align section headings with the latest (5.4) migration on-line doc.
...
This will aid future reuse of UPGRADING text.
2012-03-05 20:14:04 +00:00
Michael Wallner
e63e6647ff
fix bug #61287 (A particular string fails to decompress)
2012-03-05 15:35:22 +00:00
Dmitry Stogov
0add0bc021
Fixed bug #60887 (SoapClient ignores user_agent option and sends no User-Agent header)
2012-03-05 12:59:01 +00:00
Dmitry Stogov
ecdf201214
Fixed module numbering
2012-03-05 12:47:25 +00:00
Stefan Marr
520d07d86a
Fixed Bug #61052 (Missing error check in trait 'insteadof' clause)
2012-03-04 19:34:19 +00:00
Gustavo André dos Santos Lopes
3e6bc8fbce
- size_t may be shorter than long and definitely is not signed. Note that the
...
z modifier was only added in C99, so we can't use it.
2012-03-04 19:30:01 +00:00
Gustavo André dos Santos Lopes
0e9c20ec12
- Allow Windows builds targeting Vista and above have access to the RFC 3678
...
API for multicasting.
2012-03-04 19:17:49 +00:00
Stefan Marr
0ed3b00406
Fixed Bug #60911 (Confusing error message when extending traits)
2012-03-04 18:33:33 +00:00
Stefan Marr
0bb85e4b91
Fixed Bug #60717 (Order of traits in use statement can cause a fatal error)
...
# Compatibility is now correctly checked in both directions.
# Introduced helper method for the test.
2012-03-04 18:26:11 +00:00
Pierre Joye
37b462ba95
- notes about xp&2003 drop
2012-03-04 17:02:55 +00:00
Nikita Popov
4d0911c1c9
NEWS and UPGRADING for r323862
2012-03-04 16:32:01 +00:00
Pierre Joye
94994104a5
- bump minimum version, no more XP/2003
2012-03-04 15:08:12 +00:00
Nikita Popov
4e2e632fbd
Fix bug #60596 : Code Cleanup Removing Superfluous If Statement
...
Cleanup only, no function change. Patch by ircmaxell.
2012-03-04 13:52:48 +00:00
Nikita Popov
be202d3d35
Deprecate /e modifier
...
See https://wiki.php.net/rfc/remove_preg_replace_eval_modifier .
2012-03-04 13:39:12 +00:00
Ilia Alshanetsky
67db5de6b2
Fixed bug #60106 (stream_socket_server silently truncates long unix socket paths)
2012-03-03 20:36:14 +00:00
Nikita Popov
5b4adeae9b
Fix bug #61264 : xmlrpc_parse_method_descriptions leaks temporary variable
2012-03-03 12:46:17 +00:00
Nikita Popov
695b9c6720
Fix bug #52719 : array_walk_recursive crashes if third param of the function is by reference
2012-03-02 18:05:38 +00:00
Rasmus Lerdorf
df55241915
Armenia is smarter than the rest of us. They have dropped DST.
...
http://www.worldtimezone.com/dst_news/dst_news_armenia03.html
Fix the test to reflect that.
2012-03-02 17:03:19 +00:00
Derick Rethans
cab11b7418
- Updated to version 2012.2 (2012b)
2012-03-02 17:00:33 +00:00
Nikita Popov
f465b219b5
Fix bug #61106 Segfault when using header_register_callback
...
The callback was double dtored
2012-03-02 08:04:51 +00:00
Rasmus Lerdorf
bc8e8b3467
Fix tests that break if filter.default isn't set to unsafe_raw
2012-03-02 05:04:40 +00:00
Xinchen Hui
bcb9768f9e
MFH: Fixed bug #61058 (array_fill leaks if start index is PHP_INT_MAX)
2012-03-02 03:40:40 +00:00
Xinchen Hui
e8ad8fc6f9
MFH: Fixed bug #60968 (Late static binding doesn't work with ReflectionMethod::invokeArgs())
2012-03-02 03:36:30 +00:00
Xinchen Hui
0b7f94545e
MFH: Fixed bug #60573 (type hinting with "self" keyword causes weird errors)
2012-03-02 03:32:12 +00:00
Xinchen Hui
101e3e8aed
MFH: Fixed bug #60978 (exit code incorrect)
2012-03-02 03:25:41 +00:00
Xinchen Hui
59cbf74b74
MFH: Fixed bug #61000 (Exceeding max nesting level doesn't delete numerical vars)
2012-03-02 03:18:04 +00:00
Xinchen Hui
89b07b3a20
MFH: Fixed bug #61011 (Crash when an exception is thrown by __autoload accessing a static property)
2012-03-02 03:12:15 +00:00
Xinchen Hui
4f0bbee3ef
MFH: Fixed bug #61072 (Memory leak when restoring an exception handler).
2012-03-02 02:56:08 +00:00
Xinchen Hui
adb9fe6ca1
MFH: Fix bug #61165 (Segfault - strip_tags())
2012-03-02 02:51:57 +00:00
Pierrick Charron
1953161b8c
Fixed bug #61225 (Lexing 0b0*+<NUM> incorectly)
2012-03-02 02:36:31 +00:00
Christopher Jones
730b54a374
Fixed bug #61172 (Add Apache 2.4 support)
2012-03-02 00:07:41 +00:00
Derick Rethans
c932ada103
- Updated to version 2012.1 (2012a)
2012-03-01 15:09:49 +00:00
Pierre Joye
f44bf55558
- fix bug #60879 , unserialize does not invoke __wakeup
2012-02-28 18:36:10 +00:00
Rasmus Lerdorf
4ac6c512f9
Fix bug 61193
2012-02-27 12:16:39 +00:00
Xinchen Hui
1923ecfe25
Improve fix for #61165 , the previous one cause #43450 test failed
2012-02-26 14:56:26 +00:00
Xinchen Hui
38b549ea2f
Fixed bug #61087 (Memory leak in parse_ini_file when specifying invalid scanner mode)
2012-02-25 14:15:11 +00:00
Xinchen Hui
229e55632d
Fixed bug #61011 (Crash when an exception is thrown by __autoload accessing a static property)
2012-02-25 13:56:59 +00:00
Olivier DOUCET
f14a1e0aed
test for bug #61124
2012-02-25 13:27:57 +00:00
Olivier DOUCET
8a8dd922a0
fix phpt : fopen(data://) requires allow_url_fopen=1
2012-02-25 12:44:46 +00:00
Olivier DOUCET
bdbcc1789d
more verbose skip reason in test files with not so obvious extension requirements
2012-02-25 12:10:41 +00:00
Xinchen Hui
2d424a88fc
merge test to 5.3, and remove xfail since the bug was fixed
2012-02-25 05:18:40 +00:00
Xinchen Hui
cfa9c90b20
Fixed bug #61165 (Segfault - strip_tags())
2012-02-25 04:36:08 +00:00
Xinchen Hui
c1322d2505
Fix test
2012-02-25 03:19:27 +00:00
Xinchen Hui
a57140324d
typo
2012-02-25 03:16:28 +00:00
Xinchen Hui
4b86d681bb
test for bug #61011
2012-02-25 03:14:16 +00:00
Xinchen Hui
f86d90d27b
Tests for bug #61165
2012-02-25 03:12:54 +00:00
Gustavo André dos Santos Lopes
911330e62c
- Better fix for #61115 .
...
- Fixed resource leak in stream_socket_client().
2012-02-24 22:56:21 +00:00
Gustavo André dos Santos Lopes
f434afe236
- Fixed bug #61173 (Unable to detect error from finfo constructor).
...
- Tidied up NEWS
2012-02-24 10:01:39 +00:00
Scott MacVicar
6c331093b4
Fixed bug #61124 (Crash when decoding an invalid base64 encoded string).
2012-02-23 01:26:46 +00:00
Gustavo André dos Santos Lopes
cde7662226
- Fixed bug #61115 (stream related segfault on fatal error in
...
php_stream_context_link).
#run-tests.php is not currently detecting the segfault in the test
#Missing 5.4 merge
2012-02-22 11:45:26 +00:00
Gustavo André dos Santos Lopes
e391abb1d9
- Cleanup UPGRADING and UPGRADING.INTERNALS from 5.4 changes.
...
- Added information about removal of streams pooling API.
2012-02-22 10:08:37 +00:00
Gustavo André dos Santos Lopes
fc134965c8
- Revert r134029. The streams pooling API was never used in more
...
than 8 years and therefore unnecessarily adds complexity.
2012-02-21 21:55:00 +00:00
Adam Harvey
37272e46de
Add a __wakeup() method to SplFixedArray, thereby fixing serialising an
...
SplFixedArray object and bug #60560 (SplFixedArray un-/serialize, getSize(),
count() return 0, keys are strings).
2012-02-21 10:34:42 +00:00
Etienne Kneuss
eefefddc0e
Fix #61095 (Lexing 0x0*+<NUM> incorrectly)
2012-02-20 18:28:57 +00:00
Nuno Lopes
0cb26060af
fix race condition in find (it was finding the copied files over and over again, and recursing forever)
2012-02-20 16:01:34 +00:00
Nikita Popov
ecd13fd184
Fix bug #61139 gzopen leaks when specifying invalid mode
...
Needs to be merged to 5.4.
2012-02-19 14:39:29 +00:00
Nikita Popov
957029f44a
Fix bug #61097 Memory leak in xmlrpc functions copying zvals
...
Needs to be merged to 5.4.
2012-02-18 14:58:19 +00:00
Nikita Popov
032bbc3164
Fix headers generated by phar
...
sapi_header_line.line_len is the length without null terminator, so one has to
take sizeof - 1. This fixes some test failures as the NUL bytes were causing
warnings.
Needs to be merged to 5.4.
2012-02-18 13:39:13 +00:00
Nikita Popov
0a91432828
Fix cli server tests broken by r323078
...
Needs to be merged to 5.4 after r323078 is merged.
2012-02-18 11:59:13 +00:00
Rasmus Lerdorf
8bc24c0046
I think we should let this be settable from .htaccess to match the other post/upload
...
related limits like upload_max_filesize, post_max_size, and max_input_vars.
2012-02-17 17:54:11 +00:00
Rasmus Lerdorf
4dd55d47ad
Weird, what happened here?
2012-02-16 17:48:30 +00:00
Stanislav Malyshev
dab17da38a
make ZEND_SIGNALS configurable, off by default
...
also make ZEND_SIGNALS enabled and disabled binary-compatible
2012-02-16 01:51:45 +00:00
Michael Wallner
7a58d9f679
fix compat function not passing along input buffer with php_output_context_pass() if the output_handler_func does not set out_str
2012-02-14 19:31:54 +00:00
Mateusz Kocielski
4d600bda70
* fixed bug #60704 unlink() bug with some files path
...
Reviewed by: rasmus@
2012-02-14 14:14:30 +00:00
Dmitry Stogov
2e94124494
Fixed reinitialization of SAPI callbacks after php_module_startup()
2012-02-14 13:31:23 +00:00
Rasmus Lerdorf
ec9fe66069
This one depends on max_input_vars as well
2012-02-14 09:50:46 +00:00
Rasmus Lerdorf
e80cbef15b
These tests fail unless max_input_vars and/or max_file_uploads is set high enough
2012-02-14 09:47:32 +00:00
Dmitry Stogov
e16ec62d20
Added ability to reset user opcode handlers (Yoram)
2012-02-14 09:27:08 +00:00
Dmitry Stogov
2ad7f44b7b
Improved max_input_vars directive to check nested variables
2012-02-14 08:58:52 +00:00
Xinchen Hui
5d683614f9
Fixed bug #61072 (Memory leak when restoring an exception handler)
2012-02-14 05:35:34 +00:00
David Soria Parra
e78aa1b3b4
Add credit line for the PHP Output Handler
2012-02-13 19:54:51 +00:00
Xinchen Hui
af92365239
Improved fix for #61058 , and add test script
2012-02-12 05:32:24 +00:00
Xinchen Hui
3d898cfa3f
Fixed bug #61058 (array_fill leaks if start index is PHP_INT_MAX)
2012-02-12 04:59:08 +00:00
Christopher Jones
32c6c1659f
Merge Stas's 5.4 r323128 to trunk
2012-02-09 23:53:07 +00:00
Xinchen Hui
52bbc86c30
decrescent order
...
#<Felipe> laruence: yes, we used to use decrescent order of bug id in the NEWS entry.
2012-02-08 15:07:28 +00:00
Xinchen Hui
6672171672
Fixed bug #61000 (Exceeding max nesting level doesn't delete numerical vars).
2012-02-08 14:07:27 +00:00
Xinchen Hui
ff63c09e6f
Revert -r319102 and -r322922 in 5.4 branch since they introduce #60978
...
Fixed #60978 in trunk without reverting previous fix
#see http://news.php.net/php.internals/57789
2012-02-08 03:03:05 +00:00
Antony Dovgal
d305d7a863
fix bug #54682 (tidy null pointer dereference)
2012-02-07 20:49:10 +00:00
Christopher Jones
df02fbae3e
Fix OpenSSL version-dependent diff. "Time Stamp signing" is not in openssl 0.9. Skip current test for 0.9. New test for 0.9 approved by Stas
2012-02-07 01:15:13 +00:00
Christopher Jones
0b702cb5be
Force allow_url_fopen to fix qa.php.net/reports diffs
2012-02-06 23:52:42 +00:00
Christopher Jones
c4100c81cc
Mask different curl message. Now passes on Oracle Linux 5
2012-02-06 23:31:51 +00:00
Christopher Jones
d11f2beb82
Allow alternative curl output shown in several qa.php.net/reports logs
2012-02-06 23:14:47 +00:00
Rasmus Lerdorf
c950030b3f
Safer way to call pcre_fullinfo - bug 60986
2012-02-06 18:18:53 +00:00
Rasmus Lerdorf
704c45ec3e
Fix for bug 60986
2012-02-06 18:11:56 +00:00
Gustavo André dos Santos Lopes
7dcada1c8c
- Fixed possible unsigned int wrap around in html.c. Note that 5.3 has the same
...
(potential) problem; even though the code is substantially different, the
variable name and the fashion it was incremented was kept.
2012-02-05 14:57:57 +00:00
Gustavo André dos Santos Lopes
6af0bdc2a3
- Connection: close, not "closed".
2012-02-05 11:45:01 +00:00
Rasmus Lerdorf
6659010dc9
Same thing here. "June 18, 1969 8:49:59 AM " does not contain a timezone, so there
...
is no way to know whether dst should be applied or not.
2012-02-05 10:35:56 +00:00
Rasmus Lerdorf
c5ec2f77dd
Without a timezone you can't know whether it is dst or not in this one
2012-02-05 10:29:34 +00:00
Rasmus Lerdorf
38c3fd63e7
Another openssl test that is dependent on the openssl version. The output has
...
changed in more recent versions. Synch with newer output and consider changing
the test to only pick out the more stable fields instead of all of them.
2012-02-05 10:08:16 +00:00
Popa Adrian Marius
b2d9e1aa80
fix gcov Warning: ibase_drop_db(): lock time-out on wait transaction object http://gcov.php.net/viewer.php?version=PHP_5_4&func=tests&file=ext%2Fpdo_firebird%2Ftests%2Fbug_53280.phpt
2012-02-05 09:58:50 +00:00
Rasmus Lerdorf
db65a539a1
Need EXPECTF here, of course
2012-02-05 09:52:41 +00:00
Rasmus Lerdorf
d99600ee4d
Getting different hashes here. But this test isn't testing the hashes,
...
it is just making sure we actually get a hash and don't crash.
2012-02-05 09:50:14 +00:00
Rasmus Lerdorf
ee19012eab
According to the reports on qa this test is failing the same way for everyone.
...
See: http://qa.php.net/reports/viewreports.php?version=5.3.10&test=%2Fext%2Fopenssl%2Ftests%2Fbug28382.phpt
I'm not sure if this is due to a change in the openssl library or in the extension, so perhaps the test
itself needs to change, but for now synch it with the new output and watch for failures.
2012-02-05 09:32:20 +00:00
Rasmus Lerdorf
0c3685e223
This test needs gc enabled
2012-02-05 06:09:22 +00:00
Gustavo André dos Santos Lopes
122e11ef6e
- Fixed bug #60965 (Buffer overflow on htmlspecialchars/entities with
...
$double=false).
- Removed unused variable.
- Given maxlen the usual meaning of *len variables (terminator not included).
- Changed some comments.
2012-02-04 18:12:18 +00:00
Xinchen Hui
d2ca448f07
Fixed bug #60968 (Late static binding doesn't work with ReflectionMethod::invokeArgs())
2012-02-03 16:27:35 +00:00
Gustavo André dos Santos Lopes
024e1307c6
- Headers: forbid \r and \n also after \0, allow CRLF followed by HT or SP and
...
forbid \0. See bug #60227 .
2012-02-03 13:56:37 +00:00
David Soria Parra
dceecf5e82
mention git
2012-02-03 08:14:39 +00:00
Adam Harvey
325ca60fa7
Fix bug #60933 (Testing asort with SORT_LOCALE_STRING fails on Mac OS X 10.6) on PHP_5_3 and trunk.
2012-02-03 01:21:24 +00:00
Gustavo André dos Santos Lopes
f906a015bb
- Hopefully correct fix for bug #60227 .
...
#No commit for 5.4 for now
2012-02-02 18:24:53 +00:00
Andrey Hristov
7153f7f887
assert
2012-02-02 15:00:42 +00:00
Dmitry Stogov
29a909edcc
Fixed memory leaks
2012-02-02 10:26:53 +00:00
Stanislav Malyshev
4558f06648
fix UMR in php_register_variable_ex, reported by Stefan Esser
2012-02-01 19:52:05 +00:00
Dmitry Stogov
9c0c756417
Fixed basic HTTP authentication for WSDL sub requests.
2012-02-01 12:16:52 +00:00
Dmitry Stogov
e63f7f5a6c
Fixed basic HTTP authentication for WSDL sub requests
2012-02-01 11:26:57 +00:00
Michael Wallner
7aedbed543
fix usage of php_output_(de)activate; I guess this code doesn't bother about one more hack;
2012-01-31 10:47:21 +00:00
Michael Wallner
29c8658dc8
fix headers print to stdout/stderr if no output written; need to make some more testsbefore committing to PHP_5_4; fix crashes and invalid usage of output control in cli server while passing by
2012-01-31 08:51:24 +00:00
Pierre Joye
88b00ff6df
- fix #55226 , WS
2012-01-31 07:17:05 +00:00
Pierre Joye
601f05f1b8
- fix #55226 , fix build
2012-01-31 07:14:36 +00:00
Adam Harvey
4dc8b1ad11
Fix bug #60801 (strpbrk() mishandles NUL byte) on trunk only for now.
2012-01-30 13:29:15 +00:00
Michael Wallner
9de5b6dc7c
use stderr before, stdout after php_output_startup() and sapi_module.ub_write() after php_output_activate()
...
- fixes Bug #60920 CLI: php -v on STDERR
- fixes Bug #60923 Failing tests for sapi/cli
2012-01-30 12:17:51 +00:00
Pierre Joye
7053fe29ea
- libssh2 1.3.0
2012-01-30 11:04:19 +00:00
Dmitry Stogov
c95937e902
Fixed (disabled) inline-caching for ZEND_OVERLOADED_FUNCTION methods
2012-01-30 10:51:02 +00:00
Dmitry Stogov
0d32d361e6
Fixed bug #51860 (Include fails with toplevel symlink to /)
2012-01-30 10:08:11 +00:00
Derick Rethans
2c1285a573
- Reinstated correct return values after David's fix for #60218 .
2012-01-29 15:25:40 +00:00
Derick Rethans
32edc70fe1
CS fixes.
2012-01-29 11:17:07 +00:00
Rasmus Lerdorf
dc27324dd9
createCollation() for pdo_sqlite as well
...
Closes bug #55226
2012-01-29 04:22:23 +00:00
Rasmus Lerdorf
d8b312845c
Missed the test
2012-01-29 04:20:50 +00:00
Rasmus Lerdorf
9b55be870c
Good patch from Brad Dewar that adds missing createCollation()
...
method. Fixes bug #60871 and is related to bug #55226
2012-01-29 03:57:29 +00:00
Rasmus Lerdorf
a2ce8b3f97
Simple fix that just quotes the filenames in run-tests to support paths with spaces.
...
Fixes bug #60734
2012-01-28 02:43:31 +00:00
Felipe Pena
acaf9c5227
- Fixed bug #60860 (session.save_handler=user without defined function core dumps)
2012-01-28 01:24:54 +00:00
Pierre Joye
544e36dfff
- update libs
2012-01-27 17:35:01 +00:00
Pierre Joye
52697bcfd3
- update libs
2012-01-27 17:31:17 +00:00
Pierre Joye
d762f04dd8
- update libs
2012-01-27 13:27:03 +00:00
Pierre Joye
1e462057cd
- fix #60895 , possible invalid handler usage
2012-01-27 10:56:33 +00:00
Pierre Joye
9fa30bf52b
- openssl 0.9.8t, curl 7.24.0
2012-01-26 12:11:02 +00:00
Xinchen Hui
3a8a5bc843
WS, merged from trunk cause this issue, sorry
2012-01-26 01:28:37 +00:00
Xinchen Hui
498d9aea7f
Fixed bug #60825 (Segfault when running symfony 2 tests)
2012-01-26 01:21:35 +00:00
Michael Wallner
ed635be54f
find a php-cgi which is a sibling of the php executable
2012-01-25 19:36:36 +00:00
Michael Wallner
ef388d1f28
fix crash with display_startup_errors=1
2012-01-25 17:22:46 +00:00
Xinchen Hui
a222954a45
Re-fixed bug #60825 (Segfault when running symfony 2 tests)
2012-01-24 14:39:45 +00:00
Michael Wallner
65948ec354
LTP/gcov/lcov
...
- allow ltp v1.9
- make sure `test`s are catched by `if`s
- introduce LCOV_INCLUDE make variable, simple coverage for your extension:
./configure --enable-gcov && make lcov TESTS=~/src/pecl/http/test LCOV_INCLUDE=/http/
coverage takes just a few seconds instead of a few minutes for the full source tree
2012-01-23 09:48:18 +00:00
Rasmus Lerdorf
7a7e14f502
Please test your tests
2012-01-23 06:39:01 +00:00
Gustavo André dos Santos Lopes
f5a4573182
- Further fix for bug #60455 (stream_get_line misbehaves if EOF is not detected
...
together with the last read).
- Fixed bug #60817 (stream_get_line() reads from stream even when there is
already sufficient data buffered). stream_get_line() now behaves more like
fgets(), as is documented.
#withheld commit to 5.4
2012-01-22 20:30:37 +00:00
Xinchen Hui
cf54cc736b
Fixed bug #60825 (Segfault when running symfony 2 tests)
2012-01-21 17:13:53 +00:00
Nuno Lopes
023555c7c6
revert r319254 (fix bug #54682 ) since it is not correct
...
add test that was broken with that patch.
this bug is probably in libtidy itself and not in PHP. I didn't investigate it enough to confirm, though
2012-01-21 11:32:56 +00:00
Pierrick Charron
1bad879f4c
Remove memory leak in substr_replace (to commit in 5.4 after code freeze)
2012-01-20 13:20:14 +00:00
Dmitry Stogov
f9e6af5ef1
Fixed Bug #60809 (TRAITS - PHPDoc Comment Style Bug)
...
Fixed some other traits related bugs (uninitialized variable, return => continue)
Removed some trait related redundant code and variables
2012-01-20 12:30:57 +00:00
Scott MacVicar
96aa2eb234
Fix CVE-2011-3389. Possible attack on CBC mode with TLS 1.0.
...
See http://www.openssl.org/~bodo/tls-cbc.txt
The biggest reason for this mode being in SSL_OP_ALL was older versions
of IE (2002) talking to servers using OpenSSL.
Can hopefully get this into 5.4.
2012-01-20 05:31:53 +00:00
Rasmus Lerdorf
5d90aa1299
Missing ifdef here
...
Fixes bug 60811
2012-01-19 22:35:22 +00:00
Ferenc Kovacs
59fd8d21c9
merging the patch from #52078 , fixes the test on disk with huge inode size(fileinode() can overflow and return negative values there). will merge this to PHP_5_4 after the commit freeze.
2012-01-19 00:20:04 +00:00
Pierre Joye
db5751c91c
- add test for bug #60761
2012-01-18 20:29:13 +00:00
Pierre Joye
d285c75819
- add test for bug #60771
2012-01-18 20:22:47 +00:00
Pierre Joye
27fb1c24b7
- add test for bug #60761
2012-01-18 20:21:40 +00:00
Michael Wallner
9168f1c807
remove XFAIL for bug #47178
2012-01-18 10:16:37 +00:00
Michael Wallner
15e16b31a4
merge ext/hash from trunk
2012-01-18 09:15:34 +00:00
Michael Wallner
d6b11dbfdf
fix tests I borked
2012-01-17 17:21:32 +00:00
Michael Wallner
2d2aefe414
remove Salsa10/Salsa20, which are actually stream ciphers not hash functions
2012-01-17 16:35:32 +00:00
Michael Wallner
3e9a7c6c3d
adapted tiger hash byte print order to those of md5 and sha1
...
see http://en.wikipedia.org/wiki/Tiger_(cryptography)
http://www.cs.technion.ac.il/~biham/Reports/Tiger/test-vectors-nessie-format.dat
Closes Bug #60221 Tiger hash output byte order
2012-01-17 15:25:54 +00:00
Xinchen Hui
19a663d02d
unnecessay slash
2012-01-17 14:32:01 +00:00
Sebastian Bergmann
ebddf8a975
Revert r322390.
2012-01-17 13:46:31 +00:00
Sebastian Bergmann
e76c1cc03c
Implement ReflectionClass::setFinal() and ReflectionMethod::setFinal().
...
Patch by Jan Dolecek <juzna.cz@gmail.com >.
2012-01-17 12:59:33 +00:00
Dmitry Stogov
9025d6219d
Fixed workaround for bug #48034 on Windows (Crash when script is 8192 (8KB) bytes long)
2012-01-17 09:30:12 +00:00
Dmitry Stogov
877f97cde1
Regenerated scanners
2012-01-17 08:11:32 +00:00
Dmitry Stogov
032d140fd6
Improved traits implementation. Now to support __CLASS__ constant in traits php doesn't have to copy the complete compiled method, but can reuse the same code. The resolution of __CLASS__ constants in methods defined in traits are delayed till run-time. This approach also made possible to use __CLASS__ constant as default value for traits properties and method arguments.
2012-01-17 08:09:13 +00:00
Michael Wallner
f32760bd40
Fix bug #60768 Output buffer not discarded
...
in php_output_handler_op():
* if appending to buffer succeeds, just return HANDLER_NO_DATA
and do nothing else
* if a zero sized string or true is returned from the handler
function, reset the context as well as the handler's buffer
2012-01-16 17:51:35 +00:00
Xinchen Hui
36df53421e
typo
2012-01-16 10:20:18 +00:00
Xinchen Hui
d74a258f24
Fixed Bug #60573 (type hinting with "self" keyword causes weird errors)
2012-01-16 09:53:45 +00:00
Boris Lytochkin
583292ab22
Fixed bug #60585 (php build fails with USE flag snmp when IPv6 support is disabled)
...
Fixed bug #60749 (SNMP module should not strip non-standard SNMP port from hostname)
Fixed ipv6 test skipto if IPv6 support is disabled
2012-01-13 18:34:21 +00:00
Christopher Jones
dd9ce389c2
Fix configuration message typo and alignment (5.4 merge approved by Stas)
2012-01-12 23:23:05 +00:00
Pierre Joye
612e73b00b
- add new build type, optional. has been used for the last 2 RCs
2012-01-11 15:46:45 +00:00
Dmitry Stogov
fc2d10a4d3
Fixed incorrect type cast
2012-01-11 15:04:14 +00:00
Pierre Joye
71edeb61bd
- make it windows version independent, error msg differs, bad but well
2012-01-10 08:30:00 +00:00
Pierre Joye
3893b152ed
- any other dir may not exist or may not be used
2012-01-10 07:33:36 +00:00
Pierre Joye
5d6446513e
- error is windows version dependent and not what we test here
2012-01-09 15:31:33 +00:00
Pierre Joye
b63c6f6f20
- rm
2012-01-09 14:29:06 +00:00
Pierre Joye
7f2c8b347c
- spl tests are also under examples (sigh)
2012-01-09 13:56:46 +00:00
Rasmus Lerdorf
cb6603ac56
These tests don't work if run as root
2012-01-08 18:43:30 +00:00
Gustavo André dos Santos Lopes
10324891f8
- Added the ability for the intl exception to throw exceptions when a global error is set.
2012-01-08 18:41:53 +00:00
Rasmus Lerdorf
2651a1fc39
Make sure gc is enabled
2012-01-08 18:22:50 +00:00
Nuno Lopes
34bcd34b8c
do kill 9 to fix a race condition in this test. (should fix the debian 32-bit buildbot)
2012-01-08 18:03:56 +00:00
Daniel Convissor
bbf403f4ce
Remove test for bug 60675, the change in behavior between 5.3 and 5.4 is intentional.
2012-01-07 23:09:49 +00:00
Daniel Convissor
b21b982672
Test for bug 60675.
2012-01-06 22:10:04 +00:00
Patrick Allaert
a4305214a3
Changed: restoring REQUEST_TIME as a long, introducing REQUEST_TIME_FLOAT instead as discussed on the ML
2012-01-06 13:37:51 +00:00
Jérôme Loyet
0a67d26633
- Fixed bug #60659 (FPM does not clear auth_user on request accept)
2012-01-04 21:18:26 +00:00
Stanislav Malyshev
951940668d
move to XFAIL since it fails on 32-bit
2012-01-04 20:40:13 +00:00
Arpad Ray
ed4041c6c5
add more tests for #60634 (stems from #21306 ) and xfail them all for the moment
2012-01-04 11:44:05 +00:00
Xinchen Hui
b31c12435c
Fixed bug #60627 (httpd.worker segfault on startup with php_value)
2012-01-04 08:25:06 +00:00
Xinchen Hui
5d2dba81a1
fix test
2012-01-04 08:13:58 +00:00
Arpad Ray
7b7c871d65
fix return values of inherited session handler to match user handlers - #60640
2012-01-04 01:31:30 +00:00
Arpad Ray
5142a4edc8
add SessionHandlerInterface for session_set_save_handler() - #60551
2012-01-04 01:16:45 +00:00
Jérôme Loyet
0eb2eec938
- Fixed bug #60629 (memory corruption when web server closed the fcgi fd)
2012-01-03 22:26:11 +00:00
Arpad Ray
e41557e8db
add test for #60634
2012-01-03 21:47:16 +00:00
Matteo Beccati
479a3c3dc5
Bug #55663 , fixed test for bug 43139 on Firebird. Per request from mariuz
2012-01-02 11:43:25 +00:00
Stanislav Malyshev
e2a2ed348f
fix bug #55871 - Interruption in substr_replace()
2012-01-02 00:47:57 +00:00
Stanislav Malyshev
7c3177e5ab
fix bug #54374 , bug #55500 - filter file names better, no dangling [s
2012-01-01 23:54:25 +00:00
Stanislav Malyshev
80dd931d40
add test for ob_gzhandler
2012-01-01 23:51:21 +00:00
Nuno Lopes
d3f0eaee02
regen for r321655
2012-01-01 22:52:23 +00:00
Nuno Lopes
a542baa720
fix memory leak in compile_string when there's a parse error (used e.g. in eval or assert)
2012-01-01 22:45:58 +00:00
Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Michael Wallner
db51b6b84b
follow naming convention
2011-12-30 09:20:07 +00:00
Dmitry Stogov
8de2aa24b6
Added an API call to return active output handler
2011-12-30 08:50:49 +00:00
Popa Adrian Marius
b85713cbf0
Fixed PDO_Firebird: bug 53280 segfaults if query column count is less than param count
2011-12-28 19:58:37 +00:00
Popa Adrian Marius
13fb5735fc
fix tablename in testcase test->testz
2011-12-28 19:09:41 +00:00
Popa Adrian Marius
40656de5bd
Added test case for PDO_Firebird: bug 53280 segfaults if query column count is less than param count
2011-12-28 18:52:39 +00:00
Popa Adrian Marius
9e06b7f41d
fix Bug #47415 PDO_Firebird segfaults when passing lowercased column name to bindColumn()
2011-12-28 10:17:17 +00:00
Dmitry Stogov
6e3f7b800d
Fixed tests
2011-12-28 10:12:43 +00:00
Popa Adrian Marius
06273de0fa
one more error to fix Table unknown TEST , it should be TESTZ
2011-12-28 10:04:25 +00:00
Popa Adrian Marius
6a3148ecef
fix table name in testcase
2011-12-28 09:59:53 +00:00
Dmitry Stogov
a68e858d69
Fixed bug #60613 (Segmentation fault with $cls->{expr}() syntax)
2011-12-28 09:59:39 +00:00
Popa Adrian Marius
39a973a0c5
added testcase for Bug 47415
2011-12-28 09:53:15 +00:00
Popa Adrian Marius
a1952e19f9
cleanup for bug 48877 test, add description
2011-12-28 09:41:02 +00:00
Popa Adrian Marius
a2e6b0f5a1
remove experimental status for pdo_Firebird , see the general status http://www.firebirdnews.org/?p=6619
2011-12-28 09:31:18 +00:00
Xinchen Hui
113c0a8cc7
Fix #60613 (Segmentation fault with $cls->{expr}() syntax)
...
#now the behavior is like 5.3, a COMPILER_ERROR will be triggered
2011-12-28 06:46:12 +00:00
Daniel Convissor
44851f4146
Resolve the last of the xfails from Bug 55253.
2011-12-28 01:13:12 +00:00
Daniel Convissor
16332c7ba2
Resolve more xfails due to Bug 55253 being fixed.
2011-12-27 19:44:13 +00:00
Daniel Convissor
feabf2cfda
Resolve some xfails due to Bug 55253 being fixed. (merged from 54)
2011-12-27 16:57:36 +00:00
Popa Adrian Marius
d4d8294f31
http://gcov.php.net/viewer.php?version=PHP_5_3&func=tests&file=ext%2Fpdo_firebird%2Ftests%2Fbug_43130.phpt
...
fix failure for bug 43130
2011-12-27 16:49:00 +00:00
Hannes Magnusson
c531e9b5ed
Looks like we need to explicity add libstdc++ on recent linux' too, like fedora 14 and ubuntu 11
...
This fixes build failures for ext/intl and several pecl exts
2011-12-27 13:53:11 +00:00
Popa Adrian Marius
13ed989dd2
PDO_Firebird: bug 48877 test
2011-12-27 10:54:47 +00:00
Xinchen Hui
20e2db2ce3
Fix bug #60611 (Segmentation fault with Cls::{expr}() syntax)
2011-12-27 08:38:18 +00:00
Pierre Joye
c3044c9fcf
- fix bug 60326, fix crash introduce by the fix
2011-12-27 02:39:14 +00:00
Pierre Joye
dfa30f03b6
- Fix bug #60326 , fix TS build (introduced by r321406)
2011-12-26 12:32:05 +00:00
Stanislav Malyshev
bb6855124d
fix bug #60326 - restore ob_gzhandler
2011-12-26 08:29:11 +00:00
Stanislav Malyshev
3805e0a2c4
fix test
2011-12-26 05:08:09 +00:00
Stanislav Malyshev
63e5f97da4
fix bug #60322 (ob_get_clean() now raises an E_NOTICE if no buffers exist)
2011-12-26 05:01:46 +00:00
Stanislav Malyshev
15210d561a
fix test - paths may be expressed in different way
2011-12-26 03:55:29 +00:00
Stanislav Malyshev
3dac688483
test fixes
2011-12-26 03:22:07 +00:00
Stanislav Malyshev
d705b11a1e
fix uninitialized var that may lead to crash
2011-12-26 02:16:37 +00:00
Stanislav Malyshev
d36263b7bb
fix tests
2011-12-26 01:08:47 +00:00
Pierrick Charron
066879fde3
Coding standards
2011-12-23 21:01:05 +00:00
Dmitry Stogov
3f5f5eefe5
Initialize structure (some fields may be missed in array returned from user handler).
2011-12-22 15:33:48 +00:00
Dmitry Stogov
3305f5b133
Change fatal error into warning and ignore arguments over limit
2011-12-22 15:31:41 +00:00
Xinchen Hui
256dfd87ad
test for bug 60591
2011-12-22 08:08:52 +00:00
Xinchen Hui
68147465af
Fix bug #60591 (Memory leak when access a non-exists file)
2011-12-22 07:39:44 +00:00
Stanislav Malyshev
327a5828cd
Fix warning on non-numeric offsets
2011-12-22 03:22:42 +00:00
Gustavo André dos Santos Lopes
d1be77edfb
- Fixed bug #60570 (http wrapper leaks context resource if request fails/is
...
redirected).
2011-12-21 15:44:58 +00:00
Xinchen Hui
8e0358d2b4
Fix tests
2011-12-19 16:57:36 +00:00
Xinchen Hui
c1d5a5d7ef
Fixed bug #60558 (Invalid read and writes)
...
Re-Fixed bug #60536 (Traits Segfault)
#Thanks to tony2001, I found the previous fix -r321089 is actually not a correct one.
#The key problem there is because the traits didn't correct set the property_info.offset
#for private properties. so here come the new fix.
2011-12-19 16:48:18 +00:00
Xinchen Hui
4a0c2b43f5
Revert previous bad fix, introduce memory leak
2011-12-19 12:00:09 +00:00
Xinchen Hui
f3900513ca
Codes standard & Remove useless empty lines
2011-12-19 10:05:48 +00:00
Xinchen Hui
5256e7410e
Fixed bug #60558 (Invalid read and writes)
2011-12-19 09:58:29 +00:00
Scott MacVicar
a020456d0b
Add tests for OpenSSL crash.
2011-12-19 03:09:05 +00:00
Stanislav Malyshev
1f4f33afcf
implement the solution for isset/string offsets, fix bug #60362
2011-12-19 02:05:03 +00:00
Scott MacVicar
61f3d36ac1
Fix segfault in older versions of OpenSSL (before 0.9.8i)
2011-12-18 05:14:32 +00:00
Stefan Marr
525dd55eed
Fixed inconsistent and broken handling of private properties in traits.
...
# The handling of private properties in classes is now consistent with private properties in traits.
# Perviously, privates could cause strict warnings, are were not properly merged into the class when
# the parent class had a private property of the same name. Now, we introduce it without notice,
# since it is a new and independent property, just like in normal classes.
# This problem was diagnosed while working on Bug #60536 .
2011-12-17 14:26:39 +00:00
Xinchen Hui
5da241ca99
fix tests
2011-12-17 04:21:14 +00:00
Xinchen Hui
ac2a2fd196
Reduce memory usage
2011-12-17 03:57:01 +00:00
Xinchen Hui
8b16b7bd4b
Fixed bug #60523 (PHP Errors are not reported in browsers using built-in SAPI)
2011-12-16 19:25:03 +00:00
Xinchen Hui
707f658c33
Fixed bug #60536 (Traits Segfault)
...
# this is a tough one, I think I should explain
# Zend use zend_object->properties_table both as zval ** and zval ***
# if a zend_object->properties is not initialized, the properties_table is zval **
# while in rebuild_object_properties, zend will store the zval ** to zend_object->properties
# then stash the zval ***(ie, zobj->properties_table[0] is zval ** now) to zobj->properties_table[0]
# so when a zend_object inherit form multi parent and these parent have a same property_info->offset
# properties, will result in a repeat zval **->zval ** transform, which will lead to a segmentfault
# *may be* this fix is not the best fix, we should not use this tricky way, and rewrite this mechanism.
2011-12-16 19:02:52 +00:00
Dmitry Stogov
a099e0d2f6
Added max_input_vars directive to prevent attacks based on hash collisions
2011-12-15 10:31:02 +00:00
Andrey Hristov
e385335db2
fix for 5.5.19
2011-12-14 19:29:45 +00:00
Andrey Hristov
d671f26c46
another fix
2011-12-14 19:28:41 +00:00
Andrey Hristov
7512b84a20
fix test
2011-12-14 18:37:49 +00:00
Andrey Hristov
727731cf98
fix test
2011-12-14 18:36:04 +00:00
Andrey Hristov
0d2af0c3ee
fix typo
2011-12-14 17:59:11 +00:00
Pierre Joye
d847b8b7cc
- add announce steps, s,cvs,svn, MFH
2011-12-14 16:32:50 +00:00
Andrey Hristov
8b64eaf6c8
add some PHPAPI
2011-12-14 16:28:13 +00:00
Andrey Hristov
e82bbe91c5
fix test
2011-12-14 16:27:52 +00:00
Dmitry Stogov
4ffedc700d
Added max_input_vars directive to prevent attacks based on hash collisions
2011-12-14 08:56:35 +00:00
Pierrick Charron
4b14c11dcd
Unregister appropriate curl wrappers
2011-12-14 04:02:56 +00:00
Pierrick Charron
e37506bd58
Remove dead code
...
# curl_version_info was introduced in 7.10 and the PHP requirement is 7.10.5
2011-12-14 03:45:44 +00:00
Pierre Joye
b52ed277e3
- tmp dir is system depedent
2011-12-13 23:18:12 +00:00
Pierre Joye
49986dbf87
- skip on win
2011-12-13 23:04:01 +00:00
Pierre Joye
ccbfe64528
- ignore notices here, not what we test (array to string conversion)
2011-12-13 13:46:27 +00:00
Pierre Joye
65ea281189
- use the test itself, making the test passes when ran outside the src tree
2011-12-12 19:09:01 +00:00
Pierre Joye
cb4b1616b7
- copy run-test php
2011-12-12 15:09:52 +00:00
Pierre Joye
f776d2621c
- skip on win
2011-12-12 14:03:24 +00:00
Pierre Joye
4982528a94
- skip on win
2011-12-12 14:02:06 +00:00
Pierre Joye
5df197a5c6
- skip on win
2011-12-12 13:56:42 +00:00
Pierre Joye
4a5ce0c0aa
- skip on win
2011-12-12 13:53:38 +00:00
Pierre Joye
275dc66774
- skip on win
2011-12-12 13:49:21 +00:00
Pierre Joye
c0aca2f440
- skip on win
2011-12-12 13:34:21 +00:00
Pierre Joye
e1d45c6db8
- skip on win
2011-12-12 13:31:43 +00:00
Derick Rethans
1d7ed3f0dc
This test should no longer fail, and is perfectly okay for Linux to test on too.
2011-12-12 12:57:46 +00:00
Gustavo André dos Santos Lopes
faec3c5111
- Fixed bug #60455 : stream_get_line misbehaves if EOF is not detected together
...
with the last read.
2011-12-11 21:08:15 +00:00
Popa Adrian Marius
1754e16335
bug fixed #48877 - bindValue and bindParam do not work for PDO Firebird
2011-12-10 22:08:39 +00:00
Felipe Pena
0c9fb81c50
- Fixed bug #60489 (Simple Typo In php.ini Files)
...
patch by: danbrown at php.net
2011-12-09 22:43:01 +00:00
Xinchen Hui
9751092fbc
add $_SERVER["SERVER_NAME"] since it's handy
2011-12-09 16:16:31 +00:00
Xinchen Hui
a469096235
fix memory leak
2011-12-09 14:05:26 +00:00
Patrick Allaert
2b392c9c10
Added tests contributions on spl_autoload and stream_context_set_option()
...
Thank you Jean-Marc Fontaine and Alter Way
2011-12-09 11:15:12 +00:00
Xinchen Hui
3f60731a09
Fixed bug #60477 (Segfault after two multipart/form-data POST requests)
2011-12-09 05:37:41 +00:00
Christopher Jones
20f0acae85
Fix skipif
2011-12-08 20:43:23 +00:00
Pierrick Charron
64963d6e19
Fix curl_copy_handle_basic_008.phpt when display_errors is On
...
(Thanks Chris Jones)
2011-12-08 18:57:01 +00:00
Hannes Magnusson
6b7d4bd322
Uhh.. Can't believe noone noticed the gc option was missing from our ini files
2011-12-08 14:57:02 +00:00
Scott MacVicar
b69cfde570
Make sure that we set the strong crypto result to false as well as returning false.
2011-12-07 20:50:33 +00:00
Derick Rethans
96f55bb628
Test cosmetics.
2011-12-07 19:42:44 +00:00
Derick Rethans
268335a21a
Sorting out the tests *once* more.
...
Please keep them consistent and only change them if you are 110% certain what
you're doing. Otherwise -> please ask.
2011-12-07 19:24:58 +00:00
Pierrick Charron
ebd3143cd3
Fix test
2011-12-07 16:46:48 +00:00
Pierrick Charron
25081046d7
Add new test for CURLOPT_POSTFIELDS
2011-12-07 16:32:50 +00:00
Pierre Joye
d35096c175
- tests require 64bit integer
2011-12-07 10:38:35 +00:00
Xinchen Hui
b5766cdcac
Implemented FR #54514 (Get php binary path during script execution).
2011-12-07 10:33:13 +00:00
Xinchen Hui
0420858004
Merge -r317306 to trunk
2011-12-07 10:28:56 +00:00
Pierre Joye
8b8dcede6c
- print_r seems to display 0 or nothing for days, let make that test works in both cases, that's not the purpose of this test to test print_r
2011-12-07 09:03:07 +00:00
Pierre Joye
ef763c0184
- fix warning and fix buggy behavior of timelib_diff due to bad assumption of floor signature (fixes almost date_diff tests too)
2011-12-07 08:39:43 +00:00
Pierre Joye
2ac602bff1
- rename to correct bug #
2011-12-07 08:37:48 +00:00
Pierre Joye
2425fdbbae
- set TZ
2011-12-07 08:33:41 +00:00
Pierre Joye
9e567e295b
- fix the fix, wrong endif pos
2011-12-06 16:09:06 +00:00
Pierre Joye
984344214f
- fix build, CURLOPT_FNMATCH_DATA exists since 7.21.0 only
2011-12-06 15:57:43 +00:00
Pierre Joye
05781c747b
- fix build, CURLOPT_FNMATCH_DATA exists since 7.21.0 only
2011-12-06 15:35:07 +00:00
Pierre Joye
c5184dcb5e
- force LF
2011-12-06 13:42:08 +00:00
Pierre Joye
8d73eb77ed
- add windows version of this test
2011-12-06 13:34:45 +00:00
Pierre Joye
f9872f2cf2
- force LF
2011-12-06 13:16:40 +00:00
Pierre Joye
55bf73ffba
- force LF
2011-12-06 13:07:08 +00:00
Pierre Joye
d2f0340f11
- force LF as EOL as the code expects it.
...
however it sounds like a bug in the implementation
phar.c:720
if (4 != php_stream_read(fp, buffer, 4)) {
MAPPHAR_ALLOC_FAIL("internal corruption of phar \"%s\" (truncated manifest at manifest length)")
}
that code will fail if non LF eol are used. Or does phar supports only LF?
2011-12-06 13:06:22 +00:00
Xinchen Hui
5c8df5e0f8
Use zbacktrace_ex instead of zbacktrace(actullay is dump_bt)
...
Use %p instead of "0x08x" (IMO this is used for print pointer, which, unfortunately, don't work under x64)
If there is any wrong, plz revert this, thanks
2011-12-06 12:32:59 +00:00
Xinchen Hui
f161d724d3
Add zbacktrace_ex to .gdbinit which will print extra argument info than zbacktrace
...
Implement FR #60448
2011-12-06 09:56:01 +00:00
Pierrick Charron
489b86ff56
Coding standard
2011-12-06 06:44:22 +00:00
Derick Rethans
4c9fad8b36
- Fixed bug #53502 (strtotime with timezone memory leak).
...
- Fixed bug #52062 (large timestamps with DateTime::getTimestamp and
DateTime::setTimestamp).
- Fixed bug #51994 (date_parse_from_format is parsing invalid date using 'yz'
format).
- Fixed bug #51223 (Seg fault while creating (by unserialization)
DatePeriod).
2011-12-06 06:21:08 +00:00
Derick Rethans
48f3cb3e2e
- Added a test case for #53437 .
2011-12-06 06:07:41 +00:00
Derick Rethans
b2b7d5b943
- Fixed bug #52062 : large timestamps with DateTime::getTimestamp and DateTime::setTimestamp.
2011-12-06 06:04:24 +00:00
Derick Rethans
ff334d84c5
- Cosmetics for test case for #48678 .
2011-12-06 06:00:45 +00:00
Derick Rethans
3395521915
- Fixed test case for #54851 .
...
- Make test case for #32555 the same for all branches.
2011-12-06 05:59:24 +00:00
Derick Rethans
33714e6d82
This changes adds the --EXTENSION-- section to .phpt files as
...
described in http://marc.info/?t=132248616300007&r=1&w=2 .
2011-12-06 05:44:54 +00:00
Pierrick Charron
e038f2fe5d
We should free the memory of any curl_slist returned by curl_easy_getinfo
2011-12-05 22:23:19 +00:00
Xinchen Hui
b92996bea6
remove irrelevant codes in test
2011-12-05 12:46:38 +00:00
Xinchen Hui
f30db67f58
Add xfaild test for a secluded issue
2011-12-05 12:44:12 +00:00
Xinchen Hui
5927617335
Fix typo
2011-12-05 12:33:56 +00:00
Dmitry Stogov
30328dcbab
Fixed bug #60444 (Segmentation fault with include & class extending)
2011-12-05 09:20:12 +00:00
Pierrick Charron
73edbe5a22
Added myself as curl maintainer
2011-12-04 16:46:45 +00:00
Ilia Alshanetsky
932f8d4cbd
Fixed Bug #55478 (FILTER_VALIDATE_EMAIL fails with internationalized
...
domain name addresses containing >1 -).
2011-12-04 14:52:40 +00:00
Hannes Magnusson
c884d3782c
Fix test.. the errormessage is irrelevant, we are testing if we segfault and corrupt return value
2011-12-04 12:34:19 +00:00
Pierrick Charron
d84e1b50c6
Fix segfault when using curl_copy_handle with CURLOPT_PROGRESSFUNCTION
2011-12-04 01:16:17 +00:00
Pierrick Charron
8253bdbb41
add CURLOPT_WILDCARDMATCH and CURLOPT_FNMATCH_FUNCTION
2011-12-04 00:19:12 +00:00
Pierrick Charron
1efb3e94a7
Add the curl handle to the progress callback function
2011-12-03 23:53:27 +00:00
Pierrick Charron
75b11d80fa
The progress handle don't need to be allocated unless
...
curl_setopt with CURLOPT_PROGRESSFUNCTION is called
2011-12-03 23:43:44 +00:00
Pierrick Charron
799e4983eb
useless variable
2011-12-03 23:21:43 +00:00
Pierrick Charron
e4afb60725
Update curl MINFO
2011-12-03 21:24:19 +00:00
Pierrick Charron
56ba384c9d
Test curl_getinfo() function with CURLINFO_EFFECTIVE_URL parameter
2011-12-03 20:19:53 +00:00
Pierrick Charron
3e7310ece2
Clean curl_getinfo and add new constants from newer libcurl versions
2011-12-03 20:16:32 +00:00
Pierrick Charron
ef1af432c3
Fix test for libcurl < 7.12.1
2011-12-03 20:14:06 +00:00
Dmitry Stogov
0d4930577a
Expose zend_signal_handler_unblock() to DSO extensions to allow usage of HANDLE_UNBLOCK_INTERRUPTIONS macro
2011-12-02 12:14:16 +00:00
Michael Wallner
955cc549a0
Fixed bug #60240 (invalid read/writes when unserializing specially crafted strings)
2011-12-02 11:50:22 +00:00
Pierrick Charron
82fab7b04d
Cleans up test file
2011-12-02 04:16:46 +00:00
Pierrick Charron
e69f987948
Clean / Improve the curl extension
...
# NEWS file will come soon
2011-12-01 21:48:07 +00:00
Felipe Pena
2b25c9377e
- Escape [ ] chars in the configure message
...
Patch by: Daniel Convissor
2011-12-01 16:40:07 +00:00
Felipe Pena
609bce4d04
- Replace possible esc char to <esc> in the XML output
2011-12-01 15:47:58 +00:00
Felipe Pena
bffd89487d
- Fixed tests
2011-12-01 15:38:17 +00:00
Felipe Pena
b69251c9f6
- Fixed tests
2011-12-01 14:14:30 +00:00
Dmitry Stogov
dc18f8427c
Fixed icorrect key length after updating constant index
2011-12-01 13:58:29 +00:00
Felipe Pena
d2de045007
- Added tests for bug #60350
...
patch by: php@mickweiss.com
2011-11-30 21:04:07 +00:00
Felipe Pena
3970865954
- Fixed bug #60350 (No string escape code for ESC (ascii 27), normally \e)
...
patch by: php at mickweiss dot com
2011-11-30 19:42:59 +00:00
Andrey Hristov
b9bb138017
Don't write more data than the protocol can grok or the server will
...
be confused. This comes without a test because the server needs to be
a non-community one with closed source PAM plugin loaded.
2011-11-30 17:20:25 +00:00
Christopher Jones
d9e955c6b2
Miscellaneous: move misplaced entry; fix typos; note more precise OCI8 DLL dependency; remove session.entropy_file setting which was only in PHP_5_3 php.ini-development
2011-11-29 22:33:55 +00:00
Dmitry Stogov
a2ac3a6f26
Fixed bug #54911 (Access to a undefined member in inherit SoapClient may cause Segmentation Fault)
2011-11-28 14:20:35 +00:00
Dmitry Stogov
9d343d7694
Added implicit type casting to allow reusage of macros in C++ extensions (Yoram)
2011-11-28 13:01:28 +00:00
Felipe Pena
f923ca16c3
- Added JUnit output format option
...
patch by: Ferenc Kovacs (tyrael at php.net)
2011-11-26 20:18:03 +00:00
Ferenc Kovacs
745409b7f4
adding some tests for string offsets
2011-11-26 18:41:45 +00:00
Felipe Pena
adf6003bdd
- Fixed bug #55788 (test redirects should abide SHOW_ONLY_GROUPS in run-tests.php)
...
patch by: tyrael at php.net
2011-11-26 17:56:43 +00:00
Gustavo André dos Santos Lopes
001efd80b2
- Small ajustments to some multicast options.
2011-11-26 17:48:52 +00:00
Felipe Pena
1c0eaee6fd
- Fix test
2011-11-26 17:35:19 +00:00
Felipe Pena
bfe5c51c27
- Clean up
2011-11-26 17:30:03 +00:00
Derick Rethans
547e240906
- Fixed bug #54851 (DateTime::createFromFormat() doesn't interpret "D").
2011-11-26 16:44:21 +00:00
Gustavo André dos Santos Lopes
9985d99358
- Fixed bug #60392 (U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR undeclared)
...
(fedora at famillecollet dot com)
2011-11-26 14:55:31 +00:00
Pierre Joye
31eaf9043d
- implement FR #60390 , SERVER_PORT missing
2011-11-25 21:18:40 +00:00
Derick Rethans
81058b5e79
- Fixed bug #54596 (incorrect years for DateTime objects created with 4-digit
...
years).
2011-11-25 15:51:37 +00:00
Derick Rethans
adb3000807
- Force setting for tests.
2011-11-25 15:47:11 +00:00
Derick Rethans
9e6bf9f3f4
- Fixed bug #60373 (Startup errors with log_errors on cause segfault).
2011-11-25 14:06:55 +00:00
Dmitry Stogov
548820bfa4
Fixed bug #60167 (Crash / memory corruption in ext/com_dotnet) (Timm Friebe).
2011-11-25 11:29:28 +00:00
Yasuo Ohgaki
5c793c5483
add pgsql new functions
2011-11-25 02:24:37 +00:00
Yasuo Ohgaki
77d11b4959
add pg_escape_identifier/pg_escape_literal
2011-11-25 02:21:01 +00:00
Gustavo André dos Santos Lopes
5b383dacdf
- Updated UPGRADING, protos and attribution in ext/intl/idn/idn.c
2011-11-24 22:45:50 +00:00
Gustavo André dos Santos Lopes
fa4fe63944
- Support for UTS #46 .
2011-11-24 17:54:50 +00:00
Derick Rethans
d0a898d2a2
- Fixed bug #60236 (TLA timezone dates are not converted properly from
...
timestamp).
- Fixed bug #55253 (DateTime::add() and sub() result -1 hour on objects with
time zone type 2).
And fixed some test cases.
2011-11-24 17:13:47 +00:00
Pierre Joye
22f80eadf7
- add crt warning ini
2011-11-24 12:51:28 +00:00
Pierrick Charron
70136445cb
Revert commit r319729 until I have a clean version for non-ZTS
2011-11-24 12:49:11 +00:00
Pierre Joye
89193ecf61
- merge crt warning change (r216594) and rename the ini to windows.show_crt_warning
2011-11-24 12:46:45 +00:00
Xinchen Hui
e013725516
Fixed bug #60367 (Reflection and Late Static Binding)
2011-11-24 09:16:11 +00:00
Pierrick Charron
da2797108f
Implemented FR #55540 , added functions curl_share_init(), curl_share_setopt() and curl_share_close().
2011-11-23 22:20:28 +00:00
Stefan Marr
35d38e4772
Fixed Bug #60369 Crash with static property in trait
2011-11-23 21:24:34 +00:00
Pierrick Charron
517e28309d
Fix build for libcurl < 7.20.0
2011-11-23 19:36:52 +00:00
Ulf Wendel
77025b71e1
Fix test
2011-11-23 16:47:22 +00:00
Ulf Wendel
785b68a109
Message can vary depending on server version
2011-11-23 16:38:50 +00:00
Dmitry Stogov
b3522ffdcb
Fixed bug #48216 (PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc, when server uses chunked transfer encoding with spaces after chunk size)
2011-11-23 10:49:42 +00:00
Pierrick Charron
bafdf84528
Fixed bug #54995
2011-11-23 05:45:27 +00:00
Felipe Pena
9a98ccff5e
- Fixed memory leak when calling the Finfo constructor twice
2011-11-23 01:20:49 +00:00
Felipe Pena
d0839fc837
- Fix build (using libcurl 7.21.0)
2011-11-22 21:10:24 +00:00
Felipe Pena
16fbcf7188
- Fix the fix (thanks Chris Jones!)
2011-11-22 19:18:34 +00:00
Pierrick Charron
fe1bf12552
Fix test to remove dependancy over php.net
2011-11-22 18:50:57 +00:00
Pierrick Charron
fff23f12bd
Add new cURL CURLOPT_* options
2011-11-22 17:33:48 +00:00
Pierrick Charron
33d3eb1e43
Fixed bug #55635
2011-11-22 17:13:26 +00:00
Ulf Wendel
aeaa4b3da6
Skipping with libmysql. If a documentation points to more or less unmaintained wiki contents, I take it as a request to stop testing a feature. Can't tell if I get false positive, hit a bug or not. This is not libmysql testing. Its PHP MySQL API testing.
2011-11-22 16:52:42 +00:00
Andrey Hristov
0e31a00117
use the method in all builds. Thus it can be used for detection
...
of state transitioning in every case
2011-11-22 16:38:06 +00:00
Felipe Pena
b370f94866
- Fix the fix
2011-11-22 15:12:44 +00:00
Felipe Pena
718374ac2a
- Fixed possible memory leak in finfo_open()
2011-11-22 15:04:19 +00:00
Felipe Pena
97d7f9e112
- Fixed invalid free in call_user_method() function
2011-11-22 12:47:08 +00:00
Felipe Pena
f6fb9fc2b2
- Fixed memory leak in several Intl locale functions
2011-11-22 12:29:15 +00:00
Xinchen Hui
6f5ca6f280
Fixed bug #60357 (__toString() method triggers E_NOTICE "Array to string conversion")
2011-11-22 10:11:06 +00:00
Pierrick Charron
d47dffc1b8
Fix this test to work with all version (even old) of libcurl
2011-11-22 08:29:26 +00:00
Pierrick Charron
18e4f02921
Fix memory leak when using libcurl < 7.17.0
2011-11-22 05:19:37 +00:00
Antony Dovgal
a093491652
export zend_on_timeout handler from ZE
2011-11-22 03:39:12 +00:00
Felipe Pena
18768584e2
- Fixed possible crash in mb_ereg_search_init() using empty pattern
2011-11-21 19:15:18 +00:00
Xinchen Hui
3781026cb8
Comparison between pointer and integer
2011-11-21 06:07:43 +00:00
Xinchen Hui
b0cf58633c
C++ style comment
2011-11-21 05:57:45 +00:00
Pierrick Charron
42ebac1d01
Fix memory leak
2011-11-21 02:44:28 +00:00
Pierrick Charron
7410d0b55d
Fix memory leak
2011-11-21 02:29:24 +00:00
Pierrick Charron
9ee79f65ec
Fix test to use PHP_CURL_HTTP_REMOTE_SERVER
2011-11-21 02:10:57 +00:00
Stanislav Malyshev
aeae94a6af
fix is_a reflection
2011-11-20 22:20:03 +00:00
Pierre Joye
a495e3759c
- restore correct window_size
2011-11-20 10:10:43 +00:00
Pierre Joye
76e3964c1c
- fix build, ansi c requires constant value, no expresion, even constant var
2011-11-19 23:09:12 +00:00
Felipe Pena
276518ff17
- Fixed bug #60339 (valgrind reports LEAK --with-mm)
...
patch by: yohgaki at ohgaki dot net
2011-11-19 18:50:49 +00:00
Felipe Pena
2bd90344a6
- Fix tests
2011-11-19 18:01:26 +00:00
Felipe Pena
14b5e775b0
- Fixed bug #43200 (Interface implementation / inheritence not possible in abstract classes)
2011-11-19 13:36:03 +00:00
Mateusz Kocielski
63b8ff7619
- Fixed bug #60337 bcscale related crashed on 64bits platforms
2011-11-19 12:46:43 +00:00
Felipe Pena
22028c78f8
- Removed C++ comment style
2011-11-19 12:16:47 +00:00
Stanislav Malyshev
9fe3a605c6
fix bug #60164 (Stubs of a specific length break phar_open_from_fp scanning for __HALT_COMPILER)
2011-11-19 04:59:56 +00:00
Stanislav Malyshev
c7d6fafdf9
fix test number
2011-11-19 04:49:59 +00:00
Stanislav Malyshev
c9b7ddf9fb
Fix bug #60150 (Integer overflow during the parsing of invalid exif header)
2011-11-19 04:41:03 +00:00
Christopher Jones
1a7669f1b8
r319456 also fixed the OCI8 part of #55301 (multiple null pointer)
2011-11-18 18:14:15 +00:00
Felipe Pena
420fbb8274
- CS
2011-11-18 13:56:41 +00:00
Stefan Marr
e150100f36
Fixes Bug #54441 (Handling of changing modifiers on a trait alias)
...
# this now results also in a compilation error, since it would open the door for inconsistencies, and violates the DRY principle.
2011-11-18 13:49:07 +00:00
Pierrick Charron
8de50cc1aa
Added new SoapClient option "keep_alive". FR #60329
2011-11-18 13:24:35 +00:00
Dmitry Stogov
c24716dfa4
Fixed bug #60138 (GC crash with referenced array in RecursiveArrayIterator)
2011-11-18 12:43:53 +00:00
Christopher Jones
984c34aa0b
Sync to 5.3 and check additional cases for #55748
2011-11-18 09:59:35 +00:00
Stanislav Malyshev
3735b0ade3
fix typo
2011-11-18 09:15:15 +00:00
Xinchen Hui
601407aa25
Fixed bug #60306 (Characters lost while converting from cp936 to utf8)
2011-11-18 08:50:29 +00:00
Stanislav Malyshev
9a69efb9fc
fixes for bug #55748
2011-11-18 07:11:19 +00:00
Pierrick Charron
89104021b7
Remove unused variables in libmbfl
2011-11-18 06:27:27 +00:00
Pierrick Charron
5020d4a5cf
Don't load php.ini file to test the built-in web server
2011-11-18 06:15:25 +00:00
Antony Dovgal
3b40dabc8c
fix bug #60082 (Crash in ArrayObject() when using recursive references)
...
--Tis line, and those below, will be ignored--
M trunk/ext/spl/spl_array.c
M branches/PHP_5_4/ext/spl/spl_array.c
M branches/PHP_5_3/ext/spl/spl_array.c
M branches/PHP_5_3/NEWS
2011-11-18 05:22:35 +00:00
Pierrick Charron
52ca90428d
Fixed bug #60321 (ob_get_status(true) no longer returns an array when buffer is empty).
2011-11-18 00:16:58 +00:00
Felipe Pena
2ba9ff7fac
- Fix build
2011-11-17 21:07:52 +00:00
Stefan Marr
5ef2c32822
Fixed Bug #60165 (Aliasing unexisting trait should throw/trigger the 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.
2011-11-17 21:04:15 +00:00
Xinchen Hui
319e1eea13
revert my previous change, tests hangs on windows
2011-11-17 02:32:21 +00:00
Xinchen Hui
33078757e2
improve the test, let it say about errors
2011-11-17 02:22:06 +00:00
Felipe Pena
caa863dc42
- Fixed bug #60099 (__halt_compiler() works in braced namespaces)
2011-11-16 17:41:40 +00:00
Felipe Pena
595ac67a52
- Fixed bug #60267 (Compile failure with freetds 0.91)
2011-11-16 12:13:22 +00:00
Jérôme Loyet
8046729671
- Added .phar to default authorized extensions
2011-11-16 00:21:38 +00:00
Jérôme Loyet
62aaa5ac24
- remove experimental flag on fpm
2011-11-15 22:40:10 +00:00
Jérôme Loyet
1546456cdd
- FR #60199 (enhance FPM error log when the primary script can't be open)
2011-11-15 22:29:59 +00:00
Felipe Pena
3d19038838
- Fixed bug #55874 (GCC does not provide __sync_fetch_and_add on some archs)
...
patch by: klightspeed at netspace dot net dot au
2011-11-15 20:33:26 +00:00
Ilia Alshanetsky
32c4c239c0
Fixed bug #60244 (pg_fetch_* functions do not validate that row param is >0).
2011-11-15 18:02:58 +00:00
Felipe Pena
1f81004be2
- Fixed bug #52624 (tempnam() by-pass open_basedir with inexistent directory)
2011-11-15 16:59:59 +00:00
Felipe Pena
9a7a1fdabb
- Fixed bug #54682 (Tidy::diagnose() NULL pointer dereference)
2011-11-15 15:16:20 +00:00
David Soria Parra
020e7e1b72
Forgot the bug specific test.
2011-11-15 13:36:45 +00:00
David Soria Parra
fd2e3d6d8e
Fixed bug #55371 (get_magic_quotes_gpc() throws deprecation warning.)
...
Patch by David Zuelke <david dot zuelke at bitextender dot com>
2011-11-15 13:22:52 +00:00
Felipe Pena
0fbb9ee359
- We can constify in 5.4+
2011-11-15 12:34:59 +00:00
Xinchen Hui
f8503b4332
Fixed bug #60159 (Router returns false, but POST is not passed to requested
...
resource) and bug #55759 (mem leak when use built-in server)
2011-11-15 03:15:19 +00:00
Johannes Schlüter
03a0f9deb4
- Add missing include.
2011-11-14 17:56:33 +00:00
Florian Anderiasch
2e02282d89
Fixed a typo in README.SVN-RULES.
2011-11-14 15:39:35 +00:00
Dmitry Stogov
52deaeb8c0
Fixed bug #44686 (SOAP-ERROR: Parsing WSDL with references)
2011-11-14 08:43:00 +00:00
Gustavo André dos Santos Lopes
a56c0bd0d8
- Fixed tests in ext/standard/tests/http by adding the INI setting value
...
allow_url_fopen=1
- Converted test file from dos line endings to unix line endings.
2011-11-14 01:12:23 +00:00
Xinchen Hui
b6fd6cd649
add skipif
2011-11-13 14:31:30 +00:00
Xinchen Hui
efd3e69511
Fixed bug #60282 (Segfault when using ob_gzhandler() with open buffers)
2011-11-13 04:11:57 +00:00
Rasmus Lerdorf
bd7e9cfca1
Fix test
2011-11-12 19:12:39 +00:00
Rasmus Lerdorf
ffb1c4d8ef
Fix typo and don't use 'a' as an invalid filename since it is the default
...
gcc binary filename and is thus not unlikely to be left lying around in the
build dir which cause these tests to fail
2011-11-12 18:46:04 +00:00
David Soria Parra
ce06b4397c
Fix #60218 (instantiating unknown class leads to memory leak in cli)
2011-11-12 17:05:08 +00:00
Felipe Pena
28d1bc37e2
- Fixed bug #60261 (phar dos null pointer)
2011-11-11 21:39:11 +00:00
Pierre Joye
2a600a3b75
- fix bug #60272 , typo
2011-11-11 18:50:52 +00:00
Rui Hirokawa
50b2e02c04
revert changes to fix bug #60116 .
2011-11-11 14:58:32 +00:00
Arpad Ray
8b6a2d257a
Fix hash key length in register/remove_user_shutdown_function
2011-11-11 14:42:18 +00:00
Peter Cowburn
1c0765195e
broaden php version wildcard in cli server tests (missed a few)
2011-11-11 11:33:23 +00:00
Peter Cowburn
2a41f272e4
broaden php version wildcard in cli server tests
2011-11-11 11:26:51 +00:00
Christopher Jones
a1cf0c426a
OCI8: Fixed bug #59985 (show normal warning text for OCI_NO_DATA). Sync NEWS.
2011-11-10 22:47:00 +00:00
David Soria Parra
487489a38b
It is not longer required to update php_version.php in php-bugs/
...
The bugtracker fetches the version list from the qa site, updating
php_version.php is not required anymore.
2011-11-10 21:42:04 +00:00
Mateusz Kocielski
aaa59efafc
Fixed NULL pointer dereference in stream_socket_enable_crypto, case when
...
ssl_handle of session_stream is not initialized.
2011-11-10 10:33:07 +00:00
Felipe Pena
9da6f6a374
- Make valgrind happy with session_decode_error2.phpt
2011-11-09 23:50:01 +00:00
Felipe Pena
6fac17f9d0
- Initialize BG(serialize_lock) to make valgrind happy
2011-11-09 22:16:31 +00:00
Christopher Jones
d8bc406918
Add tests for unsupported types
2011-11-09 06:19:07 +00:00
Stanislav Malyshev
10f20585fc
fix bug #55475 - implement is_a BC solution
2011-11-09 05:27:45 +00:00
Antony Dovgal
22b39bcc75
bail out if reading HTTP headers failed
2011-11-08 13:30:58 +00:00
Dmitry Stogov
e86830273b
Fixed bug #60104 (Segmentation Fault in pdo_sqlite when using sqliteCreateFunction())
2011-11-08 10:11:25 +00:00
Xinchen Hui
326c58df66
Fix tests
2011-11-08 06:35:07 +00:00
Stanislav Malyshev
0d591e599f
Fixed bug #54084 (token_get_all with regards to __halt_compiler is not binary safe)
2011-11-08 04:59:17 +00:00
Christopher Jones
52457e518b
Improve OCI8 NLS env creation error messages ( #58925 )
2011-11-07 20:10:41 +00:00
Felipe Pena
eebaaf423f
- Added class member access on instantiation (e.g. (new foo)->bar()) support
2011-11-06 13:25:45 +00:00
Rui Hirokawa
d73b1a275d
fixed bug #60227 : header() cannot detect the multi-line header with CR.
2011-11-06 11:07:14 +00:00
Ferenc Kovacs
80d1553746
the mandatory __construct() for SPL classes was reverted in r318566
2011-11-05 16:49:56 +00:00
Rui Hirokawa
6dabd7de04
added japanese encoding to maintain compatibility with PHP 5.3.
2011-11-05 04:43:35 +00:00
Stefan Marr
b632cd196e
Fixed inconsistent whitespace.
...
# Belongs to svn rev. 318793.
2011-11-05 02:05:28 +00:00
Stefan Marr
12cf1b7978
Fixed Bug #60217 (Requiring the same method from different traits)
...
- also added test to check for inconsistent abstract method definitions, they need to be compatible
2011-11-05 01:46:40 +00:00
Christopher Jones
d3d44d8fc1
Bump OCI8 version to 1.4.7 stable in preparation for PHP 5.3.9
2011-11-03 22:13:34 +00:00
Christopher Jones
cfc4abe47c
Replace custom "stress_test" setting with generic SKIP_SLOW_TESTS
2011-11-03 21:52:59 +00:00
Ulf Wendel
25235313a0
Improving test to reflect latest API changes
2011-11-03 17:39:39 +00:00
Florian Anderiasch
6587e243ec
Redid the fix for #60192 with suggestions by Pierre and Kalle
2011-11-03 16:20:11 +00:00
Jérôme Loyet
b4ccb69736
- Fixed bug #60179 (php_flag and php_value does not work properly)
2011-11-03 15:47:19 +00:00
Antony Dovgal
fadba4d1c4
use jmp_addr only when it's initialized
2011-11-03 08:39:12 +00:00
Xinchen Hui
d7d0d0724c
Fixed bug #60206 (possible integer overflow in content_length)
2011-11-03 07:26:09 +00:00
Xinchen Hui
64978cb2d9
xfail, not fix yet
2011-11-03 05:16:47 +00:00
Xinchen Hui
a9dbbf6dea
Fix bug #60169 Conjunction of ternary and list crashes PHP
2011-11-03 03:59:41 +00:00
Ferenc Kovacs
c60a2a711a
adding memory check for FreeBSD also, TODO: refactor the free memory check into a function in an include file
2011-11-02 21:27:03 +00:00
Antony Dovgal
6acbe5155e
fix folding, ws and cs
2011-11-02 21:12:13 +00:00
Antony Dovgal
bff7cbc87c
initialize variable and fix segfaulting tests
2011-11-02 21:05:36 +00:00
Andrey Hristov
a330739594
Add a middleman which can intercept the calls and can reroute them
2011-11-02 17:06:30 +00:00
Arpad Ray
fc5bebfd0c
fix calling user close func when it isn't open
2011-11-02 16:53:22 +00:00
Johannes Schlüter
026445a0aa
- Fix bug #60155 (pdo_mysql.default_socket ignored).
2011-11-02 15:45:53 +00:00
Andrey Hristov
29f88a003f
- shift a bit of code around
...
- when cloning use the methods of the original object
2011-11-02 15:08:01 +00:00
Rui Hirokawa
9e7cc71167
fixed alias and encoding mapping for emoji logo.
2011-11-02 14:51:39 +00:00
Andrey Hristov
4f7dc4d283
fix trace log messages
2011-11-02 14:20:35 +00:00
Peter Cowburn
ac8ece2718
add 3rd parameter to arg info for splfileobject fgetcsv/setcsvcontrol (bug #60201 )
2011-11-02 13:24:46 +00:00
Derick Rethans
c6fbe8e69d
- Updated to version 2011.14 (2011n)
2011-11-02 10:58:51 +00:00
Dmitry Stogov
fbdd2f3e5e
Prevent possible integer overflow
2011-11-02 08:07:12 +00:00
Florian Anderiasch
c2874a8077
Fix #60192 SegFault when Collator not constructed properly
2011-11-02 07:36:52 +00:00
Dmitry Stogov
b64e91ddeb
Fixed bug #60139 (Anonymous functions create cycles not detected by the GC)
2011-11-02 06:31:33 +00:00
Christopher Jones
0bf1d9eac7
Update for new Oracle patchset variation
2011-11-01 21:30:57 +00:00
Ferenc Kovacs
236bf63b8b
allocating more than 2GB memory is slow.
2011-11-01 21:27:57 +00:00
Stefan Marr
7cd55955d1
Fixed Bug #60153 (Interface method prototypes not enforced when implementd 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.
2011-11-01 15:25:24 +00:00
Rasmus Lerdorf
d1d9d56a96
Fix bug 60183
2011-11-01 15:15:51 +00:00
Stefan Marr
ce0ddd5a34
Added missing consistency check for abstract methods required by one trait and implemented by another.
2011-11-01 13:42:53 +00:00
Xinchen Hui
bba44800ae
Fixed bug #60189 (php logo can not be displayed)
2011-11-01 13:06:41 +00:00
Xinchen Hui
c0402915e7
Fixed Bug #60180 ($_SERVER["PHP_SELF"] incorrect)
2011-11-01 12:24:02 +00:00
Florian Anderiasch
be930868aa
Fixed #60160 and added a test for it
2011-11-01 11:51:53 +00:00
Stefan Marr
3b74bba724
Fixed Bug #60145 (Usage of trait's use statement inside interfaces not properly checked.)
2011-11-01 00:39:10 +00:00
Stefan Marr
ada5cda0ec
Fixed Bug #60173 (Wrong error message on reflective trait instantiation)
2011-10-31 22:59:00 +00:00
Christopher Jones
0c6861ac5e
OCI8: improve initialization error message (See bug 60154)
2011-10-31 20:48:25 +00:00
Andrey Hristov
ba1f65faa1
Now really split the method tables and have different
...
methods for the handle and the data object.
Add auxiliary functions to work with the new methods.
Add possibility to clone a connection object - shadow copy.
2011-10-31 14:33:56 +00:00
Andrey Hristov
6a9feb730f
Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA.
...
A step in the direction of keeping internal data private
2011-10-31 11:46:24 +00:00
Xinchen Hui
55656b2cda
Update tests
2011-10-31 06:52:45 +00:00
Xinchen Hui
3b99aa995d
Test for #60174 (Notice when array in method prototype error)
2011-10-31 06:04:43 +00:00
Xinchen Hui
725af4c2dd
Fixed bug #60174 (Notice when array in method prototype error)
...
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
2011-10-31 03:47:11 +00:00
Rui Hirokawa
ff72c73ce9
fixed alias of encoding.
2011-10-30 08:40:22 +00:00
Xinchen Hui
01ebd32c05
tests for 60169
2011-10-30 06:28:24 +00:00
Rui Hirokawa
71ee976a2d
added a test script for bug60116 and fixed behabior of ESCAPE_CMD_END.
2011-10-30 05:57:26 +00:00
Gustavo André dos Santos Lopes
41abc6d017
- Reverted changes that required constructor overrides to invoke the parent
...
constructor in several SPL classes and applied 5.3 fixes instead.
Related bugs: #54384 , #55175 and #55300
2011-10-29 23:17:18 +00:00
Xinchen Hui
62270fef73
Fixed bug #60146 (Last 2 lines of page not being output)
2011-10-29 02:14:04 +00:00
Patrick Allaert
226cba9fca
Added test for #60104
2011-10-26 09:32:37 +00:00
Andrey Hristov
cae81edb0c
Bump internal version id after recent changes
2011-10-26 09:00:32 +00:00
Andrey Hristov
845d8fa10c
Move from directly referencing an aggregated structure to using a
...
pointer to a structure. The structure is still aggregated but we add
a level of indirection for possible plugins to overwrite the storage
2011-10-25 23:01:49 +00:00
Christopher Jones
5e8bcbb08a
oci8 - Increase Oracle error message length for 11.2.0.3+
2011-10-25 22:01:42 +00:00
Andrey Hristov
13bc754db7
Add hooks for __call like functionality and also allow to
...
handle calls that spread over two internal functions. Let's call it
a local TX.
2011-10-25 19:04:36 +00:00
Xinchen Hui
cf6295ce56
force LF, fix test faild on windows
2011-10-25 11:04:57 +00:00
Xinchen Hui
14b2cc32fc
Fix test faild on windows due to DEFAULT_SLASH
2011-10-25 10:56:11 +00:00
Xinchen Hui
688ba01bc4
Fix test, now can run on windows
2011-10-25 10:54:39 +00:00
Derick Rethans
6671223afa
- Updated to version 2011.13 (2011m)
2011-10-24 15:19:08 +00:00
Andrey Hristov
4cda1b4086
remove duplicate, happened after double patching
2011-10-24 12:54:04 +00:00
Pierre Joye
8bd6b9d87a
- fixed bug #60120 , proc_open's streams may hang with stdin/out/err when the data exceeds or is equal to 2048 bytes
2011-10-24 12:39:55 +00:00
Andrey Hristov
374018803a
move plugin specific stuff to one file. create object factory
...
for similar objects
2011-10-24 12:34:44 +00:00
Pierre Joye
87ce6fe18d
- win9x is not supported anymore since 5.3
2011-10-24 10:53:17 +00:00
Xinchen Hui
c0c0c7c753
A better fix, sorry for previous thoughtlessness commit.
2011-10-24 03:47:42 +00:00
Xinchen Hui
f216bce2ff
Fixed PATH_INFO of /index.php/foo/bar
2011-10-24 03:28:59 +00:00
Ferenc Kovacs
145437e016
using %s-dev instead of the exact version number
2011-10-23 20:38:53 +00:00
Xinchen Hui
455bc9df4c
add tests for PATH_INFO
...
update php_cli_server.inc to support no router server
2011-10-23 13:57:25 +00:00
Rui Hirokawa
f17a215493
fixed bug #60116 escapeshellcmd() cannot escape the dangerous quotes.
2011-10-23 13:49:54 +00:00
Rui Hirokawa
71a94c2225
removed invalid two byte sequenct for utf-8.
2011-10-23 11:54:06 +00:00
Ferenc Kovacs
11de3aeedb
adding SKIP_SLOW_TESTS checks for the slow tests, and additionaly sync the domains used in the ext/standard/tests/network/getmxrr.phpt with the other branches
2011-10-23 10:09:29 +00:00
Xinchen Hui
0f178b7796
fix memory leak
2011-10-23 03:02:24 +00:00
Xinchen Hui
cd216d38be
Fixed bug #60112 If URI does not contain a file, index.php is not served
...
This is a windows Issue.
and after this fix, previously 404 request like "localhost/foo/bar"
now could server correctly with request_uri "index.php" and PATH_INFO "/foo/bar/"
2011-10-23 02:54:06 +00:00
Ferenc Kovacs
c67c8cb965
check the available memory on linux and skip if it is not enough
2011-10-23 00:07:01 +00:00
Ferenc Kovacs
121ebbccc0
shave off 900M memory from this test
2011-10-22 23:47:52 +00:00
Ferenc Kovacs
8e40498ae0
this was somehow missed from r318288
2011-10-22 22:35:17 +00:00
Ferenc Kovacs
e509dfec9c
stream_socket_server("unix://..." has a length limit, so it is better to use the tmp dir instead of the current test dir for the socket file. see https://bugs.php.net/bug.php?id=60106
2011-10-22 21:44:05 +00:00
Andrey Hristov
7472c081b7
add files that weren't committed with the previous commit
2011-10-21 15:29:43 +00:00
Andrey Hristov
139813877c
shift code around to two new files - mysqlnd_driver.c
...
and mysqlnd_ext_plugin.c (mysqlnd extension plugin)
2011-10-21 15:28:58 +00:00
Stanislav Malyshev
ed12ebc79c
Changed silent conversion of array to string to produce a notice. (Patrick)
2011-10-21 06:08:47 +00:00
Moriyoshi Koizumi
c34ef62773
Add SERVER_PROTOCOL variable to $_SERVER. Patch by kuzuha. Thanks.
2011-10-21 05:24:30 +00:00
Ferenc Kovacs
99bb66404d
there is a length limit on the shebang line, ignore the tests for >= 127
2011-10-20 18:09:44 +00:00
Xinchen Hui
b873f0ebf0
Fixed bug #60094 (C++ comment fails in c89)
2011-10-19 15:08:50 +00:00
Andrey Hristov
10e4419231
api_ext to reverse_api
2011-10-19 15:04:12 +00:00
Michael Wallner
849e7ae7aa
Fix Bug #55801 Behavior of unserialize has changed:
...
(un)serialize in __wakeup/__sleep now use clean var_hashes
2011-10-19 10:09:24 +00:00
Daniel Convissor
99ed1585a7
Tests for the DST RFC.
2011-10-18 21:45:07 +00:00
Arnaud Le Blanc
ea5a61e39b
Improved ternary operator performance when returning arrays
2011-10-18 19:42:42 +00:00
Rui Hirokawa
e3c13d7961
fixed maximum byte length of utf8mb4.
2011-10-18 14:28:01 +00:00
Rui Hirokawa
ec2670a276
fixed byte length of utf-8.
2011-10-18 14:03:44 +00:00
Ilia Alshanetsky
65732af7da
Fixed bug #55543 (json_encode() with JSON_NUMERIC_CHECK fails on objects with numeric string properties)
2011-10-17 23:51:25 +00:00
Xinchen Hui
077519d3fb
Fixed bug #60038 (SIGALRM cause segfault in php_error_cb)
2011-10-16 03:00:51 +00:00
Stanislav Malyshev
50339d8cf1
revert change, doesn't work
2011-10-16 02:43:50 +00:00
Xinchen Hui
c5ac13f632
Merge r316812 to trunk
2011-10-16 01:19:55 +00:00
Stanislav Malyshev
70a6a67c1e
Bug #55754 - Only variables should be passed by reference for ZEND_SEND_PREFER_REF params
2011-10-16 00:34:01 +00:00
Stanislav Malyshev
3e289bb0f9
fix potential integer overflow
2011-10-15 23:57:33 +00:00
Stanislav Malyshev
379ab5ec22
fix openbasedir in test
2011-10-15 23:52:40 +00:00
Rui Hirokawa
fe92d64a4a
updated bundled oniguruma regex library to 5.9.2. fixed bug #42290 .
2011-10-15 08:55:53 +00:00
Rui Hirokawa
35ec732d92
added a missing emoji U+27BF.
2011-10-15 07:14:45 +00:00
Ilia Alshanetsky
4ee578f8a1
Fixed bug #60019 (Function time_nanosleep() is undefined on OS X).
2011-10-14 12:43:27 +00:00
Felipe Pena
cce94408e6
- Fixed bug #60048 (sa_len a #define on IRIX)
...
patch by: china at thewrittenword dot com
2011-10-13 22:56:05 +00:00
Andrey Hristov
badb5f2610
export this existing function
2011-10-12 16:18:02 +00:00
Felipe Pena
31d213930d
- Fixed bug #60033 (Incorrectly merged PDO dblib patches break uniqueidentifier column type)
2011-10-12 01:24:51 +00:00
Felipe Pena
261353382f
- Fixed bug #60042 (spl_autoload_call may manipulate a dangling pointer)
...
patch by: tom at punkave dot com
2011-10-12 01:03:15 +00:00
Andrey Hristov
a498bc62b8
MYSQLND_NET refactored not to use any direct reference to MYSQLND (the connection)
...
QC will need an ifdef-layer to compile with this
2011-10-10 20:49:28 +00:00
Andrey Hristov
103d60fad0
last stat fix
2011-10-10 15:45:56 +00:00
Andrey Hristov
063162be3a
fix test after stat change
2011-10-10 14:39:22 +00:00
Andrey Hristov
e1e147aa4e
fix another test after stat change
2011-10-10 14:33:07 +00:00
Andrey Hristov
4151194c5a
fix test
2011-10-10 14:19:01 +00:00
Andrey Hristov
3468180085
fix test
2011-10-10 13:25:45 +00:00
Andrey Hristov
93d6c4767b
fix test
2011-10-10 12:50:09 +00:00
Derick Rethans
87ecd87b6f
- Updated to version 2011.12 (2011l)
2011-10-10 08:05:55 +00:00
Christian Stocker
65ee77c4b0
Added the xsl.security_prefs option to 5_4 and trunk and
...
mark it as deprecated for BC-reasons
Added tests for ini option and combination of both
2011-10-10 07:59:19 +00:00
Jérôme Loyet
280a177a97
- ensure request_terminate_timeout >= request_slowlog_timeout
2011-10-09 15:21:06 +00:00
Jérôme Loyet
c15987bdd4
- Fixed bug #55526 (Heartbeat causes a lot of unnecessary events)
2011-10-09 15:12:26 +00:00
Jérôme Loyet
d24cd92a22
- Fixed bug #55533 (The -d parameter doesn't work)
2011-10-09 14:36:11 +00:00
Stefan Marr
7e4b9800f4
Fixed Bug #55554 (Legacy constructors not handled properly) [TRAITS] [DOC]
...
# 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.
2011-10-09 11:13:27 +00:00
Jérôme Loyet
ec369966df
- fix r317922 (missing PHP_ADD_BUILD_DIR(sapi/fpm/fpm/events) in config.m4)
2011-10-09 09:22:36 +00:00
Stefan Marr
9d30c4896f
Use ZEND_ constants instead of plain strings for names of magic methods.
...
# No functional changes.
2011-10-08 23:47:16 +00:00
Jérôme Loyet
4e2664a602
- Implemented FR #52569 (Add the "ondemand" process-manager to allow zero children)
2011-10-08 21:04:10 +00:00
Jérôme Loyet
d64c8e78ca
- fix r317913
2011-10-08 20:43:12 +00:00
Jérôme Loyet
d546fae741
- Fixed bug #55486 (status show BIG processes number)
2011-10-08 19:50:26 +00:00
Jérôme Loyet
7b57d87400
- Fixed bug #55577 (status.html does not install)
2011-10-08 19:31:32 +00:00
Andrey Hristov
069e495b5f
null the value before usage
2011-10-08 14:48:14 +00:00
Xinchen Hui
c8ff0fe254
Fix #55819 crash on mb_ereg_replace_callback
...
Need hirokawa to review this.
2011-10-07 04:24:04 +00:00
Xinchen Hui
50bf7a1182
Remove unecessary codes
2011-10-07 04:14:31 +00:00
Andrey Hristov
00e9a1f942
Add test case
2011-10-06 17:06:02 +00:00
Andrey Hristov
26dd8c52c4
Be consistent, add mysqli::stat property, as equivalent of mysqli_stat().
...
Fix for Bug #55859 mysqli->stat property access gives error
2011-10-06 11:25:05 +00:00
Andrey Hristov
5f6020bc4d
try not to crash when closing persistent sockets, because EG(persistent_list)
...
is cleaned before the extensions' MSHUTDOWNs are called.
2011-10-06 00:45:58 +00:00
Andrey Hristov
303f8acd24
Fix bad cast which leads to crashes!
2011-10-05 18:51:15 +00:00
Pierre Joye
abf58318d2
- Revert r313616 (When we have a blocking SSL socket, respect the timeout
...
option, scottmac)
# This caused bug #55283 and #55848 , we should investigate a proper solution without
# breaking anything.
2011-10-05 05:20:51 +00:00
Ilia Alshanetsky
75bdf86d61
Fixed bug #55750 (memory copy issue in sysvshm extension).
2011-10-03 18:17:12 +00:00
Xinchen Hui
37e1ed68e5
Fixed bug #55825 , and add test script
2011-10-03 17:01:17 +00:00
Peter Cowburn
004cc53ab9
typofix (procgress to progress)
2011-10-03 08:45:06 +00:00
Peter Cowburn
8f545a7429
Fix php.ini comment ( #55834 )
2011-10-03 08:40:26 +00:00
Felipe Pena
021b650a6a
- Improve void arg check
...
- Removed unused variable
- Added check for empty tag in enchant_broker_request_dict() (to avoid assert warning)
2011-10-01 13:01:12 +00:00
Xinchen Hui
3e14579486
A better fix for #55817 (thanks to bjori)
2011-09-30 15:08:32 +00:00
Hannes Magnusson
b4f6baf9aa
Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY)
2011-09-30 14:17:23 +00:00
Hannes Magnusson
317f933cd6
Use the default stream context for FilesystemIterator, GlobIterator and (Recursive)DirectoryIterator
2011-09-30 14:12:26 +00:00
Xinchen Hui
9eeac29cc3
Fix wrong codes #55817
2011-09-30 13:34:07 +00:00
Gustavo André dos Santos Lopes
4eb080226b
- Fixed #55798 : serialize followed by unserialize with numeric object prop.
...
gives integer prop.
2011-09-28 14:47:42 +00:00
Gustavo André dos Santos Lopes
5067e98390
- Oops missed return. Also improved the readability of a test.
2011-09-27 11:43:07 +00:00
Gustavo André dos Santos Lopes
9a723eb69c
- Added tests and NEWS for r306475; see bug #55797 .
...
- Removed now redundant previous overflow check, which relied on
undefined behavior (wraparound) and was ignored in optimized builds.
2011-09-27 10:57:25 +00:00
Antony Dovgal
fad5288119
fix bug #55768 (PDO_OCI can't resume Oracle session after it's been killed)
2011-09-27 09:12:13 +00:00
Ferenc Kovacs
b6e4771e61
split the ext/calendar/tests/bug53574.phpt into two test, as we expect different result on 32 and 64 bit
2011-09-27 00:53:41 +00:00
Ferenc Kovacs
d1d6911949
fix #49599 , the eol-style is important here, as this is a regression test for #36459
2011-09-26 23:28:24 +00:00
Gustavo André dos Santos Lopes
e932aef17b
- Fixed bug in SdnToGregorian (see comments on #53574 , though that bug is about
...
another function). NEWS & tests tomorrow.
2011-09-26 22:38:21 +00:00
Christopher Jones
7c06ac560a
Use TZ similar to easter_date.phpt else gcov et al give a diff for unixtojd(1000000000)
2011-09-26 19:13:06 +00:00
Derick Rethans
53634f7648
- Updated to version 2011.11 (2011k)
2011-09-26 17:23:00 +00:00
Pierre Joye
16f6347264
- be sure to check if the var ha not been removed between the two calls
2011-09-26 08:49:28 +00:00
Pierre Joye
2b8fe11dd8
- Fix bug #55622 , better fix for this issue, old fix can break if sizeof(size_t) > sizeof(int) like on sparc
2011-09-26 08:38:03 +00:00
Stanislav Malyshev
bf9c99227e
update proto
2011-09-26 03:57:22 +00:00
Johannes Schlüter
31ff0d156e
- Fix folding
2011-09-25 13:06:09 +00:00
Johannes Schlüter
eb86165205
- Fix bug #55776 (PDORow to session bug)
2011-09-25 12:39:05 +00:00
Rui Hirokawa
6f7514a669
added test script for mb_ereg_replace_callback().
2011-09-25 08:55:27 +00:00
Rui Hirokawa
9b1c6035d2
fixed seg faults for mb_ereg_replace_callback.
2011-09-25 08:33:43 +00:00
Rui Hirokawa
1297c0508a
added mb_ereg_replace_callback().
2011-09-25 08:01:54 +00:00
Xinchen Hui
6d2a0bd6cc
Fix tests due to bison depened message format
2011-09-25 03:35:57 +00:00
Xinchen Hui
437f058814
Fix warning "implicit declaration of function `zend_fetch_debug_backtrace'"
2011-09-25 03:18:39 +00:00
Adam Harvey
f75c7302cb
Fix bug #55769 (Make Fails with "Missing Separator" error) via s/ /^I/.
2011-09-24 19:16:33 +00:00
Rui Hirokawa
cb17a1b216
added tests for #40685 .
2011-09-24 02:11:48 +00:00
Rui Hirokawa
ac54ec22f5
fixed #40685 : removed '&' in mb_decode_numericentity().
2011-09-24 02:11:18 +00:00
Xinchen Hui
5d1ba1d13f
unused var
2011-09-24 01:05:43 +00:00
Rasmus Lerdorf
657b661d40
Add a test and declare the local vars locally
2011-09-23 15:19:48 +00:00
Xinchen Hui
8cefbca521
Improve the warning message of incompatible arguments. ( #55719 )
...
And fix tests related.
2011-09-23 15:08:11 +00:00
Rasmus Lerdorf
659fc4b0f4
Fix for bug #55767
2011-09-23 13:16:37 +00:00
Rui Hirokawa
7dae4e5d39
added test script for pictogram.
2011-09-23 11:09:33 +00:00
Rui Hirokawa
f178684ffb
fixed a bug in conversion table.
2011-09-23 11:08:34 +00:00
Xinchen Hui
8b65d7b80c
Add tests
2011-09-23 03:09:12 +00:00
Xinchen Hui
58800b8ac1
Fixed bug #55758 (Digest Authenticate missed in 5.4)
...
the block I am removing should be removed along with the PG(saf_mod) condition.
since it is inside the PG(saf_mod) condition block.
2011-09-23 02:56:25 +00:00
Ferenc Kovacs
54e570123c
the TZ environment variable also needed to be set here, didn't dug up why date.timezone isn't sufficient
2011-09-22 22:29:28 +00:00
Ferenc Kovacs
471a5a1182
skip the interbase tests if cannot connect to the server
2011-09-22 22:07:02 +00:00
Ferenc Kovacs
73bed915c5
the julian date for timestamp 1000000000 is 2452161.5740741, which is rounded to 2452162
2011-09-22 21:50:45 +00:00
Ferenc Kovacs
02f43cda38
it seems that easter_date doesn't use the date.timezone but the TZ environment variable, so it passing the return value of easter_date() to date() which uses the date.timezone will create wrong result.
2011-09-22 20:59:10 +00:00
Xinchen Hui
32dba92b66
Add tests for bug #55755
2011-09-22 02:26:00 +00:00
Ilia Alshanetsky
d2d78d993d
Removed unreachable code (stream == NULL check is done already)
2011-09-21 19:08:30 +00:00
Xinchen Hui
75f721f4a0
Fixed bug #55755 (SegFault when outputting header WWW-Authenticate)
2011-09-21 16:00:09 +00:00
Johannes Schlüter
a53c7127bf
- Use the proper variable here.
2011-09-21 12:34:15 +00:00
Xinchen Hui
8d97573973
change test, and added a test for post file
2011-09-21 07:51:31 +00:00
Xinchen Hui
8c161dcd4b
Remove double checking, and use MAXPATHLEN instead of a fixed length
2011-09-21 06:59:47 +00:00
Xinchen Hui
f0e38127b8
Change to a more appropriate name
2011-09-21 03:16:35 +00:00
Xinchen Hui
86a48c6ca9
Fixed bug #55747 (request headers missed in $_SERVER)
2011-09-21 03:09:42 +00:00
Shein Alexey
2cf4f98c93
Refactored and speeded up php_cli_server tests, also get rid of test hanging on ubuntu:
...
1) Prepended starting the server with "exec" so proc_terminate can correctly close it (see also this note http://www.php.net/manual/en/function.proc-get-status.php#93382 for details)
2) Moved putting down the server to the shutdown function to make it independent from tests (fatal) errors
3) Moved php cli executable into the function to make tests more readable
4) changed sleep(1) to usleep(50000) (50 ms) to make tests faster - this needs more testing and if timeout is too small should be increased
2011-09-20 14:53:46 +00:00
Xinchen Hui
0d74e0f091
fix INI section
2011-09-20 08:13:55 +00:00
Xinchen Hui
552bfa8156
Add tests for built-in webserver
2011-09-20 07:10:46 +00:00
Xinchen Hui
eb233a26f7
Fix Bug #55726 (Changing the working directory makes router script inaccessible)
2011-09-20 07:06:55 +00:00
Xinchen Hui
3aa8140ebd
Fix folder
2011-09-20 05:07:15 +00:00
Michael Wallner
f989a86500
fix r316992
2011-09-19 15:20:38 +00:00
Michael Wallner
8f857603b4
Fixed bug #55544 ob_gzhandler always conflicts with zlib.output_compression
2011-09-19 14:37:00 +00:00
Johannes Schlüter
2817c5f3e7
- Fix folding
2011-09-19 12:31:06 +00:00
Xinchen Hui
ff30cd3443
Fix wrong update
2011-09-17 14:24:15 +00:00
Pierre Joye
272180cb85
- fix build (macros mess)
2011-09-17 12:41:23 +00:00
Pierre Joye
7b2eeea2b4
- fix TS build
2011-09-17 10:24:18 +00:00
Xinchen Hui
a67fb02cf8
Update NEWS
2011-09-17 03:23:38 +00:00
Xinchen Hui
212d210ac9
Fix Bug #55703(PHP crash when calling mysqli_fetch_fields)
...
Since the catalog values always is "def" now, see http://dev.mysql.com/doc/refman/5.0/en/c-api-data-structures.html
2011-09-17 03:12:23 +00:00
Felipe Pena
0ebd2309b1
- Fixed bug #55705 (Omitting a callable typehinted argument causes a segfault)
...
patch by: laruence@php
2011-09-17 00:16:11 +00:00
Felipe Pena
ad9c9ed529
- Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4)
2011-09-17 00:01:45 +00:00
Christopher Jones
ee026944fd
Test portability fix
2011-09-16 19:56:32 +00:00
Pierrick Charron
495a7b34ee
Fixed test bug #55713 (Christopher Jones)
2011-09-16 18:29:22 +00:00
Pierre Joye
0ec7852b44
- add -win32 versions and skipif
2011-09-16 10:45:04 +00:00
Dmitry Stogov
16c87163f0
Fixed bug #55644 (Math ops tests fail, diff min int value)
2011-09-16 07:59:34 +00:00
Dmitry Stogov
938d956e2e
Fixed Windows build
2011-09-16 06:55:43 +00:00
Christopher Jones
3e55ec1e93
Fix skipif for non zlib builds re message http://lxr.php.net/opengrok/xref/PHP_TRUNK/ext/phar/phar_object.c#351
2011-09-15 17:23:29 +00:00
Xinchen Hui
991c018131
Update libmagic.patch (patch reversed base on -r296679)
2011-09-15 15:53:49 +00:00
Etienne Kneuss
d8052a1544
Fix folding
2011-09-15 14:50:38 +00:00
Dmitry Stogov
653e374b6b
Fixed bug #50982 (incorrect assumption of PAGE_SIZE size)
2011-09-15 11:30:17 +00:00
Pierre Joye
facdc8a7aa
- force LF
2011-09-15 09:15:07 +00:00
Xinchen Hui
f265c5a573
Fix warning "implicit declaration of function `vasprintf'"
...
If There is a better fix, plz fixme.
2011-09-15 07:09:43 +00:00
Xinchen Hui
9a6424e95d
Forget commit to trunk
2011-09-14 15:45:02 +00:00
Arpad Ray
74e0985477
fix default session handler error message
2011-09-14 15:30:30 +00:00
Dmitry Stogov
723d7029d8
Fixed bug #55552 (bad encoding not detected)
2011-09-14 15:00:28 +00:00
Dmitry Stogov
65cb18dd5f
Fixed bug #55578 (Segfault on implode/concat)
2011-09-14 13:18:19 +00:00
Gustavo André dos Santos Lopes
0a74551c26
- ext/openssl/tests/bug36732.phpt more portable.
2011-09-14 10:55:46 +00:00
Pierre Joye
039fc22164
- fix text (encoding was broken with the previous commit)
2011-09-14 10:30:31 +00:00
Gustavo André dos Santos Lopes
8bf8989a4c
- Fixed test ext/openssl/tests/004.phpt.
...
- Made ext/openssl/tests/bug55646.phpt more reproducible by giving it a custom
openssl.cnf.
2011-09-14 09:56:59 +00:00
Xinchen Hui
c84f06db15
Fix tests
2011-09-14 06:48:26 +00:00
Xinchen Hui
cf26e0eddb
Add test for bug #55688
2011-09-14 05:02:50 +00:00
Xinchen Hui
057aa683f1
Fix bug #55688 (Crash when calling SessionHandler::gc())
...
Need arpad to review this change
2011-09-14 04:10:45 +00:00
Xinchen Hui
872ff4f8c9
Fix warning "implicit declaration of function `vasprintf'"
2011-09-14 02:19:22 +00:00
Felipe Pena
a99f146ec4
- Fixed memory leak when calling SessionHandler::open() several times
2011-09-14 01:45:57 +00:00
Arpad Ray
465475a7a2
fix session oo tests for windows
2011-09-14 01:16:19 +00:00
Arpad Ray
45a96e0d5b
fix zts break in r316688
2011-09-13 23:07:08 +00:00
Arpad Ray
5bc97c6cfa
Implement object-oriented session handlers ( https://wiki.php.net/rfc/session-oo )
2011-09-13 22:28:15 +00:00
Ferenc Kovacs
449497f162
I don't see why would be this a win only test. it works for me on linux, checked the history, find no explanation.
2011-09-13 21:06:06 +00:00
Daniel Convissor
f15c453242
Separate test for %a is no longer needed.
2011-09-13 20:31:02 +00:00
Ferenc Kovacs
3ad895cc17
fixing the tests, added the error_log= to the --INI-- so it should also pass for Stas
2011-09-13 19:56:42 +00:00
Ilia Alshanetsky
93763b11c9
Improve parameter handling cod
2011-09-13 16:36:29 +00:00
Pierre Joye
d2ff9ff591
- test passes now (and VC6 is not supported anymore)
2011-09-13 16:21:24 +00:00
Derick Rethans
1777d6fa79
- Fixed compiler warnings (patch by Kalle Sommer Nielsen)
2011-09-13 15:17:11 +00:00
Derick Rethans
37d1038958
- Removed support for putenv("TZ=..") for setting the timezone.
...
- Removed the timezone guessing algorithm in case the timezone isn't set with
date.timezone or date_default_timezone_set(). Instead of a guessed timezone,
"UTC" is now used instead.
2011-09-13 14:48:13 +00:00
Kalle Sommer Nielsen
e9ebd1c689
Fix build on Windows
2011-09-13 14:35:12 +00:00
Pierre Joye
43da6d64a9
- skip on win, runtime TZ via putenv is not supported with ext/date
2011-09-13 13:58:03 +00:00
Pierre Joye
d4ed1e1f13
- skip on win, runtime TZ via putenv is not supported with ext/date
2011-09-13 13:51:47 +00:00
Pierre Joye
f9b1b83136
- TZ auto detection varies, not always UTC
2011-09-13 13:42:03 +00:00
Pierre Joye
8b719e817e
- TZ auto detection varies, not always UTC
2011-09-13 13:39:49 +00:00
Dmitry Stogov
955041e223
Fixed ZE specific compile warnings (Bug #55629 )
2011-09-13 13:30:18 +00:00
Dmitry Stogov
e43ff1359e
Fixed ZE specific compile warnings (Bug #55629 )
2011-09-13 13:29:35 +00:00
Pierre Joye
9b881b680c
- skip on win, runtime TZ via putenv is not supported with ext/date
2011-09-13 13:26:48 +00:00
Xinchen Hui
84c94e29c9
Fixed Bug #55674 (fgetcsv & str_getcsv skip empty fields in some tab-separated records) which was introduced by r311543
2011-09-13 12:44:13 +00:00
Pierre Joye
3996135f68
- fix test on win, putenv is not supported for TZ and ext/date
2011-09-13 12:04:57 +00:00
Pierre Joye
5a49af4253
- do not display the crt warnings anymore by default. It is enough to simply fail from a user land pov as it is the case on posix platforms
2011-09-13 10:38:12 +00:00
Dmitry Stogov
4b1193a9cc
Fixed Bug #55649 (Undefined function Bug()). (Laruence)
2011-09-13 07:07:06 +00:00
Dmitry Stogov
b6173bee92
Fixed bug #55509 (segfault on x86_64 using more than 2G memory). (Laruence)
2011-09-13 07:01:46 +00:00
Pierre Joye
4262382199
- skip on win, strftime uses system TZ
2011-09-12 23:31:22 +00:00
Gustavo André dos Santos Lopes
d7c7fe3587
- Test for bug #55646 .
2011-09-12 20:05:07 +00:00
Stanislav Malyshev
ba04ba9c82
MFB crypt fix
2011-09-12 17:50:42 +00:00
Gustavo André dos Santos Lopes
1fbf911905
- Fixed bug #55646 : textual data is returned in UTF-8, but is input in
...
another encoding. 5.4 only as this implies a BC break.
2011-09-12 17:23:10 +00:00
Hannes Magnusson
4653534643
Test for non-string replacement, bug#54304
2011-09-12 17:20:44 +00:00
Ilia Alshanetsky
3d3a6a3b96
Fixed bug #55273 (base64_decode() with strict rejects whitespace after pad)
2011-09-12 17:20:24 +00:00
Derick Rethans
1e4dac2d58
- Updated to version 2011.10 (2011j)
2011-09-12 15:49:12 +00:00
Ulf Wendel
0290718b00
This should please gcov.php.net which hits error 1044 instead of 1049.
2011-09-12 15:05:10 +00:00
Tjerk Anne Meesters
7b1790bdfb
Reverted changes in connect.inc based on Ulf's feedback
...
- Moved the ini_set() entries into a separate script 'setupdefault.inc'
- Let mysql_affected_rows and mysql_insert_id test cases use the newly created script
With the ini_set() statements inside connect.inc, some test cases would be forced to 'undo' them in order to test other scenarios.
Tested on all three dev lines with and without passing db credentials. No changes detected.
2011-09-12 14:35:45 +00:00
Ulf Wendel
1c688e06dd
Fix typo.
2011-09-12 13:55:28 +00:00
Popa Adrian Marius
b5aad069ee
fix gcov Warning: ibase_drop_db(): lock time-out on wait transaction object
2011-09-12 13:46:03 +00:00
Ulf Wendel
0024235874
Minor issue. Seems to fail the same way on various PHP + MySQL combinations. Setting XFAIL until we fix it.
2011-09-12 13:39:57 +00:00
Hannes Magnusson
4ff1539384
Allow replacement to be any scalar value
2011-09-12 13:21:57 +00:00
Rui Hirokawa
6074e38d37
fixed optional argument.
2011-09-12 13:20:05 +00:00
Ulf Wendel
49e693124f
Hits libmysql/MySQL bug, works with mysqlnd
2011-09-12 13:14:16 +00:00
Pierre Joye
4891b29d6b
- revert incorrect fix introduced in r316528
2011-09-12 12:59:52 +00:00
Christian Stocker
f8ffb5af1d
Added test for XSL bug 54446
2011-09-12 12:44:49 +00:00
Ulf Wendel
76879f2cce
Those will fail with MySQL 5.5. Running them because they have unveiled a crash, which has been fixed already. Setting to XFAIL, need to be decide if and/or how the functionality shall be supported.
2011-09-12 12:14:56 +00:00
Hannes Magnusson
7bb31903c8
Ensure we are working with strings here
2011-09-12 11:44:55 +00:00
Xinchen Hui
17858fc789
Merge from branch, make things consistent
2011-09-12 10:57:26 +00:00
Hannes Magnusson
d0dbb43935
Sync line ending with 5_4
2011-09-12 10:24:27 +00:00
Hannes Magnusson
c500bd35f3
These are all in 5_4
2011-09-12 10:20:34 +00:00
Hannes Magnusson
b16bb9582b
Merge missing test from 5_4
2011-09-12 10:13:54 +00:00
Popa Adrian Marius
8b22751c24
fixes bug #55659 adn 006 test for firebird driver
2011-09-12 09:41:02 +00:00
Pierre Joye
5cb30970dc
- unused var
2011-09-12 09:27:03 +00:00
Pierre Joye
1eceefc53f
- force LF
2011-09-12 09:16:19 +00:00
Hannes Magnusson
8db792d1f2
Fixed issues when streams were closed before curl read/write from them, or cleaning
...
Closing a original handle after copying it now no longer cleans up all resources (fixes missing CURLOPT_POSTFIELDS values among others)
2011-09-12 09:16:04 +00:00
Rui Hirokawa
0f7a2cd306
MFH: fixed test failure on win32.
2011-09-11 13:15:40 +00:00
Rui Hirokawa
b36a8754d1
fixed test failure on win32.
2011-09-11 13:04:21 +00:00
Rui Hirokawa
5ae70c757b
fixed test case failures.
2011-09-11 12:29:00 +00:00
Rui Hirokawa
01bb437b85
fixed test case failures.
2011-09-11 12:12:24 +00:00
Rui Hirokawa
efd8563777
revert previous commit.
2011-09-11 03:57:31 +00:00
Rui Hirokawa
e7fa9ffc21
removed test script which depends on the removed register_globals.
2011-09-11 02:16:34 +00:00
Felipe Pena
77a08e1601
- Fix test
2011-09-10 13:02:00 +00:00
Stanislav Malyshev
2a6a890c46
Fix error message
2011-09-10 05:36:14 +00:00
Stanislav Malyshev
0fdeda6bf0
revert bad test change
2011-09-10 05:29:29 +00:00
Xinchen Hui
5e477ae1f8
Fixed Bug #55653(PS crash with libmysql when binding same variable as param and out)
...
Actually this caused by attempt to efree a INTERNED string
2011-09-10 03:51:16 +00:00
Ulf Wendel
6cb483cff8
Bug #55653
2011-09-09 12:12:08 +00:00
Hannes Magnusson
987c394143
Being smart and cleanup/rename/modify tests seconds before committing isn't very smart.
2011-09-09 08:28:57 +00:00
Pierre Joye
199118c2c4
- force LF
2011-09-09 08:11:43 +00:00
Pierre Joye
c35d34a10d
- nuke unused var
2011-09-09 07:57:29 +00:00
Pierre Joye
ba07a1c72b
- improve r316420, function must return a value
2011-09-09 07:56:42 +00:00
Pierre Joye
6550af384f
- improve r316420 (SplFileObject cannot and should not accept directories)
2011-09-08 23:12:32 +00:00
Pierre Joye
4ccef0b950
- improve r316420 (SplFileObject cannot and should not accept directories)
2011-09-08 23:07:48 +00:00
Christopher Jones
47f3bf02c9
Update SKIPIFs for test portability
2011-09-08 20:13:32 +00:00
Christopher Jones
d4f1085c18
Fix skipifs
2011-09-08 17:52:45 +00:00
Christopher Jones
de264a62cf
Fix skipifs to match other tests for the case when connection fails
2011-09-08 17:40:15 +00:00
Derick Rethans
72ebf32b49
- Updated to-do.
2011-09-08 16:57:41 +00:00
Pierre Joye
dd312dda4f
- force LF
2011-09-08 16:11:03 +00:00
Pierre Joye
59571f6fce
- force LF
2011-09-08 16:10:07 +00:00
Etienne Kneuss
3afb143e65
SplFileObject does not accept directories. It did not check for that and blindly opened the directory, which works on linux but fails on windows. Now SplFileObject uses a stat() call to make sure it isn't a directory, if it is, it fails with an exception. Tests have been changed accordingly.
2011-09-08 15:52:59 +00:00
Rui Hirokawa
9103c93606
2nd arguments is necessary in mb_parse_str because register_globals was removed in PHP 5.4.
2011-09-08 15:20:17 +00:00
Hannes Magnusson
31d09c9c4c
Fixed bug#54798 Segfault when CURLOPT_STDERR file pointer is closed before calling curl_exec
2011-09-08 14:37:18 +00:00
Pierre Joye
c4c7c48ac6
- fix test, again...
2011-09-08 11:52:37 +00:00
Ferenc Kovacs
f40fd8236e
skip these tests if can't connect to mysql
2011-09-08 11:30:58 +00:00
Pierre Joye
6f2cd0fcef
- fix test
2011-09-08 11:24:33 +00:00
Pierre Joye
1fa1bc0d54
- force LF and fix... and blame me for not reading the code correctly, zlib tests pass now, linux/bsd/win 100%
2011-09-08 10:20:38 +00:00
Pierre Joye
4924007015
- force LF
2011-09-08 10:14:38 +00:00
Pierre Joye
0e05312d03
- skip if no hash
2011-09-08 10:00:47 +00:00
Hannes Magnusson
cf11413db3
Fix the path to the .pem
2011-09-08 09:27:47 +00:00
Pierre Joye
d566f0c88e
- fix build when no zend signal support
2011-09-08 09:17:21 +00:00
Christopher Jones
53cfca411b
Use unique object names to reduce potential clashes when testing in parallel
2011-09-07 19:19:00 +00:00
Rasmus Lerdorf
ca2234d18c
Make timeouts work again for shutdown functions.
...
Fixes the faling lang/045 test
2011-09-07 18:48:17 +00:00
Rasmus Lerdorf
331766c3bf
This test was added to verify that bug 39322 was fixed, which the test
...
does test for and this works. However, it consistently failed because
it relied on a SIGHUP not terminating a sh -c /usr/bin/nohup sleep 50
process which doesn't work because the SIGHUP goes to the sh process
not the nohup'ed sleep process. So, I have sped up the test and removed
the nohup and instead of trying to SIGHUP I am just doing the equivalent
of a kill 0 on it to verify that the resource sticks around.
2011-09-07 18:09:34 +00:00
Hannes Magnusson
994df9f1d1
Fixed bug #55504 (Content-Type header is not parsed correctly on HTTP POST request
2011-09-07 16:19:09 +00:00
Ilia Alshanetsky
12e983e714
Fixed tests (skip when catch-all DNS such as openDNS is being used)
2011-09-07 15:31:48 +00:00
Gustavo André dos Santos Lopes
26a80c72af
- Fixed doc bug #54657 : Function parameters can no longer be named after
...
superglobal variables.
2011-09-07 15:28:12 +00:00
Rui Hirokawa
36378d34f8
fixed invalid utf-8 check.
2011-09-07 14:30:06 +00:00
Hannes Magnusson
4e9a7658b8
Revert r316345 which fixes all the tests again
2011-09-07 13:50:18 +00:00
Hannes Magnusson
03d8301d7c
Fix errormessage
2011-09-07 13:47:31 +00:00
Hannes Magnusson
a078c05513
Fix folding
2011-09-07 13:46:45 +00:00
Johannes Schlüter
bea25b5e55
- Use myslqnd by default when MySQL extensions are activated but no path given
2011-09-07 13:33:56 +00:00
Pierre Joye
6b4717da8e
- reject paths with trainling spaces using the very good new zend arg
2011-09-07 12:33:22 +00:00
Hannes Magnusson
4efd9c43a9
Add skip message
2011-09-07 12:06:21 +00:00
Hannes Magnusson
12d67c1a45
Fix cleanup routines
2011-09-07 12:05:19 +00:00
Pierre Joye
cf2ec7665e
- skip on win, diff TZ format
2011-09-07 11:26:59 +00:00
Hannes Magnusson
a953f69ed6
Remove bogus skipif and make adjust the tests
2011-09-07 10:44:32 +00:00
Hannes Magnusson
2fd3e799d8
The error message is different when built with zts
2011-09-07 10:41:38 +00:00
Hannes Magnusson
ce6f5e32ba
Update skipif
2011-09-07 10:39:55 +00:00
Hannes Magnusson
b6e2e54b70
Sync tests between branches and fix the getcontent test
2011-09-07 10:38:53 +00:00
Hannes Magnusson
3f85bc95f7
Update skipif message
2011-09-07 10:34:58 +00:00
Pierre Joye
e57b66393b
- force LF (svn prop and config)
2011-09-07 10:14:02 +00:00
Pierre Joye
ecee2129db
- force LF (svn prop and config)
2011-09-07 10:12:04 +00:00
Pierre Joye
bbfc53d7be
- force LF
2011-09-07 09:41:54 +00:00
Pierre Joye
194e5fa60c
- force LF
2011-09-07 09:37:56 +00:00
Pierre Joye
5a14cd627d
- fix test for OS where dir sep is \
2011-09-07 09:19:28 +00:00
Pierre Joye
e63aa705a3
- fix test for OS where dir sep is \
2011-09-07 09:03:07 +00:00
Pierre Joye
f4ccae7206
- force LF
2011-09-07 08:41:59 +00:00
Pierre Joye
7b9b599ea6
- force LF
2011-09-07 08:18:20 +00:00
Pierre Joye
e2ac1fc386
- add skipif for dom
2011-09-07 08:12:08 +00:00
Pierre Joye
8c38867dba
- force LF
2011-09-07 08:01:19 +00:00
Pierre Joye
3586902e6f
- force LF
2011-09-07 07:51:37 +00:00
Stanislav Malyshev
a447acdcc6
Commit Gustavo's closure rebinding patch as desided by vote
2011-09-07 06:46:27 +00:00
Xinchen Hui
1f347459fb
update news
2011-09-07 05:19:12 +00:00
Xinchen Hui
0b16d13352
Fixed Bug #55423(cli-server could not output correctly in some case)
2011-09-07 05:14:54 +00:00
Xinchen Hui
b7788089e1
fix skipif description
2011-09-07 00:59:10 +00:00
Andrey Hristov
222c5b4a9c
Fix problems with the unbuffered set detection, for libmysql, which resulted
...
in always true. Thanks Stas.
2011-09-06 19:52:19 +00:00
Stanislav Malyshev
a226fcc15e
improve open_basedir handling
2011-09-06 19:51:35 +00:00
Pierre Joye
eea14c09fc
- fix #55622 , mem corruption on large input
2011-09-06 17:41:08 +00:00
Pierre Joye
d37605a5f1
- useless skipif
2011-09-06 17:10:16 +00:00
Ulf Wendel
1c7a318421
Fixing SKIPIF
2011-09-06 16:39:55 +00:00
Johannes Schlüter
fca3b40d7b
- Fix bug #55609 (mysqlnd cannot be built shared)
...
# This adds an option --enable-mysqlnd to explicitly built mysqlnd, like any
# other extension it can be used with =shared to build mysqlnd shared;
# mysqlnd will implicitly enabled when requested from another extension
2011-09-06 16:38:22 +00:00
Ulf Wendel
696a1bdc07
Fixing SKIPIF
2011-09-06 16:37:45 +00:00
Ulf Wendel
6277b2857a
Fixing SKIPIF fatal error. 6.0 is history, thus SKIPIF might need further updates?
2011-09-06 16:30:53 +00:00
Ulf Wendel
eb16017160
More parenthesis, credits to Nikita Popov
2011-09-06 16:13:03 +00:00
Pierre Joye
3d08ebd419
- useless skipif
2011-09-06 15:49:28 +00:00
Pierre Joye
4e967d1bb1
- fix skipif
2011-09-06 15:40:12 +00:00
Hannes Magnusson
f00b4a7d72
Add a constant, READLINE_LIB, to be able to differenciate which lib is being used
2011-09-06 15:09:15 +00:00
Hannes Magnusson
dc018f3d10
Fixed bug#54450 (callback function when built against libedit)
2011-09-06 15:07:24 +00:00
Andrey Hristov
4f0b4031fe
add query information to the trace log
2011-09-06 14:48:43 +00:00
Ulf Wendel
ccd842f912
BORK hunting - Fixing SKIPIF
2011-09-06 14:47:57 +00:00
Ulf Wendel
fe89680010
Fix SKIPIF
2011-09-06 13:57:03 +00:00
Ulf Wendel
a4fcb5f1bb
Fix SKIPIF
2011-09-06 13:50:45 +00:00
Ulf Wendel
5ec2ee6c4d
Prevent Notice
2011-09-06 13:39:46 +00:00
Ulf Wendel
1a53d78b0c
Reverting to proper --INI-- section usage. Improve SKIPIF to skip test if open_basedir setting is too restrictive during test run for whatever reason.
2011-09-06 12:58:01 +00:00
Pierre Joye
f7f2c8c209
- use only zlib function and reported the failure with base64 in #55620
2011-09-06 12:30:47 +00:00
Pierre Joye
0572d95568
- force LF
2011-09-06 12:24:16 +00:00
Hannes Magnusson
04028e5e61
Mention which library php is using
2011-09-06 11:28:34 +00:00
Pierre Joye
f2b8c5395c
- use a more portable name for the filename
2011-09-06 11:24:21 +00:00
Florian Anderiasch
57aaa1dca9
Fixed ext/sockets/tests/socket_strerror.phpt
...
So it seems a missing ) killed the test.
2011-09-06 09:56:13 +00:00
Xinchen Hui
567ab9feaf
move it to right place
2011-09-06 09:45:21 +00:00
Xinchen Hui
899ee8e705
Add skipif
2011-09-06 09:29:04 +00:00
Pierre Joye
e06ea30795
- missing --SKIPIF--
2011-09-06 09:28:23 +00:00
Pierre Joye
4d576e21a9
- move it to the right place
2011-09-06 09:23:10 +00:00
Pierre Joye
427bb75d4b
- fix skipif msg
2011-09-06 09:20:14 +00:00
Xinchen Hui
b1eaad7d1f
Added skipif
2011-09-06 09:17:12 +00:00
Xinchen Hui
241c5f0258
add skipif
2011-09-06 08:11:37 +00:00
Pierre Joye
555a138113
- add skipif
2011-09-06 07:49:31 +00:00
Pierre Joye
ee9738077f
- fix test
2011-09-06 07:47:20 +00:00
Pierre Joye
7c77d6b612
- fix test
2011-09-06 07:44:43 +00:00
Pierre Joye
1676e4044b
- skip on win
2011-09-06 07:32:37 +00:00
Pierre Joye
d6a6c1892b
- add skipif
2011-09-06 07:29:59 +00:00
Pierre Joye
95aefb0114
- add skipif
2011-09-06 07:28:38 +00:00
Pierre Joye
1d22c75eb3
- use something we know it exists...
2011-09-06 07:26:05 +00:00
Pierre Joye
80a2175c37
- skip on win, name.. name. are not valid names
2011-09-06 07:23:20 +00:00
Pierre Joye
66a1d741bf
- add skipif
2011-09-06 07:09:56 +00:00
Pierre Joye
b263273baa
- don't test dir sep
2011-09-06 07:07:23 +00:00
Pierre Joye
67d0d0e8d2
- force LF
2011-09-06 07:03:48 +00:00
Pierre Joye
6266284b5e
- force LF
2011-09-06 07:00:05 +00:00
Pierre Joye
3179ef674c
- add skipif
2011-09-06 06:57:53 +00:00
Pierre Joye
b6fe362f12
- add skipif
2011-09-06 06:52:26 +00:00
Pierre Joye
bd0a02b72b
- add skipif
2011-09-06 06:50:56 +00:00
Pierre Joye
7921f410fc
- add skipif
2011-09-06 06:47:12 +00:00
Pierre Joye
b4769b1946
- add skipif
2011-09-06 06:44:59 +00:00
Pierre Joye
ec1575fbb2
- add skipif
2011-09-06 06:42:11 +00:00
Pierre Joye
710d46f38e
- WS
2011-09-06 06:34:36 +00:00
Pierre Joye
7f3ab56cec
- WS
2011-09-06 06:32:42 +00:00
Pierre Joye
58a96d5588
- WS
2011-09-06 06:32:00 +00:00
Stanislav Malyshev
75cf1e8730
unused variables
2011-09-06 05:31:08 +00:00
Stanislav Malyshev
442e9c5148
allow user streams to override ch* on windows too
2011-09-06 05:28:25 +00:00
Stanislav Malyshev
d465ee0565
fix redirect when test run from different places
2011-09-06 05:21:56 +00:00
Stanislav Malyshev
22fbe247e3
fix test
2011-09-06 05:20:51 +00:00
Stanislav Malyshev
153649906c
use DBUG_ON flag for checking debug
...
# Some libmysql builds don't define DBUG_OFF and non-debug builds are more frequent
2011-09-06 05:20:05 +00:00
Stanislav Malyshev
6e0dfc1851
this tests looks mysqlnd only
2011-09-06 05:13:47 +00:00
Pierre Joye
57d0b478fb
- add skipif
2011-09-05 19:59:42 +00:00
Ulf Wendel
ac90fb4287
No more test failure for libmysql, http://news.php.net/php.internals/55210
2011-09-05 16:24:40 +00:00
Andrey Hristov
4325a8bffc
Fix for Bug #55582 mysqli_num_rows() returns always 0 for unbuffered, when mysqlnd is used
2011-09-05 15:29:45 +00:00
Xinchen Hui
67872cf7a9
Fixed tests (due to error message changed)
2011-09-05 15:05:51 +00:00
Xinchen Hui
83f61c2c53
Fixed compiler warning "incompatible pointer type"
2011-09-05 15:02:21 +00:00
Shein Alexey
50d8d816c5
Reduced timeout in this test to 1ms, no need to wait further.
2011-09-05 14:43:08 +00:00
Pierre Joye
79d26fcaf0
- add skipif
2011-09-05 13:52:24 +00:00
Pierre Joye
ad72309636
- add skipif
2011-09-05 13:41:01 +00:00
Pierre Joye
fdf9771773
- use the same test on win
2011-09-05 13:37:30 +00:00
Pierre Joye
a2b6e6a364
- close the stream before removing the file (win and other system may lock it) and use test dir for tmp data
2011-09-05 13:31:13 +00:00
Pierre Joye
7947df24af
- sync&fix test with 5.3
2011-09-05 13:23:25 +00:00
Pierre Joye
10ced2993b
- fix test, slash or back slash can be present
2011-09-05 13:13:37 +00:00
Pierre Joye
d6acaddca2
- stupid me.
2011-09-05 13:06:51 +00:00
Pierre Joye
ff0f145768
- disable on win
2011-09-05 13:05:28 +00:00
Johannes Schlüter
283b7ad9db
Fix #ifdef for mixed builds (ext/mysql using myslqnd, mysqli using libmysql)
2011-09-05 13:05:15 +00:00
Pierre Joye
5dc49bebaa
- disable on win
2011-09-05 13:04:12 +00:00
Pierre Joye
997a86ebb9
- other hostname can be defined or returned first
2011-09-05 12:34:55 +00:00
Hannes Magnusson
8154263956
typo
2011-09-05 12:00:24 +00:00
Pierre Joye
e2e8be545f
- force LF
2011-09-05 11:46:05 +00:00
Hannes Magnusson
e1ec448fe6
Fix the test in 5.4 and trunk.
...
older libraries will emmit error here, while new won't. So lets just suppress it rather then making the test uselessly fail for random people.
2011-09-05 11:07:38 +00:00
Pierre Joye
42ca18e853
- not used anymore, one version to rule them all
2011-09-05 11:00:52 +00:00
Shein Alexey
d1e7999d5b
Make the test faster, what was done:
...
1) replaced multiple htmlentities calls with one call to get_html_translation table since they share the same code internally
2) reduced the upper range of the "for" loop to 0x2710 (10000), according to http://www.w3.org/TR/html4/sgml/entities.html it's enough
3) placed additional check to make sure all entities from get_html_translation_table were checked in the test
2011-09-05 11:00:14 +00:00
Pierre Joye
372976e2aa
- force LF and enable it on windows now
2011-09-05 10:59:26 +00:00
Hannes Magnusson
3986046b6e
Fix test to use microtime() as time() doesn't always catchup fast enough :]
2011-09-05 10:55:07 +00:00
Pierre Joye
8d49cf21f2
- force LF
2011-09-05 10:52:01 +00:00
Hannes Magnusson
5f7bbebd8e
Fix test, one skipif is enough
2011-09-05 10:30:41 +00:00
Pierre Joye
2ecaee20e9
- update test to the zeng arg path argument
2011-09-05 10:29:12 +00:00
Pierre Joye
69a1e5d3ac
- fix test
2011-09-05 10:14:13 +00:00
Hannes Magnusson
22c4ca480f
Interesting typo...
2011-09-05 09:34:14 +00:00
Hannes Magnusson
8db93019b4
Not all submodules have MINIT, but they have MINFO and need to be registered
...
(cought by tyrael@)
2011-09-05 09:27:23 +00:00
Christian Stocker
72d0abc8d3
Revert r316043, the tests are different on purpose
2011-09-05 08:27:47 +00:00
Stanislav Malyshev
e07d1f0bbc
fix tests
2011-09-05 00:49:03 +00:00
Gustavo André dos Santos Lopes
187b419b04
- Fixed bad xor in signed types due to integer promotion.
...
- Replaced undefined signed overflow with char -> unsigned char conversion.
2011-09-05 00:39:39 +00:00
Gustavo André dos Santos Lopes
ac20ab11f7
- Fixed bug #55576 : Cannot conditionally move uploaded file without race
...
condition.
2011-09-04 23:00:47 +00:00
Gustavo André dos Santos Lopes
d5c5bb0e96
- Fixed borked refactoring in r307437 (using SUCCESS/FAILURE return instead of
...
out parameter).
- Fixed signature of php_stream_copy_to_stream_ex to return int in 5.4/trunk
instead of size_t, as the function only returns SUCCESS/FAILURE.
2011-09-04 22:36:33 +00:00
Pierre Joye
c4d6b3d786
- add skipif
2011-09-04 22:21:58 +00:00
Pierre Joye
65fee77a48
- force LF eol
2011-09-04 22:12:42 +00:00
Pierre Joye
8b710f5b5a
- skip on win, TZ cannot be set using putenv at runtime
2011-09-04 22:04:42 +00:00
Pierre Joye
5d1962120f
- skip on win, TZs differ with strftime
2011-09-04 21:59:27 +00:00
Pierre Joye
861dac9726
- unify warning between win and unix and enable test
2011-09-04 21:48:22 +00:00
Pierre Joye
14b5985dff
- fix test on win, does not use putenv to set the TZ but date_default_timezone_set (should be the case on all platforms actually...)
2011-09-04 21:40:22 +00:00
Stanislav Malyshev
ae1af27e18
fix bug 55562 - make substr always return rest of the string if length is too long
2011-09-04 18:50:05 +00:00
Pierre Joye
678e8e2872
- wrong variable used (ended as non initiazed usage)
2011-09-04 16:33:31 +00:00
Ferenc Kovacs
ccac1ad9b6
passing an invalid session.upload_progress.freq always generates an additional startup error
2011-09-04 15:02:08 +00:00
Ferenc Kovacs
f1c31a5a15
passing an invalid session.upload_progress.freq always generates an additional startup error
2011-09-04 14:28:52 +00:00
Tjerk Anne Meesters
9582b62111
Patch to run two more mysql test cases that would usually be skipped.
...
Replaced skipifdefaultconnectionfailure.inc by three additional ini_set() statements in connect.inc for the default connection settings
Patch also includes a typo in connect.inc concerning mysql.default_socket
2011-09-04 14:21:27 +00:00
Stanislav Malyshev
9b9ab11e8f
fix test
2011-09-04 05:00:30 +00:00
Stanislav Malyshev
19cbfb42f6
test fixes
2011-09-04 04:57:01 +00:00
Daniel Convissor
1d50d1174c
Make test work with database other than "test" (merge from 5.4).
2011-09-04 00:56:38 +00:00
Christopher Jones
06cc022740
gcov test fixes
2011-09-02 22:19:03 +00:00
Ferenc Kovacs
38131641a0
pass an absolute path for the php binary to proc_open, without this the test would fail if ran with a relative TEST_DEV_EXECUTABLE
2011-09-02 20:28:39 +00:00
Shein Alexey
712628c47c
Synchronized fixed tests from 5.3 branch.
2011-09-02 18:01:20 +00:00
Shein Alexey
a5f3b37b46
Removed old (< 5.3) version of test and cleaned up the actual version.
2011-09-02 17:41:39 +00:00
Andrey Hristov
27a48f0b44
Fix for Bug #54158 MYSQLND + PDO MySQL requires #define MYSQL_OPT_LOCAL_INFILE
...
and a bunch of other small preprocessor fixes
2011-09-02 13:53:41 +00:00
Ulf Wendel
66b7705da2
Coverage for bug#54704, of which I think it is bogus, thus no dedicated test.
2011-09-02 13:35:17 +00:00
Andrey Hristov
1f3e66cd56
fix message
2011-09-02 12:59:32 +00:00
Andrey Hristov
2dbc61a2ff
function rename to comply with the schema of other callbacks
2011-09-02 11:22:41 +00:00
Ulf Wendel
56a2ff3b00
Hopefully, this is an even better way to check for InnoDB support as of MySQL 5.6.1
2011-09-02 11:06:51 +00:00
Ulf Wendel
70b9029d9e
As of MySQL 5.6.1 the server variable have_innodb is no more. Updating InnoDB check...
2011-09-02 10:38:51 +00:00
Boris Lytochkin
a183c17b07
remove extra white space
2011-09-02 10:07:01 +00:00
Boris Lytochkin
d077fc3211
added SNMPException class, enabling ability to throw exceptions
...
when a known SNMP error has occured
FR #55542
2011-09-02 10:04:19 +00:00
Ulf Wendel
7e5d9ae1dd
MySQL 5.6 update
2011-09-02 09:27:23 +00:00
Boris Lytochkin
538d8a3f52
remove php_snmp_get_ce()
2011-09-02 08:07:58 +00:00
Gustavo André dos Santos Lopes
29b76e6de3
- Use our external entity loader only in the context of a PHP request.
2011-09-02 05:14:32 +00:00
Christopher Jones
d002d6d56d
Unmatched %s was still diffing on Linux. Now it matches the whitespace at a minimum
2011-09-01 19:27:14 +00:00
Christopher Jones
375a31fed2
Prevent the magic quotes fatal error causing a diff
2011-09-01 19:01:37 +00:00
Ulf Wendel
2ae90a11ea
Check for LOAD DATA support during SKIPIF
2011-09-01 16:35:13 +00:00
Ulf Wendel
67faaa1cae
Fixing error handling. Skip if load data is not allowed
2011-09-01 15:45:47 +00:00
Ulf Wendel
9996f5f13f
Can't reproduce the server has gone away messages, Andrey. Please, have a look. I tried MySQL 5.1, 5.5 and 5.6.
2011-09-01 15:25:15 +00:00
Johannes Schlüter
781db10c48
Improve speed of finding tests (no more CVS, we're on svn now)
2011-09-01 14:52:55 +00:00
Ulf Wendel
ebc3b34fa0
Fix test. First element within the parantheses is a SQL status code. Should please gcov
2011-09-01 14:04:52 +00:00
Ulf Wendel
7b9d93d18b
Fixing tests debug output
2011-09-01 13:37:49 +00:00
Pierre Joye
d5a6bac766
- use %s, bad c/p
2011-09-01 13:28:00 +00:00
Ulf Wendel
0c26509ff0
Check if MySQL server supports SSL and, if using mysqlnd, check if PHP streams will support SSL
2011-09-01 13:17:16 +00:00
Hannes Magnusson
33fed1066c
Move the XFAILED printout way up the list so we can actually notice the really failing ones
2011-09-01 13:06:12 +00:00
Pierre Joye
2449bd4a10
- fix test
2011-09-01 12:49:26 +00:00
Pierre Joye
abeac6759d
- win and nux work the same way
2011-09-01 12:43:12 +00:00
Pierre Joye
9cf971c7ff
- win and nux work the same way
2011-09-01 12:42:54 +00:00
Pierre Joye
3b7cfc6d2c
- force LF eol style as this test depends on it
2011-09-01 12:35:41 +00:00
Johannes Schlüter
4eff96b99b
- Fix TSRM build
2011-09-01 12:04:54 +00:00
Ulf Wendel
426b388b74
Simplify mysqlnd debug trace marginally for debugging
2011-09-01 11:48:18 +00:00
Pierre Joye
6142c9b4b1
- consider that bison 2.x is used. updated our ci boxes accordingly (windows too), which were using 1.4
2011-09-01 11:40:37 +00:00
Pierre Joye
d01632b499
- consider that bison 2.x is used. updated our ci boxes accordingly (windows too), which were using 1.4
2011-09-01 11:40:23 +00:00
Ulf Wendel
48c1f47979
Hack around http://bugs.mysql.com/62320
2011-09-01 11:27:14 +00:00
Hannes Magnusson
d9d1fb0cee
Seeing thousands of PASS tests flying by is meaningless.
...
Add an option to only print certain result groups.
2011-09-01 11:00:51 +00:00
Pierre Joye
5b0ae3069c
- force LF eol style as this test depends on it
2011-09-01 09:33:43 +00:00
Matteo Beccati
dff6510fc5
Fixed test randomly failing due to different error messages. Also added a skip
...
section in case "fakeURL" resolves to an IP address, as some empty error
messages and HTML can be seen in the reports
2011-09-01 00:45:56 +00:00
Johannes Schlüter
c2ca9678fa
- Change PDO_oci connection defaults to match Oracle XE defaults, higher chance
...
to work out of the box
2011-08-31 23:42:04 +00:00
Pierre Joye
e44ad565f0
- error msg may vary (parser)
2011-08-31 23:12:35 +00:00
Matteo Beccati
03ef913497
Fixed test. Apparently it was already fixed on PHP_5_3 98% of the cases and
...
the fix wasn't ported to trunk/PHP_5_4. However the very same test was failing
on my FreeBSD 6.2 box, that appears to also decode the "ks_c_5601-1987" parts,
so I've made the test more generic.
2011-08-31 22:38:20 +00:00
Matteo Beccati
a3a5b2197c
Fixed false positive failure on gcov
2011-08-31 22:12:53 +00:00
Johannes Schlüter
39b0be5126
- Register extensions using mysqlnd (mysql, myslqi, pdo_mysql) with mysqlnd
2011-08-31 20:30:08 +00:00
Pierre Joye
7953b9b39b
- error msg may vary (parser)
2011-08-31 20:16:11 +00:00
Boris Lytochkin
2c5c7a2ef3
tune text align
2011-08-31 20:15:32 +00:00
Pierre Joye
133b000404
- error msg may vary (parser)
2011-08-31 20:14:13 +00:00
Pierre Joye
05afcc2b26
- error msg may vary
2011-08-31 20:10:22 +00:00
Pierre Joye
b5152bcff2
- typo
2011-08-31 20:07:44 +00:00
Boris Lytochkin
ce6b3f95f2
test coverage for SNMP::ERRNO_MULTIPLE_SET_QUERIES
2011-08-31 19:44:39 +00:00
Tjerk Anne Meesters
892ac1fe58
Fixed expect format to ignore the textual error message from readlink().
...
Bug #55555
2011-08-31 18:26:23 +00:00
Andrey Hristov
604fa1537a
Fix valgrind error (sending of initialized bytes over the network).
...
When the compression was successful the compressed data + uninitialized data
at the end was sent to the server, because the length of the compressed payload
wasn't correctly calculated (actually the length of the uncompressed payload as assumed).
However, the uncompress() function has internally the length of the real payload and skips
the binary trash at the end - thus no data damage occurs!
2011-08-31 18:18:23 +00:00
Johannes Schlüter
35597286d6
- Update PDO_mysql error mapping
2011-08-31 15:46:07 +00:00
Pierre Joye
4fb7afb0bf
- force LF eol style as this test depends on it
2011-08-31 15:44:01 +00:00
Pierre Joye
833451320e
- force LF eol style as this test depends on it
2011-08-31 15:42:42 +00:00
Johannes Schlüter
dd8f68ecb0
- Be less restrictive on the SQL state, some server versions might fool us
2011-08-31 15:25:18 +00:00
Ulf Wendel
af73e4aab6
Please, whenever changing the mysqli API update the tests. Don't wait for me to catch up.
2011-08-31 13:59:28 +00:00
Ulf Wendel
776d1e5ece
New utility function to check for '[1148] The used command is not allowed with this MySQL version' during SKIPIF
2011-08-31 13:50:58 +00:00
Rui Hirokawa
ad24758ee9
added alias for *-mobile encodings.
2011-08-31 13:18:44 +00:00
Ulf Wendel
d920185b9c
Check if server supports LOAD DATA LOCAL INFILE to catch [1148] The used command is not allowed with this MySQL version during SKIPIF
2011-08-31 12:58:25 +00:00
Pierre Joye
11f3294ee0
- force LF eol style as this test depends on it (size)
2011-08-31 12:26:55 +00:00
Christian Stocker
2ea8e38615
simplexml->query returns empty array if no nodes were found
...
and false if libxml thinks the xpath-expression was invalid.
Behaves now the same like DomXPath and fixes Bug #48601
Adjusted a test to reflect that change
2011-08-31 11:44:22 +00:00
Pierre Joye
9dd75489fe
- force LF eol style as this test depends on it (size)
2011-08-31 11:27:36 +00:00
Pierre Joye
e7158d35ab
- force LF eol style as this test depends on it (size)
2011-08-31 11:25:09 +00:00
Pierre Joye
40e09c4b7a
- parser version independent
2011-08-31 11:18:13 +00:00
Pierre Joye
14866642e1
- parser version independent
2011-08-31 11:16:25 +00:00
Johannes Schlüter
8cf651ad99
- Fix Bug #55550 mysql.trace_mode miscounts result sets,
...
fixes ext/mysql/tests/mysql_deprecated_api.phpt
2011-08-31 11:11:08 +00:00
Pierre Joye
7f231eade7
- use only the test name
2011-08-31 10:46:20 +00:00
Pierre Joye
54591710f0
- use only the test name
2011-08-31 10:43:39 +00:00
Pierre Joye
f15d9278eb
- use only the test name
2011-08-31 10:30:39 +00:00
Pierre Joye
6181baf15a
- use only test name
2011-08-31 10:22:18 +00:00
Hannes Magnusson
658c920e4c
Remove annoying extra newline on XFAIL summaries
...
and sync text to trunk
2011-08-31 10:09:54 +00:00
Pierre Joye
b77e264772
- force LF eol style as this test depends on it (size)
2011-08-31 10:08:55 +00:00
Pierre Joye
fbb1663806
- make it parser version independent
2011-08-31 10:05:54 +00:00
Christian Stocker
01e115324a
- Set an empty string and avoid warnings and stopping of the transformation process
...
when a php function can't be called.
- Fixed tests.
2011-08-31 09:14:08 +00:00
Christian Stocker
43527a0f1c
fixed libxml tests
2011-08-31 08:58:12 +00:00
Pierre Joye
f87065f3d1
- force LF eol style as this test depends on it (size)
2011-08-31 08:35:57 +00:00
Boris Lytochkin
b448bb5e01
more tuning based on discussion in FR #40816 :
...
* parse all OIDs earlier, detect all wrong OIDs before any query
is made (GET-operations)
* introduce ERRNO_MULTIPLE_SET_QUERIES:
warn if request contains more OIDs than max_oids and SET operation
(and type&value checks) will be done in chunks.
fix set method when request contains more OIDs than max_oids (2nd and
subsequent chunk were ignored)
2011-08-31 08:28:13 +00:00
Xinchen Hui
92e84dbe3f
Fixed test failed
2011-08-31 07:49:52 +00:00
Rasmus Lerdorf
dd4e07b9b4
Since we are creating this csv file locally this should obviously
...
be a a LOCAL infile here for this to work reliably. For robustness
this should probably have a check for the local-infile server
setting as well.
2011-08-31 07:43:58 +00:00
Christian Stocker
190e36b47a
MFB. fix xsl date tests
2011-08-31 07:38:19 +00:00
Xinchen Hui
8c93430a6a
Fixed test failed, due to error message changed
2011-08-31 07:37:42 +00:00
Stanislav Malyshev
a84c0ab32b
fix strptime tests for mac
2011-08-31 07:34:07 +00:00
Rasmus Lerdorf
76976d0702
Fix test. I have no idea why the test author didn't expect to get back
...
latin2 when the test is setting it to latin2 here. Both PHP and MySQL
are doing the right thing here.
2011-08-31 07:19:20 +00:00
Stanislav Malyshev
25031cd387
test fixes on Darwin
2011-08-31 07:10:17 +00:00
Gustavo André dos Santos Lopes
6690258734
- Fixed test htmlentities15.phpt.
2011-08-31 06:32:05 +00:00
Gustavo André dos Santos Lopes
5463f5f93a
- Fixed tests when run from outside their directory.
2011-08-31 06:23:24 +00:00
Gustavo André dos Santos Lopes
f0abb36192
- html_tables.h regeneration.
2011-08-31 05:47:19 +00:00
Gustavo André dos Santos Lopes
1a9d43a807
- Less GCC warnings; code less readable, yay!
...
- Fixed html_tables.h generaration in 64-bit archs.
- Closes bug #55394 - Patch to suppress initialization warnings in html.c
#signed/unsigned mismatches for another day
#regenerated tables on another commit
2011-08-31 05:45:02 +00:00
Stanislav Malyshev
2459296ff5
fix tests
2011-08-31 04:24:48 +00:00
Matteo Beccati
25ebbe6464
Fixed a few false positives on gcov for ext/pgsql
2011-08-30 14:01:03 +00:00
Hannes Magnusson
eba373139c
Add skipifs for bug#54971 (patch by datibbaw@)
2011-08-30 13:46:24 +00:00
Hannes Magnusson
f41105f56f
Fixed bug#48476
2011-08-30 13:41:57 +00:00
Xinchen Hui
1f3536a019
Fixed testing failed
2011-08-30 12:11:03 +00:00
Hannes Magnusson
3c1874143c
Fixed bug#55430, introduce the session.upload_progress family to the world
2011-08-30 11:13:22 +00:00
Pierre Joye
361903fbce
- ws
2011-08-30 05:44:37 +00:00
Felipe Pena
cb74745d2f
- Fixed ZTS build
2011-08-30 01:33:42 +00:00
Gustavo André dos Santos Lopes
6affeb6b60
- Turns out the external entity loader is not a per-thread global but a true
...
global. Changed code accordingly; however, applications that embed PHP and
also use libxml2 may be affected negatively.
2011-08-30 01:08:22 +00:00
Arpad Ray
88e36378ff
add friendly log messages (req #55109 )
2011-08-29 21:59:27 +00:00
Arpad Ray
1a2c15f912
Expose session status via new function, session_status (Req #52982 )
2011-08-29 21:29:26 +00:00
Hannes Magnusson
53bfe76489
fixed bug #55267 - session_regenerate_id fails after header sent even if session.use_cookies = 0
2011-08-29 21:20:41 +00:00
Hannes Magnusson
23b3468bc9
Add missing session ini options "skeletons" until they become atleast documented
2011-08-29 20:50:33 +00:00
Arpad Ray
a912bd3c23
Fixed bug #55366 : keys lost when using substr_replace an array
2011-08-29 20:38:52 +00:00
Arpad Ray
98b42d722d
remove duplicate news entry
2011-08-29 20:36:22 +00:00
Derick Rethans
b0be274324
- Zend engine part for bug #55158 : Add SORT_NATURAL type to array_multisort
...
(patch by Arpad Ray).
2011-08-29 20:24:09 +00:00
Arpad Ray
4a6c2a8b44
add support for SORT_NATURAL and SORT_FLAG_CASE in array sort functions
2011-08-29 20:23:34 +00:00
Derick Rethans
a34e9efcfa
- Updated to version 2011.9 (2011i)
2011-08-29 16:37:56 +00:00
Hannes Magnusson
8e74e30411
Fixed bug#53872 (internal corruption of phar)
2011-08-29 16:05:45 +00:00
Stefan Marr
1f4dfded59
Fixed bug #55524 Traits should not be able to extend a class
...
# also used the Z_STRVAL where it seemed appropriate
2011-08-29 15:53:46 +00:00
Gwynne Raskind
a1501cf142
Add unescaped Unicode encoding to json_encode(). Closes bug #53946 . Patch by Irker and Gwynne.
2011-08-29 14:56:19 +00:00
Hannes Magnusson
2c2c113b77
Changed error messages
2011-08-29 14:29:40 +00:00
Hannes Magnusson
3a5f7c6348
Fixed bug#52013 (Unable to decompress files in a compressed phar)
2011-08-29 14:19:54 +00:00
Hannes Magnusson
fac70ca0f4
The Phar class extends RecursiveDirectoryIterator, which has changed the way it ensures its ctor is called
2011-08-29 14:17:41 +00:00
Pierre Joye
934aba9f4f
- fix build, TSRMLS_FETCH must be the last declaration statement and init using TSRM cannot be done before either
2011-08-29 10:10:05 +00:00
Rasmus Lerdorf
74d06b92c7
Let's do more than hope (as per the comment in the test code) that we
...
don't hit the memory limit, let's disable the limit for this test
since the limit is getting hit by many people
2011-08-29 08:21:42 +00:00
Rasmus Lerdorf
509b26a27b
The link error on an out-of-sync command doesn't start with 0
...
uwe/andrey please double-check
2011-08-29 06:47:07 +00:00
Rasmus Lerdorf
bf3bb1efbe
Fix another broken test. root can read 0200 files.
2011-08-29 06:19:40 +00:00
Gustavo André dos Santos Lopes
1d5e508658
- Added libxml_set_external_entity_loader().
2011-08-29 05:00:26 +00:00
Rui Hirokawa
30f0f5e41c
reduced footprint for sjis-mac
2011-08-28 04:32:22 +00:00
Rasmus Lerdorf
24f00c11d6
<?= is always enabled now
2011-08-27 19:00:59 +00:00
Boris Lytochkin
5ab9e7b5db
export ERRNO_OID_PARSING_ERROR constant:
...
raise it evry time OID parsing has failed
2011-08-27 08:16:32 +00:00
Boris Lytochkin
1464da9073
reformat OID parsing procedure,
...
fail whole SNMP query on single OID parsing failure
2011-08-27 07:24:44 +00:00
Rui Hirokawa
60d5ac840c
corrected valid unicode area.
2011-08-27 01:25:10 +00:00
Rui Hirokawa
e20f46a43e
update pua conversion tables.
2011-08-27 00:07:20 +00:00
Andrey Hristov
ee17839f20
fix valgrind warnings in debug builds
2011-08-26 12:14:31 +00:00
Sebastian Bergmann
a70240637d
Close #55490 .
2011-08-26 07:40:31 +00:00
Boris Lytochkin
fa09c70704
tune test's README more per FR #55474
2011-08-25 06:00:11 +00:00
Rui Hirokawa
4122ef275c
added iso2022jp-mobile and emoji unsuppoted in unicode 6.0.
2011-08-24 15:28:44 +00:00
Xinchen Hui
d7e0ccbc5a
Eliminated compile warning "comparison is always false due to limited range of data type"
...
Fixed test failed due to mysql_pconnect throw warning
Fixed test failed when host mysql server doesn't listen on 3306
2011-08-24 10:15:47 +00:00
Scott MacVicar
562d5ec4a2
Fix typo in tests for ldap bug #42060
2011-08-24 06:50:39 +00:00
Christopher Jones
7a280ee650
Update log, marking 5.4 and trunk as XFAIL due to bug #55496
2011-08-23 20:59:10 +00:00
Boris Lytochkin
1aed8a8c1c
apply docs fixes suggested in BR #55474
2011-08-23 19:13:49 +00:00
Pierre Joye
048485587e
- ws
2011-08-23 18:32:53 +00:00
Daniel Convissor
8131f04f9a
Fix differences in some sub() results that were causing tests to fail.
2011-08-23 16:40:19 +00:00
Johannes Schlüter
e7b173152c
- Add a note to mention changeLog and downloads in the news entry
2011-08-23 15:43:40 +00:00
Hannes Magnusson
17fb5f539d
Sync -development with -production
2011-08-23 10:00:18 +00:00
Xinchen Hui
d05c878d10
update NEWS
2011-08-23 02:48:28 +00:00
Christopher Jones
981b9878d4
Sync date with actual PECL release date for correctness
2011-08-22 23:56:34 +00:00
Christopher Jones
f54e65c843
Remove duplicated test
2011-08-22 18:06:08 +00:00
Xinchen Hui
f7c6c67d19
Added _SERVER[SERVER_SOFTWARE] for built-in server
2011-08-22 15:51:49 +00:00
Daniel Convissor
143b2a8692
Fix spring tests for dst/st transition second.
2011-08-22 14:47:12 +00:00
Xinchen Hui
1e0e85ec1a
Fixed #55463 (cli-server missing _SERVER[REMOTE_ADDR])
2011-08-22 11:55:41 +00:00
Andrey Hristov
db3cc02dc9
Don't run the test on windows, Unix specific
2011-08-22 11:07:35 +00:00
Andrey Hristov
9baee85844
Fix Bug #55473 mysql_pconnect leaks file descriptors on reconnect
...
The fix is for now in 5_4 and trunk, to be merged into 5_3 after 5.3.8
is packaged (expected today). The test case goes to all branches
2011-08-22 10:42:43 +00:00
Pierre Joye
60dd9e0bd9
- fix typo & build
2011-08-22 07:39:09 +00:00
Rasmus Lerdorf
7fbf19566d
Debian/Ubuntu don't have any special CFLAGS listed here for
...
gssapi which shouldn't break the build.
2011-08-21 22:57:13 +00:00
Xinchen Hui
1429b430b5
update NEWS.
2011-08-21 12:24:19 +00:00
Pierre Joye
9770f6041a
- Fix bug #55471 , fix zts build with dtrace (Laruense)
2011-08-21 11:51:00 +00:00
Rui Hirokawa
a56532a4ae
cleanup jisx0213 table.
2011-08-21 05:02:21 +00:00
Rui Hirokawa
61dae0f7e3
speed improvement of jisx0213 conversion.
2011-08-21 02:22:53 +00:00
Boris Lytochkin
c1b90f45f5
IPv6 Support for SNMP. (FR #42918 )
2011-08-20 20:56:02 +00:00
Boris Lytochkin
8c99efcdf0
Adding IPv6 support (FR #42918 )
2011-08-20 15:53:44 +00:00
Boris Lytochkin
e55522838e
more code coverage
2011-08-20 14:50:49 +00:00
Rui Hirokawa
dcf0dfb9ab
removed SJIS-Mobile#*PUA.
2011-08-20 08:27:57 +00:00
Rui Hirokawa
1fe350e271
update NEWS.
2011-08-20 07:27:48 +00:00
Rui Hirokawa
c746cf5dc9
updated libmbfl to 1.3.2 (JISX-0213:2004 support).
2011-08-20 07:24:04 +00:00
Stanislav Malyshev
4f980905a0
Unbreak crypt() (fix bug #55439 )
...
# If you want to remove static analyser messages, be my guest,
# but please run unit tests after
2011-08-19 22:49:18 +00:00
Pierre Joye
9fbde3c349
- undefine CALLBACK (btw, generic names like that should be avoided, w/o prefix :)
2011-08-19 11:35:37 +00:00
Pierre Joye
29d7e7e8c0
- fix build
2011-08-19 11:33:59 +00:00
Pierre Joye
15c1a73678
- Fixed bug #52461 (Incomplete doctype and missing xmlns)
2011-08-19 09:59:47 +00:00
Xinchen Hui
ac088cd6c2
News for bug #55450
2011-08-19 08:52:29 +00:00
Xinchen Hui
7790c4d975
Fixed #55450 (Built in web server not accepting file uploads), which might break #55121 fixing(r313677)
...
Reopened #55121 to let somebody redone the fixing(as I can't reproduce 55121 in redhat 64-bit).
2011-08-19 08:30:26 +00:00
Xinchen Hui
2ebe3799b1
Fixed #55457 for 5.4 branch
...
Use ssize_t instead of long (as pierre suggestion)
2011-08-19 07:40:51 +00:00
Xinchen Hui
e385f3ccf4
Fixed #55457(cli built-in web server does not work with IE), introduced by r315128
2011-08-19 07:24:35 +00:00
Pierre Joye
3202573bef
- do not use 64bit integer instead of size_t (can't be alloc'ed), or when the actual possible values are 32bit or lower only
2011-08-18 09:16:04 +00:00
Etienne Kneuss
cb8d6198df
Fix bug #55445 (Incomplete implementation of <?= being independant of short_open_tag)
2011-08-17 23:50:04 +00:00
Hannes Magnusson
5e0bf53ca2
Once is generally enough
2011-08-17 12:26:43 +00:00
Pierre Joye
83414d2e53
- WS
2011-08-17 11:59:39 +00:00
Pierre Joye
ad76cffcde
- use provided stdint.h and avoid double definitions
2011-08-17 11:56:04 +00:00
Andrey Hristov
9ae3777b10
compile out when PHP_DEBUG is not present
2011-08-17 11:15:55 +00:00
Hannes Magnusson
bddb3d6c5d
docref_root is now required for html_errors to do anything
2011-08-16 14:52:54 +00:00
Felipe Pena
8db63e8874
- Drop T_SCALAR_CAST
2011-08-16 12:13:35 +00:00
Felipe Pena
35c9c4ed2d
- Fixed ZTS build
2011-08-16 12:01:36 +00:00
Hannes Magnusson
b55d116e9a
Improve errormessage on wrong use statements
2011-08-16 10:46:49 +00:00
Hannes Magnusson
306c42023e
Callable typehint following the rules of is_callable($arg, false);
2011-08-16 10:44:47 +00:00
Stefan Marr
466d5414df
Bug #55424 Fatal error when calling a method from a trait that is defined in 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.
2011-08-15 22:16:58 +00:00
Stefan Marr
f4d3d6c439
Fixed Bug #55355 : Inheritance chain was not regarded when checking whether the abstract method of a trait is satisfied.
2011-08-15 11:16:18 +00:00
Stefan Marr
b14b440c93
Fixed Bug #55372 Incorrect handling of literals led to memory corruption.
...
# Dmitry you might want to review this patch, since I split up zend_add_literal
# and added a version for post-pass_two() usage.
2011-08-15 09:54:06 +00:00
Stefan Marr
adfdd01372
Addendum for patch to bug #55214 : Class name was freed before method literal referring to it.
...
# Thanks to Felipe for catching this.
# The fix duplicates the name into the literal to avoid the dependency
2011-08-15 08:29:48 +00:00
Rui Hirokawa
a3ac99b0aa
NEWS update for mbstring.
2011-08-14 14:09:54 +00:00
Rui Hirokawa
484e6b8fb3
added gb18030 encoding to mbstring/libmbfl.~
2011-08-14 14:09:11 +00:00
Rui Hirokawa
b371e0d1fd
fixed compile warning.
2011-08-13 13:17:36 +00:00
Rui Hirokawa
1ec46d3fe3
fixed win32 build.
2011-08-13 12:53:40 +00:00
Rui Hirokawa
360d18c479
added UTF-8-Mobile for pictogram support.
2011-08-13 12:44:28 +00:00
Christopher Jones
0fe5527ed2
More test portability fixes mostly for gcov.php.net
2011-08-13 00:43:34 +00:00
Etienne Kneuss
80742189b8
Fix CID 593 Mark the missing break by an explicit comment, we DO intend to fall through here
2011-08-12 22:20:35 +00:00
Etienne Kneuss
5128d59331
Fix CID 538/539, explicitely check for something that should never occur
2011-08-12 22:05:10 +00:00
Etienne Kneuss
81700b8b2f
Fix CID 1211, unused intern variable
2011-08-12 21:46:40 +00:00
Andrey Hristov
566a367ef6
prevent a crash if cs is NULL, which can happen with MS and lazy connections
2011-08-12 14:55:00 +00:00
Ulf Wendel
94b7b548c5
MySQL 5.6 fractional seconds and PS
2011-08-12 11:51:44 +00:00
Ulf Wendel
caca693403
Andrey, please have a look. Not sure if the test is correct, e.g. MySQL 5.5.3+ really needed?
2011-08-12 11:23:36 +00:00
Ulf Wendel
17fb279359
Andrey, please have a look. This should not cause errors.
2011-08-12 11:23:16 +00:00
Xinchen Hui
fa1883de19
Omitted GCC warning "comparison is always false"
2011-08-12 07:47:03 +00:00
Uwe Schindler
96eff17161
Bug #55403 : Don't set $_SERVER['HTTPS'] on unsecure connection
2011-08-11 20:25:24 +00:00
Ilia Alshanetsky
78c823067f
Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path)
2011-08-11 13:01:52 +00:00
Xinchen Hui
e780e7bfb9
Recored change into regex.patch
2011-08-11 07:52:04 +00:00
Pierre Joye
a652bb991d
- fix build (introduce by r314641)
2011-08-11 07:11:39 +00:00
Dmitry Stogov
69e98c9a61
Fixed possible memory leak
2011-08-11 06:38:42 +00:00
Rasmus Lerdorf
46f5813895
Use HOST_NAME_MAX constant here instead for the gethostname() func
2011-08-10 17:40:56 +00:00
Derick Rethans
840ef1e320
- Turn on html_errors by default again in php.ini-production like it was in
...
PHP 5.3, but only generate docref links when the docref_root INI setting is
not empty.
2011-08-10 16:31:29 +00:00
Ilia Alshanetsky
b207eebf57
Fix win32 build
2011-08-10 15:59:32 +00:00
Ilia Alshanetsky
d73bad2f93
Fixed memset usage (identified by coverity)
2011-08-10 15:30:07 +00:00
Andrey Hristov
e289cf7267
relax constraint
2011-08-10 14:12:24 +00:00
Dmitry Stogov
dc5b3231dc
Fixed bug #55323 (SoapClient segmentation fault when XSD_TYPEKIND_EXTENSION contains itself)
2011-08-10 13:44:48 +00:00
Xinchen Hui
d5688cd19e
Eliminated compiler's warnings
2011-08-10 11:59:11 +00:00
Michael Wallner
70c284009d
fix coverity issue 1054: missing break/return
2011-08-10 11:01:09 +00:00
Pierrick Charron
1a41799226
Remove unused variable
2011-08-10 01:12:52 +00:00
Nuno Lopes
58da15422c
terminate timeouting processes with SIGKILL (9)
2011-08-09 21:53:44 +00:00
Scott MacVicar
0c83631303
Fix building of pure C++ extensions as static
2011-08-09 18:12:06 +00:00
Scott MacVicar
1e960014c1
Fix typos in UPGRADING
2011-08-09 15:27:25 +00:00
Rui Hirokawa
79d418845e
update the news.
2011-08-09 15:11:33 +00:00
Ilia Alshanetsky
de6cd955d6
Make static analyzers happy
2011-08-09 14:11:56 +00:00
Ilia Alshanetsky
521ce49819
Minimize stack usage and added missing dtors
2011-08-09 13:10:57 +00:00
Xinchen Hui
5dc3195897
Avoiding strcpy, strcat, sprintf usage to make static analyzer happy
2011-08-09 12:16:58 +00:00
Xinchen Hui
571427c7db
Avoiding strcpy usage, Make static analyzer happy
2011-08-09 09:35:42 +00:00
Scott MacVicar
7402dee014
Update SQLite3 to the latest version
2011-08-09 07:31:34 +00:00
Joey Smith
b61ea14729
Fix an unchecked return - change was back-migrated
...
from version 3.7.6.3 of sqlite.c from upstream.
2011-08-09 06:36:47 +00:00
Xinchen Hui
956e163784
Eliminated compiler's warnings and make static analyzer silent
2011-08-09 05:11:19 +00:00
Pierrick Charron
71f76fe4d6
Remove unused variable
2011-08-09 02:42:25 +00:00
Pierrick Charron
5998f27321
Remove unused variable
2011-08-09 02:37:02 +00:00
Gustavo André dos Santos Lopes
177645fd05
- Elided unused argument in internal linkage function.
2011-08-09 00:40:45 +00:00
Xinchen Hui
61f80c9b08
Remove unnecessary(no sense) memset and making the static analyzer silent
2011-08-08 16:57:46 +00:00
Ilia Alshanetsky
e35f670e2d
Another build fix relating to previous DOM commit
2011-08-08 16:49:43 +00:00
Rui Hirokawa
fee9fe0334
reduced memory footprint for codepages.
2011-08-08 16:14:30 +00:00
Ilia Alshanetsky
022d279a98
Fixed build
2011-08-08 16:06:40 +00:00
Etienne Kneuss
f8154b0288
Fix typo
2011-08-08 14:52:34 +00:00
Ilia Alshanetsky
bfdd53cd04
Removal of deadcode identified by coverity
2011-08-08 13:45:18 +00:00
Ilia Alshanetsky
0c1516f174
Removed deadcode
2011-08-08 12:14:58 +00:00
Ilia Alshanetsky
9c834bd51c
Make static analyzers happy
2011-08-08 12:10:27 +00:00
Etienne Kneuss
482e4b9d70
Fix validator for SplFileInfo constructor
2011-08-08 12:05:34 +00:00
Pierrick Charron
7f203d4385
Fix typo
2011-08-08 11:30:56 +00:00
Pierrick Charron
5035c11f0e
Use snprintf to make the static analyzers happy
2011-08-08 11:19:49 +00:00
Xinchen Hui
802b871ea1
Sizeof mismatch
2011-08-08 08:49:55 +00:00
Derick Rethans
8ea0c7d6e6
- Document the new ZEND_DONT_UNLOAD_MODULES environment variable.
2011-08-08 07:42:58 +00:00
Xinchen Hui
8de80c9679
Prevented the warning about truncate int to char
2011-08-08 07:12:12 +00:00
Xinchen Hui
caedca8dd0
Make codes more clearly, and make the static analyzer silent..
2011-08-08 06:49:17 +00:00
Pierrick Charron
6ea19be489
Use snprintf and strncat to make the static analyzers happy
2011-08-08 03:08:59 +00:00
Xinchen Hui
8bae5e220e
Wrong sizeof
2011-08-08 02:33:03 +00:00
Xinchen Hui
4e97a9fc3f
Remove no sense statements
2011-08-08 00:47:40 +00:00
Ilia Alshanetsky
ebefefeba8
Avoid strcpy() usage
2011-08-08 00:07:54 +00:00
Ilia Alshanetsky
04d7804aec
Fixes for variety of issues identified by coverity scan
2011-08-07 23:46:00 +00:00
Gwynne Raskind
5a64b06289
possible use without init fixed
2011-08-07 18:12:52 +00:00
Derick Rethans
20936960b5
- Fixed bug #55378 : binary number literal returns float number though its value
...
is enough small
2011-08-07 17:36:31 +00:00
Gwynne Raskind
dfe8fbca9e
Front- and back-port rev 314431 (missing php.h include)
2011-08-07 17:15:40 +00:00
Gwynne Raskind
b8a2da31b1
Back- and front-port fixes for #55019
2011-08-07 17:14:14 +00:00
Gwynne Raskind
9e9c9b3430
For 5.4, fix C++-style comments. For trunk, forward-port build fix.
2011-08-07 16:31:21 +00:00
Rasmus Lerdorf
7eb5bbbf65
Fix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for these
...
static string copies
2011-08-07 16:10:34 +00:00
Rasmus Lerdorf
d9845c2046
More signed 1-bit bitfields
2011-08-07 15:57:35 +00:00
Rasmus Lerdorf
25cdff4d75
Signed 1-bit bitfields make no sense
2011-08-07 15:52:46 +00:00
Rasmus Lerdorf
bfffb28ebf
Not an issue here, but a good habit to follow consistently. Never use strcpy/strcat.
2011-08-07 15:45:18 +00:00
Rasmus Lerdorf
97bc4c8403
Make static analyzers happy
2011-08-07 15:38:36 +00:00
Xinchen Hui
2ce3f11f4b
revert -r314422
...
No need to check erealloc's return
2011-08-07 14:25:30 +00:00
Xinchen Hui
a35462c71c
Fixed bug that may dereferenced NULL pointer before checking
2011-08-07 13:19:04 +00:00
Felipe Pena
f9ca0cacb3
- Revert r314387
...
(property_info.name has the mangled name)
2011-08-07 13:04:02 +00:00
Xinchen Hui
937f7fa876
Initialize variable with fixed value for avoiding compile warnings
2011-08-07 11:13:27 +00:00
Pierrick Charron
caff611cf3
Remove unused variables
2011-08-07 06:37:22 +00:00
Pierrick Charron
3751efa3dc
function_name cannot be false
2011-08-07 06:19:43 +00:00
Pierrick Charron
ae1746c876
class entry is never used
2011-08-07 06:04:11 +00:00
Pierrick Charron
21232aa9f2
Pointer returned is never used
2011-08-07 05:46:31 +00:00
Xinchen Hui
ad0cfd9865
Initialize temp with 0, avoiding compile warning
2011-08-07 05:24:11 +00:00
Xinchen Hui
66527e38cc
Fixed the bug that temp may depend on a uninitialzed value
2011-08-07 05:19:55 +00:00
Rasmus Lerdorf
2b874abb74
Good catch Coverity
2011-08-07 03:25:19 +00:00
Rasmus Lerdorf
c44c0490d5
Since we have fci_cache = &fci_cache_local inside that block
...
and fci_cache is then later used outside the block, fci_cache_local
can't be block-scoped here
2011-08-07 00:50:46 +00:00
Rasmus Lerdorf
8dc951194b
I'm pretty sure you didn't mean to multiple by the size of a char* there
...
since that makes no sense. output is an array of char, not an array of
char*
Pierre, please review
2011-08-07 00:36:26 +00:00
Rasmus Lerdorf
50d67ef7b5
Use snprintf here instead to make the static analyzers happy.
2011-08-07 00:25:22 +00:00
Rasmus Lerdorf
c70aa9436a
These naked strcpy()s scare me
2011-08-07 00:18:38 +00:00
Rasmus Lerdorf
71af9259e3
Use property_info.name here instead since *name might be free'ed at this point
...
@dmitry please review
2011-08-07 00:01:17 +00:00
Rasmus Lerdorf
1a9f66d6d4
Avoid a potential double-free here
2011-08-06 23:42:52 +00:00
Rasmus Lerdorf
facfed523d
Not our issue, but fixing here for now and reporting upstream
2011-08-06 23:34:13 +00:00
Rasmus Lerdorf
1bc34a491c
Fix another Coverity warning by initializing this to NULL prior to the strtok_r call
2011-08-06 21:10:29 +00:00
Rui Hirokawa
bc514c8339
changed mapping of 0xa5 for SJIS-mac to prevent security attack.
2011-08-06 15:23:06 +00:00
Felipe Pena
9480eace41
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
2011-08-06 14:47:44 +00:00
Rui Hirokawa
fc3e0ff1ec
fixed encoding conversion when http_input=auto.
2011-08-06 12:19:16 +00:00
Rui Hirokawa
70eb1c1267
improved error handling for ill-formed utf-8 based on the Unicode recommendation.
2011-08-06 04:25:44 +00:00
Rui Hirokawa
b3414d3c02
added ill-formed utf-8 check for 0xEDXXXX.
2011-08-06 02:22:15 +00:00
Rui Hirokawa
2bc6bcb96e
updated libmbfl version to 1.3.1.
2011-08-06 01:48:45 +00:00
Felipe Pena
9c289189d3
- Added missing PHP_FE_END/ZEND_FE_END
2011-08-06 01:22:27 +00:00
Felipe Pena
65e381ba1d
- Fixed bug #55313 (Number of retries not set when params specified)
...
patch by: kevin at kevinlocke dot name
2011-08-06 00:59:21 +00:00
Rasmus Lerdorf
c9342c81d6
efree match_sets on an error here - found by Coverity
2011-08-05 22:39:40 +00:00
Rasmus Lerdorf
dc1e148165
Another potential missing va_end() found by Coverity
2011-08-05 22:26:16 +00:00
Christopher Jones
68f785ac70
Improve test portabilty
2011-08-05 22:18:50 +00:00
Rasmus Lerdorf
1ac9192d46
Fix missing va_end() found by Coverity
2011-08-05 22:18:42 +00:00
Andrey Hristov
5f1107144a
Fix for bug #55283 SSL options set by mysqli_ssl_set ignored for MySQLi persistent connections
2011-08-05 13:39:30 +00:00
Rui Hirokawa
5bd3e8324d
added check for invalid utf-8 encoding (merge from libmbfl-1.3.1).
2011-08-05 04:28:24 +00:00
Rui Hirokawa
bab1e815d2
removed invalid 5,6 byte encoding from utf-8 based on Unicode 5.2.
2011-08-04 12:11:04 +00:00
Felipe Pena
8cf0864b8c
- Added missing check (thanks neweracracker at gmail dot com)
2011-08-04 10:56:59 +00:00
Andrey Hristov
11f198b203
Add mysqli_error_list() that returns an array with errors. Typically only
...
one and just one for libmysql. mysqlnd can return generate more than one error
during its work and with mysqli_error() only the last error is being reported.
In the array returned by mysqli_error_list() / $mysqli->error_list, all errors will be found.
The list is reset when the next command is executed
2011-08-04 09:51:26 +00:00
Felipe Pena
463de70efd
- Fixed possible efree(NULL) (bug #55296 )
2011-08-04 00:59:43 +00:00
Pierre Joye
38cb153c42
- update libcurl to 7.21.7
2011-08-03 13:19:03 +00:00
Rui Hirokawa
99a4948062
MF PHP_5_4.
2011-08-03 12:09:28 +00:00
Andrey Hristov
45867c1750
Remove a warning by explicitly compiling out a non-used variable
2011-08-02 15:30:58 +00:00
Andrey Hristov
71cb8322f5
completely compile out a currently non-needed function
2011-08-02 14:18:56 +00:00
Andrey Hristov
1abe1fb48f
compile out both parts of the code that are currently unused - fixes a compilation warning
2011-08-02 14:02:21 +00:00
Andrey Hristov
4d31e1d143
fix warnings due to change in zend_property_info (structure extended in the middle!!)
2011-08-02 13:41:20 +00:00
Dmitry Stogov
6803a38928
Fixed bug #55339 (Segfault with allow_call_time_pass_reference = Off)
2011-08-02 07:38:23 +00:00
Rui Hirokawa
5771c1fb86
added version number of libmbfl.
2011-08-02 03:18:53 +00:00
Rui Hirokawa
52948b534c
added new files of libmbfl 1.3.0.
2011-08-02 02:50:11 +00:00
Rui Hirokawa
17dc1d2610
updated libmbfl for version 1.3.0.
2011-08-02 02:42:41 +00:00
Jérôme Loyet
3bd0db004e
- Fixed bug #55340 (segfault when using some arguments -- bug introduced by commit r313351)
2011-08-02 00:58:51 +00:00
Dmitry Stogov
d4a80cfa8d
Fixed bug #55305 (ref lost: 1st ref instantiated in class def, 2nd ref made w/o instantiating)
2011-08-01 15:23:16 +00:00
Dmitry Stogov
74f68932b7
Added support for Class::{expr}() syntax (Pierrick)
2011-08-01 12:08:44 +00:00
Dmitry Stogov
8ff0701e8d
Fixed bug #50816 (Using class constants in array definition fails).
2011-08-01 11:21:23 +00:00
Stanislav Malyshev
5c42cde3cb
fix params parsing
2011-08-01 04:29:37 +00:00
Stanislav Malyshev
30aa3cea6a
fix tests
2011-08-01 03:42:02 +00:00
Stanislav Malyshev
553a08c4e1
fix failing tests
2011-08-01 01:00:57 +00:00
Stanislav Malyshev
b56c6b24ff
fix termination in sha-512 too
2011-07-31 23:14:04 +00:00
Stanislav Malyshev
2f1752cb49
retore open_basedir check for unlink
2011-07-31 22:43:21 +00:00
Stanislav Malyshev
d868c71617
fix salt truncation bug in sha256
2011-07-31 21:47:03 +00:00
Pierre Joye
991e108a85
- blowfish 1.2 update, 2nd part
2011-07-31 20:50:09 +00:00
Felipe Pena
4442b3f7a8
- Fixed tests
2011-07-31 18:51:15 +00:00
Stefan Marr
88f497f27d
Fixed Bug #55214 use of __CLASS__ within trait returns trait name not class name [TRAITS] [DOC]
2011-07-31 18:18:56 +00:00
Stefan Marr
dbc6849bca
Added __TRAIT__ magic constant [TRAITS] [DOC]
...
# __TRAIT__ behaves like __CLASS__ more or less but is constraint to traits.
# Since traits are not types, there are not many valid use cases, and trying
# to use __TRAIT__ to make traits more like classes is discouraged.
2011-07-31 17:39:30 +00:00
Stefan Marr
03f514d0a0
Added: SKIP when tokenizer extension is not available
2011-07-31 16:35:09 +00:00
Stefan Marr
70aad763e9
Fixed test which was assuming that E_STRICT is not on by default.
2011-07-31 16:15:40 +00:00
Felipe Pena
b07c3c3e01
- Fixed bug #55326 (Trait method copying misindentifies serialization callbacks)
...
patch by: Gustavo Lopes (cataphract@php)
2011-07-31 12:27:47 +00:00
Pierre Joye
d7819b62cc
- Fix #55301 (sybase part, take #2 ) check if malloc succeded
2011-07-28 21:16:51 +00:00
Dmitry Stogov
b32445d4f3
Reverted Gopal's patch that allowed plugable interned string check
...
1. It introduced a significant slowdown
2. It didn't fix the real problem in APC (I'm goint to commit the fix)
2011-07-28 12:01:42 +00:00
Pierre Joye
7cf389ad2c
- Fix #55301 (mssql part) check if malloc succeded
2011-07-28 11:01:04 +00:00
Pierre Joye
5703457cd0
- Fix #55301 (sybase part) check if malloc succeded
2011-07-28 10:58:28 +00:00
Pierre Joye
96b142795c
- Fix #55301 (url scanner part) check if malloc succeded
2011-07-28 10:52:45 +00:00
Pierre Joye
7053100f3d
- Fix #55301 (readline part) check if malloc succeded
2011-07-28 10:42:45 +00:00
Pierre Joye
27cb62423c
- Fix #55301 (interbase part) check if malloc succeded
2011-07-28 10:39:08 +00:00
Pierre Joye
e28e0ef658
- Fix #55301 (pdo_odbc part) check if malloc succeded
2011-07-28 10:37:04 +00:00
Pierre Joye
0c715414e0
- Fix #55301 (com_dotnet part) check if malloc succeded
2011-07-28 10:34:16 +00:00
Pierre Joye
40b059de97
- Fix #55301 (curl part) check if malloc succeded
2011-07-28 10:31:34 +00:00
Gopal Vijayaraghavan
8089b31002
merge to trunk - Allow zend_is_interned_string to be pluggable
2011-07-28 03:03:06 +00:00
Pierre Joye
7b9071f71d
- do safemode/open basedir checks 1st, and use only expand not realpath (it is done by the safemode/openbasedir check already)
2011-07-27 14:58:30 +00:00
Pierre Joye
b2e3d0abd5
- Fix #55295 , check if malloc failed
2011-07-27 14:23:06 +00:00
David Soria Parra
0beb0e7056
Check if given string is long enough in zend_*_strtod
2011-07-27 14:17:45 +00:00
Pierre Joye
dd06894b56
- do not resolve the link if all we want is to open that file
2011-07-27 12:20:32 +00:00
Pierre Joye
df16bb2aef
- WS
2011-07-27 11:58:39 +00:00
Pierre Joye
9f1689e429
- do not resolve the link if all we want is to open that file
2011-07-27 11:57:44 +00:00
Andrey Hristov
2e1825830f
longer error messages, don't cut them
2011-07-27 10:26:59 +00:00
Peter Cowburn
4d28bb722b
added (recursive)callbackfilteriterator to spl_classes() (bug #55287 )
2011-07-27 08:48:08 +00:00
Pierre Joye
011e29a956
- upgrading entry for binary number format
2011-07-27 00:18:35 +00:00
Pierre Joye
4d0f1bfeb4
- add binary suport, FR #50638 , as defined in RFC https://wiki.php.net/rfc/binnotation4ints , patch by Jonah Harris
2011-07-27 00:14:02 +00:00
Christopher Jones
823d7a0534
Add explicit casts to remove some of Pierre's snapshot build warnings
2011-07-27 00:04:23 +00:00
David Soria Parra
97913140b5
Fix #55269 (--enable-dtrace fail on FreeBSD)
2011-07-26 23:49:37 +00:00
Pierre Joye
fc8afdf178
- Fixed bug 55124, recursive mkdir fails with current (dot) directory in path
2011-07-26 17:44:20 +00:00
Ulf Wendel
498aaae6d8
Double check if line is sill usable and connected to last successfully selected db.
2011-07-26 16:14:59 +00:00
Ulf Wendel
8e3de07b4f
Check what happens if switching DB via API fails. Expected: no change of current DB/schema.
2011-07-26 15:37:59 +00:00
Ulf Wendel
63ebb30730
Would be nice if tests get updated whenever a feature is added by the person adding the feature...
2011-07-26 09:33:01 +00:00
Ulf Wendel
ff58394fd6
Fix mysqlnd detection
2011-07-26 09:30:49 +00:00
Pierre Joye
4cbca588f7
- simplify
2011-07-26 09:27:53 +00:00
Pierre Joye
438cc3e255
- use cwd_expand now
2011-07-26 07:30:41 +00:00
Christopher Jones
d1763936e2
Fix cast warning seen on some platforms
2011-07-25 23:40:57 +00:00
Christopher Jones
f4e6769e87
Patch r313663 and r313665 to allow PECL builds to work with earlier releases
2011-07-25 17:30:09 +00:00
Christopher Jones
c99ef832d5
Remove old testname. This file now diverges from PHP_5_3
2011-07-25 17:25:47 +00:00
Christopher Jones
9b32facc32
Update skipif
2011-07-25 17:22:48 +00:00
Pierre Joye
090bfcdfe1
- add expand_filepath_with_mode (not used anywhere yet but will be used for file ops (fopen&co) to avoid extra links resolution and other non required ops on open
2011-07-25 16:50:07 +00:00
Florian Anderiasch
a06539a10d
Fix #55121 Segfault with multipart/form-data POST
2011-07-25 16:45:39 +00:00
Ulf Wendel
658d0d66fd
Test update. 5.4+ is more verbose.
2011-07-25 15:07:54 +00:00
Ulf Wendel
43db337405
Test update. 5.4+ throws a catchable fatal error, 5.3 does not.
2011-07-25 14:53:01 +00:00
Popa Adrian Marius
44bdf8aab1
Replace FIELD with CONSTANT (that is the alias returned in Firebird stable 2.5.x )
2011-07-25 13:04:22 +00:00
Felipe Pena
06f18d8cca
- Fix compiler warning
2011-07-25 11:51:43 +00:00
Felipe Pena
28461a5f3c
- Use ZEND_FE_END macro here
2011-07-25 11:50:10 +00:00
Popa Adrian Marius
ed1d46aac4
fix ident
2011-07-25 11:41:06 +00:00
Felipe Pena
da376383e8
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
f8a3334c89
- Added new macro to be used in the end of zend_function_entry declaration (Gwynne)
2011-07-25 11:30:53 +00:00
Rasmus Lerdorf
c168ea8477
When you add something that changes the phpinfo output, please
...
update this test.
2011-07-25 05:32:08 +00:00
Stefan Marr
f9cb269d59
Added forgotten tests cases for class_uses() from commit rev. 313640
2011-07-24 10:20:08 +00:00
Stanislav Malyshev
3f43c3ef9d
No E_STRICT in production
2011-07-24 05:42:29 +00:00
Stanislav Malyshev
7bb8f9eecb
Change E_ALL to include E_STRICT
2011-07-23 22:07:22 +00:00
Pierre Joye
48870107dc
- MQ section
2011-07-23 20:45:18 +00:00
Pierre Joye
e708f4bb89
- add short array syntax, missing files and info
2011-07-23 20:27:08 +00:00
Pierre Joye
cbe0ed86e7
- add short array syntax as defined in https://wiki.php.net/rfc/shortsyntaxforarrays , 2nd solution using => only
2011-07-23 20:23:21 +00:00
Stefan Marr
35f58b972f
Added missing class_uses(..) function to SPL to mirror class_implements(..).
...
# Was pointed out as missing in bug #55266 .
2011-07-23 19:08:43 +00:00
Stefan Marr
c9fdd777fb
Fixed incorrect initialization when copied op_array.vars was NULL (TRAITS)
2011-07-23 18:12:31 +00:00
Stefan Marr
f295302af6
Fixed bug in the handling of conflicting property initializers for traits.
...
# 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.
2011-07-23 13:48:07 +00:00
Moriyoshi Koizumi
c724b2eeb1
- Give index.php a precedence over index.html. Patch by davidc.
2011-07-23 11:29:26 +00:00
Boris Lytochkin
1ed2f1cf5d
provide backwards compatibility for 'p' in zend_parse_parameters()
2011-07-23 07:40:40 +00:00
Scott MacVicar
39988d1263
When we have a blocking SSL socket, respect the timeout option.
...
reading from SSL sockets could block indefinitely due to the lack
of timeout
2011-07-23 01:29:44 +00:00
Felipe Pena
b2558d5f35
- Disable __sync_fetch_and_add for HPUX for now, gcc seems not provide __sync_fetch_and_add_4 for all targets
2011-07-23 01:08:24 +00:00
Pierrick Charron
fb5da94c1b
Delete empty test files (old MQ tests)
2011-07-22 12:12:05 +00:00
Pierre Joye
f169f6f478
- should not have been applied
2011-07-22 11:42:15 +00:00
Pierre Joye
ebe8f32891
- WS
2011-07-22 11:26:23 +00:00
Pierre Joye
cc1c7af037
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ
2011-07-22 11:25:30 +00:00
Daniel Convissor
5ef9ab3b03
Fix spelling error.
2011-07-21 19:56:54 +00:00
Daniel Convissor
800b0cfcba
Revert r311205. Test works in original form and should not vary between branches in this case.
2011-07-21 19:45:18 +00:00
Daniel Convissor
b93e77900e
Have test for add/sub/diff one second during ST/DST transition in spring.
2011-07-21 15:35:06 +00:00
Boris Lytochkin
96c45c85ad
s/noOIDIncreasingCheck/oid_increasing_check/
2011-07-21 12:47:07 +00:00
Moriyoshi Koizumi
1f396617eb
- Show PHP_VERSION in the banner. Suggested by Chris and others.
2011-07-21 07:31:29 +00:00
Ryan Biesemeyer
ce771a2883
removing openssl test for bug #55169 per Scott MacVicar's request; duplicate coverage of opensssl_random_pseudo_bytes.phpt
2011-07-20 21:25:39 +00:00
Ryan Biesemeyer
7b21ee9b3f
update test for bug #55169 , fix skipif
2011-07-20 21:13:03 +00:00
Ryan Biesemeyer
2ac4cd97c8
update test for bug #55169 , don't require the extension in INI
2011-07-20 20:57:17 +00:00
Ryan Biesemeyer
80cff0c0e9
tests for bug #55169 (mcrypt and openssl)
2011-07-20 18:59:05 +00:00
Daniel Convissor
038ba91426
Rename and enhance test for bug 55253 now that bugs web is up.
2011-07-20 18:24:14 +00:00
Moriyoshi Koizumi
b07ad1e1a2
Fixed bug #55071 . Maybe a bit overkill?
2011-07-20 09:00:20 +00:00
Moriyoshi Koizumi
06381a8f25
- Better error handling.
2011-07-20 08:43:12 +00:00
Moriyoshi Koizumi
81cd23df4a
- Fixed bug #55073 (PHP-CLI-webserver does not listen on ipv6 interfaces), letting getaddrinfo(3) validate IPv6 addresses.
2011-07-20 04:34:01 +00:00
Pierre Joye
69c3f8cbba
- re apply the rng change specific to windows, long term it should be a std function but as this function was badly introduced in the 1st place, we have to fix the bad things here instead, pls do not revert again, bad idea.
2011-07-19 23:01:41 +00:00
Jérôme Loyet
9620fb7e09
- Dropped restriction of not setting the same value multiple times, the last one holds (giovanni at giacobbi dot net)
2011-07-19 22:38:04 +00:00
Scott MacVicar
25fb19764a
Revert change to use a special Windows version of openssl_random_pseudo_bytes().
...
Lets discuss this on internals first. We're advertising something from the OpenSSL library
and then subverting it with another Windows OS call.
What are the implications of this? Should we make this available in ext/standard/ instead?
2011-07-19 22:29:55 +00:00
Jérôme Loyet
3d10c57cd6
- enhanced log messages
...
- code cosmetic
2011-07-19 22:18:08 +00:00
Scott MacVicar
02581a0052
openssl_encrypt() / openssl_decrypt() were flawed and truncated the key to the default size for the case of a variable key length cipher.
...
The result is a key of 448 bits being passed to the blowfish algorithm would be truncated to 128 bit.
Also fixed an error in the zend_parse_parameters() having an invalid character being used.
2011-07-19 22:15:56 +00:00
Felipe Pena
e97b0d7522
- Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4)
2011-07-19 22:12:13 +00:00
Popa Adrian Marius
fcf8f2bcaf
Fix for bug http://bugs.php.net/54426
...
Checks for NULL are wrong as the values can be provided by the triggers
2011-07-19 20:08:42 +00:00
Moriyoshi Koizumi
9f98a430fd
- Fixed bug #55107 (Null bytes in URL cause insecure behavior (code execution / code disclosure)).
2011-07-19 18:17:25 +00:00
Moriyoshi Koizumi
7505322d15
- Buffers are local to the blocks where they belong.
2011-07-19 18:00:16 +00:00
Moriyoshi Koizumi
8e42748a37
- Print HTTP method as well in the log.
...
- Print response code also when the request is processed by a script.
- Those changes partly closes #55109 .
2011-07-19 17:47:34 +00:00
Pierre Joye
8ebba9c69d
- cleanup
2011-07-19 12:02:22 +00:00
Pierre Joye
101a9ee4e2
- update libpng to 1.2.46
2011-07-19 10:22:42 +00:00
Jérôme Loyet
9fa7a7e554
order fpm configuration items the same way in php-fpm.conf.in, fpm_conf.h and fpm_conf.c
2011-07-18 21:49:38 +00:00
Pierre Joye
03315d9625
- update blowfish to 1.2 (Solar Designer)
2011-07-18 21:26:29 +00:00
Jérôme Loyet
251879c890
fix a segfault when passing an empty value to a ini parameter from the web server (php_(admin_)?value)
2011-07-18 21:03:44 +00:00
Pierre Joye
3c323a5d6d
- not a good idea after all and did not do what I thought it should do
2011-07-18 12:00:08 +00:00
Pierre Joye
ba22d8a37b
- fix bug #54204 , Can't set a value with a PATH section in php.ini
2011-07-18 10:25:36 +00:00
Rui Hirokawa
b150a6db24
added numeric entities encode/decode in hex format.
2011-07-18 08:36:17 +00:00
Jérôme Loyet
6d3ff0eda1
- don't write directly to stderr, use the internal logger instead (zlog)
2011-07-18 00:53:13 +00:00
Jérôme Loyet
1dc21c2fd0
remove unused variable
2011-07-18 00:19:22 +00:00
Jérôme Loyet
a476f4d92c
- remove is_fastcgi because FPM is always fastcgi
2011-07-18 00:09:30 +00:00
Jérôme Loyet
22065bc050
- get rid of FPM_AUTOCONFIG_H which has never existed since FPM integration into core
2011-07-17 23:33:22 +00:00
Boris Lytochkin
5c110b9a76
new propery noOIDIncreasingCheck allowing to skip
...
OID increasing check (userful for bogus SNMP agents)
2011-07-17 19:45:05 +00:00
Boris Lytochkin
e1d4676065
swap non_repeaters and max_repetitions in walk query, max_repetitions whould be used more frequently
2011-07-17 18:17:43 +00:00
Boris Lytochkin
a80c2ee19b
fix FR #54502 : allow user to change OID value output mode when SNMP_VALUE_OBJECT is used.
2011-07-17 17:27:00 +00:00
Jérôme Loyet
a3592145f8
backport r313186 from PHP_5_4
2011-07-17 14:42:58 +00:00
Jérôme Loyet
5ba64c511f
backport r313323 and r313326 from PHP_5_4
2011-07-17 14:31:32 +00:00
Boris Lytochkin
281d0eade4
update ARG_INFO_EX for walk and get methods, fix comments
2011-07-17 13:57:28 +00:00
Philip Olson
1cf88d931e
Updated is_a() and is_subclass_of() tests as per the removed E_WARNING from r313162 which was inspired by discussion after r312904 and PHP Bug #53727
2011-07-15 19:17:22 +00:00
David Soria Parra
cad2e53064
Fix #55212 . Only declare STREAM_PF_INET6 if PHP is compiled with IPv6 support
2011-07-15 15:25:24 +00:00
Scott MacVicar
4dbc1a57ed
Fix prototypes for ldap_control_paged_result and fix function name in tests
2011-07-14 18:49:12 +00:00
Derick Rethans
ecd9d194d0
- Added a check for an enviroment variable (ZEND_DONT_UNLOAD_MODULES) that, if
...
set, prevents PHP from dl_closing() modules on shutdown.
- This makes it possible to spot memory leaks with valgrind in shared modules.
2011-07-14 12:21:15 +00:00
Pierre Joye
4488350bb5
- fix build
2011-07-14 11:12:33 +00:00
Pierre Joye
731029a672
- fix decl
2011-07-14 10:54:39 +00:00
Jérôme Loyet
3af61f1bf2
find option '-not' is not POSIX compliant
2011-07-13 23:28:48 +00:00
Daniel Convissor
e3253b79ad
Have test for add/sub/diff one second during DST/ST transition.
2011-07-13 16:22:58 +00:00
Daniel Convissor
b23070291b
Add test for constructing times during the dst/st conversion.
2011-07-13 16:21:10 +00:00
Daniel Convissor
3311b0f83f
Use datetime examine diff file from 5.3 in 5.4 and trunk.
2011-07-13 16:08:03 +00:00
Pierre Joye
1655d6d4c7
- bind to the available crt version
2011-07-13 06:42:39 +00:00
Etienne Kneuss
28c3a180b2
Fix crash
2011-07-12 21:57:14 +00:00
Etienne Kneuss
c13f2c3e2c
Fix #48860 Implement Serialization for DLL
2011-07-12 21:43:17 +00:00
Pierre Joye
b6745ea43a
- Fixed bug #55187 , readlink returns weird characters when false result
2011-07-12 15:15:17 +00:00
Pierre Joye
96b5e69889
- Bug #55169 , improve fix, allow non interactive user, hash-like ops only usage
2011-07-12 11:46:41 +00:00
Christian Stocker
01607c4137
Added credentials to XSL NEWS entry
2011-07-12 06:56:11 +00:00
Stanislav Malyshev
35f19cb969
remove warning for is_a() BC
2011-07-12 05:20:40 +00:00
Stanislav Malyshev
23ad275e24
MF53
2011-07-12 04:58:55 +00:00
Christian Stocker
0c8c69e89b
Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs()
...
to define forbidden operations within XSLT stylesheets, default is not to
enable any write operations from XSLT anymore. Bug #54446
(second iteration of the code for trunk, first commit for 5.4 branch)
2011-07-12 04:58:38 +00:00
Stanislav Malyshev
3f0abb300c
MF53
2011-07-12 04:45:38 +00:00
Kalle Sommer Nielsen
513dc26776
Changed http_response_code() to be able to set a response code
2011-07-12 03:56:32 +00:00
Ilia Alshanetsky
388a473255
Fixed bug #55014 (Compile failure due to improper use of ctime_r()).
2011-07-11 17:01:23 +00:00
Christian Stocker
0a7aeb7f28
Added the ability to pass options to loadHTML (Chregu, fxmulder at gmail dot com)
2011-07-11 15:02:56 +00:00
Christian Stocker
0511fa337e
Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs()
...
to define forbidden operations within XSLT stylesheets, default is not to
enable any write operations from XSLT anymore. Bug #54446
2011-07-11 11:16:22 +00:00
Dmitry Stogov
0f3e70fe01
Fixed bug #54305 (Crash in gc_remove_zval_from_buffer)
2011-07-11 10:31:49 +00:00
Dmitry Stogov
8171e1d81e
Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption)
2011-07-11 09:47:59 +00:00
Gustavo André dos Santos Lopes
1ca51e87ea
- Further fix for bug #55111 (compilation failure of ext/sockets in Mac OS X).
2011-07-11 08:29:39 +00:00
Dmitry Stogov
fb6440b4f1
Fixed bug #55150 (php -a segfaults)
2011-07-11 07:10:30 +00:00
Felipe Pena
62e4cfc2d0
- Added zend_is_auto_global_quick function
2011-07-10 15:03:38 +00:00
Pierre Joye
8278f831a5
- use php_win32_get_random_bytes instead of over slow and partially wrong openssl's version
2011-07-10 14:59:33 +00:00
Pierre Joye
04432e7dd8
- fix bug #55169 , mcrypt_create_iv always fails to gather sufficient random data
2011-07-10 14:36:32 +00:00
Pierre Joye
b8dd53b713
- use warning here to match unix behavior
2011-07-10 14:19:51 +00:00
Felipe Pena
31a69cd480
- Year++
2011-07-10 13:05:32 +00:00
Felipe Pena
17a7fd0656
- Minor optimization taking the computed hash of interned strings
2011-07-10 12:37:42 +00:00
Pierre Joye
6ff1746371
- update libpng to 1.2.45
2011-07-10 02:20:34 +00:00
Felipe Pena
5d20a8f801
- Minor optimization, use the computed hash when available
2011-07-10 02:00:00 +00:00
Felipe Pena
0fe6fd9e89
- Changed zend_resolve_class_name() prototype
...
# No needed to pass fetch_type as pointer here
2011-07-09 17:27:59 +00:00
Felipe Pena
5cb1602aab
- Minor optimization and clean up
2011-07-09 12:06:11 +00:00
Felipe Pena
31c043e7af
- CS and WS
2011-07-08 19:52:21 +00:00
Felipe Pena
866240200f
- Fixed bug #55156 (ReflectionClass::getDocComment() returns comment even though the class has none)
2011-07-07 23:07:14 +00:00
Hannes Magnusson
50b654ab0e
Fixed bug#55084 (Function registered by header_register_callback is
...
called only once per process). (Hannes)
also fixed an issue when header()s are sent from the callback function
2011-07-06 20:38:58 +00:00
Dmitry Stogov
3931078e7f
Fixed bug #55135 (Array keys are no longer type casted in unset())
2011-07-06 12:04:02 +00:00
Pierre Joye
e501b7613d
- add apache 2.3 (upcoming 2.4) handler
2011-07-06 11:13:38 +00:00
Felipe Pena
c10d148870
- Fixed bug #55076 (requires() fails in a subdirectory with the in-built webserver)
2011-07-06 01:54:54 +00:00
Felipe Pena
8cf3c27f82
- Fixed bug #55137 (Changing trait static method visibility)
2011-07-06 00:33:38 +00:00
Jérôme Loyet
1dcd19eba0
- Implemented FR #54098 (Lowered default value for Process Manager)
2011-07-05 21:03:26 +00:00
Andrey Hristov
fa27e05438
free data in case of failure in the callee not in the caller
2011-07-05 20:31:53 +00:00
Ilia Alshanetsky
3c82aab151
Fixed bug relating to un-initialized memory access
2011-07-05 20:10:45 +00:00
Jérôme Loyet
af84289663
- FR #52052 : Added partial syslog support (on error_log only)
2011-07-05 19:22:45 +00:00
Jérôme Loyet
035536adca
- Fixed wrong value of log_level when invoking fpm with -tt
2011-07-05 18:09:07 +00:00
Gustavo André dos Santos Lopes
9898f9070f
- Fixed bug #52935 (call exit in user_error_handler cause stream relate core).
2011-07-05 16:09:06 +00:00
Jérôme Loyet
a3b31f5c18
- ws and cosmetics
2011-07-05 02:42:40 +00:00
Jérôme Loyet
e57914c1d8
Fixed memory leak
2011-07-05 01:43:50 +00:00
Jérôme Loyet
d12fab2d4b
- moved STR2STR, BOOL2STR and PM2STR from fpm_conf.h to fpm_conf.c (Giovanni Giacobbi)
2011-07-05 01:24:10 +00:00
Stanislav Malyshev
e3668bdf1c
fix crypt() issue with overlong salt
2011-07-04 23:38:09 +00:00
Dmitry Stogov
34b8924f95
Fixed bug #53727 (Inconsistent behavior of is_subclass_of with interfaces)
2011-07-04 14:55:39 +00:00
Jérôme Loyet
bc427b0eba
fix comment syntax
2011-07-04 12:49:46 +00:00
Felipe Pena
df10314070
- Fixed bug #55118 (Imcomplete start message)
2011-07-03 14:45:41 +00:00
Felipe Pena
5f33819f9c
- Removed accidental offsetof definition
2011-07-03 01:29:23 +00:00
Felipe Pena
96d927c6ac
- Fixed crash when using -e option
2011-07-03 01:06:20 +00:00
Jérôme Loyet
9b64314250
- Implemented FR #54172 (Overriding the pid file location of php-fpm)
2011-07-02 23:41:01 +00:00
Felipe Pena
0124c28610
- Fixed bug #55086 (Namespace alias does not work inside trait's use block)
...
patch by: Pierrick
2011-07-02 17:12:20 +00:00
Jérôme Loyet
b06e62d4fe
- Fix php_escape_html_entities_ex call (int * has been changed to size_t *)
2011-07-02 16:40:59 +00:00
Jérôme Loyet
710ff963f4
- Implemented FR #54499 (FPM ping and status_path should handle HEAD request)
2011-07-02 16:34:39 +00:00
Jérôme Loyet
2fb5b8200b
- Implemented FR #54577 (Enhanced status page with full status and details about each processes
...
- Added a web page (status.html) for real-time FPM status
- Fixed missing Expires and Cache-Control headers for ping and status pages
2011-07-02 16:10:18 +00:00
Gustavo André dos Santos Lopes
be0e5d7f95
- Fixed bug #55111 (sockets extension fails to compile on Mac OSX).
2011-07-02 12:03:32 +00:00
Felipe Pena
93acedd1ff
- Fixed bug #55080 (Deprecated call in run--test.php)
...
patch by: fedora at famillecollet dot com
2011-07-01 23:13:53 +00:00
Felipe Pena
4296f07fcc
- Reverted php_printf -> printf change
2011-07-01 17:18:50 +00:00
Philip Olson
7497a0eb4a
Updated name to 'PHP Development Server', and CTRL-C to Ctrl-C, as per PHP bug #55071
2011-06-30 23:50:56 +00:00
Gustavo André dos Santos Lopes
86ff3bab2d
- Fixed bug #55082 (var_export() doesn't escape properties properly).
2011-06-30 09:26:35 +00:00
David Soria Parra
cdad24cda5
correct error message for a missing document root in the cli webserver
...
the document root is always a directory.
2011-06-29 23:44:02 +00:00
David Soria Parra
5024c32798
fix #55072 in-built web server needs to check -t option is a directory
2011-06-29 23:29:01 +00:00
Peter Cowburn
8c3ef4a222
Fix NEWS
2011-06-29 09:00:37 +00:00
Ilia Alshanetsky
b2a3d3132d
Fixed test
2011-06-28 23:47:05 +00:00
Knut Urdalen
9fd561fe61
working on test coverage for ext/dom, here's 17 more tests
2011-06-28 20:17:15 +00:00
Christopher Jones
dedab51269
clarify sqlite deprecation
2011-06-28 18:58:07 +00:00
Pierrick Charron
e53ca46fc0
Fixed bug #54971 (Wrong result when using iterator_to_array with use_keys on true)
2011-06-28 11:09:06 +00:00
Gustavo André dos Santos Lopes
299eea40e7
- Fixed socket_import_stream returning NULL on some errors and FALSE on others
2011-06-28 10:27:29 +00:00
Felipe Pena
f7a024023f
- Fixed crash on invalid addr:port (Chris Jones, Felipe)
2011-06-27 23:18:26 +00:00
Christopher Jones
fe62d3739b
Keep the DBA DB4 test status quo after Berkeley DB 5.2 introduced error message prefixes
2011-06-27 22:58:59 +00:00
Hannes Magnusson
74c6b76093
Fix 5.1 detection on ubuntu natty
2011-06-27 20:28:30 +00:00
Derick Rethans
39a15706cd
- Updated to version 2011.8 (2011h)
2011-06-27 11:47:43 +00:00
Jérôme Loyet
527313919b
- fixed request_timeout and slowlog_timeout from last FPM commit (r312496)
...
- typo
2011-06-27 11:33:03 +00:00
Felipe Pena
9a38856c3a
- Fixed data type usage in 64bit
...
Reported by: Leonildo Costa
2011-06-27 01:36:39 +00:00
Stanislav Malyshev
b158091ed6
Fix crypt_blowfish 8-bit chars problem (CVE-2011-2483), add tests
...
# See details at http://www.openwall.com/lists/announce/2011/06/21/1
2011-06-26 21:34:39 +00:00
Jérôme Loyet
dace636cc9
- Replaced shm_slots with a real scoreboard
...
- Added several improvements to the status page
2011-06-26 15:48:11 +00:00
Knut Urdalen
27934faf97
small fix in disk_total_space() tests (PHP_5_3 already includes this)
2011-06-25 21:22:42 +00:00
Felipe Pena
8841454a10
- Fixed crash when using -e option
2011-06-25 20:40:03 +00:00
Felipe Pena
7b1f738b70
- Fixed crash when calling sapi_shutdown() and sapi hasn't been started
...
Reported by: David Tajchreber
2011-06-25 14:17:17 +00:00
Felipe Pena
9424d255c9
- Fixed crash when zend_eval_string bailouts (-r 'a();')
...
Reported by: David Tajchreber
2011-06-25 13:15:24 +00:00
Pierre Joye
eeade7180a
- reflection is always enabled
2011-06-25 10:47:54 +00:00
Derick Rethans
6b56f4a5b8
- Fixed layout. Tabs on the terminal don't align nicely in most cases.
2011-06-25 10:16:46 +00:00
Knut Urdalen
785a7a5056
fixed temp directory names in spl tests
2011-06-25 07:45:41 +00:00
Knut Urdalen
bf61fbb33a
fixed/refactored some spl tests related to owner/group retrieval
2011-06-25 04:50:42 +00:00
Christopher Jones
6bf101db54
Add http_proxy env var support to run-tests.php result submission
2011-06-24 23:10:37 +00:00
Felipe Pena
c85ff1249c
- Fixed tests
2011-06-24 19:23:25 +00:00
Felipe Pena
c4e0d06aee
- Added SKIPIF
2011-06-24 19:18:06 +00:00
Derick Rethans
29565d1a4c
- Added a new PHPAPI function to return module_initialized:
...
php_get_module_initialized().
2011-06-24 11:19:34 +00:00
Felipe Pena
bcf7e60d4c
- Fixed build on Windows
2011-06-24 00:38:53 +00:00
Felipe Pena
72f7be3df0
- Improved parse error messages
2011-06-23 23:00:53 +00:00
Felipe Pena
6c02d95bd3
- Missing valid path check
2011-06-23 21:53:25 +00:00
Hannes Magnusson
9f8501b3b7
These are annoyingly slow
2011-06-23 21:27:42 +00:00
Nuno Lopes
cc438880c0
MFB: properly regen file to fix coverage data
2011-06-23 15:00:00 +00:00
Ilia Alshanetsky
7f2882cc53
Fixed a bug with calculation of REQUEST_TIME in apache2
2011-06-23 14:12:50 +00:00
Jérôme Loyet
8dcfa2f916
- Added custom access log (also added per request %CPU and memory mesurement)
2011-06-23 08:03:52 +00:00
Felipe Pena
de14ef3442
- Fixed crash (take 2)
2011-06-23 00:40:31 +00:00
Felipe Pena
b9fff0d5b7
- Fixed crash on startup
2011-06-23 00:25:54 +00:00
Shein Alexey
ade71aa42a
Fixed dom tests.
2011-06-22 09:28:14 +00:00
Pierre Joye
bdb5422951
- fix build
2011-06-21 11:43:19 +00:00
Felipe Pena
1521c79647
- Fix memleak on `php -v'
2011-06-21 01:47:05 +00:00
Felipe Pena
7b3350347a
- Fixed hardcoded INI
2011-06-20 23:36:25 +00:00
Felipe Pena
c6b73c85ba
- Fix broken code in 64bit
2011-06-20 22:59:55 +00:00
Moriyoshi Koizumi
891acc30c0
- Forgot to commit these.
2011-06-20 20:30:36 +00:00
Moriyoshi Koizumi
7dfef17c54
- Add built-in web server to CLI SAPI. See the RFC for detail.
2011-06-20 20:27:39 +00:00
Patrick Allaert
101c6a3831
Fixed typo
2011-06-20 17:49:19 +00:00
Patrick Allaert
97ec4f2702
Changed register_shutdown_function() to reflect that it is using a cb (thx arpad)
2011-06-20 07:11:21 +00:00
Felipe Pena
58d41e5753
- Optimize property finding by zend_hash_quick_find
2011-06-20 02:04:13 +00:00
Felipe Pena
d188a36547
- Simplify function code
2011-06-20 01:36:23 +00:00
Felipe Pena
b26f6cb0f6
- Avoid re-hash here too
2011-06-20 01:21:47 +00:00
Jérôme Loyet
b5e5abb38a
Removed pid in debug logs written by chrildren processes
2011-06-20 00:03:39 +00:00
Felipe Pena
142ce5c949
- Minor optimization (avoid to re-hash already computed var name hash)
2011-06-19 21:56:09 +00:00
Felipe Pena
c34b86c454
- Removed unnecessary TSRMLS_FETCH
2011-06-19 20:16:08 +00:00
Stanislav Malyshev
30c5e0e87d
fix error reporting on missing data - don't produce double errors
2011-06-19 18:55:48 +00:00
Stanislav Malyshev
e09ad36f00
fix test with floats - make it not produce different result
...
on 32 and 64 bit
2011-06-19 18:52:58 +00:00
Daniel Convissor
cfd54f2e0f
Provide test for DateTime::add() issue (for discussion on internals, bugs.php.net is down).
2011-06-19 16:59:58 +00:00
Daniel Convissor
aed261683b
Split DateTime diff/add/sub tests into separate files to make things easier to see, test and (one hopes) fix.
2011-06-19 16:55:11 +00:00
Felipe Pena
8f68b48514
- Fix tests
2011-06-19 15:43:16 +00:00
Felipe Pena
3276cc4f7a
- Opss, restore old behavior
2011-06-19 14:50:44 +00:00
Felipe Pena
54d5662919
- Added missing void param check in sys_get_temp_dir
...
- Fixed param check of umask()
2011-06-19 14:27:33 +00:00
Felipe Pena
e98eafeedf
- Missing usage of 'p' parameter specifier
2011-06-19 13:20:12 +00:00
Felipe Pena
744ce6af65
- Fix test
2011-06-19 12:58:56 +00:00
Felipe Pena
5a70cde724
- New tests (code coverage++)
2011-06-19 12:33:49 +00:00
Felipe Pena
b0bbfee7e8
- Fix test
2011-06-19 00:18:17 +00:00
Felipe Pena
5992c06441
- Added missing void param checks, and fix arginfo
2011-06-18 22:48:31 +00:00
Felipe Pena
6ef38daf0e
- Fixed compiler warning (redefinition of offsetof)
2011-06-18 18:11:27 +00:00
Felipe Pena
8f76adb750
- Missing change
2011-06-18 17:46:16 +00:00
Felipe Pena
17bf772378
- Fixed ZTS build
2011-06-18 17:41:56 +00:00
Jérôme Loyet
8f0fdbb9e8
Added master rlimit_files and rlimit_core in the global configuration settings
2011-06-18 16:27:48 +00:00
Jérôme Loyet
7236ea5a46
Fixed exit at FPM startup on fpm_resources_prepare
2011-06-18 16:15:15 +00:00
Felipe Pena
bf1779e973
- Added missing arginfos for void params and void param checks
2011-06-18 15:56:14 +00:00
Jérôme Loyet
b813d1ff23
Remove timestamp in logs written by children process
2011-06-18 15:33:07 +00:00
Boris Lytochkin
e341a10d64
take over mantainership on snmp extension
2011-06-18 07:09:11 +00:00
Pierre Joye
948d42d979
- fix build
2011-06-18 02:24:01 +00:00
Jérôme Loyet
35458820ad
missing doc in the conf file
2011-06-17 23:35:47 +00:00
Jérôme Loyet
ade2d21f72
- added xml format to the status page
...
- clean fpm_status.c code
2011-06-17 23:19:54 +00:00
Christopher Jones
dba594a4e2
Fix skipif to resolve the common reason this test fails
2011-06-17 18:28:34 +00:00
Boris Lytochkin
b3182fda70
expand SNMP section
2011-06-17 18:18:21 +00:00
Derick Rethans
57d2f39c54
- Fixed bug where the DateTime object got changed while using date_diff().
2011-06-17 16:38:23 +00:00
Felipe Pena
a8cc93d54f
- Fixed two "jump or move depends on uninitialised value"
2011-06-17 02:00:20 +00:00
Pierre Joye
3c8bd9ebb6
- did I not kill that already? (do not use rand_screen, pointless on server and not TS)
2011-06-16 13:06:41 +00:00
Pierre Joye
c43276abd6
- fix nts build
2011-06-16 10:20:25 +00:00
Felipe Pena
6940a320af
- Removed win debug stuff
2011-06-16 01:41:34 +00:00
Pierre Joye
1d357d964c
- init win32 rng context once per process
2011-06-16 01:31:10 +00:00
Pierre Joye
175f84436c
- install extra headers
2011-06-16 01:21:01 +00:00
Stanislav Malyshev
0b3ca10212
update the branches list
2011-06-15 23:19:30 +00:00
Christopher Jones
fedc6b2926
Improve cross version compat
2011-06-14 20:04:18 +00:00
Scott MacVicar
e39ed9781e
Upgrade SQLite to 3.7.6.3
2011-06-14 17:00:49 +00:00
Felipe Pena
60ae440721
- New tests for new feature
2011-06-14 02:05:37 +00:00
Felipe Pena
50ade27198
- Fix build on Windows
2011-06-13 17:52:23 +00:00
Timm Friebe
7229afbd41
- Fix compiler warning about long vs. int in printf()
...
# See bug #55009
# Compare to _server_message_handler() a little below, where this
# is done the same way
2011-06-13 08:43:21 +00:00
Felipe Pena
a43b067172
- Fixed bug #54624 (class_alias and type hint)
2011-06-12 21:10:31 +00:00
Rasmus Lerdorf
c30bde0ef5
These regexes don't fail under the new backtrack limit, so lower it
...
just for the test to check the failure.
2011-06-12 18:38:26 +00:00
Felipe Pena
1dd95849d5
- Added Bison 2.5 to bison_version_list
2011-06-12 17:26:45 +00:00
Felipe Pena
2997719120
- Restore basename in filename on non Windows OS
2011-06-12 15:15:44 +00:00
Rasmus Lerdorf
b88a5db4dd
Don't expect a path for tidy_repair_string() and fix the tests
2011-06-12 14:49:10 +00:00
Boris Lytochkin
edd80c571d
move SNMP VERSION constants into SNMP class itself
2011-06-12 11:58:49 +00:00
Boris Lytochkin
0db6d3b16c
fix typo in comment
2011-06-12 11:25:20 +00:00
Boris Lytochkin
787cb14c3e
no more method open
2011-06-12 10:13:30 +00:00
Boris Lytochkin
12517f51a8
fix method names in header
2011-06-12 10:07:43 +00:00
Felipe Pena
8d4a35f3e9
- Fixed bug #54680 (missing TRACK_VARS_SERVER check)
2011-06-12 02:47:48 +00:00
Felipe Pena
e613aae620
- Avoid zend_do_ticks() call for each statement in parsing
2011-06-12 01:43:10 +00:00
Gustavo André dos Santos Lopes
89da1ab1e8
- Reverted r301991, which is a (partial) fix to bug #52550 , addressing an
...
overflow in a signed subtraction. This fixes the overflow without
changing the algorithm.
2011-06-12 00:56:18 +00:00
Felipe Pena
e9a6750cdc
- Fixed tests
2011-06-12 00:31:13 +00:00
Gustavo André dos Santos Lopes
0cfed19b9d
- Fixed ext/sockets build on Mac OS X (hopefully).
...
- Improvements in the multicast tests.
- Very light refactoring in sockets.c.
2011-06-11 20:20:50 +00:00
Felipe Pena
d65b6dc038
- Missing fix for bug #54347
2011-06-11 15:11:49 +00:00
Felipe Pena
950a716b12
- Possible fix for bug #55022 (memory_limit exhausted when set charset in sybase_connect)
2011-06-11 01:15:14 +00:00
Christopher Jones
9c81d05238
Fix TSRMLS for Windows build
2011-06-11 00:24:26 +00:00
Felipe Pena
b8d10158d1
- Drop C++ style comments
2011-06-10 23:14:15 +00:00
Felipe Pena
ddd88ff93c
- Fixed bug #55028 (// is abad comment)
2011-06-10 22:48:36 +00:00
Christopher Jones
4329ae1e26
Bump OCI8 version to stable in preparation for 5.3.7 RC
2011-06-10 20:01:46 +00:00
Christopher Jones
1c35a1926b
Add new OCI8 tests. Refactor skipifs. Sync 5.3/5.4/trunk branches
2011-06-10 19:16:35 +00:00
Christopher Jones
16b744d2d4
Add oci_client_version() returning the runtime Oracle client library version - predominantly useful for the test suite
2011-06-10 17:38:07 +00:00
Rasmus Lerdorf
c49d060510
Fix Apache1 build
2011-06-10 11:46:35 +00:00
Felipe Pena
7c46410876
- Fixed bug #54347 (reflection_extension does not lowercase module function name)
...
patch by: laruence at yahoo dot com dot cn
2011-06-09 22:45:35 +00:00
Shein Alexey
024439c66e
Removed tests checking old/removed functionality (session_register/session_unregister/session_is_registered/register_globals)
2011-06-09 08:54:47 +00:00
Shein Alexey
f1d7b4d3c6
Changed session.save_path to /tmp to make test run.
2011-06-09 08:24:12 +00:00
Shein Alexey
fb014c0f6d
Skip reason is now printed if session.save_path is not writable.
2011-06-09 08:18:49 +00:00
Shein Alexey
59b06399ad
Fixed session test breakage due to serialize precision issue.
2011-06-09 07:44:10 +00:00
Shein Alexey
0214bbed25
Updated (currently failing) test for bug48203 with curl_stderr and added also curl_multi_exec variant of this test.
2011-06-09 07:16:13 +00:00
Shein Alexey
42478b46e9
Removed 'b' string prefix as unneeded from some tests.
2011-06-09 06:49:31 +00:00
Felipe Pena
8f4d497964
- Missing fixes for grammar fix 's/valid path/a valid path/'
2011-06-09 00:23:43 +00:00
Ilia Alshanetsky
8d2fe9fcb9
Fixed test
2011-06-08 23:30:02 +00:00
Timm Friebe
9c98b18950
- Changed output to be more verbose as to what libraries are used
...
- Changed check for 64-bit vs 32-bit build environment to check sizeof(int)
instead of assuming that if libsybct64.so exists, it must be 64-bit
# Bug #53540 : Correct Sybase 15.0 libraries not found by configure
2011-06-08 08:14:49 +00:00
Ilia Alshanetsky
d42683cbd2
Fixed test to account for smaller default floating point # precision
2011-06-08 02:03:14 +00:00
Christopher Jones
2e235022e9
Relax autoconf support from 2.60 to 2.59. This is the version available on Centos/RHEL/Oracle Linux 5.6
2011-06-08 01:25:35 +00:00
Felipe Pena
547ab48521
s/valid path/a valid path/
2011-06-08 00:53:55 +00:00
Gustavo André dos Santos Lopes
2b72c6e7df
- Fixed bug #54992 : Stream not closed and error not returned when SSL CN_match
...
fails.
2011-06-08 00:23:02 +00:00
Christopher Jones
c287e682f2
Sync OCI8 branches. Allow 'pecl install' to work on both PHP 5.3 & 5.4
2011-06-07 23:53:02 +00:00
Felipe Pena
bf07dcd506
- Fixed bug #55007 (compiler fail after previous fail)
2011-06-07 22:58:38 +00:00
Felipe Pena
b800ad040c
- Added 'p' type specifier
2011-06-07 22:22:01 +00:00
Christopher Jones
0a4ec69806
Update tests to match Felipe's null byte arg parsing change
2011-06-07 20:58:08 +00:00
Felipe Pena
ac86bf82b4
- Test fixes
2011-06-07 02:29:03 +00:00
Felipe Pena
33a8442c5d
- Fix memory leak caused by RSHUTDOWN not being called by MINIT dependency
2011-06-07 01:58:56 +00:00
Ilia Alshanetsky
370febcd37
Fixed test 008
2011-06-07 01:40:54 +00:00
Felipe Pena
8da563ed9a
- Test fixes
2011-06-06 22:36:54 +00:00
Felipe Pena
be3889456b
- Added indirect method call through array variable (FR Bug #47160 )
2011-06-06 21:42:05 +00:00
Felipe Pena
4737910b69
- Added new parameter parsing option (p - for valid path (string without null byte in the middle))
...
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Ilia Alshanetsky
6b85eb58b2
Fixed bug #51997 (SEEK_CUR with 0 value, returns a warning).
2011-06-05 21:57:01 +00:00
Felipe Pena
61bbd09524
- Fixed crash in fastcgi (related to zend signals changes)
2011-06-05 17:02:46 +00:00
Hannes Magnusson
938d066d49
Fixed bug#51819 (Case discrepancy in timezone names cause Uncaught exception and fatal error)
2011-06-05 13:30:01 +00:00
Hannes Magnusson
d4f6e7d937
When you write to a symlink - you access the file itself, not the symlink, so we need to compare the atime to the orignal file
2011-06-05 12:08:14 +00:00
Hannes Magnusson
c1a96c16d0
Make sure we are writing more data then the block size
2011-06-05 12:07:11 +00:00
Hannes Magnusson
bf3cd0675d
No need to fetch external files and endless amount of DTDs for this test
2011-06-05 11:31:18 +00:00
Hannes Magnusson
9f7b09a265
touch() no longer attempts to create files on empty strings
2011-06-05 09:42:10 +00:00
Hannes Magnusson
00be222418
Fix tests when running without mbstring
2011-06-05 09:35:49 +00:00
Stanislav Malyshev
ed001a8ec6
This method doesn't seem to be very useful without scalar types, so reverting it too
2011-06-05 08:59:24 +00:00
Hannes Magnusson
6ff402e280
This isn't less then 5.4.. but these still fail though.
2011-06-05 08:56:52 +00:00
Philip Olson
ad14faa7dd
Updated the note maintainers credits
2011-06-05 06:57:13 +00:00
Felipe Pena
a2124382ac
- Possible fix for bug #54609 (Certain implementation(s) of SplFixedArray cause hard crash)
2011-06-05 01:38:12 +00:00
Felipe Pena
379c32bd41
- Fixed wrong sigaction() call passing signal number 65 (invalid)
2011-06-05 01:15:10 +00:00
Felipe Pena
b86161982b
- Fixed bug #54929 (Parse error with single quote in sql comment)
2011-06-04 22:54:40 +00:00
Ilia Alshanetsky
53b6c0c8eb
Show ICU Data version inside phpinfo()
2011-06-03 18:14:36 +00:00
Hannes Magnusson
df6e8da2a8
Fix tests
...
#Note to self; do not rename tests just before committing
2011-06-03 17:38:37 +00:00
Ilia Alshanetsky
2dce38f598
Fixed crash and improved signal validation
2011-06-03 17:18:46 +00:00
Hannes Magnusson
2b22017e8f
Add tests for broken function arguments
2011-06-03 17:12:59 +00:00
Ilia Alshanetsky
52e353e973
Compiler warning fix
2011-06-03 07:00:38 +00:00
Scott MacVicar
14e330556c
Further fix for #54918 - We attach a bunch of submodules loading to the basic MINIT, but if an error occurs during their MINIT we still call the MSHUTDOWN()
...
Other possible fix is that we should halt execution entirely when this happens but this feels a little drastic.
Committing to trunk for now
2011-06-03 01:44:37 +00:00
Stanislav Malyshev
aa29bd5d73
and clean the tokenizer too
2011-06-03 01:16:01 +00:00
Stanislav Malyshev
d7c9c5af92
scalar types cleanup
2011-06-03 01:09:32 +00:00
Scott MacVicar
974c3b4981
Fix Bug #54918 - Crash when there is a failure to read the browscap file
2011-06-03 00:42:07 +00:00
Felipe Pena
0aaedef71d
- Fix crash in pcntl
2011-06-03 00:35:22 +00:00
Scott MacVicar
398c0b9dad
Added fabled hex2bin() function
2011-06-03 00:12:22 +00:00
Felipe Pena
5ca0f69921
- Fix ZTS build
2011-06-02 22:54:14 +00:00
Ilia Alshanetsky
d66e7291cd
Missing ifdef related to the previous patch
2011-06-02 21:38:54 +00:00
Ilia Alshanetsky
939875133a
Zend Signal Handling (see RFC: https://wiki.php.net/rfc/zendsignals )
...
This needs to go into 5.4 as well, but will wait for Pierre to review win32 situation
# Patch by Lucas Nealan, Arnaud Le Blanc, Brian Shire & Ilia Alshanetsky
2011-06-02 21:16:50 +00:00
Gustavo André dos Santos Lopes
e87534b017
- Fixed double registering of browscap ini directive. See bug #54896 .
2011-06-02 08:46:40 +00:00
Felipe Pena
df4c4a9e7f
- Fixed bug #54970 (SplFixedArray::setSize() isn't resizing)
2011-06-02 00:40:27 +00:00
Ilia Alshanetsky
be20efc476
More tests
2011-06-01 16:59:23 +00:00
Ilia Alshanetsky
ccd3633b5c
Implemented FR #54561 (Expose ICU Version & ICU Data Version info).
2011-06-01 16:26:21 +00:00
Ilia Alshanetsky
8083c1ab89
Fixed bug #52104 (bindColumn creates Warning regardless of ATTR_ERRMODE settings).
2011-06-01 13:23:25 +00:00
Ilia Alshanetsky
850db4b315
Fixed bug #54484 (Empty string in json_decode doesn't reset json_last_error()).
2011-06-01 09:44:38 +00:00
Rafael Machado Dohms
5c29ef1d8a
Adding testcases to validate imageloadfont input parameter validation, tests were developed at #tek11 testfest
2011-05-31 21:10:01 +00:00
Andrey Hristov
b730fde67f
reuse code
2011-05-31 20:42:44 +00:00
Shein Alexey
a2566cb684
Fixed notice breaking the test.
2011-05-31 12:57:40 +00:00
Shein Alexey
a44a8af3a0
Removed test since there's no more safe_mode in PHP >= 5.4.
2011-05-31 12:45:00 +00:00
Andrey Hristov
33701b76ae
fix macros
2011-05-31 10:35:07 +00:00
Dmitry Stogov
d9ba7820d4
Fixed bug #54910 (Crash when calling call_user_func with unknown function name)
2011-05-31 09:20:51 +00:00
Ilia Alshanetsky
4bc1fb265b
Removed unnecessary rinit/rshutdown
2011-05-31 08:59:32 +00:00
Dmitry Stogov
d0ba3e1881
Fixed bug #54957 (Memleak in alloc_globals_ctor)
2011-05-31 08:26:53 +00:00
Philip Olson
b8b9fe1754
Updated qa-release.php notes as per the new qa-release.php syntax
2011-05-30 23:26:33 +00:00
Ilia Alshanetsky
7acafb506a
Fixed bug #52496 (Zero exit code on option parsing failure).
2011-05-30 15:57:50 +00:00
Hannes Magnusson
73c1488fec
Fixed bug #54946 (stream_get_contents infinite loop)
2011-05-29 12:29:19 +00:00
Hannes Magnusson
ca90339957
Fixed bug #54601 (Removing the doctype node segfaults)
2011-05-29 11:39:49 +00:00
Ilia Alshanetsky
57674f784f
Fixed bug #53848 (fgetcsv() ignores spaces at beginnings of fields).
2011-05-29 10:23:06 +00:00
Ilia Alshanetsky
3ec51648ad
Fixed bug #54137 (file_get_contents POST request sends additional line break).
2011-05-29 09:23:08 +00:00
Felipe Pena
3dcb256919
- Fixed bug #54934 (Unresolved symbol strtoull in HP-UX 11.11)
2011-05-27 23:31:30 +00:00
Ilia Alshanetsky
c5e56ff90c
Fixed bug #54924 (assert.* is not being reset upon request shutdown).
2011-05-26 18:17:43 +00:00
Pierre Joye
2c9136a25e
-fix bug 54935, php_win_err can lead to crash
2011-05-26 14:37:13 +00:00
Felipe Pena
565d0063eb
- Fixed ZTS build and removed unused vars
2011-05-25 22:23:48 +00:00
Stanislav Malyshev
f9088156f4
implement streams metadata API per RFC
2011-05-25 21:03:55 +00:00
Philip Olson
0183514cfb
Fixed test, as per r311323
2011-05-25 00:02:05 +00:00
Felipe Pena
b2780241d7
- Fixed bug #50363 (Invalid parsing in convert.quoted-printable-decode filter)
...
Patch by: slusarz at curecanti dot org
2011-05-24 23:49:26 +00:00
Philip Olson
b26fec954a
Fixed test
2011-05-24 23:49:04 +00:00
Philip Olson
bc499c4078
Updated test. touch() emits E_WARNING for bogus values. Updated 5.3 test to look the same.
2011-05-24 23:27:49 +00:00
Felipe Pena
f020659d9d
- Fix logic, it must check for both flags (as says the comment in the code) (bug #54912 )
2011-05-24 22:34:07 +00:00
Felipe Pena
b28294acc2
- Fixed bug #54912 (filter/logical_filters.c:685:32: warning: use of logical || with constant op)
...
Initial patch by: crrodriguez at opensuse dot org
2011-05-24 22:24:06 +00:00
Pierre Joye
c689dd9d59
- Fix #54721 , different Hashes on Windows, BSD and Linux on wrong Salt size
2011-05-24 13:48:04 +00:00
Pierre Joye
079f2a226c
- fix tests, keep EOL as unix style as the str len is used in expect
2011-05-24 10:47:35 +00:00
Dmitry Stogov
7da89df267
Fixed comilation on x86_64
2011-05-24 08:27:36 +00:00
Felipe Pena
52f40f07e6
- Fix the fix
...
# Arghh, copy and paste error :(
2011-05-24 00:10:00 +00:00
Felipe Pena
89f893a95e
- Fixed stack buffer overflow in socket_connect().
...
Found by: Mateusz Kocielski, Marek Kroemeke and Filip Palian
2011-05-24 00:05:50 +00:00
Philip Olson
331a30997a
Fixed test for decoupled <?= as of r311260
2011-05-23 23:51:28 +00:00
Michael Wallner
327a87fdd9
Fix Bug #54727 , a re-incarnation of #26862
2011-05-23 10:42:00 +00:00
Dmitry Stogov
b7eb3c1c5a
Arithmetic speedup. Inlined most probable code-paths for arithmetic operations directly into executor.
2011-05-23 08:05:44 +00:00
Stanislav Malyshev
9b8acf87a6
fix some failing tests
2011-05-23 07:06:04 +00:00
Felipe Pena
184f80ff66
- Fixed bug #54529 (SAPI crashes on apache_config.c:197)
...
patch by: hebergement at riastudio dot fr
2011-05-23 01:47:06 +00:00
Felipe Pena
584f1c4381
- Fixed bug #54269 (Short exception message buffer causes crash)
2011-05-22 19:06:21 +00:00
Rasmus Lerdorf
cebe2a2139
Increase the overly conservative pcre backtrack limit from 100000 to 1000000
2011-05-21 19:48:37 +00:00
Felipe Pena
ac6edb41ec
- Fixed bug #54895 (Fix compiling with older gcc version without need for membar_producer macro)
...
patch by: mhei at heimpold dot de
2011-05-20 21:24:51 +00:00
Scott MacVicar
9e7ae3b2d0
Allow management of your own padding in openssl_encrypt/decrypt.
...
For using mcrypt / openssl interchangeabley managing your own padding is the only solution.
2011-05-20 18:56:13 +00:00
Felipe Pena
180146d49b
- Fixed bug #54804 (__halt_compiler and imported namespaces) (Pierrick)
2011-05-19 23:20:47 +00:00
Rasmus Lerdorf
cac66ef376
Fix CS
2011-05-19 23:18:55 +00:00
Rasmus Lerdorf
ef2357ce48
Fix bug 54866
2011-05-19 23:09:58 +00:00
Scott MacVicar
81eaa0c7fd
Tidy up ldap paging code and rename the API as discussed in #42060
2011-05-19 17:41:21 +00:00
Rasmus Lerdorf
a9a7f53636
Decouple <?= from the short_tags setting and make it always enabled
2011-05-19 16:26:29 +00:00
Pierre Joye
1920f5a690
- initial import, will add all libs later
2011-05-19 13:36:29 +00:00
Scott MacVicar
9350fb415b
Revert part of the fix for #53339
...
On OSX we need ssl AND crypto
The patch that was applied didn't even match what was in the bug
2011-05-19 05:43:48 +00:00
Jeraimee Hughes
a7c5be302e
Fixed failing test (mismatch of tzoffset)
2011-05-18 20:52:30 +00:00
Jeraimee Hughes
0fc3380db7
Fixed failing test.
2011-05-18 20:07:11 +00:00
Johannes Schlüter
5d6b3ca113
- handle out of memory
2011-05-18 11:49:49 +00:00
Johannes Schlüter
f0b306af39
- Keep the old arginfo for now
...
# This change we would E_RECOVERABLE instead of E_WARNING
# and needs some more review, as well fixing ~80 tests
2011-05-18 10:21:28 +00:00
Scott MacVicar
453c954f8a
ZEND_THREAD_SAFE and ZEND_DEBUG_BUILD are not meant to be case insensitive
2011-05-17 22:24:44 +00:00
Jeraimee Hughes
daecb2c0f4
Fixes for broken tests.
2011-05-17 15:08:15 +00:00
Jeraimee Hughes
e5c1c42220
Fix for failing test.
2011-05-17 15:06:48 +00:00
Andrew Curioso
47db582a34
Use iterator when necessary to get the full properties hash - consistent with count (see test: ext/simplexml/tests/034.phpt)
2011-05-17 13:50:48 +00:00
Dmitry Stogov
13338a8f60
Fixed crash on recursive error handler invocation
2011-05-17 12:27:21 +00:00
Pierre Joye
7ee407eb37
- WS
2011-05-17 10:39:18 +00:00
Andrey Hristov
6c2f42b544
exchange a "trap" with an error
2011-05-17 09:44:11 +00:00
Johannes Schlüter
b83b4880d3
- Move the field access behind the check
...
# Only called from one place where the connection is checked, but
# playing safe, again (parfait)
2011-05-17 00:16:57 +00:00
Ferenc Kovacs
be6170c30d
adding an XFAIL, as we have an open bug for this test
2011-05-16 23:43:12 +00:00
Ferenc Kovacs
0016dffc7b
adding an XFAIL, as we have an open bug for this test
2011-05-16 23:39:16 +00:00
Ferenc Kovacs
4be65b4391
set the timezone to UTC as suggested by Alexey Shein, and adding an SKIPIF as this test was originaly intended to be windows only
2011-05-16 23:35:23 +00:00
Ferenc Kovacs
b3d32b153d
fix the test with the removal of the unnecessary newline
2011-05-16 23:33:05 +00:00
Ferenc Kovacs
0f214e5c2c
adding the serialize_precision=100 for the tests, credits to Mats Lindh for reporting it
2011-05-16 23:31:14 +00:00
Ferenc Kovacs
3295e36bff
removing XFAIL as #39863 has already been fixed
2011-05-16 23:28:46 +00:00
Johannes Schlüter
103ded60c0
- Handle error if tempfile can't be opened, found by parfait
2011-05-16 22:24:41 +00:00
Johannes Schlüter
9f3f4eb8e8
- Fix a few more memleaks found by parfait
2011-05-16 21:29:45 +00:00
Johannes Schlüter
bb5faa6eca
- Fix possible memory leak
...
# Found by parfait - http://labs.oracle.com/projects/parfait/
2011-05-16 19:46:32 +00:00
Rasmus Lerdorf
c5152b886b
oops, can't use that macro here
2011-05-16 17:26:10 +00:00
Rasmus Lerdorf
575ea1ef0b
Suppress a dozen unused return value warnings in places where the return
...
value is really not useful to us.
2011-05-16 17:22:41 +00:00
Rasmus Lerdorf
22b689a3f9
Add php_ignore_value() macro to suppress unused return value warnings
...
from gcc. There are times when we really don't care about the return
value and this will cleanly tell gcc.
2011-05-16 16:58:02 +00:00
Rasmus Lerdorf
e0df4e3dba
Fix a couple of warnings. Use %zu to printf a time_t and get_request_time
...
actually returns a double, not a time_t.
2011-05-16 15:52:31 +00:00
Johannes Schlüter
0179c5a0e6
- Fix Bug #53782 (foreach throws irrelevant exception)
2011-05-16 15:37:39 +00:00
Johannes Schlüter
898e3095f1
- Move the access behind the check.
...
# I can't find an unsafe call, but let's play safe
2011-05-16 10:15:28 +00:00
Rasmus Lerdorf
cc8ecca0b3
Get rid of autoconf warnings
2011-05-16 00:14:47 +00:00
Rasmus Lerdorf
438cc7f201
Drop support for autoconf < 2.60 in trunk and the
...
new PHP_5_4 branch. autoconf >= 2.60 should finally
be working now.
2011-05-15 06:09:21 +00:00
Rasmus Lerdorf
08792f6f9b
Cache the pdo include path
2011-05-15 05:03:29 +00:00
Rasmus Lerdorf
a8df376b91
We can't really predict what will happen on an unknown host lookup
...
since bogus ISPs like Comcast and many others try to "help" by resolving
everything to their own search page.
2011-05-15 01:52:07 +00:00
Stanislav Malyshev
b7ed1bcb20
forgot tokenizer...
2011-05-15 00:48:05 +00:00