Commit Graph

16896 Commits

Author SHA1 Message Date
Sara Golemon
7f367c9d83 Widen allowable range of values for 'window' bits.
Make -MAX_WBITS default (to match gzinflate() and gzdeflate())
2005-11-22 22:05:38 +00:00
Ilia Alshanetsky
80e04c2c35 Fixed command error in ftp:// wrapper.
# Thanks to Stefan Esser for discovering the problem.
2005-11-22 03:01:39 +00:00
Ilia Alshanetsky
13996df552 Fixed test 2005-11-22 01:57:02 +00:00
foobar
7243d31ae0 MFH: - Fixed header installing under phpize builds 2005-11-21 23:08:02 +00:00
foobar
e47c21e0bc test -e does not work with solaris 2005-11-21 19:06:04 +00:00
Derick Rethans
2bb4d8282c - Fixed bug #35143 (gettimeofday() ignores current time zone).
- Fixed tests due to class constants patch.
2005-11-20 20:14:24 +00:00
Ilia Alshanetsky
4020933726 Fixed bug #35303 (PDO prepare() crashes with invalid parameters). 2005-11-20 20:06:28 +00:00
foobar
db77890bbd MFH: - Fixed bug #35243 (php_mblen() crashes when compiled with thread-safety on Linux) 2005-11-20 18:07:28 +00:00
Marcus Boerger
cfeb12ccf5 - MFH Fix parameter parsing 2005-11-20 13:05:15 +00:00
Antony Dovgal
493c9fcf93 MFH: fix #35293 (PDO segfaults when using persistent connections) 2005-11-19 16:41:08 +00:00
Rui Hirokawa
60949ca571 MFH: fixed #35253 length of the encoded string vilolates a RFC. 2005-11-19 08:25:32 +00:00
Frank M. Kromann
6ed54ddc79 MFH: Fix #33201 Crash when fetching some data types 2005-11-18 21:23:20 +00:00
Frank M. Kromann
ae75d4350d MFH: Fix #32009 crash when mssql_bind() is called more than once 2005-11-18 20:40:52 +00:00
Frank M. Kromann
da2d7e7229 MFH: Fix #33153 Crash in mssql_next_result(). 2005-11-18 19:14:32 +00:00
foobar
7b073bbad8 - Make sure --with-readline is used only when --with-libedit is not used. 2005-11-18 15:07:39 +00:00
Dmitry Stogov
8b4e1abdb0 Fixed bug #35273 (Error in mapping soap - java types) 2005-11-18 11:00:15 +00:00
Marcus Boerger
c21ced1ec9 - Not in this branch 2005-11-17 22:35:27 +00:00
Rasmus Lerdorf
aa749a1269 Missing }}} 2005-11-17 21:56:04 +00:00
Ilia Alshanetsky
eb0a6a666f Moved date constants into the date class, they all class constants now. 2005-11-17 21:05:30 +00:00
Sara Golemon
1340c04976 MFH (r-1.51) #32371 php://input sometimes returns duplicate data 2005-11-17 19:40:38 +00:00
Ilia Alshanetsky
95c6c6d2cd Fixed test. 2005-11-17 18:25:16 +00:00
Ilia Alshanetsky
d734669230 Fixed bug #35248 (sqlite_query() doesnt set error_msg when return value is
being used).
2005-11-17 14:38:36 +00:00
Derick Rethans
924ae32ddf - Fixed bug #35218 (strtotime no longer ignores timezone comments like "(PST)") 2005-11-17 13:04:31 +00:00
Derick Rethans
18606377dd - Fixed typo 2005-11-17 12:33:36 +00:00
foobar
a0303c772a MFH: Renamed config.m4 to config0.m4
# PCRE configure tests must be run before e.g. ext/filter
2005-11-17 10:02:42 +00:00
foobar
52747127f8 MFH 2005-11-17 09:58:28 +00:00
foobar
158ebbd9b5 MFH 2005-11-16 22:14:32 +00:00
Ilia Alshanetsky
cce5e8c9ea Updated tests to use [] instead of {} 2005-11-16 15:13:20 +00:00
Dmitry Stogov
8bd18e174b Fixed bug #35229 (call_user_func() crashes when arguement_stack is nearly full) 2005-11-16 09:31:21 +00:00
Wez Furlong
0bd9518f8c Closes PECL #5944; binding an invalid parameter can lead to segfaults.
Modified patch provided by curt@php.net.
2005-11-16 06:32:33 +00:00
Ilia Alshanetsky
c4da6009bb MFH: Fixed possible crash in http:// wrapper. 2005-11-15 14:46:34 +00:00
Dmitry Stogov
d3e0b57e1a Allow recursive calls to __get/__set for different properties 2005-11-15 14:28:40 +00:00
Dmitry Stogov
3c19326480 Allow recursive calls to __get/__set for different properties 2005-11-15 14:18:15 +00:00
Antony Dovgal
23a3fdbf04 MFH: call zend_objects_destroy_object() explicitly
fix segfault when intern->time is NULL
2005-11-15 14:08:03 +00:00
Dmitry Stogov
64931b62cc Allow recursive calls to __get/__set for different properties 2005-11-15 13:35:23 +00:00
Frank M. Kromann
fe306ed1a6 Change max_procs from 25 to library default. This will make FreeTDS connections work a bit better 2005-11-14 23:14:25 +00:00
Antony Dovgal
241aa9a59d MFH: fix #35197 (Destructor is not called) and similar issues in other extensions 2005-11-14 22:03:02 +00:00
foobar
592e78ab87 MFH: - Fixed bug #35179 (tokenizer extension needs T_HALT_COMPILER) 2005-11-10 07:50:59 +00:00
Andrey Hristov
df2c11b731 test fetching of unsigned int(11) 2005-11-08 14:43:49 +00:00
Andrey Hristov
64e8f63978 fix test - putting signed into unsigned produces 0, if not in strict mode
(in strict mode this will fail)
2005-11-08 14:06:40 +00:00
Andrey Hristov
00a9f063f8 on 32bit platform if the column is UNSIGNED INT(11) and the value
is greater than 2^31-1 then convert to string. on 64bit this is of no
problem because there long inside zval is big enough to keep unsigned
int(11)
2005-11-08 13:50:50 +00:00
Dmitry Stogov
270640283e Fixed bug #35142 (SOAP Client/Server Complex Object Support) 2005-11-08 08:30:19 +00:00
Marcus Boerger
134b2718d4 - Add new tests 2005-11-07 18:38:20 +00:00
Ilia Alshanetsky
8e2de517bb Fixed bug #35135 (PDOStatment without related PDO object may crash). 2005-11-07 16:53:15 +00:00
Marcus Boerger
bb293e15c3 - Drop unnecessary param 2005-11-07 13:08:24 +00:00
Marcus Boerger
ae1d56d098 - MFH Bug #32223 weird behaviour of pg_last_notice 2005-11-07 12:57:49 +00:00
Dmitry Stogov
88edad9f08 Fixed bug #35091 (SoapClient leaks memory) 2005-11-07 10:05:35 +00:00
Marcus Boerger
33c650020a - Remve bogus part of test 2005-11-06 12:25:53 +00:00
Marcus Boerger
71ad4dd19b - Fix parameter parsing 2005-11-06 11:58:34 +00:00
Marcus Boerger
c388f97ac9 - Fix test expectations 2005-11-06 10:51:29 +00:00
foobar
d4a1506d52 Fix bad MFH 2005-11-06 02:59:18 +00:00
Rasmus Lerdorf
b03351633a And simplexml doesn't need dom anymore to do the import 2005-11-05 22:37:18 +00:00
Rasmus Lerdorf
04a291d39a This SimpleXML requirement is no longer needed and by removing it we
remove a circular dep where it was impossible to build simplexml shared
and not load it.
2005-11-05 22:25:12 +00:00
Ilia Alshanetsky
82814fc852 Fixed bug #31971 (ftp_login fails on some SSL servers).
Patch by: frantisek at augusztin dot com
2005-11-05 22:02:15 +00:00
Wez Furlong
2556b354b3 improve configure script.
Fixes #35107; compile failure with MySQL 5
2005-11-05 16:20:06 +00:00
Rui Hirokawa
00dfb7dc14 MFH: fixed garbled multibyte characters. 2005-11-05 04:49:57 +00:00
Wez Furlong
00df9b67ce Fixes PECL Bug #5868; wrong iters count for OCIStmtExecute 2005-11-04 18:11:40 +00:00
Marcus Boerger
bf9a25d0bb - Fix test expectations - we are no detecting the error earlier
# Unfortunatley we also lower the severity here because sqlite's error
# facility is dealing with the problem at this early stage as E_WARNING.
2005-11-03 23:48:09 +00:00
Marcus Boerger
2ca2153a06 - MFH Add missing check flag 2005-11-03 22:06:30 +00:00
Marcus Boerger
e464f0f456 - MFH Try fixing #35088 2005-11-03 21:59:13 +00:00
Marcus Boerger
7ae7cc363a - MFH Add missing check 2005-11-03 21:28:43 +00:00
foobar
528e7869b6 MFH: - Fixed bug #35078 (configure does not find ldap_start_tls_s) 2005-11-03 20:41:13 +00:00
Michael Wallner
17d16cf2af - MFB44: #34851 (SO_RECVTIMEO and SO_SNDTIMEO socket options expect integer
parameter on Windows)
2005-11-03 15:00:51 +00:00
foobar
edc87ef840 MFH: Fixed bad usage of php_checkuid() 2005-11-02 21:26:25 +00:00
Marcus Boerger
8098790208 - Add missing test 2005-11-02 20:32:21 +00:00
Marcus Boerger
50ba309495 - Make spl_autoload_register use zend_is_callable_ex() 2005-11-02 20:31:01 +00:00
Derick Rethans
703fc059bf - MFH: Fixed initializing and argument checking for posix_mknod(). 2005-11-02 15:53:49 +00:00
foobar
e02f8809f1 - Fixed test. Some people might actually be using php.ini-dist which
has precision set to 12. (and this test results need 14)
2005-11-01 22:39:53 +00:00
Marcus Boerger
1d0b88d316 - Update docu 2005-11-01 21:48:25 +00:00
Marcus Boerger
376d4554fb - MFH the iterator base interface is Traversable not IteratorAggregate 2005-11-01 21:18:24 +00:00
Frank M. Kromann
623a2021ab MFH: Fix #35037. Selecting a uniqueidentifier would return unknown data type when used with freetds. 2005-11-01 18:15:44 +00:00
foobar
289402edc6 MFH: - Added missing safe-mode checks
# Added by replacing the existing open_basedir checks with a macro
# Also, the filename passed might be null, etc. so it's not very good
# idea to pass to php_error_docref() (catch by Ilia)
2005-11-01 17:05:09 +00:00
foobar
f803888510 MFH: Hiding bugs is not purpose of the regression tests. 2005-11-01 14:36:37 +00:00
Edin Kadribasic
fbc6470cb6 Fix ZTS build 2005-11-01 14:18:20 +00:00
Wez Furlong
3d9af317e6 update ready for release spree today 2005-11-01 13:14:10 +00:00
Wez Furlong
6f63c45639 Fix #35032; pdo_dblib doesn't find includes on some systems 2005-11-01 13:12:52 +00:00
Dmitry Stogov
e98a40f1fa Fixed SIGSEGV 2005-11-01 11:11:35 +00:00
Wez Furlong
38c5dd2929 prep for PECL release 2005-11-01 03:16:36 +00:00
Wez Furlong
dbc09d3325 Closes PECL Bug #5633.
Build tested with 5.0.x as PECL, 5.1 as PECL and 5.1 static
2005-11-01 03:13:32 +00:00
Wez Furlong
b6fe60ab52 prep for PECL release 2005-11-01 03:10:09 +00:00
Wez Furlong
6070381f9d prep for pecl release 2005-11-01 03:07:41 +00:00
Wez Furlong
872661b91d prep for PECL release 2005-11-01 03:04:49 +00:00
Wez Furlong
b3b9ee1467 hrmm, typo fix. 2005-11-01 03:04:25 +00:00
Wez Furlong
598f182c29 prep for PECL release 2005-11-01 02:46:12 +00:00
Wez Furlong
58a14f225d Prep for PECL release 2005-11-01 02:44:11 +00:00
Brian France
890bd3f002 Fixed phpize build (default PHP_OPENSSL to no if not set) 2005-11-01 00:32:21 +00:00
Ilia Alshanetsky
0ba24fb65a Additional open_basedir/safe_mode checks. 2005-10-31 23:44:40 +00:00
Marcus Boerger
9622ccface - Drop unnecessary exports to prevent forward BC problems 2005-10-31 21:20:44 +00:00
Marcus Boerger
24a80c3ebf - Fix remaining memleaks
# all tests pass for me now for the first time in:
# pgsql, mysql, sqlite, sqlite2
2005-10-31 07:47:40 +00:00
Wez Furlong
b74698f135 fix misinterpretation of data when overriding types via bindColumn.
Very slightly modified patch from Marcus.
2005-10-31 03:23:38 +00:00
Wez Furlong
2baf1500e0 Closes PECL Bug #5722; BLOB support was half-baked. 2005-10-31 02:11:27 +00:00
Wez Furlong
40c24a65c4 improve test portability.
improve infrastructure for LOB support.
2005-10-31 02:07:38 +00:00
Marcus Boerger
e7494a7e9e - Fix memleak 2005-10-30 22:17:52 +00:00
Ilia Alshanetsky
2dc3862c7f Improve iconv skip conditions 2005-10-30 18:07:47 +00:00
Ilia Alshanetsky
57510065ce Fixed bug #35022, #35019 (Regression in the behavior of key/current
functions).
2005-10-30 18:03:30 +00:00
Marcus Boerger
cea6a783af - MFH Add docu 2005-10-30 16:07:45 +00:00
Ilia Alshanetsky
941a94ead4 Simplify code. 2005-10-30 13:48:30 +00:00
Ilia Alshanetsky
d22d6910ad Fixed Bug #35014 (array_product() always returns 0). 2005-10-30 13:44:26 +00:00
Wez Furlong
0139cd0e53 Closes PECL Bug #5772; FETCH_FUNC broken for mixed case function names 2005-10-29 03:11:46 +00:00
Wez Furlong
7af8089096 Closes PECL #5809; PDOStatement::execute(array(...)) would modify its args.
It should behave like bindValue() not bindParam().
2005-10-29 03:01:19 +00:00
Wez Furlong
588d88960c clean up the test2 table that some tests create 2005-10-29 02:58:24 +00:00
Wez Furlong
c28a9a4e5c Closes PECL Bug #5802 2005-10-29 02:41:50 +00:00
Wez Furlong
e0924b7451 Close PECL Bug #5780 2005-10-29 02:36:30 +00:00
Wez Furlong
b2424b2e08 argh! we don't want to NULL the stmt here; freeing the results is not the same
as destroying the prepared statement handler, so we're leaking and breaking, as
can be seen by running the test suite.

