]> granicus.if.org Git - php/log
php
18 years agoMFB: Fixed possible memory leak
Ilia Alshanetsky [Thu, 21 Dec 2006 01:58:46 +0000 (01:58 +0000)]
MFB: Fixed possible memory leak

18 years agoChangeLog update
<changelog@php.net> [Thu, 21 Dec 2006 01:31:02 +0000 (01:31 +0000)]
ChangeLog update

18 years agoapply correct fix (aka "oops!")
Antony Dovgal [Thu, 21 Dec 2006 01:18:14 +0000 (01:18 +0000)]
apply correct fix (aka "oops!")

18 years agoMFB: Optimize out zend_hash_num_elements() call
Ilia Alshanetsky [Thu, 21 Dec 2006 01:16:36 +0000 (01:16 +0000)]
MFB: Optimize out zend_hash_num_elements() call

18 years agofix leak on error
Antony Dovgal [Thu, 21 Dec 2006 01:13:50 +0000 (01:13 +0000)]
fix leak on error

18 years agodon't leak on error
Antony Dovgal [Thu, 21 Dec 2006 01:07:52 +0000 (01:07 +0000)]
don't leak on error

18 years agofix possible leaks
Antony Dovgal [Thu, 21 Dec 2006 01:00:39 +0000 (01:00 +0000)]
fix possible leaks

18 years agofix potential leak
Antony Dovgal [Thu, 21 Dec 2006 00:46:51 +0000 (00:46 +0000)]
fix potential leak

18 years agoprevent potential leak on error
Antony Dovgal [Thu, 21 Dec 2006 00:43:00 +0000 (00:43 +0000)]
prevent potential leak on error

18 years agobail out if zend_unicode_to_string() fails
Antony Dovgal [Thu, 21 Dec 2006 00:25:58 +0000 (00:25 +0000)]
bail out if zend_unicode_to_string() fails

18 years agomake sure err_char is initialized properly
Antony Dovgal [Thu, 21 Dec 2006 00:25:16 +0000 (00:25 +0000)]
make sure err_char is initialized properly

18 years agofix double free
Antony Dovgal [Thu, 21 Dec 2006 00:00:11 +0000 (00:00 +0000)]
fix double free

18 years agofix potential leak, improve length checks
Antony Dovgal [Wed, 20 Dec 2006 23:36:43 +0000 (23:36 +0000)]
fix potential leak, improve length checks

18 years ago- Quick hackto make tests pass
Marcus Boerger [Wed, 20 Dec 2006 23:30:23 +0000 (23:30 +0000)]
- Quick hackto make tests pass
# There is something missing, ZVAL_TYPED_ASCII_STRING(z, type, char*,flags)
# Or am i overseeinghow that works?

18 years agodo not allocate the return value if it wasn't requested
Antony Dovgal [Wed, 20 Dec 2006 23:30:11 +0000 (23:30 +0000)]
do not allocate the return value if it wasn't requested

18 years agofix possible leak on failure in get_defined_functions()
Antony Dovgal [Wed, 20 Dec 2006 23:19:44 +0000 (23:19 +0000)]
fix possible leak on failure in get_defined_functions()

18 years agofix leak in zend_disable_class()
Antony Dovgal [Wed, 20 Dec 2006 23:00:54 +0000 (23:00 +0000)]
fix leak in zend_disable_class()

18 years agofix double free on error
Antony Dovgal [Wed, 20 Dec 2006 22:42:59 +0000 (22:42 +0000)]
fix double free on error

18 years ago- More unicode
Marcus Boerger [Wed, 20 Dec 2006 22:11:14 +0000 (22:11 +0000)]
- More unicode

18 years ago- Add unicode expectations
Marcus Boerger [Wed, 20 Dec 2006 22:08:51 +0000 (22:08 +0000)]
- Add unicode expectations

18 years ago- Fix test name
Marcus Boerger [Wed, 20 Dec 2006 22:08:35 +0000 (22:08 +0000)]
- Fix test name

18 years agoUpdate.
Andrei Zmievski [Wed, 20 Dec 2006 21:02:11 +0000 (21:02 +0000)]
Update.

18 years ago- Make shorter and do not use problematic attribute
Marcus Boerger [Wed, 20 Dec 2006 20:59:18 +0000 (20:59 +0000)]
- Make shorter and do not use problematic attribute

