Kalle Sommer Nielsen
535e251612
Move these defines to config.w32.h
2009-06-23 06:55:45 +00:00
Pierre Joye
aa382805f6
- MF53: #48619 , imap_search ALL segfaults
2009-06-22 20:35:46 +00:00
Christian Seiler
b5ffb2d9af
- Fixed spl_autoload_functions/spl_autoload_unregister wrt. closures and
...
invokables.
2009-06-22 18:14:14 +00:00
Ilia Alshanetsky
8a5511cfc8
MFB: Fixed bug #48636 (Error compiling of ext/date on netware).
2009-06-22 13:43:06 +00:00
Scott MacVicar
ef76d96812
Specific test for bug #48276
2009-06-21 22:30:37 +00:00
Scott MacVicar
5345eec0b8
Fix bug #48276 - year is a long long so we need %lld so big endian systems print the correct value.
2009-06-21 22:18:53 +00:00
Hannes Magnusson
d19b44b95d
MFB: Fix proto and arginfo
2009-06-21 20:41:51 +00:00
Ilia Alshanetsky
ca74bf9e44
MFB: Fixed bug #48620 (X-PHP-Originating-Script assumes no trailing CRLF in
...
existing headers)
2009-06-21 15:30:23 +00:00
Takeshi Abe
8990a91fd7
fixed bug #48555 (ImageFTBBox() differs from previous versions for texts with new lines)
2009-06-21 05:59:25 +00:00
Kalle Sommer Nielsen
663600b41d
Fixed arginfo for array_map, patch by Matthew Fonda <matthewfonda@gmail.com>
2009-06-20 06:05:26 +00:00
Kalle Sommer Nielsen
6442cfaaf6
Fix memleak
2009-06-19 22:12:20 +00:00
andy wharmby
e4ef8e925a
Fix test; remove spurious code
2009-06-18 21:53:14 +00:00
andy wharmby
a2dd5c26cd
Basic tests for strftime(). Tested on Windows (all tests skip), Linux and Liinux 64 bit
2009-06-18 21:14:14 +00:00
Greg Beaver
c816d49384
fix EXPECT section of test
2009-06-18 18:12:10 +00:00
Derick Rethans
826378be43
- Updated to version 2009.10 (2009j)
2009-06-18 09:02:43 +00:00
Zoe Slattery
fe6e83b3aa
Tests from Berlin test fest
2009-06-18 07:25:55 +00:00
Andrey Hristov
64046529f0
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:21:34 +00:00
Felipe Pena
a26dc7bd50
- Fixed bug #48578 (Can't build 5.3 on FBSD 4.11) (Rasmus)
2009-06-17 16:19:48 +00:00
Scott MacVicar
1217eab950
Update test to test a few more cases and another for calling prev() on a blank DLL.
2009-06-17 13:15:39 +00:00
Scott MacVicar
88994ce758
Add SplDoublyLinkedList::prev(), no point in having a DLL that only goes one way
2009-06-17 12:57:38 +00:00
Hannes Magnusson
ae9ba9cd60
fix skipf
2009-06-17 10:18:42 +00:00
Felipe Pena
ccfdb9b9ad
- Fixed tests
2009-06-16 19:49:04 +00:00
andy wharmby
62b2bc8d55
New strcoll error test. Tested on Windows, Linux and Linux 64.
2009-06-16 19:39:37 +00:00
Andrey Hristov
56b1c8fe39
C-comments should be used
2009-06-16 17:59:19 +00:00
Pierre Joye
a6b40a6e88
- MF53: fix readlink in TS SAPI
2009-06-16 16:53:56 +00:00
Felipe Pena
8654130af4
- Fixed build (removed trailing comma) patch by Seiji Masugata <s.masugata at digicom.dnp.co.jp>
2009-06-16 14:29:18 +00:00
Andrey Hristov
7289831fe0
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:06:45 +00:00
andy wharmby
9faad585d4
Fix typo in test
2009-06-16 11:37:11 +00:00
Andrey Hristov
5d3ea92ee9
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:09 +00:00
andy wharmby
a1fdddce49
New class related tests. Tested on Windows, Linux and Linux 64. Tests written by Iain Lewis
2009-06-16 08:59:56 +00:00
Andrey Hristov
9ac36809f0
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:03 +00:00
Felipe Pena
edb136aed3
- Fixed bug #48562 (Reference recursion causes segfault when used in wddx_serialize_vars())
2009-06-16 02:53:50 +00:00
Felipe Pena
3bc8b0519d
- Drop unused code
2009-06-15 17:57:05 +00:00
Felipe Pena
8f83dcdb0a
- 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:25:28 +00:00
Patrick Allaert
0d91efd894
Fixing #48441 (ldap_search() with sizelimit/timelimit/deref options makes those options persistent)
2009-06-15 15:18:12 +00:00
Pierre Joye
6afc513391
- add TODO about int definition cleanup
2009-06-15 15:08:41 +00:00
Patrick Allaert
03220cb04a
Refactoring that will help fixing #48441
2009-06-15 15:03:31 +00:00
Pierre Joye
700a0697c6
- simplify, use correct type and silent warnings
2009-06-15 14:39:37 +00:00
Scott MacVicar
d20553953c
sync SQLite 3.6.15
2009-06-15 13:14:46 +00:00
Ilia Alshanetsky
a69fb1bcfc
MFB: 48518
2009-06-15 12:38:57 +00:00
andy wharmby
facd8866d8
New POSIX extension tests from Berlin UG TestFest 2009.
2009-06-15 12:14:58 +00:00
Pierre Joye
1c9d43d430
- silent warning
2009-06-15 08:32:18 +00:00
andy wharmby
845595eb7c
New json extension tests. Tested on Windows, Linux and Linux 64 bit.
2009-06-14 12:08:33 +00:00
Greg Beaver
1d43c910df
fix Bug #48541 : spl_autoload_register only registers first closure, then leaks the others
2009-06-13 17:28:35 +00:00
andy wharmby
0e8ecad7f3
New iconv extension tests. Tested on Windows, Linux and Linux 64 bit.
2009-06-13 12:17:47 +00:00
Felipe Pena
a3d7eab5a3
- Refix the fix :| (missing skipif)
2009-06-12 20:46:30 +00:00
Felipe Pena
dd3cc066f1
- Fix test
2009-06-12 20:44:50 +00:00
Felipe Pena
4d5aaf0571
- Fixed bug #48514 (cURL extension uses same resource name for simple and multi APIs)
2009-06-12 20:43:29 +00:00
andy wharmby
7c35094c3f
New iconv extension tests. Tested on Windows, Linux and Linux 64 bit.
2009-06-12 18:57:10 +00:00
andy wharmby
23019a1543
New iconv extension tests. Tested on Windows, Linux and Linux 64 bit
2009-06-12 17:16:06 +00:00
Felipe Pena
d25cb5c73f
- Sync with 5_3
2009-06-12 14:00:10 +00:00
Felipe Pena
7193fe3e03
- Dropped unused var (HEAD only)
2009-06-12 13:27:39 +00:00
Andrey Hristov
dc9d37998f
Fix crash when tracing is enabled. Position after buffer was used also
...
direct usage of MYSQLND_STRING pointer instead of the "s" property of the
structure.
2009-06-12 13:24:37 +00:00
Kalle Sommer Nielsen
4b17fee3b9
Fixed static build of mbstring on Windows (makes static build of exif possible too)
2009-06-11 23:37:51 +00:00
andy wharmby
7b438a20cb
Delete duplicate test
2009-06-11 23:04:36 +00:00
andy wharmby
f586200746
New intval() tests. Tested on Windows, Linux and linux 64
2009-06-11 22:26:54 +00:00
andy wharmby
b4ef9c4950
New 64 bit math tests. Tested on Windows, Linux and Linux 64 bit. Tests authored by Dave Kelsey
2009-06-11 21:17:05 +00:00
andy wharmby
568879c484
Add/Fix SKIPIF sections of cURL tests
2009-06-11 21:11:22 +00:00
Andrey Hristov
b2f0e08307
Revert by adding an ifdef
2009-06-11 17:53:13 +00:00
Pierre Joye
54ac8205a0
- nuke unused var
2009-06-11 17:16:35 +00:00
Pierre Joye
c590f68297
- MF53: silent warning and make it less ambiguous
2009-06-11 17:14:34 +00:00
andy wharmby
6cebe90238
New POISX tests. Tested on Windows (all test SKIP), Linux and Linux 64
2009-06-11 12:30:59 +00:00
Johannes Schlüter
361c9d353f
Use a better extension version
2009-06-11 10:08:09 +00:00
Antony Dovgal
c6cd73e7d1
fix bug #48518 (curl crashes when writing into invalid file handle)
2009-06-11 09:46:27 +00:00
Andrey Hristov
433286f150
Protect the code when variable is NULL, which should never happen, but
...
anyway, you know about "never happens"
2009-06-11 08:51:20 +00:00
Andrey Hristov
6f90ebd669
Check the pointer before calling a function on it, or we will crash.
...
This is a very rare situation where the server is totally broken.
2009-06-11 08:32:34 +00:00
Andrey Hristov
18f107f94c
MFB: Reference decrement in own function. Make a function which is not
...
called externally static, from PHPAPI.
2009-06-11 08:31:10 +00:00
Felipe Pena
c3b2427610
- Fix the fix (Bug #46973 - IPv6 address filter rejects valid address)
2009-06-10 19:00:54 +00:00
Pierre Joye
f29591ceb5
- look for static lib too
2009-06-10 16:05:55 +00:00
Hannes Magnusson
929d82eec4
Fix extension loading order
2009-06-10 14:28:06 +00:00
Hannes Magnusson
f7887e7c54
Fix exception message
2009-06-10 13:43:43 +00:00
Ilia Alshanetsky
aafa45d804
Fixed bug #48512 (DOMDocument::validate() fails with both a E_NOTICE and
...
E_WARN if no DTD)
# Will MFH to 5.3 after RC
2009-06-10 12:25:41 +00:00
Antony Dovgal
b775205cec
fix arginfo for curl_multi_info_read()
2009-06-10 11:09:48 +00:00
Pierre Joye
be5391a6d5
- MFB: put mpir headers in their own directory
2009-06-10 10:19:11 +00:00
andy wharmby
6b6c38043b
Fix test - remove bogus variation
2009-06-09 20:18:29 +00:00
Pierre Joye
251b711eac
- MFB: #41874 , separate STDOUT and STDERR in exec functions
2009-06-09 14:07:06 +00:00
Pierre Joye
7cc3ad6313
- fix TS build
2009-06-09 10:03:42 +00:00
Pierre Joye
67f88a0c3f
- ws
2009-06-09 09:51:56 +00:00
Scott MacVicar
518ad70390
Fix bug #48493 - spl_autoload_register can leave the HT in an inconsistent way.
...
Need to point the second elements previous item to head so we can traverse upwards.
2009-06-09 01:57:57 +00:00
Derick Rethans
edb4262bae
- Updated to version 2009.9 (2009i)
2009-06-08 13:53:24 +00:00
Andrey Hristov
efc752375e
Merge with the branch, someone made changes in PHP5_3 and did not merge.
...
Also switch off the zval cache for now.
2009-06-08 10:19:29 +00:00
Pierre Joye
4ab529f058
- MFB: sync with 1.0.2, improve perf x86-64 (patch by Solar Designer)
2009-06-08 08:45:36 +00:00
Scott MacVicar
3474172eb9
Change more things to the UTF-16 API and make SQLite3::enableExceptions() return the previous value.
2009-06-08 02:15:42 +00:00
Patrick Allaert
33fe2ad27f
Removed credit
2009-06-07 21:26:45 +00:00
Patrick Allaert
77693a80b7
Fixed ldap_(first|next)_attribute() function producing 2 warning messages in case wrong parameters given
2009-06-07 20:00:32 +00:00
Matt Wilmas
756d134c45
Fixed bug #47836 (array operator [] inconsistency when the array has PHP_INT_MAX index value)
...
Also simplified related array_push() test
2009-06-07 19:28:02 +00:00
Patrick Allaert
e2d2ce43ad
Fixed bug #48469 (ldap_get_entries() memory leaks on empty search results)
2009-06-07 13:06:03 +00:00
Matt Wilmas
fa54a9d0f3
Fixed error message grammar:
...
- "cannot" instead of "can not" (meaning "also can")
- "than" instead of "then" (Hint: "then" should hardly be needed;
you're not telling the order in which to do something)
... plus removed a couple ending. dots
2009-06-06 02:40:14 +00:00
Matt Wilmas
e9b382cc2e
Added zend_eval_stringl and made create_function(), etc. binary-safe
2009-06-05 18:50:10 +00:00
Matt Wilmas
88127e2328
Fixed tests again after double->long conversion change (to match 5.2)
2009-06-05 17:15:18 +00:00
Greg Beaver
9948c520ca
fixed isset() on sub-directories (isset('blah') if file 'blah/foo.php' exists)
2009-06-05 04:44:55 +00:00
Greg Beaver
4846e56d40
MFPECL: fix security vulnerability in phar's handling of long tar filenames
2009-06-04 20:00:01 +00:00
Matt Wilmas
9061bf39bd
Updated tests after double->long conversion change (basically to match 5.2)
...
# Let me know about other failing tests I missed
2009-06-04 18:24:09 +00:00
Andrei Zmievski
14dc87e0ae
MFB
2009-06-04 18:18:24 +00:00
Etienne Kneuss
f357b310a2
Include other flags as well
2009-06-04 14:46:08 +00:00
Hannes Magnusson
872e9725ee
Fixed creating directory structure when extracting phars
2009-06-04 12:21:59 +00:00
Kalle Sommer Nielsen
de20dd7ac8
Fix build
2009-06-04 08:18:32 +00:00
Felipe Pena
59b0990c1c
- Fixed tests
2009-06-04 01:14:48 +00:00
Brian Shire
08f7c7f016
Add test for Bug #47859 parse_ini_file() does not like asterisk (*) in key in the beginning
2009-06-03 19:37:22 +00:00
Ilia Alshanetsky
8768015b07
MFB: Fixed bug #46386 (Digest authentication with SOAP module fails against
...
MSSQL SOAP services)
2009-06-03 12:40:01 +00:00