Ilia Alshanetsky
2332e4f9fc
Fixed bug #37870 (pgo_pgsql tries to de-allocate unused statements).
...
Fixed bug #36681 (pdo_pgsql driver incorrectly ignored some errors).
Fixed test for bug #38253 not to use faulty SQL that generates errors in
PostgreSQL
2006-09-19 15:45:22 +00:00
Hannes Magnusson
db5dc9d5d8
fix test
2006-09-19 12:25:27 +00:00
Antony Dovgal
bc60e07d57
argh.. nuke UEXPECTF
2006-09-19 09:40:00 +00:00
Antony Dovgal
e1ff6fe881
support objects in array_walk*()
2006-09-19 09:35:27 +00:00
Antony Dovgal
0fe381cd70
fix tests
2006-09-19 09:07:56 +00:00
Antony Dovgal
dba1f1d42f
MFH: fix #34066 (recursive array_walk causes segfault)
...
add tests
2006-09-19 09:04:16 +00:00
Antony Dovgal
3bd1c646b7
add PHP version detection to this branch too, since I'm using this branch to make PECL releases
2006-09-18 21:23:42 +00:00
Hannes Magnusson
6affa7d3e9
Fix tests
2006-09-18 16:12:13 +00:00
Ilia Alshanetsky
c8a5e8fa7a
Fixed bug #38574 (missing curl constants and improper constant detection).
2006-09-18 16:11:50 +00:00
Antony Dovgal
1efae6a785
fix test (the error message is different across the systems)
2006-09-18 12:35:49 +00:00
Pierre Joye
442112503a
- add test for callback and input_get and input_get_args
...
this test fails now, the callback never worked with input_get or args
fix already done, will be applied with the api shake up.
2006-09-17 18:03:45 +00:00
Nuno Lopes
d43c9c11f4
fix compiler warnings introduced in my previous commit
2006-09-16 19:07:46 +00:00
Ilia Alshanetsky
9f217cd983
One last expand_filepath() check
2006-09-16 19:07:35 +00:00
Ilia Alshanetsky
92c3cfd81f
Additional expand_filepath() checks
2006-09-16 18:30:03 +00:00
Nuno Lopes
557b583434
plug leaks that in the previous patch
2006-09-16 18:18:55 +00:00
Nuno Lopes
c7101ba6d2
add missing checks around expand_filepath()
2006-09-16 18:15:25 +00:00
Ilia Alshanetsky
4c65e0e1cd
Added missing validation checks around expand_filepath()
2006-09-16 18:10:32 +00:00
Nuno Lopes
bfc9cd7174
fix possible crash in posix_access()
2006-09-16 17:41:57 +00:00
Nuno Lopes
868b219a28
use relative paths, so that we dont break the lcov reports
2006-09-16 14:17:36 +00:00
Rob Richards
1819e947f9
implement workaround for bug #38823 (DOMComment->appendData does nothing)
...
fix bug #38850 (lookupNamespaceURI doesn't return default namespace)
add test
2006-09-16 13:54:52 +00:00
Nuno Lopes
e197ecd16e
fix mem leak. hash keys dont need to be strdup'ed
2006-09-16 12:05:13 +00:00
Ilia Alshanetsky
2cc1f53f3b
Added a check for PQftable() function
2006-09-15 19:47:50 +00:00
Nuno Lopes
e299095ca1
fix a valgrind warning. this also provides a 5x speedup in the imagefttext.phpt test, because without this patch it never got cache hits
2006-09-15 16:11:39 +00:00
Antony Dovgal
c40975eda5
MFH: missing part of the fix for #38844
2006-09-15 15:42:53 +00:00
Antony Dovgal
fcf4f87919
still output an error, even if there is no curl_easy_strerror()
2006-09-15 15:33:14 +00:00
Nuno Lopes
fe9d3b16c5
mark some huge arrays as read-only
2006-09-15 15:11:54 +00:00
Antony Dovgal
0974e2af60
MFH: fix segfault in curl_multi_info_read()
2006-09-15 15:04:59 +00:00
Nuno Lopes
0094b08c56
remove warning. thanks Tony for noticing
2006-09-15 14:57:52 +00:00
Nuno Lopes
96b9fb0787
remove more old code and macros. also remove the module global 'inst' (not needed anymore)
2006-09-15 14:33:34 +00:00
Antony Dovgal
5111cd3af9
MFH: fix #38844 (curl_easy_strerror() is defined only since cURL 7.12.0)
2006-09-15 13:44:50 +00:00
Pierre Joye
a0aabccac6
- MFH: PECL Bug #8700 , zipArchive::getFromIndex() fails
2006-09-15 12:12:25 +00:00
Antony Dovgal
04da058284
MFH: fix leak when call to shutdown function fails
2006-09-15 09:12:17 +00:00
Antony Dovgal
55d900ef8e
MFH: free node pointer using correct function
...
fixes leak in ext/dom/tests/dom_create_element.phpt
2006-09-15 07:44:20 +00:00
Antony Dovgal
99b133d7a7
MFH: fix double free(), add test
2006-09-15 07:27:22 +00:00
Dmitry Stogov
ed26032176
Fixed memory leak
2006-09-15 07:11:35 +00:00
Ilia Alshanetsky
6e2add04ea
Make float filter handle things like 02.324 properly
2006-09-14 17:47:00 +00:00
Antony Dovgal
7a5306598a
separate zval only when needed (fixes 035.phpt and doesn't affect SAPI filtering)
2006-09-14 15:30:13 +00:00
Rob Richards
6fea033c6e
fix bug #38813 (DOMEntityReference->__construct crashes when called explicitly)
2006-09-14 13:35:02 +00:00
Dmitry Stogov
3fcfdf573d
Write valid run-time value for Zend Memeory Manager
2006-09-14 08:01:48 +00:00
Stanislav Malyshev
38540337a9
add for VC build
2006-09-13 17:47:20 +00:00
Ilia Alshanetsky
54032dee04
Fixed test for systems without INFILE/OUTFILE support
2006-09-13 15:52:57 +00:00
Dmitry Stogov
3b2fa0ce82
Fix memory leaks
2006-09-13 13:25:50 +00:00
Antony Dovgal
e5ab519397
MFH
2006-09-13 10:44:11 +00:00
Antony Dovgal
6e0915b631
new tests
2006-09-12 20:32:39 +00:00
Antony Dovgal
d1202b7986
declare oci_lob_seek()
2006-09-12 20:27:28 +00:00
Antony Dovgal
03c7bbd33b
MFH: improve spelling ( fixes #38780 )
2006-09-12 17:26:34 +00:00
Derick Rethans
ebbfc21a15
- Make passing filter flags as LONG work again.
...
- Make super globals filtering work again (as quick workaround).
#- Will merge to head later... need to get things sorted out first.
2006-09-12 16:10:33 +00:00
Pierre Joye
bb2d53e768
- PECL Bug #8676 , addFile was not updated and still used VCWD_REALPATH,
...
it now uses expand_filepath
2006-09-12 12:02:49 +00:00
Antony Dovgal
7800711d34
MFH: fix leak when binding a variable to the same placeholder several times
2006-09-12 11:42:44 +00:00
Antony Dovgal
1a6cd5162e
remove a leftover
2006-09-12 10:54:01 +00:00
Antony Dovgal
7b588b5bcd
fix test
2006-09-12 10:42:32 +00:00
Johannes Schlüter
6415ef51e9
- MFH: Print the type of the original value
2006-09-11 21:21:43 +00:00
Johannes Schlüter
6a1b4c99c7
- MFH: Fix #37923 (Display constant value in reflection::export)
2006-09-11 17:08:42 +00:00
Ilia Alshanetsky
f4a75d91d2
Fixed bug #38096 (large timeout values ignored on 32bit machines in
...
stream_socket_accept() and stream_socket_client()).
2006-09-11 14:52:21 +00:00
Antony Dovgal
334c36ac7c
new tests
2006-09-10 22:11:29 +00:00
Antony Dovgal
4dd2a598f3
add new test
2006-09-10 19:42:12 +00:00
Hannes Magnusson
0ce31d14f5
MFH: proots
2006-09-10 17:01:51 +00:00
Hannes Magnusson
b6a5941b97
MFH: date_timezone_set() needs both arguments
...
MFH: throw exception in DateTimeZone::__construct() when no arguments are passed
2006-09-10 16:34:08 +00:00
Hannes Magnusson
bc8377a81c
Make ReflectionFunctionAbstract abstract
...
- Move ReflectionFunctionAbstract::__construct to ReflectionFunction
- Move ReflectionFunctionAbstract::__toString to ReflectionFuncion
- Delcare ReflectionFunctionAbstract::__toString abstract
- fix couple of typos
2006-09-10 13:25:47 +00:00
Hannes Magnusson
413de3f4a5
Removed duplicated entry
2006-09-09 21:14:05 +00:00
Hannes Magnusson
ef4ff6fe9e
CURL->cURL
2006-09-09 20:04:50 +00:00
Derick Rethans
0c8042dc49
- MFH: The .c file is generated... so updating the .re file and cleaning up WS.
2006-09-09 12:26:33 +00:00
Antony Dovgal
d577b8058c
MFH: fix #38759 (PDO sqlite2 empty query causes segfault)
2006-09-09 10:59:05 +00:00
Antony Dovgal
51fbffba2f
MFh: fix #38721 (date_parse() invalid read)
2006-09-08 20:22:47 +00:00
Antony Dovgal
5c6f438319
implement feature request #38731 (openssl_pkey_new does not support DSA key generation)
...
patch by marci at balabit dot hu
2006-09-08 20:10:47 +00:00
Hannes Magnusson
267b0e9b03
Bump libxslt version to 1.1.0 (closes bug#35589)
2006-09-08 16:41:01 +00:00
Dmitry Stogov
b0c4150967
Prevent opening of empty filename ""
2006-09-08 05:52:00 +00:00
Michael Wallner
01ee23d980
- MFH: fix warnings
2006-09-07 14:24:42 +00:00
Ilia Alshanetsky
7f2cf9b373
Fixed memory leaks in openssl test #004
2006-09-07 14:11:06 +00:00
Antony Dovgal
88b59df262
add new tests
2006-09-07 11:48:30 +00:00
Rob Richards
36505f802c
MFH: fix def file for 2.6.26 (xmlXPathCompiledEvalToBoolean required in .27)
2006-09-07 11:25:14 +00:00
Rob Richards
f11c99638e
MFH: update def file (2.6.26)
2006-09-06 23:49:00 +00:00
Edin Kadribasic
cb5ad145ab
Fixed bug #38190 (threading issues on windows 2003)
2006-09-06 21:44:45 +00:00
Pierre Joye
3f0f73beba
- bump version, 5.2.0 will have zip-2.0.0-stable
2006-09-06 17:38:36 +00:00
Ilia Alshanetsky
8e86a189ec
Fixed bug #38464 (array_count_values() mishandles numeric strings).
2006-09-06 17:25:57 +00:00
Pierre Joye
e85a378770
- wrong cast, strlen is int
2006-09-06 17:24:41 +00:00
Nuno Lopes
c55eda9f3b
fix memleak of pcre study data
2006-09-06 16:30:59 +00:00
Nuno Lopes
b772a83282
fix one more parameter (int*->int)
2006-09-06 15:31:48 +00:00
Nuno Lopes
eee95ef3f0
MFH zend_parse_parameters() fixes
2006-09-06 15:19:41 +00:00
Pierre Joye
ad58ad265b
- MFH: zip_open takes only one parameter (Thx Nuno L.)
2006-09-06 13:03:55 +00:00
Antony Dovgal
37635d93e6
fix leak in pg_copy_to() when invalid resource was passed
2006-09-06 12:40:56 +00:00
Antony Dovgal
7d7f84562c
do not search for empty strings with strpos() and strrpos()
2006-09-06 12:07:32 +00:00
Antony Dovgal
b9351ab4b1
fix leaks & uninitialized vars
...
add test
2006-09-06 11:34:43 +00:00
Dmitry Stogov
76d748f372
Fixed support for endpoint's URL without <path> part (Rob)
2006-09-06 11:03:45 +00:00
Derick Rethans
5d6f6783ae
- MFH: Added support for the full ISO week number format. (2006-W52-7)
2006-09-06 07:34:51 +00:00
Nuno Lopes
aa6593f984
sync code and tests between HEAD and PHP_5_2 branches. what a confusion...
2006-09-05 15:23:26 +00:00
Nuno Lopes
dc8895ed82
finish the cleaning. also add a new test
2006-09-05 14:55:56 +00:00
Antony Dovgal
c57bfd9a66
add test
2006-09-05 14:04:41 +00:00
Antony Dovgal
52d0f82dc3
MFH: init variables
2006-09-05 13:59:26 +00:00
Nuno Lopes
dadc6b8a3b
remove some leftover code from the time tidy would throw exceptions
2006-09-05 13:50:22 +00:00
Nuno Lopes
4cff5db8f4
int->zend_bool where possible
2006-09-05 12:39:20 +00:00
Nuno Lopes
3ec9141f91
first fix from my new zend_parse_parameters_* checker
2006-09-05 12:30:35 +00:00
Antony Dovgal
8c53ff1e80
fix leak in imap_utf8(), avoid extra strlen() call
...
add test
2006-09-05 11:24:49 +00:00
Antony Dovgal
c622ded866
fix typo, add test
2006-09-05 10:36:24 +00:00
Nuno Lopes
731b68fbc5
fix gcc warning
2006-09-04 19:14:59 +00:00
Nuno Lopes
ae77214f7f
fix gcc warning
2006-09-04 18:59:01 +00:00
Ilia Alshanetsky
fc60217820
Fixed bug #38693 (curl_multi_add_handle() set curl handle to null).
2006-09-04 16:31:27 +00:00
Dmitry Stogov
8166284cfd
Fixed bug #38700 (SoapClient::__getTypes never returns)
2006-09-04 10:52:34 +00:00
Pierre Joye
532f577fe9
- add OPENSSL_VERSION_TEXT and OPENSSL_VERSION_NUMBER constants
...
- skip tests if openssl version < 0.9.7j (known to work)
2006-09-03 15:31:01 +00:00
Johannes Schlüter
688efae2d0
- Remove version number here as already done in HEAD
2006-09-03 11:27:50 +00:00
Michael Wallner
eca5331a81
- attempt to fix #38696
2006-09-03 09:09:56 +00:00
Johannes Schlüter
eb958c080e
- MFH: Add HAVE_REFLECTION define for win32 (by Steph)
2006-09-02 19:13:23 +00:00
Hannes Magnusson
948d84fd67
fix test
2006-09-02 15:42:00 +00:00
Nuno Lopes
5737b1e925
and add a test
2006-09-01 23:31:52 +00:00
Nuno Lopes
0f6f089698
omg. take #2 to fix the bug. sorry..
2006-09-01 23:25:29 +00:00
Nuno Lopes
c8b2f761f6
fix possible crash
2006-09-01 23:13:20 +00:00
Pierre Joye
d63e411e9a
- MFH
2006-08-31 22:52:54 +00:00
Pierre Joye
23919d9115
- MFH
2006-08-31 22:34:32 +00:00
Antony Dovgal
78c0279bb6
add test
2006-08-31 22:19:35 +00:00
Pierre Joye
2259578afa
- MFH: test for mulitple filter calls
2006-08-31 22:17:44 +00:00
Antony Dovgal
5d81cd24c9
MFH
2006-08-31 22:12:10 +00:00
Pierre Joye
5c7e3ba791
- skip these tests for RC3
...
- CGI does not read commandline options when it sees REQUES_METHOD
- errors are shown two times now, to be checked post RC3
2006-08-31 20:17:03 +00:00
Pierre Joye
72820abd7b
- MFH: pecl bug #8316 ,
...
empty strings are not int or float, return false (due to popular demand)
2006-08-31 18:29:29 +00:00
Antony Dovgal
75b8cd741b
last portion of z/Z fixes
2006-08-31 16:15:24 +00:00
Pierre Joye
50e9994b2c
- clean the auto trim (behaves like php_trim now)
...
- simplifies bool
- fix octal parsing
- boost int/hex/octal validate_int
2006-08-31 15:50:56 +00:00
Antony Dovgal
5bc435c4e8
fix typo in errmsg
2006-08-31 15:42:18 +00:00
Antony Dovgal
94b3210c38
ext/filter z/Z fixes
2006-08-31 15:17:23 +00:00
Antony Dovgal
c2a38c607b
more z/Z fixes
2006-08-31 14:41:24 +00:00
Antony Dovgal
0c482b5c64
more z/Z fixes
2006-08-31 14:21:21 +00:00
Antony Dovgal
de23f39d18
MFH: z/Z problem fixes
2006-08-31 13:58:31 +00:00
Antony Dovgal
821674720a
fix test
2006-08-31 13:50:11 +00:00
Antony Dovgal
fb21b5d059
MFH: fix problem with mixed arguments accepted as zval* causing leaks/segfaults when converting to other types
2006-08-31 13:48:17 +00:00
Antony Dovgal
c4e9ee2586
minor changes in iconv_substr() to avoid zval converting
2006-08-31 11:17:47 +00:00
Antony Dovgal
f74fbc1a06
fix warnings about nonextistent functions
2006-08-31 11:10:23 +00:00
Antony Dovgal
de3d3ced29
no such function
2006-08-30 22:53:51 +00:00
Antony Dovgal
434d5e9be4
MFH: fix leak, add test
2006-08-30 22:34:48 +00:00
Antony Dovgal
1dd6ee3f6d
fix segfault/leak, add test
2006-08-30 21:51:08 +00:00
Antony Dovgal
1f138e7e01
MFH: fix segfault in openssl_seal(), add test
2006-08-30 20:50:04 +00:00
Ilia Alshanetsky
45debc52ef
Upgrade PCRE lib to 6.7
2006-08-30 20:00:23 +00:00
Ilia Alshanetsky
307b3bcbb4
Fixed bug #33770 (https:// or ftps:// do not work when --with-curlwrappers
...
is used and ssl certificate is not verifiable).
2006-08-30 17:49:10 +00:00
Antony Dovgal
f231b76ba6
fix leak, add test
2006-08-30 16:46:59 +00:00
Antony Dovgal
644a796525
MFH: fix leak in iptcembed()
2006-08-30 16:30:14 +00:00
Antony Dovgal
b6ced95187
change ini handlers to produce E_ERROR if they are called during startup
2006-08-30 16:24:40 +00:00
Antony Dovgal
a8a3701ba6
fix leak
2006-08-30 16:12:43 +00:00
Antony Dovgal
f8fd45a735
MFH: change E_ERROR to E_WARNING when invalid argument has been passed
...
make sure ini_set() doesn't reset PS(mod) and PS(serializer) to invalid values
2006-08-30 15:43:10 +00:00
Antony Dovgal
86bf55a3d8
MFH: fix #38653 (memory leak in ReflectionClass::getConstant())
2006-08-30 10:42:49 +00:00
Hannes Magnusson
d6ec9d21ec
fix test
2006-08-30 09:44:53 +00:00
Derick Rethans
8388180466
- Upgrade timezone db to 2006k.
2006-08-29 20:20:05 +00:00
Ilia Alshanetsky
1b9e18d471
Corrected problems introduced by previous commit.
...
# Issue found by Stefan
2006-08-29 19:50:04 +00:00
Ilia Alshanetsky
5ea3080546
Fixed bug #38637 (curl_copy_handle() fails to fully copy the cURL handle).
2006-08-29 17:10:40 +00:00
Ilia Alshanetsky
7c618c40bc
Finalize implode() patch
2006-08-29 14:32:16 +00:00
Antony Dovgal
ffc3d4a076
fix win32 build
...
EG(precision) can be changed in runtime, even in php_implode() (hint: __toString()), so please think twice before optimizing
2006-08-29 12:20:18 +00:00
Rob Richards
c6b9662372
fix #38474 (getAttribute select attribute by order, even when prefixed)
...
add test
2006-08-28 23:36:23 +00:00
Ilia Alshanetsky
914d362176
Adjust code to avoid TSRMLS_FETCH
2006-08-28 23:33:37 +00:00
Antony Dovgal
7384c12b11
MFH: make sure ext/standard is down before ext/session ( fixes #38534 )
2006-08-28 19:57:57 +00:00
Antony Dovgal
ecfa880820
MFH: set BG(locale_string) to NULL on shutdown (partly fixes #38534 )
2006-08-28 18:58:47 +00:00
Antony Dovgal
615f2d7295
fix ZTS build
2006-08-28 09:56:28 +00:00
Hannes Magnusson
2d3056e94f
MFH:
...
- Fixed bug #33895 (missing math constants).
- Remove M_PI from math.c (its defined in php_math.h)
2006-08-27 19:14:43 +00:00
Ilia Alshanetsky
78d7b0bf0e
Optimize the operation of implode() on non-string parameters
2006-08-27 19:06:09 +00:00
Hannes Magnusson
a180abdbfd
fix tests on freebsd
2006-08-27 15:06:53 +00:00