summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | Merge branch 'PHP-5.5' into PHP-5.6Keyur Govande2014-10-072-2/+60
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Add to NEWS Fix for bug #68087 (ODBC not reading DATE columns correctly)
| * | | | | | | | Fix for bug #68087 (ODBC not reading DATE columns correctly)Keyur Govande2014-10-072-2/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Temporary variable indicating column field type ID should be reset to default for loop iteration (i.e. every column in the record set. The old buggy code made it persist across all columns leading to invalid reads from the buffer, if for example a DATE column was preceded by a VARCHAR column.
* | | | | | | | | Merge branch 'PHP-5.5' into PHP-5.6Keyur Govande2014-10-071-1/+6
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | / / / / / | |_|_|/ / / / / |/| | | | | | | | | | | | | | | * PHP-5.5: Add to NEWS Fix for bug #68114 (Build fails on OS X due to undefined symbols)
| * | | | | | | Fix for bug #68114 (Build fails on OS X due to undefined symbols)Keyur Govande2014-10-071-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc (i686-apple-darwin10-gcc-4.2.1) on OS X cannot link fixed-width decimals and fails with undefined symbols errors like ___extendsddf. If configure used gcc for compiling it would notice and mark the feature HAVE_DECIMAL_FP_SUPPORT as unsupported. But configure seems to use cc (i686-apple-darwin10-llvm-gcc-4.2) instead, which doesn't support fixed-width decimals either, but the code compiles and links just fine. I suspect it may have something to do with the llvm backend printed in the version. Lacking the time to debug this further, the patch fixes the issue by checking the expected output when fixed-width decimal support is present and correctly implemented.
* | | | | | | | Merge branch 'PHP-5.5' into PHP-5.6Johannes Schlüter2014-10-041-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Fix accidental edit in previous commitJohannes Schlüter2014-10-041-1/+1
| | | | | | | |
* | | | | | | | Merge branch 'PHP-5.5' into PHP-5.6Johannes Schlüter2014-10-041-2/+2
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Fix arginfoJohannes Schlüter2014-10-041-2/+2
| | | | | | | |
* | | | | | | | Merge branch 'PHP-5.5' into PHP-5.6Derick Rethans2014-10-045-63/+76
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Merge branch 'PHP-5.4' into PHP-5.5Derick Rethans2014-10-045-63/+76
| |\ \ \ \ \ \ \
| | * | | | | | | DateTimeZone::getOffset() now accepts a DateTimeInterfaceFlorian MARGAINE2014-10-045-63/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #68062
* | | | | | | | | only no_NO.ISO-8859-1 have to be ignoredRemi Collet2014-10-011-2/+2
| | | | | | | | |
* | | | | | | | | remove bogus locale use from testkrakjoe2014-10-011-2/+5
| | | | | | | | |
* | | | | | | | | Merge branch 'PHP-5.5' into PHP-5.6Remi Collet2014-10-011-2/+2
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: use $PHP_LIBDIR instread of "lib" in skel example
| * | | | | | | | use $PHP_LIBDIR instread of "lib" in skel exampleRemi Collet2014-10-011-2/+2
| | |_|_|_|/ / / | |/| | | | | |
* | | | | | | | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2014-09-291-2/+2
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: fix test filename
| * | | | | | | fix test filenameAnatol Belski2014-09-291-2/+2
| | | | | | | |
* | | | | | | | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2014-09-291-0/+84
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: one more test to illustrate transfer of an arbitrary data amount throug pipes
| * | | | | | | one more test to illustrate transfer of an arbitrary data amount throug pipesAnatol Belski2014-09-291-0/+84
| | | | | | | |
* | | | | | | | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2014-09-294-8/+23
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: fix tests on linux better test cleanup
| * | | | | | | fix tests on linuxAnatol Belski2014-09-292-2/+10
| | | | | | | |
| * | | | | | | better test cleanupAnatol Belski2014-09-292-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and even force the XFAIL to fail as it would take too long anyway, even if it passes
* | | | | | | | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2014-09-294-0/+299
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Fixed bug #51800 proc_open on Windows hangs forever
| * | | | | | | Fixed bug #51800 proc_open on Windows hangs foreverAnatol Belski2014-09-294-0/+299
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This loop can block for some minutes, theoretically. Practially however, this is a 99% non issue for a normal use case. This is required because read() is synchronous. The PHP streams API wants to fill its internal buffers, therefore it might try to read some more data than user has demanded. Also, for a case where we want to read X bytes, but neither enough data nor EOF arrives, read() will block until it could fill the buffer. If a counterpart station runs slowly or delivers not all the data at once, read() would still be waiting. If we quit too early, we possibly could loose some data from the pipe. Thus it has to emulate the read() behaviour, but obviously not completely, just to some grade. Reading big data amount is for sure an issue on any platforms, it depends on the pipe buffer size, which is controlled by the system. On Windows, the buffer size seems to be way too small, which causes buffer congestion and a dead lock. It is essential to read the pipe descriptors simultaneously and possibly in the same order as the opposite writes them. Thus, this will work with smaller buffer data sizes passed through pipes. As MSDN states, anonymous pipes don't support asynchronous operations. Neither anonymous pipes do support select() as they are not SOCKETs but file descriptors. Consequently - bigger data sizes will need a better solution based on threads. However it is much more expencive. Maybe a better solution could be exporting a part of the internal doing as a userspace function which could perform some kind of lookahead operation on the pipe descriptor. This is just the first stone, depending on the user feedback we might go for further improvements in this area.
* | | | | | | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2014-09-281-2/+21
|\ \ \ \ \ \ \ | |/ / / / / / | | | / / / / | |_|/ / / / |/| | | | | * PHP-5.5: Set an LDAP error code when failing ldap_bind due to null bytes
| * | | | | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2014-09-281-2/+21
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | * PHP-5.4: Set an LDAP error code when failing ldap_bind due to null bytes
| | * | | | Set an LDAP error code when failing ldap_bind due to null bytesMatthew Daley2014-09-281-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some applications check a LDAP link's error code after seeing ldap_bind fail due to a null byte bind attempt and hence incorrectly receive the last set error code. Fix by setting an LDAP error code before returning in this case.
* | | | | | Merge branch 'PHP-5.5' into PHP-5.6Derick Rethans2014-09-261-608/+610
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge branch 'PHP-5.4' into PHP-5.5Derick Rethans2014-09-261-608/+610
| |\ \ \ \ \ | | |/ / / /
| | * | | | - Updated to version 2014.8 (2014h)Derick Rethans2014-09-261-608/+610
| | | | | |
| | * | | | Revert xp_ssl.c to the state of 5.4.32 due to regressionsStanislav Malyshev2014-09-261-61/+0
| | | | | |
* | | | | | Merge branch 'PHP-5.5' into PHP-5.6Remi Collet2014-09-261-5/+20
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: NEWS Fixed bug #68103 Dupplicate entry in Reflection
| * | | | | Fixed bug #68103 Dupplicate entry in ReflectionRemi Collet2014-09-261-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ php -r '$r=new ReflectionExtension("pthreads"); print_r($r->getClassNames());' Array ( [0] => Threaded [1] => stackable [2] => Thread [3] => Worker [4] => Mutex [5] => Cond [6] => Collectable [7] => Pool ) In getClasses() output, it is possible to compare key (ex "stackable") with $obj->name (ex "Threaded") to detect class alias. ... [Threaded] => ReflectionClass Object ( [name] => Threaded ) [stackable] => ReflectionClass Object ( [name] => Threaded ) ...
* | | | | | update the certificate used for the test, as it expired recentlyFerenc Kovacs2014-09-241-21/+21
| | | | | |
* | | | | | Fix bug #68074 Allow to use system cipher list instead of hardcoded valueRemi Collet2014-09-242-3/+12
| |_|_|/ / |/| | | |
* | | | | Merge branch 'PHP-5.5' into PHP-5.6Ard Biesheuvel2014-09-201-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch 'PHP-5.4' into PHP-5.5Ard Biesheuvel2014-09-201-1/+1
| |\ \ \ \ | | |/ / /
| | * | | Fixed bug #66242 (don't assume char is signed)Ard Biesheuvel2014-09-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug in libmagic where a cast to 'char' is assumed to result in sign extension to occur. However, unqualified 'char' is unsigned on architectures such as ARM, so the cast needs to be to 'signed char' explicitly. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
* | | | | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2014-09-191-3/+3
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * PHP-5.5: fix possible array underflow
| * | | | fix possible array underflowAnatol Belski2014-09-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | there are multiple issues with this code - php_stream_read() returns an unsigned val, so is >= 0 - if it read less than sizeof(a) bytes, the function operates on garbage - result->channels is an unsigned val, so >= 0
* | | | | Merge branch 'PHP-5.5' into PHP-5.6Matteo Beccati2014-09-162-30/+4
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * PHP-5.5: Fixed freetype test on multiple environments
| * | | | Merge branch 'PHP-5.4' into PHP-5.5Matteo Beccati2014-09-162-30/+4
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * PHP-5.4: Fixed freetype test on multiple environments
| | * | | Fixed freetype test on multiple environmentsMatteo Beccati2014-09-162-30/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some environments, apparently regardless to the freetype version, output 155, while others 156. I guess we can accept both ;) This reverts commit 592df890276604c790d02be26b1b3c3710b3b888.
* | | | | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2014-09-111-1/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * PHP-5.5: reflect in the test that GSS-Negotiate is deprecated since libcurl 7.38.0
| * | | | reflect in the test that GSS-Negotiate is deprecated since libcurl 7.38.0Anatol Belski2014-09-111-1/+1
| | | | |
* | | | | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2014-09-101-1/+11
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * PHP-5.5: fix precision when fetching float through mysqlnd
| * | | | fix precision when fetching float through mysqlndAnatol Belski2014-09-101-1/+11
| | | | | | | | | | | | | | | | | | | | fixes failing ext/mysqli/tests/010.phpt
* | | | | FR #67990 - Added nowait argument to sem_acquireMatteo Beccati2014-09-103-6/+119
| | | | |
* | | | | Merge branch 'PHP-5.5' into PHP-5.6Daniel Lowrey2014-09-091-12/+14
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Bug #41631: Fix regression from first attempt (6569db8) Bug #67965: Fix blocking behavior in non-blocking crypto streams
| * | | | Merge branch 'PHP-5.4' into PHP-5.5Daniel Lowrey2014-09-091-12/+14
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | * PHP-5.4: Bug #41631: Fix regression from first attempt (6569db8) Bug #67965: Fix blocking behavior in non-blocking crypto streams