18 years ago- Compilers mightnot like the zstr return,thus return void*
Marcus Boerger [Wed, 20 Dec 2006 20:49:01 +0000 (20:49 +0000)]
- Compilers mightnot like the zstr return,thus return void*

18 years agoUnicode support in get_browser(). To avoid additional copying/conversion
Andrei Zmievski [Wed, 20 Dec 2006 20:45:40 +0000 (20:45 +0000)]
Unicode support in get_browser(). To avoid additional copying/conversion
during parsing, the browscap values in the returned array will be of
IS_STRING type.

18 years agoCheck for conversion failure in "s&" and return appropriately.
Andrei Zmievski [Wed, 20 Dec 2006 20:43:52 +0000 (20:43 +0000)]
Check for conversion failure in "s&" and return appropriately.

18 years agoFix return value in zval_unicode_to_string_ex().
Andrei Zmievski [Wed, 20 Dec 2006 20:43:31 +0000 (20:43 +0000)]
Fix return value in zval_unicode_to_string_ex().

18 years agoFix warning.
Andrei Zmievski [Wed, 20 Dec 2006 20:42:50 +0000 (20:42 +0000)]
Fix warning.

18 years ago- Mention zend_zstrndup()
Marcus Boerger [Wed, 20 Dec 2006 20:17:45 +0000 (20:17 +0000)]
- Mention zend_zstrndup()

18 years ago- Implement zend_zstrndup()
Marcus Boerger [Wed, 20 Dec 2006 20:12:11 +0000 (20:12 +0000)]
- Implement zend_zstrndup()

18 years agoFixed zts build
Ilia Alshanetsky [Wed, 20 Dec 2006 19:48:32 +0000 (19:48 +0000)]
Fixed zts build

18 years agoremove register_globals remains
Antony Dovgal [Wed, 20 Dec 2006 19:20:59 +0000 (19:20 +0000)]
remove register_globals remains
maintain an internal reference of _SESSION, so that it won't be possible to destroy it from userspace

18 years agoMFB: Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc).
Ilia Alshanetsky [Wed, 20 Dec 2006 19:20:22 +0000 (19:20 +0000)]
MFB: Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc).

18 years agoreturn NULL right away if invalid length was passed
Antony Dovgal [Wed, 20 Dec 2006 19:08:23 +0000 (19:08 +0000)]
return NULL right away if invalid length was passed

18 years agoAlign Unicode and binary versions of formatted printing.
Andrei Zmievski [Wed, 20 Dec 2006 18:33:27 +0000 (18:33 +0000)]
Align Unicode and binary versions of formatted printing.

18 years agofix #39903 (Notice message when executing __halt_compiler() more than once)
Antony Dovgal [Wed, 20 Dec 2006 16:30:00 +0000 (16:30 +0000)]
fix #39903 (Notice message when executing __halt_compiler() more than once)

18 years agodon't reinvent the wheel, use sprintf()
Antony Dovgal [Wed, 20 Dec 2006 15:12:06 +0000 (15:12 +0000)]
don't reinvent the wheel, use sprintf()

18 years ago- Fixed the regexp so that the letter "v" also works.
Derick Rethans [Wed, 20 Dec 2006 14:37:24 +0000 (14:37 +0000)]
- Fixed the regexp so that the letter "v" also works.

18 years agogracefully bail out on invalid header
Antony Dovgal [Wed, 20 Dec 2006 13:08:54 +0000 (13:08 +0000)]
gracefully bail out on invalid header

18 years agoMake MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make a
Dmitry Stogov [Wed, 20 Dec 2006 10:50:46 +0000 (10:50 +0000)]
Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make a
ny significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it
still set to 16M.

18 years agoMFB:
Hannes Magnusson [Wed, 20 Dec 2006 10:38:24 +0000 (10:38 +0000)]
MFB:
- Fixed incorrect function names on FreeBSD where inet_pton() was named
        __inet_pton() and inet_ntop() was named __inet_ntop()
- Fixed bug #39685 (iconv() - undefined function)
- Fixed bug #38852 (XML-RPC Breaks iconv)

