]> granicus.if.org Git - php/log
php
18 years agois_numeric_string() optimization
Ilia Alshanetsky [Tue, 26 Dec 2006 16:44:20 +0000 (16:44 +0000)]
is_numeric_string() optimization

# Original Patch by Matt Wilmas

18 years agoMFH
Antony Dovgal [Tue, 26 Dec 2006 12:29:42 +0000 (12:29 +0000)]
MFH

18 years ago- MFH: add better zlib detection
Pierre Joye [Tue, 26 Dec 2006 10:42:50 +0000 (10:42 +0000)]
- MFH: add better zlib detection

18 years ago- #39952 zip ignoring --with-libdir on zlib checks (judas dot
Pierre Joye [Tue, 26 Dec 2006 09:52:05 +0000 (09:52 +0000)]
- #39952 zip ignoring --with-libdir on zlib checks (judas dot
  iscariote at gmail dot com)

18 years agoCode review:
Dmitry Stogov [Tue, 26 Dec 2006 09:16:25 +0000 (09:16 +0000)]
Code review:
  . fixed integer overflow
  . fixed buffer overflow/underflow
  . added more strict IP validation
  . reimplemented float number validation

18 years agoEnsure that OnUpdateLongGEZero is greater or equal to 0.
Ilia Alshanetsky [Mon, 25 Dec 2006 23:55:59 +0000 (23:55 +0000)]
Ensure that OnUpdateLongGEZero is greater or equal to 0.
Added a update wrapper for ensuring >0 values

18 years agoAllocation safety checks
Ilia Alshanetsky [Mon, 25 Dec 2006 23:43:10 +0000 (23:43 +0000)]
Allocation safety checks

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 22:40:23 +0000 (22:40 +0000)]
MFH

18 years agoAllocation safety checks
Ilia Alshanetsky [Mon, 25 Dec 2006 22:36:57 +0000 (22:36 +0000)]
Allocation safety checks

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 22:27:24 +0000 (22:27 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 22:12:46 +0000 (22:12 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 21:47:02 +0000 (21:47 +0000)]
MFH

18 years agoUse safe_emalloc()
Ilia Alshanetsky [Mon, 25 Dec 2006 21:41:04 +0000 (21:41 +0000)]
Use safe_emalloc()

18 years agofix weird strlen() usage
Antony Dovgal [Mon, 25 Dec 2006 21:18:01 +0000 (21:18 +0000)]
fix weird strlen() usage

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 21:08:02 +0000 (21:08 +0000)]
MFH

18 years agoFixed test for 64bit systems
Ilia Alshanetsky [Mon, 25 Dec 2006 21:07:53 +0000 (21:07 +0000)]
Fixed test for 64bit systems

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 20:53:50 +0000 (20:53 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 20:44:45 +0000 (20:44 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 20:03:43 +0000 (20:03 +0000)]
MFH

18 years agoFixed bug #39825 (foreach produces memory error)
Dmitry Stogov [Mon, 25 Dec 2006 19:23:03 +0000 (19:23 +0000)]
Fixed bug #39825 (foreach produces memory error)

18 years agoUse %F (ignores locale) for internal representation of floats
Ilia Alshanetsky [Mon, 25 Dec 2006 16:48:18 +0000 (16:48 +0000)]
Use %F (ignores locale) for internal representation of floats

18 years agoAdd missing NEWS entrys and update the README.UPDATE file
Hannes Magnusson [Mon, 25 Dec 2006 16:03:38 +0000 (16:03 +0000)]
Add missing NEWS entrys and update the README.UPDATE file

18 years agoMFH: fix bug #39890 (using autoconf 2.6x and --with-layout=GNU breaks PEAR install...
Antony Dovgal [Mon, 25 Dec 2006 15:41:56 +0000 (15:41 +0000)]
MFH: fix bug #39890 (using autoconf 2.6x and --with-layout=GNU breaks PEAR install path)

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 15:28:57 +0000 (15:28 +0000)]
MFH

