David Soria Parra
40eea49f64
PHP 5.5.0 Alpha 4
2013-01-22 09:42:05 +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
86c1a26169
Merge fix of #62836 to ?.re, and regenerate ?.c
2013-01-21 11:35:22 +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
Stanislav Malyshev
9e7c2e5906
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
fix bug #63462 (Magic methods called twice for unset protected properties)
2013-01-18 13:35:09 -08:00
Stanislav Malyshev
33b104c778
fix bug #63462 (Magic methods called twice for unset protected properties)
2013-01-18 13:29:43 -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
Gustavo Lopes
b69fd9c9b8
NEWS for bug #64011 . See 77ee200
2013-01-18 12:12:08 +01:00
Gustavo Lopes
77ee200097
Fix bug #64011 (get_html_translation_table())
...
get_html_translation_table() with encoding ISO-8859-1 and HTMLENTITIES
was broken. Only entities for characters U+0000 to U+0040 were being
included in the result.
2013-01-18 12:10:27 +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
Christopher Jones
94a4e0f823
Fix News
2013-01-15 20:38:24 -08: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
Adam Harvey
142c40f32c
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Update the arguments in the prototype of fpm_socket_unix_test_connect().
2013-01-16 10:18:00 +08:00
Adam Harvey
f63a9f6c11
Update the arguments in the prototype of fpm_socket_unix_test_connect().
...
Fixes bug #63999 (php with fpm fails to build on Solaris 10 or 11).
2013-01-16 10:06:56 +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
Anatoliy Belsky
9498cf6194
fixed build
2013-01-15 22:36:29 +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
4c38003dbd
NEWS for bug #63893
2013-01-15 21:07:21 +01:00
Gustavo Lopes
93e35137aa
Merge remote-tracking branch 'remotes/cataphract/strtr_wu94_54' into PHP-5.4
...
* remotes/cataphract/strtr_wu94_54:
Fixed inconsequential bug in strtr()
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:05:21 +01:00
Gustavo Lopes
88b82ae54d
Merge branch 'strtr_wu94_54' into strtr_wu94_55
2013-01-15 17:26:24 +01:00
Gustavo Lopes
930ef9ddd6
Fixed inconsequential bug in strtr()
2013-01-15 17:25:59 +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
Adam Harvey
83864b470b
Revert "Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa."
...
This reverts commit 0510701474 .
2013-01-15 17:37:21 +08:00
Adam Harvey
b1bf524140
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Revert "Update fputcsv() to escape all characters equally."
2013-01-15 17:35:34 +08:00
Adam Harvey
c077074c13
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:33:54 +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
374ebc8741
fix NEWS
2013-01-15 00:08:12 -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
Adam Harvey
0510701474
Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa.
2013-01-15 15:49:52 +08:00
Xinchen Hui
4fa5c1d22d
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-15 15:33:26 +08:00
Xinchen Hui
3bc7490370
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
2013-01-15 15:32:42 +08:00
Xinchen Hui
4fcf4e0845
Fixed bug #57702 (Multi-row BLOB fetches)
2013-01-15 15:31:49 +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
a4191b0aad
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Update fputcsv() to escape all characters equally.
2013-01-15 15:24:21 +08:00
Adam Harvey
9b5cb0e805
Update fputcsv() to escape all characters equally.
...
At present, backslashes have special case handling within fputcsv(): when one
is encountered within a field that's being escaped, escaping stops until the
next instance of the enclosure character is hit. This can result in malformed
CSV.
Fixes bug #43225 (fputcsv incorrectly handles cells ending in \ followed by ").
2013-01-15 15:17:45 +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
Lars Strojny
6a065876b9
Bug #52958 : Segfault in PDO_OCI on cleanup after running a long testsuite.
2013-01-14 21:35:48 +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
bf9ad4e661
Support BITMAPV5HEADER in getimagesize(): https://en.wikipedia.org/wiki/BMP_file_format#DIB_header_.28bitmap_information_header.29
2013-01-14 18:52:38 +01:00
Lars Strojny
3ec2281298
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-14 18:00:00 +01:00
Lars Strojny
1e9a3ed234
Fix bug #63916 : PDO::PARAM_INT casts to 32bit int internally even on 64bit builds in pdo_sqlite
2013-01-14 17:59:11 +01:00
Lars Strojny
b16463a9fb
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-14 17:36:07 +01:00
Lars Strojny
99d087e5d4
Fixed bug #63921 : sqlite3::bindvalue and relative PHP functions aren't using sqlite3_*_int64 API
2013-01-14 17:35: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
Gustavo Lopes
d7bac4f5ba
Remove _GNU_SOURCE, add local heap sort
2013-01-14 17:06:52 +01:00
Gustavo Lopes
e5029ac40b
The compiler can figure this out
2013-01-14 12:22:42 +01:00
Gustavo Lopes
93d1171c47
Remove unused block
2013-01-14 12:22:42 +01:00
Gustavo Lopes
cddbb98ada
strtr() with 2nd param array - optimization
...
About a 1.25x speedup in my test script by writing the result string
only when a match is found and at the end instead of on each iteration.
2013-01-14 12:22:42 +01:00
Gustavo Lopes
2111ee3df5
Refactoring, bugs & leaks
2013-01-14 12:22:41 +01:00
Gustavo Lopes
ccf15cf2dc
Optimize strtr w/ 2nd arg array
...
Fixes bug #63893 : poor efficiency of strtr() using array with keys of
very different length.
The implementation is basically all new, which carries some risk with
it.
The algorithm is described in "A Fast Algorithm For Multi-Pattern
Searching" (1994) by Sun Wu and Udi Manber.
2013-01-14 12:22:41 +01: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
Stanislav Malyshev
1a96fe0b32
fix bug #63982 : isset() inconsistently produces a fatal error on protected property
2013-01-13 17:08:52 -08:00
Stanislav Malyshev
c6203da6c2
different OSes have different messages, and that's not what the test is about anyway
2013-01-13 16:58:27 -08:00
Arnaud Le Blanc
718afb9acf
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-13 15:47:12 +01:00
Arnaud Le Blanc
a06313fe5a
fixed alternate form for 'x' and 'X' formats
...
same fix exists in original code:
https://svn.apache.org/viewvc?view=revision&revision=1152309
2013-01-13 15:45:15 +01: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
Dmitry Stogov
046ae2f77c
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed uninitialized zval.type (Yoram)
2013-01-10 18:54:19 +04:00
Dmitry Stogov
e1410b5a70
Fixed uninitialized zval.type (Yoram)
2013-01-10 18:53:10 +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
ULF WENDEL
36e88d78e6
MySQL 5.6 EXPIRE PASSWORD flag tests
2013-01-10 14:51:14 +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
Remi Collet
f659ec108f
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix test after fix for bug #63943 (Bad warning text from strpos() on empty needle) See commit c05ee74e7f
2013-01-10 11:17:53 +01:00
Remi Collet
dc9f0e70b7
Fix test after fix for bug #63943 (Bad warning text from strpos() on empty needle)
...
See commit c05ee74e7f
2013-01-10 11:14:38 +01:00
Andrey Hristov
846e506a3d
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-09 19:15:29 +01:00
Andrey Hristov
d430b5a4eb
Add mysqli support - constants and checking in mysqli_options() for the
...
new constant for password expriration
2013-01-09 19:14:48 +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
258c76eb41
backport handling of expired passwords in mysqlnd to 5.4
2013-01-09 18:58:29 +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
bcd278ad7f
fix compilation error after merge
2013-01-09 18:39:59 +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
Andrey Hristov
6a6ec195ac
Merge branch 'PHP-5.3' into PHP-5.4
2013-01-09 18:27:50 +01:00
Andrey Hristov
12e759c2ea
Use during connect the flags set with set_client_option()
2013-01-09 18:27:06 +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
625000ab44
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed compilator bug that might cause jump depended on unitialized value
2013-01-09 17:36:44 +04:00
Dmitry Stogov
d4650c5d69
Fixed compilator bug that might cause jump depended on unitialized value
2013-01-09 17:16:47 +04: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
Dmitry Stogov
f9e8678dd3
Fixed bug #63882 (zend_std_compare_objects crash on recursion)
2013-01-09 11:30:50 +04:00
Xinchen Hui
6deb8361f3
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-09 10:57:47 +08:00
Xinchen Hui
f3b1b85169
update NEWS
2013-01-09 10:55:50 +08:00
Xinchen Hui
15aaa9c660
Merge branch 'PHP-5.3' into PHP-5.4
2013-01-09 10:54:23 +08:00
Xinchen Hui
c05ee74e7f
Fixed bug #63943 (Bad warning text from strpos() on empty needle)
2013-01-09 10:53:20 +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
Adam Harvey
6e684e6a6c
Add NEWS for the previously cherry picked commit.
2013-01-08 11:40:51 +08:00
George Wang
9c52d09ebc
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]
2013-01-08 11:40:13 +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
0de5fb4165
Merge branch 'PHP-5.4' of git.php.net:/php-src into PHP-5.4
2013-01-06 15:09:55 +00:00
Derick Rethans
67c662a0a2
Update news with new bug fix.
2013-01-06 15:08:26 +00:00
Derick Rethans
4ff088d061
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-06 15:07:25 +00:00
Derick Rethans
ba35ae32b7
Merge branch 'PHP-5.3' into PHP-5.4
2013-01-06 15:07:13 +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
bdc1e2302c
Adding test for bug #63462
2013-01-06 14:46:49 +01:00
Derick Rethans
ff9c1b12ff
Fixed bug #55397 : Comparsion of incomplete DateTime causes SIGSEGV.
2013-01-06 13:39:34 +00:00
Lars Strojny
9934efff5f
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-06 14:10:07 +01:00
Lars Strojny
d7da1aa694
Coding style, ANSI C compatibility
2013-01-06 14:08:23 +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
Xinchen Hui
a426e0b050
bump year
2013-01-06 10:22:15 +08:00
Xinchen Hui
a3a699e090
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
2013-01-06 10:20:10 +08:00
Xinchen Hui
c2f8e90504
Merge branch 'PHP-5.3' into PHP-5.4
2013-01-06 10:20:00 +08:00
Xinchen Hui
bc11e6fdbb
bump year
2013-01-06 10:19:09 +08:00
Lars Strojny
8e5460ad86
Adding test from 5.5
2013-01-06 03:15:08 +01:00
Lars Strojny
67557fcfce
Bug #63699 : performance improvements for varios ext/date functions
2013-01-06 03:06:09 +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
Xinchen Hui
2feea39a33
Update NEWS
2013-01-04 11:05:24 +08:00
Xinchen Hui
aff5d084a5
Merge branch 'PHP-5.3' into PHP-5.4
2013-01-04 11:03:52 +08:00
Xinchen Hui
c3e6de2227
Fixed bug #63899 (Use after scope error in zend_compile)
2013-01-04 11:02:21 +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
Stanislav Malyshev
5894aa0950
5.4.12-dev
2013-01-03 17:25:56 -08:00
Johannes Schlüter
c2ad8926e7
Merge branch 'PHP-5.4' into PHP-5.5
2013-01-03 23:00:17 +01:00
Johannes Schlüter
aaecb99c6b
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
configure.in
main/php_version.h
2013-01-03 22:59:38 +01:00
Johannes Schlüter
712710bfec
This will be PHP 5.3.22
2013-01-03 22:56:46 +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
7ed2fdbf99
add bug #63762
2013-01-01 22:09:32 -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
86c46b96b6
add fix #43177
2013-01-01 21:24:11 -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
Stanislav Malyshev
36e19c9cab
Bug #43177 : If an eval() has a parse error, the overall exit status and return code should not be affected.
...
Without this fix, a webpage using eval() may return code 500. That might display
fine and the 500 go unnoticed, but using AJAX or wget, the 500 will cause problems.
2013-01-01 21:18:59 -08:00
Stanislav Malyshev
dd288f93e1
fix NEWS
2013-01-01 19:05:25 -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
Xinchen Hui
0a7395e009
Happy New Year
2013-01-01 16:28:54 +08:00
Xinchen Hui
58dabff8ed
Merge branch 'PHP-5.3' into PHP-5.4
2013-01-01 16:25:09 +08:00
Xinchen Hui
831fbcf385
Happy New Year
2013-01-01 16:23:31 +08:00
Xinchen Hui
38150cbd7a
Merge branch 'PHP-5.3' into PHP-5.4
2013-01-01 16:07:55 +08:00
Xinchen Hui
a2045ff332
Happy New Year~
2013-01-01 16:02:16 +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
Lars Strojny
ee258fe87d
News entry for +0/-0 filter fix
2012-12-29 03:34:23 +01:00
Martin Jansen
dcd99c4b19
Add more tests for the new +0/-0 behaviour.
2012-12-29 03:31:22 +01:00
Martin Jansen
3990641e62
Treat "+0" and "-0" as valid integers just like var_dump() does.
...
This fixes bug #54096 .
2012-12-29 03:31:13 +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
ac3d227e28
Fixed #63859 Memory leak when reusing curl-handle
...
When CURLOPT_POSTFIELDS is called more than once on the same
curl handle, php/curl did not free the memory of the previous
post data. This commit will fix the problem unless the curl
handle was previously duplicated using the curl_copy_handle()
function in which case we can not know if the post data is
still in use or not by any curl handle
2012-12-27 13:31:55 -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
663434cd76
Merge branch 'PHP-5.3' into PHP-5.4
2012-12-26 10:17:37 -05:00
Pierrick Charron
b35ffdeae1
Revert "Remove a useless memory write in zend_llist_del_element"
...
This reverts commit fad960a404 as
required by Stas and Christopher
2012-12-26 10:13:56 -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
Pierrick Charron
c12ab5c306
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Remove a useless memory write in zend_llist_del_element
2012-12-25 20:57:21 -05:00
Pierrick Charron
fad960a404
Remove a useless memory write in zend_llist_del_element
...
The zend_llist_element *next pointer is not necessary and removing
it will also remove a write on memory
2012-12-25 20:45:24 -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
7e2629635b
spelling
2012-12-25 16:21:25 +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
f0b459b7c4
Fixed ZTS build
2012-12-25 13:38:14 +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
Dmitry Stogov
3f8c729e69
Traits refactoring
2012-12-25 10:23:08 +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
3f0dcc08e0
Update NEWS file
2012-12-22 19:09:56 -05:00
Pierrick Charron
b10a3b9466
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed segfault due to libcurl connection caching
2012-12-22 19:04:45 -05:00
Pierrick Charron
a2b6d9c104
Fixed segfault due to libcurl connection caching
...
Libcurl is doing connection caching. When easy handle is cleaned up,
if the handle was previously used by the curl_multi_api, the connection
remains open un the curl multi handle is cleaned up. Some protocols are
sending content like the FTP one, and libcurl try to use the
WRITEFUNCTION or the HEADERFUNCTION. Since structures used in those
callback are freed, we need to use an other callback to which avoid
segfaults.
Libcurl commit d021f2e8a00 fix this issue and should be part of 7.28.2
2012-12-22 19:03:24 -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
5499c7d201
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
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)
Conflicts:
ext/curl/interface.c
ext/curl/tests/bug63363.phpt
2012-12-21 19:24:28 -05:00
Pierrick Charron
1c553eba19
Update NEWS file
2012-12-21 19:19:25 -05:00
Pierrick Charron
af10e698a2
Fixed bug #63352 (Can't enable hostname validation when using curl stream wrappers)
2012-12-21 19:12:43 -05:00
Pierrick Charron
517f800277
CURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST)
...
Fixed bug #63795
2012-12-21 19:10:55 -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
59a4514dc0
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix test to work on every libcurl version
- Fixed typo on "SKIPIF" (causing make test to abort on some systems)
Conflicts:
tests/output/bug63377.phpt
2012-12-21 12:24:52 -05:00
Pierrick Charron
63659ce526
Fix test to work on every libcurl version
2012-12-21 12:19:54 -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
Pierrick Charron
763bce0303
Fix test
...
This test is only valid if libcurl < 7.28.1 since
libcurl removed support for the 1 value in CURLOPT_SSL_VERIFYHOST.
2012-12-21 11:45:59 -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
Felipe Pena
56d9edbbb9
- Fixed typo on "SKIPIF" (causing make test to abort on some systems)
2012-12-20 22:35:05 -02: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
Rasmus Lerdorf
180b9e150b
Fix for bug #63811
2012-12-19 22:58:18 -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
Pierrick Charron
66b88c92bb
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #55438 (Curlwapper is not sending http header randomly)
2012-12-19 19:44:08 -05:00
Pierrick Charron
c46e1cdcae
Fixed bug #55438 (Curlwapper is not sending http header randomly)
...
Since curl multi is used, it sometime happen that the resource is freed before
the curl multi really execute the query. The patch will store the headers
slist in the curlstream handle and free it only when the stream will be closed
2012-12-19 19:40:29 -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
Johannes Schlüter
59692de77f
Merge branch 'PHP-5.3' into PHP-5.4
2012-12-19 16:17:18 +01:00
Johannes Schlüter
e01fe5315c
Update release date
2012-12-19 16:15:39 +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
Andrey Hristov
ae9ba081c8
Merge branch 'PHP-5.4' of ssh://git.php.net/php-src into PHP-5.4
2012-12-19 15:08:09 +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
Remi Collet
3732fa95c5
fix failing test on Linux build
2012-12-19 10:23:57 +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
Andrey Hristov
1f7c46b579
be cautious about the result of strrchr
2012-12-18 16:21:05 +01:00
Xinchen Hui
ea649a5aba
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-17 14:30:20 +08:00
Xinchen Hui
05deaf1706
Merge branch 'PHP-5.3' into PHP-5.4
2012-12-17 14:29:45 +08:00
Xinchen Hui
06739a1b72
dos2unix & skip on connect fail
2012-12-17 14:29:13 +08:00
Xinchen Hui
ea5132866f
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-17 12:58:12 +08:00
Xinchen Hui
2f7f57a407
Merge branch 'PHP-5.3' into PHP-5.4
2012-12-17 12:57:37 +08:00
Xinchen Hui
d2cc097049
Fix failed test
2012-12-17 12:56:55 +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
36a5eca89c
Updating news entry to list new filetypes
2012-12-15 12:00:42 +01:00
Lars Strojny
aaa5e42177
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-14 14:56:25 +01:00
Lars Strojny
c3b480323f
News entry for updated mime types
2012-12-14 14:54:38 +01:00
pascalc
d813af0618
update test for supported Mime Types checking
2012-12-14 13:59:06 +01:00
pascalc
e5b1ebc082
update list of common Mime Types in PHP development server to support Web audio/video formats (Webm ,and Ogg containers) + have jpeg mime types listed together
2012-12-14 13:59:01 +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
77c4b84ac8
Merge branch 'PHP-5.3' into PHP-5.4
2012-12-13 16:54:31 -08:00
Rasmus Lerdorf
7a49e09fd8
Need connect.inc here
2012-12-13 16:54:16 -08:00
Rasmus Lerdorf
3925683d46
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-13 16:42:50 -08:00
Rasmus Lerdorf
d845549257
Merge branch 'PHP-5.3' into PHP-5.4
2012-12-13 16:42:33 -08:00
Rasmus Lerdorf
9d1bc1b622
Fix broken test
...
Need to use the configured connection parameters here. We can't assume
the test user has access.
2012-12-13 16:41:56 -08:00
Rasmus Lerdorf
17b803d448
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-13 16:17:34 -08:00
Rasmus Lerdorf
538d8338c0
Merge branch 'PHP-5.3' into PHP-5.4
2012-12-13 16:15:06 -08:00
Rasmus Lerdorf
eecdb4c254
Fix broken test
...
This was missing a %s for the path here
2012-12-13 16:13:37 -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
Arpad Ray
6566ea6173
Fix #63379 - Don't reset mod_user_is_open in destroy
...
The parent handler is still open so the reset here was in error.
2012-12-13 23:51:43 +00:00
Johannes Schlüter
2098cc7e9d
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-13 22:45:47 +01:00
Johannes Schlüter
ef37055c34
Merge branch 'PHP-5.3' into PHP-5.4
2012-12-13 22:40:23 +01:00
Johannes Schlüter
a11606b18f
Fix Bug #63762 Sigsegv when Exception::$trace is changed by user
2012-12-13 22:39:35 +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
Anatoliy Belsky
0d458ae89f
Fixed mysqlnd compilation in debug mode on windows
2012-12-13 15:01:01 +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
Dmitry Stogov
35f86d24d8
Fixed bug #63757 (getenv() produces memory leak with CGI SAPI)
2012-12-13 13:39:42 +04:00
Xinchen Hui
4d2593e1be
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-13 10:45:33 +08:00
Xinchen Hui
1f516510b7
Merge branch 'PHP-5.3' into PHP-5.4
2012-12-13 10:44:56 +08:00
Xinchen Hui
39a3007ab2
MFH
2012-12-13 10:44:14 +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
2d1694d4eb
Alter php_json_decode_ex() to respect JSON_BIGINT_AS_STRING for bare numbers.
...
Fixes bug #63737 (json_decode does not properly decode with options parameter).
2012-12-11 19:51:30 +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
95fd52ff3d
Merge branch 'PHP-5.3' into PHP-5.4
2012-12-10 13:35:57 +01:00
Johannes Schlüter
a2cf4f1932
Merge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3
2012-12-10 13:35:27 +01:00
Johannes Schlüter
1aba46081a
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-10 13:34:23 +01:00
Johannes Schlüter
bd36d4901c
Merge branch 'PHP-5.3' into PHP-5.4
2012-12-10 13:32:50 +01:00
Johannes Schlüter
795e3f1c0f
Fix typo
2012-12-10 13:32:08 +01:00
Xinchen Hui
70b65f3100
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-10 20:30:39 +08:00
Xinchen Hui
3d86e6d881
Fixed bug #63726 (Memleak with static properties and internal/user classes)
...
No test scripts provided (will try to find one)
2012-12-10 20:29:51 +08:00
Xinchen Hui
8b8fb649dc
Merge branch 'PHP-5.3' into PHP-5.4
2012-12-10 20:29:38 +08:00
Xinchen Hui
ad553a7af2
Fixed bug #63726 (Memleak with static properties and internal/user classes)
2012-12-10 20:28:27 +08:00
Xinchen Hui
a1e401fb34
Merge branch 'PHP-5.3' into PHP-5.4
2012-12-10 18:47:53 +08:00
Xinchen Hui
db6d8e2724
skip 32-bit OS
2012-12-10 18:47:21 +08:00
Xinchen Hui
4e7db3ecbc
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-10 18:35:04 +08:00
Xinchen Hui
2a75f59355
Merge branch 'PHP-5.3' into PHP-5.4
2012-12-10 18:29:34 +08:00
Xinchen Hui
d86decd7b4
Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
2012-12-10 18:28:26 +08:00
Xinchen Hui
fa7e230c76
Need more that 2G memory
2012-12-10 18:28:01 +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
Johannes Schlüter
811cd765a9
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
configure.in
main/php_version.h
2012-12-05 19:02:41 +01:00
Johannes Schlüter
22fe268ad4
this will become PHP 5.3.21
2012-12-05 18:55:05 +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
df97c3aa0d
Use get_gc instead of hacks of get_properties
2012-12-05 17:58:36 +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
881416cda6
Fixed bug #63680 (Memleak in splfixedarray with cycle reference)
2012-12-05 17:53:26 +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
Anatoliy Belsky
73e66ff1bd
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Two tests deactivated until #63688 was fixed
2012-12-05 09:57:36 +01:00
Anatoliy Belsky
94cbd6374a
Two tests deactivated until #63688 was fixed
2012-12-05 09:55:49 +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
c3b6f6feed
5.4.11-dev
2012-12-04 21:30:50 -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
d398456e48
update NEWS
2012-12-04 21:27:25 -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
Stanislav Malyshev
fd650ec93e
fix bug #63666 - Poor date() performance
2012-12-04 21:02:09 -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
Anatoliy Belsky
b8553d8494
Revert the previous test fix
...
The fail seems to be due to network error
2012-12-03 15:14:43 +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
Anatoliy Belsky
89e547ce7f
Fix test with a slightly different warning in TS
2012-12-03 10:41:17 +01:00
Lars Strojny
5dd3ba5da9
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-02 19:51:51 +01:00
Marco Pivetta
627eb9e3d9
Adding tests for private and protected properties
2012-12-02 19:47:18 +01:00
Marco Pivetta
12f451c771
Fixing test according to @jpauli's suggestions
2012-12-02 19:47:13 +01:00
Marco Pivetta
1377942b69
Adding regression test for behavior of magic methods with unset public properties
...
Verifies that after having unset a public property, any access to it, be it read or write, causes calls to public magic methods
Signed-off-by: Marco Pivetta <ocramius@gmail.com >
2012-12-02 19:47:09 +01:00
Lars Strojny
575b983703
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-02 19:42:25 +01:00
Lars Strojny
12de2e91d0
News entry for bug #49341
2012-12-02 19:41:19 +01:00
Igor Wiedler
ec2a132f9c
Bug #49341 : Add SO_REUSEPORT support for socket_set_option()
...
This is a BSD-only feature, and it will only be available on BSD.
On other platforms the constant will simply not be set.
2012-12-02 18:56:57 +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
Remi Collet
7552a7eb19
NEWS
2012-12-01 10:26:20 +01:00
Remi Collet
e9c1a45daa
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
NEWS
2012-12-01 10:25:49 +01:00
Remi Collet
31ab57e052
NEWS
2012-12-01 10:25:37 +01:00
Remi Collet
92a5e4def0
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed Bug #63435 Datetime::format('u') sometimes wrong by 1 microsecond
2012-12-01 10:24:02 +01:00
Remi Collet
c2554b4bb4
Fixed Bug #63435 Datetime::format('u') sometimes wrong by 1 microsecond
...
When storing '015700' microseconds in a Datetime object,
Datetime::format('u') returns '015699'
Already known per bug45554 reproducer (also fixed).
2012-12-01 10:20:39 +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
35f636019d
Merge branch 'PHP-5.3' into PHP-5.4
2012-11-30 14:49:35 +08:00
Xinchen Hui
ff6c9e2726
Fixed bug #63377 (Segfault on output buffer)
2012-11-30 14:48:51 +08:00
Xinchen Hui
055b6c9ce0
Merge branch 'PHP-5.4' into PHP-5.5
2012-11-30 14:33:52 +08:00
Xinchen Hui
96300f551a
format
2012-11-30 14:33:29 +08:00
Xinchen Hui
dc36933181
Merge branch 'PHP-5.3' into PHP-5.4
2012-11-30 14:33:24 +08:00
Xinchen Hui
00d86afedf
Format
2012-11-30 14:32:15 +08:00
Xinchen Hui
093d119597
Merge branch 'PHP-5.4' into PHP-5.5
2012-11-30 14:30:37 +08:00
Xinchen Hui
b689819567
Merge branch 'PHP-5.3' into PHP-5.4
2012-11-30 14:29:59 +08:00
Xinchen Hui
40fabf68ed
Fixed bug #63398 (Segfault when polling closed link)
2012-11-30 14:28:32 +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
7f7cff0bbb
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #63271 (SOAP wsdl cache is not enabled after initial requests)
Conflicts:
NEWS
ext/soap/soap.c
2012-11-29 16:41:09 +04:00
Dmitry Stogov
dc2192c087
Fixed bug #63271 (SOAP wsdl cache is not enabled after initial requests)
2012-11-29 16:31:08 +04:00
Dmitry Stogov
bf6fea6ba0
Fixed bug #61557 (Crasher in tt-rss backend.php)
2012-11-29 14:41:20 +04:00
Dmitry Stogov
1a09bf8023
Fixed bug #61557 (Crasher in tt-rss backend.php)
2012-11-29 14:38:18 +04:00
Dmitry Stogov
3c1888f584
Fixed bug #63635 (Segfault in gc_collect_cycles)
2012-11-29 13:06:12 +04:00
Dmitry Stogov
f877d7fee6
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #63635 (Segfault in gc_collect_cycles)
Conflicts:
NEWS
2012-11-29 12:38:34 +04:00
Dmitry Stogov
92e2f29381
Fixed bug #63635 (Segfault in gc_collect_cycles)
2012-11-29 12:25:20 +04:00
Remi Collet
c37d7a9456
NEWS
2012-11-28 10:45:23 +01: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
487b7c7f32
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed Bug #63581 Possible buffer overflow
Fixed Bug #63581 Possible null dereference
2012-11-28 10:38:13 +01:00
Remi Collet
bc492007da
Fixed Bug #63581 Possible buffer overflow
...
In fpm-log, possible buffer overflow. Check for length is done at
the beginning of the loop, so is not done when overflow occurs
on the last loop (len = 1024 or 1025). (ack from fat).
This issue where found from by static code analysis tool and, so,
I can't provide any reproducer.
2012-11-28 10:35:04 +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
Remi Collet
0f4772d12f
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
...
* 'PHP-5.4' of git.php.net:php-src:
BFN #61272
fix bug #61272 ob_start callback get passed empty string
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:31:49 +01:00
Remi Collet
f08060a48f
Fixed Bug #63581 Possible null dereference
...
Possible NULL dereference when trying to delete the single item
of a list (ack from fat).
This issues where found from by static code analysis tool and,
so, I can't provide any reproducer.
2012-11-28 10:28:18 +01:00
Remi Collet
1e6baa2673
Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
...
* 'PHP-5.3' of git.php.net:php-src:
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:24:32 +01:00
Michael Wallner
be1e5b9c54
BFN #61272
2012-11-28 10:23:26 +01:00
Michael Wallner
575790e842
fix bug #61272 ob_start callback get passed empty string
2012-11-28 10:19:44 +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
d88017e992
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #63590 Fileinfo delivers ifferent results in TS and NTS under Windows
Conflicts:
NEWS
ext/fileinfo/libmagic.patch
ext/fileinfo/tests/finfo_open_error-win32.phpt
2012-11-27 16:45:25 +01:00
Anatoliy Belsky
e6b727d3b7
Fixed bug #63590 Fileinfo delivers ifferent results in TS and NTS under Windows
2012-11-27 16:33:58 +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
Anatoliy Belsky
e0ad33c24a
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
This test isn't supposed to pass on windows
2012-11-27 16:11:53 +01:00
Anatoliy Belsky
eff12e56b6
This test isn't supposed to pass on windows
2012-11-27 16:02:55 +01:00
Xinchen Hui
8337c96656
Merge branch 'PHP-5.4' into PHP-5.5
2012-11-27 13:37:50 +08:00
Xinchen Hui
070239a194
Merge branch 'PHP-5.3' into PHP-5.4
2012-11-27 13:36:38 +08:00
Xinchen Hui
df3b9a1e07
Fixed Bug #63614 (Fatal error on Reflection)
2012-11-27 13:34:36 +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
Remi Collet
7751a68824
Related bug #63588 fix length computation + optimize for speed
...
Following comment from Yoram "The patch looks fine, except of testing
for true value of utf16 in each iteration."
Also fix the length computation during check phase.
2012-11-26 12:59:08 +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
289bb339c9
Fixed bug #63588 Duplicate implementation of php_next_utf8_char
...
Json use an utf8 parser from a third party library, switch to
our implementation of php_next_utf8_char.
This also helps on solving #63520 . All the unit tests succeed.
Our implementation also seems a little faster.
json.dsp need to be regenerated.
2012-11-25 08:14:23 +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
Remi Collet
8d2c44b59d
Fixed Bug #63361 Header not installed
...
ext/mysqli/php_mysqli_structs.h is installed and includes
mysqli_mysqlnd.h or mysqli_libmysql.h. So this header must also
be installed.
2012-11-25 07:46:02 +01:00
Remi Collet
137503dd6f
NEWS entries
2012-11-25 07:40:39 +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
Stanislav Malyshev
c08e2c8c17
fix NEWS
2012-11-24 16:28:56 -08:00
Stanislav Malyshev
7262bf67a2
5.4.10-dev
2012-11-24 16:24:05 -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
67e67c254d
Fixed Bug #63149 Feature missing with system SQLite
...
In pdo_sqlite, getColumnMeta should return the table name.
With bundled SQLite library, -DSQLITE_ENABLE_COLUMN_METADATA=1 (other_flags)
enable the feature in SQLite (function sqlite3_column_table_name).
With system SQLite library, this fix detects if sqlite3_column_table_name is
available and add SQLITE_ENABLE_COLUMN_METADATA macro to get the same behavior.
Test already exists: ext/pdo_sqlite/tests/bug_42589.phpt
2012-11-24 17:47:51 +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
88d2b8c5fd
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
add unit test for bug 63126
NEWS
2012-11-24 17:31:18 +01:00
Remi Collet
92147243bf
add unit test for bug 63126
2012-11-24 17:30:48 +01:00
Remi Collet
90d2561a9c
NEWS
2012-11-24 15:23:25 +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
Remi Collet
7cd2f4b6a6
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed Bug #63126 DISABLE_AUTHENTICATOR ignores array
2012-11-24 15:01:24 +01:00
Remi Collet
f55bed9dad
Fixed Bug #63126 DISABLE_AUTHENTICATOR ignores array
2012-11-24 15:00:03 +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
9d8ed21bd5
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Backported the fix for bug #63248 from 5.4+
2012-11-23 14:00:30 +01:00
Anatoliy Belsky
8a84b1b5d9
Backported the fix for bug #63248 from 5.4+
2012-11-23 13:58:22 +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
Anatoliy Belsky
dc862f4fd4
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed test for bug #63297
2012-11-22 19:04:49 +01:00
Anatoliy Belsky
1702024073
Fixed test for bug #63297
2012-11-22 19:01:09 +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
Johannes Schlüter
6bd0a92a35
Merge branch 'PHP-5.3' into PHP-5.4
2012-11-21 21:09:57 +01:00
Johannes Schlüter
cc315e79e1
PHP 5.3.19
2012-11-21 21:09:25 +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
e54970aaf1
Unused variable copystr
...
copystr is declared again blow
2012-11-21 12:30:03 +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
Dmitry Stogov
111aa9fd2e
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #63468 (wrong called method as callback with inheritance)
Conflicts:
NEWS
2012-11-20 12:54:40 +04:00
Dmitry Stogov
396c1e990a
Fixed bug #63468 (wrong called method as callback with inheritance)
2012-11-20 12:51:55 +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
Christopher Jones
75746d60b6
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 :
Regenerate Zend ini scanner
Fixed bug #63512 parse_ini_file() with INI_SCANNER_RAW removes quotes from value
2012-11-18 14:20:53 -08:00
Christopher Jones
d412152f31
Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
...
* 'PHP-5.3' of https://git.php.net/repository/php-src :
Regenerate Zend ini scanner
Fixed bug #63512 parse_ini_file() with INI_SCANNER_RAW removes quotes from value
2012-11-18 14:20:49 -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
99edb55e41
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Regenerate Zend ini scanner
Conflicts:
Zend/zend_ini_scanner.c
Zend/zend_ini_scanner_defs.h
2012-11-16 18:24:42 -05:00
Pierrick Charron
c886691100
Regenerate Zend ini scanner
...
Regenerate both zend_ini_scanner.c and zend_ini_scanner_defs.h
2012-11-16 18:16:21 -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
Pierrick Charron
15ab75be8a
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #63512 parse_ini_file() with INI_SCANNER_RAW removes quotes from value
2012-11-16 18:07:02 -05:00
Pierrick Charron
6dff07aa8c
Fixed bug #63512 parse_ini_file() with INI_SCANNER_RAW removes quotes from value
...
Restore the old behavior but keep bug 51094 fixed
2012-11-16 18:04:14 -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
Christopher Jones
975fb4e3ea
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 :
Skip test if directory does not exist
Fixed test sapi/cli/tests/006.phpt
Fixed compiler reenterability
Fixed compiler reenterability
UPdated NEWS
Updated NEWS
2012-11-15 19:29:48 -08:00
Christopher Jones
16f9f46935
Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
...
* 'PHP-5.3' of https://git.php.net/repository/php-src :
Skip test if directory does not exist
Updated NEWS
2012-11-15 19:29:44 -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
Johannes Schlüter
2a59f1d06c
Merge branch 'PHP-5.3' into PHP-5.4
2012-11-15 12:29:38 +01:00
Johannes Schlüter
7468fc0e37
Skip test if directory does not exist
...
Would be good to run this using a directory which is existing
everywhere.
2012-11-15 12:28:19 +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
Anatoliy Belsky
3d82f16c7d
Fixed test sapi/cli/tests/006.phpt
...
Third param in preg_match_all() is optional for a while )
2012-11-14 16:20:59 +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
Dmitry Stogov
f99befadbd
Fixed compiler reenterability
2012-11-14 17:47:27 +04:00
Dmitry Stogov
65585b3aa2
Fixed compiler reenterability
2012-11-14 17:45:10 +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
Anatoliy Belsky
5a1d2fe415
UPdated NEWS
2012-11-14 10:06:46 +01:00
Anatoliy Belsky
55a4da7f53
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Updated NEWS
2012-11-14 10:04:27 +01:00
Anatoliy Belsky
f5d8b638c7
Updated NEWS
2012-11-14 10:02:35 +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
Anatoliy Belsky
117d2dd688
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Enabled apache 2.4 handler build option
Conflicts:
sapi/apache2handler/config.w32
2012-11-13 19:40:22 +01:00
Pierre Joye
019bdff395
Enabled apache 2.4 handler build option
2012-11-13 19:34:00 +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
4f36aeb120
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
NEWS
2012-11-13 10:16:58 +00:00
Derick Rethans
00ad4c0e6a
- Updated to version 2012.10 (2012j)
2012-11-13 10:15:34 +00:00
Derick Rethans
1e081a825e
Merge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3
2012-11-13 10:10:41 +00:00
Derick Rethans
d9aea7cd4d
Merge branch 'PHP-5.4' of git.php.net:/php-src into PHP-5.4
2012-11-13 10:10:28 +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
Adam Harvey
6b9df7a454
Merge branch 'preg_match_all_arginfo' into PHP-5.4
...
* preg_match_all_arginfo:
Update arginfo for preg_match_all() to reflect reality.
2012-11-12 20:08:01 +08:00
Adam Harvey
bca8ff723d
Update arginfo for preg_match_all() to reflect reality.
...
Back when I implemented FR #53238 during the 5.4 development phase to make the
$matches parameter optional in preg_match_all(), it turns out I forgot to
update the arginfo to note that only 2 parameters are now required by
preg_match_all(). The function itself works fine, but reflection was reporting
the wrong number of required parameters.
2012-11-12 20:04:26 +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
Antony Dovgal
5b82fb52fd
fix invalid read when trimming empty string
2012-11-11 22:38:14 +04:00
Antony Dovgal
bb60122c2f
fix invalid read when trimming empty string
2012-11-11 22:37:04 +04:00
Felipe Pena
065862a750
- BFN
2012-11-09 21:28:30 -02: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
Felipe Pena
964acdaa35
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Fixed bug #63451 (config.guess file does not have AIX 7 defined, shared objects are not created)
2012-11-09 21:23:10 -02:00
Felipe Pena
44a6fe8411
- Fixed bug #63451 (config.guess file does not have AIX 7 defined, shared objects are not created)
2012-11-09 21:22:27 -02:00
Johannes Schlüter
e383d4d20d
Merge branch 'PHP-5.4'
2012-11-08 00:04:08 +01:00
Johannes Schlüter
9d95f7d286
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
configure.in
main/php_version.h
2012-11-08 00:03:37 +01:00
Johannes Schlüter
417b1b238f
This will be PHP 5.3.20
2012-11-08 00:01:43 +01:00
Stanislav Malyshev
63307de7b6
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix NEWS
2012-11-07 01:19:20 -08:00
Stanislav Malyshev
3e7fcd9cab
fix NEWS
2012-11-07 01:18:34 -08:00
Xinchen Hui
b936a815fb
Merge branch 'PHP-5.4'
2012-11-07 17:09:27 +08:00
Xinchen Hui
e222837f6e
Merge branch 'PHP-5.3' into PHP-5.4
2012-11-07 17:08:34 +08:00
Xinchen Hui
7fcbe4d546
Fixed bug #63447 (max_input_vars doesn't filter variables when mbstring.encoding_translation = On)
2012-11-07 17:05:24 +08:00
Xinchen Hui
6ef09012aa
Merge branch 'PHP-5.3' into PHP-5.4
2012-11-06 14:14:55 +08:00
Rasmus Lerdorf
0ee5d18f91
News entry for png memleak fix
2012-11-05 21:06:18 -08:00
Rasmus Lerdorf
7caca1614b
News entry for png memleak fix
2012-11-05 21:04:33 -08:00
Rasmus Lerdorf
a983ded9bd
Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
2012-11-05 20:58:04 -08:00
Rasmus Lerdorf
f8c280d85a
These need to be volatile in order to prevent leaking after the
...
longjmp in the error handler
2012-11-05 20:57:15 -08:00
Rasmus Lerdorf
f452b9056e
These need to be volatile in order to prevent leaking after the
...
longjmp in the error handler
2012-11-05 20:57:07 -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
Derick Rethans
db0f623490
Merge branch 'PHP-5.3' into PHP-5.4
2012-11-04 16:24:02 +00:00
Derick Rethans
1784279be0
- Updated to version 2012.9 (2012i)
2012-11-04 16:23:58 +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
Xinchen Hui
153bfada90
Merge branch 'PHP-5.3' into PHP-5.4
2012-11-02 18:56:17 +08:00
Xinchen Hui
3fe3029ecb
Fixed bug #62444 (Handle leak in is_readable on windows).
2012-11-02 18:53:06 +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
Anatoliy Belsky
24e4af0b8f
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #63241 PHP fails to open Windows deduplicated files.
2012-10-31 22:55:32 +01:00
Anatoliy Belsky
a2e4404bc8
Fixed bug #63241 PHP fails to open Windows deduplicated files.
...
Fix by (daniel dot stelter-gliese at innogames dot de).
No test is supplied because the issue addresses
the new feature of the Windows Server 2012 and
would need a very specific filesystem setup.
2012-10-31 22:41:03 +01:00
Andrey Hristov
9acc2367b1
Merge branch 'PHP-5.4'
2012-10-31 19:04:10 +01:00
Andrey Hristov
965bd32fec
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-31 18:29:31 +01:00
Andrey Hristov
a17559d422
read 1 instead of 2 bytes. The next 2 bytes are 2 and thus not a problem
2012-10-31 18:26:09 +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
Xinchen Hui
7886f46b56
Fixed bug #63399 (ReflectionClass::getTraitAliases() incorrectly resolves traitnames)
2012-10-31 11:13:32 +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
David Soria Parra
440bbcd9e3
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
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:32 +01:00
David Soria Parra
b3cd64afef
NEWS for bug #62593
2012-10-30 15:26:39 +01:00
Will Fitch
d864063a18
Bug #62593 Updated to account for INOUT parameters
2012-10-30 14:32:32 +01:00
Will Fitch
d922e801ee
Bug #62593 Updated test to verify bindParam doesn't change original value
2012-10-30 14:32:27 +01:00
Will Fitch
646c0e5738
Bug #62593 Updated to always treat zval by value
2012-10-30 14:32:22 +01:00
Will Fitch
f0835c002d
Bug #62593 Added test for change
2012-10-30 14:32:16 +01:00
Will Fitch
7ea4f73ad4
Bug #62593 Updated pdo_pgsql driver to convert boolean values to pg native format in emulation mode
2012-10-30 14:32:09 +01:00
Xinchen Hui
cc1caf92ea
Merge branch 'PHP-5.4'
2012-10-30 11:11:22 +08:00
Xinchen Hui
3342e7276c
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-30 11:10:26 +08:00
Xinchen Hui
2f1c4064f8
Fixed bug #63389 (Missing context check on libxml_set_streams_context() causes memleak)
...
Simply change the expect parameter type, the valid of the resource will
be checked in using time.
2012-10-30 11:08:14 +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
Derick Rethans
4c08ee069c
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-27 15:19:55 +01:00
Derick Rethans
b5344e267a
- Updated to version 2012.8 (2012h)
2012-10-27 15:19:54 +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
Dmitry Stogov
68b229ea73
Fixed bug #63180 (Corruption of hash tables)
2012-10-26 09:47:30 -07:00
Antony Dovgal
01dee2c4b0
fix bug #63369
...
(un)serialize() leaves dangling pointers, causes crashes
2012-10-26 16:42:21 +04:00
Antony Dovgal
f2bffdc2e4
fix bug #63369
...
(un)serialize() leaves dangling pointers, causes crashes
2012-10-26 16:41:14 +04:00
Johannes Schlüter
d21d909072
Merge branch 'PHP-5.4'
2012-10-26 14:23:22 +02:00
Johannes Schlüter
4f4d77805c
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
ext/pdo_mysql/mysql_statement.c
2012-10-26 14:22:31 +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
ULF WENDEL
056ecf3201
This won't make the test pass but now its at least one that shows no unnecessary error messages...
2012-10-26 12:32:10 +02:00
Anthony Ferrara
db35ca4e54
Merge branch 'PHP-5.4'
2012-10-25 16:24:27 -04:00
Anthony Ferrara
c4ce96d073
News entry for CURL notice addition
2012-10-25 16:04:56 -04:00
John Jawed (JJ)
f68f31f121
Notice if CURLOPT_SSL_VERIFYHOST is set to true
2012-10-25 16:00:02 -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
684f29a527
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #63297 Phar fails to write an openssl based signature
2012-10-24 14:46:28 +02:00
Anatoliy Belsky
a88379e03d
Fixed bug #63297 Phar fails to write an openssl based signature
...
Unitialized values warnings seem to be everyday life
when working with openssl. For more read
http://www.openssl.org/support/faq.html#PROG13
So just fixing so the bug, no care about those
warnings.
2012-10-24 13:38:44 +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
e3ac418309
enabled libxpm for gd on windows
2012-10-24 10:36:52 +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
Anatoliy Belsky
3b7ee4dced
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
enabled libxpm for gd on windows
2012-10-24 10:35:07 +02:00
Anatoliy Belsky
b48e163c35
enabled libxpm for gd on windows
2012-10-24 10:26:27 +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
0737be7e7b
Fix for bug #62820
2012-10-23 15:13:57 +02:00
ULF WENDEL
848780606d
Fix for bug #62820 well hidden beneath a ton of whitespace changes. Do not use this pdo factory stuff - you get a line with an error on it, use the mysql stuff in the tests
2012-10-23 14:58:16 +02:00
ULF WENDEL
38b632dd7c
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
...
* 'PHP-5.4' 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
Update test script
Test for #63336 , xfail now
Fixed bug #63305 (zend_mm_heap corrupted with traits)
2012-10-23 13:16:12 +02:00
Anatoliy Belsky
f962260081
merged changes for bug #63297 from 5.3
2012-10-25 09:40:21 +02:00
Anatoliy Belsky
9a6d8e250a
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
fixed a typo in the error message
2012-10-25 09:36:26 +02:00
Anatoliy Belsky
6e23cfeba4
fixed a typo in the error message
2012-10-25 09:26:44 +02:00
ULF WENDEL
bac9d118ed
Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
...
* 'PHP-5.3' of git.php.net:php-src:
fixed a typo in the error message
Fixed bug #63297 Phar fails to write an openssl based signature
enabled libxpm for gd on windows
2012-10-23 13:15:46 +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
Xinchen Hui
22d4205783
Update test script
2012-10-23 17:28:52 +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
0b8b264107
Test for #63336 , xfail now
2012-10-23 16:35:56 +08:00
Xinchen Hui
0cce2a1e76
Merge branch 'PHP-5.4'
2012-10-23 11:35:20 +08:00
Xinchen Hui
74228c5151
Fixed bug #63305 (zend_mm_heap corrupted with traits)
2012-10-23 11:34:25 +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
77fd708a0b
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
...
* 'PHP-5.4' of git.php.net:php-src: (22 commits)
Re-fixed bug #60901 (Improve "tail" syntax for AIX installation)
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
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
...
2012-10-22 13:38:02 +02:00
ULF WENDEL
dfeb91acc7
Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
...
* 'PHP-5.3' of git.php.net:php-src: (123 commits)
Re-fixed bug #60901 (Improve "tail" syntax for AIX installation)
updated NEWS
Fixed bug #63284 PCRE upgrade to 8.31
preg indenpent test script for #63055
Update libmagic.patch
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
indent
better fix for #63055
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
Remove executable permission on inc
Remove executable permission on phpt
Fixed bug #63236 (Executable permission on various source files)
...
2012-10-22 13:37:37 +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
Christopher Jones
7d59b2264e
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Re-fixed bug #60901 (Improve "tail" syntax for AIX installation)
2012-10-21 22:21:46 -07:00
Christopher Jones
dbb72de6c7
Re-fixed bug #60901 (Improve "tail" syntax for AIX installation)
...
The original fix broke Solaris installs of OCI8
2012-10-21 22:17:47 -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
cbb857f8b9
update NEWS
2012-10-19 09:58:46 +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
dfb1956f1a
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
updated NEWS
2012-10-19 09:57:00 +02:00
Anatoliy Belsky
7293cb7250
updated NEWS
2012-10-19 09:56:02 +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
Anatoliy Belsky
d2fa182f25
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #63284 PCRE upgrade to 8.31
2012-10-19 09:51:58 +02:00
Anatoliy Belsky
276c5de0d8
Fixed bug #63284 PCRE upgrade to 8.31
2012-10-19 09:49:28 +02:00
Xinchen Hui
c018d09c33
Merge branch 'PHP-5.4'
2012-10-19 11:24:56 +08:00
Xinchen Hui
bb51549915
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-19 11:24:15 +08:00
Xinchen Hui
90bd54c46e
preg indenpent test script for #63055
2012-10-19 11:22:56 +08:00
Xinchen Hui
542637dbd9
Merge branch 'PHP-5.4'
2012-10-19 11:17:04 +08:00
Xinchen Hui
dfd4244e73
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-19 11:15:03 +08:00
Xinchen Hui
6444eef27b
Update libmagic.patch
2012-10-19 11:14:14 +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
05a843c256
Add fix & missing fix
2012-10-18 18:55:15 -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
c6d6ede4a8
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Add fix & missing fix
2012-10-18 18:51:40 -07:00
Christopher Jones
106c70e76e
Add fix & missing fix
2012-10-18 18:50:18 -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
85b0eda4c8
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
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:57:19 -07:00
Christopher Jones
af14da5714
Fixed bug #63307 (Unused variable in oci8.c)
...
An output section for oci_internal_debug() was setting but not using a variable
2012-10-18 17:53:00 -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
Christopher Jones
8bfc002871
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: (22 commits)
- Updated to version 2012.7 (2012g)
SUpport newer bisons.
Merge the fix for #61964 to 5.3, which will fix #63304
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
Fixed bug #63248 Load multiple magic files on win
Cover have_ssl=NO and have_ssl=DISABLED
- BFN
- 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
Fixed bug #63258 (seg fault with PDO and dblib using DBSETOPT(H->link, DBQUOTEDIDENT, 1))
...
2012-10-18 17:37:49 -07:00
Christopher Jones
79a048f76f
Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
...
* 'PHP-5.3' of https://git.php.net/repository/php-src :
- Updated to version 2012.7 (2012g)
SUpport newer bisons.
Merge the fix for #61964 to 5.3, which will fix #63304
indent
better fix for #63055
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
Cover have_ssl=NO and have_ssl=DISABLED
Minor changes for MySQL 5.6
NEWS for 76601c4
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
2012-10-18 17:37:21 -07:00
Christopher Jones
131dd88505
Fixed bug #63265 (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro)
...
Improve high availability for explicitly terminated connections.
2012-10-18 17:33:51 -07:00
Derick Rethans
51fe5bcd09
Merge branch 'PHP-5.4'
2012-10-18 21:53:08 +01:00
Derick Rethans
4980b24025
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-18 21:53:04 +01:00
Derick Rethans
8f7a6c3029
- Updated to version 2012.7 (2012g)
2012-10-18 21:53:03 +01:00
Derick Rethans
c165a0b6ec
Merge branch 'PHP-5.4'
2012-10-18 17:54:03 +01:00
Derick Rethans
b58d45b67f
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
Zend/acinclude.m4
2012-10-18 17:53:55 +01:00
Derick Rethans
7aed21c557
SUpport newer bisons.
2012-10-18 17:53:21 +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
Xinchen Hui
08a06597e6
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-18 23:32:48 +08:00
Xinchen Hui
0d7965f0a3
Merge the fix for #61964 to 5.3, which will fix #63304
2012-10-18 23:29:33 +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
f1478bbf9d
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-18 20:13:36 +08:00
Xinchen Hui
db2dc7a6a4
indent
2012-10-18 20:13:14 +08:00
Xinchen Hui
84efca62ff
Merge branch 'PHP-5.4'
2012-10-18 20:12:00 +08:00
Xinchen Hui
1f8fd609b0
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-18 20:11:32 +08:00
Xinchen Hui
e88cdaa014
better fix for #63055
2012-10-18 20:10:35 +08:00
Xinchen Hui
4eece4c86a
Merge branch 'PHP-5.4'
2012-10-18 17:35:29 +08:00
Xinchen Hui
54cef2bb6d
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-18 17:33:52 +08:00
Xinchen Hui
8bd5e15ff7
Fixed bug #63055 (Segfault in zend_gc with SF2 testsuite)
2012-10-18 17:31:27 +08:00
Xinchen Hui
b77873f7d2
Merge branch 'PHP-5.4'
2012-10-18 16:33:48 +08:00
Xinchen Hui
4d509708a4
I forgot that inconsistent is only avaliable in debug mode
2012-10-18 16:33:07 +08:00
Xinchen Hui
2fee6f1ee9
Merge branch 'PHP-5.4'
2012-10-18 16:06:47 +08:00
Xinchen Hui
08b9702f8a
Add comments
2012-10-18 16:06:20 +08:00
Xinchen Hui
804ab5dc48
Merge branch 'PHP-5.4'
2012-10-18 15:53:12 +08:00
Xinchen Hui
ccc519b7a9
Fixed bug #63055 (Segfault in zend_gc with SF2 testsuite)
...
This should also fixed various segfaults which the bt looks like cored in zval_mark_grey
2012-10-18 15:49:37 +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
Johannes Schlüter
82fb5df380
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-17 18:26:27 +02:00
Johannes Schlüter
3899adb46f
PHP 5.3.18 NEWS
2012-10-17 18:25:40 +02:00
Andrey Hristov
505836e999
fix NEWS
2012-10-17 17:56:17 +02:00
Andrey Hristov
7314ed535f
Merge branch 'PHP-5.3' of ssh://git.php.net/php-src into PHP-5.3
2012-10-17 17:23:37 +02:00
Andrey Hristov
c50d732f76
fix compilation failure on 32/64bit linux systems, when libmysql is used
...
with ext/mysql
2012-10-17 17:22:31 +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
Christopher Jones
de8b0cfda7
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 :
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:35 -07:00
Christopher Jones
0da5517cb9
Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
...
* 'PHP-5.3' of https://git.php.net/repository/php-src :
Remove executable permission on inc
2012-10-10 17:28:31 -07:00
Xinchen Hui
7a7b2a0642
Merge branch 'PHP-5.4'
2012-10-10 17:24:40 +08:00
Xinchen Hui
07ea38b443
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
2012-10-10 17:24:09 +08:00
Xinchen Hui
ea441bd08d
Implemented FR #63242 (Default error page in PHP built-in web server uses outdated html/css)
2012-10-10 17:23:30 +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
Anatoliy Belsky
674ccefc2d
Fix warnings preventing this test from passing
2012-10-10 11:01:07 +02:00
Xinchen Hui
4e5e8c9da0
Merge branch 'PHP-5.4'
2012-10-10 10:45:34 +08:00
Xinchen Hui
69a4301f6c
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-10 10:45:07 +08:00
Xinchen Hui
1b9e0de2cc
Remove executable permission on inc
2012-10-10 10:44: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
Christopher Jones
a19bc9aa9f
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 :
Remove executable permission on phpt
Remove executable permission on phpt
2012-10-09 19:37:06 -07:00
Christopher Jones
9ea862954b
Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
...
* 'PHP-5.3' of https://git.php.net/repository/php-src :
Remove executable permission on phpt
2012-10-09 19:37:02 -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
Xinchen Hui
45e938ec34
Remove executable permission on phpt
2012-10-10 10:31:53 +08:00
Xinchen Hui
e081c55fb5
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-10 10:31:31 +08:00
Xinchen Hui
610c7fbe7b
Remove executable permission on phpt
2012-10-10 10:27:49 +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
Christopher Jones
bef8ff4c7b
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 bug #63236 (Executable permission on various source files)
Fixed bug #63235 (buffer overflow in use of SQLGetDiagRec)
2012-10-08 22:51:58 -07:00
Christopher Jones
b597464905
Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
...
* 'PHP-5.3' 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:51:54 -07:00
Xinchen Hui
75a2c0d715
Merge branch 'PHP-5.4'
2012-10-09 13:30:22 +08:00
Xinchen Hui
e4a8fa6a15
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-09 13:29:51 +08:00
Xinchen Hui
6284ef112e
Fixed bug #63236 (Executable permission on various source files)
2012-10-09 13:28:31 +08:00
Xinchen Hui
14bfd3126c
Merge branch 'PHP-5.4'
2012-10-09 13:16:53 +08:00
Xinchen Hui
931571260b
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-09 13:15:18 +08:00
Xinchen Hui
45e0d452c5
Fixed bug #63235 (buffer overflow in use of SQLGetDiagRec)
2012-10-09 13:13:51 +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
Christopher Jones
91169fb24f
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: (45 commits)
Fixed bug #63219 (Segfault when aliasing trait method when autoloader throws excpetion)
exposing the libxpm version in phpinfo
5.4.9-dev
PHP-5.3 branch is 5.3.19 now
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
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
...
2012-10-08 16:13:07 -07:00
Christopher Jones
64cc5fc15d
Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
...
* 'PHP-5.3' of https://git.php.net/repository/php-src :
exposing the libxpm version in phpinfo
PHP-5.3 branch is 5.3.19 now
reverted the previous fix for libpng include
fixed include checks for libpng under win
Avoding superfluous function call
Add test for #35895
Update NEWS
FD_ZERO file descriptors before calling curl_multi_fdset
Fixed bug #62216
- Fixed bug #62887 (Only /status?plain&full gives "last request cpu")
- Fixed bug #62947 (Unneccesary warnings on FPM)
- add missing php-fpm.service.in
- 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)
- Updated to version 2012.6 (2012f)
- Updated to version 2012.5 (2012e)
- Updated to version 2012.4 (2012d)
2012-10-08 16:13:03 -07:00
Xinchen Hui
6cd6a74c5a
Merge branch 'PHP-5.4'
2012-10-08 23:00:57 +08:00
Xinchen Hui
67611c67fa
Fixed bug #63219 (Segfault when aliasing trait method when autoloader throws excpetion)
2012-10-08 22:59:52 +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
Anatoliy Belsky
9a99426e80
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
exposing the libxpm version in phpinfo
2012-10-04 18:21:07 +02:00
Anatoliy Belsky
5d9fb8ffeb
exposing the libxpm version in phpinfo
2012-10-04 18:20:02 +02:00
Andrey Hristov
713a3fc58c
update
2012-10-04 13:40:23 +02:00
Derick Rethans
b004a04f0a
Merge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3
2012-10-04 08:39:34 +01:00
Derick Rethans
34eb787828
Merge branch 'PHP-5.4' of git.php.net:/php-src into PHP-5.4
2012-10-04 08:39:21 +01:00
Derick Rethans
61bee020e1
Merge branch 'master' of git.php.net:/php-src
2012-10-04 08:38:56 +01:00
Stanislav Malyshev
9e3396b85d
5.4.9-dev
2012-10-03 18:36:17 -07:00
Johannes Schlüter
9b2303afd6
Merge branch 'PHP-5.4'
2012-10-04 02:37:27 +02:00
Johannes Schlüter
5bbc489527
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
configure.in
main/php_version.h
2012-10-04 02:37:04 +02:00
Johannes Schlüter
64c09f68ec
PHP-5.3 branch is 5.3.19 now
2012-10-04 02:35:42 +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
26e492f2f3
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
reverted the previous fix for libpng include
2012-10-02 10:00:09 +02:00
Anatoliy Belsky
92a46fe07e
reverted the previous fix for libpng include
2012-10-02 09:57:44 +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
Anatoliy Belsky
45351eaab4
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
fixed include checks for libpng under win
2012-10-02 09:40:42 +02:00
Anatoliy Belsky
0165eec1ea
fixed include checks for libpng under win
2012-10-02 09:39:34 +02:00
Xinchen Hui
62fa875f3e
Merge branch 'PHP-5.4'
2012-10-02 00:31:47 +08:00
Xinchen Hui
60a280936e
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-02 00:30:49 +08:00
Xinchen Hui
4f860a4412
Avoding superfluous function call
2012-10-02 00:28:38 +08:00
Xinchen Hui
af0c22537a
Add test for #35895
2012-10-02 00:27:35 +08:00
Xinchen Hui
2ccae0ee75
Merge branch 'PHP-5.4'
2012-10-02 00:05:25 +08:00
Xinchen Hui
8e9805bb79
Now we can set the tsrm_ls manually
...
get(ZTS build):
(gdb) zbacktrace
You can't do that without a process to debug.
(gdb) set_ts 0x4112500
(gdb) zbacktrace
[0x2b232e83a1d8] call_user_func(array(2)[0x2b232e879528],
array(1)[0x2b232e878fa0]) /tmp/1.php:4
[0x7fffcb2efd80] A->__call("xxx", array(1)[0x2b232e878fa0])
2012-10-02 00:02:08 +08:00
Xinchen Hui
a81d431068
Merge branch 'PHP-5.4'
2012-10-01 22:45:15 +08:00
Xinchen Hui
139ac42bec
Fixed bug #63184 test (ext/spl/tests/RecursiveDirectoryIterator_getSubPathname_basic.phpt failed)
2012-10-01 22:42:22 +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
c95fd5f758
Merge branch 'pull-request/209' into PHP-5.4
...
* pull-request/209:
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:31:36 -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
40bb9254c5
Merge branch 'pull-request/210' into PHP-5.4
...
* pull-request/210:
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:19:36 -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
d3c37f0937
add news for --offline
2012-09-30 19:41:41 -07:00
Remi Collet
dd093ac12a
add --offline option to run-tests command
2012-09-30 19:40:57 -07:00
Remi Collet
79db2855f7
Bug #63147 : SKIP_ONLINE_TESTS, for getmxrr
2012-09-30 19:40:52 -07:00
Remi Collet
71c61921f3
Bug #63147 : introduce SKIP_ONLINE_TESTS, for gethostbyname
2012-09-30 19:40:43 -07:00
Remi Collet
189b99aee1
gethostbyname_basic002.phpt is a duplicate to gethostbyname_error004.phpt
2012-09-30 19:40:36 -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
Stanislav Malyshev
457844a226
add bug #63162
2012-09-30 19:27:12 -07:00
Stanislav Malyshev
bf064112b7
fix test and move to proper place
2012-09-30 19:24:42 -07:00
husman
ad570991cf
synergy ftl. Removed duplicate fields.
2012-09-30 19:20:51 -07:00
husman
6ec6b208e8
adding test phpt
2012-09-30 19:20:44 -07:00
husman
491b1efacb
Bug #63162 - parse_url does not matches password component
2012-09-30 19:20:37 -07:00
Stanislav Malyshev
f879e1162f
fix news
2012-09-30 19:08:24 -07:00
Reeze Xia
dedbba4e5b
Eliminate process running requirement of dump_bt in .gdbinit
...
Most of the time scope are avaible, but if not, it will be hard to get them,
since we can't call function if no proccess running. try to get class name
if we can.
2012-10-01 03:10:15 +08:00
Xinchen Hui
f8d1fc62fa
Merge branch 'PHP-5.4'
2012-10-01 00:17:11 +08:00
Xinchen Hui
175a9de47f
Fix test
2012-10-01 00:15:47 +08:00
Reeze Xia
752280d4d2
Add missing ____executor_globals in dump_bt if needed
2012-09-30 23:05:03 +08:00
Lonny Kapelushnik
b3469560f3
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 04:31:29 +00:00
Reeze Xia
613674c7a2
Implemented FR #63188 (Display class name when debugging with gdb macro zbacktrace)
2012-09-30 03:16:26 +08:00
ULF WENDEL
c64ff20836
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
...
* 'PHP-5.4' of git.php.net:php-src: (62 commits)
Fixed bug #63248 Load multiple magic files on win
Cover have_ssl=NO and have_ssl=DISABLED
- BFN
- 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
Fixed bug #63258 (seg fault with PDO and dblib using DBSETOPT(H->link, DBQUOTEDIDENT, 1))
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
Remove executable permission on phpt
Remove executable permission on phpt
Fixed bug #63236 (Executable permission on various source files)
Fixed bug #63235 (buffer overflow in use of SQLGetDiagRec)
Fixed bug #63219 (Segfault when aliasing trait method when autoloader throws excpetion)
exposing the libxpm version in phpinfo
5.4.9-dev
PHP-5.3 branch is 5.3.19 now
reverted the previous fix for libpng include
...
2012-09-29 19:35:09 +02: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
7aa3d0ae65
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Cover have_ssl=NO and have_ssl=DISABLED
2012-09-29 18:55:51 +02:00
ULF WENDEL
5e2222f028
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
...
* 'PHP-5.4' of git.php.net:php-src:
Fixed bug #63248 Load multiple magic files on win
2012-09-29 18:55:42 +02:00
Anatoliy Belsky
6d019deee2
Fixed bug #63248 Load multiple magic files on win
...
- adapt config.w32 to not to use dirent lib anymore
- prevent libmagic from opening a dir handle under win
- reimplement the dir iteration functionality with streams
2012-10-16 11:03:32 +02:00
ULF WENDEL
da541ff561
Cover have_ssl=NO and have_ssl=DISABLED
2012-09-29 18:54:54 +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
13d4d8e2d0
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Minor changes for MySQL 5.6
NEWS for 76601c4
Conflicts:
NEWS
2012-09-29 12:17:13 +02:00
Felipe Pena
c8cc0cde34
- BFN
2012-10-12 19:48:30 -03:00
Felipe Pena
9a6bc88565
- Fixed bug #63214 (Large PDO Firebird Queries)
2012-10-12 19:42:43 -03:00
Gustavo Lopes
f8e26d95f2
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #63240 on stream_get_line()
2012-10-12 20:24:13 +02:00
Gustavo Lopes
76601c4fd1
Fix bug #63240 on stream_get_line()
...
stream_get_line() could contain the delimiter string if that string
had more than one character. The bug manifested itself when a read on
the stream ended with part of the delimiter string and the read after
would start with the rest of the delimiter string; provided that
the data of first read did not complete the max length result of the
call to stream_get_line() with the partial delimiter used in that max
length return. In that case, the delimiter will still appear in
the result, divided in two subsequent return values. That is not a bug.
See <http://www.mail-archive.com/internals@lists.php.net/msg61325.html >
2012-10-12 20:23:43 +02:00
Anatoliy Belsky
9eff1a2178
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
extended the SKIPIF section with ICU 49 (sync with 5.4 branch)
2012-10-12 19:53:35 +02:00
Anatoliy Belsky
5020b51d72
extended the SKIPIF section with ICU 49 (sync with 5.4 branch)
2012-10-12 19:50:35 +02:00
Anatoliy Belsky
a36a5315b8
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
fixed tests for gd having freetype >= 2.4.10
2012-10-12 19:38:13 +02:00
Anatoliy Belsky
131d7d7a89
fixed tests for gd having freetype >= 2.4.10
2012-10-12 19:34:31 +02:00
Xinchen Hui
0c0b5a3543
Fixed bug #63258 (seg fault with PDO and dblib using DBSETOPT(H->link, DBQUOTEDIDENT, 1))
...
The exists test should has covered this bug
2012-10-12 10:37:05 +08:00
ULF WENDEL
20e76f4487
Minor changes for MySQL 5.6
2012-09-29 12:10:24 +02:00
Gustavo Lopes
519f93ef99
NEWS for 76601c4
2012-10-12 20:27:53 +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
Xinchen Hui
36c10242cd
Remove meaningless md5 string && Attempt to fix #63184
2012-09-29 14:38:29 +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
f495e93057
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Update NEWS
2012-09-28 15:28:37 -04:00
Pierrick Charron
ec36192390
Update NEWS
2012-09-28 15:26:53 -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
Pierrick Charron
a2a8220127
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
FD_ZERO file descriptors before calling curl_multi_fdset
2012-09-28 15:21:33 -04:00
Pierrick Charron
936553d666
FD_ZERO file descriptors before calling curl_multi_fdset
...
As per curl documentation http://curl.haxx.se/libcurl/c/curl_multi_fdset.html
we need to FD_ZERO file descriptors before calling the curl_multi_fdset function
2012-09-28 15:21:03 -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
Jerome Loyet
34c3985979
Add missing NEWS entry
2012-09-28 11:22:16 +02:00
Jerome Loyet
b530f53c67
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #62216
2012-09-28 11:21:12 +02:00
Jerome Loyet
4358e90a8f
Merge branch 'bug62216' into PHP-5.3
...
* bug62216:
Fixed bug #62216
2012-09-28 11:20:47 +02:00
Jerome Loyet
bb02fd5772
Fixed bug #62216
...
Add PID to php-fpm init.d script
2012-09-28 11:18:08 +02:00
Xinchen Hui
ad9ee5de84
Merge branch 'PHP-5.4'
2012-09-28 15:05:10 +08:00
Xinchen Hui
61cf929db3
Merge branch 'PHP-5.3' into PHP-5.4
2012-09-28 15:03:52 +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
9ef925b351
- Fixed bug #62887 (Only /status?plain&full gives "last request cpu")
2012-09-28 01:25:51 +02:00
Jerome Loyet
151b16cf7f
- Fixed bug #62887 (Only /status?plain&full gives "last request cpu")
2012-09-28 01:24:52 +02:00
Jerome Loyet
be043ab6d0
Merge branch 'fuckgit' into PHP-5.4
...
* fuckgit:
- Fixed bug #62947 (Unneccesary warnings on FPM)
- Fixed bug #63085 (Systemd integration and daemonize)
Conflicts:
sapi/fpm/config.m4
2012-09-28 01:19:01 +02:00
Jerome Loyet
9ed421e3d7
- Fixed bug #62947 (Unneccesary warnings on FPM)
2012-09-28 01:09:31 +02:00
Jerome Loyet
72f3457161
- Fixed bug #62947 (Unneccesary warnings on FPM)
2012-09-28 01:08:48 +02:00
Jerome Loyet
e31553c204
- Fixed bug #62947 (Unneccesary warnings on FPM)
2012-09-28 01:08:08 +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
64a0e7cdc2
- Fixed bug #63085 (Systemd integration and daemonize)
2012-09-28 00:53:05 +02:00
Jerome Loyet
2259a8f18b
- add missing php-fpm.service.in
2012-09-28 00:47:56 +02:00
Jerome Loyet
b2f4e686f0
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- 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)
Conflicts:
sapi/fpm/config.m4
2012-09-28 00:39:29 +02:00
Jerome Loyet
851a04bb7b
- Fixed bug #63085 (Systemd integration and daemonize)
2012-09-28 00:33:05 +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
Jerome Loyet
b5eb1456aa
- Fixed bug #62954 (startup problems fpm / php-fpm)
...
- Fixed bug #62886 (PHP-FPM may segfault/hang on startup)
2012-09-28 00:05:48 +02:00
Jerome Loyet
0bffdd723f
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
...
* 'PHP-5.4' of git.php.net:php-src: (367 commits)
fix unix/win dir separators
Fix bug #63173 : Crash when invoking invalid array callback
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)
Avoid calling select if maxfd returned by curl_multi_fdset is -1
Fixing NEWS file
Fixed bug #63111 (is_callable() lies for abstract static method)
updated lib versions
Fix folding
fix bug #63015 (Incorrect arginfo for DOMErrorHandler)
Bug #63000 : MCAST_JOIN_GROUP on OSX is broken
Fixed bug #61442 (exception threw in __autoload can not be catched)
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)
update news
Support building PHP with the native client toolchain.
...
2012-09-27 23:57:06 +02:00
Jerome Loyet
75c63c5503
- Fixed bug #62954 (startup problems fpm / php-fpm)
...
- Fixed bug #62886 (PHP-FPM may segfault/hang on startup)
2012-09-27 23:54:35 +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
Anatoliy Belsky
6a50a8640c
fix unix/win dir separators
2012-09-27 19:52:34 +02:00
Nikita Popov
aaabac2473
Merge branch 'PHP-5.4'
...
Conflicts:
Zend/zend_vm_def.h
2012-09-27 18:46:27 +02:00
Nikita Popov
592b232e83
Fix bug #63173 : Crash when invoking invalid array callback
...
The code did not check whether the zend_hash_index_find calls succeded,
so PHP crashed when an array callback was called that contains two elements
which don't have the indices 0 and 1.
2012-09-27 18:40:00 +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
Christopher Jones
f0c65bc0e3
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 :
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)
Avoid calling select if maxfd returned by curl_multi_fdset is -1
Fixing NEWS file
Fixed bug #63111 (is_callable() lies for abstract static method)
updated lib versions
Fix folding
fix bug #63015 (Incorrect arginfo for DOMErrorHandler)
2012-09-26 16:31:18 -07:00
Christopher Jones
bf50416744
Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
...
* 'PHP-5.3' of https://git.php.net/repository/php-src :
Correct the test summary
Fixed bug #60723 (error_log error time has changed to UTC ignoring default timezo)
Avoid calling select if maxfd returned by curl_multi_fdset is -1
Fixed bug #63111 (is_callable() lies for abstract static method)
updated lib versions
2012-09-26 16:31:14 -07:00
Jerome Loyet
a9db9efa0c
Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
...
* 'PHP-5.3' of git.php.net:php-src: (29 commits)
Correct the test summary
Fixed bug #60723 (error_log error time has changed to UTC ignoring default timezo)
Avoid calling select if maxfd returned by curl_multi_fdset is -1
Fixed bug #63111 (is_callable() lies for abstract static method)
updated lib versions
Fixed bug #61442 (exception threw in __autoload can not be catched)
updated libary versions
split tests for the new zlib version on win
Fixed Bug #63103 (ext\curl\tests\bug62839.phpt broken)
test should fail
Fixed bug #63093 (Segfault while load extension failed in zts-build).
Add XFAIL test for bug #62852
Revert "Fixed bug #62852 (Unserialize invalid DateTime causes crash)"
Change package.xml fix description
Fixed bug #60901 (Improve "tail" syntax for AIX installation)
This will become 5.3.18
Update RELEASE PROCESS
fix NEWS after releses
Fix doc bug #63032 (Number of release in documentation).
- Fixed bug #61767 (Shutdown functions not called in certain error situation) - Fixed bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function)
...
2012-09-26 20:18:21 +02: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
8cdd6bc1e7
Merge branch 'PHP-5.3' into PHP-5.4
2012-09-24 19:47:28 +08:00
Xinchen Hui
2cbc4053ae
Correct the test summary
2012-09-24 19:46:40 +08:00
Xinchen Hui
518fa8c4cf
Merge branch 'PHP-5.4'
2012-09-24 11:01:24 +08:00
Xinchen Hui
d9ad532050
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
ext/standard/tests/general_functions/bug60723.phpt
2012-09-24 11:00:58 +08:00
Xinchen Hui
923511d364
Fixed bug #60723 (error_log error time has changed to UTC ignoring default timezo)
...
Cherry pick to 5.3
2012-09-24 10:59:06 +08:00
Xinchen Hui
8fcb4f1107
Merge branch 'PHP-5.4'
2012-09-23 23:00:15 +08:00
Xinchen Hui
395d77c540
Fixed bug #60723 (error_log error time has changed to UTC ignoring default timezo)
2012-09-23 22:59:31 +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
c8687ee63b
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Avoid calling select if maxfd returned by curl_multi_fdset is -1
2012-09-22 10:18:44 -04:00
Pierrick Charron
2e8ab65270
Avoid calling select if maxfd returned by curl_multi_fdset is -1
...
As per libcurl documentation :
When libcurl returns -1 in max_fd, it is because libcurl currently
does something that isn't possible for your application to monitor
with a socket and unfortunately you can then not know exactly when
the current action is completed using select().
2012-09-22 10:15:40 -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
Lars Strojny
734bda7a2d
Fixing NEWS file
2012-09-21 13:22:53 +02:00
Dmitry Stogov
46458c2c65
Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
...
* 'PHP-5.3' of git.php.net:php-src:
updated lib versions
2012-09-21 15:17:21 +04:00
Dmitry Stogov
b69068705e
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
...
* 'PHP-5.4' of git.php.net:php-src:
updated lib versions
2012-09-21 15:16:57 +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
Dmitry Stogov
ed3a2eec9c
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #63111 (is_callable() lies for abstract static method)
Conflicts:
NEWS
2012-09-21 14:18:37 +04:00
Dmitry Stogov
4db74b7f19
Fixed bug #63111 (is_callable() lies for abstract static method)
2012-09-21 13:07:14 +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
Anatoliy Belsky
6c1f5eb215
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
updated lib versions
2012-09-21 09:58:16 +02:00
Anatoliy Belsky
d59c1371c2
updated lib versions
2012-09-21 09:57:22 +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
Rasmus Lerdorf
f037ddc859
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
2012-09-20 14:22:55 -04:00
Rasmus Lerdorf
2322be0fab
Fix folding
2012-09-20 14:22:15 -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
Rob Richards
ffa72707c8
fix bug #63015 (Incorrect arginfo for DOMErrorHandler)
2012-09-20 02:34:07 -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
Christopher Jones
2141c502ae
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 :
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:25 -07:00
Christopher Jones
f81c312945
Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
...
* 'PHP-5.3' of https://git.php.net/repository/php-src :
Fixed bug #61442 (exception threw in __autoload can not be catched)
2012-09-19 17:09:21 -07:00
Lars Strojny
1c423601a8
Merge branch 'PHP-5.4'
...
Conflicts:
ext/sockets/multicast.h
2012-09-19 22:23:22 +02:00
Lars Strojny
dd6b7ea7bd
Merge branch 'PHP-5.4' of git://github.com/php/php-src into PHP-5.4
2012-09-19 22:18:16 +02:00
Lars Strojny
188c124a57
Bug #63000 : MCAST_JOIN_GROUP on OSX is broken
...
The multicast support in PHP 5.4 makes use of MCAST_JOIN_GROUP if it is present.
The problem is that OSX 10.7 added the constant, but did not correctly implement
the feature. This causes the setsockopt call to fail.
The solution to the problem is to not use MCAST_JOIN_GROUP on OSX.
For reference, this was also done in VLC:
* http://trac.videolan.org/vlc/ticket/6104#comment:19
2012-09-19 22:17:35 +02:00
Xinchen Hui
2211300864
Merge branch 'PHP-5.4'
2012-09-19 19:52:38 +08:00
Xinchen Hui
4571d7824a
Merge branch 'PHP-5.3' into PHP-5.4
2012-09-19 19:44:18 +08:00
Xinchen Hui
fd0b3ea663
Fixed bug #61442 (exception threw in __autoload can not be catched)
2012-09-19 19:40:59 +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
Christopher Jones
4ec1a2ab04
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 :
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:09 -07:00
Christopher Jones
40afaa957b
Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
...
* 'PHP-5.3' of https://git.php.net/repository/php-src :
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:05 -07:00
Lars Strojny
6793e09a4e
Merge branch 'PHP-5.4'
2012-09-18 23:17:31 +02:00
Lars Strojny
ee172ce3cc
Merging PR #116
2012-09-18 23:15:03 +02:00
Lars Strojny
d0e96a5575
Merge branch 'PHP-5.4'
2012-09-18 22:17:36 +02:00
Lars Strojny
aa133ea282
Merged GitHub PR #190 : Support for the HTTP PATCH method in CLI webserver
2012-09-18 22:16:51 +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
1e1db9d9bb
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
updated libary versions
Conflicts:
win32/build/libs_version.txt
2012-09-18 10:20:05 +02:00
Anatoliy Belsky
6752f38ccc
updated libary versions
2012-09-18 10:18:26 +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
Anatoliy Belsky
bb276c6155
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
split tests for the new zlib version on win
2012-09-18 10:02:05 +02:00
Anatoliy Belsky
3ad033ffba
split tests for the new zlib version on win
2012-09-18 09:59:49 +02:00
Xinchen Hui
26ee1cb0b1
Merge branch 'PHP-5.4'
2012-09-18 10:50:24 +08:00
Xinchen Hui
e2d1eecf99
Merge branch 'PHP-5.3' into PHP-5.4
2012-09-18 10:48:16 +08:00
Xinchen Hui
e66a5ce56f
Fixed Bug #63103 (ext\curl\tests\bug62839.phpt broken)
2012-09-18 10:46:58 +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
Christopher Jones
1a55451651
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 :
update news
Support building PHP with the native client toolchain.
test should fail
2012-09-17 17:10:57 -07:00
Christopher Jones
f1af61de0b
Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
...
* 'PHP-5.3' of https://git.php.net/repository/php-src :
test should fail
2012-09-17 17:10:53 -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
Stanislav Malyshev
d0ab22e829
update news
2012-09-17 15:58:27 -07:00
Stuart Langley
2e24d9a2b3
Support building PHP with the native client toolchain.
...
The native client compiler defines the C macro __x86_64__, but the size
of an unsigned int is only 4 bytes. This causes the compile to fail
because the inline asm code compiled is for an 8 byte unsigned int. Add
the correct defines to fix this.
As detailed in:
http://code.google.com/p/nativeclient/issues/detail?id=2255
2012-09-17 15:52:55 -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
Xinchen Hui
6096988704
Merge branch 'PHP-5.3' into PHP-5.4
2012-09-17 11:21:14 +08:00
Xinchen Hui
eb881a1dd1
test should fail
2012-09-17 11:20:24 +08: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
Christopher Jones
fad047710c
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 :
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:30 -07:00
Christopher Jones
836c4e3aef
Merge branch 'PHP-5.3' of https://git.php.net/repository/php-src into PHP-5.3
...
* 'PHP-5.3' of https://git.php.net/repository/php-src :
Fixed bug #63093 (Segfault while load extension failed in zts-build).
Add XFAIL test for bug #62852
Revert "Fixed bug #62852 (Unserialize invalid DateTime causes crash)"
2012-09-16 18:37:25 -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
Niklas Lindgren
27542db4e7
Respond with 501 to unknown request methods
...
Fixed typo
Moved 501 response from dispatch to event_read_request
Return return value of send_error_page
2012-09-15 23:11:12 -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
Stanislav Malyshev
56425ee610
news for bug #61421
2012-09-15 23:02:10 -07:00
Mark Jones
84202c367e
commit for php bug 61421
...
enabling SHA2 and RMD160 for openssl signature verification
2012-09-15 22:59:34 -07:00
Xinchen Hui
80b29dcfad
Merge branch 'PHP-5.4'
2012-09-15 11:51:48 +08:00
Xinchen Hui
ee620e9673
Merge branch 'PHP-5.3' into PHP-5.4
2012-09-15 11:51:25 +08:00
Xinchen Hui
4c6678d605
Fixed bug #63093 (Segfault while load extension failed in zts-build).
2012-09-15 11:50:16 +08:00
Xinchen Hui
d23f9194b1
Merge branch 'PHP-5.4'
2012-09-15 11:33:26 +08:00
Xinchen Hui
7609fb433a
Remove bug fixed entry
2012-09-15 11:32:44 +08:00
Xinchen Hui
2eff69f402
Merge branch 'PHP-5.3' into PHP-5.4
2012-09-15 11:32:08 +08:00
Xinchen Hui
1b13ff6ec7
Add XFAIL test for bug #62852
2012-09-15 11:29:47 +08:00
Xinchen Hui
e766f85405
Revert "Fixed bug #62852 (Unserialize invalid DateTime causes crash)"
...
see: http://news.php.net/php.bugs/173451
This reverts commit 46a3f25772 .
2012-09-15 11:26:21 +08:00
Derick Rethans
7101e9161c
Merge branch 'PHP-5.4'
2012-09-14 09:38:36 +01:00
Derick Rethans
ab62ffa0a2
Merge branch 'PHP-5.3' into PHP-5.4
2012-09-14 09:38:32 +01:00
Derick Rethans
78354f30d9
- Updated to version 2012.6 (2012f)
2012-09-14 09:38:31 +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
3b38d14caf
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Change package.xml fix description
Fixed bug #60901 (Improve "tail" syntax for AIX installation)
2012-09-13 22:44:12 -07:00
Christopher Jones
30981836fa
Merge branch 'bug60901' into PHP-5.3
...
* bug60901:
Change package.xml fix description
Fixed bug #60901 (Improve "tail" syntax for AIX installation)
2012-09-13 22:43:37 -07:00
Christopher Jones
9f44844d7c
Change package.xml fix description
2012-09-13 22:43:10 -07:00
Christopher Jones
bbf5978e26
Fixed bug #60901 (Improve "tail" syntax for AIX installation)
2012-09-13 22:40:55 -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
Christopher Jones
1677551386
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 :
This will become 5.3.18
Update RELEASE PROCESS
2012-09-13 18:09:12 -07:00
Johannes Schlüter
9b7bb8d42e
Merge branch 'PHP-5.4'
2012-09-13 23:10:59 +02:00
Johannes Schlüter
d2bee32dfc
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
configure.in
main/php_version.h
2012-09-13 23:10:22 +02:00
Johannes Schlüter
9e91d621e3
This will become 5.3.18
2012-09-13 23:08:30 +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
David Soria Parra
1f9a1c1cf3
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Update RELEASE PROCESS
2012-09-13 20:23:05 +02:00
David Soria Parra
33fcec5c4f
Update RELEASE PROCESS
...
Some parts of the release process are outdated, not needed anymore
or still reference cvs.
2012-09-13 20:19:23 +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
Christopher Jones
33bea8471c
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 :
fix NEWS after releses
Merge 5.3.16 NEWS in.
2012-09-12 18:14:33 -07:00
Johannes Schlüter
cebd084182
Merge branch 'PHP-5.4'
2012-09-12 23:35:40 +02:00
Johannes Schlüter
b93675d60b
Merge branch 'PHP-5.3' into PHP-5.4
2012-09-12 23:35:29 +02:00
Johannes Schlüter
0cc0f73fc3
fix NEWS after releses
2012-09-12 23:35:05 +02:00
Johannes Schlüter
fa014e07bf
Merge branch 'PHP-5.4' of git.php.net:/php-src into PHP-5.4
2012-09-12 23:05:24 +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
Christopher Jones
c36d927331
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 :
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:39 -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
328a3d9f13
regenerate patch, and save a strlen
2012-09-11 11:43:47 +08:00
Xinchen Hui
b5c2f532af
Merge branch 'PHP-5.4'
2012-09-10 23:11:28 +08:00
Xinchen Hui
0a25a0241e
Fix the wrong use of snprintf which is introduced in 1d2f619049
2012-09-10 23:08:54 +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
Dmitry Stogov
62d86209cf
Fixed unintendent clearance of PHP_OUTPUT_ACTIVATED flag
2012-09-10 14:54:18 +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
Christopher Jones
bdf2379400
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: (54 commits)
Fix doc bug #63032 (Number of release in documentation).
fixed test for bug #52944 also for darwin
- 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
Fixed bug #62907 (Double free when use traits)
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)
Bug #49510 : Boolean validation fails with FILTER_NULL_ON_FAILURE with empty string or false
Allow null as a default value for length in mb_substr() and mb_strcut()
folder
Initializing optional argument description in assert()
fix NEWS
Remove extra blank in notice message, should act as same as vm
Fixed bug #62987 (Assigning to ArrayObject[null][something] overrides all undefined variables)
...
2012-09-10 00:04:38 -07:00
Adam Harvey
6dca491a74
Merge branch 'PHP-5.4'
2012-09-10 10:06:23 +08:00
Adam Harvey
58d6a42528
Merge branch 'PHP-5.3' into PHP-5.4
2012-09-10 10:06:10 +08:00
Adam Harvey
f66642aae1
Fix doc bug #63032 (Number of release in documentation).
...
Also add a bonus grammar fix.
2012-09-10 10:05:15 +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
Reeze Xia
57bebfcbdc
fixed test for bug #52944 also for darwin
2012-09-09 23:02:50 +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
Dmitry Stogov
6ba376f552
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- 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
Zend/zend_object_handlers.c
2012-09-06 12:14:29 +04:00
Dmitry Stogov
b29dc146b9
- Fixed bug #61767 (Shutdown functions not called in certain error situation)
...
- Fixed bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function)
2012-09-06 11:26:40 +04:00
Xinchen Hui
12191a9f36
Merge branch 'PHP-5.4'
2012-09-05 23:48:54 +08:00
Xinchen Hui
a43c45ea7d
Merge branch 'PHP-5.3' into PHP-5.4
2012-09-05 23:48:27 +08:00
Xinchen Hui
94582f9398
year++
...
missed the .re files in 5.3
2012-09-05 23:47:51 +08:00
Xinchen Hui
d22f18007f
Merge branch 'PHP-5.4'
2012-09-05 23:44:41 +08:00
Xinchen Hui
a3d078bd8f
correct PHP version & year++
2012-09-05 23:43:59 +08:00
Xinchen Hui
b9dec59b07
Merge branch 'PHP-5.3' into PHP-5.4
2012-09-05 23:42:45 +08:00
Xinchen Hui
5f9023ca38
Correct PHP version
2012-09-05 23:41:42 +08:00
Xinchen Hui
63d9c1f40b
Merge branch 'PHP-5.4'
...
Conflicts:
sapi/litespeed/lsapi_main.c
2012-09-05 23:20:42 +08:00
Xinchen Hui
9d44ff640c
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
ext/interbase/interbase.rc
2012-09-05 23:11:19 +08:00
Xinchen Hui
d64d9e3351
year++
2012-09-05 23:08:05 +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
954e7a3b3c
- 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:04 +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
6c0508f8d5
Fixed bug #62907 (Double free when use traits)
2012-09-05 09:58:22 +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
Anatoliy Belsky
ff0aa24054
forked two tests for windows
...
* bug55544.phpt - VT vs. EXT at the start of the data block,
but the data can still be decoded correctly
* bug_52944.phpt works with the corrupted data and has some
different out
Most likely the ASM optimization under windows is responsible
for this behaviour.
2012-09-03 13:37:34 +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
33db8c0ef6
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
2012-09-03 11:51:17 +04:00
Dmitry Stogov
0ab27c35a4
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
2012-09-03 11:51:08 +04:00
Dmitry Stogov
485c09a376
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
2012-09-03 11:49:58 +04:00
Dmitry Stogov
38476a1543
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)
2012-09-03 11:47:59 +04:00
Dmitry Stogov
7e816c0921
Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice)
2012-09-03 11:46:47 +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
Lars Strojny
a26390ef0c
Bug #49510 : Boolean validation fails with FILTER_NULL_ON_FAILURE with empty string or false
2012-09-02 22:10:23 +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
Lars Strojny
d371a306a2
Merge branch 'PHP-5.4' of git://github.com/php/php-src into PHP-5.4
2012-09-02 14:53:52 +02:00
Lars Strojny
133f610bb1
Allow null as a default value for length in mb_substr() and mb_strcut()
2012-09-02 14:52:05 +02:00
Xinchen Hui
32a97dfae6
Merge branch 'PHP-5.4'
2012-09-02 16:53:31 +08:00
Xinchen Hui
069c448623
folder
2012-09-02 16:52:53 +08:00
Lars Strojny
89948c7fbe
Initializing optional argument description in assert()
2012-09-02 08:01:32 +02: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
Stanislav Malyshev
f7d51df5c6
fix NEWS
2012-09-01 16:57:29 -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
f3108b5f81
Remove extra blank in notice message, should act as same as vm
2012-09-01 14:37:45 +08:00
Xinchen Hui
59e34bad32
Merge branch 'PHP-5.4'
2012-09-01 14:27:59 +08:00
Xinchen Hui
863e7e0acb
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
ext/spl/spl_array.c
2012-09-01 14:27:09 +08:00
Xinchen Hui
67d7d03f00
Fixed bug #62987 (Assigning to ArrayObject[null][something] overrides all undefined variables)
...
The get_zval_ptr_ptr of spl_array handler should act as same as the vm's
2012-09-01 14:21:34 +08:00
Lars Strojny
e658a91b3d
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 19:04:53 +02: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
Xinchen Hui
66fad45724
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-31 11:24:10 +08:00
Xinchen Hui
5dc2cef370
Fixed bug #62976 (Notice: could not be converted to int when comparing some builtin classes)
2012-08-31 11:22:43 +08:00
Johannes Schlüter
010dec7d17
Merge branch 'PHP-5.4'
2012-08-30 22:31:04 +02:00
Johannes Schlüter
dafad1e663
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-30 22:30:37 +02:00
Johannes Schlüter
59263e386f
Merge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3
2012-08-30 21:54:13 +02:00
Felipe Pena
8afb848e18
- BFN
2012-08-30 09:33:35 -03: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
Felipe Pena
eb8d603d46
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Fixed bug #62955 (Only one directive is loaded from "Per Directory Values" Windows registry)
2012-08-30 09:32:26 -03:00
Felipe Pena
de884997e0
- Fixed bug #62955 (Only one directive is loaded from "Per Directory Values" Windows registry)
2012-08-30 09:32:13 -03:00
Jerome Loyet
557200b472
Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
...
* 'PHP-5.3' of git.php.net:php-src: (59 commits)
Fixed defective cloning in ext/intl classes
Fixed bug (segfault while build with zts and GOTO vm-kind)
better fix
Fix test
Fixed bug #62904 (Crash when cloning an object which inherits SplFixedArray)
ZTS fix introduced by Felipe must also go into 5.3
Updated INSTALL. Generated from the XML Docs.
Update NEWS given a5d0c1e2
Fix handling of several uinitialized intl objects
Fixed bug #62885 (mysqli_poll - Segmentation fault)
- Removed PHP 6 checks
skip test properly
Added test for bug #51353 . It'll be skipped by default and must be activated manually.
Move test files to tests dir
skip test for bug 43130 on firebird , not relevant
- Value stored to var is never used
- Value stored to var is never used
- Value stored to var is never used
- Value stored to var is never used
- Value stored to var is never used
...
2012-08-30 08:53:36 +02: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
Anatoliy Belsky
677de8568a
updated mpir version
2012-08-29 17:49:02 +02:00
Gustavo André dos Santos Lopes
521ab78788
Merge 5.3 with strategy ours
...
* origin/PHP-5.3:
Fixed defective cloning in ext/intl classes
2012-08-29 14:30:47 +01:00
Johannes Schlüter
602bb125c3
Merge 5.3.16 NEWS in.
2012-08-29 12:33:55 +02:00
Stanislav Malyshev
bab8167553
Merge branch 'PHP-5.4'
2012-08-28 22:11:24 -07:00
Stanislav Malyshev
55b3386a81
update version id too
2012-08-28 22:10:34 -07:00
Stanislav Malyshev
78cffe0c4d
5.4.7 branched
2012-08-28 22:07:08 -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
Stanislav Malyshev
8b3c1a380a
fix bug #55856 : preg_replace should fail on trailing garbage
2012-08-28 21:59:20 -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
Lars Strojny
f82dd2c774
Bug #62956 : fixing private method signature validation
...
In inheritance, if both methods are private, don not enforce the same
signature.
2012-08-28 14:06:18 +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
0410b4e60f
Fixed defective cloning in ext/intl classes
...
See also bug #62915
Cherry picked from 886a50a (I forgot about 5.3)
Conflicts:
ext/intl/spoofchecker/spoofchecker_class.c
ext/intl/transliterator/transliterator_class.c
2012-08-26 23:53:57 +02:00
Gustavo Lopes
c11106734d
NEWS for 886a50a
2012-08-26 23:47:00 +02: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
886a50a619
Fixed defective cloning in ext/intl classes
...
See also bug #62915
2012-08-26 23:42:13 +02:00
Gustavo Lopes
63a1801d19
NEWS for commit 72c807a
2012-08-26 23:39:53 +02:00
Gustavo Lopes
72c807ad67
Allow Spoofchecker to be registered on ICU 49.1
2012-08-26 23:39:04 +02:00
Gustavo Lopes
011af74b23
Fix version in check message
2012-08-26 23:12:41 +02:00
Gustavo Lopes
949f6cd473
Announce on NEWS change in 1ce572c
2012-08-26 22:01:15 +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
1ce572ce2c
Bug #62933 : compilation error with ICU 3.4
2012-08-26 21:57:53 +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
Lars Strojny
8e7081f3ac
Merging PR 121 to add support for slow request counting on the PHP-FPM status page
2012-08-26 17:02:39 +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
e24194d157
Add test for #62907
2012-08-26 18:28:15 +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
383eafe482
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-25 21:50:08 +08:00
Xinchen Hui
d92a89fe52
Fixed bug (segfault while build with zts and GOTO vm-kind)
2012-08-25 21:47:53 +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
Pierrick Charron
4c83ecc754
Fixed bug #62912 (CURLINFO_PRIMARY_IP is not exposed)
...
CURLINFO_PRIMARY_* and CURLINFO_LOCAL_* where available in curl_getinfo
but the constant itself was not exposed to php userland
2012-08-24 10:16:40 -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
Xinchen Hui
2c74536e6e
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-24 18:22:11 +08:00
Xinchen Hui
55d680e968
better fix
2012-08-24 18:21:49 +08:00
Xinchen Hui
1701460867
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
ext/phar/tests/phpinfo_003.phpt
2012-08-24 18:20:35 +08:00
Xinchen Hui
7bedd275eb
Fix test
2012-08-24 18:18:38 +08:00
Derick Rethans
bc602495d7
Merge branch 'PHP-5.4' of git.php.net:/php-src into PHP-5.4
2012-08-24 10:56:03 +02:00
Derick Rethans
e5bfcd340a
Merge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3
2012-08-24 10:55:17 +02: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
Xinchen Hui
21f085720c
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-23 23:28:02 +08:00
Xinchen Hui
13bcf685cb
Fixed bug #62904 (Crash when cloning an object which inherits SplFixedArray)
2012-08-23 23:27:16 +08:00
Xinchen Hui
42f91d6ac6
Fixed bug #62904 (Crash when cloning an object which inherits SplFixedArray)
2012-08-23 23:21:25 +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
9a72b52a1f
fixing test for upcoming mpir upgrade
...
- mpir is going to be upgraded up to 2.5.1 on windows
2012-08-23 17:09:45 +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
Anatoliy Belsky
e4a3696553
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
ZTS fix introduced by Felipe must also go into 5.3
Updated INSTALL. Generated from the XML Docs.
Update NEWS given a5d0c1e2
Conflicts:
NEWS
2012-08-23 13:35:30 +02:00
Anatoliy Belsky
eca4fc6991
ZTS fix introduced by Felipe must also go into 5.3
2012-08-23 13:32:06 +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
Gustavo André dos Santos Lopes
d212a5d391
Fix SPOOFCHECKER_METHOD_FETCH_OBJECT definition
2012-08-23 10:32:05 +01:00
Xinchen Hui
3ef3b80cdd
Merge branch 'PHP-5.4'
2012-08-23 16:13:57 +08:00
Xinchen Hui
87785c7d5a
tabs
2012-08-23 16:13:34 +08:00
Xinchen Hui
9b2ca07223
Merge branch 'PHP-5.4'
2012-08-23 16:07:13 +08:00
Xinchen Hui
d39aa984ad
Refix #62358 , previous has side-affect
2012-08-23 16:06:17 +08:00
Xinchen Hui
b8800d1701
Merge branch 'PHP-5.4'
2012-08-23 15:45:06 +08:00
Xinchen Hui
6d1bebfcb0
Fixed bug #62358 (Segfault when using traits a lot)
2012-08-23 15:41:49 +08:00
Philip Olson
64bd4551b4
Updated INSTALL. Generated from the XML Docs.
2012-08-22 23:40:48 -07:00
Philip Olson
6a8db0c081
Updated INSTALL. Generated from the XML Docs.
2012-08-22 23:33:29 -07:00
Felipe Pena
058e2947fa
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed ZTS build
2012-08-22 19:40:05 -03:00
Felipe Pena
b98fc4379f
- Fixed ZTS build
2012-08-22 19:39:57 -03:00
Gustavo Lopes
ca4dd76160
Update NEWS given a5d0c1e2
2012-08-22 23:04:46 +02: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
Gustavo Lopes
cd1f45b3be
Fix handling of several uinitialized intl objects
...
PHP 5.4 specific changes. Not having this in the merge commit helps
porting to pecl/intl
2012-08-22 22:38:31 +02:00
Gustavo Lopes
87803ace94
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix handling of several uinitialized intl objects
2012-08-22 22:37:52 +02:00
Gustavo Lopes
a5d0c1e21b
Fix handling of several uinitialized intl objects
2012-08-22 22:32:51 +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
Felipe Pena
fbacf9c237
- Fix NEWS
2012-08-22 11:19:42 -03:00
Sebastian Bergmann
a90170e6f8
WTF?
2012-08-22 16:14:14 +02:00
Felipe Pena
b721ed57eb
- BFN
2012-08-22 10:54:14 -03: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
Felipe Pena
7a56ac00a0
- Fixed bug #62892 (ReflectionClass::getTraitAliases crashes on importing trait methods as private)
2012-08-22 10:50:50 -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
Anatoliy Belsky
22f55d5665
Fixed bug #62313 Zend\tests\errmsg_021.phpt fails
2012-08-22 11:43:12 +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
Xinchen Hui
4e561055a4
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-22 13:49:04 +08:00
Xinchen Hui
e5bdd2c0ee
Fixed bug #62885 (mysqli_poll - Segmentation fault)
2012-08-22 13:41:47 +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
Felipe Pena
b0dbf71466
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Removed PHP 6 checks
2012-08-21 20:15:48 -03:00
Felipe Pena
85fa4d7747
- Removed PHP 6 checks
2012-08-21 20:15:34 -03:00
Xinchen Hui
460d258e57
Merge branch 'PHP-5.4'
2012-08-21 22:19:23 +08:00
Xinchen Hui
cd34067aec
skip test properly
2012-08-21 22:15:54 +08:00
Xinchen Hui
3d4c9b7655
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-21 22:14:17 +08:00
Xinchen Hui
60ad16e11f
skip test properly
2012-08-21 22:11:22 +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
Anatoliy Belsky
d304527253
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Added test for bug #51353 . It'll be skipped by default and must be activated manually.
2012-08-21 13:24:54 +02:00
Anatoliy Belsky
92153dcfe3
Added test for bug #51353 . It'll be skipped by default and must be
...
activated manually.
2012-08-21 13:22:00 +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
7b6ebd97e7
Merge branch 'PHP-5.4' of git://github.com/php/php-src into PHP-5.4
2012-08-21 10:09:23 +02:00
Lars Strojny
aaa2eee4c0
Bug 62462: adjusting test
2012-08-21 10:09:05 +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
c1284f21a7
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-21 15:23:09 +08:00
Reeze Xia
0cdc1f5626
Move test files to tests dir
...
There are 7 files duplicated, so those files was deleted
2012-08-21 14:32:39 +08:00
Xinchen Hui
546b0e4a99
Merge branch 'PHP-5.4'
2012-08-21 13:33:23 +08:00
Xinchen Hui
8722173ad5
Implemented FR #62840 (Add sort flag to ArrayObject::ksort)
2012-08-21 13:32:15 +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
Lars Strojny
c54d73d54c
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:46:50 +02:00
Xinchen Hui
ab4f3d93e8
Merge branch 'PHP-5.4'
2012-08-20 23:44:43 +08:00
Xinchen Hui
cc5631eca3
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-20 23:44:21 +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
Popa Adrian Marius
b9a050100c
skip test for bug 43130 on firebird , not relevant
2012-08-20 16:56:37 +03: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
12ea5c54e5
Fix for #62844
2012-08-19 22:19:57 -07:00
Andrew Faulds
4ec29b945c
relative-scheme
2012-08-19 22:16:07 -07:00
Andrew Faulds
36b88d77f2
bug #62844 ; relative URL schemes in parse_url()
2012-08-19 22:15:58 -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
Stanislav Malyshev
675545f042
update NEWS
2012-08-19 20:37:44 -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
13768f8650
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Value stored to var is never used
2012-08-19 15:09:18 -03:00
Felipe Pena
f4054afe40
- Value stored to var is never used
2012-08-19 15:09:14 -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
d6e6db4501
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Value stored to var is never used
2012-08-19 14:50:52 -03:00
Felipe Pena
3dd256a67b
- Value stored to var is never used
2012-08-19 14:50:49 -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
9d8d84ebdf
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Value stored to var is never used
2012-08-19 14:34:42 -03:00
Felipe Pena
50ab6c63a7
- Value stored to var is never used
2012-08-19 14:34:38 -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
2497bb97e7
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Value stored to var is never used
2012-08-19 12:55:43 -03:00
Felipe Pena
6cd0e446dd
- Value stored to var is never used
2012-08-19 12:55:38 -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
7a72405171
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Value stored to var is never used
2012-08-19 12:44:49 -03:00
Felipe Pena
001966c754
- Value stored to var is never used
2012-08-19 12:44:44 -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
6513ca85c2
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Value stored to var is never read
2012-08-19 12:13:59 -03:00
Felipe Pena
dc1138b102
- Value stored to var is never read
2012-08-19 12:13:48 -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
Xinchen Hui
8693bae624
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-19 18:33:37 +08:00
Xinchen Hui
8b87c6df84
Update NEWS
2012-08-19 18:33:06 +08:00
Reeze Xia
46a3f25772
Fixed bug #62852 (Unserialize invalid DateTime causes crash)
2012-08-19 17:57:45 +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
ebefbdb76d
Fix test failed
2012-08-18 12:21:48 +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
Anatoliy Belsky
15e31d5720
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
More intl tests extracted from symfony
2012-08-17 20:31:00 +02:00
Matt Ficken
1a23d42909
More intl tests extracted from symfony
2012-08-17 20:29:08 +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
Adam Harvey
14847af41d
Update version numbers to 5.4.7-dev.
2012-08-17 23:07:54 +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
Xinchen Hui
0b23da1c74
Fixed bug #62836 (Seg fault or broken object references on unserialize())
2012-08-17 18:28:32 +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
Pierrick Charron
8ac61a3e60
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #62839
2012-08-16 14:50:06 -04:00
Pierrick Charron
9cf0139460
Fixed bug #62839
...
curl_copy_handle segfault with CURLOPT_FILE. The refcount was incremented
before the assignement.
2012-08-16 14:48:44 -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
Felipe Pena
2e1d31d123
- Fixed bug #62829 (stdint.h included on platform where HAVE_STDINT_H is not set)
2012-08-16 15:45:21 -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
Antony Dovgal
b5494c5f17
Merge commit '8649e42' into PHP-5.4
...
* commit '8649e42':
Fixed bug #62838
2012-08-16 14:34:32 +04:00
Antony Dovgal
8649e4236b
Fixed bug #62838
...
enchant_dict_quick_check() destroys zval, but fails to initialize it
2012-08-16 14:32:55 +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
c9265b1acd
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix skipifs
2012-08-14 14:13:03 -07:00
Christopher Jones
3e0b33ed62
Merge branch 'skipif1' into PHP-5.3
...
* skipif1:
Fix skipifs
2012-08-14 14:12:27 -07:00
Christopher Jones
6524a530df
Fix skipifs
...
Skipifs were referencing an unset variable
2012-08-14 14:10:20 -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
Christopher Jones
2b934dfdf9
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Small test tidy up
2012-08-14 11:45:24 -07:00
Christopher Jones
8c3bf96022
Small test tidy up
...
Make some test changes so the tests can be run with the CLI webserver
2012-08-14 11:41:36 -07:00
Xinchen Hui
d43a6cda42
Merge branch 'PHP-5.4'
2012-08-15 01:26:33 +08:00
Xinchen Hui
1a527397cc
better fix & this test pass now
2012-08-15 01:25:31 +08:00
Xinchen Hui
cd4e5d20d9
Merge branch 'PHP-5.4'
2012-08-15 01:08:48 +08:00
Xinchen Hui
6bafbb9abf
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-15 01:08:19 +08:00
Xinchen Hui
8848778a59
Merge fix e7535e06e6 to 5.3
...
thanks for reeze.xia@gmail.com notice this
2012-08-15 01:06:10 +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
3ba07c2ca3
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-15 00:47:08 +08:00
Xinchen Hui
bec5e10155
update NEWS
2012-08-15 00:46:56 +08:00
Xinchen Hui
a5a409ebff
Fixed bug (segfault due to retval is not initialized)
2012-08-15 00:44:47 +08:00
Xinchen Hui
9e2530bfe4
Merge branch 'PHP-5.4'
2012-08-15 00:32:42 +08:00
Xinchen Hui
9be55beb91
Attempt to fix segfault due to retval is not initialized
2012-08-15 00:31:57 +08:00
Xinchen Hui
8c02ad7d15
Merge branch 'PHP-5.4'
2012-08-15 00:26:09 +08:00
Xinchen Hui
b2fe342d04
improve the fix
2012-08-15 00:25:06 +08:00
Xinchen Hui
d3ad2d72ba
Merge branch 'PHP-5.4'
2012-08-15 00:16:05 +08:00
Xinchen Hui
da3660a4c4
Fixed bug (segfault due to PS(mod_user_implemented) not be reseted when closing handler call exit)
2012-08-15 00:15:34 +08:00
Nikita Popov
bb5417bfe0
Merge branch 'PHP-5.4'
2012-08-14 17:38:27 +02:00
Nikita Popov
49e91151c0
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-14 17:37:10 +02:00
Nikita Popov
e1c610fb44
Fix exif test failure
...
There are two slightly different error messages for invalid pointers, so
make the pattern slightly less strict to account for both.
2012-08-14 17:33:38 +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
8091256948
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-14 14:03:05 +08:00
Xinchen Hui
da14cdd6f3
Merge branch 'skip-memory-exhaust-tests' of https://github.com/reeze/php-src into PHP-5.3
2012-08-14 13:58:15 +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
f19351b503
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-13 22:06:18 +02:00
Nikita Popov
7aed239050
Ask for less random data in mcrypt_create_iv
...
Otherwise the RNG blocks and the test takes a lot of time to run (and
occasionally fails).
2012-08-13 22:01:19 +02:00
Nikita Popov
9bc1af1e58
Rename mcrypt_cbf -> mcrypt_cfb
...
Also fix ECB -> CFB in the initialization vector size call (not that it
makes a difference, they have the same size).
2012-08-13 22:01:03 +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
212cfb95d1
more test script for #62328
2012-08-13 11:03:35 +08:00
Xinchen Hui
253760bb6b
Merge branch 'PHP-5.4'
2012-08-12 21:00:01 +08:00
Xinchen Hui
be818e7ea7
Update NEWS
2012-08-12 20:59:33 +08:00
Xinchen Hui
dda0565b53
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-12 20:58:45 +08:00
Xinchen Hui
4970926e45
Fixed bug #62763 (register_shutdown_function and extending class)
2012-08-12 20:58:09 +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
786670f536
Update NEWS
2012-08-12 12:00:16 +08:00
Xinchen Hui
7b307fb930
Fixed bug #62328 (implementing __toString and a cast to string fails)
...
__toString should has a high priority
2012-08-12 11:50:28 +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
d4f9bbfae2
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-11 16:00:00 +08:00
Xinchen Hui
e1180b4f1a
Fixed bug #62795 (Zip extension version not defined)
2012-08-11 15:59:06 +08:00
Reeze Xia
0239437903
Skip tests reply on Zend MM turned on
...
Those two tests have expect memory exhausted fatal error
2012-08-11 00:34:37 +08:00
Xinchen Hui
e904f9f4b2
Merge branch 'PHP-5.4'
2012-08-11 00:25:54 +08:00
Xinchen Hui
5ae7540abd
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-11 00:24:12 +08:00
Xinchen Hui
7130887719
Fix test, from PR 158
2012-08-11 00:22:52 +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
Rob Richards
c5a611b257
Merge branch 'PHP-5.3' into PHP-5.4
...
# By Daniel Veillard
* PHP-5.3:
Update to work with libxml 2.9.0
2012-08-09 14:24:50 -04:00
Daniel Veillard
c4b26cc1b0
Update to work with libxml 2.9.0
2012-08-09 14:02:33 -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
c98a51a169
Merge branch 'bug40459' into PHP-5.4
...
* bug40459:
News for bug#40459
fix bug #40459 - make all stream funcs that create object call ctor
2012-08-09 00:10:31 -07:00
Stanislav Malyshev
128a4bbb0d
News for bug#40459
2012-08-07 23:03:33 -07:00
Stanislav Malyshev
4db70fd406
fix bug #40459 - make all stream funcs that create object call ctor
2012-08-07 22:59:12 -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
Anatoliy Belsky
55b82abe00
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
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:12:04 +02:00
Matt Ficken
ed793b2a3f
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:07:42 +02:00
Derick Rethans
68ecccc60b
Merge branch 'PHP-5.4'
2012-08-06 12:59:44 +01:00
Derick Rethans
de59314a60
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-06 12:59:39 +01:00
Derick Rethans
0a2833bbef
- Updated to version 2012.5 (2012e)
2012-08-06 12:59:38 +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
01e414bb6f
Add #51363
2012-08-05 21:00:04 -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
Lonny Kapelushnik
45f3322905
var_export outputs an E_WARNING when recursion is detected
2012-08-05 20:56:06 -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
Ryusuke SEKIYAMA
81c6a060a2
Added Bison 2.5.1 to bison_version_list
2012-08-05 20:48:42 -07:00
Stanislav Malyshev
e7ca5bb3a1
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Minor spelling corrections
2012-08-05 20:43:53 -07:00
Brett Bieber
82bc8821f9
Minor spelling corrections
2012-08-05 20:43:22 -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
a65cff9151
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
fix for #62460
2012-08-05 20:31:29 -07:00
Stanislav Malyshev
a239658b9e
fix for #62460
2012-08-05 20:31:08 -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
2dbd3ac8cd
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #62460 (php binaries installed as binary.dSYM)
(empty merge for 5.4)
2012-08-05 20:23:53 -07:00
Reeze Xia
07ee764e57
Fixed bug #62460 (php binaries installed as binary.dSYM)
...
See http://marc.info/?l=php-cvs&m=125961714419896
Mac OS X 10.7&10.8 affected too.
2012-08-05 20:22:07 -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
346b3ff094
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-05 12:46:55 +08:00
Xinchen Hui
228c288686
Fix 126 tests failed of phar when --enable-zend-multibyte
2012-08-05 12:40:59 +08:00
Xinchen Hui
ac88d108e6
Merge branch 'PHP-5.4'
2012-08-04 11:29:56 +08:00
Xinchen Hui
7ca0291b94
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-04 11:29:04 +08:00
Xinchen Hui
d289efb457
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
Zend/zend_API.h
2012-08-04 11:14:03 +08:00
Xinchen Hui
f4a315fce2
This becomes useless, since we have set that in the INIT macro
2012-08-04 11:03:21 +08:00
Xinchen Hui
03a1fcabf3
Fixed bug #62744 (dangling pointers made by zend_disable_class)
...
the test will be added while commit the fix for #62737
2012-08-04 10:41:26 +08:00
Xinchen Hui
7e4c0125da
Merge branch 'PHP-5.4'
2012-08-02 23:05:09 +08:00
Xinchen Hui
d1f0662e4d
Fixed bug #62725 (Calling exit() in a shutdown function does not return the exit value)
...
The fix is make 5.4 behavior consistent with 5.3
2012-08-02 23:03:38 +08:00
Xinchen Hui
e200c7ade0
Merge branch 'PHP-5.4'
2012-08-02 22:29:43 +08:00
Xinchen Hui
170ee90bf9
Fixed bug that can not get default value of parameter if it's not optional
2012-08-02 22:28:04 +08:00
Xinchen Hui
3b5defd3b0
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-02 22:26:31 +08:00
Xinchen Hui
49b202f2cf
Fixed bug that can not get default value of parameter if it's not optional
2012-08-02 22:16:46 +08:00
Xinchen Hui
c1a7369a40
Merge branch 'PHP-5.4'
2012-08-02 19:33:58 +08:00
Xinchen Hui
cbf1db38f7
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-02 19:33:27 +08:00
Xinchen Hui
2b6ac9e1a0
Fix test, wrong exepct rule used
2012-08-02 19:31:34 +08:00
Xinchen Hui
6f9b638aed
Merge branch 'PHP-5.4'
2012-08-02 19:24:23 +08:00
Xinchen Hui
417a817f6c
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
2012-08-02 19:23:19 +08:00
Xinchen Hui
6fb9a6922d
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
ext/standard/tests/file/realpath_cache.phpt
2012-08-02 19:23:04 +08:00
Xinchen Hui
9a690859f6
fix test due to float value
2012-08-02 19:14:06 +08:00
Nuno Lopes
aa8eabddd6
make default_exception_ce and error_exception_ce static
2012-08-02 06:53:09 -04: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
53c8612fe7
Fixed bug #62685 (Wrong return datatype in PDO::inTransaction())
2012-08-02 12:55:05 +08:00
Xinchen Hui
80520d0903
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-02 12:53:57 +08:00
Xinchen Hui
cd896d69d9
Fixed bug #62685 (Wrong return datatype in PDO::inTransaction())
2012-08-02 12:52:11 +08:00
Xinchen Hui
6c7c2d0c03
Merge branch 'PHP-5.4'
2012-08-02 12:34:15 +08:00
Xinchen Hui
242658c053
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-02 12:32:44 +08:00
Xinchen Hui
433089ccb4
Fixed bug #62716 (munmap() is called with the incorrect length)
2012-08-02 12:30:07 +08:00
Stanislav Malyshev
20b7adbb20
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix NEWS
2012-08-01 12:21:49 -07:00
Stanislav Malyshev
ce92857131
fix NEWS
2012-08-01 12:21:35 -07:00
Xinchen Hui
7e37860246
Merge branch 'PHP-5.4'
2012-08-01 23:56:44 +08:00
Xinchen Hui
36100060b3
Sleep a little bit more, in some slow machine (like gcov), it will take a little more time to setup server
2012-08-01 23:54:01 +08:00
Xinchen Hui
67f4043b61
Merge branch 'PHP-5.4'
2012-08-01 20:26:02 +08:00
Xinchen Hui
7398029e06
update NEWS
2012-08-01 20:24:53 +08:00
Xinchen Hui
2026e9040f
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-01 20:24:14 +08:00
Xinchen Hui
10642aa9e4
Fixed bug #62715 (ReflectionParameter::isDefaultValueAvailable() wrong result)
2012-08-01 20:23:30 +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
ff729aabf7
sync NEWS
2012-07-31 21:51:46 -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
Stanislav Malyshev
4d6bae896d
skip tests if ibase not present
2012-07-31 21:45:04 -07:00
Xinchen Hui
38c38e677e
Merge branch 'PHP-5.4'
2012-07-31 22:43:10 +08:00
Xinchen Hui
0988ae3c43
Implemented FR #62700 (have the console output 'Listening on http://localhost:8000 ')
2012-07-31 22:42:28 +08:00
Xinchen Hui
b412df1e67
Merge branch 'PHP-5.4'
2012-07-31 10:52:26 +08:00
Xinchen Hui
572d6437bc
expect pass for 5.4
2012-07-31 10:51:18 +08:00
Xinchen Hui
c730329bb0
Merge branch 'PHP-5.3' into PHP-5.4
2012-07-31 10:51:04 +08:00
Xinchen Hui
645f84e41b
Test for bug #62680
2012-07-31 10:49:13 +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
Gustavo André dos Santos Lopes
86ca788cc7
Fix test title and limit it to ICU >= 4.8
2012-07-30 11:04:10 +02:00
Gustavo André dos Santos Lopes
f8e693248f
Remove executable bit from files
2012-07-30 10:32:27 +02:00
Gustavo André dos Santos Lopes
dec7bad635
Merge branch '5.3' into 5.4
...
* 5.3:
Limit test to ICU 49
Remove executable bit from files
2012-07-30 10:31:10 +02:00
Gustavo André dos Santos Lopes
7e3e1837c8
Limit test to ICU 49
2012-07-30 10:27:41 +02:00
Gustavo André dos Santos Lopes
9762609cec
Remove executable bit from files
2012-07-30 10:25:17 +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
e0c014dead
Merge branch 'PHP-5.3' into PHP-5.4
2012-07-29 14:31:04 +08:00
Xinchen Hui
f419d614ba
Sike test while there is no zend mm max_size guard
2012-07-29 14:30:01 +08:00
Xinchen Hui
689fda310a
Merge branch 'PHP-5.4'
2012-07-29 13:26:29 +08:00
Xinchen Hui
c6ad98975e
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Skip test while zend mm is disabled
2012-07-29 13:26:05 +08:00
Xinchen Hui
880a6cee00
Skip test while zend mm is disabled
2012-07-29 13:25:31 +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
Xinchen Hui
11e84180ef
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Skip test while zend_mm is disabled
2012-07-29 12:19:28 +08:00
Xinchen Hui
14cebefb05
Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
2012-07-29 12:18:07 +08:00
Xinchen Hui
015ee3b2c8
Skip test while zend_mm is disabled
2012-07-29 12:17:43 +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
Felipe Pena
b26749b4e9
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Fixed bug #57933 (Wrong table type used in phpinfo output) patch by: selsky at columbia dot edu
2012-07-28 19:05:46 -03:00
Felipe Pena
068fc008c6
- Fixed bug #57933 (Wrong table type used in phpinfo output) patch by: selsky at columbia dot edu
2012-07-28 19:05:13 -03:00
Xinchen Hui
328541db6d
Merge branch 'PHP-5.4'
2012-07-28 17:01:50 +08:00
Xinchen Hui
b7d76b41e0
Merge branch 'PHP-5.3' into PHP-5.4
2012-07-28 17:01:29 +08:00
Xinchen Hui
b477a84026
Fixed bug #60194 for eavl
...
same reason here
2012-07-28 17:00:05 +08:00
Xinchen Hui
ef23da27e0
Merge branch 'PHP-5.4'
2012-07-28 00:55:02 +08:00
Xinchen Hui
61d80d75ba
Merge branch 'PHP-5.3' into PHP-5.4
2012-07-28 00:54:17 +08:00
Xinchen Hui
ef7286a42f
Fixed bug #60194 (--with-zend-multibyte and --enable-debug reports LEAK with run-test.php)
...
It's not a big deal, just because lexer will read the char after cursor before leaving
2012-07-28 00:50:45 +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
Gustavo André dos Santos Lopes
ccffec74d0
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-26 23:37:02 +02: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
Stanislav Malyshev
7d890eef82
update 5.4.5 date
2012-07-25 23:46:15 -07:00
Xinchen Hui
80497ea7df
Merge branch 'PHP-5.4'
2012-07-26 13:58:01 +08:00
Xinchen Hui
302ad0d648
Fix test, committed in wrong folder
2012-07-26 13:57:04 +08:00
Xinchen Hui
eae0610042
Fixed bug #62653 : (unset($array[$float]) causes a crash)
...
the reason why jpauli and I can not reproduce is (it's silly):
I typo "USE_ZEND_ALLOC *&&* valgrind" at the first time, then I always ctrl+r
and jpauli copied my command from the pastbin :)
thanks
2012-07-26 13:53:06 +08:00
Xinchen Hui
07c61c2fdb
Merge branch 'PHP-5.4'
2012-07-26 12:44:51 +08:00
Xinchen Hui
ba27e0888a
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
2012-07-26 12:42:33 +08:00
Xinchen Hui
b4b3a65f55
Fixed bug #62661 (Interactive php-cli crashes if include() is used in auto_prepend_file)
2012-07-26 12:40:47 +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
5799ebdb0c
Fix bug #62654
2012-07-25 02:03:47 +02:00
Rasmus Lerdorf
0fbc8561e6
Fix bug #62654
2012-07-24 16:40:50 -07:00
Rasmus Lerdorf
5f224412fa
Fix bug #62654
2012-07-24 16:28:49 -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
Felipe Pena
54cba5aa91
- Fixed ZTS build
2012-07-24 10:02:32 -03:00
Florian Anderiasch
f2cef8afc4
Updated NES
2012-07-24 14:46:19 +02: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
ddc8d16245
Add syslog support to mail.log #62356
...
Patch by Michael Orlitzky
2012-07-24 14:31:30 +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
9fe8c58130
binary compatibility
2012-07-24 14:45:13 +08:00
Xinchen Hui
4c1e2bbd6f
Re-fix bug #55544
2012-07-24 14:43:53 +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
Xinchen Hui
2abc4c2f6f
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
2012-07-24 13:38:11 +08:00
Xinchen Hui
c20b2ab0bd
folders
2012-07-24 13:37:44 +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
Gustavo André dos Santos Lopes
f3f824823d
Duplicate test for ICU 49
...
The output in ICU < 49 actually seems wrong here; ICU 49 seems to
fix the data.
2012-07-23 02:08:12 +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
860b3ffe75
Fix Bug #62612 readline extension compilation fails
2012-07-22 23:28:32 +02:00
Johannes Schlüter
a3c8429131
Merge branch 'PHP-5.4'
2012-07-22 22:46:21 +02:00
Johannes Schlüter
254d299d07
Merge branch 'PHP-5.3' into PHP-5.4
2012-07-22 22:46:09 +02:00
Johannes Schlüter
ffa8461bfe
merge 5.3.15 NEWS
2012-07-22 22:45:39 +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
Xinchen Hui
a88eca53f7
Improve error message for ssl request
2012-07-22 19:20:23 +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
fd50bf2085
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
missed the test script
2012-07-21 23:33:24 +08:00
Xinchen Hui
777b6679a4
missed the test script
2012-07-21 23:30:32 +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
52d8779c43
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix test failed
Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault)
2012-07-21 23:27:52 +08:00
Xinchen Hui
ead076bac6
Fix test failed
2012-07-21 23:27:09 +08:00
Xinchen Hui
cc30524c89
Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault)
2012-07-21 23:26:18 +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
0c996613c0
Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault)
2012-07-21 22:45:16 +08:00
Xinchen Hui
64cbdc606c
Merge branch 'PHP-5.4'
2012-07-21 02:58:16 +08:00
Xinchen Hui
a6f1533789
Fixed bug #55544 (ob_gzhandler always conflicts with zlib.output_compression)
2012-07-21 02:57:36 +08:00
Xinchen Hui
b39c0749ac
Merge branch 'PHP-5.4'
2012-07-21 00:48:34 +08:00
Xinchen Hui
a2a1cef1a2
Merge branch 'PHP-5.3' into PHP-5.4
2012-07-21 00:47:54 +08:00
Xinchen Hui
683b4f7a2b
merge 9eb5cb6571 to 5.3
2012-07-21 00:46:32 +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
Derick Rethans
ceee821d73
Merge branch 'PHP-5.3' into PHP-5.4
2012-07-20 10:07:24 +01:00
Derick Rethans
d621a91a50
- Updated to version 2012.4 (2012d)
2012-07-20 10:07:23 +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
b81b8bf77d
this initialization is unnecessary anymore after commit 2d9d2cadad
2012-07-18 21:45:37 +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
2d9d2cadad
Fixed bug #62597 (segfault in php_stream_wrapper_log_error with ZTS build)
2012-07-18 20:16:27 +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
8f89cfb548
Fix test (no charset outputed)
2012-07-18 19:50:30 +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
11d0558928
skip for ZTS
2012-07-18 19:47:54 +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
282a6659aa
fix test (dos2unix, typo)
2012-07-18 19:25:22 +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
41a9c681a0
fix test, the key may be a float value
2012-07-18 19:21:25 +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
25be12a3bc
Fixed bug #62594 (segfault in mysqlnd_res_meta::set_mode)
2012-07-18 19:06:27 +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
Xinchen Hui
c7c939b5d8
Bug doesn't exists in any release
2012-07-18 18:00:09 +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
Gustavo André dos Santos Lopes
c7614a8c19
NEWS for b47d6b32
2012-07-17 23:12:25 +02:00
Reeze Xia
b47d6b32ba
Fix test fails: ext/standard/tests/general_functions/bug27678.phpt
...
After commit 3e62aae1 , number_format() returns string with length,
but _php_math_number_format_ex_len() didn't set string length
on nan and inf. This cause segfault when destruct the return value.
2012-07-17 23:08:11 +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
Anatoliy Belsky
d0e58bf6eb
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix for bug #62379 was missing in 5.3
2012-07-17 17:52:25 +02:00
Anatoliy Belsky
bd39495332
Fix for bug #62379 was missing in 5.3
2012-07-17 17:50:05 +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
Hannes Magnusson
5cf4f7395b
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Do not unload shared extensions when checking for leaks
2012-07-17 10:05:42 +01:00
Hannes Magnusson
88f7f3c00f
Do not unload shared extensions when checking for leaks
2012-07-17 10:04:56 +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
Xinchen Hui
c8f285d190
Update libmagic.patch
2012-07-15 18:25:58 +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
f4809424cd
Merge branch 'pull-request/96' into PHP-5.4
...
* pull-request/96:
Implemented FR #61602 Allow access to name of constant used as default value
2012-07-14 23:08:50 -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
55dbd8cf46
update NEWS
2012-07-14 22:41:08 -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
a5d45bae85
Fixed bug #61527 (Recursive/ArrayIterator gives misleading notice when array empty or moved to the end)
2012-07-14 22:34:28 -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
cfdccdb805
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Typofix in test-description
2012-07-14 22:08:19 -07:00
Jille Timmermans
86b4252c8e
Typofix in test-description
2012-07-14 22:07:50 -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
donnut
53ba768ed8
removed unneccesary arrat and ini settings
2012-07-14 19:22:03 -07:00
donnut
4539d799bb
addition SplFileObject tests
2012-07-14 19:21:50 -07:00
donnut
2cb7a678a1
new tests from PHP TestFest June 2012
2012-07-14 19:21:34 -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
Adam Gegotek
8b70dd202a
Fixing up closing tag
2012-07-14 18:59:04 -07:00
Adam Gegotek
152f73f92a
Testing variation on input parameters of http_build_query() function
2012-07-14 18:58:52 -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
Stanislav Malyshev
1916bb223e
Merge branch 'pull-request/91' into PHP-5.4
...
* pull-request/91:
Fixed bug #61964 (finfo_open with directory cause invalid free)
2012-07-14 18:52:24 -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
3728e50e9f
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Fixed bug #62525 (sigabrt while converting floating point to string)
2012-07-14 15:15:24 -03:00
Felipe Pena
63f3962a90
- Fixed bug #62525 (sigabrt while converting floating point to string)
2012-07-14 15:15:11 -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
d640e446ab
- Fixed conflict
2012-07-14 13:16:35 -03:00
Felipe Pena
864575251a
- Fixed memory leak when extending DOMXPath
2012-07-14 13:13:31 -03:00
Felipe Pena
9c28393067
- BFN
2012-07-14 12:27:44 -03:00
Felipe Pena
f94051ea11
- Fix conflict
2012-07-14 12:23:24 -03:00
Felipe Pena
0bff7cfadd
- Fixed bug #62565 (Crashes due non-initialized internal properties_table)
2012-07-14 12:16:16 -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
Felipe Pena
8b093dee21
- Fixed bug #62564 (Extending MessageFormatter and adding property causes crash)
2012-07-14 11:37:08 -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
Matt Ficken
10251b20c3
Fixed bug #62379 failing ODBC long column functionality
2012-07-13 15:34:00 +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
d9d21b2037
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #61677 ext\zlib\tests\bug_52944.phpt fails
2012-07-13 11:46:14 +02:00
Anatoliy Belsky
02b8362ec2
Fixed bug #61677 ext\zlib\tests\bug_52944.phpt fails
...
The test is known to fail on windows with zlib version < 1.2.7 (current dep is 1.2.5),
with 1.2.7 it works. As it's primarily a zlib 1.2.5 issue on windows, skip it for now.
2012-07-13 11:39:57 +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
cf91b163e1
fixed the test for warnings changed
2012-07-12 18:24:38 +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
Anatoliy Belsky
ec7e479562
reverted news about #62477
2012-07-12 10:57:56 +02:00
Anatoliy Belsky
86428169d3
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
reverted changes for #62477
2012-07-12 10:57:26 +02:00
Anatoliy Belsky
ad7eeba3c1
reverted changes for #62477
2012-07-12 10:54:14 +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
be8f089a13
updated NEWS
2012-07-11 22:37:39 +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
899c8f485a
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
updated NEWS
2012-07-11 22:35:00 +02:00
Anatoliy Belsky
896d0fcd41
updated NEWS
2012-07-11 22:33:42 +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
40f8010a13
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #62477 LimitIterator int overflow
2012-07-11 22:29:45 +02:00
Anatoliy Belsky
b383ddf1e5
Fixed bug #62477 LimitIterator int overflow
2012-07-11 22:25:31 +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
Xinchen Hui
977ce78d82
Merge branch 'PHP-5.3' into PHP-5.4
2012-07-10 18:45:16 +08:00
Xinchen Hui
bcf5853eaa
Fixed Bug #62500 (Segfault in DateInterval class when extended)
2012-07-10 18:43:11 +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
Anatoliy Belsky
97b8798520
Fixed test bug #62312 (warnings changed one more time)
2012-07-09 18:21:51 +02:00
andrey
049abdfb26
fix valgrind warning
2012-07-09 18:13:35 +03:00
andrey
66e1ac23c1
Merge branch 'PHP-5.4' of ssh://git.php.net/php-src into PHP-5.4
2012-07-09 17:59:42 +03:00
andrey
555db7dc4e
fix valgrind warning
2012-07-09 17:59:23 +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
Anatoliy Belsky
2032470e41
fixed #62433 test for win
2012-07-09 12:42:10 +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
Xinchen Hui
4323a7aced
update NEWS
2012-07-09 08:44:59 +08:00
Xinchen Hui
0398cc22a9
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false)
appease MSVC (doesnt like unary minus of unsigned ints)
Conflicts:
ext/curl/interface.c
2012-07-09 08:38:03 +08:00
Xinchen Hui
c819cf9d6b
Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false)
...
this bc break is caused by the fix for #61948
2012-07-09 08:32:40 +08:00
Nuno Lopes
b2b018d5f7
appease MSVC (doesnt like unary minus of unsigned ints)
2012-07-08 15:28:29 -04:00
Nuno Lopes
5910d8d4f4
appease MSVC (doesnt like unary minus of unsigned ints)
2012-07-08 15:21:18 -04: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
Felipe Pena
2019062cfc
- Fixed bug #62507 (['REQUEST_TIME'] under mod_php5 returns miliseconds instead of seconds)
2012-07-08 14:05:28 -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
Xinchen Hui
e3b9b1e6dc
Fixed Bug #62500 (Segfault in DateInterval class when extended)
...
This fix also fixed bug #62508 (Segfault while access a non-string
property of DateInterval object)
2012-07-09 00:25:48 +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
Stanislav Malyshev
a213c10ef2
Merge branch 'pull-request/112' into PHP-5.4
...
* pull-request/112:
Added in NEWS and UPGRADING for feature 55218
Adding in test for feature 55218
Implements feature 55218
2012-07-07 12:51:26 -07:00
Lonny Kapelushnik
f0df7dbc8f
Added in NEWS and UPGRADING for feature 55218
2012-07-07 09:10:08 -04: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
79ed100c19
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix two issues with run-tests.php
2012-07-06 22:38:15 -04:00
Anthony Ferrara
26b37f1792
Fix two issues with run-tests.php
...
1. E_STRICT error due to passing return of array_intersect() into reset() directly
2. Details in junit output can produce invalid UTF-8 and XML due to unescaped characters
2012-07-06 22:37:50 -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
Nikita Popov
5cf2f87fa7
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix potential integer overflow in nl2br
Fix potential integer overflow in bin2hex
Conflicts:
ext/standard/string.c
2012-07-05 20:59:18 +02:00
Nikita Popov
157ddd9577
Fix potential integer overflow in nl2br
...
The buffer size was calculated manually, thus creating integer overflows
for very large inputs, e.g. nl2br(str_repeat("\n", 613566757)).
The code now uses safe_emalloc, thus making the code throw an error
instead of crashing.
2012-07-05 20:41:54 +02:00
Nikita Popov
88f46b162b
Fix potential integer overflow in bin2hex
...
The code was already using safe_emalloc but did the multiplication in
the first argument, thus making the use of safe_emalloc pretty useless.
The *2 is now moved to the second argument.
2012-07-05 20:14:49 +02:00
Johannes Schlüter
3b104785c0
Merge branch 'PHP-5.4'
2012-07-05 01:19:27 +02:00
Johannes Schlüter
9a38ca8d50
Merge branch 'PHP-5.3' into PHP-5.4
2012-07-05 01:18:57 +02:00
Johannes Schlüter
6b2b195267
This wil be PHP 5.3.16
2012-07-05 01:15:27 +02:00
johannes
bcc87ba68e
Revert change 3f3ad30c50: There shouldn't be new features in 5.3, especially
...
not if they aren't in 5.4, too.
2012-07-05 00:55:47 +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
91ce8041a3
fix (signed) integer overflow (part of bug #52550
2012-07-02 01:36:35 -04:00
Nuno Lopes
d80ff39189
fix (signed) integer overflow (part of bug #52550
2012-07-02 01:35:28 -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
Xinchen Hui
be4053cea0
Fixed bug #62433 (Inconsistent behavior of RecursiveDirectoryIterator to dot files).
2012-07-02 11:33:38 +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
ff41bfc878
Fix accidential change of php_version.h
...
For some reason the merge reverts changed the version :/
2012-07-01 17:05:19 +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
Nikita Popov
b7903f9778
Revert JSON merges to 5.4
...
This reverts the following merge commits (-m 1):
405ebfcd18
d372b33c9b
36fa17a5fa
2012-07-01 16:38:26 +02:00
Nikita Popov
9cbd7a24b6
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Revert JSON changes to PHP 5.3
2012-07-01 16:35:43 +02:00
Nikita Popov
250393f925
Revert JSON changes to PHP 5.3
...
This reverts the following commits:
974324676b
4662151ea7
84fe2cc890
This does not revert the JSON changes released in PHP 5.3.14.
2012-07-01 16:28:57 +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
b741d3315b
fix bug #61359 : json_encode() calls too many reallocs
2012-06-30 19:14:30 -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
4420b43907
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
remove duplicates, fix order
2012-06-30 17:37:20 -07:00
Stanislav Malyshev
dfce6bf5d6
update NEWS
2012-06-30 17:37:09 -07:00
Stanislav Malyshev
5f31c81f07
remove duplicates, fix order
2012-06-30 17:36:22 -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
Marc Easen
896ac689c9
Fixed the common misspelling of the word occurred (occured -> occurred)
2012-06-30 16:54:03 -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
Felipe Pena
b8d453d8d4
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Fixed bug #62415 (Undefined variable: diff in run-tests.php on line 2093 for successful XFAIL)
2012-06-30 16:29:47 -03:00
Felipe Pena
75d8af715c
- Fixed bug #62415 (Undefined variable: diff in run-tests.php on line 2093 for successful XFAIL)
2012-06-30 16:29:30 -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
ed1f058591
merge
2012-06-29 16:32:55 +03:00
andrey
b7dbcbd41f
Merge branch 'PHP-5.3' into PHP-5.4
2012-06-29 14:48:37 +03:00
andrey
8fe87e7fea
fix Bug #62273 Segmentation Fault in Mysqli/Mysqlnd
2012-06-29 14:42:36 +03:00
andrey
a614f8edea
Merge branch 'PHP-5.3' into PHP-5.4
2012-06-29 14:41:11 +03:00
andrey
a19d5c520c
Merge branch 'PHP-5.4' of ssh://git.php.net/php-src into PHP-5.4
2012-06-29 14:41:01 +03:00
andrey
1ac611f24f
Merge branch 'PHP-5.3' of ssh://git.php.net/php-src into PHP-5.3
2012-06-29 14:40:41 +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
Nikita Popov
d86b6ea35c
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix some lengths in crypt()
Conflicts:
ext/standard/crypt.c
2012-06-29 13:15:35 +02:00
Nikita Popov
e6cf7d7745
Fix some lengths in crypt()
...
Use salt_len_in instead of strlen(salt) or PHP_MAX_SALT_LEN, otherwise too
much memory will be allocated.
sha512 has a 86 character checksum, not 43. That probably was a copy&paste
from the sha256 code which indeed has 43.
The allocation also was using sizeof(char *), thus allocating 4 or 8 times
as much memory as necessary. The sizeof(char *) was removed in the 5.4
branch in b7a92c9 but forgotten on 5.3.
The memset 0 call was using PHP_MAX_SALT_LEN which can be smaller than the
output buffer and thus not zeroing out everything. Use the size of the
output buffer (needed) instead.
2012-06-29 13:11:43 +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
andrey
08f4b3c3ac
Merge branch 'PHP-5.3' into PHP-5.4
2012-06-29 12:43:14 +03:00
andrey
f826ea093f
new charsets
2012-06-29 12:42:54 +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
Stanislav Malyshev
8992da2451
fix NEWS order
2012-06-28 18:08:11 -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
Anthony Ferrara
34ab5650bc
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)
2012-06-28 20:36:21 -04:00
Anthony Ferrara
7e8276ca68
Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)
...
Fixed a memory allocation bug in crypt() SHA256/512 that can
cause segmentation faults when passed in salts with a null byte
early.
2012-06-28 20:00:03 -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
Nikita Popov
405ebfcd18
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Add json_last_error_msg() function
2012-06-28 20:18:19 +02:00
Nikita Popov
974324676b
Add json_last_error_msg() function
...
This replaces json_last_error(true) and is consistent with other custom
error handling functions.
2012-06-28 20:11:27 +02: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
Johannes Schlüter
2996eeeed0
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix #62432 ReflectionMethod random corrupt memory on high concurrent
Conflicts:
ext/date/php_date.c
ext/fileinfo/fileinfo.c
ext/pdo/pdo_dbh.c
ext/pdo/pdo_stmt.c
ext/reflection/php_reflection.c
ext/spl/spl_array.c
ext/spl/spl_directory.c
ext/spl/spl_dllist.c
ext/spl/spl_fixedarray.c
ext/spl/spl_heap.c
ext/spl/spl_iterators.c
ext/spl/spl_observer.c
ext/sqlite/sqlite.c
ext/sqlite3/sqlite3.c
ext/tidy/tidy.c
ext/xmlreader/php_xmlreader.c
ext/xmlwriter/php_xmlwriter.c
ext/xsl/php_xsl.c
ext/zip/php_zip.c
2012-06-27 23:35:07 +02:00
Johannes Schlüter
b025b9d0cf
Fix #62432 ReflectionMethod random corrupt memory on high concurrent
...
This fixes the same issue in multiple extensions. This isn't needed
in later branches as 5.4 introduced object_properties_init()
2012-06-27 23:26:33 +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
Nikita Popov
d372b33c9b
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Improve JSON error handling
Conflicts:
ext/json/tests/bug54058.phpt
ext/json/tests/bug61537.phpt
2012-06-27 12:28:55 +02:00
Nikita Popov
4662151ea7
Improve JSON error handling
...
json_encode() no longer throws warnings. Instead only the error code for
json_last_error() is set.
As it is hard to debug the error from just an error code an optional
$as_string parameter was added to json_last_error(), which returns an
error message instead of an error code.
2012-06-27 12:21:48 +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
Johannes Schlüter
9a86784859
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix memleak in CLI
Conflicts:
sapi/cli/php_cli.c
2012-06-27 11:46:57 +02:00
Johannes Schlüter
bc0972e78d
Fix memleak in CLI
2012-06-27 11:42:43 +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
7a0f4cfdde
update NEWS
2012-06-26 21:56:11 -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
Stanislav Malyshev
ffcfa6f920
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
ws fix
BFN
Fix bug #62373 (serialize() generates wrong reference to the object)
Conflicts:
php.ini-development
php.ini-production
2012-06-26 21:53:40 -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
Stanislav Malyshev
ad2bee193d
ws fix
2012-06-26 15:22:29 -07: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
Xinchen Hui
a44a1dc194
Fixed bug #62357 (compile failure: (S) Arguments missing for built-in function __memcmp).
...
Any C library function may be a macro, We should avoid using ZEND_STRS(L) as their arguments
2012-06-26 18:42:33 +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
ce2082d24f
BFN
2012-06-25 19:20:38 +09: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
Moriyoshi Koizumi
91e1df704e
Fix bug #62373 (serialize() generates wrong reference to the object)
2012-06-25 19:14:19 +09:00
Moriyoshi Koizumi
e427182279
Fix bug #62373 (serialize() generates wrong reference to the object)
2012-06-25 19:13:23 +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
ad641950b3
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix memory allocation checks for base64 encode
2012-06-24 23:56:55 +02:00
Nikita Popov
5b3f4d25ea
Fix memory allocation checks for base64 encode
...
base64_encode used safe_emalloc, but one of the arguments was derived from a
multiplication, thus making the allocation unsafe again.
There was a size check in place, but it was off by a factor of two as it
didn't account for the signedness of the integer type.
The unsafe allocation is not exploitable, but still causes funny behavior
when the sized overflows into a negative number.
To fix the issue the *4 factor is moved into the size argument (where it is
known to be safe), so safe_emalloc can carry out the multiplication.
The size check is removed as it doesn't really make sense once safe_emalloc
works correctly. (Would only cause base64_encode to silently return false
instead of throwing an error. Also could cause problems with other uses of
the base64 encoding API, which all don't check for a NULL return value.)
Furthermore the (length + 2) < 0 check is replaced with just length < 0.
Allowing lengths -2 and -1 doesn't make sense semantically and also is not
honored in the following code (negative length would access unallocated
memory.)
Actually the length < 0 check doesn't make sense altogether, but I left it
there just to be safe.
2012-06-24 23:32:50 +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
Nikita Popov
36fa17a5fa
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Improve json_encode error handling
- BFN
Conflicts:
ext/json/json.c
2012-06-23 21:14:45 +02:00
Nikita Popov
84fe2cc890
Improve json_encode error handling
...
json_encode() now returns bool(false) for all possible errors, throws the
respective warning and also sets the respective json_last_error() error
code. Three new error codes have been added:
* JSON_ERROR_RECURSION
* JSON_ERROR_INF_OR_NAN
* JSON_ERROR_UNSUPPORTED_TYPE
To get a partial JSON output instead of bool(false) the option
JSON_PARTIAL_OUTPUT_ON_ERROR can be specified. In this case the invalid
segments will be replaced either by null (for recursion, unsupported type
and invalid JSON) or 0 (for Inf and NaN).
The warning for invalid UTF-8 stays intact and is thrown also with
display_errors = On. If this behavior is undesired this can be remedied
later.
2012-06-23 20:51:52 +02:00
Felipe Pena
e886272577
- BFN
2012-06-23 15:21:32 -03:00
Felipe Pena
cc90ac54be
- BFN
2012-06-23 15:21:20 -03:00
Felipe Pena
1fc5659ebd
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Improved fix for #62384
2012-06-23 15:16:20 -03:00
Felipe Pena
5e36306feb
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Improved fix for #62384
2012-06-23 15:16:13 -03:00
Felipe Pena
c3f34796a0
- Improved fix for #62384
2012-06-23 15:10:47 -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
Johannes Schlüter
2418791731
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Remove unneeded and outdated ChangeLog file
2012-06-22 20:01:06 +02:00
Johannes Schlüter
84b1c568f4
Remove unneeded and outdated ChangeLog file
2012-06-22 20:00:20 +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
Johannes Schlüter
5e23a047ac
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Remove extra ;
2012-06-22 17:33:22 +02:00
Johannes Schlüter
a62d4e2c43
Remove extra ;
2012-06-22 17:32:46 +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
Felipe Pena
4af92aca87
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Fixed bug #62384 (Attempting to invoke a Closure more than once causes segfaul)
2012-06-22 12:05:55 -03:00
Felipe Pena
b8e946b02e
- Fixed bug #62384 (Attempting to invoke a Closure more than once causes segfaul)
2012-06-22 12:05:29 -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
Johannes Schlüter
af516750ff
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Improve check for :memory: pseudo-filename in SQlite
Conflicts:
ext/sqlite3/sqlite3.c
2012-06-22 12:50:30 +02:00
Johannes Schlüter
055ecbc628
Improve check for :memory: pseudo-filename in SQlite
2012-06-22 12:48:39 +02:00
Lonny Kapelushnik
2178b1d02d
Adding in test for feature 55218
2012-06-21 23:21:17 -04:00
Lonny Kapelushnik
f1ef8b327f
Implements feature 55218
...
Allows you to recursively check namespaces under a child node
instead of from the root of the XML doc
2012-06-21 22:34:46 -04: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
Johannes Schlüter
041dd77135
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Remove outdated and user-specific files
2012-06-20 19:47:44 +02:00
Johannes Schlüter
d93892de7a
Remove outdated and user-specific files
2012-06-20 19:46:32 +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
02cda8fd94
Merge branch 'PHP-5.3' into PHP-5.4
...
I messed up the last merge somehow :/ Merge again.
* PHP-5.3:
Add NEWS for bug #62262
Fixed bug RecursiveArrayIterator does not implement Countable
Conflicts:
ext/spl/spl_array.c
2012-06-19 18:41:49 +02:00
Nikita Popov
5d81fe6f12
Add NEWS for bug #62262
2012-06-19 18:40:46 +02:00
Nikita Popov
fed1f2d124
Fixed bug RecursiveArrayIterator does not implement Countable
...
ArrayIterator implemented Countable only after it was already inherited by
RecursiveArrayIterator. Thus the interface was missing in RAI.
2012-06-19 18:32:44 +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
Nikita Popov
cce4764f13
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug RecursiveArrayIterator does not implement Countable
Conflicts:
ext/spl/spl_array.c
2012-06-19 18:08:22 +02:00
Nikita Popov
4cba4c6193
Fixed bug RecursiveArrayIterator does not implement Countable
...
ArrayIterator implemented Countable only after it was already inherited by
RecursiveArrayIterator. Thus the interface was missing in RAI.
2012-06-19 18:04: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
34bd1c941b
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
sync zip ext version with pecl
2012-06-19 17:17:11 +02:00
Anatoliy Belsky
e793539678
sync zip ext version with pecl
2012-06-19 17:15:56 +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
5c001d42d4
one more correction for COM upgrading notes
2012-06-19 14:58:06 +02:00
Anatoliy Belsky
df138c5719
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
one more correction for COM upgrading notes
2012-06-19 14:51:52 +02:00
Anatoliy Belsky
f072662621
one more correction for COM upgrading notes
2012-06-19 14:42:59 +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
Anatoliy Belsky
0a65b661e4
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
split gzgetc_basic.phpt for zlib 1.2.7
2012-06-19 14:12:54 +02:00
Anatoliy Belsky
a8948d0808
split gzgetc_basic.phpt for zlib 1.2.7
2012-06-19 14:08:34 +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
d8ba49a2c7
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
com ext upgrading correction
2012-06-18 22:08:44 +02:00
Anatoliy Belsky
592917f91f
com ext upgrading correction
2012-06-18 22:07:19 +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
1c4e48650c
com ext upgrading infos
2012-06-18 22:04:40 +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
b408028b88
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
com ext upgrading info
2012-06-18 21:59:27 +02:00
Anatoliy Belsky
6176b96a23
com ext upgrading info
2012-06-18 21:56:17 +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
Anatoliy Belsky
c56ff2bf75
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Reverted the BC fix regarding to #57905 , test adopted
2012-06-17 16:10:56 +02:00
Anatoliy Belsky
d3780f1f90
Reverted the BC fix regarding to #57905 , test adopted
...
New 0.10.1 has a stronger archive integrity check. Restoring
the old behaviour of libzip < 0.10.1 makes no sense at this
place.
2012-06-17 16:04:36 +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
stealth35
11a202ef50
Fix potential leak in cli server
2012-06-16 00:56:54 +03: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
280e3a4ec8
Fixed bug #62312 ext\sockets\tests\socket_import_stream-4.phpt fails
2012-06-14 18:02:53 +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
Anatoliy Belsky
3faebe2bec
Fix bug #62270 Test bug - ext/fileinfo/tests/finfo_open_error-win32
2012-06-14 17:59:39 +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
Johannes Schlüter
fef691b142
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Merge PHP 5.3.14 NEWS
re-add 61755 to NEWS
2012-06-13 10:36:49 +02:00
Johannes Schlüter
26cb570615
Merge PHP 5.3.14 NEWS
2012-06-13 10:35:58 +02:00
Anthony Ferrara
03536e889a
More cleanup of documentation and comments, as well as code formatting
2012-06-12 15:05:44 -04:00
Stanislav Malyshev
79e44c394f
re-add 61755 to NEWS
2012-06-12 11:53:24 -07:00
Anthony Ferrara
2f1cd2cb13
Fix tests to use proper casing
2012-06-12 14:52:43 -04:00
Stanislav Malyshev
f0d6059389
re-add 61755 to NEWS
2012-06-12 11:52:22 -07:00
Anthony Ferrara
43eb8dc04a
Remove un-needed memset, and replacing stray spaces
2012-06-12 14:32:21 -04:00
Stanislav Malyshev
c7be96b08f
Revert "Add PBKDF2 support via openssl()"
...
This reverts commit b5b8ea1050 .
Looks like we don't have agreement yet on this for 5.4. Let's keep it in 5.5 for now.
2012-06-12 11:22:49 -07:00
Stanislav Malyshev
a2bfad051d
Revert "Rename openssl_pkcs5_pbkdf2_hmac() to something that doesn't sound like a spell."
...
This reverts commit bccd1e672f .
Looks like we don't have agreement yet on this for 5.4. Let's keep it in 5.5 for now.
2012-06-12 11:21:54 -07:00
Stanislav Malyshev
f8cc363841
add CVE
2012-06-12 11:19:08 -07: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
bccd1e672f
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 15:41:41 -07:00
Scott MacVicar
b5b8ea1050
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 13:35:25 -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
Matt Ficken
a18cede1c5
Fix bug #62271 test bug - ext/wddx/tests/bug48562.phpt
2012-06-11 17:00:36 +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
Stanislav Malyshev
b55e69285b
typo fix
2012-06-10 20:38:22 -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
51a5e98af6
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Make travis silent
2012-06-10 18:17:49 +04:00
David Soria Parra
f464ffd780
Make travis silent
...
Travis will always build all branches. As we just have a .travis.yml
on master, travis will go ahead and checkout PHP-5.3. It fails and
then sends mails. We really don't want to get spammed, so we add
a .travis.yml that is just silent.
2012-06-10 18:17:37 +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
David Soria Parra
b9babd22e0
Merge branch 'PHP-5.3' into PHP-5.4
...
By Stanislav Malyshev (1) and michelangelo (1)
* PHP-5.3:
Adding a test for ext/posix/tests/posix_getegid_basic.phpt
typo
2012-06-10 17:08:02 +04:00
michelangelo
cda14b995c
Adding a test for ext/posix/tests/posix_getegid_basic.phpt
2012-06-10 17:07:49 +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
Gustavo André dos Santos Lopes
503358c179
Fix bug #62266
...
Custom extension segfaults during xmlParseFile with FPM SAPI
because the regular list is not prepared during the MINIT phase
and our custom external entity loader tries to open PHP streams.
2012-06-09 17:29:47 +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
c4cc43169c
rearrange news
2012-06-08 13:27:24 -07:00
Stanislav Malyshev
d1debecd90
typo
2012-06-08 12:24:40 -07:00
Stanislav Malyshev
ba8333cdb0
typo
2012-06-08 12:23:51 -07:00
Pierrick Charron
c467e81c86
NEWS File
2012-06-08 18:02:49 +02:00
Stanislav Malyshev
17c0ff1194
typo
2012-06-08 01:24:49 -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
59eaa7c877
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
improve overflow checks
fix potential overflow in _php_stream_scandir
2012-06-08 01:22:46 -07:00
Stanislav Malyshev
fc74503792
improve overflow checks
2012-06-08 01:21:37 -07:00
Stanislav Malyshev
0e3a650e74
add NEWS
2012-06-07 23:11:28 -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
Stanislav Malyshev
10e8da1738
fix potential overflow in _php_stream_scandir
2012-06-07 23:09:18 -07:00
Stanislav Malyshev
7d04e0fb2e
fix potential overflow in _php_stream_scandir
2012-06-07 23:08:35 -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
d24d5b62c1
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
set current versions for libzip and zip ext
2012-06-07 22:37:32 +02:00
Anatoliy Belsky
baacc2cb13
set current versions for libzip and zip ext
2012-06-07 22:32:03 +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
7907dc4d66
updated NEWS
2012-06-07 21:45:30 +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
d206206c10
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
updated NEWS
2012-06-07 21:44:08 +02:00
Anatoliy Belsky
9ecb67d5a4
updated NEWS
2012-06-07 21:43:07 +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
Anatoliy Belsky
5ebdc46aa0
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
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
Conflicts:
NEWS
2012-06-07 21:06:31 +02:00
Anatoliy Belsky
bde0e8c2a1
zip windows fixes
2012-06-07 21:01:32 +02:00
Anatoliy Belsky
8ca457f64d
fixed bc break related to #57905
2012-06-07 21:01:32 +02:00
Anatoliy Belsky
e883892664
fixed a bit overlooked from the last libzip port
2012-06-07 21:01:32 +02:00
Anatoliy Belsky
b8cdc731b8
brought the fix for #47667 back
2012-06-07 21:01:32 +02:00
Anatoliy Belsky
a37e84e549
fixed zip entry freeing
2012-06-07 21:01:32 +02:00
Anatoliy Belsky
f4a44f18b8
rechecked the merged libzip, took also the indents from the original to
...
avoid confusion next time
2012-06-07 21:01:31 +02:00
Anatoliy Belsky
a39bcfc5ee
fixed a double freeing crash
2012-06-07 21:01:31 +02:00
Anatoliy Belsky
9a2365412e
fixed header include
2012-06-07 21:01:31 +02:00
Anatoliy Belsky
335a11b14b
initial libzip upgrade patch to 0.10.1
2012-06-07 21:01:31 +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
7cae4ff02c
- BFN
2012-06-07 14:23:17 -03: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
Felipe Pena
7881158690
- Fix merge
2012-06-07 14:21:10 -03:00
Felipe Pena
018a9b321f
Merge commit '15213768e6cc098ab4e53cacc3b5eb86fa85284a' into PHP-5.3
2012-06-07 14:18:34 -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
c975320eb9
Regenerated files
2012-06-07 18:04:15 +02:00
Pierrick Charron
8e65ce35b9
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Regenerated files
2012-06-07 18:02:49 +02:00
Pierrick Charron
4e6f27f4db
Regenerated files
2012-06-07 18:02:27 +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
Pierrick Charron
494c170e6f
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #51094 (parse_ini_file() with INI_SCANNER_RAW cuts a value that includes a semi-colon)
2012-06-07 17:45:43 +02:00
Pierrick Charron
fed5923dbc
Fixed bug #51094 (parse_ini_file() with INI_SCANNER_RAW cuts a value that includes a semi-colon)
...
Modify the scanner to check if the first char of the raw data is an opening " in which case we
need to find the closing one. Otherwise just search for the next end of value char [\r\n;\000]
2012-06-07 17:44:20 +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
deac80eb9a
Merge branch 'PHP-5.3' into PHP-5.4
...
By Till Klampaeckel
* PHP-5.3:
Don't depend on a fixed path for PHP shebang but use /usr/bin/env (cherry picked from commit 89c5d981603ed4a2a54f86c20cec4f263c58ded6)
2012-06-07 09:44:59 +02:00
Till Klampaeckel
c56ff39c05
Don't depend on a fixed path for PHP shebang but use /usr/bin/env
...
(cherry picked from commit 89c5d981603ed4a2a54f86c20cec4f263c58ded6)
2012-06-07 09:44:49 +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
Xinchen Hui
83542dcf3b
Merge branch 'PHP-5.3' into PHP-5.4
...
By Gustavo André dos Santos Lopes (4) and others
via Felipe Pena (1) and Xinchen Hui (1)
* PHP-5.3:
Remove unused codes
based on microsoft's description,the direct convert from FILETIME struct to __int64 is unsafe.
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:32:47 +08:00
Xinchen Hui
6ecc9f1d9d
Remove unused codes
2012-06-07 14:31:35 +08:00
slayercat
d9810af45a
based on microsoft's description,the direct convert from FILETIME struct to __int64 is unsafe.
...
via http://technet.microsoft.com/en-us/library/ms724284(v=vs.85).aspx
"Do not cast a pointer to a FILETIME structure to either a
ULARGE_INTEGER* or __int64* value because it can cause alignment faults on 64-bit Windows."
2012-06-07 14:28:05 +08:00
Stanislav Malyshev
e118a0794a
merge 5.3 entries
2012-06-06 23:20:14 -07:00
Stanislav Malyshev
db1e425b1a
restore NEWS
2012-06-06 23:00:33 -07:00
Jille Timmermans
74b4ef5036
Implement boolval() with a test
2012-06-06 22:34:51 +02:00
Gustavo André dos Santos Lopes
c1ac325228
Fix ext/intl build on ICU < 4.8
2012-06-06 12:10:00 +02:00
Gustavo André dos Santos Lopes
52d541a314
Optimization in ext/intl/msgformat
...
Don't transform the string to make it apostrophe friendly in ICU 4.8+
as that it is now the default.
2012-06-06 11:36:00 +02:00
Gustavo André dos Santos Lopes
45b3fa4dee
Fixed tests in ext/intl
...
21 is not a valid value for UNUM_PADDING_POSITION. Changed the test to
use 2 instead.
Remove ICU 4.2- test. No one cares.
2012-06-05 16:47:00 +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
Felipe Pena
15213768e6
- Fixed bug #62227 (Invalid phar stream path causes crash)
2012-06-04 20:07:14 -03: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
9b233b7e5e
Changed XFAILed collator_get_sort_key.phpt
...
Ressurected and limited to ICU 4.8 in the hope that the sort keys
will remain stable in more recent ICU versions. I have only tested
with ICU 4.8 so far.
2012-06-04 10:18:24 +02: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
Felipe Pena
8779a9aad5
Merge commit 'e59b6dc0ae803d49c3f620818285f98dfb61fd57' into PHP-5.4
2012-06-03 19:01:50 -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
Felipe Pena
4fc49c04df
Merge commit 'e59b6dc0ae803d49c3f620818285f98dfb61fd57' into PHP-5.3
2012-06-03 19:00:49 -03: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
Felipe Pena
60c5f9910f
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- 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
2012-06-03 18:20:26 -03:00
Felipe Pena
d57b278ad1
- Optimize comparison between same HashTable pointer
2012-06-03 18:16:57 -03:00
Felipe Pena
e59b6dc0ae
- Fixed information leak in ext exif (discovered by Martin Noga, Matthew "j00ru" Jurczyk, Gynvael Coldwind)
2012-06-03 15:23:07 -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
1fa8ecd082
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
...
* 'PHP-5.4' of git.php.net:php-src: (27 commits)
Fixed Bug #62202 (ReflectionParameter::getDefaultValue() memory leaks with constant)
sort NEWS
fix bug #55042 - erealloc without updating pointer
Fix bug #62186 readline fails to compile
fix unchecked emalloc (cherry picked from commit 158d8a6b08 )
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
add bug #62082
sync with HEAD
sync with HEAD
...
2012-06-01 11:30:49 +02: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
Jerome Loyet
238caeb63c
- Fixed bug #62205 (php-fpm segfaults (null passed to strstr))
2012-06-01 11:23:01 +02:00
Jerome Loyet
ec4a1d576b
- fix missing include for unix sockets
2012-06-01 11:22:18 +02:00
Jerome Loyet
43ec708882
- Comment unused function to avoid warnings
2012-06-01 11:22:02 +02:00
Jerome Loyet
38ca8cb7a1
- Fixed bug #62205 (php-fpm segfaults (null passed to strstr))
2012-06-01 11:18:48 +02:00
Jerome Loyet
35abf3f20c
- fix missing include for unix sockets
2012-06-01 11:16:53 +02:00
Jerome Loyet
59e0930d37
- Comment unused function to avoid warnings
2012-06-01 11:16:00 +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
Xinchen Hui
b548d9ad2e
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed Bug #62202 (ReflectionParameter::getDefaultValue() memory leaks with constant)
2012-06-01 15:00:02 +08:00
Xinchen Hui
1f5327a602
Fixed Bug #62202 (ReflectionParameter::getDefaultValue() memory leaks with constant)
2012-06-01 14:57:27 +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
Reeze Xia
13a9555342
Implemented FR #61602 Allow access to name of constant used as default value
...
This is an improved commit for FR #61602 , this fixed the previous
commit 054f3e3's C99 compiler compatibility issue
2012-05-31 23:31:00 +08: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
5ebb0e520f
sort NEWS
2012-05-30 22:34:29 -07: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
Stanislav Malyshev
ed6ce83101
fix bug #55042 - erealloc without updating pointer
2012-05-30 22:26:26 -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
Johannes Schlüter
303dd7f346
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
fix unchecked emalloc (cherry picked from commit 158d8a6b08 )
2012-05-31 01:16:42 +02:00
Johannes Schlüter
428dddd3e8
Fix bug #62186 readline fails to compile
2012-05-31 01:15:22 +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
Stanislav Malyshev
fa05f038cb
fix unchecked emalloc
...
(cherry picked from commit 158d8a6b08 )
2012-05-30 21:37:28 +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
Stanislav Malyshev
9b98cf7865
fix test
2012-05-29 23:52:47 -07:00
Stanislav Malyshev
abe6362716
fix test
2012-05-29 23:52:47 -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
Xinchen Hui
7511f972fd
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Typofix in comment in proc_open.c
2012-05-30 14:43:55 +08:00
Jille Timmermans
a331f43f8c
Typofix in comment in proc_open.c
2012-05-30 14:42:39 +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
Stanislav Malyshev
692b3bcd88
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
fix CVE-2012-2143
2012-05-29 23:08:04 -07:00
Stanislav Malyshev
aab49e934d
fix CVE-2012-2143
2012-05-29 23:07:04 -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
Anatoliy Belsky
6074da9809
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
updated the libmagic patch after Felipes regex fix
2012-05-29 17:41:57 +02:00
Anatoliy Belsky
8d5e953a19
updated the libmagic patch after Felipes regex fix
2012-05-29 17:38:30 +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
c0e046a130
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
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:20 +02:00
Matt Ficken
ad0371ac7e
Fix bug #62150 Test Bug - ext/fileinfo/tests/finfo_open_error.phpt
2012-05-29 16:38:57 +02:00
Matt Ficken
b4b0aaae93
Bug #62177 deactivate the linux test version on win
2012-05-29 16:37:19 +02:00
Matt Ficken
dbc727373c
Fix bug #62177 Test Bug - finfo_file_regex.phpt
2012-05-29 16:31:47 +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
Anatoliy Belsky
c4f9b01422
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #62176 Test Bug - sapi/cli/tests/bug61546.phpt
sync with HEAD
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 valuesin FastCGI requests)
- 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)
- add missing headers to avoid warnings
- 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
sapi/fpm/fpm/fpm_main.c
2012-05-29 12:19:20 +02:00
Matt Ficken
4054890b26
Fixed bug #62176 Test Bug - sapi/cli/tests/bug61546.phpt
2012-05-29 11:41:44 +02:00
Stanislav Malyshev
158d8a6b08
fix unchecked emalloc
2012-05-28 18:54:15 -07:00
Stanislav Malyshev
213119c83f
add CVE
2012-05-28 18:54:02 -07:00
Stanislav Malyshev
0a90643e53
add bug 62146
2012-05-28 17:43:36 -07:00
Stanislav Malyshev
4b04bf8793
add bug #62082
2012-05-28 17:38:33 -07: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
339508d6ac
sync with HEAD
2012-05-27 20:14:31 -04:00
Nuno Lopes
72911237b5
sync with HEAD
2012-05-27 20:13:09 -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
773e85a788
Fixed bug #61218 (the previous patch was not enough restritive on fcgi name string checks)
2012-05-26 19:37:09 +02:00
Jerome Loyet
2f7bd57f93
Fixed bug #61218 (the previous patch was not enough restritive on fcgi name string checks)
2012-05-26 19:36:01 +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
60cca8b9c9
Fixed bug #61218 (FPM drops connection while receiving some binary values in FastCGI requests)
2012-05-26 19:27:45 +02:00
Jerome Loyet
e7ff3e839b
Fixed bug #61218 (FPM drops connection while receiving some binary valuesin FastCGI requests)
2012-05-26 19:27:02 +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
e052da3a6b
Fixed bug #62033 (USR2 signal was sent even if not catch when daemonize and an error occured)
2012-05-26 18:48:40 +02:00
Jerome Loyet
0298b92b69
- Fixed bug #62033 (USR2 signal was sent even if not catch when daemonize and an error occured)
2012-05-26 18:44:35 +02:00
Jerome Loyet
7127135c87
- Fixed bug #62160 (Add process.priority to set nice(2) priorities)
2012-05-26 18:24:28 +02:00
Jerome Loyet
decc394a20
- Fixed bug #62160 (Add process.priority to set nice(2) priorities)
2012-05-26 18:24:08 +02:00
Jerome Loyet
f6655b62d8
- Fixed bug #62160 (Add process.priority to set nice(2) priorities)
2012-05-26 18:22:12 +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
0037598252
- add missing headers to avoid warnings
2012-05-26 17:38:08 +02:00
Jerome Loyet
63e11f9025
- add missing headers to avoid warnings
2012-05-26 17:37:33 +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
d90003b549
- Fixed bug #62153 (when using unix sockets, multiples FPM instances can be launched without errors)
2012-05-25 21:22:54 +02:00
Jerome Loyet
a7761262f7
- Fixed bug #62153 (when using unix sockets, multiples FPM instances can be launched without errors)
2012-05-25 21:21:44 +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
Jerome Loyet
c2f33fb129
- Fixed bug #62033 (php-fpm exits with status 0 on some failures to start)
2012-05-25 21:13:57 +02:00
Jerome Loyet
bf9120ecae
- Fixed bug #62033 (php-fpm exits with status 0 on some failures to start)
2012-05-25 21:10:17 +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
Xinchen Hui
91ad40d9bb
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #62128 superfluous ";"
2012-05-25 22:33:17 +08:00
Xinchen Hui
c3547f1935
Fixed bug #62128 superfluous ";"
2012-05-25 22:31:49 +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
Reeze Xia
1d2f619049
Fixed bug #61964 (finfo_open with directory cause invalid free)
2012-05-25 18:55:34 +08: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
16a592b13a
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
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:52:38 +02:00
Matt Ficken
86d2fafded
Fixed bug #62149 Test Bug - ext/curl/tests/bug61948
2012-05-25 10:44:59 +02:00
Matt Ficken
4aac4da673
Fixed bug #62148 mail_skipif doesn't skip imap tests on Release Build
2012-05-25 10:34:33 +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
Anatoliy Belsky
6fb0e4a401
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #62147 test bug - popen_pclose_basic-win32
2012-05-25 09:55:53 +02:00
Matt Ficken
d4d36fba28
Fixed bug #62147 test bug - popen_pclose_basic-win32
2012-05-25 09:53:51 +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
Johannes Schlüter
3cd50ca714
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #62146 com_dotnet cannot be built shared, tested by Anatoliy
Those changes are in 5.3.15
- BFN
2012-05-25 00:23:51 +02:00
Johannes Schlüter
8fc9df3f67
Fix bug #62146 com_dotnet cannot be built shared, tested by Anatoliy
2012-05-25 00:22:25 +02:00
Johannes Schlüter
cfea8e5d04
Those changes are in 5.3.15
2012-05-25 00:20:29 +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
6c9056ceb7
Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
2012-05-24 13:45:36 -03:00
Felipe Pena
abe0f17e88
- BFN
2012-05-24 13:45:03 -03: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
Felipe Pena
84b2c39920
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Fixed magic file regex support
2012-05-24 13:43:35 -03:00
Felipe Pena
11b4f3becd
- Fixed magic file regex support
2012-05-24 13:42:47 -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
Xinchen Hui
a10da87c6a
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #62073 (Different ways of iterating over an SplMaxHeap result in different keys)
2012-05-24 23:34:14 +08:00
Xinchen Hui
bde86a6639
Fixed bug #62073
...
(Different ways of iterating over an SplMaxHeap result in in different keys)
2012-05-24 23:31:05 +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
04fd0b1098
Merge branch '5.3' into 5.4
2012-05-24 14:33:24 +02:00
Gustavo André dos Santos Lopes
85c777d2f1
Fixed bug #55610 : ResourceBundle and Traversable
2012-05-24 14:33:05 +02:00
Gustavo André dos Santos Lopes
eeea790d30
Merge branch '5.4' with no code changes.
2012-05-24 14:18:38 +02:00
Gustavo André dos Santos Lopes
888e77ff73
Fixed last commit on 5.4
...
There's no change from the intended behavior. If INTL_G(default_locale)
is NULL, the default ICU locale, as given by locale_get_default() in
master, will still be used by ures_open().
2012-05-24 14:17:52 +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
Anatoliy Belsky
72c7cfe6f2
Fixed bug #62140 ext\standard\tests\file\tempnam_variation7-win32.phpt fails
2012-05-24 13:58:42 +02:00
Gustavo André dos Santos Lopes
a03f2e3814
Merge branch '5.4'
...
Conflicts:
UPGRADING
2012-05-24 13:52:06 +02:00
Gustavo André dos Santos Lopes
92039fed22
Changed ResourceBundle constructor behavior
...
null is now accepted for two first (mandatory arguments).
Passing null as the package name causes NULL to be passed to ICU and
the default ICU data to be loaded.
Passing null as the locale name causes the default locale to be used.
2012-05-24 13:50:59 +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
0e12a778df
Fix bug #62139 ext\standard\tests\file\rename_variation13-win32.phpt fails
2012-05-24 13:26:32 +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
0dc9b0e708
Fixed bug #62138 ext\standard\tests\dir\dir_variation8-win32.phpt fails
2012-05-24 12:39:00 +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
Anatoliy Belsky
b5511dcfd7
Fix bug #62137 ext\phar\tests\fatal_error_webphar.phpt fails
2012-05-24 12:04:38 +02:00
Gustavo André dos Santos Lopes
f1969d4b4c
Update NEWS
2012-05-24 11:14:36 +02:00
Gustavo André dos Santos Lopes
d4fd95e292
Merge branch '5.4'
2012-05-24 11:09:18 +02:00
Gustavo André dos Santos Lopes
e8009e2dca
Merge branch '5.3' into 5.4
2012-05-24 11:08:55 +02:00
Gustavo André dos Santos Lopes
2da2de46a8
Fixed bug #60785
...
Memory leak in IntlDateFormatter constructor.
udat_setCalendar() clones the calendar before it adopts it,
so we were leaking the original calendar.
Also we now validate the calendar type.
2012-05-24 11:06:21 +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
Rasmus Lerdorf
523fd2c244
Fix broken apache_request_headers test
...
This test depends on the default_charset setting, so set it to
UTF-8 for consistent output
2012-05-23 17:38:23 -07:00
Gustavo André dos Santos Lopes
acd711685a
Fixed bug #62097
...
This fixes the fix for bug #54547 in 32-bit machines by accepting
float comparisons in 32-bit machines as long as the integer is
not larger than the mantissa.
2012-05-23 18:55:36 -05: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
0838a2b7c5
Merge branch '5.3' into 5.4
2012-05-23 15:52:32 +02:00
Gustavo André dos Santos Lopes
e08566c613
Fixed bug #62017
...
IntlDateFormatter constructor would release some resources
under certain error conditions.
2012-05-23 15:52:19 +02:00
Gustavo André dos Santos Lopes
70e3e627fe
Fixed several ext/intl tests
2012-05-23 14:49:01 +02:00
Reeze Xia
9205c4fd62
Fixed bug #62073 (Different ways of iterating over an SplMaxHeap result in different keys)
2012-05-23 20:42:06 +08: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
c449bf1443
Fixed bug number in NEWS
2012-05-23 13:42:24 +02:00
Gustavo André dos Santos Lopes
1c19146f46
Updated NEWS w.r.t to ext/intl changes
2012-05-23 13:35:11 +02:00
Gustavo André dos Santos Lopes
2eb069aa48
Merge branch '5.4'
2012-05-23 13:27:54 +02:00
Gustavo André dos Santos Lopes
8ee8ccda19
Merge branch '5.3' into 5.4
...
Conflicts:
sapi/fpm/fpm/fpm_main.c
2012-05-23 13:27:21 +02:00
Gustavo André dos Santos Lopes
1eff3b01b8
Fixed bug #6208 : memory leak in grapheme_extract()
2012-05-23 13:25:45 +02:00
Gustavo André dos Santos Lopes
86ea921291
Fixed bug #62082
...
This was a buffer overflow in internal function
get_icu_disp_value_src_php().
2012-05-23 13:25:42 +02:00
Gustavo André dos Santos Lopes
07c0d714a5
Fixed bug #62081
...
Constructor of IntlDateFormatter would leak if called twice.
Made calling it more than once error out before starting
using resources.
2012-05-23 13:25:37 +02:00
Gustavo André dos Santos Lopes
51286bd8e5
Fixed bug #62070
...
Collator::getSortKey() was returning an unterminated string
due the length given to RETURN_STRINGL being off by one.
2012-05-23 13:25:32 +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
1299503936
- Fixed bug #61026 (FPM pools can listen on the same address)
2012-05-23 11:53:04 +02:00
Jerome Loyet
5d61e56dd7
- Fixed bug #61026 (FPM pools can listen on the same address)
2012-05-23 11:52:04 +02:00
Jerome Loyet
d236c1af8a
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
...
* 'PHP-5.4' of git.php.net:php-src:
Fix bug #62112 : number_format() is not binary safe
2012-05-23 11:41:29 +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
Jerome Loyet
0b44f16ea2
- Fixed bug #61839 (Unable to cross-compile PHP with --enable-fpm)
2012-05-23 11:40:22 +02:00
Gustavo André dos Santos Lopes
adf2fba307
Merge branch '5.4'
2012-05-23 11:37:45 +02:00
Gustavo André dos Santos Lopes
3e62aae1b4
Fix bug #62112 : number_format() is not binary safe
...
The bug report actually urges PHP 5.3's behavior to be
reinstated -- that is, make "\0", when used as a separator,
be the same as no separator at all. I believe that is not a
proper course of action and that "\0" being interpreted as
no seperator was a bug in PHP 5.3.
Using "" for no separator, in both 5.3 and 5.4, before and
after this change, causes no separator to be used, so
there is no functionality loss.
2012-05-23 11:37:27 +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
a07d76c0ba
- Fixed bug #61295 (php-fpm should not fail with commented 'user' for non-root start)
2012-05-23 11:31:33 +02:00
Jerome Loyet
812d248193
- Fixed bug #61295 (php-fpm should not fail with commented 'user' for non-root start)
2012-05-23 11:30:27 +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
Jerome Loyet
f4c38016b6
- Fix help message for '-R'
2012-05-23 10:36:45 +02:00
Jerome Loyet
757e3fc3d5
- fix help message for '-R'
2012-05-23 10:35:37 +02:00
Jerome Loyet
629273d11b
- add missing help message for '-R'
2012-05-23 10:34:16 +02:00
Jerome Loyet
06c7c3674b
- Fixed bug #61835 (php-fpm is not allowed to run as root)
2012-05-23 10:32:42 +02:00
Jerome Loyet
7b396c078c
- Fixed bug #61835 (php-fpm is not allowed to run as root)
2012-05-23 09:49:13 +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
Xinchen Hui
8475c5b98d
Merge remote-tracking branch 'origin/PHP-5.3' into PHP-5.4
2012-05-23 13:52:36 +08:00
Xinchen Hui
5b8316188c
Revert NEWS
2012-05-23 13:52:18 +08:00
Xinchen Hui
df481764f3
Revert "Implemented FR #61602 Allow access to name of constant used as default value"
...
This reverts commit 054f3e3ce5 .
See: http://news.php.net/php.cvs/69137 and the author confirmed.
Will commit later after the author fixed this then make a new PR.
Conflicts:
ext/reflection/php_reflection.c
2012-05-23 13:50:12 +08:00
Xinchen Hui
f733173b1f
Fix typo while resolving conflicts
2012-05-23 13:43:49 +08:00
Xinchen Hui
a7df6ce664
Revert "Implemented FR #61602 Allow access to name of constant used as default value"
...
This reverts commit 054f3e3ce5 .
See: http://news.php.net/php.cvs/69137 and the author confirmed.
Will commit later after the author fixed this then make a new PR.
Conflicts:
ext/reflection/php_reflection.c
2012-05-23 13:39:00 +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
Anatoliy Belsky
29876c5c29
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #62109 tests\basic\bug46313-win.phpt fails
- Fixed bug #61045 (fpm don't send error log to fastcgi clients)
2012-05-22 18:43:10 +02:00
Anatoliy Belsky
621fddab93
Fix bug #62109 tests\basic\bug46313-win.phpt fails
2012-05-22 18:41:03 +02:00
Jerome Loyet
bdf0c9ccbe
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
...
* 'PHP-5.4' of git.php.net:php-src:
add news for new pg_ functions
2012-05-22 08:47:40 +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
Jerome Loyet
dce259099d
- Fixed bug #61045 (fpm don't send error log to fastcgi clients)
2012-05-22 08:40:37 +02:00
Jerome Loyet
d1e529c1cb
- fix NEWS for bug #61812
2012-05-22 08:38:09 +02:00
Jerome Loyet
faca4e08b4
- Fixed bug #61045 (fpm don't send error log to fastcgi clients)
2012-05-22 08:34:27 +02:00
Stanislav Malyshev
a472649016
add news for new pg_ functions
2012-05-21 16:15:12 -07: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
Felipe Pena
074d361d64
- Fix the fix (typo s/AIX/_AIX/g)
2012-05-21 08:54:59 -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
4c9a11c857
Use free instead of efree
2012-05-21 19:02:45 +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
Xinchen Hui
bbcea230e1
Use emalloc instead of malloc
2012-05-21 18:58:19 +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
fbb86bd7b3
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #62066 Test Bug - ext/tidy/tests/004.phpt
2012-05-21 12:52:10 +02:00
Matt Ficken
c973fef48d
Fix bug #62066 Test Bug - ext/tidy/tests/004.phpt
2012-05-21 12:51:24 +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
Anatoliy Belsky
77e70b391c
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #62068 Test bug - gmp_nextprime and 022
Fix: 62067 Moved comments to FILE section
- BFN
Conflicts:
NEWS
2012-05-21 12:37:59 +02:00
Matt Ficken
645d65f3e3
Fixed bug #62068 Test bug - gmp_nextprime and 022
2012-05-21 12:31:16 +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
2ae8d2fbfb
Fixed bug #61998 (Using traits with method aliases appears to result in crash during execution)
2012-05-21 13:57:41 +04:00
Dmitry Stogov
c8f47a8e7c
Fixed bug #61998 (Using traits with method aliases appears to result in crash during execution)
2012-05-21 13:46:07 +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
c5fcd9f5af
- BFN
2012-05-20 19:41:15 -03: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
ffe8303f24
- Fixed bug #62025 (__ss_family was changed on AIX 5.3)
2012-05-20 19:37:20 -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
867447f420
Fix: 62067 Moved comments to FILE section
2012-05-19 16:34:16 +01:00
zoe slattery
778d69ddfe
Fix: 62067 Moved comments to FILE section
2012-05-19 16:33:36 +01: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
c9331a3ef2
- BFN
2012-05-18 21:26:24 -03:00
Felipe Pena
3b3b3d9229
Merge branch 'master' of git.php.net:php-src
2012-05-18 19:38:52 -03:00
Felipe Pena
79d52503a4
- BFN
2012-05-18 19:38:02 -03:00
Felipe Pena
f5e2315660
- Fixed bug #62064 (memory leak in the XML Writer module)
2012-05-18 19:34:39 -03:00
Felipe Pena
88275e547f
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Fixed bug #62064 (memory leak in the XML Writer module)
2012-05-18 19:23:42 -03:00
Felipe Pena
6d928fd26d
- Fixed bug #62064 (memory leak in the XML Writer module)
2012-05-18 19:23:29 -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
Christopher Jones
29a85d49ae
Dummy (whitespace) change so Dan Brown can verify snap generation from git
...
PHP snapshots were still pulling from SVN and were out of date. This
is a dummy PHP 5.4-only commit so Dan can verify what he's updated for
git in the backend.
2012-05-16 10:13:34 -07: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
89e7a195bc
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
PHP 5.3.15-dev
Conflicts:
configure.in
main/php_version.h
2012-05-16 16:50:33 +02:00
Johannes Schlüter
72a9b595ca
PHP 5.3.15-dev
2012-05-16 16:49:35 +02:00
Johannes Schlüter
67039363cd
Merge branch 'PHP-5.3' of git.php.net:/php-src into PHP-5.3
...
* 'PHP-5.3' of git.php.net:/php-src:
Fix for bug#62046
2012-05-16 16:46:08 +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
Johannes Schlüter
1f6f619451
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
fd fix
fix bug #61065 (cherry picked from commit a10e778bfb )
2012-05-16 16:40:29 +02:00
Stanislav Malyshev
6e51989501
fd fix
2012-05-16 16:35:16 +02:00
Stanislav Malyshev
4eb802bb14
fix bug #61065
...
(cherry picked from commit a10e778bfb )
2012-05-16 16:30:29 +02:00
andrey
dec56ca1e3
Merge branch 'PHP-5.4'
2012-05-16 16:00:17 +02:00
andrey
4d2d8e8717
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
ext/mysqlnd/mysqlnd_ps.c
merge fix for bug#62046
2012-05-16 15:59:39 +02:00
andrey
d4afbd487a
Fix for bug#62046
...
Bug#62046 mysqli@mysqlnd can't iterate over stored sets after call to
mysqli_stmt_reset().
Stmt's state was changed to STMT_PREPARED and leads the driver to think
that the stmt was just prepared. Because result set exist also for only
prepared but not executed sets, the check for stmt->result isn't any good.
There is a result set, because as response for COM_PREPARE the server sends
metadata and metadata is part of a result set. After COM_EXECUTE the server
sends metadata again, which could be different and in this case more correct.
2012-05-16 14:28:55 +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
Felipe Pena
1abcd81872
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Fixed bug #55299 (multiple null pointer in win32/registry.c)
2012-05-16 08:40:45 -03:00
Felipe Pena
93c91c733c
- Fixed bug #55299 (multiple null pointer in win32/registry.c)
2012-05-16 08:40:12 -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
d84fa39667
Revert "Update test to fix breakage caused by the previous commit."
...
This reverts commit 05c8d4766c .
Connected to revert 7bbd5521d2 .
2012-05-15 23:25:06 -07:00
Stanislav Malyshev
e36a5a1197
fix test
2012-05-15 23:09:46 -07:00
Stanislav Malyshev
be8b1c74cf
to 5.4.5-dev
2012-05-15 22:46:49 -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
Stanislav Malyshev
df2a38e7f8
fd fix
2012-05-15 22:35:43 -07:00
Stanislav Malyshev
a10e778bfb
fix bug #61065
2012-05-15 22:34:34 -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
63401268db
Changes to remaining two tests, #62022
2012-05-15 14:39:51 +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
d99203d44b
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Small fixes to tests, see #62022
2012-05-15 11:43:28 +01:00
zoe slattery
e35f09d774
Small fixes to tests, see #62022
2012-05-15 11:42:14 +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
zoe slattery
968dfae6d1
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Change impl of GZIP_POST, DEFLATE_POST. See #62021
2012-05-15 11:06:14 +01:00
zoe slattery
1af8b3f883
Change impl of GZIP_POST, DEFLATE_POST. See #62021
2012-05-15 11:05:20 +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
Michael Wallner
956d74572a
BFN
2012-05-15 11:26:13 +02:00
Sebastian Bergmann
38398529b8
Fix NEWS entry for #61602 .
2012-05-15 11:14:36 +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
Sebastian Bergmann
83449b48d4
Merge branch 'add-const-name' of git://github.com/reeze/php-src into PHP-5.4
2012-05-15 11:08:08 +02:00
Michael Wallner
2d11e55b94
cleanup merge
2012-05-15 09:44:01 +02:00
Michael Wallner
0ad53bfd7d
fix bug #60761 zlib.output_compression fails on refresh
2012-05-15 09:33:47 +02:00
Christopher Jones
d9788dd73f
Bump to 5.4.4-dev
2012-05-14 12:43:36 -07: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
Stanislav Malyshev
a72b21438d
update NEWS/UPGRADING
2012-05-13 14:48:22 -07:00
Stanislav Malyshev
a0dff6fdca
fix bug #61782 - __clone/__destruct do not match other methods when checking access controls
2012-05-13 14:40:44 -07:00
Stanislav Malyshev
9344bf193c
fix bug #54547
2012-05-13 14:40:44 -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
Stanislav Malyshev
58482206f5
update NEWS
2012-05-12 19:39:12 -07: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
Xinchen Hui
6a5095582a
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed Bug #62005 (unexpected behavior when incrementally assigning to a member of a null object)
fix stack overflow in php_intlog10abs()
Conflicts:
Zend/zend_execute.c
2012-05-12 13:19:55 +08:00
Xinchen Hui
3332943c9d
Fixed Bug #62005 (unexpected behavior when incrementally assigning to a member of a null object)
2012-05-12 13:13:44 +08:00
Nuno Lopes
8b4b70df56
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 13:07:21 -04:00
Nuno Lopes
950d5ee590
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 13:07:00 -04: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
Anatoliy Belsky
4458f3bcf6
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61990 ext\spl\examples\tests\dualiterator_001.phpt fails
2012-05-11 14:38:43 +02:00
Xinchen Hui
e7934c0ffa
Merge branch 'PHP-5.4'
2012-05-11 20:27:07 +08:00
Anatoliy Belsky
81ba6b14c7
Fix bug #61990 ext\spl\examples\tests\dualiterator_001.phpt fails
...
This fixes a general issue. In this ticket and not for the first time
is being seen, that people are trying to use data from "examples"
in the tests. When extracting a test pack only "tests" and its siblings
was taken into account. Now "examples" are copied as well.
2012-05-11 14:24:12 +02:00
Xinchen Hui
24e03d875f
Merge branch 'remove-useless-func-decleare' of https://github.com/reeze/php-src into PHP-5.4
2012-05-11 20:07:27 +08:00
Reeze Xia
0cb4849e53
Cleanup useless function declaration for traits
2012-05-11 16:52:12 +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
b43d6c8522
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61992 ext\standard\tests\general_functions\bug44295.phpt fails
2012-05-10 17:32:21 +02:00
Anatoliy Belsky
266578f584
Fix bug #61992 ext\standard\tests\general_functions\bug44295.phpt fails
...
Exception text differ on windows
2012-05-10 17:07:38 +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
fc0c9054e6
updated NEWS
2012-05-10 15:56:50 +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
19f85f8676
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
updated NEWS
2012-05-10 15:52:37 +02:00
Anatoliy Belsky
652632a89b
updated NEWS
2012-05-10 15:48:56 +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
10d5f2301a
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug ext\standard\tests\file\realpath_cache_win32.phpt fails
2012-05-10 15:36:47 +02:00
Anatoliy Belsky
f7d8b274c7
Fix bug ext\standard\tests\file\realpath_cache_win32.phpt fails
...
What happens here is trivial long overflow. Despite the bug attracted
attention on windows, the same story is on linux. Just wait for a big
anough bucket->key . The linux test had %i to check the key value
which should be %d all the way.
2012-05-10 15:27:44 +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
Anatoliy Belsky
f76d7be876
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61901 ext\phar\tests\phar_buildfromdirectory2.phpt fails
2012-05-09 13:04:32 +02:00
Anatoliy Belsky
7fb16d5bd9
Fix bug 61901 ext\phar\tests\phar_buildfromdirectory2.phpt fails
...
Another error message is produced by win specific code
2012-05-09 13:02:33 +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
d394c17293
Correct test title
2012-05-09 11:28:57 +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
1e60d0c105
Implemented FR #61977 (Need CLI web-server support for files with .htm & svg extensions)
2012-05-09 11:27:39 +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
Xinchen Hui
7b2ab56997
Fix test failed, the fsockopen will be refused immediately if the server is not set up.
2012-05-09 11:21:24 +08:00
Felipe Pena
f46a064760
- BFN
2012-05-08 21:07:29 -03: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
Felipe Pena
92bc49b2b0
- Fixed bug #61978 (Object recursion not detected for classes that implement JsonSerializable)
2012-05-08 21:05:51 -03:00
David Soria Parra
e67567088e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Typo
2012-05-08 22:09:13 +02:00
David Soria Parra
2cb0ed1328
Typo
2012-05-08 22:08:54 +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
Anatoliy Belsky
87fa84abde
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61746 Failing tests in ext/standard/tests/file/windows_links/*
2012-05-08 19:35:13 +02:00
Matt Ficken
c12fdbde5f
Fix bug 61746 Failing tests in ext/standard/tests/file/windows_links/*
...
Fixed that again for systems having their %SYSTEMROOT% not in
c:\windows
2012-05-08 19:31:41 +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
Stanislav Malyshev
057f4719d3
c++ comments
2012-05-08 10:19:24 -07:00
Stanislav Malyshev
1919ec5a55
restore BC
2012-05-08 10:19:24 -07:00
Stanislav Malyshev
bd8912e47c
ws + restore BC to apache_request_headers
2012-05-08 10:19:23 -07:00
Stanislav Malyshev
20364bcff9
fix bug #61807 - Buffer Overflow in apache_request_headers
2012-05-08 10:19:23 -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
0b4d7a455d
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
updated NEWS
2012-05-08 18:52:48 +02:00
Anatoliy Belsky
838b4b8ff7
updated NEWS
2012-05-08 18:51:49 +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
4b307984df
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61713 check also that mbstring's found any internal_encoding
2012-05-08 18:34:32 +02:00
Anatoliy Belsky
d776a933eb
Fix bug 61713 check also that mbstring's found any internal_encoding
2012-05-08 18:31:11 +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
Anatoliy Belsky
8987ad5cb2
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61713 ext\standard\tests\strings\htmlentities10.phpt fails
2012-05-08 18:14:38 +02:00
Anatoliy Belsky
3a4a25358f
Fix bug #61713 ext\standard\tests\strings\htmlentities10.phpt fails
...
There is a logic error in charset detection part for htmlentities.
When mbstring is compiled shared and mbstring.internal_encoding
is set to pass, it prevents default_charset from being checked
resulting iso-8859-1 being choosed.
2012-05-08 17:42:01 +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
e8e661128a
Fix #61704 (Crash apache, phpinfo() threading issue)
2012-05-08 17:30:05 +02:00
Johannes Schlüter
fb3b6bcf83
Fix folding marks
2012-05-08 15:18:33 +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
Johannes Schlüter
340091469a
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
This will be PHP 5.3.14
improve fix for CVE-2012-1823
2012-05-08 11:49:50 +02:00
Johannes Schlüter
e120a0c7f3
This will be PHP 5.3.14
2012-05-08 11:28:15 +02:00
Stanislav Malyshev
b50101764b
improve fix for CVE-2012-1823
2012-05-07 12:14:57 -07:00
Stanislav Malyshev
000e84aa88
improve fix for CVE-2012-1823
2012-05-07 12:14:21 -07: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
Anatoliy Belsky
09664063a8
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
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:16 +02:00
Anatoliy Belsky
2068419ae5
Fix bug 61905 ext\phar\tests\zip\phar_commitwrite.phpt fails
2012-05-07 15:39:07 +02:00
Anatoliy Belsky
ce59121c5f
Fix bug 61903 ext\phar\tests\tar\phar_commitwrite.phpt fails
2012-05-07 15:37:29 +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
Matt Ficken
87a011d372
Fix bug 61769 Random failure of php_cli_server*phpt tests
2012-05-06 18:05:02 +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
ad3a42c26c
correct variable name
2012-05-06 20:37:03 +08:00
Xinchen Hui
5ad35d6c77
Merge branch 'PHP-5.4'
2012-05-06 20:32:33 +08:00
Xinchen Hui
376635cde8
Merge branch 'PHP-5.3' into PHP-5.4
2012-05-06 20:32:15 +08:00
Xinchen Hui
99076bc24f
Change the test folder
2012-05-06 20:31:40 +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
Xinchen Hui
4cceeb25b7
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #61730 (Segfault from array_walk modifying an array passed by reference)
2012-05-06 20:28:18 +08:00
Xinchen Hui
7ccd594392
Fixed bug #61730 (Segfault from array_walk modifying an array passed by reference)
2012-05-06 20:01:10 +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
Nikita Popov
bef6111609
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Add NEWS entry for bug #61961
Fixed Bug #61961 (file_get_content leaks when access empty file with max length)
2012-05-06 13:33:47 +02:00
Nikita Popov
304ac568c5
Add NEWS entry for bug #61961
2012-05-06 13:19:17 +02:00
Nikita Popov
311ee8f69c
Merge branch 'pull-request/76' into PHP-5.3
2012-05-06 12:45:45 +02:00
Reeze Xia
3e9923dd8d
Fixed Bug #61961 (file_get_content leaks when access empty file with max length)
2012-05-06 18:27:26 +08: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
Xinchen Hui
0747b29bdf
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
correct NEWS
Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction)
Conflicts:
ext/curl/interface.c
2012-05-06 00:52:51 +08:00
Xinchen Hui
4632fe0eef
correct NEWS
2012-05-06 00:51:20 +08:00
Xinchen Hui
19632ae7dc
Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction)
2012-05-06 00:50:37 +08:00
Xinchen Hui
035ce937e1
Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction)
2012-05-06 00:40:49 +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
David Soria Parra
948ab62c25
Merge branch 'PHP-5.3' into PHP-5.4
...
By Rasmus Lerdorf
* PHP-5.3:
Fix for CVE-2012-1823 (cherry picked from commit 29300b1f9d )
2012-05-05 17:36:55 +02:00
Rasmus Lerdorf
168e8920be
Fix for CVE-2012-1823
...
(cherry picked from commit 29300b1f9d )
2012-05-05 17:34:07 +02:00
Rasmus Lerdorf
0556103f6a
Fix for CVE-2012-1823
2012-05-04 11:58:24 -07: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
f5936cceeb
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61906 ext\phar\tests\zip\phar_setsignaturealgo2.phpt fails
2012-05-04 11:42:05 +02:00
Anatoliy Belsky
8a10259642
Fix bug #61906 ext\phar\tests\zip\phar_setsignaturealgo2.phpt fails
2012-05-04 11:40:49 +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
Anatoliy Belsky
16fdf86ea3
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61904 ext\phar\tests\tar\phar_setsignaturealgo2.phpt
2012-05-04 11:32:12 +02:00
Anatoliy Belsky
6c12252790
Fix bug #61904 ext\phar\tests\tar\phar_setsignaturealgo2.phpt
2012-05-04 11:29:49 +02:00
Christopher Jones
31ab04ee25
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Bump to next version
Conflicts:
configure.in
main/php_version.h
2012-05-03 12:22:39 -07:00
Christopher Jones
0956c00af9
Bump to next version
...
Bump PHP version number
2012-05-03 12:03:49 -07:00
Xinchen Hui
6b16f7cd69
Merge branch 'PHP-5.4'
2012-05-03 22:40:51 +08:00
Xinchen Hui
72f19e9a8b
Fixed bug #61922 (ZTS build doesn't accept zend.script_encoding config)
2012-05-03 22:39:53 +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
Xinchen Hui
d74d88fbb9
Fixed test bug #61892
2012-05-03 19:56:49 +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
Xinchen Hui
75d23f5714
Merge remote-tracking branch 'origin/PHP-5.3' into PHP-5.4
...
* origin/PHP-5.3:
Fix typo
2012-05-03 18:40:57 +08:00
Xinchen Hui
bbf8a50281
Fix typo
...
picked form pull request of reeze.xia@gmail.com
2012-05-03 18:39:03 +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
Anatoliy Belsky
cdce62b724
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61902 ext\phar\tests\phar_setsignaturealgo2.phpt falis
2012-05-02 21:41:33 +02:00
Anatoliy Belsky
69ed09a31c
Fix bug 61902 ext\phar\tests\phar_setsignaturealgo2.phpt falis
...
openssl needs explicit openssl.cnf on windows
2012-05-02 21:38:32 +02:00
andrey
cd9e4d1def
Merge branch 'PHP-5.4'
2012-05-02 16:15:35 +02:00
andrey
67419499b2
Merge branch 'PHP-5.3' into PHP-5.4
2012-05-02 15:57:08 +02:00
andrey
b42d000471
Fix for bug#61411
...
Bug #61411 PDO Segfaults with PERSISTENT == TRUE && EMULATE_PREPARES == FALSE
Wrong allocation, that doesn't follow the scheme of using stmt->persistent
was the root cause of the problem and the crash at free.
2012-05-02 15:55:22 +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
Stanislav Malyshev
e25eea8b83
merge 5.3.11 stuff
2012-05-02 00:08:04 -07:00
Stanislav Malyshev
b0e8be8aea
organize NEWS
2012-05-02 00:00:59 -07:00
Stanislav Malyshev
7bbd5521d2
Revert "Fix bug #61537 (json_encode() incorrectly truncates/discards information) and"
...
This reverts commit cb2a1c71c9 .
The fix is not correct, not fixed after discussion on github.
Please fix the issues and reapply the patch
2012-05-01 23:54:10 -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
93192ec56d
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Make output order for dom007.phpt platform independent
2012-05-01 15:49:19 -07:00
Christopher Jones
72507d38fb
Merge branch 'bug61810' into PHP-5.3
...
* bug61810:
Make output order for dom007.phpt platform independent
2012-05-01 15:47:54 -07:00
Christopher Jones
d14f23365c
Make output order for dom007.phpt platform independent
...
This test has long been near the top of the reported output diffs.
For example, on http://qa.php.net/reports/?version=5.4.0 it has diffed
1307 times out of 3543 reports, at time of this commit. (The second
highest diff has occurred 710 times.)
2012-05-01 15:43:31 -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
Christopher Jones
cac09f3333
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix masking in bug61115-1.phpt
2012-05-01 14:34:54 -07:00
Christopher Jones
02e25df8b5
Merge branch 'fix-bug61115-1.phpt-for-no-debug' into PHP-5.3
...
* fix-bug61115-1.phpt-for-no-debug:
Fix masking in bug61115-1.phpt
2012-05-01 14:33:57 -07:00
Christopher Jones
c864b1ca2f
Fix masking in bug61115-1.phpt
...
The test bug61115-1.phpt was diffing for non-debug builds
2012-05-01 14:32:09 -07:00
Felipe Pena
1c2c620a58
- Regenerated files
2012-04-30 15:57:09 -03:00
Felipe Pena
4deb0f1a0a
- Regenerated files
2012-04-30 15:57:00 -03:00
Felipe Pena
45ef3c759e
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Fixed Windows build
2012-04-30 15:56:15 -03:00
Felipe Pena
79961dccab
- Fixed Windows build
2012-04-30 15:55:57 -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
Anatoliy Belsky
819a7ae6a1
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
2012-04-30 17:25:25 +02:00
Anatoliy Belsky
47c8b6039a
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61868 ext\dom\tests\DOMDocument_validate_on_parse_variation.phpt fails
2012-04-30 17:25:11 +02:00
Anatoliy Belsky
d26e006d7f
Fix bug 61868 ext\dom\tests\DOMDocument_validate_on_parse_variation.phpt fails
2012-04-30 17:23:49 +02:00
andrey
174bf906f8
refactor MYSQLND_NET, split it two parts for easy resharing
2012-04-30 17:01:56 +02:00
Felipe Pena
1622843162
- Regenerated files
2012-04-30 10:35:28 -03: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
Felipe Pena
3120387617
- Changed last commit to use VK_ESCAPE on Windows
2012-04-30 10:31:49 -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
fc24e74260
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Additional fixs for bug 61746 - prepare/clean acls
2012-04-30 14:36:42 +02:00
Anatoliy Belsky
ec5421d044
Additional fixs for bug 61746 - prepare/clean acls
2012-04-30 14:33:48 +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
36836f147c
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61870 ext\session\tests\bug42596.phpt fails
2012-04-30 12:10:43 +02:00
Anatoliy Belsky
680685127f
Fix bug 61870 ext\session\tests\bug42596.phpt fails
2012-04-30 12:06:28 +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
Anatoliy Belsky
455040c4ab
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug ext\filter\tests\bug52209.phpt fails
2012-04-30 10:28:00 +02:00
Anatoliy Belsky
8249581a2d
Fix bug ext\filter\tests\bug52209.phpt fails
2012-04-30 10:25:54 +02:00
Xinchen Hui
1ad91b2341
Merge remote-tracking branch 'origin/PHP-5.4'
2012-04-30 12:36:06 +08:00
Xinchen Hui
72ccce4b8b
Merge remote-tracking branch 'origin/PHP-5.3' into PHP-5.4
2012-04-30 12:35:44 +08:00
Xinchen Hui
a601605f14
merge test from PHP-5.4
2012-04-30 12:33:55 +08:00
Xinchen Hui
d80a3d9668
Revert "Merge branch 'fix-pro_nice-test' of https://github.com/reeze/php-src into PHP-5.3"
...
After pushed, I found the test script in 5.4 is already fixed this, so
revert this change, and be consistent with 5.4's test
This reverts commit 24d85e4bd8 , reversing
changes made to bae56a87f8 .
2012-04-30 12:31:33 +08:00
Xinchen Hui
24d85e4bd8
Merge branch 'fix-pro_nice-test' of https://github.com/reeze/php-src into PHP-5.3
2012-04-30 12:29:15 +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
Xinchen Hui
fd518ffc7e
Merge remote-tracking branch 'origin/PHP-5.3' into PHP-5.4
...
* origin/PHP-5.3:
Fixed bug #61546 (functions related to current script failed when chdir() in cli sapi).
- BFN
Conflicts:
sapi/cli/php_cli.c
2012-04-30 12:15:43 +08:00
Xinchen Hui
bae56a87f8
Fixed bug #61546 (functions related to current script failed when chdir() in cli sapi).
2012-04-30 12:09:22 +08:00
Felipe Pena
b336af29e1
- BFN
2012-04-29 19:48:00 -03:00
Felipe Pena
9aff3a1156
- BFN
2012-04-29 19:44:27 -03: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
cc5b995c78
- Fixed bug #61827 (incorrect \e processing on Windows) patch by: ab@php.net
2012-04-29 19:35:52 -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
Felipe Pena
6008f9af8f
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Added missing bound check in iptcparse() (path by chris at chiappa.net)
2012-04-29 19:14:03 -03:00
Felipe Pena
d44a383986
- Added missing bound check in iptcparse() (path by chris at chiappa.net)
2012-04-29 19:12:12 -03:00
reeze
e52be10b30
Fix test for proc_nice: bsd ps command didn't support option -o "%p %n"
2012-04-30 00:59:54 +08: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
6f8fae606b
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61685 putenv('TZ=UTC') doesn't update timezone for localtime()
2012-04-28 11:44:54 +02:00
Matt Ficken
dc6d283b1c
Fix bug 61685 putenv('TZ=UTC') doesn't update timezone for localtime()
2012-04-28 11:42:42 +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
3dbe48762f
Fix bug 61786 Failing tests in ext\session\tests\*
2012-04-26 15:39:45 +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
94d96f7782
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61791 ext\sqlite3\tests\sqlite3_15_open_error.phpt fails
Conflicts:
ext/sqlite3/tests/sqlite3_15_open_error.phpt
2012-04-26 15:17:46 +02:00
Anatoliy Belsky
4daab0abec
Fix bug #61791 ext\sqlite3\tests\sqlite3_15_open_error.phpt fails
2012-04-26 15:14:26 +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
19df3c1b1c
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61800 ext\standard\tests\streams\bug61371.phpt fails
2012-04-26 13:28:49 +02:00
Anatoliy Belsky
4e9db5ba9f
Fix bug #61800 ext\standard\tests\streams\bug61371.phpt fails
2012-04-26 13:27:01 +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
Anatoliy Belsky
459e758f03
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Partial fix for bug 61743 to get correct icacls path
2012-04-25 18:46:22 +02:00
Anatoliy Belsky
433290e199
Partial fix for bug 61743 to get correct icacls path
2012-04-25 18:38:27 +02:00
Stanislav Malyshev
7d3d38abec
sync version
2012-04-24 16:30:37 -07: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
ac4d53cf70
fix NEWS order
2012-04-24 21:22:19 +02:00
Michael Wallner
edbd958815
Merge branch 'PHP-5.4'
...
* PHP-5.4:
BFN
2012-04-24 20:43:59 +02:00
Michael Wallner
52cb8ed314
BFN
2012-04-24 20:40:19 +02:00
Michael Wallner
a9836496e3
Merge branch 'PHP-5.4'
2012-04-24 20:37:29 +02:00
Michael Wallner
7c93a16477
fix bug #61443
...
Since upgrade to PHP 5.4, we can't change zlib.output_compression on the
fly
the check for PHP_OUTPUT_WRITTEN was over-zealous
2012-04-24 20:35:49 +02:00
Michael Wallner
342b641a93
Merge branch 'PHP-5.4'
2012-04-24 19:52:45 +02:00
Michael Wallner
df00b64cb9
fixed bug #61820
...
using ob_gzhandler will complain about headers already sent
when no compression
the Vary header should only be sent on the PHP_OUTPUT_HANDLER_START
event
2012-04-24 19:50:00 +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
f21376d668
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61413 ext\openssl\tests\openssl_encrypt_crash.phpt fails 5.3 only
2012-04-24 14:08:26 +02:00
Anatoliy Belsky
270a406ac9
Fix bug #61413 ext\openssl\tests\openssl_encrypt_crash.phpt fails 5.3 only
2012-04-24 14:05:35 +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
Anatoliy Belsky
c7f9f54a23
Bug 61610 adopted expected warnings for 5.4
2012-04-24 13:36:43 +02:00
Gustavo André dos Santos Lopes
d77cde46e1
Merge branch '5.4'
2012-04-23 22:10:50 +01:00
Gustavo André dos Santos Lopes
485638a09c
Merge branch '5.3' into 5.4
2012-04-23 22:10:23 +01:00
Gustavo André dos Santos Lopes
8d748e5de5
Fixed bug #61764 : 'I' unpacks n as signed if n > 2^31-1 on LP64
...
Also fixed possible invalid read on big endian LP64.
2012-04-23 22:09:38 +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
Felipe Pena
883d40667d
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Fixed bug #61829 (Memory leak when calling MessageFormatter's constructor twice)
2012-04-23 15:19:23 -03:00
Felipe Pena
c8865e3b84
- Fixed bug #61829 (Memory leak when calling MessageFormatter's constructor twice)
2012-04-23 15:18:12 -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
Anatoliy Belsky
dd67f066f7
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61811 three of finfo tests failed, see also #61812 .
2012-04-22 19:29:52 +02:00
Anatoliy Belsky
da1b534601
Fix bug #61811 three of finfo tests failed, see also #61812 .
...
The remaining two was assidentially merged back from 5.4
2012-04-22 19:26:54 +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
0d115ca211
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed warning implicit declaration of function 'file_printedlen'
2012-04-22 19:59:46 +08:00
Xinchen Hui
f13b0ede07
Fixed warning implicit declaration of function 'file_printedlen'
2012-04-22 19:52: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
Xinchen Hui
3ca1976b3c
Update NEWS
2012-04-22 19:39:50 +08:00
Xinchen Hui
b225330707
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #61812 (Uninitialised value used in libmagic)
2012-04-22 19:39:02 +08:00
Xinchen Hui
c06e92a533
Fixed bug #61812 (Uninitialised value used in libmagic)
2012-04-22 19:38:14 +08:00
Johannes Schlüter
a571039870
Merge branch 'PHP-5.4' of git.php.net:/php-src into PHP-5.4
...
* 'PHP-5.4' of git.php.net:/php-src:
Fix test
typo in test
Make css string constant
Fixed typo
Improved performance while sending error page
- BFN
- BFN
- Fixed bug #54197 ([PATH=] sections incompatibility with user_ini.filename set to null) patch by ab@php.net
- Fixed expected test result (patch by ab@php.net in #61769 )
- Fix test title
add pg_escape_identifier/pg_escape_literal
fix RCs
Update to 5.4.2-dev
Bug#59597 NumberFormatter::parse() with TYPE_INT64 results in a 32 bit integer
2012-04-22 02:26:07 +02:00
Johannes Schlüter
ca7b122c8c
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fix folding
2012-04-22 02:25:36 +02:00
Johannes Schlüter
bb2f806534
Fix folding
2012-04-22 02:25:02 +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
9a22bc2662
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix test
- BFN
2012-04-21 16:03:18 +08:00
Xinchen Hui
2e9eb5e32f
Fix test
...
Reported by cjones
2012-04-21 16:02:25 +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
8d44b91731
typo in test
2012-04-21 10:15:35 +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
b999e91f5b
Make css string constant
2012-04-21 09:31:00 +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
da85337d13
Fixed typo
...
report by reeze.xia@gmail.com
2012-04-21 00:11:06 +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
Xinchen Hui
cc58373d4d
Improved performance while sending error page
...
this also fixed bug #61785 (Memory leak when access a non-exists file without router)
2012-04-21 00:01:10 +08:00
Felipe Pena
bca2d6b985
- BFN
2012-04-19 23:23:59 -03:00
Felipe Pena
dd34fe52b9
- BFN
2012-04-19 23:23:46 -03: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
d2798c6035
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Fixed bug #54197 ([PATH=] sections incompatibility with user_ini.filename set to null) patch by ab@php.net
2012-04-19 23:13:37 -03:00
Felipe Pena
c3b0fb4fbe
- Fixed bug #54197 ([PATH=] sections incompatibility with user_ini.filename set to null) patch by ab@php.net
2012-04-19 23:12:47 -03:00
Felipe Pena
77f43a0770
Merge branch 'PHP-5.4'
2012-04-19 20:15:26 -03:00
Felipe Pena
0a46d63f7e
- Fixed expected test result (patch by ab@php.net in #61769 )
2012-04-19 20:15:11 -03:00
Felipe Pena
e104d3fb6e
Merge branch 'PHP-5.4'
2012-04-19 20:07:37 -03:00
Felipe Pena
d5bd45429c
- Fix test title
2012-04-19 20:05:30 -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
Yasuo Ohgaki
655245afef
add pg_escape_identifier/pg_escape_literal
2012-04-19 13:40:24 -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
106e0a2e68
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Bug#59597 NumberFormatter::parse() with TYPE_INT64 results in a 32 bit integer
2012-04-19 11:37:31 -07:00
Stanislav Malyshev
5cbf2d6785
Merge branch 'pull-request/61' into PHP-5.3
...
* pull-request/61:
Bug#59597 NumberFormatter::parse() with TYPE_INT64 results in a 32 bit integer
2012-04-19 11:28:30 -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
Stanislav Malyshev
2b8e9430c8
fix RCs
2012-04-19 10:45:21 -07:00
Christopher Jones
701332ce30
Update to 5.4.2-dev
...
After PHP-5.4.1 was branched, the PHP-5.4 branch should have been 5.4.2-dev.
2012-04-19 10:45:21 -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
Johannes Schlüter
36a5565467
Merge branch 'PHP-5.4' of git.php.net:/php-src into PHP-5.4
...
* 'PHP-5.4' of git.php.net:/php-src:
2012-04-19 12:48:18 +02:00
Johannes Schlüter
0589b19abf
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Commit generated file
Fix bug #61755 parsing bug can lead to access violations
Fix bug 61671 ext\spl\tests\fileobject_003.phpt fails
2012-04-19 12:47:47 +02:00
Johannes Schlüter
c06ec6bde4
Commit generated file
2012-04-19 12:47:09 +02:00
Johannes Schlüter
1b78aef426
Fix bug #61755 parsing bug can lead to access violations
2012-04-19 12:46:02 +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
Anatoliy Belsky
1f4b4c384e
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61671 ext\spl\tests\fileobject_003.phpt fails
2012-04-19 11:36:50 +02:00
Anatoliy Belsky
adfb4c62b7
Fix bug 61671 ext\spl\tests\fileobject_003.phpt fails
...
The solution was already introduced in 5.4 by Etienne Kneuss and
Pierre but wasn't merged back into 5.3 . SplFileObject should
not be used with directories. So just putting together all the
necessary pieces from 5.4
2012-04-19 11:33:12 +02:00
Sherif Ramadan
2827324c7c
Bug#59597 NumberFormatter::parse() with TYPE_INT64 results in a 32 bit integer
2012-04-19 04:44:43 -04: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
ff7e1ff677
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Drop old README
2012-04-19 00:30:45 +02:00
Johannes Schlüter
4650b2164b
Drop old README
2012-04-19 00:29:24 +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
cc85e7c313
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix slight grammar glitch (thanks Dan Brown)
2012-04-19 00:08:36 +02:00
Johannes Schlüter
710021d1d4
Fix slight grammar glitch (thanks Dan Brown)
2012-04-19 00:07:40 +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
Johannes Schlüter
900751e8ae
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Update generated file.
Ensure the SQL parser is regenerated after changes.
2012-04-18 22:50:21 +02:00
Johannes Schlüter
e946eaca0b
Update generated file.
2012-04-18 22:49:03 +02:00
Johannes Schlüter
dda60f3014
Ensure the SQL parser is regenerated after changes.
2012-04-18 22:48:49 +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
Xinchen Hui
56d8d35300
Fix NEWS, the previous wrong was introduced in commit cb2a1c71c9
...
http://git.php.net/?p=php-src.git;a=commitdiff;h=cb2a1c71c96d7c9b2ee03d77beae0c8e0d385f1b
2012-04-18 18:43:46 +08:00
Xinchen Hui
172aa3c6d7
update NEWS
2012-04-18 18:42:39 +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
Johannes Schlüter
0618e33b5d
Merge branch 'PHP-5.4' of git.php.net:/php-src into PHP-5.4
...
* 'PHP-5.4' of git.php.net:/php-src:
Fixed bug #61761 ('Overriding' a private static method with a different signature causes crash)
2012-04-18 12:22:27 +02:00
Yasuo Ohgaki
d6394e66a3
Add NEWS
2012-04-18 12:21:05 +02:00
Yasuo Ohgaki
cce0f8e507
Implement Request #47570 libpq's PG_VERSION should be exported to userland
2012-04-18 12:20: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
Xinchen Hui
da6465a268
Fixed bug #61761 ('Overriding' a private static method with a different signature causes crash)
2012-04-18 18:13:27 +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
d55afe4df6
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61746 Failing tests in ext/standard/tests/file/windows_links/*
2012-04-16 17:07:33 +02:00
Anatoliy Belsky
f3d86b314f
Fix bug 61746 Failing tests in ext/standard/tests/file/windows_links/*
2012-04-16 17:06:30 +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
3d106aeb0d
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61720 ext\libxml\tests\bug61367-read.phpt fails
2012-04-16 15:46:02 +02:00
Anatoliy Belsky
bceafee879
Fix bug 61720 ext\libxml\tests\bug61367-read.phpt fails
2012-04-16 15:45:03 +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
4ac6862fc4
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61719 ext\soap\tests\bugs\bug31422.phpt fails
2012-04-16 15:40:10 +02:00
Anatoliy Belsky
9c8907ec10
Fix bug 61719 ext\soap\tests\bugs\bug31422.phpt fails
2012-04-16 15:38:46 +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
5d1565088f
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61718 ext\ldap\tests\ldap_set_rebind_proc_error.phpt fails
2012-04-16 15:26:50 +02:00
Anatoliy Belsky
1c435ae498
Fix bug 61718 ext\ldap\tests\ldap_set_rebind_proc_error.phpt fails
2012-04-16 15:25: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
1a44faf264
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61717 ext\ldap\tests\ldap_sasl_bind_basic.phpt fails
2012-04-16 15:21:04 +02:00
Anatoliy Belsky
47e7755785
Fix bug 61717 ext\ldap\tests\ldap_sasl_bind_basic.phpt fails
2012-04-16 15:20:03 +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
9f42c1890b
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61716 tests\basic\021.phpt fails
2012-04-16 15:16:06 +02:00
Anatoliy Belsky
4fa1743009
Fix bug 61716 tests\basic\021.phpt fails
2012-04-16 15:14:26 +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
45977c6aae
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61683 tests\basic\bug20539.phpt fails
2012-04-16 14:39:39 +02:00
Anatoliy Belsky
aaed0af418
Fix bug 61683 tests\basic\bug20539.phpt fails
2012-04-16 14:38:16 +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
d588d01b7c
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61680 ext\zlib\tests\gzencode_variation1-win32.phpt fails
2012-04-16 14:05:32 +02:00
Anatoliy Belsky
163c1a393f
Fix bug 61680 ext\zlib\tests\gzencode_variation1-win32.phpt fails
2012-04-16 14:04:29 +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
ede519d1d6
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61676 ext\tidy\tests\bug54682.phpt fails
Conflicts:
ext/tidy/tests/bug54682.phpt
2012-04-16 13:42:52 +02:00
Anatoliy Belsky
c981016e41
Fix bug 61676 ext\tidy\tests\bug54682.phpt fails
2012-04-16 13:38:13 +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
Anatoliy Belsky
948f3619f6
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug 61743 tests in ext\standard\tests\file\windows_acls\* fail
2012-04-16 13:33:03 +02:00
Anatoliy Belsky
9a4cb732ed
Fix bug 61743 tests in ext\standard\tests\file\windows_acls\* fail
2012-04-16 13:30:58 +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
ed09d26f94
change the bug summary
2012-04-16 19:23:12 +08:00
Xinchen Hui
579d234f50
Merge branch 'PHP-5.4'
2012-04-15 01:17:56 +08:00
Xinchen Hui
3b42f184cd
Fixed bug #61728 (php-fpm SIGSEGV running friendica on nginx)
2012-04-15 01:16:34 +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
Johannes Schlüter
6ecac26972
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Rename README.SVN-RULES to README.GIT-RULES, here, too
2012-04-14 00:31:00 +02:00
Johannes Schlüter
21d314a767
Rename README.SVN-RULES to README.GIT-RULES, here, too
2012-04-14 00:29:55 +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
David Soria Parra
de6dfe5bbd
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
configure.in: Check for README.GIT-RULES instead of README.SVN-RULES
Conflicts:
configure.in
2012-04-13 16:33:25 +02:00
David Soria Parra
e9b978c374
configure.in: Check for README.GIT-RULES instead of README.SVN-RULES
...
We removed the README.SVN-RULES file. Configure checks for this file.
Let's check for the new README.GIT-RULES instead.
2012-04-13 16:32:41 +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
Johannes Schlüter
676f0deb38
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Move and update README.SVN-RULES to README.GIT-RULES
2012-04-13 02:15:39 +02:00
Johannes Schlüter
e0d5138660
Move and update README.SVN-RULES to README.GIT-RULES
2012-04-13 02:12:47 +02:00
Xinchen Hui
ee8dfb8882
Merge branch 'PHP-5.4'
2012-04-13 00:12:40 +08:00
Xinchen Hui
8ceae39d4d
Merge branch 'PHP-5.3' into PHP-5.4
2012-04-13 00:11:04 +08:00
Xinchen Hui
8c4294bcb4
Fixed test faild
...
the sun_path will not be that much long:
http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/un.h.html
2012-04-13 00:07:07 +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
Johannes Schlüter
0a580ac76f
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
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.
Conflicts:
ext/json/json.c
ext/json/php_json.h
2012-04-12 12:02:38 +02:00
Johannes Schlüter
1461a40301
Remove cherry-picked items for 5.3.11
2012-04-12 11:21:41 +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
Johannes Schlüter
82c05eeda9
Copy default properties of internal classes for different threads
2012-04-11 19:21:41 -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
Adam Harvey
05c8d4766c
Update test to fix breakage caused by the previous commit.
2012-04-11 08:29:39 +08:00
Adam Harvey
cb2a1c71c9
Fix bug #61537 (json_encode() incorrectly truncates/discards information) and
...
remove a test case that's now mooted by this fix.
2012-04-11 08:29:39 +08:00
Adam Harvey
3f3ad30c50
Fix bug #61537 (json_encode() incorrectly truncates/discards information) and
...
remove a test case that's now mooted by this fix.
2012-04-11 08:24:38 +08:00
Gustavo André dos Santos Lopes
b03f62fb5d
Merge branch '5.4'
2012-04-10 19:45:47 +01:00
Gustavo André dos Santos Lopes
112a476b68
Merge .gitattributes EOL commit from 5.3.
...
This merge commit includes several changes from the 5.3 commit.
This is because of 1) different tests between the two branches
and 2) the svn:eol-style attributes differing between the two
branches.
2012-04-10 19:45:18 +01:00
Gustavo André dos Santos Lopes
1c8fccdf6d
Disabled EOL conversions on certain tests
2012-04-10 19:41:07 +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
9ada49fa1c
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #61669 ext\standard\tests\file\rename_variation7-win32.phpt fails
Conflicts:
ext/standard/tests/file/rename_variation7-win32.phpt
2012-04-10 15:23:38 +02:00
Anatoliy Belsky
ed0ddd20c5
Fixed bug #61669 ext\standard\tests\file\rename_variation7-win32.phpt fails
2012-04-10 15:16:48 +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
a9eace9f6e
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #61668 ext\standard\tests\file\rename_variation13-win32.phpt fails
Conflicts:
ext/standard/tests/file/rename_variation13-win32.phpt
2012-04-10 15:12:42 +02:00
Anatoliy Belsky
b0cb29db87
Fixed bug #61668 ext\standard\tests\file\rename_variation13-win32.phpt fails
2012-04-10 15:09:21 +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
98001a849b
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61667 ext\standard\tests\file\glob_variation-win32.phpt fails
Conflicts:
ext/standard/tests/file/glob_variation-win32.phpt
2012-04-10 15:03:41 +02:00
Anatoliy Belsky
b9cbb9e744
Fix bug #61667 ext\standard\tests\file\glob_variation-win32.phpt fails
2012-04-10 15:00:03 +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
06b2d66ce2
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #61666 ext\standard\tests\file\file_put_contents_variation8-win32.phpt fails
Conflicts:
ext/standard/tests/file/file_put_contents_variation8-win32.phpt
2012-04-10 14:55:38 +02:00
Anatoliy Belsky
fde96342e8
Fixed bug #61666 ext\standard\tests\file\file_put_contents_variation8-win32.phpt fails
2012-04-10 14:13:15 +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
13211f201a
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
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
Conflicts:
ext/spl/tests/bug60082.phpt
2012-04-10 14:05:07 +02:00
Anatoliy Belsky
b2f2e1d6cc
Fix bug #61659 Test ext\spl\tests\bug60082.phpt fails
2012-04-10 14:03:19 +02:00
Anatoliy Belsky
024cd2a124
Fixed bug #61638 Test ext\sockets\tests\unixloop.phpt fails
2012-04-10 14:00:51 +02:00
Anatoliy Belsky
bbab846ada
Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
2012-04-10 14:00:50 +02:00
Anatoliy Belsky
70f2f30e67
Fixed bug #61635 ext\sockets\tests\socket_select-wrongparams-1.phpt
2012-04-10 14:00:50 +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
b3be5d920a
Fixed bug #61638 Test ext\sockets\tests\unixloop.phpt fails
2012-04-10 13:58:15 +02:00
Anatoliy Belsky
15e26c6d4a
Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
2012-04-10 13:54:22 +02:00
Anatoliy Belsky
af8646c188
Fixed bug #61635 ext\sockets\tests\socket_select-wrongparams-1.phpt
2012-04-10 13:40:20 +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
006b04da4a
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
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 61621 Test fail in ext/standard/tests/dir
2012-04-10 13:09:48 +02:00
Anatoliy Belsky
c4676ee99f
Fixed bug #61634 Test ext\sockets\tests\socket_listen-wrongparams.phpt fails
2012-04-10 13:08:57 +02:00
Anatoliy Belsky
5b0e7203e6
Fixed bug #61633 Test ext\sockets\tests\socket_create_pair-wrongparams.phpt fails
2012-04-10 13:06:15 +02:00
Anatoliy Belsky
83b48280c7
Fixed bug #61632 Test ext\sockets\tests\socket_create_listen.phpt fails
2012-04-10 13:06: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
5594fcf423
Fixed bug #61633 Test ext\sockets\tests\socket_create_pair-wrongparams.phpt fails
2012-04-10 13:02:53 +02:00
Anatoliy Belsky
37cb29ae90
Fixed bug #61632 Test ext\sockets\tests\socket_create_listen.phpt fails
2012-04-10 12:57:10 +02:00
Anatoliy Belsky
d80e2e069c
Fixed bug 61621 Test fail in ext/standard/tests/dir
2012-04-10 12:47:01 +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
31a3e83190
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
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
2012-04-10 12:37:37 +02:00
Anatoliy Belsky
26dbc5ecb4
Fixed bug #61611 ext\date\tests\date_default_timezone_get-2.phpt 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. Tested on debian and win7 both x86.
2012-04-10 12:33:11 +02:00
Anatoliy Belsky
1a0c9ecaee
Fixed bug #61631 mbstring mail related tests fail
2012-04-10 12:23:07 +02:00
Anatoliy Belsky
fbbad87056
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:20:40 +02:00
Anatoliy Belsky
fd68d5b139
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:20:40 +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
Anatoliy Belsky
2ca49d39a3
Fixed bug #61631 mbstring mail related tests fail
2012-04-10 11:47:18 +02:00
Anatoliy Belsky
d89b65f985
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 11:03:41 +02:00
Anatoliy Belsky
4ff55e646a
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 10:18:10 +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
882dca647a
MFH: fixed a mistake on reverting my previous patch.
2012-04-09 23:49:18 +09: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
Nikita Popov
7ae93a2c4c
Fix bug #61660 : bin2hex(hex2bin($data)) != $data
...
If the input data has an odd length a warning is thrown and false is returned.
2012-04-08 22:38:21 +02:00
Gustavo André dos Santos Lopes
bd5f52fd94
Merge branch '5.4'
2012-04-07 16:34:37 +01:00
Gustavo André dos Santos Lopes
f7d4076785
Merge branch '5.3' into 5.4
2012-04-07 16:34:17 +01:00
Gustavo André dos Santos Lopes
0f180a63eb
Fixed bug in new stream_get_line() when using NUL as a delimiter.
...
This is the issue Derick spotted a few days ago..
2012-04-07 16:32:19 +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
Xinchen Hui
014ed76943
Update NEWS
2012-04-06 21:58:28 +08:00
Xinchen Hui
b0f09b69d3
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #61650 (ini parser crashes when using ${xxxx} ini variables (without apache2))
2012-04-06 21:57:56 +08:00
Xinchen Hui
9bf8cd4b34
Fixed bug #61650 (ini parser crashes when using ${xxxx} ini variables (without apache2))
2012-04-06 21:42:40 +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
Anatoliy Belsky
69b2570b72
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61480 test bug - ext/gd/tests/bug48555.phpt
updated the NEWS with the latest fileinfo changes
Conflicts:
NEWS
2012-04-04 18:54:03 +02:00
Matt Ficken
381edb425e
Fix bug #61480 test bug - ext/gd/tests/bug48555.phpt
2012-04-04 18:39:24 +02:00
Anatoliy Belsky
db834fc460
updated the NEWS with the latest fileinfo changes
2012-04-04 12:36:34 +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
7cccb6bc5a
fix typo
2012-04-04 17:41:25 +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
1215665bb4
Update NEWS for #61617
2012-04-04 17:38:43 +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
1ff8021519
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #61617 (Libxml tests failed(ht is already destroyed))
Cherry-pick 4cc74767
Conflicts:
NEWS
2012-04-04 17:36:18 +08:00
Xinchen Hui
94f1c05ff8
Fixed bug #61617 (Libxml tests failed(ht is already destroyed))
2012-04-04 17:22:37 +08:00
Gustavo André dos Santos Lopes
ca58cd01fc
Cherry-pick 4cc74767
...
Headers: forbid \r and \n also after \0, allow CRLF followed by HT or SP and forbid \0. See bug #60227 .
Conflicts:
ext/standard/tests/general_functions/bug60227.phpt
ext/standard/tests/general_functions/bug60227_1.phpt
ext/standard/tests/general_functions/bug60227_2.phpt
main/SAPI.c
2012-04-04 09:59:51 +01: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
9882358984
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix warning "suggest parentheses around assignment"
Conflicts:
main/SAPI.c
2012-04-04 16:37:29 +08:00
Xinchen Hui
f7bf83546e
Fix warning "suggest parentheses around assignment"
2012-04-04 16:35:32 +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
efd671f242
Fixed bug Fixed bug #61605 (header_remove() does not remove all headers)
2012-04-04 16:14:28 +08:00
Xinchen Hui
3ea9fa1b46
Merge branch 'PHP-5.3' into PHP-5.4
2012-04-04 16:13:02 +08:00
Xinchen Hui
896c4539df
Fixed bug #61605 (header_remove() does not remove all headers)
2012-04-04 16:01:43 +08:00
Xinchen Hui
0421ef5e2e
Merge branch 'PHP-5.4'
2012-04-04 15:24:41 +08:00
Xinchen Hui
bd400829af
Merge branch 'PHP-5.3' into PHP-5.4
2012-04-04 15:24:08 +08:00
Xinchen Hui
7b04638c8c
Fix test
...
cherry-pick from php-5.4
2012-04-04 15:20:28 +08:00
reeze
6712d0d20d
Fixed CODING_STANDARD and move parameter parse code
2012-04-04 14:06:55 +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
Ilia Alshanetsky
9c5ae9954f
Fixed bug #61423 (gzip compression fails).
2012-04-03 08:47:00 -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
827c446b62
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61460 popen_close_error-win32 expected output is wrong
Conflicts:
ext/standard/tests/file/popen_pclose_error-win32.phpt
2012-04-03 14:22:59 +02:00
Matt Ficken
438536e45e
Fix bug #61460 popen_close_error-win32 expected output is wrong
2012-04-03 14:19: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
Anatoliy Belsky
2a8866ba5e
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61454 ext\standard\tests\general_functions\bug49847.phpt fails
2012-04-03 13:24:31 +02:00
Anatoliy Belsky
14e74aeb57
Fix bug #61454 ext\standard\tests\general_functions\bug49847.phpt fails
2012-04-03 13:23:06 +02:00
Anatoliy Belsky
b67a4cc340
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61481 Test Bug - ext/com_dotnet/tests/bug49192
2012-04-03 13:09:17 +02:00
Anatoliy Belsky
94cefaedaf
Fix bug #61481 Test Bug - ext/com_dotnet/tests/bug49192
2012-04-03 13:07:51 +02:00
Anatoliy Belsky
9c81654378
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61517 random test failure - ext/standard/tests/misc/time_sleep_until_basic.phpt
2012-04-03 11:08:02 +02:00
Anatoliy Belsky
469cd3abf1
Fix bug #61517 random test failure - ext/standard/tests/misc/time_sleep_until_basic.phpt
2012-04-03 11:04:52 +02:00
reeze
054f3e3ce5
Implemented FR #61602 Allow access to name of constant used as default value
2012-04-03 13:51:44 +08:00
Xinchen Hui
7a2885a591
Merge branch 'PHP-5.4'
2012-04-03 12:19:05 +08:00
Xinchen Hui
e7a36ad902
Merge branch 'PHP-5.3' into PHP-5.4
2012-04-03 12:18:42 +08:00
Xinchen Hui
6d97e28e42
Update NEWS for #61541
2012-04-03 12:13:59 +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
Moriyoshi Koizumi
43047598c4
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
NEWS
2012-04-03 02:00:23 +09:00
Moriyoshi Koizumi
a6c95c8a00
Reset LIBS temporarily to make sure PHP_CHECK_FUNC will look into libc.
...
See Gentoo bug #364139 . https://bugs.gentoo.org/show_bug.cgi?id=364139
Reported by Naohiro Aota.
2012-04-03 01:51:23 +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
Anatoliy Belsky
374646c36b
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
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
Conflicts:
ext/fileinfo/tests/finfo_open_001.phpt
ext/fileinfo/tests/finfo_open_error.phpt
win32/build/libs_version.txt
2012-04-02 17:36:50 +02:00
Anatoliy Belsky
8684fb7fac
updated the libmagic.patch
2012-04-02 17:27:23 +02:00
Anatoliy Belsky
909713e233
Bug #61566 Fileinfo ext\fileinfo\tests\finfo_file_002.phpt fails
...
This patch fixes the failure caused by the
posix lseek and read versions under windows in cdf_read() .
Additionally all the occurences of lseek and read
was replaced by _lseek and _reed for windows.
2012-04-02 17:22:46 +02:00
Anatoliy Belsky
0cdba53aae
Fix bug #61565 Fileinfo ext\fileinfo\tests\finfo_file_001.phpt fails
2012-04-02 17:19:09 +02:00
Pierre Joye
69e0e03457
- update to openssl 0.9.8u
2012-04-02 13:09:19 +02:00
Pierre Joye
55a6f3a12d
- update to openssl 0.9.8u
2012-04-02 13:07:59 +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
Derick Rethans
6c6bec5760
Merge branch 'PHP-5.3' into PHP-5.4
2012-04-02 10:40:02 +01:00
Derick Rethans
0e53ac49e6
- Updated to version 2012.3 (2012c)
2012-04-02 10:40:01 +01:00
Popa Adrian Marius
4ad9323fa2
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
2012-04-02 10:03:25 +03:00
Popa Adrian Marius
09b303425a
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
2012-04-02 10:03:18 +03:00
Popa Adrian Marius
66b3b44fd5
Merge branch 'PHP-5.3' of git.php.net:php-src into PHP-5.3
2012-04-02 10:02:45 +03: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
David Soria Parra
3bf53aa911
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Cleanup Safe Mode related comment in SG(request_info)
2012-03-31 09:34:25 +02:00
reeze
ff8be9845f
Cleanup Safe Mode related comment in SG(request_info)
2012-03-31 09:34:08 +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
aa774a51d5
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Add php.ini parameter checks for OCI8
2012-03-30 16:17:37 -07:00
Christopher Jones
132d7113ea
Merge branch 'add-oci8-ini-tests' into PHP-5.3
...
* add-oci8-ini-tests:
Add php.ini parameter checks for OCI8
2012-03-30 16:16:32 -07:00
Christopher Jones
c56cfbd234
Add php.ini parameter checks for OCI8
...
Add tests for OCI8 php.ini parameters particularly to check
which parameters can be changes with ini_set().
2012-03-30 16:12:25 -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
Christopher Jones
4e8cab94d3
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 :
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:45 -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
Xinchen Hui
14fdb8bf0a
trivial change try to ci a "fake" merge
...
seems now a empty merge will not be accepted by pre-receive-hook
"remote: We cannot figure out what you comitted!"
2012-03-30 20:50:45 +08:00
Xinchen Hui
e2edc820e0
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix test, parameter signatures was introduced only into 5.4
2012-03-30 20:45:09 +08:00
Xinchen Hui
6b4112c98a
Fix test, parameter signatures was introduced only into 5.4
2012-03-30 20:37:48 +08:00
Stanislav Malyshev
82f166fa73
fix makedist for new tags
2012-03-30 00:01:52 -07: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
Christopher Jones
06235747b1
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 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)
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
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:40 -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
Popa Adrian Marius
5d8a0fd7ec
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix firebird bug #60947 , tested and now it prints the header page information from database
2012-03-29 18:28:22 +03:00
Popa Adrian Marius
97f4fc22c5
Fix firebird bug #60947 , tested and now it prints the header page information from database
2012-03-29 18:28:01 +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
Shein Alexey
c02aa086c6
Resolved conflict.
2012-03-29 17:03:43 +05:00
Shein Alexey
c0f806a69c
Merge branch 'fix-debug-build-bug61115-1.phpt' into PHP-5.3
...
* fix-debug-build-bug61115-1.phpt:
Fixed bug61115-1.phpt for debug build version.
2012-03-29 17:01:40 +05:00
Shein Alexey
e1352b0416
Fixed bug61115-1.phpt for debug build version.
2012-03-29 16:51:45 +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
Yasuo Ohgaki
8449e0ca89
Fixed bug #60718 Complie problem with libpq (PostgreSQL 7.3 or less)
2012-03-29 20:04:15 +09:00
Yasuo Ohgaki
aecf5485e3
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #60718 Complie problem with libpq (PostgreSQL 7.3 or less)
2012-03-29 19:55:06 +09:00
Yasuo Ohgaki
931831bf75
Fixed bug #60718 Complie problem with libpq (PostgreSQL 7.3 or less)
2012-03-29 19:48:58 +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
1d8664b90b
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
This will be PHP 5.3.12
Conflicts:
configure.in
main/php_version.h
2012-03-29 11:43:26 +02:00
Johannes Schlüter
fb124764de
This will be PHP 5.3.12
2012-03-29 11:22:44 +02:00
Johannes Schlüter
27378c2b5a
Merge branch 'PHP-5.4'
...
* PHP-5.4:
2012-03-29 10:59:02 +02:00
Johannes Schlüter
0bca6214c6
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
2012-03-29 10:57:57 +02:00
Johannes Schlüter
21fa9634c1
Merge remote branch 'security/PHP-5.3' into PHP-5.3
...
* security/PHP-5.3:
fix bug #61367 - open_basedir bypass using libxml RSHUTDOWN
open_basedir check for linkinfo
NEWS entry for readline fix
Add open_basedir checks to readline_write_history and readline_read_history
2012-03-29 10:54:08 +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
f4873c68a6
Merge branch '5.3' into 5.4
...
Conflicts:
main/output.c
2012-03-29 08:47:58 +01:00
Gustavo André dos Santos Lopes
67bf07f3e7
Merge rebased pull request #24 onto 5.3 into 5.3
2012-03-29 08:46:37 +01:00
Jille Timmermans
710335b2a3
ext/pcntl/pcntl.c: Fix typo in comment
...
Signed-off-by: Jille Timmermans <jille@quis.cx >
2012-03-29 08:46:04 +01:00
Gustavo André dos Santos Lopes
616d802974
Revert "ext/pcntl/pcntl.c: Fix typo in comment" (apply correct workflow)
...
This reverts commit 4aeabaf8e9 .
2012-03-29 08:45:00 +01:00
Gustavo André dos Santos Lopes
117cdf384f
Revert "ext/pcntl/pcntl.c: Fix typo in comment" (apply correct workflow)
...
This reverts commit 55b1e61242 .
2012-03-29 08:44:19 +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
Jille Timmermans
55b1e61242
ext/pcntl/pcntl.c: Fix typo in comment
...
Signed-off-by: Jille Timmermans <jille@quis.cx >
2012-03-29 09:07:07 +09: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
Yasuo Ohgaki
f38ee78344
Merge branch 'pull-request/25' into 5.3
...
* pull-request/25:
- fix bug #61541 , Segfault when using ob_* in output_callback
2012-03-29 08:51:29 +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
Christopher Jones
4b72d505ae
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 :
Refactoring junit logger. Added generation of nested testsuites in junit.xml.
2012-03-28 16:16:20 -07:00
reeze
abd2b2ee43
- fix bug #61541 , Segfault when using ob_* in output_callback
2012-03-29 06:23:05 +09: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
reeze
9bc91a21db
- fix bug #61541 , Segfault when using ob_* in output_callback
2012-03-29 00:18:02 +08: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