Antony Dovgal
cb7a7995b6
fix #34066 (recursive array_walk causes segfault)
...
add tests
2006-09-19 09:02:39 +00:00
Dmitry Stogov
d5ecb40eeb
Fixed PCRE related compilation errors
2006-09-19 07:39:07 +00:00
Andrei Zmievski
30d7168bbd
Upgrade preg_split() to support Unicode strings.
2006-09-18 20:16:36 +00:00
Andrei Zmievski
81b83f327b
More work on Unicode support in PCRE. When UG(unicode) is on, all
...
strings passed to PCRE have to be IS_UNICODE or IS_STRING in UTF-8
encoding. Failure to do so will result in unpredictable results.
2006-09-18 17:59:10 +00:00
Ilia Alshanetsky
b8b3ade128
MFB: Fixed bug #38574 (missing curl constants and improper constant
...
detection).
2006-09-18 16:13:00 +00:00
Antony Dovgal
f3fa436ba3
fix test
2006-09-18 12:35:59 +00:00
Johannes Schlüter
f1ed29ffd8
- Unicode fix
2006-09-17 09:39:04 +00:00
Ilia Alshanetsky
1d611c862c
MFB: One last expand_filepath() check
2006-09-16 19:08:59 +00:00
Nuno Lopes
f2da2decd4
MFB: fix compiler warnings introduced in my previous commit
2006-09-16 19:08:21 +00:00
Ilia Alshanetsky
9d48f6fb61
MFB: Additional expand_filepath() checks
2006-09-16 18:31:07 +00:00
Ilia Alshanetsky
1ed7d584c6
MFB: Added missing validation checks around expand_filepath()
2006-09-16 18:23:05 +00:00
Nuno Lopes
121a317695
MFB
2006-09-16 18:21:53 +00:00
Nuno Lopes
37a08a329c
MFB
2006-09-16 17:42:44 +00:00
Nuno Lopes
c88dc5752d
fix lcov report
2006-09-16 14:21:07 +00:00
Rob Richards
49d8ec82fe
MFB: implement workaround for bug #38823 (DOMComment->appendData does nothing)
...
fix bug #38850 (lookupNamespaceURI doesn't return default namespace)
add test
2006-09-16 13:56:25 +00:00
Nuno Lopes
61b043bfd7
MFB
2006-09-16 12:05:43 +00:00
Ilia Alshanetsky
71eac85de0
MFB: Added a check for PQftable() function
2006-09-15 19:48:55 +00:00
Nuno Lopes
678b162fef
MFB
2006-09-15 16:14:57 +00:00
Antony Dovgal
4d4166fcbc
missing part of the fix for #38844
2006-09-15 15:42:39 +00:00
Antony Dovgal
b8e416139d
MFB: still output an error, even if there is no curl_easy_strerror()
2006-09-15 15:33:30 +00:00
Nuno Lopes
22088632e2
MFB
2006-09-15 15:14:04 +00:00
Antony Dovgal
da064ca404
fix segfault in curl_multi_info_read()
2006-09-15 15:04:03 +00:00
Nuno Lopes
0289bacc94
MFB
2006-09-15 14:59:04 +00:00
Nuno Lopes
7af2495f81
MFB
2006-09-15 14:43:08 +00:00
Antony Dovgal
b6596bebc7
fix #38844 (curl_easy_strerror() is defined only since cURL 7.12.0)
2006-09-15 13:43:55 +00:00
Pierre Joye
a072c66184
- PECL Bug #8700 , zipArchive::getFromIndex() fails
2006-09-15 12:10:50 +00:00
Antony Dovgal
c912fa4a90
fix leak when call to shutdown function fails
2006-09-15 09:11:31 +00:00
Antony Dovgal
4bbeaa70fa
free node pointer using correct function
...
fixes leak in ext/dom/tests/dom_create_element.phpt
2006-09-15 07:43:59 +00:00
Antony Dovgal
e264e460a4
fix double free(), add test
2006-09-15 07:26:19 +00:00
Dmitry Stogov
251bb2d7e1
Fixed memory leak
2006-09-15 07:11:09 +00:00
Ilia Alshanetsky
0fff2d8d45
MFB: Make float filter handle things like 02.324 properly
2006-09-14 17:48:11 +00:00
Antony Dovgal
367d65eced
MFB
2006-09-14 15:30:37 +00:00
Antony Dovgal
ba01adbd0e
fix test
2006-09-14 15:00:52 +00:00
Rob Richards
ed55b21a1b
MFB: fix bug #38813 (DOMEntityReference->__construct crashes when called explicitly)
2006-09-14 13:35:49 +00:00
Dmitry Stogov
e8f1640adb
Write valid run-time value for Zend Memory Manager
2006-09-14 08:56:11 +00:00
Ilia Alshanetsky
b663e04049
MFB: Fixed test for systems without INFILE/OUTFILE support
2006-09-13 15:53:12 +00:00
Dmitry Stogov
d7c13d414c
Fixed memory leaks
2006-09-13 13:26:10 +00:00
Antony Dovgal
22491f9399
change test to work with Oracle 10
2006-09-13 10:44:04 +00:00
Antony Dovgal
ad67978a49
new tests
2006-09-12 20:32:06 +00:00
Antony Dovgal
40fe5baf8c
uhm.. declare oci_lob_seek() along with OCI-Lob->seek() method
2006-09-12 20:26:59 +00:00
Antony Dovgal
276d063355
improve spelling ( fixes #38780 )
2006-09-12 17:26:24 +00:00
Pierre Joye
8b87c6ba8e
- MFB:PECL Bug #8676 , addFile was not updated and still used VCWD_REALPATH,
...
it now uses expand_filepath
2006-09-12 12:04:03 +00:00
Antony Dovgal
0a5cb31537
fix leak when binding a variable to the same placeholder several times
2006-09-12 11:42:25 +00:00
Antony Dovgal
a98f411f80
remove a leftover
2006-09-12 10:53:51 +00:00
Antony Dovgal
5e17a28218
fix test
2006-09-12 10:44:18 +00:00
Johannes Schlüter
c1f302279f
- Print the type of the original value
2006-09-11 21:21:27 +00:00
Johannes Schlüter
90db332cff
- Fix #37923 (Display constant value in reflection::export)
2006-09-11 17:06:59 +00:00
Ilia Alshanetsky
675bda66b6
MFB: Fixed bug #38096 (large timeout values ignored on 32bit machines in
...
stream_socket_accept() and stream_socket_client()).
2006-09-11 14:53:33 +00:00
Antony Dovgal
78a0871781
new tests
2006-09-10 22:11:10 +00:00
Antony Dovgal
9d29a1b26d
add new test
2006-09-10 19:42:04 +00:00
Hannes Magnusson
9dceb42867
Add protos
2006-09-10 17:01:10 +00:00
Hannes Magnusson
f2ad985262
- date_timezone_set() needs both arguments
...
- Throw exception in DateTimeZone::__construct if no arguments are passed
2006-09-10 16:32:30 +00:00
Hannes Magnusson
fac517522b
MFB: abstracting ReflectionFunctionAbstract & fix couple of typos
2006-09-10 13:35:32 +00:00
Hannes Magnusson
8b427acfd0
Be overly picky: CURL->cURL
2006-09-09 20:03:55 +00:00
Derick Rethans
319a3dcb80
- The .c file is generated... so updating the .re file and cleaning up WS.
2006-09-09 12:25:54 +00:00
Michael Wallner
83eac101c3
- fix crash when unicode.sematics are enabled and unicode.output_encoding doesn't match iconv.internal_encoding
2006-09-09 12:10:28 +00:00
Antony Dovgal
41a6d22dd7
fix #38759 (PDO sqlite2 empty query causes segfault)
2006-09-09 10:58:39 +00:00
Antony Dovgal
cb04bb6a4f
fix #38721 (date_parse() invalid read)
2006-09-08 20:22:23 +00:00
Antony Dovgal
49f7759c27
implement feature request #38731 (openssl_pkey_new does not support DSA key generation)
...
patch by marci at balabit dot hu
2006-09-08 20:09:08 +00:00
Hannes Magnusson
e22b06c957
MFB bug#35589
2006-09-08 16:51:32 +00:00
Rob Richards
b855c33590
fix prototypes
2006-09-08 13:04:29 +00:00
Dmitry Stogov
78a47c08a0
Prevent opening of empty filename ""
2006-09-08 05:52:15 +00:00
Rob Richards
db883a8b9d
add unicode support
...
registered_phpfunctions hashtable still needs to be handled
update tests
2006-09-07 21:57:26 +00:00
Michael Wallner
aee8e73316
- add note why we can't have a chunk-sized output handler
2006-09-07 14:54:28 +00:00
Michael Wallner
f8ff78deab
-fix warnings
2006-09-07 14:21:02 +00:00
Michael Wallner
60274e3944
- use ucnv_compareNames
...
- check output_context->op for PHP_OUTPUT_HANDLER_CLEAN instead of php_output_get_status()
2006-09-07 14:20:16 +00:00
Ilia Alshanetsky
cb1ba9379d
MFB: Fixed memory leaks in openssl test #004
2006-09-07 14:16:54 +00:00
Dmitry Stogov
4cd00c73fc
Fixed unicode support
2006-09-07 13:25:46 +00:00
Antony Dovgal
ffe419fefc
add new tests, increase code coverage
2006-09-07 11:47:57 +00:00
Rob Richards
f79418bbd1
fix def file for 2.6.26 (xmlXPathCompiledEvalToBoolean required in .27)
2006-09-07 11:24:22 +00:00
Rob Richards
cd347ea2e5
update def file
2006-09-06 23:48:02 +00:00
Edin Kadribasic
cf933ed410
MFB: Fixed bug #38190 (threading issues on windows 2003)
2006-09-06 21:48:57 +00:00
Michael Wallner
07f81e7fe4
- upgrade ob_iconv_handler
2006-09-06 20:49:03 +00:00
Hannes Magnusson
8f85e67b33
fix build
2006-09-06 19:50:22 +00:00
Michael Wallner
83429c1620
- upgrade ob_tidyhandler
2006-09-06 17:55:09 +00:00
Pierre Joye
d21df00da5
- bump zip version, 2.0.0
2006-09-06 17:39:33 +00:00
Ilia Alshanetsky
803b3f4d77
MFB: Fixed bug #38464 (array_count_values() mishandles numeric strings).
2006-09-06 17:31:47 +00:00
Nuno Lopes
408a584d6e
MFB: fix memleak of pcre study data
2006-09-06 16:31:28 +00:00
Nuno Lopes
984a56c9ab
MFB
2006-09-06 15:32:19 +00:00
Nuno Lopes
da0feb9dcd
fix a few more zend_parse_parameters() issues
2006-09-06 15:13:16 +00:00
Antony Dovgal
b08f8ed0c1
fix leak in pg_copy_to() when invalid resource was passed
2006-09-06 12:40:47 +00:00
Antony Dovgal
bb89a868c4
do not search for empty strings with strpos() and strrpos()
2006-09-06 12:07:27 +00:00
Antony Dovgal
38dcee0beb
fix leaks & uninitialized vars
...
add test
2006-09-06 11:34:15 +00:00
Dmitry Stogov
ba833d2bc0
Fixed support for endpoint's URL without <path> part (Rob)
2006-09-06 11:03:59 +00:00
Derick Rethans
058b359800
- Added support for the full ISO week number format. (2006-W52-7)
2006-09-06 07:33:59 +00:00
Nuno Lopes
cb07c93c04
sync code and tests with PHP_5_2
2006-09-05 15:25:44 +00:00
Ilia Alshanetsky
f8c35ca367
Added missing defines needed for win32 build
2006-09-05 14:48:06 +00:00
Antony Dovgal
6c977ee076
add new test for multiple leaks in openssl_csr_new()
2006-09-05 14:04:36 +00:00
Antony Dovgal
4c6db31984
init variables
2006-09-05 13:59:08 +00:00
Antony Dovgal
ac978370c9
fix test
2006-09-05 13:58:47 +00:00
Nuno Lopes
573f153e06
MFB: int->zend_bool where possible
2006-09-05 12:42:25 +00:00
Nuno Lopes
07b26e4e5f
MFB (int->long)
2006-09-05 12:32:13 +00:00
Antony Dovgal
6bf4579f82
fix it in an other way
2006-09-05 11:24:23 +00:00
Antony Dovgal
fcea7b3273
fix leak in imap_utf8(), avoid extra strlen() call
...
add test
2006-09-05 11:16:06 +00:00
Antony Dovgal
13427fc603
fix segfaulting typo in dcngettext() =)
...
add new test
2006-09-05 10:35:53 +00:00
Nuno Lopes
e09ffb06f1
MFB: fix gcc warning
2006-09-04 19:16:21 +00:00
Nuno Lopes
dbbe29a4ed
MFB: fix gcc warning
2006-09-04 19:00:12 +00:00
Ilia Alshanetsky
5e14e8ee0c
MFB: Fixed bug #38693 (curl_multi_add_handle() set curl handle to null).
2006-09-04 16:31:38 +00:00
Dmitry Stogov
e9cf79d23d
Fixed bug #38700 (SoapClient::__getTypes never returns)
2006-09-04 10:52:44 +00:00
Michael Wallner
97db4007db
- fix issues with ob_start("ob_gzhandler")
...
- add tests
2006-09-04 10:31:11 +00:00
Michael Wallner
7c8079c8ce
- attempt to fix #38696
2006-09-03 09:09:38 +00:00
Johannes Schlüter
3a0ab6a644
- Add HAVE_REFLECTION define for win32 (by Steph)
2006-09-02 19:12:57 +00:00
Nuno Lopes
045dd11483
MFH
2006-09-01 23:33:13 +00:00
Nuno Lopes
2e3faf9cd2
MFB: fix possible crash
2006-09-01 23:19:56 +00:00
Pierre Joye
3dbdf4846e
- this moved out, invalid format
2006-09-01 00:39:31 +00:00
Pierre Joye
08b433783c
- updates
2006-08-31 22:52:29 +00:00
Pierre Joye
e46fa21739
- add new tests to the package.xml
2006-08-31 22:37:22 +00:00
Pierre Joye
e0297b480f
- implement FILTER_FLAG_ARRAY/SCALAR in input_get
...
- update changelog
- update tests
2006-08-31 22:32:54 +00:00
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 © 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
Andrei Zmievski
bd927905ee
Unicode support for strcoll().
2006-08-14 22:00:46 +00:00
Andrei Zmievski
aa9de18ef5
Unicode support for str_split().
2006-08-14 21:04:50 +00:00
Andrei Zmievski
01e677b37b
Unicode support in chunk_split().
2006-08-14 20:43:23 +00:00
Michael Wallner
62f04bba34
- add cloning support to DateTime classes
2006-08-14 20:02:52 +00:00
Frank M. Kromann
17fc75214d
Cleanup before reusing failed persistant connection. Better formating of timestamp and decimal values
2006-08-14 18:39:30 +00:00
Ilia Alshanetsky
5c01690d9b
MFB: Upgraded libsqlite in pdo_sqlite to 3.3.7
2006-08-14 16:35:23 +00:00
Pierre Joye
3717342c9f
- MFB: nuke unused parameter (not present in old versions)
2006-08-14 15:39:28 +00:00
Nuno Lopes
a313548528
MFB: static keywording
2006-08-14 15:17:03 +00:00
Nuno Lopes
d3eac2892f
MFB: a few more static keywording
2006-08-14 14:54:19 +00:00
Edin Kadribasic
56a821ec02
Fixed windows build.
...
Looking at the macro definition it seems that the second argument
to U_STRING_DECL can only be a string literal, not an indetifier.
2006-08-14 11:59:07 +00:00
Rob Richards
71613983c0
MFB: fix bug #38424 (Different attribute assignment if new or existing)
...
add test
2006-08-14 11:58:49 +00:00
Rob Richards
e1fa06393d
MFB: fix underlying issue for bug #38438
2006-08-14 11:29:49 +00:00
Antony Dovgal
cf400175ea
fix segfault and leak in ext/xmlrpc
...
add tests
2006-08-14 08:15:44 +00:00
Pierre Joye
65c16fdbeb
- locateName should not change the state/error, can be used to test
...
an entry
2006-08-13 23:39:57 +00:00
Pierre Joye
6f10c89a53
- remove all safe mode checks instead of borking the sources...Y
2006-08-13 20:54:27 +00:00
Pierre Joye
4ca1cc32e8
- package.xml is not needed here, only in pecl
2006-08-13 20:26:40 +00:00
Pierre Joye
faa0291462
- add overwrite mode to ZipArchive::open, always starts a new archive
...
- fix build with php6
- remove safemode when built against php6
2006-08-13 20:16:48 +00:00
Pierre Joye
926d018ea6
- remove dl() usage
2006-08-13 19:06:46 +00:00
Ilia Alshanetsky
a41723d0f4
MFB: Fixed bug #38438 (DOMNodeList->item(0) segfault on empty NodeList)
2006-08-13 15:03:19 +00:00
Marcus Boerger
2c2125ad56
- Add link
2006-08-13 10:37:46 +00:00
Ilia Alshanetsky
cd6521ce30
PHP 6 does not have safe_mode
2006-08-11 18:06:28 +00:00
Antony Dovgal
8c434708ef
fix #38431 (xmlrpc_get_type() crashes PHP on objects)
2006-08-11 17:41:49 +00:00
Nuno Lopes
70923e7011
MFB5.2: fix #38402 (wrong proto for Array*::offsetGet())
2006-08-11 17:06:19 +00:00
Ilia Alshanetsky
bf4b74eb01
MFB: Extend safe_mode/open_basedir checks to imap_reopen() as well.
2006-08-11 15:09:43 +00:00
Antony Dovgal
d3bb8d11f9
fix test
2006-08-11 10:36:07 +00:00
Ilia Alshanetsky
9a07b46e00
MFB: fix proto
2006-08-10 21:11:00 +00:00
Ilia Alshanetsky
fa48ce6810
MFB: Various security fixes
2006-08-10 19:02:32 +00:00
Ilia Alshanetsky
b97c393f87
MFB: Added support for httpOnly flag for session extension and cookie
...
setting functions.
2006-08-10 13:56:54 +00:00
Antony Dovgal
3cf1565d90
typos in comments and other minor improvements
2006-08-10 13:44:00 +00:00
Antony Dovgal
d04a797cc6
add test
2006-08-10 12:20:28 +00:00
Antony Dovgal
4e792c3ead
improve connection character set detection:
...
* output a warning if invalid character set was passed to the function
* use NLS_LANG by default
2006-08-10 12:15:24 +00:00
Antony Dovgal
8a159b3efc
initialize variable
2006-08-10 09:31:24 +00:00
Antony Dovgal
6ca1ce9986
fix test
2006-08-09 20:34:00 +00:00
Antony Dovgal
704dc9be61
fix ZTS build
2006-08-09 20:31:06 +00:00
Andrei Zmievski
8d953e611d
Unicode support for str_shuffle().
2006-08-09 20:19:06 +00:00
Andrei Zmievski
7201041bc0
Upgrade str_rot13() to work with IS_UNICODE type.
2006-08-09 20:03:22 +00:00
Antony Dovgal
051248b021
wrong directory
2006-08-09 18:37:39 +00:00
Frank M. Kromann
4fef78869b
Fix ZTS builds
2006-08-09 18:15:06 +00:00
Andrei Zmievski
533196671f
addcslashes() and stripcslashes() should work only on binary strings.
2006-08-09 17:40:21 +00:00
Antony Dovgal
3f0e0d1263
update
2006-08-09 15:27:26 +00:00
Antony Dovgal
e16bd0c0f0
add support for NCLOBs
...
fix #35973 (Error ORA-24806 occurs when trying to fetch a NCLOB field)
2006-08-09 15:23:50 +00:00
Ilia Alshanetsky
f148d3fa4c
MFB: Fixed bug #38394 (PDO fails to recover from failed prepared statement
...
execution).
2006-08-09 14:46:35 +00:00
Antony Dovgal
14bab82ab3
update changelog and file list
2006-08-09 12:20:45 +00:00
Antony Dovgal
225fb6a51a
fix #38161 (oci_bind_by_name() returns garbage when Oracle didn't set the variable)
2006-08-09 12:13:30 +00:00
Antony Dovgal
783bcdde3e
oops, wrong directory
2006-08-09 12:12:10 +00:00
Antony Dovgal
f9fd102d73
fix leak on failure
2006-08-09 11:48:50 +00:00
Antony Dovgal
689f3a92b5
fix #8112 (Persistent connections misbehave when Apache process times out)
2006-08-09 10:16:20 +00:00
Antony Dovgal
fddbbb0831
fix test
2006-08-08 22:05:20 +00:00
Antony Dovgal
2168051985
initialize vars
2006-08-08 22:01:48 +00:00
Antony Dovgal
f56a71c63c
fix tests to be able to run just .phpt's
2006-08-08 22:01:24 +00:00
Andrei Zmievski
1b18b5a68f
Convert nl2br() to suppor IS_UNICODE.
...
# Hmm, it's a bit ugly..
2006-08-08 21:03:11 +00:00
Rob Richards
a3e906515c
add unicode support
...
update tests (binary string must be passed to simplexml_load_string)
2006-08-08 20:52:45 +00:00
Rob Richards
28f56af1ae
additional unicode/xml macros
2006-08-08 20:42:38 +00:00
Antony Dovgal
6b2273b905
fix tests
2006-08-08 20:24:13 +00:00
Antony Dovgal
9c125e6911
fix tests
2006-08-08 20:17:31 +00:00
Antony Dovgal
664ed4959e
fix test
2006-08-08 20:13:27 +00:00
Antony Dovgal
91f8beb4d9
fix test
2006-08-08 19:48:46 +00:00
Antony Dovgal
d350e4b038
fix logic and memleak
2006-08-08 18:06:43 +00:00
Antony Dovgal
e454e2f43b
fix test
2006-08-08 17:48:26 +00:00
Antony Dovgal
94912e5e02
fix leak in assert()
2006-08-08 17:32:19 +00:00
Antony Dovgal
dbe2092313
implement zend_unicode_to_string() and zend_string_to_unicode()
...
part #2 (of 2)
2006-08-08 16:59:11 +00:00
Michael Wallner
e9aaf0b16b
- implement #38357 (dbase_open can't open DBase 3 dbf file)
2006-08-08 15:53:54 +00:00
Ilia Alshanetsky
936ebdbe1f
MFB: Fixed bug #38377 (session_destroy() gives warning after
...
session_regenerate_id()).
2006-08-08 14:57:33 +00:00
Antony Dovgal
af688c3394
add new test
2006-08-08 09:50:54 +00:00
Antony Dovgal
9cc9f2da3e
use memrchr/zend_memrchr instead of strrchr
...
fix wrong test
2006-08-08 09:48:08 +00:00
Antony Dovgal
9e8c4eb56d
fix test
2006-08-08 09:23:11 +00:00
Antony Dovgal
8320b9a8f0
fix typo and invalid read
2006-08-08 08:59:51 +00:00
Marcus Boerger
7bdb451318
- MFB Test name must not be more than a single line
2006-08-07 23:33:57 +00:00
Antony Dovgal
8e20d96a8a
fix test
2006-08-07 22:19:45 +00:00
Antony Dovgal
5f50f4ac84
fix test in unicode mode
2006-08-07 22:16:09 +00:00
Antony Dovgal
d8cef5a15d
fix test
2006-08-07 22:14:15 +00:00
Antony Dovgal
004e6c6cf6
add missing UEXPECTF section
2006-08-07 21:51:06 +00:00
Antony Dovgal
439d6f98b6
fix test
2006-08-07 21:44:49 +00:00
Antony Dovgal
ec0269078d
fix tests
2006-08-07 21:42:27 +00:00
Antony Dovgal
d0c9c06f5a
fix test - class Date has been renamed
...
the test still fails, though...
2006-08-07 21:06:21 +00:00
Pierre Joye
dd76c0c737
- should not have been commited
2006-08-07 20:27:49 +00:00
Antony Dovgal
f1a098cbdc
fix types, add missing parentheses
2006-08-07 20:22:33 +00:00
Ilia Alshanetsky
434704eaf0
MFB: Fixed memory leak with persistent connections
2006-08-07 17:33:20 +00:00
Ilia Alshanetsky
36be62c0e1
Removed extra byte
2006-08-07 16:54:16 +00:00
Rob Richards
c7f8bace60
MFB: asXML() needs to return bool when serializing doc and filename is passed in
...
do not copy the content of the outputbuffer twice in asXML()
fix compiler warnings
2006-08-07 10:11:04 +00:00
Marcus Boerger
455f56c777
- Fix bug #38290
2006-08-07 07:54:58 +00:00
Antony Dovgal
9980f28f69
fix test
2006-08-06 20:17:42 +00:00
Antony Dovgal
2517da1a29
add test
2006-08-06 20:10:05 +00:00
Christian Stocker
92b3f6b90c
Fix #38354 (Unwanted reformatting of XML when using AsXML)
...
(MFB)
2006-08-06 19:39:38 +00:00
Antony Dovgal
61312ae102
fix #38347 (Segmentation fault when using foreach with an unknown/empty SimpleXMLElement)
2006-08-06 17:41:39 +00:00
Antony Dovgal
3e0a13fa9f
long -> int
2006-08-06 14:09:46 +00:00
Marcus Boerger
42e59effea
- Fix cvs access through SplFileObject
2006-08-06 13:47:21 +00:00
Antony Dovgal
2103816e06
avoid extra strlen() call, we have the length of the data
2006-08-06 13:27:38 +00:00
Marcus Boerger
73d7f02ddc
- Fix test
2006-08-06 12:49:43 +00:00
Antony Dovgal
688975a519
fix PECL bug #7827
...
add small optimization - no need to do anything if hash lookup failed, just move along
2006-08-05 20:56:12 +00:00
Rob Richards
2008a88704
update tests
...
use binary strings for loadXML() method
2006-08-05 12:35:35 +00:00
Rob Richards
4c98426979
unicode changes
2006-08-05 12:33:34 +00:00