Commit Graph

25809 Commits

Author SHA1 Message Date
Ilia Alshanetsky
0ff589c12d Bug #49391 ldap.c utilizing deprecated ldap_modify_s 2009-08-30 15:33:59 +00:00
Zoe Slattery
b08aef70ab More tests from 2009 testfest 2009-08-30 12:19:50 +00:00
Zoe Slattery
53d2bbddfc bc math tests from testfest 2009 2009-08-30 11:10:20 +00:00
Zoe Slattery
acbc3d54f8 server for ftp tests 2009-08-30 09:31:54 +00:00
Zoe Slattery
d4ba889aa4 More tests from 2009 testfest 2009-08-30 09:30:13 +00:00
Zoe Slattery
0ee945e727 Fixed to allow for http etc 2009-08-30 08:18:53 +00:00
Antony Dovgal
3a080e82f5 fix tests 2009-08-29 19:18:27 +00:00
andy wharmby
83b40961b7 New basic network function tests. Tested on Windows, Linux and Linux 64 bit 2009-08-28 22:46:43 +00:00
Zoe Slattery
157453148a More tests from 2009 testfest 2009-08-28 14:31:19 +00:00
Andrey Hristov
e8412fb61c Fix for bug#48745
mysqlnd: mysql_num_fields returns wrong column count for mysql_list_fields
2009-08-28 09:30:16 +00:00
Pierre Joye
5c7b133648 - fix VC6 build 2009-08-27 14:45:41 +00:00
Andrey Hristov
149914f644 Fixed bug #49027 (mysqli_options() doesn't work when using mysqlnd) 2009-08-27 13:16:39 +00:00
Andrey Hristov
2e92372322 Fix for bug#46614 Extended MySQLi class gives incorrect empty() result 2009-08-27 12:41:14 +00:00
andy wharmby
1d28a09b24 Fix tests. Add missing SKIPIF sections so test do not run when POSIX extension not available. 2009-08-27 12:21:19 +00:00
Patrick Allaert
552d8f4836 Added: Tidy basic test for getConfig() 2009-08-27 08:50:07 +00:00
Patrick Allaert
e9201af574 Added: Tidy test with invalid configuration options 2009-08-27 08:49:24 +00:00
Rasmus Lerdorf
0ca2db41a9 This needs to be larger to avoid an overflow on the bit-shifting in this function 2009-08-27 05:05:42 +00:00
Pierre Joye
24d9cfb97d - fix #49372, segfault in php_curl_option_url 2009-08-26 22:24:10 +00:00
Zoe Slattery
7effcd5f6c Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Pierre Joye
1a372313ca - fix test and use __DIR__ as usual 2009-08-26 16:07:05 +00:00
Pierre Joye
3a5edf568e - add win32 version 2009-08-26 14:09:45 +00:00
Dmitry Stogov
d0afbfb509 Fixed bug #47273 (Encoding bug in SoapServer->fault) 2009-08-26 14:05:48 +00:00
Pierre Joye
cf4841cd5b - fix test 2009-08-26 09:59:20 +00:00
Pierre Joye
acbdbf2d49 Improved readlink, supress \??\ and use the drive syntax only 2009-08-25 23:51:04 +00:00
Andrey Hristov
ad310d21ee Baby, one more time :( 2009-08-25 14:31:29 +00:00
Andrey Hristov
ac71943174 Better fix. A fix of the fix 2009-08-25 14:30:37 +00:00
Andrey Hristov
eb02cd4450 Fix bug#48198 error: 'MYSQLND_LLU_SPEC' undeclared
Possibly fix also :
Bug #48780  	mysqlnd compile failure
Bug #46952  	mysqlnd compile failure with suncc
2009-08-25 14:14:23 +00:00
Pierre Joye
94d8307363 - fix #49047, touch may fail on directory 2009-08-25 09:16:53 +00:00
Pierre Joye
90498da2fb - fix test when part of the path is a symlink 2009-08-25 00:22:11 +00:00
Pierre Joye
a7450bfc74 - fix test 2009-08-25 00:14:23 +00:00
Pierre Joye
c8e9b49c4f - fix test 2009-08-24 19:19:43 +00:00
Pierre Joye
390c8204c4 - fix test 2009-08-24 18:45:45 +00:00
Pierre Joye
8747c631fc - fix test 2009-08-24 18:43:21 +00:00
Ilia Alshanetsky
45700b1c69 Don't clober variables 2009-08-24 18:40:13 +00:00
Rafael Machado Dohms
0410d21364 Adding tests for imagecolorallocatealpha 2009-08-24 02:50:19 +00:00
Mikko Koppanen
fbe33a1448 Fixes a memory leak in ssl streams. The context was not properly freed 2009-08-22 02:31:23 +00:00
Antony Dovgal
855a458b06 fix build broken by the fix for bug #49306 2009-08-21 07:46:43 +00:00
Jani Taskinen
f3f8bd086e - Fixed bug #49286 (php://input (php_stream_input_read) is broken) 2009-08-20 12:40:15 +00:00
Jani Taskinen
fd9a1fa1b3 - Merge missing commit by Ilia from PHP_5_3: Make filters without a resource throw E_RECOVERABLE_ERROR rather then E_ERROR 2009-08-20 12:19:49 +00:00
Jani Taskinen
f6dcba571e - WS + CS + sync 2009-08-20 12:17:32 +00:00
Ilia Alshanetsky
e0349c5cb5 Fixed bug #49306 (inside pdo_mysql default socket settings are ignored). 2009-08-20 12:13:38 +00:00
Jani Taskinen
dac527bfde - Fixed bug #49289 (bcmath module does not compile with phpize configure). 2009-08-20 11:19:20 +00:00
andy wharmby
b59f4b245c New basic test for md5(). Tested on Windows, Linux and Linux 64 bit 2009-08-19 08:39:33 +00:00
Ilia Alshanetsky
73adf7a25a NULL the value after free 2009-08-18 12:44:32 +00:00
Stanislav Malyshev
ae69e05ad3 cleanup parameter parsing 2009-08-18 00:41:43 +00:00
andy wharmby
0855be02d7 New str_replace() tests. All tested on Windows, Linux and Linux 64 2009-08-17 22:41:30 +00:00
Stanislav Malyshev
60cbce382b fix parameter parsing for SNMP 2009-08-17 22:15:18 +00:00
Garrett Serack
e721b2461c - Fix for bug #49223 Inconsistency using get_defined_constants(true) 2009-08-17 21:28:22 +00:00
Dmitry Stogov
5fea6def76 Fixed bug #49144 (import of schema from different host transmits original authentication details) 2009-08-17 18:23:48 +00:00
Jani Taskinen
b96d6075f6 - Fixed bug #49236 (Missing PHP_SUBST(PDO_MYSQL_SHARED_LIBADD)). 2009-08-17 17:57:40 +00:00
Derick Rethans
2d466648de - Updated to version 2009.12 (2009l) 2009-08-17 14:46:58 +00:00
andy wharmby
aea600260b New basic tests for uniqid(). Tested on Windows, Linux and Linux 64 bit 2009-08-17 14:22:02 +00:00
andy wharmby
db6a41487d New basic string tests - includes back-porting a few existing tests back to 5.2. All tested on Windows, Linux and Linux 64 2009-08-17 10:37:30 +00:00
Ilia Alshanetsky
62448f6687 MFB: Added missing sanity checks around exif processing. 2009-08-16 14:32:32 +00:00
Felipe Pena
044a5f90b6 - Fix ZTS build && removed unused vars 2009-08-15 16:05:06 +00:00
Felipe Pena
620fc39fca - Add check 2009-08-15 14:46:34 +00:00
Stanislav Malyshev
721b51d2df cleanup string parameter parsing, fix some tests 2009-08-15 05:43:18 +00:00
Felipe Pena
e413825019 - Improved param. parsing for ldap_read(), ldap_search() and ldap_list() 2009-08-15 00:52:31 +00:00
Dmitry Stogov
7511c183ff Fixed crash in usort() and uasort() in case user comparison function modifyes th
e array.
2009-08-14 06:21:49 +00:00
Etienne Kneuss
642251da3c Fix several recursion problems when var_dump'ing self-referencing objects 2009-08-13 22:07:05 +00:00
Christopher Jones
0645f93622 refactor & WS for local test config change 2009-08-12 14:54:16 +00:00
Ilia Alshanetsky
e5f121ef92 Fixed compiler warning 2009-08-12 12:47:19 +00:00
Scott MacVicar
ed5b573242 Fix build on platforms where crypt isn't always available 2009-08-12 09:18:41 +00:00
Scott MacVicar
62a07e7f2e Fix BC break in mime_content_type() 2009-08-11 23:05:13 +00:00
Stanislav Malyshev
f9af0d4c3b fix potential memory issue on serialization
# When internal class uses zend_mangle_property_name it's malloc()
# so it should be freed with free()
2009-08-11 22:46:07 +00:00
Scott MacVicar
4f76b44d83 Update libsqlite to 3.6.17. 2009-08-11 22:22:21 +00:00
Scott MacVicar
f69e06937d We should check /usr/local/include last 2009-08-11 21:40:15 +00:00
Pierre Joye
5d7c5eaee2 - destroy the file entry stream first 2009-08-11 17:19:35 +00:00
Pierre Joye
841e4d15f8 - fixed bug #49072, feof never returns true for damaged file in zip 2009-08-11 15:12:00 +00:00
Pierre Joye
5dfda903ad -skip if not 5.3 2009-08-11 13:09:11 +00:00
Scott MacVicar
2192f61a43 Search /usr/include too for those wanting to use a system PCRE. 2009-08-11 12:03:29 +00:00
Kalle Sommer Nielsen
d6242c96fe Don't build sqlite as threadsafe if we are doing an NTS build 2009-08-10 16:58:53 +00:00
Pierre Joye
064d0ff3c0 - fix and improve dns' AAAA support on windows 2009-08-10 08:05:11 +00:00
Rasmus Lerdorf
a564ce3717 Tweak a few tests that failed on OSX 2009-08-10 06:53:49 +00:00
Rasmus Lerdorf
8c4e702f3c Make these socket tests less Linux-specific 2009-08-09 14:50:51 +00:00
Rasmus Lerdorf
3b3f13eb61 The system error here may not be "Filename too long". On OSX, for example,
it is "Invalid ioctl" in this case.
2009-08-09 14:20:54 +00:00
Ilia Alshanetsky
d24d6a449e MFB: Fixed bug #49193 (gdJpegGetVersionString() inside gd_compact identifies wrong type in declaration) 2009-08-09 13:16:21 +00:00
Rasmus Lerdorf
d80dac8aae Skip this test on osx because ceil(-0.5) doesn't return -0 like
everywhere else because of weird optimizations.
2009-08-09 05:16:17 +00:00
Rasmus Lerdorf
2be0578481 Doing a strnatcasecmp(chr(128),chr(255)) is completely non-sensical.
Logically one might think that chr(128) would collate before chr(255) except
this is a case-insensitive comparison and internally we toupper() both args.
toupper(chr(128)) is 128.  There is no upper-case equivalent of this char.
toupper(chr(255)) is 120 so chr(255) collates before chr(128) in this
case-insensitive comparison.  And these are rather bogus characters to feed
to a natsort test anyway.
2009-08-08 14:48:47 +00:00
Rasmus Lerdorf
cb734537f4 Restore intra-string whitespace collapsing broken in the previous change. 2009-08-08 14:39:34 +00:00
Pierre Joye
08dfcbc864 - [DOC] Fixed #49183 patch for VC6, NAPTR is only available in VC9+ build 2009-08-08 13:01:13 +00:00
Rasmus Lerdorf
238a8a2ebd Oops, true/false are not defined on Linux. They are on OSX. 2009-08-07 17:32:31 +00:00
Rasmus Lerdorf
88849ce511 Only skip leading 0's - fixes a test I broke a while ago 2009-08-07 17:14:19 +00:00
Jani Taskinen
dd7b767d7f - Fixed bug #48660 (parse_ini_*(): dollar sign as last character of value fails) 2009-08-07 14:21:38 +00:00
Pierre Joye
6625a196ff - Fixed #49183, dns_get_record does not return NAPTR records 2009-08-07 13:31:09 +00:00
Jani Taskinen
bf4bead40c - Fix test 2009-08-06 13:54:21 +00:00
Rasmus Lerdorf
8ed29f8d09 Fix more tests messed up by svn 2009-08-06 13:26:43 +00:00
Rasmus Lerdorf
5d1dc61dfb Fix test 2009-08-06 13:08:13 +00:00
Ilia Alshanetsky
08dda5a9f3 Make test more generic 2009-08-06 12:23:35 +00:00
Jani Taskinen
fa33079a14 - Fix CS and remove extra strlen() call 2009-08-06 11:11:15 +00:00
Rasmus Lerdorf
c9f5c32491 The user argument cannot be NULL here - fixes 2 tests 2009-08-06 10:56:00 +00:00
Scott MacVicar
da8bbc0ad0 Deal with moving to res_nsearch(). dns_search() on OSX lacks an error handler, might revert to using straight bind9. 2009-08-06 04:37:07 +00:00
Scott MacVicar
afcc47ef85 Fix bug #48575 - Use dlopen() just like all the other *nixes instead of OSX specific code. 2009-08-06 01:33:54 +00:00
Scott MacVicar
118b42f142 Remove usage of res_nmkquery and res_nsend. We essentially were just doing a res_search() anyway, though now we use res_nsearch() with our own state.
This also adds support for using the high level <dns.h> API on OSX which in turns allows use of bind9 (finally).
2009-08-06 00:10:46 +00:00
Scott MacVicar
80d7dee7d6 Change dns.h to php_dns.h, part of my dns cleanup 2009-08-05 23:20:17 +00:00
andy wharmby
f2c4140cfe Basic test for is_resource() and isset() functions. tested on Windows, Linux and Linux 64 2009-08-05 16:10:46 +00:00
Greg Beaver
36eb82e6ae use x.y.z version number, use a #define for version number 2009-08-05 15:58:50 +00:00
andy wharmby
1b4a8d1c62 Add new use-case to parse_str() test. Tested on Windows, Linux and Linux 64 2009-08-05 08:54:27 +00:00
Kalle Sommer Nielsen
70e338e285 Fix compiler warnings in ext/date 2009-08-04 21:11:35 +00:00
Jani Taskinen
90f148ab99 Merge from PHP_5_3 2009-08-04 14:51:29 +00:00
Ilia Alshanetsky
116abdde65 Added missing handling for ICO support 2009-08-04 14:34:44 +00:00
Jani Taskinen
8ecec408f8 - Add test (yes, it fails still :) 2009-08-04 12:16:40 +00:00
Jani Taskinen
106f29f805 - Fixed bug #48608 (Invalid libreadline version not detected during configure) 2009-08-04 11:20:49 +00:00
Kalle Sommer Nielsen
68bdcd2b59 Revert and correct previous fix, this does not loose precision and convert back to int 2009-08-04 11:19:07 +00:00
Antony Dovgal
6b8f06b921 cosmetic fix 2009-08-04 09:27:15 +00:00
Antony Dovgal
9618b85b65 fix memleak and possible segfault in HTTP fopen wrapper 2009-08-04 09:24:48 +00:00
Jani Taskinen
f487836c1a - Fixed bug #48768 (parse_ini_*() crash with INI_SCANNER_RAW) 2009-08-04 02:56:26 +00:00
Jani Taskinen
c3cd6d45c9 - Fix title 2009-08-04 02:55:24 +00:00
Jani Taskinen
633e5d4a05 -fix test 2009-08-04 02:54:10 +00:00
Jani Taskinen
cdf04b13a9 - Fixed bug #49056 (parse_ini_file() regression in 5.3.0 when using non-ASCII strings as option keys) 2009-08-04 02:34:04 +00:00
Jani Taskinen
3ce6066df8 - fix test 2009-08-04 02:24:47 +00:00
Jani Taskinen
ef19ca2e51 - Fix test 2009-08-04 02:17:33 +00:00
andy wharmby
f868c5d10b New basic tests for get_defined_constants(), get_loaded_extensions() and get_resource_type() functions. Tested on Windows, Linux and Linux 64 bit 2009-08-03 23:12:43 +00:00
andy wharmby
cccb4e446e Add missing SKIPIF sections to tests 2009-08-03 22:40:58 +00:00
Felipe Pena
f44f3a31cd - Fixed bug #49095 (proc_get_status['exitcode'] fails on win32) 2009-08-03 19:05:56 +00:00
Jani Taskinen
3df44e26b1 - Cleanup 2009-08-03 18:09:19 +00:00
Jani Taskinen
bad4f893f7 - Fix output compression 2009-08-03 18:08:46 +00:00
Felipe Pena
69dc1f80fd - CS 2009-08-03 15:58:18 +00:00
Felipe Pena
f59b07f3ad - Improved. No ugly copy. (Tony) 2009-08-03 13:26:15 +00:00
Felipe Pena
354e1e0ff4 - Re-fix stream_is_local() memory leaks 2009-08-03 13:16:24 +00:00
Jani Taskinen
856b6eef78 - Fixed bug #48400 (imap crashes when closing stream opened with OP_PROTOTYPE flag) 2009-08-03 13:02:53 +00:00
Jani Taskinen
cc77639000 - Fixed bBug #48873 (Using both --with-libedit and --with-readline cause unknown option warning)
# This isn't worth of NEWS entry, it's just cosmetic
2009-08-03 11:21:44 +00:00
Jani Taskinen
246e9f105d - These tests fail if mbstring is enabled, not because of bad libc.. 2009-08-03 10:23:23 +00:00
Antony Dovgal
eb219d11cb revert bogus memleak fix causing Valgrind to scream 2009-08-03 08:45:28 +00:00
Rasmus Lerdorf
e949665bc9 Fix broken json tests in all branches 2009-08-03 04:01:57 +00:00
Rasmus Lerdorf
7f607e0017 Missed a merge 2009-08-02 23:12:04 +00:00
Etienne Kneuss
f52cd698a2 Addref on clone as well 2009-08-02 21:21:46 +00:00
Antony Dovgal
86af167ce1 fix test 2009-08-02 20:49:20 +00:00
Jani Taskinen
d8852cfabe - More and more missing svn:ignore entries. 2009-08-02 01:48:27 +00:00
Jani Taskinen
65db89ffbe - Fixed bug #49122 (undefined reference to mysqlnd_stmt_next_result on compile with --with-mysqli and MySQL 6.0) 2009-08-02 01:07:38 +00:00
Felipe Pena
f08443b5f5 - Fixed paths 2009-08-01 23:26:02 +00:00
Felipe Pena
1838e818cb - Fixed bug #49125 (Error in dba_exists C code)
patch by: jdornan at stanford dot edu
2009-08-01 23:10:11 +00:00
Felipe Pena
d47dc13042 - Fixed ReflectionClass::getStaticProperties() to do not return the private properties from parent class;
behavior already adopted in ReflectionClass::getDefaultProperties() and ReflectionClass::getProperties().
2009-08-01 20:44:00 +00:00
Felipe Pena
c5e6fb4712 - Fixed bug #49132 (posix_times returns false without error)
patch by: phpbugs at gunnu dot us
2009-08-01 18:22:31 +00:00
Felipe Pena
53debf4a9f - Fixed tests 2009-08-01 15:46:50 +00:00
Kalle Sommer Nielsen
fef66b3c2d Kill compiler warnings 2009-08-01 14:45:42 +00:00
Jani Taskinen
dbeb08f357 - Fixed bug #43510 (stream_get_meta_data() does not return same mode as used in fopen) 2009-08-01 03:17:31 +00:00
Jani Taskinen
dd2876c396 - Fixed bug #49092 (ReflectionFunction fails to work with functions in fully qualified namespaces) 2009-08-01 01:45:22 +00:00
Jani Taskinen
a8470d2500 - Added test for bug #49074 2009-08-01 01:01:43 +00:00
Jani Taskinen
3088494349 - Fixed bug #49074 (private class static fields can be modified by using reflection) 2009-08-01 00:48:04 +00:00
Felipe Pena
148f4dc105 - Fixed bug #49108 (2nd scan_dir produces seg fault) 2009-07-30 12:06:40 +00:00
Jani Taskinen
c5584b5f68 - Fixed compile failure with older openssl libs (< 0.9.8), fixes bug #49012 2009-07-30 11:32:08 +00:00
Jani Taskinen
0e6ed79e7e - Fix test 2009-07-30 10:53:04 +00:00
Kalle Sommer Nielsen
4bd13ad92a Test case for bug #42434 2009-07-30 03:54:27 +00:00
Felipe Pena
bdf5fbc0d5 - Fixed memleak in stream_is_local() 2009-07-29 19:09:17 +00:00
Felipe Pena
f15d7f8b38 - Fixed memleak on SplFileInfo::getLinkTarget() 2009-07-29 17:31:25 +00:00
Greg Beaver
9275caf719 oops, released as beta instead of stable, Gwynne: svn rm tags/RELEASE_2_0_0 fails, perhaps this can be allowed? 2009-07-29 16:29:30 +00:00
Felipe Pena
9dd9f9f9d2 - Fixed memleak on Phar::mungServer() 2009-07-29 16:17:57 +00:00
Derick Rethans
2628e5e4db - Fixed headers...
#- It makes sense to change the .re files instead of just the generated .c
#  files...
2009-07-29 15:41:21 +00:00
Derick Rethans
923a5de072 - Fixed bug #45554 (Inconsistent behavior of the u format char). 2009-07-29 15:34:59 +00:00