18 years agoChangeLog update
<changelog@php.net> [Wed, 20 Dec 2006 01:31:04 +0000 (01:31 +0000)]
ChangeLog update

18 years agoUnicode support in ezmlm_hash().
Andrei Zmievski [Tue, 19 Dec 2006 22:54:24 +0000 (22:54 +0000)]
Unicode support in ezmlm_hash().

# 50% done, ladies and gents! http://www.php.net/~scoates/unicode

18 years ago- Use new 'x' parameter parsing
Marcus Boerger [Tue, 19 Dec 2006 22:31:26 +0000 (22:31 +0000)]
- Use new 'x' parameter parsing

18 years ago- Make spl_autoload_call() unicode safe
Marcus Boerger [Tue, 19 Dec 2006 22:30:59 +0000 (22:30 +0000)]
- Make spl_autoload_call() unicode safe

18 years ago- Changed macro once again
Marcus Boerger [Tue, 19 Dec 2006 22:27:15 +0000 (22:27 +0000)]
- Changed macro once again

18 years ago- x was added toparameter parsing api
Marcus Boerger [Tue, 19 Dec 2006 22:24:28 +0000 (22:24 +0000)]
- x was added toparameter parsing api

18 years ago- Implement parameter parsing 'x'
Marcus Boerger [Tue, 19 Dec 2006 22:21:18 +0000 (22:21 +0000)]
- Implement parameter parsing 'x'

18 years ago- Fix macro param order
Marcus Boerger [Tue, 19 Dec 2006 22:20:16 +0000 (22:20 +0000)]
- Fix macro param order

18 years ago- Implement zend_u_call_method to deal with situations where the function
Marcus Boerger [Tue, 19 Dec 2006 22:14:35 +0000 (22:14 +0000)]
- Implement zend_u_call_method to deal with situations where the function
  name type is already known

18 years agoUnicode support in set_include_path().
Andrei Zmievski [Tue, 19 Dec 2006 22:01:50 +0000 (22:01 +0000)]
Unicode support in set_include_path().

18 years agonew test
Nuno Lopes [Tue, 19 Dec 2006 21:47:16 +0000 (21:47 +0000)]
new test

18 years ago- check CRYPTO_get_id_callback() if anyone else already set thread lock callbacks
Michael Wallner [Tue, 19 Dec 2006 21:41:12 +0000 (21:41 +0000)]
- check CRYPTO_get_id_callback() if anyone else already set thread lock callbacks

18 years agoMFB
Antony Dovgal [Tue, 19 Dec 2006 21:40:59 +0000 (21:40 +0000)]
MFB

18 years agoUpdate.
Andrei Zmievski [Tue, 19 Dec 2006 21:40:02 +0000 (21:40 +0000)]
Update.

18 years ago- Marcus was too quick. Let's put type before zstr in the macros.
Andrei Zmievski [Tue, 19 Dec 2006 21:38:59 +0000 (21:38 +0000)]
- Marcus was too quick. Let's put type before zstr in the macros.
- Also mark get_include_path() and restore_include_path() with U.

18 years ago- Fix ZVAL_ZSTRL
Marcus Boerger [Tue, 19 Dec 2006 21:13:21 +0000 (21:13 +0000)]
- Fix ZVAL_ZSTRL

18 years agoadd check for setlocale() and sv_SE to SKIPIF section
Antony Dovgal [Tue, 19 Dec 2006 20:46:48 +0000 (20:46 +0000)]
add check for setlocale() and sv_SE to SKIPIF section

18 years agoUnicode support in *printf() functions. (Antony, Andrei)
Andrei Zmievski [Tue, 19 Dec 2006 18:41:40 +0000 (18:41 +0000)]
Unicode support in *printf() functions. (Antony, Andrei)

18 years agoMFB: little cleanup in json_determine_array_type()
Nuno Lopes [Tue, 19 Dec 2006 15:01:57 +0000 (15:01 +0000)]
MFB: little cleanup in json_determine_array_type()

18 years agoadd missing SKIPIF sections
Antony Dovgal [Tue, 19 Dec 2006 14:16:08 +0000 (14:16 +0000)]
add missing SKIPIF sections

18 years ago-NAN should not be possible
Antony Dovgal [Tue, 19 Dec 2006 13:26:39 +0000 (13:26 +0000)]
-NAN should not be possible

