Commit Graph

19652 Commits

Author SHA1 Message Date
Antony Dovgal
f9cace61b6 _THREAD_SAFE might be used instead of _REENTRANT 2006-12-12 12:11:44 +00:00
Antony Dovgal
172efe6886 missing part of the fix for #39795
crypt.h defines struct crypt_data only if _REENTRANT is defined
2006-12-12 12:06:00 +00:00
Antony Dovgal
70638c5cdf fix test 2006-12-12 10:31:36 +00:00
Antony Dovgal
da56bcc2b1 fix LOBs internal position in Unicode mode 2006-12-12 10:31:22 +00:00
Antony Dovgal
0e3b847fe2 add new tests 2006-12-12 09:33:17 +00:00
Antony Dovgal
5f1b060f73 OCILobGetChunkSize() does not like BFILEs, return read_length right away 2006-12-12 09:28:07 +00:00
Antony Dovgal
ec53d3d18a fix #39795 (build fails on AIX because crypt_r() uses different data struct) 2006-12-12 07:36:37 +00:00
Ilia Alshanetsky
63bcfa04e8 MFB: Fixed bug #39782 (setTime() on a DateTime constructed with a Weekday
yields incorrect results).
2006-12-11 21:08:44 +00:00
Antony Dovgal
fb522f16ee prevent any possible problems with negative values 2006-12-11 12:33:55 +00:00
Antony Dovgal
75fa1df0e7 add new test 2006-12-11 12:31:54 +00:00
Ilia Alshanetsky
869fe0320e MFB: Fixed bug #39791 (Crash in strtotime() on overly long relative date
multipliers).
2006-12-11 05:04:58 +00:00
Marcus Boerger
d17cd366e9 - Fix comparison of RecursiveDualIterators 2006-12-10 23:44:35 +00:00
Hannes Magnusson
0bd543a6f2 Fix build 2006-12-10 15:43:13 +00:00
Michael Wallner
8ad12c9899 - upgrade phpinfo() and phpcredits() 2006-12-10 15:02:50 +00:00
Pierre Joye
26c54d4c42 - build fix the other driver as well (a macro would be nicer) 2006-12-10 03:12:11 +00:00
Pierre Joye
216631e809 - MFB: addDir returns true 2006-12-10 03:10:55 +00:00
Pierre Joye
80ecfc354e - MFB: #39286, misleading error message when invalid dimensions are given 2006-12-10 03:03:48 +00:00
Pierre Joye
a6ec097ef9 - fix build on HEAD
(not sure if it should compile on 6 and 5 or if it is required only for
   pdo, other drivers require this fix)
2006-12-10 02:32:17 +00:00
Pierre Joye
df5d4a52f9 - MFB: #39508, imagefill crashes with small image 2006-12-10 02:08:07 +00:00
Pierre Joye
ad5d1383de - #39780, PNG image with CRC/data error raises fatal error 2006-12-10 01:28:01 +00:00
Edin Kadribasic
5ac9df24b6 MFB: Fixed by #39751 by KevinJohnHoffman at gmail dot com 2006-12-10 01:24:13 +00:00
Wez Furlong
bcb1fed3a7 merge PHP 5 pdo into HEAD. This source compiles on both PHP 5 and PHP 6.
If you're poking around in here, please make sure that any changes you make
compile on both PHP 5 and 6.  Thanks!
2006-12-09 22:18:43 +00:00
Ilia Alshanetsky
e0b72d28c6 Improve handling of POST data with Andrei's help. 2006-12-09 14:37:40 +00:00
Ilia Alshanetsky
9901e4a31d MFB:
Fixed handling of multiple cookies with the same name.
	Added support for cookies into run-tests.php
