Commit Graph

18901 Commits

Author SHA1 Message Date
Antony Dovgal
e166a67ebd new test 2006-08-31 22:15:47 +00:00
Antony Dovgal
835814617f change filters to operate on the copy of data, so multiple filters an be applied one after another 2006-08-31 22:11:35 +00:00
Pierre Joye
7643192ca5 - pecl bug #8316,
empty strings are not int or float, return false (due to popular demand)
2006-08-31 18:28:39 +00:00
Michael Wallner
26a013eb08 - fix tests SKIPIF 2006-08-31 16:28:46 +00:00
Antony Dovgal
a10691e3b9 last portion of z/Z fixes 2006-08-31 16:14:43 +00:00
Pierre Joye
d10b686b6e - add a test for input_get and array
This test fails now. When the input variable is an array, its contents
  is replace by the filter result. To be fixed asap (before 5.2.0)
2006-08-31 16:13:39 +00:00
Pierre Joye
1fea711ac4 - MFB:
- clean the auto trim (behaves like php_trim now)
 - simplifies bool
 - fix octal parsing
 i- boost int/hex/octal validate_int
2006-08-31 16:12:33 +00:00
Antony Dovgal
272e4c24fd fix typo in errmsg 2006-08-31 15:42:06 +00:00
Antony Dovgal
bee846b80e ext/filter z/Z fixes 2006-08-31 15:17:08 +00:00
Antony Dovgal
d08f2e8897 more z/Z fixes 2006-08-31 14:41:15 +00:00
Antony Dovgal
1e284298d7 more z/Z fixes 2006-08-31 14:19:33 +00:00
Antony Dovgal
c61a20eda0 z/Z problem fixes 2006-08-31 13:58:07 +00:00
Michael Wallner
d6c37b7bbc - add basic zlib.output_compression tests 2006-08-31 13:52:41 +00:00
Michael Wallner
df26ea87bd - output handler alias ctor should know about chunk_size and flags 2006-08-31 13:51:35 +00:00
Antony Dovgal
3aca07552a fix test 2006-08-31 13:49:39 +00:00
Antony Dovgal
3b62798018 fix problem with mixed arguments accepted as zval* causing leaks/segfaults when converting to other types 2006-08-31 13:47:32 +00:00
Antony Dovgal
32ff2a16fe minor changes in iconv_substr() to avoid zval converting 2006-08-31 11:17:37 +00:00
Antony Dovgal
c8b6be096b no such function 2006-08-30 22:53:42 +00:00
Antony Dovgal
18c201100f fix tidy problems caused by returning local static buffers
looks like somebody forgot to MFB this patch..
2006-08-30 22:52:18 +00:00
Michael Wallner
5de701d544 - good bye ob_gzhandler
- ego promo
2006-08-30 22:35:57 +00:00
Antony Dovgal
62ad57d1b0 add UEXPECTF 2006-08-30 22:34:27 +00:00
Antony Dovgal
9a3f6bfa40 fix a couple of leaks, add new test 2006-08-30 22:32:35 +00:00
Antony Dovgal
c3890b0044 fix segfault/leak, add test 2006-08-30 21:50:29 +00:00
Antony Dovgal
2229e563e4 fix segfault in openssl_seal(), add test 2006-08-30 20:49:46 +00:00
Antony Dovgal
f53f3b01dd fix ZTS build 2006-08-30 20:24:32 +00:00
Ilia Alshanetsky
30d213667e MFB: Upgrade PCRE lib to 6.7 2006-08-30 20:00:59 +00:00
Ilia Alshanetsky
922fd02404 Avoid TSRMLS_FETCH 2006-08-30 18:40:26 +00:00
Ilia Alshanetsky
d2d5387a92 Fixed build with gcc 4.1.1 2006-08-30 18:40:01 +00:00
Ilia Alshanetsky
162a77db45 Added ftps portion of the patch 2006-08-30 18:21:27 +00:00
Antony Dovgal
103d999dd1 fix typo 2006-08-30 17:57:25 +00:00
Ilia Alshanetsky
455fd471de MFB: 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:28 +00:00
Antony Dovgal
a0a7595bbf fix leak, add test 2006-08-30 16:46:23 +00:00
Antony Dovgal
a08e79e900 fix leak in iptcembed() 2006-08-30 16:30:03 +00:00
Antony Dovgal
1fcfbd873d change ini handlers to produce E_ERROR if they are called during startup or per request 2006-08-30 16:24:31 +00:00
Antony Dovgal
21b0d97a6d fix leak 2006-08-30 16:12:27 +00:00
Antony Dovgal
5b79892659 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:42:40 +00:00
Michael Wallner
b35de68c73 - allow (de)activation with ini_set() 2006-08-30 14:42:26 +00:00
Michael Wallner
aafd59eb91 - add php_zlib_output_encoding() decl 2006-08-30 12:26:38 +00:00
Michael Wallner
d62b3a9d00 - avoid a loop around deflate() by using Z_SYNC_FLUSH for standard write 2006-08-30 12:07:04 +00:00
Antony Dovgal
dcbbae86eb fix #38653 (memory leak in ReflectionClass::getConstant()) 2006-08-30 10:41:43 +00:00
Michael Wallner
81b421f736 - implement new output API
- ported deflate/inflate code
- require zlib >= 1.2.0.4
- add gzdecode()