18 years agofix test
Antony Dovgal [Mon, 25 Dec 2006 14:27:51 +0000 (14:27 +0000)]
fix test

18 years agoDefine SENDBUFLEN for older c-client libs
Ilia Alshanetsky [Mon, 25 Dec 2006 14:23:18 +0000 (14:23 +0000)]
Define SENDBUFLEN for older c-client libs

18 years agoFixed bug #39944 (References broken)
Dmitry Stogov [Mon, 25 Dec 2006 14:16:27 +0000 (14:16 +0000)]
Fixed bug #39944 (References broken)

18 years agoFixed heap overflow
Dmitry Stogov [Mon, 25 Dec 2006 13:11:23 +0000 (13:11 +0000)]
Fixed heap overflow

18 years agoFixed possible size_t overflow
Dmitry Stogov [Mon, 25 Dec 2006 12:16:33 +0000 (12:16 +0000)]
Fixed possible size_t overflow

18 years agoMFH
Antony Dovgal [Mon, 25 Dec 2006 11:50:31 +0000 (11:50 +0000)]
MFH

18 years agofix tests
Antony Dovgal [Mon, 25 Dec 2006 11:16:23 +0000 (11:16 +0000)]
fix tests

18 years agoFixed buffer boundary protection
Ilia Alshanetsky [Sun, 24 Dec 2006 22:15:06 +0000 (22:15 +0000)]
Fixed buffer boundary protection

18 years agoAdded empty string checks
Ilia Alshanetsky [Sun, 24 Dec 2006 20:50:02 +0000 (20:50 +0000)]
Added empty string checks

18 years agoBFN
Rob Richards [Sun, 24 Dec 2006 12:32:56 +0000 (12:32 +0000)]
BFN

18 years agofix bug #33734 and related (Something strange with COM Object)
Rob Richards [Sun, 24 Dec 2006 12:32:10 +0000 (12:32 +0000)]
fix bug #33734 and related (Something strange with COM Object)
 - caused by fix in com_handlers.c rev 1.22.2.5

18 years agoBFN
Rob Richards [Sun, 24 Dec 2006 10:02:53 +0000 (10:02 +0000)]
BFN

18 years ago- fix bug #33386 (ScriptControl only sees last function of class): com_wrapper.c
Rob Richards [Sun, 24 Dec 2006 10:00:59 +0000 (10:00 +0000)]
- fix bug #33386 (ScriptControl only sees last function of class): com_wrapper.c
- fix bug #37588 (COM Property propputref converts to PHP function
  and can't be accesed): com_handlers.c
- fix bug #39596 (Creating Variant of type VT_ARRAY): com_variant.c
- add tests

18 years agoFix typo
Hannes Magnusson [Sun, 24 Dec 2006 01:29:20 +0000 (01:29 +0000)]
Fix typo

18 years agoSafety checks
Ilia Alshanetsky [Sat, 23 Dec 2006 23:28:39 +0000 (23:28 +0000)]
Safety checks

18 years agoAdded checks for negative max length and overflow checks for overly long
Ilia Alshanetsky [Sat, 23 Dec 2006 18:50:33 +0000 (18:50 +0000)]
Added checks for negative max length and overflow checks for overly long
strings.

18 years ago- Fixed bug #39935 (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores
Derick Rethans [Sat, 23 Dec 2006 17:58:47 +0000 (17:58 +0000)]
- Fixed bug #39935 (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores
  --with-libdir).

18 years agoMFH
Antony Dovgal [Sat, 23 Dec 2006 14:02:50 +0000 (14:02 +0000)]
MFH

18 years agoFixed bug #39884 (ReflectionParameter::getClass() throws exception for type
Ilia Alshanetsky [Fri, 22 Dec 2006 15:37:48 +0000 (15:37 +0000)]
Fixed bug #39884 (ReflectionParameter::getClass() throws exception for type
hint self).

18 years agoFixed bug #36392 (wrong number of decimal digits with %e specifier in
Ilia Alshanetsky [Fri, 22 Dec 2006 15:29:41 +0000 (15:29 +0000)]
Fixed bug #36392 (wrong number of decimal digits with %e specifier in
sprintf).

