Commit Graph

23763 Commits

Author SHA1 Message Date
Jani Taskinen
e2d044db40 - Regenerated 2009-07-26 23:22:27 +00:00
Jani Taskinen
8877a37f3e - Fixed bug #49064 (--enable-session=shared does not work: undefined symbol:
php_url_scanner_reset_vars). (Jani)

# Note: This does not exist in PHP_5_2. Merged there as well to keep these files synced.
2009-07-26 23:20:34 +00:00
Jani Taskinen
ae492897c6 - Removed unused code (replaced long time ago by url_scanner_ex.* 2009-07-26 22:59:46 +00:00
Antony Dovgal
d132b9985d fix test 2009-07-26 19:59:04 +00:00
Antony Dovgal
6d04f1a141 fix test 2009-07-26 19:53:23 +00:00
Antony Dovgal
3af4a22a3c fix test 2009-07-26 19:51:24 +00:00
Antony Dovgal
2fffc2b06c fix test 2009-07-26 19:45:38 +00:00
Ilia Alshanetsky
899cb30275 Fixed bug #49026 (proc_open() can bypass safe_mode_protected_env_vars
restrictions).
2009-07-26 15:14:18 +00:00
Greg Beaver
1d50248937 make cache_list tests pass in php 6 2009-07-26 03:07:23 +00:00
Greg Beaver
e8d80c8bfd fix buildFromIterator with filesystem iterator in php 6 2009-07-26 02:43:14 +00:00
Greg Beaver
96dd763df4 fix generation of phar.phar in php 6, fix remaining tests broken by PHP 6 (and not by spl/other stuff in php6) 2009-07-26 02:18:50 +00:00
Rasmus Lerdorf
a37d7529ba The test for bug #46739 doesn't actually need the remote
responder, so get rid of the skipif in PHP 5, and it was
broken in PHP 6 because the keys in the curl_info array 
were not unicode.  All internally-generated arrays should
have unicode keys.
2009-07-26 02:12:38 +00:00
Greg Beaver
66908185b7 fix basic phar test issues, failing tests phar_oo_009.phpt and phar_buildfromiterator10.phpt are due to bugs in Spl 2009-07-26 01:24:12 +00:00
Greg Beaver
732f4af082 re-organize slightly, fix more php6-only compile warnings in php_stream_copy_to_mem 2009-07-26 01:03:47 +00:00
Greg Beaver
571dfc1e49 fix zip front controller tests for php6 2009-07-26 00:39:40 +00:00
Greg Beaver
39125fdd47 fix tar front controller tests for php6 2009-07-26 00:35:17 +00:00
Greg Beaver
7761a39314 fix more tests for php6 2009-07-26 00:28:50 +00:00
Greg Beaver
cfbd6d852f more php6 fixes for phar, fix more tests 2009-07-25 23:45:45 +00:00
Kalle Sommer Nielsen
310bfadf3c Fixed bug #48189 (ibase_execute error in return param) 2009-07-25 23:37:47 +00:00
Jani Taskinen
bc8155d737 - Fix tests to be more comptatible AND to test what they are supposed to test 2009-07-25 22:20:18 +00:00
Felipe Pena
badd102c83 - Opss, fix the fix... 2009-07-25 21:56:31 +00:00
Felipe Pena
7c30b3c2dc - Fix test 2009-07-25 21:52:33 +00:00
Rasmus Lerdorf
5471bd7f6a Fix dumb typo in the skipif 2009-07-25 21:37:04 +00:00
Jani Taskinen
1f0c710ef2 - Add missing EXPERIMENTAL note (this thing REALLY is experimental at best..) 2009-07-25 20:58:51 +00:00
Jani Taskinen
776cb8a669 - Fixed bug #48637 ("file" wrapper is overwritten when using --with-curlwrappers)
# Also fixes bug #48603, basically same issue.
2009-07-25 20:44:19 +00:00
Felipe Pena
57140f7db0 - Making Valgrind happy 2009-07-25 20:39:01 +00:00
Derick Rethans
ee084018e7 - Updated to version 2009.11 (2009k) 2009-07-25 15:14:28 +00:00
Jani Taskinen
5e22b47d05 - Fix bad environment usage 2009-07-25 14:52:52 +00:00
Jani Taskinen
1ca46f5ddd - Fix test when responder is something like lighttpd 2009-07-25 14:49:17 +00:00
Jani Taskinen
57d04afff0 - Fix test 2009-07-25 14:20:38 +00:00
Jani Taskinen
4f760d11f8 - Fixed bug #49052 (context option headers freed too early when using --with-curlwrappers) 2009-07-25 13:00:25 +00:00
Greg Beaver
7d114c2e7f merge from HEAD changes to test 2009-07-24 23:55:49 +00:00
Greg Beaver
e8756a3c3c begin work on making phar php6-ready 2009-07-24 23:53:24 +00:00
Moriyoshi Koizumi
4390903e75 - MFH (using svn merge; it seems I won't need to repeat the commit message anymore) 2009-07-24 23:48:58 +00:00
Greg Beaver
aa65955c8c update test to work in php 6 2009-07-24 22:09:36 +00:00
Greg Beaver
96740db9ab fix PHAR_ARG_INFO #define to work with PHP major versions > 5 2009-07-24 21:27:51 +00:00
Jani Taskinen
d6091b2521 - Fix test 2009-07-24 19:51:55 +00:00
Greg Beaver
cd23986a7a fix --CLEAN-- of all.phpt, remove unnecessary check in phar_convert_again.phpt, and fix signature generation and checking for zip to also include central directory up to the signature, implement better check for end-of-zip at signature verification 2009-07-24 19:40:41 +00:00
Greg Beaver
d68cc96ebd merge unmerged changes between branches, remove unnecessary test for zip signature failure in badparameters.phpt 2009-07-24 17:07:05 +00:00
Greg Beaver
e1962da708 fix minor memory leak 2009-07-24 16:21:40 +00:00
Greg Beaver
42e0e5dfb7 fix signature generation/validation for zip archives by phar extension, fix a few edge cases where memory was leaked on error conditions by missing efree() 2009-07-24 15:42:17 +00:00
Rafael Machado Dohms
f7873d0aee Adding tests for imagesetthickness, basic and errors for both params, and complementing imagetruecolortopalette with out of bound params 2009-07-24 03:06:05 +00:00
Jani Taskinen
b991dfdb1f - Fixed tests to be more portable 2009-07-23 19:06:56 +00:00
Greg Beaver
115e370d6e fix PHP Bug #48377: error message unclear on converting phar with existing file 2009-07-23 17:04:24 +00:00
Greg Beaver
09b8bbc97f new phar test for zip with data descriptor in local file header 2009-07-23 16:40:47 +00:00
Greg Beaver
1723b16898 fix PHP bug #48791: open office files always reported as corrupted 2009-07-23 16:30:27 +00:00
Jani Taskinen
af0c2c4760 - Fix test 2009-07-23 16:25:07 +00:00
Greg Beaver
01659b8b7c fix php bug #48783: make install will fail saying phar file exists 2009-07-23 15:48:04 +00:00
Greg Beaver
3bf5d05047 fix PHP bug #48740: PHAR install fails when INSTALL_ROOT is not the final install location 2009-07-23 15:40:10 +00:00
Jani Taskinen
6dc86facd0 - Fixed bug #48802 (printf() returns incorrect outputted length) 2009-07-23 14:54:04 +00:00
Jani Taskinen
855034b955 - Fixed bug #49032 (SplFileObject::fscanf() variables passed by reference) 2009-07-23 14:42:46 +00:00
Ilia Alshanetsky
b89985ac55 Fixed bug #49014 (dechunked filter broken when serving more than 8192 bytes in
a chunk)         

# Original patch by andreas dot streichardt at globalpark dot com
2009-07-23 12:18:40 +00:00
Greg Beaver
4744223055 fix Bug #49021: phar tar signature algorithm reports as Unknown (0) in getSignature() call 2009-07-22 20:21:39 +00:00
Greg Beaver
667c59abd6 Fix Bug #49020: phar misinterprets ustar long filename standard 2009-07-22 19:51:37 +00:00
Greg Beaver
fb3adb16fc don't package up subversion directory in phar.phar 2009-07-22 18:37:32 +00:00
Greg Beaver
d967e29541 fix php bug #49018 (phar tar stores long filenames with prefix/name reversed) 2009-07-22 18:13:38 +00:00
Rasmus Lerdorf
7bba051009 Fix bug #49003 by tweaking the fix to bug #44929 slightly.
A 0 followed by any punctuation is now significant instead
of just 0's in front of a period.
2009-07-21 21:15:48 +00:00
Sriram Natarajan
27dccf7ac0 - Fixed bug #48774 (SIGSEGVs when using curl_copy_handle()). 2009-07-21 20:32:32 +00:00
Ilia Alshanetsky
160c88cfa1 Fixed bug #48962 (cURL does not upload files with specified filename). 2009-07-21 15:56:08 +00:00
Zoe Slattery
9ff94c82df Remove empty sections. Fix bad use of --SKIP-- 2009-07-21 14:02:24 +00:00
Gwynne Raskind
3832578522 revert Nuno's commit of my patch 2009-07-20 11:48:04 +00:00
Jani Taskinen
c0aab038ba Fixed bug #48929 (Double \r\n after HTTP headers when "header" context option is an array) 2009-07-20 10:54:37 +00:00
Kalle Sommer Nielsen
5c1d0c3eab Fix Windows build 2009-07-20 04:31:07 +00:00
Rafael Machado Dohms
12ef53b204 Removing deprecated test replaced by individual tests for imageistruecolor and imagetruecolortopalette 2009-07-20 03:48:55 +00:00
Rafael Machado Dohms
23a423aea0 Separating and complementing imageistruecolor and imagetruecolortopalette tests 2009-07-20 03:47:29 +00:00
Felipe Pena
00054412e4 - Fixed bug #48057 (Only the date fields of the first row are fetched, others are empty)
patch by: info at programmiernutte dot net
2009-07-20 00:17:24 +00:00
Felipe Pena
2507033c79 - Fixed bug #48980 (Crash when compiling with pdo_firebird) 2009-07-19 23:33:50 +00:00
Felipe Pena
9f8ff2f968 - Revert my mistake 2009-07-19 22:46:03 +00:00
Felipe Pena
a0e5576f23 - Fixed module check (Related to bug #48785) 2009-07-19 20:53:26 +00:00
Felipe Pena
cdf9cf3033 - Fixed bug #48773 (Incorrect error when setting PDO::ATTR_STATEMENT_CLASS with ctor_args)
[HEAD only]
2009-07-19 18:55:31 +00:00
Christopher Jones
085daea052 make it easier for maintainers to set un/pw in environments that don't pass shell variables 2009-07-19 16:08:24 +00:00
Christopher Jones
ce919053f3 Fix expected output to match final PHP 5.3 deprecated behavior 2009-07-19 16:06:19 +00:00
Christopher Jones
4c12299c08 Reduce Oracle version-dependent diffs. Make PHP 5/6 compatible 2009-07-19 16:05:08 +00:00
Pierre Joye
38bb4c1099 - MFB: Fix #48763, create corrupt archive 2009-07-19 15:32:09 +00:00
Pierre Joye
f031901b1b - WS 2009-07-19 15:20:48 +00:00
Nuno Lopes
4526eee6db Add support for proc_open()'s bypass_shell feature for Unix systems (slightly modified patch from Gwynne) 2009-07-19 14:52:27 +00:00
Felipe Pena
ea2abdc378 - Removed unnecessary strlen() call and if statement. 2009-07-19 14:36:16 +00:00
Rafael Machado Dohms
d7276e46e1 Commiting imagecreatetruecolor tests for PHP_5_3 branch 2009-07-19 01:42:08 +00:00
Pierre Joye
a134024ea3 - let try to be smart, read the bug report.... 2009-07-18 17:06:21 +00:00
Zoe Slattery
98c8c6738a Added comment to XFAIL 2009-07-18 17:00:53 +00:00
Zoe Slattery
3c3c9d544e Adding explanation 2009-07-18 16:53:54 +00:00
Zoe Slattery
d93cf1f610 removing empty XFAIL sections 2009-07-18 16:41:16 +00:00
Zoe Slattery
d09ab2ab42 Removing unnecessary SKIPIF sections 2009-07-18 13:46:08 +00:00
Zoe Slattery
546a927dc8 fixing paths in INI section 2009-07-18 13:14:21 +00:00
andy wharmby
fbea458808 New cURL tests. Tested on Windows, Linux and Linux 64 bit 2009-07-17 20:46:30 +00:00
andy wharmby
f3d407964e Fix cURL tests 2009-07-17 20:44:50 +00:00
Alexey Zakhlestin
d3e8085c28 removing test. this one tests system-specific behavior, not something implemented in php 2009-07-17 17:17:57 +00:00
Alexey Zakhlestin
edb55a4166 fixed tests. money_format() is implemented in underlying system, not in php. So, we shouldn't test for actual values returned. They are different between systems 2009-07-17 15:56:36 +00:00
Gwynne Raskind
2673b9be38 MFH: fix crash when session hash function generated long hashes with hash_bits_per_character larger than 4 2009-07-17 14:21:59 +00:00
Felipe Pena
c803fbe66c - Fix test 2009-07-17 14:04:06 +00:00
Jani Taskinen
785f1bd170 - Fixed bug #47481 (natcasesort() does not sort extended ASCII characters correctly) 2009-07-17 11:13:51 +00:00
Zoe Slattery
4e0b75042a fix tests 2009-07-17 09:28:19 +00:00
Zoe Slattery
6917639217 fix tests 2009-07-17 09:04:52 +00:00
Felipe Pena
f4f825a7a5 - MFH: Fixed bug #48893 (Problems compiling with Curl) 2009-07-17 00:25:54 +00:00
Felipe Pena
520591607e - MFH: Fixed bug #48762 (IPv6 address filter still rejects valid address) 2009-07-16 23:29:36 +00:00
Felipe Pena
2adf42f890 - Removed trailing zeros on double to string conversion (noticed on #48924) 2009-07-16 00:59:34 +00:00
Rasmus Lerdorf
0f004989e9 Buffer handling fixes 2009-07-16 00:04:59 +00:00
Stanislav Malyshev
1db1d4ccc8 fix freed mem reference 2009-07-15 23:55:50 +00:00
Rasmus Lerdorf
33c42127f6 MFH 2009-07-15 19:09:15 +00:00
Alexey Zakhlestin
3e326b91e7 fix tests corrupted by svn's eol-style=native 2009-07-15 13:44:14 +00:00
Alexey Zakhlestin
07ae04de31 MFH: fix broken test 2009-07-15 10:06:38 +00:00
Felipe Pena
aabf4dc30f - MFH: Fixed bug #48913 (Too long error code strings in pdo_odbc driver) 2009-07-15 02:36:08 +00:00
Felipe Pena
0225d5ef80 - MFH: Fixed bug #48913 (Too long error code strings in pdo_odbc driver) 2009-07-15 02:32:43 +00:00
Felipe Pena
fb235dc07f - MFH: Fixed bug #48854 (array_merge_recursive modifies arrays after first one) 2009-07-08 18:23:08 +00:00
Pierre Joye
ddb869d674 - skip on windows 2009-07-08 10:42:06 +00:00
Pierre Joye
e98be67b11 - windows version 2009-07-08 10:41:50 +00:00
Pierre Joye
528ede93df - windows version 2009-07-08 10:14:49 +00:00
Pierre Joye
d8b465caae - skip on win, different error msg 2009-07-08 10:13:27 +00:00
Pierre Joye
8f7ce3ae3d - fix test (mtime only is changed) 2009-07-08 09:59:33 +00:00
Ilia Alshanetsky
c16b7585f6 Fixed bug #48788 (RecursiveDirectoryIterator doesn't descend into symlinked
directories).

[DOC]

To avoid breaking how existing code works a new constant is introduced for
the RecursiveDirectoryIterator() that directs the code to follow symlinks.
This constant RecursiveDirectoryIterator::FOLLOW_SYMLINKS can be passed a
flag to the constructor to trigger symlink following.
2009-07-08 03:06:59 +00:00
Pierre Joye
7a41848cc6 - #46882, touch() atime field returns different value 2009-07-07 22:13:32 +00:00
Pierre Joye
f6016c64e5 - fixed, remove xfail 2009-07-07 22:04:42 +00:00
Pierre Joye
18174e18c9 - fix tests, 5.3 supports these things now on windows. Also shorter tests would be REALLY nice (or use iteration numbering) 2009-07-07 21:50:38 +00:00
Stanislav Malyshev
e865c0b4ee merge errors support 2009-07-07 21:25:46 +00:00
Ulf Wendel
759cc732cf MFH. Fixing tests to run with SQL_MODE=ANSI_QUOTES as well. 2009-07-07 11:32:17 +00:00
Pierre Joye
c79f7e3f6b - WS 2009-07-07 10:54:44 +00:00
Pierre Joye
b38fde4694 - #45905, imagefilledrectangle() clipping error 2009-07-07 10:49:38 +00:00
Felipe Pena
4f0c8ef124 - MFH: New tests (WurzbrugUG testfest) 2009-07-07 01:17:46 +00:00
Ilia Alshanetsky
0e05af63ed MFB: Fixed bug #48808 (FILTER_VALIDATE_EMAIL allows some invalid e-mail
syntaxes)
2009-07-07 00:44:20 +00:00
Stanislav Malyshev
387fbb2d4e fix protos 2009-07-06 23:48:27 +00:00
Stanislav Malyshev
bfdeea808a add test 2009-07-06 23:28:16 +00:00
Pierre Joye
f37fabb803 - #48116, restore 0.x compability, thx config.cache. 2009-07-06 23:26:23 +00:00
Pierre Joye
c82245dea7 - #48116, fix build against openssl 1.0 2009-07-06 23:02:18 +00:00
Ulf Wendel
be7dd36297 MFH. Enabling test as requested by the skipif comment... it does pass when slightly modified. 2009-07-06 15:53:14 +00:00
Ulf Wendel
4786cfa4bf MFH. Fixing mysqlnd version test to run some four previously skipped tests. There is no proper way to check the mysqlnd version. The best one can do is adapt the tests to what PHP 5.3 and PHP 6.0 return today. 2009-07-06 15:45:19 +00:00
Ulf Wendel
556feffbd4 MFH. Adapting (old) tests to current PHP 6 semantics - s/unicode.semantics test/version_compare 2009-07-06 15:08:13 +00:00
Ulf Wendel
f611876b2e MFH. Adding --CLEAN-- sections to all ext/mysqli tests 2009-07-06 14:39:10 +00:00
Ilia Alshanetsky
dac8acd1c1 MFB: Fixed bug #48718 (FILTER_VALIDATE_EMAIL does not allow numbers in domain
components).
2009-07-05 16:08:05 +00:00
Zoe Slattery
b37019f963 fix test 2009-07-05 14:46:08 +00:00
Felipe Pena
fc4e43ec3c MFH:
- Added missing methods' arginfo (for void params)
- Fixed arginfos:
  - MultipleIterator::__construct
  - MultipleIterator::setFlags      (Thanks Philip!)
  - SplFixedArray::__construct