18 years agoinf->INF
Antony Dovgal [Tue, 19 Dec 2006 13:15:30 +0000 (13:15 +0000)]
inf->INF
nan->NAN

18 years agoSupport for systems without locale.h
Dmitry Stogov [Tue, 19 Dec 2006 13:13:48 +0000 (13:13 +0000)]
Support for systems without locale.h

18 years agofix test on MacOS
Antony Dovgal [Tue, 19 Dec 2006 13:11:30 +0000 (13:11 +0000)]
fix test on MacOS

18 years agofix serialize tests after s: -> S: change
Antony Dovgal [Tue, 19 Dec 2006 12:45:03 +0000 (12:45 +0000)]
fix serialize tests after s: -> S: change

18 years agoMFB: serialize() should use '.' as decimal point irrespectively to locale
Antony Dovgal [Tue, 19 Dec 2006 12:44:26 +0000 (12:44 +0000)]
MFB: serialize() should use '.' as decimal point irrespectively to locale

18 years agoFixed bug #39815 (SOAP double encoding is not locale-independent)
Dmitry Stogov [Tue, 19 Dec 2006 11:55:16 +0000 (11:55 +0000)]
Fixed bug #39815 (SOAP double encoding is not locale-independent)

18 years agoMFB
Edin Kadribasic [Tue, 19 Dec 2006 10:34:58 +0000 (10:34 +0000)]
MFB

18 years agoMFB: Enable full build with newer Microsoft compilers
Edin Kadribasic [Tue, 19 Dec 2006 10:26:44 +0000 (10:26 +0000)]
MFB: Enable full build with newer Microsoft compilers

18 years agoFixed bug #39869 (safe_read does not initialize errno). (michiel at boland dot org)
Dmitry Stogov [Tue, 19 Dec 2006 09:17:28 +0000 (09:17 +0000)]
Fixed bug #39869 (safe_read does not initialize errno). (michiel at boland dot org)

18 years agoAdded function stream_socket_shutdown(). It is a wraper for system shutdown() functio...
Dmitry Stogov [Tue, 19 Dec 2006 08:59:26 +0000 (08:59 +0000)]
Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection

18 years ago-Fixed bug #30074 (apparent symbol table error with extract($blah, EXTR_REFS))
Brian Shire [Tue, 19 Dec 2006 08:02:48 +0000 (08:02 +0000)]
-Fixed bug #30074 (apparent symbol table error with extract($blah, EXTR_REFS))
# appoligies, I did this in reverse (applied to PHP_5_2) I should have MFH.

18 years ago- zip is done
Pierre Joye [Tue, 19 Dec 2006 02:08:16 +0000 (02:08 +0000)]
- zip is done

18 years ago- unicode support for the procedural API
Pierre Joye [Tue, 19 Dec 2006 02:05:27 +0000 (02:05 +0000)]
- unicode support for the procedural API

18 years agoChangeLog update
<changelog@php.net> [Tue, 19 Dec 2006 01:31:00 +0000 (01:31 +0000)]
ChangeLog update

18 years ago- More tests
Marcus Boerger [Mon, 18 Dec 2006 23:01:29 +0000 (23:01 +0000)]
- More tests
- Test naming

18 years agoFix ZTS
Hannes Magnusson [Mon, 18 Dec 2006 22:59:36 +0000 (22:59 +0000)]
Fix ZTS

18 years ago- Support members in SplObjectStorage serialization / shorter serialization
Marcus Boerger [Mon, 18 Dec 2006 22:32:10 +0000 (22:32 +0000)]
- Support members in SplObjectStorage serialization / shorter serialization

18 years agoUnicode support in get_cfg_var().
Andrei Zmievski [Mon, 18 Dec 2006 20:47:57 +0000 (20:47 +0000)]
Unicode support in get_cfg_var().

18 years agoFix macro.
Andrei Zmievski [Mon, 18 Dec 2006 20:40:51 +0000 (20:40 +0000)]
Fix macro.

18 years agoUnicode support in parse_ini_file().
Andrei Zmievski [Mon, 18 Dec 2006 20:39:40 +0000 (20:39 +0000)]
Unicode support in parse_ini_file().