# if we want the filter code to benefit from zlib 1.2 the
# "streamable" API would have to be ported, too
2006-08-30 07:42:02 +00:00
Antony Dovgal
c96c1465d8 add missing addref
now it works fine
2006-08-29 22:55:44 +00:00
Andrei Zmievski
de39f4561b Check for is_utf8. 2006-08-29 22:52:37 +00:00
Antony Dovgal
8652b39044 add UEXPECT 2006-08-29 22:24:23 +00:00
Andrei Zmievski
ac5c0797d8 More Unicode work. 2006-08-29 22:16:26 +00:00
Antony Dovgal
996d8d1226 fix PCRE tests 2006-08-29 22:12:31 +00:00
Antony Dovgal
67e747161d fix build 2006-08-29 21:49:32 +00:00
Derick Rethans
e84f9d2439 - Upgrade timezone db to 2006.11 (k). 2006-08-29 20:21:02 +00:00
Ilia Alshanetsky
a577e39142 MFB: Fixed bug #38637 (curl_copy_handle() fails to fully copy the cURL
handle).
2006-08-29 17:10:52 +00:00
Rob Richards
a0d6c14a0f MFB: fix #38474 (getAttribute select attribute by order, even when prefixed)
add test
2006-08-28 23:37:23 +00:00
Andrei Zmievski
ff93bd421b Add Unicode support for preg_match[_all] 2006-08-28 20:36:50 +00:00
Antony Dovgal
8149e6251e make sure ext/standard is down before ext/session (fixes #38534) 2006-08-28 19:56:06 +00:00
Antony Dovgal
8d28cf264a fix tests 2006-08-28 19:52:01 +00:00
Rob Richards
0ee28a454c implement output formatting for saveHTML with libxml 2.6.23+ 2006-08-28 19:31:51 +00:00
Antony Dovgal
efb89cfbe1 set BG(locale_string) to NULL on shutdown (partly fixes #38534) 2006-08-28 18:58:22 +00:00
Hannes Magnusson
089b2ab93f Register missing math constants (been missing since 4.0.2!)
Remove M_PI from math.c (its defined in php_math.h)
2006-08-27 18:20:39 +00:00
Hannes Magnusson
ea2891fa9d Fix tests on freebsd 2006-08-27 15:06:15 +00:00
Pierre Joye
f4e4d1813b - MFB: don't rely/use VCWD_REALPATH, use expand_filepath instead
NB: that'd to be true for all this VCWD mess
2006-08-26 12:29:59 +00:00
Rob Richards
ec38cb0b80 add unicode support 2006-08-25 18:56:03 +00:00
Pierre Joye
204cb47e90 - MFB: bundled version matches pecl release 1.7.1 2006-08-25 16:03:50 +00:00
Edin Kadribasic
1ba89b7392 MFB: Fixed #37602 by olek at neurosoft dot pl 2006-08-25 12:03:31 +00:00
Pierre Joye
615ff5aaf2 - store the resolved path 2006-08-24 17:54:36 +00:00
Pierre Joye
296cef9570 - MFB: solve the relative path issues in TS environment 2006-08-24 17:31:20 +00:00
Seiji Masugata
cf90bc9e1c added returned value in mb_get_info( ). 2006-08-24 16:51:00 +00:00
Antony Dovgal
a934fcb749 it's not a PEAR only issue, this happens with shared builds also 2006-08-24 16:00:35 +00:00
Antony Dovgal
cf9c545513 sys/msg.h does not exist on MacOS X, we need to detect it in configure 2006-08-24 13:18:15 +00:00
Antony Dovgal
4c7154981b update version in phpinfo() 2006-08-24 13:02:53 +00:00
Antony Dovgal
2ccf86ae4c bump version number 2006-08-24 12:46:52 +00:00
Antony Dovgal
c3ff8f269f prepare to 1.2.2 release 2006-08-24 11:53:37 +00:00
Antony Dovgal
53e7c8afde the error message is different on different OSes and zlib versions 2006-08-24 11:30:28 +00:00
Antony Dovgal
1fbee1aee3 tm_yday may be 0 (Solaris) 2006-08-24 11:27:06 +00:00
Antony Dovgal
8bb1361f23 this fixes segfault in strptime() on 64bit Linuxes, caused by the missing declaration
unfortunately defining _XOPEN_SOURCE breaks the build (some odd dependencies in glibc headers) and this seems to be the best solution
2006-08-24 11:05:38 +00:00
Dmitry Stogov
47cab28ab3 Added SoapServer::setObject() method (it is a simplified version of SoapServer::setClass() method). 2006-08-24 06:18:45 +00:00
Pierre Joye
96aedc6efd - add support for entities in hexadecimal format, like © can
be passed as &#169 or ©
2006-08-23 20:21:34 +00:00
Antony Dovgal
7e62e16fa0 fix possible crash in free_statement() 2006-08-23 19:15:46 +00:00
Pierre Joye
8019b9d264 - please don't use base64 to test image files, it does not work
fix tests on 64bit platfrom
2006-08-23 12:00:05 +00:00
Antony Dovgal
7d019e4053 build ext/spl and ext/reflection as static (fixes #38556) 2006-08-23 09:47:07 +00:00
Hannes Magnusson
f5e44be71c Fix arginfo for SplObjectStorage 2006-08-23 09:31:41 +00:00
Antony Dovgal
2fdd51a1a0 add test 2006-08-22 19:51:34 +00:00
Ilia Alshanetsky
994cf483e1 MFB: Fixed bug #38511, #38473, #38263 (Fixed session extension request
shutdown order to ensure it is shutdown before the extensions it may depend
on).
2006-08-22 16:47:43 +00:00
Antony Dovgal
bfccf875f1 minor improvements
dropped unused parameters, changed long to int where it should be int
2006-08-22 11:08:28 +00:00
Dmitry Stogov
9ea1f365d9 ZTS fix 2006-08-22 04:54:00 +00:00
Antony Dovgal
ed72b00458 typo 2006-08-21 17:11:46 +00:00
Ilia Alshanetsky
1e101793bb MFB: Fixed bug #38535 (memory corruption in pdo_pgsql driver on error
retrieval inside a failed query executed via query() method).
2006-08-21 16:54:05 +00:00
Antony Dovgal
f069754ab8 fix PECL bug #8112 (OCI8 persistent connections misbehave when Apache process times out) 2006-08-21 16:40:46 +00:00
Ilia Alshanetsky
285e5f69d6 MFB: Fixed bug #38524 (strptime() does not initialize the internal date
storage structure).
2006-08-20 18:20:59 +00:00
Andrei Zmievski
9f8bcf3f51 Unicode support for str_word_count() (using the same semantics as for
binary strings).