2009-07-04 20:31:27 +00:00
Antony Dovgal
5725982614 stop polluting my /tmp dir 2009-07-03 14:02:28 +00:00
Ulf Wendel
b90a412302 MFH. ... to play with large data sets. Currently its only 10MB in size to keep the test runtime short. However, its easy to increase, if you want to test large data sets 2009-07-03 12:14:39 +00:00
Patrick Allaert
17aa260703 MFH: Tests for ext/ldap from PHPBelgium TestFest 2009-07-03 09:21:31 +00:00
Ulf Wendel
f31fc6df21 MFH. Global s/ini_get('unicode.semantics')/version check/ . Early PHP 6 times are gone. I hope unicode logic will not change any more 2009-07-03 08:42:46 +00:00
Ulf Wendel
26e9c79d4c MFH. Fixing borked test, again new run-tests.php has found it... Fails with HEAD, passes with 5.3 2009-07-03 08:25:25 +00:00
Ulf Wendel
5ac0398f73 MFH. Fixing borked test - thanks again new run-tests.php tool (and team). 2009-07-03 07:50:10 +00:00
Felipe Pena
8715a7f12e - New tests (DutchUG testfest) 2009-07-03 00:09:08 +00:00
Stanislav Malyshev
9937006ac5 bugfix 2009-07-02 22:36:16 +00:00
Ilia Alshanetsky
305f4984d2 MFB: Fixed bug #48733 (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns
on files that have been opened with r+).
2009-07-02 13:42:16 +00:00
Ulf Wendel
5147f6cf8d MFH. Adding CLEAN sections, fixing some SKIPIF sections. Cool new run-tests.php, Zoe (and other) - its a great help to detect stinky SKIPIF and CLEAN 2009-07-02 10:05:37 +00:00
Gwynne Raskind
9adf2ed4aa call-time pass-by-reference is deprecated in 5.3 2009-07-02 10:05:15 +00:00
Gwynne Raskind
bfad6f6cee Don't use short tags in tests 2009-07-02 10:03:14 +00:00
Gwynne Raskind
b26cd6839a Fixed a stray 'in the test 2009-07-02 10:02:38 +00:00
Ulf Wendel
ed05c54d2e MFH - Test for bug #48754 2009-07-02 07:42:48 +00:00
Stanislav Malyshev
b755935771 cleanup Locale::lookup 2009-07-02 00:43:26 +00:00
Felipe Pena
634f233cc0 - MFH: New tests (NorwayUG testfest) 2009-07-02 00:04:52 +00:00
Stanislav Malyshev
838d359641 typo 2009-07-01 20:31:26 +00:00
Kalle Sommer Nielsen
dc69d9228a MFH: Fix test on Windows 2009-07-01 20:27:11 +00:00
Stanislav Malyshev
96f2a45df3 update API files 2009-07-01 20:25:38 +00:00
Stanislav Malyshev
09c10856f6 fix proto 2009-07-01 20:17:31 +00:00
Kalle Sommer Nielsen
485f28aae9 MFH: Fixed #45280 (Reflection of instantiated COM classes causes PHP to crash) (Paul Richards, Kalle) 2009-07-01 18:44:56 +00:00
Kalle Sommer Nielsen
e536b2700a MFH: Fixed memory leak if zero parameters are passed, Thanks Felipe 2009-07-01 17:43:16 +00:00
Kalle Sommer Nielsen
21d61978dc MFH: Fixed bug #48757 (ReflectionFunction::invoke() parameter issues) 2009-07-01 17:38:03 +00:00
Ulf Wendel
b6bd0f6806 MFH - Changing tests to run with both PHP 6 and PHP 5.3 to make future MFH easier. Basically three changes over all files: a) s/unicode(/%unicode|string% b) s/[u/[%u|b% c) s/unicode.semantics/version_compare 2009-07-01 15:33:31 +00:00
Ulf Wendel
b5455f7a7d MFH - Adding XFAIL for some tests which expect the zval cache of mysqlnd to be on. It has been disabled for the PHP 5.3.0 release. Adding INI sections to ensure that statistics are collected. Adding tests that check if statistics collection can be disabled 2009-07-01 12:52:58 +00:00
Felipe Pena
d9061f95fa - Fix test 2009-07-01 12:15:00 +00:00
Felipe Pena
3d7b3c8bb2 - Fixed tests 2009-07-01 02:32:55 +00:00
Felipe Pena
db6f5e67a8 - MFH: New tests (SaoPaulo UG testfest) 2009-07-01 00:56:01 +00:00
Stanislav Malyshev
2361b4ea2a fix json shared build on Windows 2009-06-30 17:52:21 +00:00
Christian Seiler
b4a43d0d94 MFH: spl_autoload_unregister/spl_autoload_functions and closures 2009-06-30 17:14:37 +00:00
Derick Rethans
9dfb40ea8c - MFH: Fixed bug #47351 (Memory leak in DateTime). 2009-06-30 16:17:30 +00:00
Greg Beaver
5dd3306551 fixed bug #48681 (openssl signature verification for tar archives broken) 2009-06-30 14:49:12 +00:00
Scott MacVicar
27a1ce801c MFH Fix bug #48284 - adler32 is in the wrong order. Changed to match what zlib produces. 2009-06-30 13:21:53 +00:00
Felipe Pena
0e294f2121 - MFH: Fixed bug #48709 (metaphone and 'wh') 2009-06-30 11:46:20 +00:00
Scott MacVicar
ded5d566ad MFH Upgrade libsqlite to 3.6.16, fixes a possible error with triggers 2009-06-30 11:17:14 +00:00
Johannes Schlüter
dec83ec4d2 MFH: Fixed bug #48539 (pdo_dblib fails to connect, throws empty PDOException
"SQLSTATE[] (null)")  (Felipe)
2009-06-29 09:36:03 +00:00
andy wharmby
d73094aed4 Basic test for max() on 64 bit platforms. Tested on Linux 64 bit 2009-06-29 07:52:23 +00:00
andy wharmby
54ba44da0a Fix tests 2009-06-29 07:45:11 +00:00
andy wharmby
93a16cf13a Basic tests for sleep() and usleep(). Tested on Windows, Linux and Linux 64 bit 2009-06-29 07:31:10 +00:00
Johannes Schlüter
81761e636d Fix path 2009-06-28 21:52:51 +00:00
Pierre Joye
a68f6c9c28 - fix build 2009-06-28 12:04:44 +00:00
Pierre Joye
f403bd2128 - MFH: fix regression introduced by the fix for #48518 (Ilia, Rasmus) 2009-06-28 09:50:14 +00:00
Pierre Joye
68a3c3f952 - add license 2009-06-26 07:24:41 +00:00
Johannes Schlüter
9485cad688 Revert mysqlnd to RC3 state after issues with pconnects 2009-06-25 19:03:52 +00:00
Johannes Schlüter
144ff4d6b3 MFH: Fixed bug #48696 (ldap_read() segfaults with invalid parameters) (Felipe) 2009-06-25 15:19:29 +00:00
Johannes Schlüter
6354376924 MFH: Fixed bug #48678 (DateInterval segfaults when unserialising (Ilia) 2009-06-25 15:07:36 +00:00
Zoe Slattery
b2bc4dd331 fix skipif 2009-06-25 14:44:01 +00:00
Zoe Slattery
8e972386f0 fix skipif 2009-06-25 12:36:46 +00:00
Johannes Schlüter
84940122a9 MFH Fix bug #48679 - Crash in SQLite with count on an unbuffered query set (Scott) 2009-06-25 09:38:04 +00:00
Greg Beaver
2c924e2848 fix slightly unclear error message in generation of phar.phar 2009-06-24 22:12:47 +00:00
Felipe Pena
caf8d811ef - MFH: Fixed memleak when depth arg is less than zero 2009-06-24 17:39:52 +00:00
Pierre Joye
1f10584566 - add license info 2009-06-24 11:44:46 +00:00
Dmitry Stogov
e583ce82ec Fixed bug #48643 (String functions memory issue) 2009-06-24 08:53:18 +00:00
andy wharmby
0fbf8cebd7 Fix test 2009-06-23 23:00:55 +00:00
andy wharmby
3aaaf77a0e New and fixed html tests. Tested in Windows, Linux and Linux 64. 2009-06-23 22:45:31 +00:00
andy wharmby
e6f4ec2f07 New basic parse_str() tests. Tested on Windows,Linux and Lnux 64 bit. Some tests fail on PHP 6 (tagged with XFAIL) due to bug 48658 2009-06-23 22:39:44 +00:00
Johannes Schlüter
aded4474fc MFH: Fix build problem (Kalle) 2009-06-23 18:14:27 +00:00
David Soria Parra
4d7e6edd63 MFH: Fix bug #48644 mysqlnd does not compile with '--enable-mysqlnd-threading' 2009-06-23 14:15:28 +00:00
Hannes Magnusson
f3d8a9ad0d MFH: Fix arginfo for libxml_disable_entity_loader() and libxml_use_internal_errors() 2009-06-23 13:44:24 +00:00
Johannes Schlüter
86eaa90955 MFH The experimental warning sohuld be in the configure output... 2009-06-23 13:19:28 +00:00
Johannes Schlüter
96d5c5e931 The json header should be installed so other exts can use it 2009-06-23 13:09:34 +00:00
Rob Richards
f7b30e6578 MFH: add libxml_disable_entity_loader function 2009-06-23 10:50:09 +00:00
Kalle Sommer Nielsen
220c68d54a MFH: Move these defines to config.w32.h
Also credit Pierre for the inet_ntop()/inet_pton() implementations
2009-06-23 06:56:45 +00:00
Ilia Alshanetsky
1c4dafd84d Revert unrelated bits to the previous commit 2009-06-22 14:24:27 +00:00
Pierre Joye
d1fb4d2da4 - #48619, imap_search ALL segfaults 2009-06-22 14:09:55 +00:00
Ilia Alshanetsky
bc8e357482 MFB: Fixed bug #48636 (Error compiling of ext/date on netware). 2009-06-22 13:43:14 +00:00
Felipe Pena
56d7a43f00 - Fixed bug #48641 (tmpfile() uses old parameter parsing) 2009-06-22 11:37:30 +00:00
Scott MacVicar
c63b6f5d8a MFH Specific test for bug #48276 2009-06-21 22:31:41 +00:00
Scott MacVicar
25715c7660 MFH Fix bug #48276 - year is a long long so we need %lld so big endian systems print the correct value. 2009-06-21 22:19:11 +00:00
Hannes Magnusson
b293b35eaa Fix proto and arginfo 2009-06-21 20:40:53 +00:00
Ilia Alshanetsky
81e5787949 Fixed bug #48620 (X-PHP-Originating-Script assumes no trailing CRLF in
existing headers)
2009-06-21 15:29:16 +00:00
Takeshi Abe
c84e4181b4 MFH: fixed bug #48555 (ImageFTBBox() differs from previous versions for texts with new lines) 2009-06-21 06:09:46 +00:00
Kalle Sommer Nielsen
9fef343050 MFH: Fixed arginfo for array_map, patch by Matthew Fonda <matthewfonda@gmail.com> 2009-06-20 06:07:35 +00:00
Kalle Sommer Nielsen
17459bac7d MFH: Fix memleak 2009-06-19 22:15:28 +00:00
andy wharmby
e64f0795e1 Fix test; remove spurious code 2009-06-18 21:53:17 +00:00
andy wharmby
7c7dd8b712 Basic tests for strftime(). Tested on Windows (all tests skip), Linux and Liinux 64 bit 2009-06-18 21:14:15 +00:00
Greg Beaver
645226d19b fix EXPECT section of test 2009-06-18 18:12:04 +00:00
Johannes Schlüter
067276a043 Temporarily disable this optimization causing too much trouble, kept in HEAD 2009-06-18 15:07:23 +00:00
Derick Rethans
b2d3c2bf18 - Updated to version 2009.10 (2009j) 2009-06-18 09:02:51 +00:00
Zoe Slattery
b928d971b5 Tests from Berlin test fest 2009-06-18 07:29:09 +00:00
Hannes Magnusson
b685def15a MFB5.2: "Make this happy on gcc2" 2009-06-17 17:56:17 +00:00
Andrey Hristov
0aada07656 MFH:
Fix two problems:
- The value of mysqli_get_client_info() has been changed recently and did
not include "mysqlnd" anymore thus the test suite was thinking the build
is always libmysql. This did not kept the suite from running pconn tests
- Going back to the libc allocator because the memory arena could be on a
  persistent connections. If the build is not debug there will be no error
  but the memory will be freed and in the second use of this pconn freed
  memory will be used - not good! For now the arena doesn't take an argument
  whether it should allocate persistently or not, thus persistent is safe
  for now.