18 years agoMFB: Fixed bug #39845 (Persistent connections generate a warning in
Ilia Alshanetsky [Mon, 18 Dec 2006 17:56:51 +0000 (17:56 +0000)]
MFB: Fixed bug #39845 (Persistent connections generate a warning in
pdo_pgsql).

18 years agoMFB: Cleanup & optimize php_filter_encode_url()
Ilia Alshanetsky [Mon, 18 Dec 2006 15:42:31 +0000 (15:42 +0000)]
MFB: Cleanup & optimize php_filter_encode_url()

18 years agoMFB: Less hackish support for spaces at the start of tags within
Ilia Alshanetsky [Mon, 18 Dec 2006 15:04:36 +0000 (15:04 +0000)]
MFB: Less hackish support for spaces at the start of tags within
strip_tags()

18 years agoMFB: Fixed bugs with trimming of spaces
Ilia Alshanetsky [Mon, 18 Dec 2006 14:57:20 +0000 (14:57 +0000)]
MFB: Fixed bugs with trimming of spaces

18 years agofix #39850 (SplFileObject throws contradictory/wrong error messages when trying to...
Antony Dovgal [Mon, 18 Dec 2006 14:55:23 +0000 (14:55 +0000)]
fix #39850 (SplFileObject throws contradictory/wrong error messages when trying to open "php://wrong")

18 years agoFixed bug #39832 (SOAP Server: parameter not matching the WSDL specified type are...
Dmitry Stogov [Mon, 18 Dec 2006 14:39:39 +0000 (14:39 +0000)]
Fixed bug #39832 (SOAP Server: parameter not matching the WSDL specified type are set to 0)

18 years agofix possible invalid read (reproducible only on big-endian machines)
Antony Dovgal [Mon, 18 Dec 2006 13:15:18 +0000 (13:15 +0000)]
fix possible invalid read (reproducible only on big-endian machines)

18 years agoFixed random generation of cookies and canaries
Dmitry Stogov [Mon, 18 Dec 2006 11:39:34 +0000 (11:39 +0000)]
Fixed random generation of cookies and canaries

18 years agofix test names
Antony Dovgal [Mon, 18 Dec 2006 11:12:41 +0000 (11:12 +0000)]
fix test names

18 years ago- make %f locale aware again
Hannes Magnusson [Mon, 18 Dec 2006 09:25:32 +0000 (09:25 +0000)]
- make %f locale aware again
- fix precision loss with %F (noticed by Sebastian Nohn)
- add new tests

18 years agoMFB: Filter fixes:
Ilia Alshanetsky [Mon, 18 Dec 2006 04:24:38 +0000 (04:24 +0000)]
MFB:  Filter fixes:
Fixed possible double encoding problem with sanitizing filters
Make use of space-strict strip_tags() function

18 years agoChangeLog update
<changelog@php.net> [Mon, 18 Dec 2006 01:30:55 +0000 (01:30 +0000)]
ChangeLog update

18 years ago- Make this work in unicode mode
Marcus Boerger [Sun, 17 Dec 2006 23:23:33 +0000 (23:23 +0000)]
- Make this work in unicode mode
# Well of course i should have set the return type to ascii here :-)

18 years agoFixed compiler warning
Ilia Alshanetsky [Sun, 17 Dec 2006 18:30:50 +0000 (18:30 +0000)]
Fixed compiler warning

18 years agoMFB: Fixed bug #39779 (Enable AUTH PLAIN mechanism in underlaying
Ilia Alshanetsky [Sun, 17 Dec 2006 18:23:10 +0000 (18:23 +0000)]
MFB: Fixed bug #39779 (Enable AUTH PLAIN mechanism in underlaying
libc-client).

18 years agoMFB: fix build
Hannes Magnusson [Sun, 17 Dec 2006 12:02:19 +0000 (12:02 +0000)]
MFB: fix build

18 years agoChangeLog update
<changelog@php.net> [Sun, 17 Dec 2006 01:31:06 +0000 (01:31 +0000)]
ChangeLog update

18 years agoMFB: Fixed bug #39846 (Invalid IPv4 treated as valid).
Ilia Alshanetsky [Sat, 16 Dec 2006 21:48:21 +0000 (21:48 +0000)]
MFB: Fixed bug #39846 (Invalid IPv4 treated as valid).