2006-12-09 14:17:17 +00:00
Hannes Magnusson
815ec53657 Fix build 2006-12-09 14:07:13 +00:00
Rob Richards
fb2db6e6b1 MFB: fix heap corruption when adding/caching typelib (also fixes bug 39606)
add test
2006-12-09 10:53:05 +00:00
Ilia Alshanetsky
2dd22beedb MFB: Fixed tests 2006-12-09 03:18:21 +00:00
Ilia Alshanetsky
a8f337d33c MFB: fixed test 2006-12-09 03:07:49 +00:00
Antony Dovgal
ef6bcc4fb3 don't change public API 2006-12-08 21:18:16 +00:00
Antony Dovgal
ef7e4b1332 fix possible issue in the serializer, which might currupt struc when reallocating arguments stack
(no reproduce case, sorry)
2006-12-08 20:59:06 +00:00
Antony Dovgal
a14c81e3c2 fix #39732 (oci_bind_array_by_name doesn't work on Solaris 64bit) 2006-12-08 20:55:14 +00:00
Antony Dovgal
cb4183daeb fix typo 2006-12-08 20:17:31 +00:00
Ilia Alshanetsky
ccc4783e4a MFB: Fixed bug #39759 (Can't use stored procedures fetching multiple result
sets in pdo_mysql).
2006-12-08 19:51:29 +00:00
Andrei Zmievski
59ce8b640b Unicode filename support in dl(). 2006-12-08 19:13:51 +00:00
Antony Dovgal
3945133579 revert the fix for #39763 2006-12-08 17:03:26 +00:00
Rob Richards
45364aea04 mark more functions unicode safe
add test
2006-12-08 16:49:25 +00:00
Rob Richards
95accd75bb mark more functions unicode safe
add tests
2006-12-08 16:28:33 +00:00
Dmitry Stogov
f37ad2e146 Fixed bug #39775 ("Indirect modification ..." message is not shown) 2006-12-08 16:23:04 +00:00
Antony Dovgal
e07f11c421 add new tests by <zoe dot slattery at googlemail dot co dot uk> 2006-12-08 14:38:53 +00:00
Nuno Lopes
90496dbb26 MFB: new tests 2006-12-08 12:15:21 +00:00
Ilia Alshanetsky
6ef2d0dd23 Fixed typo 2006-12-08 03:13:41 +00:00
Sara Golemon
aa08686c85 More BC bodges for fgets/fgetss 2006-12-08 01:02:49 +00:00
Ilia Alshanetsky
e8101a6d16 Allow POST of unicode data as utf8 2006-12-08 00:46:01 +00:00
Antony Dovgal
e0a37e4cf6 MFB test 2006-12-07 23:10:58 +00:00
Antony Dovgal
7ea07ff6dc MFB tests (they still fail though)
fix BC in fgetss()
2006-12-07 23:00:45 +00:00
Andrei Zmievski
3e6c056584 Unicode support in strptime(). Uses runtime encoding for conversion.
# Blah, those new _ut_ macros might be necessary after all.
2006-12-07 22:00:55 +00:00
Andrei Zmievski
de33cc6471 version_compare() will use runtime encoding. 2006-12-07 21:18:45 +00:00
Andrei Zmievski
10af5e6296 Unicode support/safety in iptc* functions. Untested, cause I know crap
about IPTC.
2006-12-07 21:11:54 +00:00
Antony Dovgal
2122cf4fab initialize variables and make Coverity happy 2006-12-07 20:45:21 +00:00
Andrei Zmievski
162dc4c774 Unicode support in parse_url(). 2006-12-07 18:18:49 +00:00
Antony Dovgal
04872050e4 fix #39763 (magic quotes are applied twice by ext/filter)
no need to add slashes manually, they are added by php_register_variable_ex()
2006-12-07 10:59:35 +00:00
Sara Golemon
53a4c18c6a Change fgets() behavior back to BC version 2006-12-07 09:51:36 +00:00
Ilia Alshanetsky
85213a12dc MFB: Fixed bug #39754 (Some POSIX extension functions not thread safe). 2006-12-07 01:41:29 +00:00
Ilia Alshanetsky
38d622732d Allow submission of unicode data in utf8 form 2006-12-07 01:06:54 +00:00
Sara Golemon
982af2061f Use proper zstr for str_getcsv() and add documentation for Andrei's peace of mind 2006-12-06 23:14:15 +00:00
Antony Dovgal
faf0146281 test. please ignore 2006-12-06 20:21:27 +00:00
Ilia Alshanetsky
374a5b63c6 Final set of unicode changes 2006-12-06 18:40:55 +00:00
Ilia Alshanetsky
aa6e70f216 First part of unicode upgrade 2006-12-06 17:52:11 +00:00
Antony Dovgal
6c8ce9805b fix import_request_variables() 2006-12-06 17:42:47 +00:00
Antony Dovgal
e56bd8eed2 add Unicode support to oci_statement_type() 2006-12-06 16:42:27 +00:00
Antony Dovgal
826f06ea88 mark most of the OCI8 functions as unicode aware 2006-12-06 16:36:27 +00:00
Antony Dovgal
b93db04a1d move handling of 'F' to the top 2006-12-06 16:28:27 +00:00
Ilia Alshanetsky
f7289c93db Make functions as being unicode safe 2006-12-06 16:25:17 +00:00
Antony Dovgal
34398156d8 add missing 'F' modified (noticed by Matt) 2006-12-06 14:47:19 +00:00
Antony Dovgal
e7d6927ed6 fix tests 2006-12-06 13:21:48 +00:00
Rob Richards
3d73c5da0d MFB: Fix win32 build 2006-12-06 13:20:17 +00:00
Antony Dovgal
8f98226510 fix tests 2006-12-06 13:11:02 +00:00
Antony Dovgal
4789badd3a use BSD licensed implementation of double-to-string utilities instead of LGPL one
this patch also fixes thread safety issues in zend_strtod()
2006-12-06 09:50:28 +00:00
Antony Dovgal
14df3a4939 let PHP_ADD_EXTENSION_DEP() to take care of this 2006-12-05 23:51:18 +00:00
Ilia Alshanetsky
787a9ede6c MFB: Fixed bug #39724 (Broken build due to spl/filter usage of pcre
extension).
2006-12-05 23:38:10 +00:00
Andrei Zmievski
a775c82161 extract() should convert keys using runtime encoding. 2006-12-05 23:17:06 +00:00
Antony Dovgal
024d8f4376 cosmetic improvements 2006-12-05 23:03:42 +00:00
Frank M. Kromann
234c03a14f Remove PHP4.x stuff 2006-12-05 21:46:33 +00:00
Frank M. Kromann
2381ffba16 #39429 Update API 2006-12-05 21:02:29 +00:00
Antony Dovgal
80fdcd8e06 nuke redundant zval_ptr_dtor() call and fix memory corruption/segfault 2006-12-05 18:42:22 +00:00
Andrei Zmievski
9c1efbe2bb Unicode support in http_build_query(). 2006-12-05 18:41:23 +00:00
Ilia Alshanetsky
c8ba0f9058 MFB: Fixed bug #36798 (Error parsing named parameters with queries
containing high-ascii chars).
2006-12-05 18:05:56 +00:00
Hannes Magnusson
380439a39a MFB: fix test 2006-12-05 15:59:09 +00:00
Antony Dovgal
2f5f375850 don't pass negative maxchars to php_stream_get_line_ex() 2006-12-05 13:45:49 +00:00
Rob Richards
5ccef7164e MFB: fix bug #39625 (Apache crashes on importStylesheet call) 2006-12-05 12:05:03 +00:00
Sara Golemon
fac71c77c1 Add str_getcsv() and fix a couple cases in recent fgetcsv() reimplementation 2006-12-05 04:52:44 +00:00
Sara Golemon
78f65cc451 Unicode upgrade for fgetcsv() 2006-12-05 04:13:47 +00:00
Stanislav Malyshev
40b496d63f Merge from 5.2:
Improve tolower()-related functions on Windows and VC2005 by caching locale and using
tolower_l function.
2006-12-05 02:55:27 +00:00
Ilia Alshanetsky
bc07f14f7a MFB: Fixed bug #39571 (timeout ssl:// connections). 2006-12-05 01:39:21 +00:00
Pierre Joye
a62301fc98 - invalid filter id should not return unsafe values 2006-12-05 01:23:42 +00:00
Pierre Joye
bead3e1428 - WS 2006-12-04 21:34:48 +00:00
Pierre Joye
4fcf964c65 - MFB: use %s 2006-12-04 21:23:02 +00:00
Pierre Joye
836e249bcc - WS 2006-12-04 21:16:46 +00:00
Andrei Zmievski
4524457eff Make headers-related functions accept Unicode strings, but only if their
contents can be converted to ASCII.
2006-12-04 20:43:42 +00:00
Andrei Zmievski
411f6ca0fb Unicode support in var_export(). 2006-12-04 18:55:40 +00:00
Ilia Alshanetsky
aaf7159f2a MFB: Fixed tests 2006-12-04 18:30:05 +00:00
Antony Dovgal
6aa5ed0d9c partly fix #39724
ext/spl has a soft dependcy from ext/pcre (not ext/pcre-regex)
2006-12-04 18:01:24 +00:00
Ilia Alshanetsky
10a8b1a152 MFB: Fixed test (user is a reserved keyword in pgsql) 2006-12-04 17:55:56 +00:00
Antony Dovgal
576797c7c1 fix retval type
it should be int, not zend_bool
2006-12-04 15:58:35 +00:00
Andrey Hristov
20fc9486db dummy change 2006-12-04 15:27:18 +00:00
Ilia Alshanetsky
6f6577665e MFB: Fixed bug #38319 (Remove bogus warnings from persistent PDO connections). 2006-12-04 03:08:52 +00:00
Ilia Alshanetsky
7f024a57bc MFB: Fixed bug #38252 (Incorrect PDO error message on invalid default fetch
mode).
2006-12-04 02:40:20 +00:00
Ilia Alshanetsky
e448b6f2b7 MFB: Added test for previous bug 2006-12-04 00:41:07 +00:00
Ilia Alshanetsky
ad2b0a9fef MFB: Fixed bug #39483 (Problem with handling of \ char in prepared
statements).
2006-12-04 00:39:47 +00:00
Ilia Alshanetsky
6c315e1908 MFB:
Default to buffered queries (much faster)
	Default to prepared statement emulation to avoid hitting MySQL bugs
2006-12-03 23:30:24 +00:00