Johannes gave his +1 to commit this.
2009-06-17 16:22:13 +00:00
Felipe Pena
219c2603bb - MFH: Fixed bug #48578 (Can't build 5.3 on FBSD 4.11) (Rasmus) 2009-06-17 16:20:04 +00:00
Scott MacVicar
3e58e86d01 MFH Add SplDoublyLinkedList::prev() and fix a memory leak when the iterator pointer isn't at the end 2009-06-17 13:27:09 +00:00
Hannes Magnusson
d535dec2e0 fix skipif 2009-06-17 10:18:17 +00:00
Hannes Magnusson
9900d2097c fix skipif 2009-06-17 10:14:25 +00:00
Pierre Joye
02fe289540 - fix test 2009-06-17 10:10:19 +00:00
Pierre Joye
f399abb610 - missing --SKIPIF-- header 2009-06-17 10:08:01 +00:00
Felipe Pena
ef55a8a663 - Fixed tests 2009-06-16 19:49:55 +00:00
andy wharmby
d7072fa367 New strcoll error test. Tested on Windows, Linux and Linux 64. 2009-06-16 19:39:39 +00:00
Andrey Hristov
30800a79b9 MFH: C-comments 2009-06-16 18:00:00 +00:00
Pierre Joye
5a3efd5b78 - fix readlink in TS SAPI 2009-06-16 16:50:13 +00:00
Felipe Pena
f9bb99055e - MFH: Fixed build (removed trailing comma) patch by Seiji Masugata <s.masugata at digicom.dnp.co.jp> 2009-06-16 14:33:33 +00:00
Andrey Hristov
10ee06ca48 MFH:
Memory usage optimisation. mysqlnd is not libmysql. mysqlnd does use the
Zend allocator, which means that is easier to hit memory_limit if you
have big stored (buffered) result sets. Before with libmysql you won't
hit memory_limit because libmysql uses libc's allocator and nothing is
checked. Now, with mysqlnd the situation is stricter and it is easier to
hit memory_limit. We try to optimize for big result sets. If a result set
is larger than 10 rows we will start freeing some data to keep memory usage
after 10 rows constant. This will help in the cases where a buffered result
set is scrolled forward only and just only once, or mysqlnd will need to
decode data from the network buffers again - yes, it is a trade-off between
CPU time and memory size. The best for big result sets is of course using
unbuffered queries - for comparison : 3 Million rows with buffered take
at least 180MB, with buffered you will stay at 3MB, and unbuffered will be
just 7-8% slower.
2009-06-16 13:07:14 +00:00
Ilia Alshanetsky
34842709d6 Fixed test 2009-06-16 12:40:59 +00:00
andy wharmby
c731b2287f Fix typo in test 2009-06-16 11:37:13 +00:00
Pierre Joye
b4cf9d80d4 - fix title 2009-06-16 10:37:59 +00:00
Pierre Joye
1a69c562bd - fix title 2009-06-16 10:37:30 +00:00
Andrey Hristov
27270621cb MFH:
Hardwire function call instead of using callbacks. We don't actually need
callbacks, it was done for making 2 functions static, not to pollute the
global functions space but that had its price of 8 bytes overheat per
allocation, which is just too much. Also making the app member 32b instead
of 64b, which should save additional 4 byte, to the total of 12 byte per
allocation of a row buffer.
2009-06-16 09:15:38 +00:00
andy wharmby
f0f302fe7f New class related tests. Tested on Windows, Linux and Linux 64. Tests written by Iain Lewis 2009-06-16 08:59:39 +00:00
Andrey Hristov
a2acaa7fcd MFH:
Use Zend's allocator instead of libc's and also don't try to work on
zvals that are NULLs.
2009-06-16 07:53:35 +00:00
Felipe Pena
c353601a3f - MFH: Fixed bug #48562 (Reference recursion causes segfault when used in wddx_serialize_vars()) 2009-06-16 02:54:26 +00:00
Pierre Joye
8e76db4aa7 - revert last commit, should not have been applied 2009-06-16 00:17:56 +00:00
Pierre Joye
a5302d870d - #47767, include_once does not resolve windows symlinks or junctions 2009-06-16 00:13:56 +00:00
Pierre Joye
18d5751a9e - Windows ACL cache support, update existing tests and add a new one 2009-06-16 00:07:05 +00:00
Felipe Pena
da9b80e309 - Drop unused code 2009-06-15 17:56:08 +00:00
Felipe Pena
aa8811982e - MFH: Fixed bug #48557 (Numeric string keys in Apache Hashmaps are not cast to integers) patch by David Zülke <david.zuelke at bitextender.com> 2009-06-15 17:31:02 +00:00
Patrick Allaert
f78a0b585c MFH: Fixing #48441 (ldap_search() with sizelimit/timelimit/deref options makes those options persistent) 2009-06-15 15:18:31 +00:00
Pierre Joye
c06884c960 - add TODO about int definition cleanup 2009-06-15 15:08:12 +00:00
Patrick Allaert
91a8fd7f7e MFH: Refactoring that will help fixing #48441 2009-06-15 15:04:11 +00:00
Pierre Joye
2db291e728 - MFH: simplify, use correct type and silent warnings 2009-06-15 14:47:15 +00:00
Scott MacVicar
532674945c MFH sync SQLite 3.6.15 2009-06-15 13:23:59 +00:00
Ilia Alshanetsky
bb55de47cd Simplify original fix for bug #33475 2009-06-15 12:37:37 +00:00
andy wharmby
4a110443df New POSIX extension tests from Berlin UG TestFest 2009. 2009-06-15 12:14:55 +00:00
Pierre Joye
e52e1fab4c - silent warning 2009-06-15 08:32:38 +00:00
Ilia Alshanetsky
1c8d05069e MFB: Fixed bug #48512 (DOMDocument::validate() fails with both a E_NOTICE
and E_WARN if no DTD)
2009-06-14 13:13:35 +00:00
andy wharmby
a6735b8b24 New json extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-14 12:08:27 +00:00
Greg Beaver
79d05eac0d fix Bug #48541: spl_autoload_register only registers first closure, then leaks the others. Fix missing erealloc in fix for bug #40091 (PHP_5_3 only) 2009-06-13 17:30:50 +00:00
andy wharmby
642b84cd83 New iconv extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-13 12:17:42 +00:00
Felipe Pena
f9b9765ed0 - MFH: Fixed bug #48514 (cURL extension uses same resource name for simple and multi APIs) 2009-06-12 20:48:28 +00:00