brown paper bag for PDO in PHP 5.1RC4?
2005-10-29 02:16:35 +00:00
Wez Furlong
9bd48c2e15 Closes PECL Bug #5645; emits mysql client library version in MINFO output. 2005-10-29 01:58:22 +00:00
Antony Dovgal
579c9abfb3 MFH: quick fix for #35003 (Warning: PDOStatement::fetch(): column 0 data was too large for buffer and was) 2005-10-28 15:02:09 +00:00
Antony Dovgal
e9de9f3aeb fix TSRM build 2005-10-28 12:00:10 +00:00
Dmitry Stogov
a3cb94abff Fixed bug #34982 (array_walk_recursive() modifies elements outside function scope) 2005-10-28 10:06:43 +00:00
Dmitry Stogov
fa406902d5 Fixed bug #34982 (array_walk_recursive() modifies elements outside function scope) 2005-10-28 09:57:35 +00:00
Dmitry Stogov
36a14076a8 Fixed bug #34725 (CLI segmentation faults during cleanup in ZTS if ext/pcre is DSO) 2005-10-28 08:30:41 +00:00
Anantha Kesari H Y
3815b367d5 NetWare LibC sdk has stdarg.h
--Kamesh
2005-10-28 07:52:58 +00:00
Rob Richards
2e8f773eee MFH: fix crash setting attr from foreign doc (throws exception)
add test
2005-10-27 23:51:22 +00:00
Antony Dovgal
a9cac89541 MFH: commit forgotten part 2005-10-27 19:39:38 +00:00
Antony Dovgal
9ffefbc74e MFH: add MySQL options and corresponding constants 2005-10-27 17:34:24 +00:00
Antony Dovgal
7c01510b95 MFH: free && set to NULL S->stmt 2005-10-27 17:26:19 +00:00
Ilia Alshanetsky
bac9ab777e One check is enough. 2005-10-27 14:06:39 +00:00
Rathna N
ced39e3168 Tests for calendar extension 2005-10-27 11:05:50 +00:00
Wez Furlong
dcd7879556 fixes PECL Bug #5589 2005-10-27 03:51:23 +00:00
Dan Scott
97ec02ce81 Test PDO::ATTR_CASE attribute. 2005-10-26 23:09:06 +00:00
Antony Dovgal
4c98758328 MFH: make compilers happy 2005-10-26 22:47:23 +00:00
Antony Dovgal
5b502880b6 MFH: fix #34996 (ImageTrueColorToPalette() crashes when ncolors is zero) 2005-10-26 21:38:20 +00:00
Antony Dovgal
b122cd4b08 MFH: fix #34977 (Compile failure on MacOSX due to use of varargs.h) 2005-10-26 13:50:39 +00:00
foobar
143d1c8011 MFH 2005-10-26 11:33:25 +00:00
Dan Scott
f987de46b4 Correct non-standard SQL. Standard SQL would define "DEFAULT NULL" -- but
that is the default value if the DEFAULT clause is omitted anyways.
2005-10-26 06:23:12 +00:00
Marcus Boerger
936b1e56c3 - MFH zend_is_callable_ex() has been changed 2005-10-25 23:20:29 +00:00
Pierre Joye
af888a4807 - fix #34980, divisor and offset never passed correctly (s/float/double/) 2005-10-25 23:00:19 +00:00
Michael Wallner
a329ecd8c4 fix bug #34965 tidy is not binary safe 2005-10-25 18:04:59 +00:00
Antony Dovgal
2af3190a3d use correct enum type for the arg 2005-10-25 16:02:33 +00:00
Ilia Alshanetsky
e13d51cea3 MFH: Fixed bug #34968 (bz2 extension fails on to build on some win32 setups). 2005-10-25 15:53:06 +00:00
Michael Wallner
2c5c8c161c - fix the fix 2005-10-25 15:35:39 +00:00
Michael Wallner
3bbd4b17a9 - MFH: fix bug #34821 zlib encoders fail on widely varying binary data on windows 2005-10-25 15:16:20 +00:00
Antony Dovgal
e415260868 MFH: apply workaround for the leak only when GLIBC is used 2005-10-25 14:57:14 +00:00
Michael Wallner
60efdff75f - MFH: thread safe SSL crypto locks, fixes bug #33760 2005-10-25 14:32:33 +00:00
Ilia Alshanetsky
9490f1c847 Do not run tests if iconv extension is unavailable. 2005-10-25 14:22:56 +00:00
Antony Dovgal
a0c8d5d80a MFH: fix problem with garbage appearing in hostnames 2005-10-25 08:19:33 +00:00
Ilia Alshanetsky
6b46a441cd Fixed compiler warning 2005-10-25 03:53:25 +00:00
foobar
dda1f722e2 MFH 2005-10-24 22:46:26 +00:00
Antony Dovgal
57b520541b MFH: fix #34970 (ldap configuration issues) 2005-10-24 20:24:35 +00:00
Marcus Boerger
5460d2dad6 - Fix issue with entities in attributes 2005-10-24 08:29:36 +00:00
Dmitry Stogov
a0dd931d85 Fixed bug #34950 (Unable to get WSDL through proxy) 2005-10-24 07:44:17 +00:00
Dmitry Stogov
f9fb94ff00 Reverted patch for bug #34934. Bug is marked as bogus. 2005-10-24 06:58:42 +00:00
Antony Dovgal
0a7b720094 MFH: fix #34938 (dns_get_record() doesn't resolve long hostnames and leaks) 2005-10-23 18:34:26 +00:00
Ilia Alshanetsky
76ad7425ad Fixed memory leak on error. 2005-10-23 15:29:09 +00:00
Wez Furlong
ea544cf38f Closes PECL Bug #5750; uri: dsn is not handled correctly.
Patch from curt@php.net
2005-10-23 04:10:20 +00:00
Wez Furlong
890f7f46b4 Fix #34957; file access checks should use VCWD_ACCESS() 2005-10-22 17:02:10 +00:00
Antony Dovgal
23d3ddea25 fix ws 2005-10-21 15:53:22 +00:00
Dmitry Stogov
75a548a7e9 Fixed bug #34934 (offsetExists is not called from array_key_exists) 2005-10-21 15:19:40 +00:00
Antony Dovgal
b260064bbf MFH: fix possible crash in dns_get_record()
cleanup code a bit
(partly fixes #34938)
2005-10-21 13:49:01 +00:00
Dmitry Stogov
af0adbed39 Fixed fgetcsv() and fputcsv() inconsistency. 2005-10-21 12:13:39 +00:00
Dmitry Stogov
7c3bdf444d Fixed bug #34782 (token_get_all() gives wrong result) 2005-10-21 09:32:40 +00:00
Dmitry Stogov
863bf8a574 Fixed bug #29268 (__autoload() not called with Reflection->getClass()) 2005-10-21 08:03:28 +00:00
Ilia Alshanetsky
d4696abdb9 Fixed tests to work with ZTS builds 2005-10-20 19:22:09 +00:00
Antony Dovgal
e7925c9767 MFH: use proper constants 2005-10-20 16:54:48 +00:00
Antony Dovgal
159bae3d99 MFH: use constants instead of their values 2005-10-20 16:51:03 +00:00
Antony Dovgal
5fdeb391f3 MFH: fix copy/paste typo 2005-10-20 16:47:18 +00:00
Derick Rethans
719e78c78f - Fixed bug #34874 and #33546 (Problems with lone daynames). 2005-10-19 21:08:35 +00:00
Ilia Alshanetsky
4d0439e487 MFH: Fixed bug #34623 (Crash in pdo_mysql on longtext fields). 2005-10-19 14:11:56 +00:00
Ilia Alshanetsky
5916b8dd04 MFH: Change E_ERROR to E_WARNING when more_entropy flag is off on Cygwin. 2005-10-19 13:41:44 +00:00
foobar
e264b8a4d3 MFH: Fixed error messages and tests 2005-10-19 11:18:51 +00:00
Dmitry Stogov
4a6faadcce Fixed memory leak in ZTS mode 2005-10-19 07:54:53 +00:00
Derick Rethans
6aed41421e - MFH: Improved error messages a bit. 2005-10-19 07:22:20 +00:00
Ilia Alshanetsky
cbb928b8eb MFH: Do not set authorizer unless safe_mode or open_basedir are being used. 2005-10-18 22:51:10 +00:00
Derick Rethans
3e46adb183 - MFH: Fixed bug #33829 (mime_content_type() returns text/plain for gzip and
bzip files).
2005-10-18 15:04:07 +00:00
Antony Dovgal
fb57a8363e unused var 2005-10-18 14:50:48 +00:00
Ilia Alshanetsky
12ff2532c9 Fixed bug #34899 (Fixed sqlite extension compile failure). 2005-10-18 14:33:19 +00:00
Antony Dovgal
62ca4594f8 MFH: use php_error_docref() instead of php_error() everywhere 2005-10-18 13:51:50 +00:00
Antony Dovgal
bddc4e6c1d MFH: fix mime_magic problems with ZTS 2005-10-18 12:41:29 +00:00
Antony Dovgal
d8e5ee075f MFH: fix bug #34902 (mysqli::character_set_name() - undefined method) 2005-10-18 10:02:36 +00:00
Dan Scott
e89500cdfb Apply patch for #34900, sight unseen. 2005-10-18 01:05:22 +00:00
Ilia Alshanetsky
5a7596591f ZTS fixes 2005-10-18 00:20:52 +00:00
Ilia Alshanetsky
8b91c8f32e ZTS test fix 2005-10-18 00:17:27 +00:00
Ilia Alshanetsky
03418c1d36 Fixed test for ZTS builds 2005-10-18 00:15:02 +00:00
Ilia Alshanetsky
5a29be9b7d Fixed tests for ZTS builds 2005-10-18 00:12:30 +00:00
Ilia Alshanetsky
d467331307 Fixed test for ZTS builds 2005-10-18 00:06:20 +00:00
Rob Richards
fbda9ce9f4 MFH: only need context set once 2005-10-17 19:50:20 +00:00
Ilia Alshanetsky
197142b3e0 MFH: Properly fixed bug #34456 (original patch completely reverted). 2005-10-17 15:31:10 +00:00
Derick Rethans
8f4112bfdd - Fixed bug #29361 (var_export() producing invalid code). (Derick) 2005-10-17 14:38:12 +00:00
Ilia Alshanetsky
b0f1719ee5 MFH: Fixed bug #34884 (Possible crash in ext/sqlite when sqlite.assoc_case
is being used).
2005-10-17 14:30:35 +00:00
Ilia Alshanetsky
8d476ded8e MFH: Further URL validations in safe_mode/open_basedir configs. 2005-10-17 02:43:20 +00:00
foobar
e7bd6769df MFH 2005-10-16 20:41:26 +00:00
Derick Rethans
0893e10ac3 - Updated timezone database to version 2005.14. 2005-10-15 18:13:19 +00:00
Derick Rethans
33921efc44 - Fixed timezone guessing on Windows. (Derick, Nuno) 2005-10-15 18:12:29 +00:00
Georg Richter
b343aa9945 fixed an error in mysqli_fetch_fields (function returns NULL instead of array
when row_number > num_fields).
Thanks to Marc Deslisle and phpMyAdmin team for the report.
2005-10-15 06:32:26 +00:00
Ilia Alshanetsky
a218299d6a ZTS fix 2005-10-14 15:30:39 +00:00
Ilia Alshanetsky
d18cdaf6dd MFH: fix test failures 2005-10-13 21:26:45 +00:00
Rob Richards
709f73aea7 MFH: move constants to class 2005-10-13 21:20:12 +00:00
Rob Richards
646500bfe9 MFH: insure stream usage 2005-10-13 20:34:37 +00:00
Marcus Boerger
001f506533 - MFH SPL example was changed, so change PDO test accordingly 2005-10-13 19:49:59 +00:00
Marcus Boerger
4c8afd895a - MFH Add ability to bypass key() surrounding and make that default 2005-10-13 19:49:27 +00:00
foobar
7e2bccf776 MFH 2005-10-13 19:28:58 +00:00
Marcus Boerger
491674bea6 - Do not try to autoload the class, use internal only 2005-10-13 18:37:19 +00:00
Antony Dovgal
c47fb30b5b MFH: fix #34856 (configure fails to detect libiconv's type) 2005-10-13 15:23:11 +00:00
Antony Dovgal
81b8096ea8 MFH: fix #34855 (ibase_service_attach() segfault on AMD64) 2005-10-13 12:58:48 +00:00
Derick Rethans
cd90395cb6 - MFH: Apperently you can't store NULL pointer values into Zend hashes - god
know why not - so we won't store those in the cache anymore.
2005-10-12 19:49:59 +00:00
Ilia Alshanetsky
49678f0908 MFH: Fixed bug #34758 (PDO_DBLIB did not implement rowCount()). 2005-10-12 15:03:03 +00:00
Antony Dovgal
25a82d8a5c fix compile warnings (again) 2005-10-12 14:43:30 +00:00
Antony Dovgal
67f27b0aef make GCC happy and improve CS a bit 2005-10-12 14:29:26 +00:00
Antony Dovgal
305e946358 MFH: nuke unused vars 2005-10-12 14:04:02 +00:00
Rob Richards
2580744813 MFH: use spprintf where appropriate 2005-10-12 13:58:10 +00:00
Antony Dovgal
2bc716c131 fix TS build 2005-10-12 13:31:46 +00:00
Rob Richards
855f7dfd95 MFH: Fixed Bug #27908 (xml default_handlers not being called)
Fix memleak when entitydecls are parsed
remove old ifdefs
2005-10-12 03:21:05 +00:00
foobar
c0ec353655 fix test 2005-10-11 18:11:13 +00:00
Ilia Alshanetsky
ea4734926e MFH: Fixed bug #33167 (Possible crash inside pg_fetch_array()). 2005-10-11 16:19:14 +00:00
Ilia Alshanetsky
cc034dcb38 MFH: Fixed bug #34742 (ftp wrapper failures caused from segmented command
transfer).
2005-10-11 14:33:51 +00:00
Antony Dovgal
ad73bdcbe0 fix #34757 (iconv_substr() gives "Unknown error" when offset > string length) 2005-10-11 13:50:52 +00:00
Dmitry Stogov
bb8e5de181 Fixed bug #32455 (wrong setting property to unset value) 2005-10-11 10:15:40 +00:00
Dmitry Stogov
631da59b50 Fixed bug #34790 (preg_match_all(), named capturing groups, variable assignment/return => crash) 2005-10-11 06:47:48 +00:00
Antony Dovgal
062626d03e use proper macros and vars instead of strlen() 2005-10-10 20:06:35 +00:00
Antony Dovgal
a5cea052e8 fix #34818 (new mysqli_stmt() and several others crash if the first parameter is not a valid mysqli_link) 2005-10-10 20:03:00 +00:00
Derick Rethans
44205dc58a - MFH: Make sure the tzcache' dtor doesn't cleanup cached misses in the lookup
tables.
2005-10-10 16:42:32 +00:00
George Schlossnagle
9d79a201f1 Test seems potentially bogus. 2005-10-10 16:01:28 +00:00
Dmitry Stogov
c61c3dd422 Fixed XML Schema error 2005-10-10 15:40:53 +00:00
Ilia Alshanetsky
a5fe9808aa MFH: Fixed bug #34809 (FETCH_INTO in PDO crashes without a destination object). 2005-10-10 14:44:16 +00:00
Antony Dovgal
410e106aae fix #34810 (mysqli::init() and others use wrong $this pointer without checks) 2005-10-10 12:57:55 +00:00
Antony Dovgal
c797466259 MF44: fix #33383 (crash when retrieving empty LOBs) 2005-10-10 10:44:39 +00:00
foobar
ad28ef81c0 MFH: copypastetypofix 2005-10-10 10:28:53 +00:00
foobar
d41c6dc6d6 MFH 2005-10-10 09:50:35 +00:00
Marcus Boerger
656f02fada - MFH Fix Logic 2005-10-10 06:09:25 +00:00
foobar
036f28f115 MFH: fix test 2005-10-10 05:57:21 +00:00
foobar
60d70459f3 extra spaces removed 2005-10-10 05:55:44 +00:00
foobar
b1d0f9bb43 typofix 2005-10-09 20:44:02 +00:00
foobar
e403b15ebb MFH: - Fixed bug #34796 (missing SSL linking in ext/ftp when configured as shared). 2005-10-09 20:39:42 +00:00
Ilia Alshanetsky
412a28d124 MFH: Fixed bug #34777 (Crash in dblib when fetching non-existent error info). 2005-10-09 19:00:34 +00:00
Andrey Hristov
24af08eb80 add charsetnr and length to the object returned. this is kind of bug
because fetch_fields() and fetch_field() return that info and
fetch_field_direct() does not
2005-10-09 17:03:01 +00:00
Marcus Boerger
91682f88e4 - MFH Make test check for PlPgSQL before using it 2005-10-09 15:58:13 +00:00
Marcus Boerger
a8c5828ce0 - MFH Add new test 2005-10-09 15:14:22 +00:00
Marcus Boerger
de03dd6387 - MFH Fix potential SEGV with overloaded objects 2005-10-09 14:42:08 +00:00
Marcus Boerger
bc81f55541 - MFH Bugfix #34704 (Infinite recursion due to corrupt JPEG) 2005-10-09 14:40:01 +00:00
Dmitry Stogov
303a642a0d Fixed bug #34788 (SOAP Client not applying correct namespace to generated values) 2005-10-09 12:41:44 +00:00
Pierre Joye
5dd9ad8f53 -fix build as shared or separate from main build (bfrance) 2005-10-09 12:06:27 +00:00
Dmitry Stogov
5ef3e0c57b Fixed bug #34787 (SOAP Client not handling boolean types correctly) 2005-10-09 11:05:46 +00:00
Marcus Boerger
11f0ff9c1a - Update docu
- Synch class consts with HEAD
- Synch example RecursiveTreeIterator (as far as possible)
2005-10-08 19:09:58 +00:00
Georg Richter
7357ac0b96 fix for bug 34785:
added support for parent::__construct (mysqli_statement and mysqli_resultset)
  fixed failed testcases when sql_mode is in effect
