]> granicus.if.org Git - php/log
php
13 years agoFixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY)
Hannes Magnusson [Fri, 30 Sep 2011 14:17:23 +0000 (14:17 +0000)]
Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY)

13 years agoUse the default stream context for FilesystemIterator, GlobIterator and (Recursive...
Hannes Magnusson [Fri, 30 Sep 2011 14:12:26 +0000 (14:12 +0000)]
Use the default stream context for FilesystemIterator, GlobIterator and (Recursive)DirectoryIterator

13 years agoFix wrong codes #55817
Xinchen Hui [Fri, 30 Sep 2011 13:34:07 +0000 (13:34 +0000)]
Fix wrong codes #55817

13 years ago- Fixed #55798: serialize followed by unserialize with numeric object prop.
Gustavo André dos Santos Lopes [Wed, 28 Sep 2011 14:47:42 +0000 (14:47 +0000)]
- Fixed #55798: serialize followed by unserialize with numeric object prop.
  gives integer prop.

13 years ago- Oops missed return. Also improved the readability of a test.
Gustavo André dos Santos Lopes [Tue, 27 Sep 2011 11:43:07 +0000 (11:43 +0000)]
- Oops missed return. Also improved the readability of a test.

13 years ago- Added tests and NEWS for r306475; see bug #55797.
Gustavo André dos Santos Lopes [Tue, 27 Sep 2011 10:57:25 +0000 (10:57 +0000)]
- 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.

13 years agofix bug #55768 (PDO_OCI can't resume Oracle session after it's been killed)
Antony Dovgal [Tue, 27 Sep 2011 09:12:13 +0000 (09:12 +0000)]
fix bug #55768 (PDO_OCI can't resume Oracle session after it's been killed)

13 years agosplit the ext/calendar/tests/bug53574.phpt into two test, as we expect different...
Ferenc Kovacs [Tue, 27 Sep 2011 00:53:41 +0000 (00:53 +0000)]
split the ext/calendar/tests/bug53574.phpt into two test, as we expect different result on 32 and 64 bit

13 years agofix #49599, the eol-style is important here, as this is a regression test for #36459
Ferenc Kovacs [Mon, 26 Sep 2011 23:28:24 +0000 (23:28 +0000)]
fix #49599, the eol-style is important here, as this is a regression test for #36459

13 years ago- Fixed bug in SdnToGregorian (see comments on #53574, though that bug is about
Gustavo André dos Santos Lopes [Mon, 26 Sep 2011 22:38:21 +0000 (22:38 +0000)]
- Fixed bug in SdnToGregorian (see comments on #53574, though that bug is about
  another function). NEWS & tests tomorrow.

13 years agoUse TZ similar to easter_date.phpt else gcov et al give a diff for unixtojd(1000000000)
Christopher Jones [Mon, 26 Sep 2011 19:13:06 +0000 (19:13 +0000)]
Use TZ similar to easter_date.phpt else gcov et al give a diff for unixtojd(1000000000)

13 years ago- Updated to version 2011.11 (2011k)
Derick Rethans [Mon, 26 Sep 2011 17:23:00 +0000 (17:23 +0000)]
- Updated to version 2011.11 (2011k)

13 years ago- be sure to check if the var ha not been removed between the two calls
Pierre Joye [Mon, 26 Sep 2011 08:49:28 +0000 (08:49 +0000)]
- be sure to check if the var ha not been removed between the two calls

13 years ago- Fix bug #55622, better fix for this issue, old fix can break if sizeof(size_t)...
Pierre Joye [Mon, 26 Sep 2011 08:38:03 +0000 (08:38 +0000)]
- Fix bug #55622, better fix for this issue, old fix can break if sizeof(size_t) > sizeof(int) like on sparc

13 years agoupdate proto
Stanislav Malyshev [Mon, 26 Sep 2011 03:57:22 +0000 (03:57 +0000)]
update proto

13 years ago- Fix folding
Johannes Schlüter [Sun, 25 Sep 2011 13:06:09 +0000 (13:06 +0000)]
- Fix folding

13 years ago- Fix bug #55776 (PDORow to session bug)
Johannes Schlüter [Sun, 25 Sep 2011 12:39:05 +0000 (12:39 +0000)]
- Fix bug #55776 (PDORow to session bug)

13 years agoadded test script for mb_ereg_replace_callback().
Rui Hirokawa [Sun, 25 Sep 2011 08:55:27 +0000 (08:55 +0000)]
added test script for mb_ereg_replace_callback().

13 years agofixed seg faults for mb_ereg_replace_callback.
Rui Hirokawa [Sun, 25 Sep 2011 08:33:43 +0000 (08:33 +0000)]
fixed seg faults for mb_ereg_replace_callback.

13 years agoadded mb_ereg_replace_callback().
Rui Hirokawa [Sun, 25 Sep 2011 08:01:54 +0000 (08:01 +0000)]
added mb_ereg_replace_callback().

13 years agoFix tests due to bison depened message format
Xinchen Hui [Sun, 25 Sep 2011 03:35:57 +0000 (03:35 +0000)]
Fix tests due to bison depened message format

13 years agoFix warning "implicit declaration of function `zend_fetch_debug_backtrace'"
Xinchen Hui [Sun, 25 Sep 2011 03:18:39 +0000 (03:18 +0000)]
Fix warning "implicit declaration of function `zend_fetch_debug_backtrace'"

13 years agoFix bug #55769 (Make Fails with "Missing Separator" error) via s/ /^I/.
Adam Harvey [Sat, 24 Sep 2011 19:16:33 +0000 (19:16 +0000)]
Fix bug #55769 (Make Fails with "Missing Separator" error) via s/    /^I/.

13 years agoadded tests for #40685.
Rui Hirokawa [Sat, 24 Sep 2011 02:11:48 +0000 (02:11 +0000)]
added tests for #40685.

13 years agofixed #40685: removed '&' in mb_decode_numericentity().
Rui Hirokawa [Sat, 24 Sep 2011 02:11:18 +0000 (02:11 +0000)]
fixed #40685: removed '&' in mb_decode_numericentity().

13 years agounused var
Xinchen Hui [Sat, 24 Sep 2011 01:05:43 +0000 (01:05 +0000)]
unused var

13 years agoAdd a test and declare the local vars locally
Rasmus Lerdorf [Fri, 23 Sep 2011 15:19:48 +0000 (15:19 +0000)]
Add a test and declare the local vars locally

13 years agoImprove the warning message of incompatible arguments. (#55719)
Xinchen Hui [Fri, 23 Sep 2011 15:08:11 +0000 (15:08 +0000)]
Improve the warning message of incompatible arguments. (#55719)
And fix tests related.

13 years agoFix for bug #55767
Rasmus Lerdorf [Fri, 23 Sep 2011 13:16:37 +0000 (13:16 +0000)]
Fix for bug #55767

13 years agoadded test script for pictogram.
Rui Hirokawa [Fri, 23 Sep 2011 11:09:33 +0000 (11:09 +0000)]
added test script for pictogram.

13 years agofixed a bug in conversion table.
Rui Hirokawa [Fri, 23 Sep 2011 11:08:34 +0000 (11:08 +0000)]
fixed a bug in conversion table.

13 years agoAdd tests
Xinchen Hui [Fri, 23 Sep 2011 03:09:12 +0000 (03:09 +0000)]
Add tests

13 years agoFixed bug #55758 (Digest Authenticate missed in 5.4)
Xinchen Hui [Fri, 23 Sep 2011 02:56:25 +0000 (02:56 +0000)]
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.

13 years agothe TZ environment variable also needed to be set here, didn't dug up why date.timezo...
Ferenc Kovacs [Thu, 22 Sep 2011 22:29:28 +0000 (22:29 +0000)]
the TZ environment variable also needed to be set here, didn't dug up why date.timezone isn't sufficient

13 years agoskip the interbase tests if cannot connect to the server
Ferenc Kovacs [Thu, 22 Sep 2011 22:07:02 +0000 (22:07 +0000)]
skip the interbase tests if cannot connect to the server

13 years agothe julian date for timestamp 1000000000 is 2452161.5740741, which is rounded to...
Ferenc Kovacs [Thu, 22 Sep 2011 21:50:45 +0000 (21:50 +0000)]
the julian date for timestamp 1000000000 is 2452161.5740741, which is rounded to 2452162

13 years agoit seems that easter_date doesn't use the date.timezone but the TZ environment variab...
Ferenc Kovacs [Thu, 22 Sep 2011 20:59:10 +0000 (20:59 +0000)]
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.

13 years agoAdd tests for bug #55755
Xinchen Hui [Thu, 22 Sep 2011 02:26:00 +0000 (02:26 +0000)]
Add tests for bug #55755

13 years agoRemoved unreachable code (stream == NULL check is done already)
Ilia Alshanetsky [Wed, 21 Sep 2011 19:08:30 +0000 (19:08 +0000)]
Removed unreachable code (stream == NULL check is done already)

13 years agoFixed bug #55755 (SegFault when outputting header WWW-Authenticate)
Xinchen Hui [Wed, 21 Sep 2011 16:00:09 +0000 (16:00 +0000)]
Fixed bug #55755 (SegFault when outputting header WWW-Authenticate)

13 years ago- Use the proper variable here.
Johannes Schlüter [Wed, 21 Sep 2011 12:34:15 +0000 (12:34 +0000)]
- Use the proper variable here.

13 years agochange test, and added a test for post file
Xinchen Hui [Wed, 21 Sep 2011 07:51:31 +0000 (07:51 +0000)]
change test, and added a test for post file

13 years agoRemove double checking, and use MAXPATHLEN instead of a fixed length
Xinchen Hui [Wed, 21 Sep 2011 06:59:47 +0000 (06:59 +0000)]
Remove double checking, and use MAXPATHLEN instead of a fixed length

13 years agoChange to a more appropriate name
Xinchen Hui [Wed, 21 Sep 2011 03:16:35 +0000 (03:16 +0000)]
Change to a more appropriate name

13 years agoFixed bug #55747 (request headers missed in $_SERVER)
Xinchen Hui [Wed, 21 Sep 2011 03:09:42 +0000 (03:09 +0000)]
Fixed bug #55747 (request headers missed in $_SERVER)

13 years agoRefactored and speeded up php_cli_server tests, also get rid of test hanging on ubuntu:
Shein Alexey [Tue, 20 Sep 2011 14:53:46 +0000 (14:53 +0000)]
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

13 years agofix INI section
Xinchen Hui [Tue, 20 Sep 2011 08:13:55 +0000 (08:13 +0000)]
fix INI section

13 years agoAdd tests for built-in webserver
Xinchen Hui [Tue, 20 Sep 2011 07:10:46 +0000 (07:10 +0000)]
Add tests for built-in webserver

13 years agoFix Bug #55726 (Changing the working directory makes router script inaccessible)
Xinchen Hui [Tue, 20 Sep 2011 07:06:55 +0000 (07:06 +0000)]
Fix Bug #55726 (Changing the working directory makes router script inaccessible)

13 years agoFix folder
Xinchen Hui [Tue, 20 Sep 2011 05:07:15 +0000 (05:07 +0000)]
Fix folder

13 years agofix r316992
Michael Wallner [Mon, 19 Sep 2011 15:20:38 +0000 (15:20 +0000)]
fix r316992

13 years agoFixed bug #55544 ob_gzhandler always conflicts with zlib.output_compression
Michael Wallner [Mon, 19 Sep 2011 14:37:00 +0000 (14:37 +0000)]
Fixed bug #55544 ob_gzhandler always conflicts with zlib.output_compression

13 years ago- Fix folding
Johannes Schlüter [Mon, 19 Sep 2011 12:31:06 +0000 (12:31 +0000)]
- Fix folding

13 years agoFix wrong update
Xinchen Hui [Sat, 17 Sep 2011 14:24:15 +0000 (14:24 +0000)]
Fix wrong update

13 years ago- fix build (macros mess)
Pierre Joye [Sat, 17 Sep 2011 12:41:23 +0000 (12:41 +0000)]
- fix build (macros mess)

13 years ago- fix TS build
Pierre Joye [Sat, 17 Sep 2011 10:24:18 +0000 (10:24 +0000)]
- fix TS build

13 years agoUpdate NEWS
Xinchen Hui [Sat, 17 Sep 2011 03:23:38 +0000 (03:23 +0000)]
Update NEWS

13 years agoFix Bug #55703(PHP crash when calling mysqli_fetch_fields)
Xinchen Hui [Sat, 17 Sep 2011 03:12:23 +0000 (03:12 +0000)]
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

13 years ago- Fixed bug #55705 (Omitting a callable typehinted argument causes a segfault)
Felipe Pena [Sat, 17 Sep 2011 00:16:11 +0000 (00:16 +0000)]
- Fixed bug #55705 (Omitting a callable typehinted argument causes a segfault)
  patch by: laruence@php

13 years ago- Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4)
Felipe Pena [Sat, 17 Sep 2011 00:01:45 +0000 (00:01 +0000)]
- Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4)

13 years agoTest portability fix
Christopher Jones [Fri, 16 Sep 2011 19:56:32 +0000 (19:56 +0000)]
Test portability fix

13 years agoFixed test bug #55713 (Christopher Jones)
Pierrick Charron [Fri, 16 Sep 2011 18:29:22 +0000 (18:29 +0000)]
Fixed test bug #55713 (Christopher Jones)

13 years ago- add -win32 versions and skipif
Pierre Joye [Fri, 16 Sep 2011 10:45:04 +0000 (10:45 +0000)]
- add -win32 versions and skipif

13 years agoFixed bug #55644 (Math ops tests fail, diff min int value)
Dmitry Stogov [Fri, 16 Sep 2011 07:59:34 +0000 (07:59 +0000)]
Fixed bug #55644 (Math ops tests fail, diff min int value)

13 years agoFixed Windows build
Dmitry Stogov [Fri, 16 Sep 2011 06:55:43 +0000 (06:55 +0000)]
Fixed Windows build

13 years agoFix skipif for non zlib builds re message http://lxr.php.net/opengrok/xref/PHP_TRUNK...
Christopher Jones [Thu, 15 Sep 2011 17:23:29 +0000 (17:23 +0000)]
Fix skipif for non zlib builds re message http://lxr.php.net/opengrok/xref/PHP_TRUNK/ext/phar/phar_object.c#351

13 years agoUpdate libmagic.patch (patch reversed base on -r296679)
Xinchen Hui [Thu, 15 Sep 2011 15:53:49 +0000 (15:53 +0000)]
Update libmagic.patch (patch reversed base on -r296679)

13 years agoFix folding
Etienne Kneuss [Thu, 15 Sep 2011 14:50:38 +0000 (14:50 +0000)]
Fix folding

13 years agoFixed bug #50982 (incorrect assumption of PAGE_SIZE size)
Dmitry Stogov [Thu, 15 Sep 2011 11:30:17 +0000 (11:30 +0000)]
Fixed bug #50982 (incorrect assumption of PAGE_SIZE size)

13 years ago- force LF
Pierre Joye [Thu, 15 Sep 2011 09:15:07 +0000 (09:15 +0000)]
- force LF

13 years agoFix warning "implicit declaration of function `vasprintf'"
Xinchen Hui [Thu, 15 Sep 2011 07:09:43 +0000 (07:09 +0000)]
Fix warning "implicit declaration of function `vasprintf'"
If There is a better fix, plz fixme.

13 years agoForget commit to trunk
Xinchen Hui [Wed, 14 Sep 2011 15:45:02 +0000 (15:45 +0000)]
Forget commit to trunk

13 years agofix default session handler error message
Arpad Ray [Wed, 14 Sep 2011 15:30:30 +0000 (15:30 +0000)]
fix default session handler error message

13 years agoFixed bug #55552 (bad encoding not detected)
Dmitry Stogov [Wed, 14 Sep 2011 15:00:28 +0000 (15:00 +0000)]
Fixed bug #55552 (bad encoding not detected)

13 years agoFixed bug #55578 (Segfault on implode/concat)
Dmitry Stogov [Wed, 14 Sep 2011 13:18:19 +0000 (13:18 +0000)]
Fixed bug #55578 (Segfault on implode/concat)

13 years ago- ext/openssl/tests/bug36732.phpt more portable.
Gustavo André dos Santos Lopes [Wed, 14 Sep 2011 10:55:46 +0000 (10:55 +0000)]
- ext/openssl/tests/bug36732.phpt more portable.

13 years ago- fix text (encoding was broken with the previous commit)
Pierre Joye [Wed, 14 Sep 2011 10:30:31 +0000 (10:30 +0000)]
- fix text (encoding was broken with the previous commit)

13 years ago- Fixed test ext/openssl/tests/004.phpt.
Gustavo André dos Santos Lopes [Wed, 14 Sep 2011 09:56:59 +0000 (09:56 +0000)]
- Fixed test ext/openssl/tests/004.phpt.
- Made ext/openssl/tests/bug55646.phpt more reproducible by giving it a custom
  openssl.cnf.

13 years agoFix tests
Xinchen Hui [Wed, 14 Sep 2011 06:48:26 +0000 (06:48 +0000)]
Fix tests

13 years agoAdd test for bug #55688
Xinchen Hui [Wed, 14 Sep 2011 05:02:50 +0000 (05:02 +0000)]
Add test for bug #55688

13 years agoFix bug #55688 (Crash when calling SessionHandler::gc())
Xinchen Hui [Wed, 14 Sep 2011 04:10:45 +0000 (04:10 +0000)]
Fix bug #55688 (Crash when calling SessionHandler::gc())
Need arpad to review this change

13 years agoFix warning "implicit declaration of function `vasprintf'"
Xinchen Hui [Wed, 14 Sep 2011 02:19:22 +0000 (02:19 +0000)]
Fix warning "implicit declaration of function `vasprintf'"

13 years ago- Fixed memory leak when calling SessionHandler::open() several times
Felipe Pena [Wed, 14 Sep 2011 01:45:57 +0000 (01:45 +0000)]
- Fixed memory leak when calling SessionHandler::open() several times

13 years agofix session oo tests for windows
Arpad Ray [Wed, 14 Sep 2011 01:16:19 +0000 (01:16 +0000)]
fix session oo tests for windows

13 years agofix zts break in r316688
Arpad Ray [Tue, 13 Sep 2011 23:07:08 +0000 (23:07 +0000)]
fix zts break in r316688

13 years agoImplement object-oriented session handlers (https://wiki.php.net/rfc/session-oo)
Arpad Ray [Tue, 13 Sep 2011 22:28:15 +0000 (22:28 +0000)]
Implement object-oriented session handlers (https://wiki.php.net/rfc/session-oo)

13 years agoI don't see why would be this a win only test. it works for me on linux, checked...
Ferenc Kovacs [Tue, 13 Sep 2011 21:06:06 +0000 (21:06 +0000)]
I don't see why would be this a win only test. it works for me on linux, checked the history, find no explanation.

13 years agoSeparate test for %a is no longer needed.
Daniel Convissor [Tue, 13 Sep 2011 20:31:02 +0000 (20:31 +0000)]
Separate test for %a is no longer needed.

13 years agofixing the tests, added the error_log= to the --INI-- so it should also pass for...
Ferenc Kovacs [Tue, 13 Sep 2011 19:56:42 +0000 (19:56 +0000)]
fixing the tests, added the error_log= to the --INI-- so it should also pass for Stas

13 years agoImprove parameter handling cod
Ilia Alshanetsky [Tue, 13 Sep 2011 16:36:29 +0000 (16:36 +0000)]
Improve parameter handling cod

13 years ago- test passes now (and VC6 is not supported anymore)
Pierre Joye [Tue, 13 Sep 2011 16:21:24 +0000 (16:21 +0000)]
- test passes now (and VC6 is not supported anymore)

13 years ago- Fixed compiler warnings (patch by Kalle Sommer Nielsen)
Derick Rethans [Tue, 13 Sep 2011 15:17:11 +0000 (15:17 +0000)]
- Fixed compiler warnings (patch by Kalle Sommer Nielsen)

13 years ago- Removed support for putenv("TZ=..") for setting the timezone.
Derick Rethans [Tue, 13 Sep 2011 14:48:13 +0000 (14:48 +0000)]
- 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.

13 years agoFix build on Windows
Kalle Sommer Nielsen [Tue, 13 Sep 2011 14:35:12 +0000 (14:35 +0000)]
Fix build on Windows

13 years ago- skip on win, runtime TZ via putenv is not supported with ext/date
Pierre Joye [Tue, 13 Sep 2011 13:58:03 +0000 (13:58 +0000)]
- skip on win, runtime TZ via putenv is not supported with ext/date

13 years ago- skip on win, runtime TZ via putenv is not supported with ext/date
Pierre Joye [Tue, 13 Sep 2011 13:51:47 +0000 (13:51 +0000)]
- skip on win, runtime TZ via putenv is not supported with ext/date

13 years ago - TZ auto detection varies, not always UTC
Pierre Joye [Tue, 13 Sep 2011 13:42:03 +0000 (13:42 +0000)]
 - TZ auto detection varies, not always UTC

13 years ago - TZ auto detection varies, not always UTC
Pierre Joye [Tue, 13 Sep 2011 13:39:49 +0000 (13:39 +0000)]
 - TZ auto detection varies, not always UTC

13 years agoFixed ZE specific compile warnings (Bug #55629)
Dmitry Stogov [Tue, 13 Sep 2011 13:30:18 +0000 (13:30 +0000)]
Fixed ZE specific compile warnings (Bug #55629)

13 years agoFixed ZE specific compile warnings (Bug #55629)
Dmitry Stogov [Tue, 13 Sep 2011 13:29:35 +0000 (13:29 +0000)]
Fixed ZE specific compile warnings (Bug #55629)