Commit Graph

21245 Commits

Author SHA1 Message Date
Jani Taskinen
8fd677763a - Fixed bug #42365 (glob() crashes with invalid flags) 2007-08-22 14:58:30 +00:00
Dmitry Stogov
d7c3646eb6 Fixed bug #42183 (classmap cause crashr in non-wsdl mode) 2007-08-22 14:18:28 +00:00
Ilia Alshanetsky
08f9a66c98 Fixed bug #42368 (Incorrect error message displayed by pg_escape_string) 2007-08-21 23:51:34 +00:00
Johannes Schlüter
6eccdf9203 - Fixed Bug #42364 Crash when using getRealPath with DirectoryIterator 2007-08-21 22:43:38 +00:00
Sara Golemon
16b1288ee1 Bagder says I don't need these ifdefs 2007-08-21 21:23:35 +00:00
Sara Golemon
0deb7d03df Add support for CURLPROXY_SOCKS4 2007-08-20 18:56:05 +00:00
Sebastian Bergmann
89c30a380b - MFB: Fugbix typo. 2007-08-20 17:01:59 +00:00
Raghubansh Kumar
1419d23f6a fix test: skip if user is root 2007-08-20 04:08:15 +00:00
Raghubansh Kumar
66fe5012a2 fix tests 2007-08-20 03:40:41 +00:00
Raghubansh Kumar
1aad43dc22 fix test: skip if user is root 2007-08-20 03:14:58 +00:00
Rui Hirokawa
cec32074d7 added negative offset support in mbfl_strrpos (fixed #42085) 2007-08-19 01:57:53 +00:00
Johannes Schlüter
b83198cd2c - Mark the parameter for ReflectionProperty::GetValue as optional
# [DOC] The documentation on this is wrong, too. The parameter is only
# needed for getting the value of an object's property, not for static
# ones. (I'm not sure if it has always been that way...)
2007-08-17 14:21:00 +00:00
Christopher Jones
a3b4762c70 MFH: PDO_OCI: fix Instant Client build broken by logic correction in previous Solaris lib/lib32 fix 2007-08-17 13:33:07 +00:00
Jani Taskinen
8c43fddada - Fixed bug #41904 (proc_open with empty env array) 2007-08-17 10:42:12 +00:00
Greg Beaver
5d8919938d fix issue with large number of open file handles killing php with large phars on creation
- close file handles that have no references for entries
- add just-in-time re-processing of file handles
- make sure file size is set in renaming
- add old_flags to phar_entry_info so we can decompress when flushing a modified entry whose fp is closed
2007-08-17 04:47:50 +00:00
Greg Beaver
a7d7b956f9 fix dump_entry 2007-08-17 04:46:04 +00:00
Greg Beaver
c6fee51126 add dump_entry 2007-08-16 19:56:02 +00:00
Raghubansh Kumar
4669c2d40a fix test 2007-08-16 16:33:16 +00:00
Greg Beaver
d43eaabd1e add docs 2007-08-15 23:37:13 +00:00
Greg Beaver
417b2cfb5e make pharglobals hidden func 2007-08-15 23:35:27 +00:00
Greg Beaver
2211e8e14f add fp and refcount display 2007-08-15 23:34:37 +00:00
Greg Beaver
46db4d3f65 add helper functions for gdb debugging phar reference counting (needs more work, but a good start) 2007-08-15 03:49:44 +00:00
Raghubansh Kumar
ae5dcdccf2 fix tests 2007-08-14 14:10:31 +00:00
Antony Dovgal
da2a302e78 fix lib/lib32 checks to work with broken Solaris shell 2007-08-14 12:14:53 +00:00
Rob Richards
4d17d8c681 fix bug #42259 (SimpleXMLIterator loses ancestry)
add test
2007-08-14 12:09:52 +00:00
Antony Dovgal
d43c8ad4eb make sure the temp file is closed before removing it 2007-08-13 12:46:34 +00:00
Raghubansh Kumar
1514977352 New testcase for clearstatcache() function 2007-08-13 11:50:47 +00:00
Raghubansh Kumar
c0ebb17904 New testcase for parse_ini_file() function 2007-08-13 11:37:11 +00:00
Jani Taskinen
bdd54e7c9b MFB: Fix tests + directory check inside copy() function 2007-08-13 08:14:03 +00:00
Raghubansh Kumar
721e2ab3a7 New testcases for fgetss() function 2007-08-12 06:55:52 +00:00
Raghubansh Kumar
c7d2d62a02 More new testcases for fopen() & fclose() functions 2007-08-12 05:14:13 +00:00
Rui Hirokawa
424d842729 MF PHP_5_2 2007-08-12 02:00:03 +00:00
Antony Dovgal
ceb482dfb1 more fixed tests 2007-08-11 22:42:19 +00:00
Antony Dovgal
44d8314d9c fix tests failing on 64bit 2007-08-11 22:18:33 +00:00
Nuno Lopes
fc86edab7d fix typo in tmp file path 2007-08-11 15:38:34 +00:00
Raghubansh Kumar
30a08a895b New testcases for fscanf() function 2007-08-10 17:56:45 +00:00
Raghubansh Kumar
fb3c7a7250 New testcases for htmlentities() & htmlspecialchars() 2007-08-10 15:08:45 +00:00
Jani Taskinen
a6c2fdb9a5 MFB: sync 2007-08-10 13:28:12 +00:00
Antony Dovgal
ee8851dfda split the test 2007-08-10 13:27:05 +00:00
Antony Dovgal
a254d5c574 empty/invalid names are not allowed (empty prefixes are) 2007-08-10 13:20:22 +00:00
Antony Dovgal
c13e337f27 allow empty prefix (restore 5_2 behavior) 2007-08-10 12:54:38 +00:00
Jani Taskinen
28cf1788a9 MFB: Fixed the fix for bug #42233 and added test for it. 2007-08-10 12:23:16 +00:00
Antony Dovgal
edb216d3dc fix tests 2007-08-10 12:10:19 +00:00
Dmitry Stogov
c9ecd0169a Fixed generation on DH publick key for given private key 2007-08-10 10:43:37 +00:00
Antony Dovgal
25af0b4382 MFB: Fixed bug #42117 (bzip2.compress loses data in internal buffer) 2007-08-10 09:00:42 +00:00
Antony Dovgal
edd76024a3 MFB: Fixed bug #42243 (copy() does not ouput an error when the first arg is a dir) 2007-08-10 08:58:12 +00:00
Antony Dovgal
a6c19f6ede MFB: Fixed bug #42261 (header wrong for date field) 2007-08-10 08:56:23 +00:00
Christopher Jones
c581da4b56 oci8: merge changes to build with Oracle Database 11g 2007-08-10 06:58:12 +00:00
Christopher Jones
eda449eeac pdo_oci: merge changes to build with Oracle Database 11g 2007-08-10 06:57:41 +00:00
Raghubansh Kumar
96fc4edc59 more new testcases for tempnam() function 2007-08-10 03:33:00 +00:00
Raghubansh Kumar
b71984f4bc New testcases for strtolower() and strtoupper() functions 2007-08-10 03:05:00 +00:00
Raghubansh Kumar
752ead40e2 More new testcases for copy() function 2007-08-10 02:58:50 +00:00
Johannes Schlüter
951ad867b6 - Write to the correct file... 2007-08-09 22:24:41 +00:00
Mattias Bengtsson
94bf93f531 -MFB: libgd #101, imagecreatefromgd can crash if gdImageCreate fails 2007-08-09 14:22:38 +00:00
Mattias Bengtsson
3b8fc04079 -MFB: libgd #94, imagecreatefromxbm can crash if gdImageCreate fails 2007-08-09 12:09:30 +00:00
Ulf Wendel
fb4967900d Same as for ext/mysqli tests: addition of a new environment variable
MYSQL_TEST_SKIP_CONNECT_FAILURE  which controls how to deal with connection
problems. If MYSQL_TEST_SKIP_CONNECT_FAILURE = false (default) connection
problems will make a test fail. If you set MYSQL_TEST_SKIP_CONNECT_FAILURE
to any value that evaluates to true in PHP, a test which cannot connect to
the database will be skipped.
2007-08-09 11:53:17 +00:00
Ulf Wendel
a166bd39ac I forgot those files when merging mysqlnd SVN and HEAD. Only required by
tests that test experimental features and are skipped by default that's why
I missed them.
2007-08-09 10:16:24 +00:00
Ulf Wendel
af91a4056a No need for an extra skip*.inc file, this check is done in just one place 2007-08-09 10:10:46 +00:00
Ulf Wendel
5846d6b84b More changes related to MYSQL_TEST_SKIP_CONNECT_FAILURE. 2007-08-09 10:01:20 +00:00
Ulf Wendel
112b742518 New tests (stubs?) for a few experimental (to be removed?) functions.
The tests will only be run if you set MYSQL_TEST_EXPERIMENTAL = 1.
2007-08-09 09:59:15 +00:00
Ulf Wendel
974935e6b8 Next set of files which now feature the new environment variable
MYSQL_TEST_SKIP_CONNECT_FAILURE which controls how connection problems
are handled: failure (MYSQL_TEST_SKIP_CONNECT_FAILURE = false, default)
or skip (MYSQL_TEST_SKIP_CONNECT_FAILURE = true)

Also, some minor tweaking of connection parameters in the tests.
2007-08-09 09:43:28 +00:00
Jani Taskinen
8b3c737889 - Fixed bug #42247 (ldap_parse_result() not defined under win32) 2007-08-09 08:42:31 +00:00
Ulf Wendel
1855a57471 Introducing new environment variable:
MYSQL_TEST_SKIP_CONNECT_FAILURE = false

Every test that needs a working MySQL connection now includes
skipifconnectfailure.inc. If MYSQL_TEST_SKIP_CONNECT_FAILURE evaluates
to true skipifconnectfailure.inc tries to establish a database
connection. If no connection can be opened, the test will be skipped.
In case of MYSQL_TEST_SKIP_CONNECT_FAILURE = false (default) an no
connection, a test who cannot establish a connection will fail.

So, if you have a buggy configuration or a server that is sometimes
not available, you can now decide if you want the tests to ignore this
and skip the test or to fail (MYSQL_TEST_CONNECT_FAILURE = false, default).

Other, minor tweaks:
  042.phpt - whitespace
  067.phpt - parse error in SKIPIF section fixed
2007-08-09 08:41:12 +00:00
Raghubansh Kumar
6cb89102e7 New testcases for tempnam() function 2007-08-09 03:35:22 +00:00
Johannes Schlüter
ab79c3dea9 - Fix build (patch by Ulf Wendel) 2007-08-08 14:52:40 +00:00
Raghubansh Kumar
8d87a8cf70 New testcases for fgetcsv() function 2007-08-08 13:15:01 +00:00
Raghubansh Kumar
34a7853c49 More testcases for fputcsv() function 2007-08-08 13:09:42 +00:00
Nuno Lopes
59f172e1e6 MFB: fix bug #41973 2007-08-08 11:38:32 +00:00
Jani Taskinen
f602af17b4 MFB: Fix bug #42233 2007-08-08 07:46:00 +00:00
Pierre Joye
6f7b46afbd - MFB: fix regressio introduced by #42222 2007-08-08 06:30:56 +00:00
Raghubansh Kumar
e2d9b55057 New testcases for fputcsv() function 2007-08-08 03:55:05 +00:00
Hannes Magnusson
330797ea73 - Fix isset/empty($ZipArchive->property)
- Add test
2007-08-06 21:59:11 +00:00
Christopher Jones
bf94c89a8c flush persistent connection after password change 2007-08-06 20:31:40 +00:00
Pierre Joye
ac3a73972a - MFB: #42222, forgot this one (thanks mattias) 2007-08-06 19:50:16 +00:00
Pierre Joye
0f55627dee - MFB: #42222, truncate the _default to the buffer size (was 200 since day #1, we don't need dynamic alloc here) 2007-08-06 19:13:05 +00:00
Jani Taskinen
f3c9b3ec86 Touch generated file 2007-08-06 18:30:53 +00:00
Jani Taskinen
117ea0d3d1 ws fix 2007-08-06 18:25:41 +00:00
Jani Taskinen
6646603725 MFB: fix compile warning (+ some ws fixes) 2007-08-06 18:20:30 +00:00
Rob Richards
ebd85732fa fix bug #42082 (NodeList length zero should be empty). (Hannes)
add and update tests
2007-08-06 16:21:45 +00:00
Andrey Hristov
de29322de4 Fix crashes with pconn in ext/mysql 2007-08-06 15:11:46 +00:00
Dmitry Stogov
a433f85ce1 Improved ext/openssl
. Added support for OpenSSL digest functions
  . Added support for OpenSSL cipher functions
  . Added access to internal values of DSA, RSA and DH keys
2007-08-06 08:43:43 +00:00
Jani Taskinen
def23a6e7d MFB: Test for bug #42208. Fix is not needed in HEAD, zend_parse_parameters is used here 2007-08-05 19:54:42 +00:00
Jani Taskinen
5735862a92 MFB (since Ilia is too lazy..): Fix bug #42135 2007-08-05 13:10:32 +00:00
Sara Golemon
6a0d08ae26 Bugfix#36492 Userfilters can leak buckets 2007-08-04 07:51:15 +00:00
Andrey Hristov
7186530157 Update CVS
- Fix BIT problem for BIT values represented with 5 bytes. Typo.
- Make it possible with an ini variable to switch off/on statistics
  collection.
- Compile-out debug checking of uneaten data from the line, when the
  build is release. According to callgrind this was eating some percentage.
2007-08-03 16:32:27 +00:00
Christopher Jones
6f58b504ad MFB: New oci8 test for oci_password_change() 2007-08-03 01:55:34 +00:00
Stanislav Malyshev
d4cc7daba2 MF5: fix for access control with .htaccess 2007-08-03 01:40:05 +00:00
Christopher Jones
88edc2cf95 Treat privileged oci_pconnect() as non-persistent 2007-08-02 22:49:58 +00:00
Christopher Jones
0f8ab9db14 Fix message grammar and capitalization 2007-08-02 19:37:30 +00:00
Christopher Jones
95461653da Bug #42173 (INTERVAL and TIMESTAMP type fixes) 2007-08-02 19:04:21 +00:00
Stanislav Malyshev
8db866bd55 fix win32 build 2007-08-02 00:04:05 +00:00
Christopher Jones
d9f25a2924 New test for error handling 2007-08-01 15:18:25 +00:00
Antony Dovgal
467b4569df an attempt to fix win32 build 2007-08-01 11:43:27 +00:00
Dmitry Stogov
5430582586 Fixed bug #42151 (__destruct functions not called after catching a SoapFault exception) 2007-08-01 10:39:49 +00:00
Johannes Schlüter
b5c28aef4e - Use a script to generate tokenizer data from zend_language_parser.h 2007-07-31 23:23:37 +00:00
Antony Dovgal
a2eef01a45 add test (thanks Chris!) 2007-07-31 21:11:22 +00:00
Antony Dovgal
c26725cc1a missing part of the fix for bug #42134 2007-07-31 21:08:38 +00:00
Antony Dovgal
ac1452b21f fix #42134 (oci_error() returns false after oci_new_collection() fails) 2007-07-31 19:19:39 +00:00
Rob Richards
6d0247ed7c fix bug #41833 (addChild() on a non-existent node, no node created, getName() segfaults) 2007-07-31 15:39:59 +00:00
Rob Richards
142356ba19 fix possible crash 2007-07-31 15:07:15 +00:00