2005-10-08 15:08:07 +00:00
Derick Rethans
e3c8bd51de - MFH: Fixed bug #34676: missing support for strtotime("midnight") and
strtotime("noon").
2005-10-08 14:31:17 +00:00
Marcus Boerger
470da4e960 - MFH Add new test 2005-10-07 23:23:44 +00:00
Derick Rethans
5e46f636a5 - MFH: Make the Windows guessing routines actually return the guessed timezone. 2005-10-07 20:32:17 +00:00
George Schlossnagle
1f7c9e197c Test simple derivation from restriction. 2005-10-07 15:05:06 +00:00
Derick Rethans
6df3e40977 - MFH: Change parameter name because NetWare expands "tzname" as a macro to
something else.
2005-10-07 13:33:31 +00:00
Dmitry Stogov
2cbe63513c Fixed bug #34766 (possible crash on HTTP redirection) 2005-10-07 11:56:19 +00:00
Dmitry Stogov
e011229598 Reverted last George patches 2005-10-07 08:23:35 +00:00
Derick Rethans
969f05a709 - MFH: Fixed bug #34771 (strtotime() fails with 1-12am/pm). 2005-10-07 08:09:01 +00:00
Derick Rethans
595ee08653 - MFH: New timezonemap data. 2005-10-07 08:06:40 +00:00
George Schlossnagle
fa3394eccb Permit correct usage of inherited encoders (from restriction/extension
"base" directives) for xml response decoding.
2005-10-07 05:14:52 +00:00
Marcus Boerger
dec65f584b - MFH ReflectionClass::isInstantiable and abstract classes 2005-10-06 22:46:33 +00:00
George Schlossnagle
abe0e61801 MFH: support complex types in restrictions and extensions 2005-10-06 22:30:24 +00:00
Ilia Alshanetsky
71bd44ac02 MFH: Added missing safe_mode checks. 2005-10-06 20:47:41 +00:00
Rob Richards
e1791bedd5 MFH: use sizeof instead of define 2005-10-06 18:48:19 +00:00
Derick Rethans
f42742f796 - MFH: Fixed Windows build (patch by Mike) 2005-10-06 13:03:43 +00:00
Rob Richards
93ffc14028 MFH: fix buffer lengths passed to snprintf 2005-10-05 22:36:10 +00:00
Antony Dovgal
b33c2d9b17 nuke unused variable 2005-10-05 22:17:38 +00:00
Antony Dovgal
8a929e054e use the right constant name in error messages 2005-10-05 22:14:52 +00:00
Marcus Boerger
b29b16af2e - Synch RecursiveIteratorIterator, fixes a few memory corruptions/memleaks 2005-10-05 21:59:13 +00:00
Marcus Boerger
3ced246dfc - MFH Update examples 2005-10-05 19:11:51 +00:00
Rob Richards
3282497f82 MFH: fix ZTS build 2005-10-05 16:40:21 +00:00
Ilia Alshanetsky
bcf354a97a MFH: Missing safe_mode/open_basedir checks for file uploads. 2005-10-05 14:35:30 +00:00
Derick Rethans
3abc925a8a - Committing some changes that make PDO+SPL not crash anymore. These are done
by Marcus. and I'm committing them in order to actually use PHP 5.1 without
segfaulting when apache starts. This is not necessary the best solution.
2005-10-05 13:51:46 +00:00
Derick Rethans
e1661efced - Implement correct Windows timezone guessing. 2005-10-05 11:06:56 +00:00
Antony Dovgal
1f6debba12 MFH: fix test 2005-10-05 09:00:36 +00:00
Derick Rethans
33a91ad309 - Fixed typo. 2005-10-05 08:23:39 +00:00
Derick Rethans
c3678550a3 - Implemented tzcache
- Attempt at Windows detection code
2005-10-05 08:20:44 +00:00
Dmitry Stogov
6cbe6d7d52 Fixed throwing exceptions derived from SoapFault 2005-10-05 07:02:30 +00:00
Antony Dovgal
1b8ecbcf54 MFH: fix #34723 (array_count_values() strips leading zeroes) 2005-10-04 20:48:17 +00:00
Antony Dovgal
e0e9b5ac39 fix #34731, patch by novicky at aarongroup dot cz 2005-10-04 18:15:18 +00:00
Antony Dovgal
3d8dc4d3b1 fix #32179 (xmlrpc_encode() segfaults with recursive references) 2005-10-04 11:18:02 +00:00
Marcus Boerger
0a50368580 - Add optional dep for SPL under windows too 2005-10-04 07:47:11 +00:00
Marcus Boerger
4d631ec31b - Add optional dependency to SPL 2005-10-04 07:44:56 +00:00
Antony Dovgal
6df490d0ca MFH: nuke warning 2005-10-03 23:48:21 +00:00
Antony Dovgal
262cbbe8d0 include php_version_compare() declaration and eliminate warning 2005-10-03 23:37:10 +00:00
Antony Dovgal
ffe605f2ed free cls_methods correctly and fix segfault on shutdown
(no bug entry and MFB, though..)
2005-10-03 23:27:26 +00:00
foobar
1c667a88e7 MFH 2005-10-03 20:21:02 +00:00
Marcus Boerger
061ff97f69 - MFH Throw an exception if an illegal string value is being used in
ArrayObject::offsetSet()
2005-10-03 17:59:56 +00:00
Marcus Boerger
308a64bc08 - MFH Really allow SXE being shared by not using anything from it directly in SPL 2005-10-03 16:05:08 +00:00
Marcus Boerger
42728f947c - Synch (to decrease number of diffs) 2005-10-03 15:43:40 +00:00
Marcus Boerger
0a2e6f723e - MFH change require to require_once 2005-10-03 15:06:27 +00:00
Ilia Alshanetsky
8a5bd01a44 MFH: GLOBALS protection for extract() function. 2005-10-03 14:04:16 +00:00
Marcus Boerger
31f8d7dc20 - MFH Update example 2005-10-03 13:36:18 +00:00
Derick Rethans
e117d540d1 - MFH: Only use external database when it is newer than the builtin one. 2005-10-03 11:34:51 +00:00
Derick Rethans
afccca77dd - MFH: Allow an external Timezone Database to be used. 2005-10-03 11:17:28 +00:00
Dmitry Stogov
d09fbaa495 MFH (Bug #34643 wsdl default value) 2005-10-03 09:53:13 +00:00
Marcus Boerger
184309c2e9 - MFH Fix issue with RecursiveArrayIterator::getChildren() 2005-10-03 09:14:30 +00:00
Ilia Alshanetsky
9a0bed9863 MFH: Fixed memory leak. 2005-10-03 03:54:06 +00:00
Wez Furlong
612dab64ee fix type 2005-10-03 00:55:23 +00:00
Marcus Boerger
b76dcd68ee - MFH add new example 2005-10-02 23:12:35 +00:00
Wez Furlong
a750f195cd Fix Bug #34687; error information from query() not passed back 2005-10-02 22:11:19 +00:00
Marcus Boerger
991a29cfd6 - MFH PDOException base 2005-10-02 20:38:18 +00:00
Marcus Boerger
ca9dd7d826 - Add PDO::setAttribute(PDO::ATTR_STATEMENT_CLASS) 2005-10-02 20:07:11 +00:00
Marcus Boerger
0ea0e1615f - MFH Add new example 2005-10-02 17:33:05 +00:00
Wez Furlong
c19322869b use the right macro for these 2005-10-01 19:19:36 +00:00
Marcus Boerger
13dc73940d - SPL may extend SimpleXML (if present) 2005-10-01 15:46:31 +00:00
Marcus Boerger
69722777a0 - Allow xpl/simplexml integration with simplexml being built shared 2005-10-01 15:41:37 +00:00
Derick Rethans
08b5c498ce - Implemented better timezone guessing algorithm. 2005-10-01 15:04:07 +00:00
Wez Furlong
932346c00f Allow compilation with PHP 5.0.x
Closes PECL #5514
2005-10-01 02:48:11 +00:00
Pierre Joye
655743c4e7 - #33125, imagecopymergegray produces mosaic rainbow effect
at some point the alpha emulation formula has been broken
  restored.
2005-09-30 20:48:05 +00:00
Wez Furlong
69f0675a35 Fix for PECL #5433 (rowCount() not set) 2005-09-30 04:19:24 +00:00
Marcus Boerger
b47525e508 - TSRM fix 2005-09-29 19:57:13 +00:00
Ilia Alshanetsky
941ac55d2f Removed unnecessary component that accidentally snuck-in 2005-09-29 16:39:37 +00:00
Ilia Alshanetsky
09540ee965 MFH:
Fixed possible crash and/or memory corruption in import_request_variables()
Fixed potential GLOBALS overwrite via import_request_variables().
2005-09-29 16:30:51 +00:00
Dmitry Stogov
e2599c3dbf Fixed wrong array autodetection 2005-09-29 10:02:11 +00:00
Ilia Alshanetsky
1a04335ec2 MFH: Fixed possible GLOBALS variable override when register_globals are ON.
MFH: Fixed possible register_globals toggle via parse_str().
MFH: Fixed negative offset handling in substr_compare() function.
2005-09-28 22:39:52 +00:00
Dmitry Stogov
ba5f66777e Fixed bug #34453 (parsing http://www.w3.org/2001/xml.xsd exception) 2005-09-28 11:24:18 +00:00
Dmitry Stogov
4329db25a1 Fixed bug #34643 (wsdl default value has no effect) 2005-09-27 15:25:10 +00:00
Wez Furlong
006922ba18 ensure that this size is initialized correctly 2005-09-26 21:37:33 +00:00
Ilia Alshanetsky
ef04eea493 Touch generated file 2005-09-26 19:34:09 +00:00
Ilia Alshanetsky
846b0826ab MFH: upgraded bundled libsqlite3 to version 3.2.7 2005-09-26 19:33:26 +00:00
Marcus Boerger
15c9f414a6 - MFH: Reset global pointer to NULL after mem free (required for apache 1.3) 2005-09-26 17:56:26 +00:00
Ilia Alshanetsky
9daaedc125 Fixed bug #34645 (ctype corrupts memory when validating large numbers). 2005-09-26 15:14:19 +00:00
Marcus Boerger
049882f29c - Try to fix bugs #34216 (Segfault with autoload) and #34584 (Segfault with
SPL autoload handler)
2005-09-25 18:04:35 +00:00
Ilia Alshanetsky
d696f11814 MFH: Fixed bug #34321 (Possible crash in filter code). 2005-09-25 13:26:30 +00:00
Wez Furlong
57641c166f reinstate this fix for building against PHP 5.0.x.
This works fine against PHP 5.1 too; if you revert this, you'd better have an
awesome technical reason, or I'll remove your karma.
2005-09-25 02:28:42 +00:00
Wez Furlong
fdd42afa6c Fixup LOB handling for inserts (refs #34630).
Also tripped over the return of PECL #5200; looks like mysql doesn't return an
accurate length for the columns.  The PDO driver will sanity check the real
length against the buffer size it allocated (based on the info provided by
mysql), so that we won't overrun the buffer.  In addition, if a varchar field
is reported as having a length of less than 128, we'll allocate 128 just in
case.

If the data is truncated, report it via the appropriate sqlstate code.

There must be a better way to do this stuff.
2005-09-25 02:05:03 +00:00
Wez Furlong
fab0baa274 refs #34630.
Real lob support for oracle will appear after the PHP 5.1 release.
2005-09-25 00:47:00 +00:00
Marcus Boerger
06550ce8e0 - MFH: Rename here too 2005-09-24 23:48:58 +00:00
foobar
2352850c52 Revert the "fix". It works fine when you use PHP_5_1 2005-09-24 23:33:58 +00:00
foobar
1536082186 fix typo 2005-09-24 23:23:25 +00:00
Marcus Boerger
a349428685 - MFH: Serializeable was renamed to Serializable long ago 2005-09-24 23:19:24 +00:00
Wez Furlong
4fb5b322ee 99% certain that this fixes PECL #5366 and PECL #5391. 2005-09-24 19:15:23 +00:00
Wez Furlong
3905ce46d9 Refs #34630 2005-09-24 18:55:56 +00:00
Wez Furlong
4f7d14f8d9 a test for bug #34630 2005-09-24 18:54:50 +00:00
Wez Furlong
6cc5e191d0 Refs #34630 2005-09-24 18:47:50 +00:00
Edin Kadribasic
ba8a8d9f25 Allow php extensions to use php_escape_shell_cmd() and php_escape_shell_arg(), needed for mbstring 2005-09-24 15:22:32 +00:00
Edin Kadribasic
4566f48777 Build PDO and SQLite as shared 2005-09-24 15:13:13 +00:00
Pierre Joye
c81c189198 - MFH #33220, infinite loop while loading invalid GIF (nlopees) 2005-09-24 14:39:16 +00:00
Edin Kadribasic
35b7ad00a6 Declare functions used by driver as PDO_API in php_pdo_driver.h 2005-09-24 14:18:01 +00:00
Anantha Kesari H Y
a3a2fe37af NetWare LibC don't have socketpair function. So enabling socket_create_pair functionality only if socketpair is available in the host LibC.
--Kamesh
2005-09-23 09:54:31 +00:00
foobar
b5017bd725 MFH: Improved the fix for #21306 a bit 2005-09-23 08:14:13 +00:00
Antony Dovgal
0dce979bfc MFH: fix #32081 (mysqli_real_connect(): mysqli.default_socket in php.ini has no effect) for real 2005-09-22 20:14:34 +00:00
Ilia Alshanetsky
0823526afe Fixed test 2005-09-22 16:24:51 +00:00
Marcus Boerger
f3c44f6065 - MFH Fixed Bug #34590 User defined PDOStatement class can't implement
methods
- Reimplement Traversable interface
# If there is a problem with this i need a backtrace. As far as i can
# tell by gdb/valgrind/logic there is no error here. But missuse leads to
# the same error report casing the exclusion of interface Traversable.
2005-09-21 22:58:39 +00:00
Marcus Boerger
a72a517e2f - Add ability to execute .php generated from .phpt on failure without the
need to manually set the environment.
2005-09-21 18:40:56 +00:00
Dmitry Stogov
0988162649 Fixed memory corruption 2005-09-21 15:55:07 +00:00
Dmitry Stogov
3d41ebf595 Allow fopen() make HTTPS requests throug HTTP proxies 2005-09-21 15:04:26 +00:00
Ilia Alshanetsky
20c3266588 fixed compiler warnings 2005-09-21 13:23:00 +00:00
Ilia Alshanetsky
999a7acd71 MFH: Fixed bug #34565 (mb_send_mail does not fetch mail.force_extra_parameters) 2005-09-21 13:16:03 +00:00
Johannes Schlüter
ddf3f9b068 - MFH: Remove HTML fragments from phpcredits() in CLI mode 2005-09-20 22:19:01 +00:00
foobar
de6b4c0091 MFH: - Fixed bug #21306 (catch bailouts of write handler during RSHUTDOWN) 2005-09-20 20:56:54 +00:00
Ilia Alshanetsky
4dff36f6b4 MFH: Allow overloading of PDO constructor. 2005-09-20 19:52:24 +00:00
Stanislav Malyshev
bcb70109d2 fix crash on restarting static PHP having session modules loaded 2005-09-20 14:03:29 +00:00
Wez Furlong
08a6122f54 MFH: use PDO:: class constants 2005-09-20 00:46:02 +00:00
Ilia Alshanetsky
fe9db9ab0a Remove pointless PDO_ prefix 2005-09-20 00:44:51 +00:00
Ilia Alshanetsky
bfe844e41e MFH: Make PDO use class constants 2005-09-20 00:35:21 +00:00
Antony Dovgal
33d913d9da MF5.0: add new test 2005-09-19 18:58:59 +00:00
Dmitry Stogov
5eb6b78c90 Fixed access to uninitialized value 2005-09-19 18:47:56 +00:00
Marcus Boerger
e26ae04d5f - MFH Add deprecated/compatibility class for BC 2005-09-19 18:28:52 +00:00
Antony Dovgal
9a1c6c55b8 fix build (declare extern HashTable pdo_driver_hash) 2005-09-18 18:05:59 +00:00
Marcus Boerger
c3a79b5990 - MFH: Synch dosu 2005-09-18 17:52:09 +00:00
Marcus Boerger
8acd34d6d8 - MFH: Add missing docu/Synch 2005-09-18 17:39:54 +00:00
Marcus Boerger
d1ee4b407c - Commite manually if not conatined in bunch commit 2005-09-18 17:16:17 +00:00
Marcus Boerger
7d918fae4c - Synch naming/move changes with HEAD
- Update tests/docu
# New functionality in CachingIterator/RecursiveIteratorIterator not MFHed
2005-09-18 17:15:04 +00:00
Wez Furlong
7e762989e7 move pdo_drivers -> PDO::getAvailableDrivers as part of namespacing sweep. 2005-09-18 14:13:08 +00:00
Antony Dovgal
21e809b7be MFH: check class_entry of this_ptr in Reflection API 2005-09-16 20:21:46 +00:00