# These semantics seem quite broken, by the way, as it counts words
# ending or starting with dashes (-). Since this shouldn't really be
# used to count words in Unicode world anyway, supporting the "broken"
# behavior is okay if it helps people with migration.
2006-08-18 18:01:58 +00:00
Antony Dovgal
84060835f7 add a notice to fgetcsv() when delimiter or enclosure is longer than 1 char
(feature request #38496)
2006-08-18 12:50:36 +00:00
Antony Dovgal
831d3cd63f initialize static buffer with 0's 2006-08-17 14:32:27 +00:00
Andrei Zmievski
253a82d0cc Simplify php_u_trim(). 2006-08-16 18:07:22 +00:00
Ilia Alshanetsky
24441c81da MFB: Added skip condition for sqlite2 driver, that uses more forgiving
emulated prepared statements.
2006-08-16 14:10:16 +00:00
Sebastian Bergmann
8551b6d2dc Sync with php_trim() API change. 2006-08-16 08:51:34 +00:00
Rob Richards
951a640e9b fix bug #38454 (warning upon disabling handler via xml_set_element_handler)
fix bug #38427 (unicode causes xml_parser to misbehave)
remove need for TSRMLS_FETCH() call
add test
2006-08-15 22:45:18 +00:00
Andrei Zmievski
2dcfe8aaf5 Fix some trim() issues. 2006-08-15 20:38:12 +00:00
Antony Dovgal
3431cc4a1f don't try to use "auto", "none" and "pass" charsets returned from mbstring 2006-08-15 15:09:21 +00:00
Antony Dovgal
1789473eba minor CS/WS fixes 2006-08-15 13:08:18 +00:00
Antony Dovgal
43aab65e86 error message might be NULL 2006-08-15 12:27:04 +00:00
Antony Dovgal
7f2e2b105a OCIBreak() is not supported on Windows 2006-08-15 12:19:39 +00:00
Antony Dovgal
c1b3a17034 new tests 2006-08-15 08:53:55 +00:00
Michael Wallner
7fc16dec3e - fix leak when cloning DateTimeZone, detected by Antony
- don't fetch objects multiple times when cloning
2006-08-15 06:53:02 +00:00