18 years agoSmall optimization of the date() function
Ilia Alshanetsky [Fri, 22 Dec 2006 15:21:34 +0000 (15:21 +0000)]
Small optimization of the date() function

18 years agonew tests
Antony Dovgal [Fri, 22 Dec 2006 13:30:10 +0000 (13:30 +0000)]
new tests

18 years agomore tests
Antony Dovgal [Fri, 22 Dec 2006 13:07:53 +0000 (13:07 +0000)]
more tests

18 years agoFixed bug #39873 (number_format() breaks with locale & decimal points).
Ilia Alshanetsky [Fri, 22 Dec 2006 04:03:15 +0000 (04:03 +0000)]
Fixed bug #39873 (number_format() breaks with locale & decimal points).

18 years agoMFH
Antony Dovgal [Thu, 21 Dec 2006 22:08:26 +0000 (22:08 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Thu, 21 Dec 2006 21:49:22 +0000 (21:49 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Thu, 21 Dec 2006 21:37:45 +0000 (21:37 +0000)]
MFH

18 years agoimprove tests
Antony Dovgal [Thu, 21 Dec 2006 19:23:26 +0000 (19:23 +0000)]
improve tests

18 years agoFixed bug #39361, #39400 (mbstring function overloading problem).
Seiji Masugata [Thu, 21 Dec 2006 17:26:05 +0000 (17:26 +0000)]
Fixed bug #39361, #39400 (mbstring function overloading problem).

18 years agoFixed comments
Dmitry Stogov [Thu, 21 Dec 2006 13:05:27 +0000 (13:05 +0000)]
Fixed comments

18 years agofix issues identitified by coverity
Rob Richards [Thu, 21 Dec 2006 12:51:26 +0000 (12:51 +0000)]
fix issues identitified by coverity

18 years agonew tests
Antony Dovgal [Thu, 21 Dec 2006 12:41:36 +0000 (12:41 +0000)]
new tests

18 years agoMFH
Antony Dovgal [Thu, 21 Dec 2006 11:08:00 +0000 (11:08 +0000)]
MFH

18 years agoDefault memory_limit value is set to 128M
Dmitry Stogov [Thu, 21 Dec 2006 09:12:42 +0000 (09:12 +0000)]
Default memory_limit value is set to 128M

18 years agoRemoved dependency from SHELL32.DLL
Dmitry Stogov [Thu, 21 Dec 2006 09:01:10 +0000 (09:01 +0000)]
Removed dependency from SHELL32.DLL

18 years agoFix a possible memory leak
Ilia Alshanetsky [Thu, 21 Dec 2006 02:09:36 +0000 (02:09 +0000)]
Fix a possible memory leak

18 years agoFixed possible memory leak
Ilia Alshanetsky [Thu, 21 Dec 2006 01:57:05 +0000 (01:57 +0000)]
Fixed possible memory leak

18 years agoMFH
Antony Dovgal [Thu, 21 Dec 2006 01:18:28 +0000 (01:18 +0000)]
MFH

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

18 years agoMFH
Antony Dovgal [Thu, 21 Dec 2006 01:08:04 +0000 (01:08 +0000)]
MFH

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

18 years agoMFH
Antony Dovgal [Thu, 21 Dec 2006 00:47:02 +0000 (00:47 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Wed, 20 Dec 2006 23:36:56 +0000 (23:36 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Wed, 20 Dec 2006 23:30:30 +0000 (23:30 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Wed, 20 Dec 2006 23:19:56 +0000 (23:19 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Wed, 20 Dec 2006 23:01:31 +0000 (23:01 +0000)]
MFH

18 years agofixed ZTS build
Ilia Alshanetsky [Wed, 20 Dec 2006 19:48:12 +0000 (19:48 +0000)]
fixed ZTS build

18 years agoprotect _SESSION, HTTP_SESSION_VARS and GLOBALS
Antony Dovgal [Wed, 20 Dec 2006 19:31:28 +0000 (19:31 +0000)]
protect _SESSION, HTTP_SESSION_VARS and GLOBALS
maintain an internal reference of _SESSION, so that it won't be possible to destroy it from userspace

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

18 years agoMFH
Antony Dovgal [Wed, 20 Dec 2006 19:08:48 +0000 (19:08 +0000)]
MFH

18 years agoMore correct patch for b-prefixes.
Andrei Zmievski [Wed, 20 Dec 2006 18:22:07 +0000 (18:22 +0000)]
More correct patch for b-prefixes.

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

18 years agouse Z_* macros
Antony Dovgal [Wed, 20 Dec 2006 16:00:11 +0000 (16:00 +0000)]
use Z_* macros

18 years agoMFH
Antony Dovgal [Wed, 20 Dec 2006 15:12:38 +0000 (15:12 +0000)]
MFH

18 years ago- Fixed the validate email filter so that the letter "v" can also be used in
Derick Rethans [Wed, 20 Dec 2006 14:39:01 +0000 (14:39 +0000)]
- Fixed the validate email filter so that the letter "v" can also be used in
  the user part of the email address. (Derick)

18 years agoMFH
Antony Dovgal [Wed, 20 Dec 2006 13:09:02 +0000 (13:09 +0000)]
MFH

18 years agoMake MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any...
Dmitry Stogov [Wed, 20 Dec 2006 10:49:33 +0000 (10:49 +0000)]
Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any 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 ago- Fixed incorrect function names on FreeBSD where inet_pton() was named
Hannes Magnusson [Wed, 20 Dec 2006 10:34:36 +0000 (10:34 +0000)]
- 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 agonew test
Nuno Lopes [Tue, 19 Dec 2006 21:46:48 +0000 (21:46 +0000)]
new test

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

18 years agoon FreeBSD these locales have different names
Antony Dovgal [Tue, 19 Dec 2006 21:39:48 +0000 (21:39 +0000)]
on FreeBSD these locales have different names

18 years agoMFH
Antony Dovgal [Tue, 19 Dec 2006 20:46:56 +0000 (20:46 +0000)]
MFH

18 years agoSupport 'b' prefix in front of string literals for forward compatibility
Andrei Zmievski [Tue, 19 Dec 2006 17:26:17 +0000 (17:26 +0000)]
Support 'b' prefix in front of string literals for forward compatibility
with PHP 6.

18 years agoremove NOP code in json_determine_array_type(), as we already know the zval passed...
Nuno Lopes [Tue, 19 Dec 2006 15:01:05 +0000 (15:01 +0000)]
remove NOP code in json_determine_array_type(), as we already know the zval passed is an array (based on patch by Ron Korving)

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

18 years agoMFH
Antony Dovgal [Tue, 19 Dec 2006 13:27:09 +0000 (13:27 +0000)]
MFH

18 years agoMFH
Antony Dovgal [Tue, 19 Dec 2006 13:15:39 +0000 (13:15 +0000)]
MFH

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

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

18 years agoserialize() should use '.' as decimal point irrespectively to locale
Antony Dovgal [Tue, 19 Dec 2006 12:36:44 +0000 (12:36 +0000)]
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:54:38 +0000 (11:54 +0000)]
Fixed bug #39815 (SOAP double encoding is not locale-independent)

18 years agoUpdated list of available extensions in dlls.
Edin Kadribasic [Tue, 19 Dec 2006 10:34:10 +0000 (10:34 +0000)]
Updated list of available extensions in dlls.
Updated oci extension ini settings.
-- christopher.jones at oracle dot com

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

18 years agoFix tests
Hannes Magnusson [Tue, 19 Dec 2006 10:03:24 +0000 (10:03 +0000)]
Fix tests

18 years agoFixed bug #39869 (safe_read does not initialize errno). (michiel at boland dot org)
Dmitry Stogov [Tue, 19 Dec 2006 09:17:04 +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:58:58 +0000 (08:58 +0000)]
Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection