]> granicus.if.org Git - php/log
php
11 years agoReduced memory realocations
Dmitry Stogov [Tue, 15 Apr 2014 18:43:18 +0000 (22:43 +0400)]
Reduced memory realocations

11 years agoUse zend_string* instead of char*
Dmitry Stogov [Tue, 15 Apr 2014 18:10:39 +0000 (22:10 +0400)]
Use zend_string* instead of char*

11 years agoCleanup (2-nd round)
Dmitry Stogov [Tue, 15 Apr 2014 17:56:30 +0000 (21:56 +0400)]
Cleanup (2-nd round)

11 years agoFixed memory leak
Dmitry Stogov [Tue, 15 Apr 2014 11:50:34 +0000 (15:50 +0400)]
Fixed memory leak

11 years agoCleanup (1-st round)
Dmitry Stogov [Tue, 15 Apr 2014 11:40:40 +0000 (15:40 +0400)]
Cleanup (1-st round)

11 years agoFixed support for references
Dmitry Stogov [Tue, 15 Apr 2014 07:13:23 +0000 (11:13 +0400)]
Fixed support for references

11 years agoFixed invaid write/read
Xinchen Hui [Tue, 15 Apr 2014 06:38:38 +0000 (14:38 +0800)]
Fixed invaid write/read

11 years agoFixed return uninitialized_zval
Xinchen Hui [Tue, 15 Apr 2014 03:10:39 +0000 (11:10 +0800)]
Fixed return uninitialized_zval

11 years agoFixed Typo
Xinchen Hui [Tue, 15 Apr 2014 03:09:04 +0000 (11:09 +0800)]
Fixed Typo

11 years agoFixed zend_object_get_t in simpleXML
Xinchen Hui [Tue, 15 Apr 2014 03:05:03 +0000 (11:05 +0800)]
Fixed zend_object_get_t in simpleXML

11 years agoFixed test (support for MarinaDB)
Dmitry Stogov [Mon, 14 Apr 2014 21:27:21 +0000 (01:27 +0400)]
Fixed test (support for MarinaDB)

11 years agoFixed reference counting
Dmitry Stogov [Mon, 14 Apr 2014 21:16:09 +0000 (01:16 +0400)]
Fixed reference counting

11 years agoFixed memory leak
Dmitry Stogov [Mon, 14 Apr 2014 20:21:41 +0000 (00:21 +0400)]
Fixed memory leak

11 years agoFixed memory leak
Dmitry Stogov [Mon, 14 Apr 2014 19:53:25 +0000 (23:53 +0400)]
Fixed memory leak

11 years agoMerge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Dmitry Stogov [Mon, 14 Apr 2014 19:01:02 +0000 (23:01 +0400)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

11 years agoThe test works out of the box
Dmitry Stogov [Mon, 14 Apr 2014 18:43:33 +0000 (22:43 +0400)]
The test works out of the box

11 years agoFixed nested GC calls (valgrind error in Zend/tests/gc_016.phpt)
Dmitry Stogov [Mon, 14 Apr 2014 18:41:42 +0000 (22:41 +0400)]
Fixed nested GC calls (valgrind error in Zend/tests/gc_016.phpt)

11 years agoFixed SXE iterator(14 tests fail)
Xinchen Hui [Mon, 14 Apr 2014 16:36:32 +0000 (00:36 +0800)]
Fixed SXE iterator(14 tests fail)

11 years agoFixed sxe object clone
Xinchen Hui [Mon, 14 Apr 2014 16:10:59 +0000 (00:10 +0800)]
Fixed sxe object clone

11 years agoFixed double free
Xinchen Hui [Mon, 14 Apr 2014 16:06:54 +0000 (00:06 +0800)]
Fixed double free

11 years agoFixed libxml handling default context
Xinchen Hui [Mon, 14 Apr 2014 15:40:21 +0000 (23:40 +0800)]
Fixed libxml handling default context

11 years agoMerge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Mon, 14 Apr 2014 11:27:55 +0000 (19:27 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

11 years agoRefactor simpleXML (compilable, but incompleted)
Xinchen Hui [Mon, 14 Apr 2014 11:27:22 +0000 (19:27 +0800)]
Refactor simpleXML (compilable, but incompleted)

11 years agoFixed passing arguments by reference into array_walk() callbacks.
Dmitry Stogov [Mon, 14 Apr 2014 11:11:05 +0000 (15:11 +0400)]
Fixed passing arguments by reference into array_walk() callbacks.

11 years agoFixed interface constants inheritance.
Dmitry Stogov [Mon, 14 Apr 2014 09:24:43 +0000 (13:24 +0400)]
Fixed interface constants inheritance.
Now we use IS_REFERENCE for inhereted class constants.
I might miss some edje cases.

11 years agoCopy varname before unset
Nikita Popov [Sun, 13 Apr 2014 13:00:32 +0000 (15:00 +0200)]
Copy varname before unset

Otherwise we get issues when the varname variable coincides with
the variable that is deleted.

11 years agoTemporary fix for Zend/tests/bug46238.phpt
Dmitry Stogov [Fri, 11 Apr 2014 20:50:36 +0000 (00:50 +0400)]
Temporary fix for Zend/tests/bug46238.phpt

11 years agoFixed test (now string data allocated together with zend_string structure)
Dmitry Stogov [Fri, 11 Apr 2014 19:25:50 +0000 (23:25 +0400)]
Fixed test (now string data allocated together with zend_string structure)

11 years agoFixed test (order of variables doesn't mater)
Dmitry Stogov [Fri, 11 Apr 2014 19:04:47 +0000 (23:04 +0400)]
Fixed test (order of variables doesn't mater)

11 years agoFix argument unpacking
Nikita Popov [Fri, 11 Apr 2014 17:53:14 +0000 (19:53 +0200)]
Fix argument unpacking

11 years agofor some reason gcc -O2 compiled the previous code in unexpected way
Dmitry Stogov [Fri, 11 Apr 2014 14:16:03 +0000 (18:16 +0400)]
for some reason gcc -O2 compiled the previous code in unexpected way

11 years agoFixed memory leak
Dmitry Stogov [Fri, 11 Apr 2014 14:15:53 +0000 (18:15 +0400)]
Fixed memory leak

11 years agoFixed double free
Dmitry Stogov [Fri, 11 Apr 2014 12:48:38 +0000 (16:48 +0400)]
Fixed double free

11 years agoFixed memory leaks
Dmitry Stogov [Fri, 11 Apr 2014 11:29:37 +0000 (15:29 +0400)]
Fixed memory leaks

11 years agoMerge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Dmitry Stogov [Fri, 11 Apr 2014 11:06:01 +0000 (15:06 +0400)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

11 years agoFixed support for references
Dmitry Stogov [Fri, 11 Apr 2014 11:05:12 +0000 (15:05 +0400)]
Fixed support for references

11 years agoFixed memory leaks
Dmitry Stogov [Fri, 11 Apr 2014 10:47:53 +0000 (14:47 +0400)]
Fixed memory leaks

11 years agofixed persistent reaource destruction
Dmitry Stogov [Fri, 11 Apr 2014 10:47:38 +0000 (14:47 +0400)]
fixed persistent reaource destruction

11 years agoMerge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Fri, 11 Apr 2014 10:08:11 +0000 (18:08 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

11 years agoRefactor libxml (incompleted)
Xinchen Hui [Fri, 11 Apr 2014 10:07:25 +0000 (18:07 +0800)]
Refactor libxml (incompleted)

11 years agoFixed srialize()
Dmitry Stogov [Fri, 11 Apr 2014 09:44:23 +0000 (13:44 +0400)]
Fixed srialize()

11 years agoFixed tests (added session_destroy() to avoid side effects on the following tests)
Dmitry Stogov [Fri, 11 Apr 2014 09:17:59 +0000 (13:17 +0400)]
Fixed tests (added session_destroy() to avoid side effects on the following tests)

11 years agoFixed tests (they might fail from time to time because of session GC)
Dmitry Stogov [Fri, 11 Apr 2014 08:43:35 +0000 (12:43 +0400)]
Fixed tests (they might fail from time to time because of session GC)

11 years agoFixed reference counting
Dmitry Stogov [Fri, 11 Apr 2014 08:43:22 +0000 (12:43 +0400)]
Fixed reference counting

11 years agoNo need anymore
Xinchen Hui [Fri, 11 Apr 2014 08:30:19 +0000 (16:30 +0800)]
No need anymore

11 years agoFixed support for references
Dmitry Stogov [Fri, 11 Apr 2014 07:15:31 +0000 (11:15 +0400)]
Fixed support for references

11 years agohmm, make it consistent
Xinchen Hui [Fri, 11 Apr 2014 04:54:42 +0000 (12:54 +0800)]
hmm, make it consistent

11 years agoFixed _php_mbstr_parse_mail_headers
Xinchen Hui [Fri, 11 Apr 2014 04:53:35 +0000 (12:53 +0800)]
Fixed _php_mbstr_parse_mail_headers

11 years agoMerge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Xinchen Hui [Fri, 11 Apr 2014 04:34:06 +0000 (12:34 +0800)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

11 years agoClose all files and resources before before destroying object storage, because resour...
Dmitry Stogov [Thu, 10 Apr 2014 22:22:00 +0000 (02:22 +0400)]
Close all files and resources before before destroying object storage, because resources may point to objects. (THIS CHANGE MAY BE DANGEROUS)

11 years agoIntroduced API to close all resources at once
Dmitry Stogov [Thu, 10 Apr 2014 22:21:06 +0000 (02:21 +0400)]
Introduced API to close all resources at once

11 years agoFixed memory leak
Dmitry Stogov [Thu, 10 Apr 2014 19:36:16 +0000 (23:36 +0400)]
Fixed memory leak

11 years agoFixed tests (added missing zend.multibyte=On)
Dmitry Stogov [Thu, 10 Apr 2014 19:07:00 +0000 (23:07 +0400)]
Fixed tests (added missing zend.multibyte=On)

11 years agofixed serialize()
Dmitry Stogov [Thu, 10 Apr 2014 18:44:39 +0000 (22:44 +0400)]
fixed serialize()

11 years agoFixed suppor for multibyte encoding
Dmitry Stogov [Thu, 10 Apr 2014 14:47:47 +0000 (18:47 +0400)]
Fixed suppor for multibyte encoding

11 years agoMerge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Dmitry Stogov [Thu, 10 Apr 2014 14:08:39 +0000 (18:08 +0400)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

11 years agoFixed unserialize()
Dmitry Stogov [Thu, 10 Apr 2014 14:08:11 +0000 (18:08 +0400)]
Fixed unserialize()

11 years agoFix some ZTS issues and leaks
Nikita Popov [Thu, 10 Apr 2014 11:50:25 +0000 (13:50 +0200)]
Fix some ZTS issues and leaks

11 years agoPort tokenizer extension
Nikita Popov [Thu, 10 Apr 2014 09:44:45 +0000 (11:44 +0200)]
Port tokenizer extension

11 years agoCompatibility fix for ext/session/tests/session_id_error3.phpt
Dmitry Stogov [Thu, 10 Apr 2014 08:29:14 +0000 (12:29 +0400)]
Compatibility fix for ext/session/tests/session_id_error3.phpt

11 years agoFixed test (it requires ext/hash)
Dmitry Stogov [Thu, 10 Apr 2014 08:14:11 +0000 (12:14 +0400)]
Fixed test (it requires ext/hash)

11 years agoFixed access to uninitialized data
Dmitry Stogov [Thu, 10 Apr 2014 06:38:40 +0000 (10:38 +0400)]
Fixed access to uninitialized data

11 years agosession_id is binary safe now
Xinchen Hui [Thu, 10 Apr 2014 03:57:34 +0000 (11:57 +0800)]
session_id is binary safe now

11 years agoMerge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Dmitry Stogov [Wed, 9 Apr 2014 23:22:06 +0000 (03:22 +0400)]
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2

11 years agoIS_INTERNED is not always 0 in ZTS
Nikita Popov [Wed, 9 Apr 2014 21:54:03 +0000 (23:54 +0200)]
IS_INTERNED is not always 0 in ZTS

The current implementation chooses to intern "" in ZTS. Either that
should be removed or IS_INTERNED needs to actually check the flag.

11 years agovar_push_dtor_no_addref() is useles (var_push_dtor() doesn't work properly as well)
Dmitry Stogov [Wed, 9 Apr 2014 21:49:26 +0000 (01:49 +0400)]
var_push_dtor_no_addref() is useles (var_push_dtor() doesn't work properly as well)

11 years agoFix copying of constants for ZTS
Nikita Popov [Wed, 9 Apr 2014 21:00:49 +0000 (23:00 +0200)]
Fix copying of constants for ZTS

Just a quick hack, should probably add an internal_copy_ctor
function for this.

11 years agoFix function copying in ZTS
Nikita Popov [Wed, 9 Apr 2014 19:40:01 +0000 (21:40 +0200)]
Fix function copying in ZTS

Still doesn't entirely work :/

11 years agoFix ZTS build
Nikita Popov [Wed, 9 Apr 2014 13:51:28 +0000 (15:51 +0200)]
Fix ZTS build

This only makes it compile, it doesn't actually work, presumably
because interned strings are assumed in some places.

11 years agoTemporary refcounting fix
Dmitry Stogov [Wed, 9 Apr 2014 21:08:52 +0000 (01:08 +0400)]
Temporary refcounting fix

11 years agotypo
Dmitry Stogov [Wed, 9 Apr 2014 20:22:13 +0000 (00:22 +0400)]
typo

11 years agoFixed ext/spl/tests/iterator_035.phpt
Dmitry Stogov [Wed, 9 Apr 2014 19:49:58 +0000 (23:49 +0400)]
Fixed ext/spl/tests/iterator_035.phpt

11 years agoFixed resource to integer conversion
Dmitry Stogov [Wed, 9 Apr 2014 18:31:40 +0000 (22:31 +0400)]
Fixed resource to integer conversion

11 years agoFixed macro
Dmitry Stogov [Wed, 9 Apr 2014 18:23:22 +0000 (22:23 +0400)]
Fixed macro

11 years agoFixed reference counting
Dmitry Stogov [Wed, 9 Apr 2014 14:11:18 +0000 (18:11 +0400)]
Fixed reference counting

11 years agoRemoved useless code
Dmitry Stogov [Wed, 9 Apr 2014 13:55:40 +0000 (17:55 +0400)]
Removed useless code

11 years agoFixed error reporting
Dmitry Stogov [Wed, 9 Apr 2014 13:08:52 +0000 (17:08 +0400)]
Fixed error reporting

11 years agoFixed reference counting
Dmitry Stogov [Wed, 9 Apr 2014 13:02:13 +0000 (17:02 +0400)]
Fixed reference counting

11 years agoFixed reference counting
Dmitry Stogov [Wed, 9 Apr 2014 12:48:03 +0000 (16:48 +0400)]
Fixed reference counting

11 years agoFixed GC
Dmitry Stogov [Wed, 9 Apr 2014 11:26:45 +0000 (15:26 +0400)]
Fixed GC

11 years agoFixed reference counting
Dmitry Stogov [Wed, 9 Apr 2014 11:05:22 +0000 (15:05 +0400)]
Fixed reference counting

11 years agoFixed ArrayObject::sort() family
Dmitry Stogov [Wed, 9 Apr 2014 10:25:35 +0000 (14:25 +0400)]
Fixed ArrayObject::sort() family

11 years agoFixed support for IS_INDIRECT and IS_REFERENCE
Dmitry Stogov [Wed, 9 Apr 2014 09:23:28 +0000 (13:23 +0400)]
Fixed support for IS_INDIRECT and IS_REFERENCE

11 years agoUse proper size
Dmitry Stogov [Wed, 9 Apr 2014 08:16:21 +0000 (12:16 +0400)]
Use proper size

11 years agoFixed NULL pointer dereferencing
Dmitry Stogov [Wed, 9 Apr 2014 07:56:48 +0000 (11:56 +0400)]
Fixed NULL pointer dereferencing

11 years agoFixed NULL pointer dereferencing
Dmitry Stogov [Wed, 9 Apr 2014 07:39:39 +0000 (11:39 +0400)]
Fixed NULL pointer dereferencing

11 years agoUnset CV before calling zval_ptr_dtor(), because its destructor may bailout and stay...
Dmitry Stogov [Wed, 9 Apr 2014 06:47:24 +0000 (10:47 +0400)]
Unset CV before calling zval_ptr_dtor(), because its destructor may bailout and stay CV value in inconsistet state

11 years agoFixed generator destruction
Dmitry Stogov [Wed, 9 Apr 2014 06:47:03 +0000 (10:47 +0400)]
Fixed generator destruction

11 years agoFixed store of "shared" zend_strings
Dmitry Stogov [Wed, 9 Apr 2014 05:43:42 +0000 (09:43 +0400)]
Fixed store of "shared" zend_strings

11 years agoFixed destruction of objects and iterators on unclean request shutdown and GC (few...
Dmitry Stogov [Tue, 8 Apr 2014 21:50:15 +0000 (01:50 +0400)]
Fixed destruction of objects and iterators on unclean request shutdown and GC (few cases are still unfixed).
Now we destroy objects it two steps. At first - object properties of all objects and only then the objects their selves.

11 years agoOptimized ASSIGN_OP
Dmitry Stogov [Mon, 7 Apr 2014 22:25:49 +0000 (02:25 +0400)]
Optimized ASSIGN_OP

11 years agoIS_CONST can't be a reference
Dmitry Stogov [Mon, 7 Apr 2014 20:52:07 +0000 (00:52 +0400)]
IS_CONST can't be a reference

11 years agoOptimized ZEND_FETCH_R and family
Dmitry Stogov [Mon, 7 Apr 2014 20:38:54 +0000 (00:38 +0400)]
Optimized ZEND_FETCH_R and family

11 years agoRefactored zend_hash_* iteration API zend_hash_fove_forward_ex(ht, pos) and family...
Dmitry Stogov [Mon, 7 Apr 2014 19:14:17 +0000 (23:14 +0400)]
Refactored zend_hash_* iteration API zend_hash_fove_forward_ex(ht, pos) and family require second argument to be real pointer.
&(ht)->nInternalPointer should be passed instead of NULL.
zend_hash_update_current_key() may work only with internal pointer.

11 years agoAllocate HashTable->arData and HashTable->arHash at once
Dmitry Stogov [Mon, 7 Apr 2014 14:22:03 +0000 (18:22 +0400)]
Allocate HashTable->arData and HashTable->arHash at once

11 years agoCleanup
Dmitry Stogov [Mon, 7 Apr 2014 12:50:41 +0000 (16:50 +0400)]
Cleanup

11 years agoOptimized ISSET_ISEMPTY_DIM_OBJ
Dmitry Stogov [Mon, 7 Apr 2014 10:56:34 +0000 (14:56 +0400)]
Optimized ISSET_ISEMPTY_DIM_OBJ

11 years ago"incremental" hash bucket initialization
Dmitry Stogov [Mon, 7 Apr 2014 09:31:44 +0000 (13:31 +0400)]
"incremental" hash bucket initialization

11 years agodon't use memset() for array of zval initialization
Dmitry Stogov [Mon, 7 Apr 2014 08:14:44 +0000 (12:14 +0400)]
don't use memset() for array of zval initialization

11 years agoUse macros
Dmitry Stogov [Mon, 7 Apr 2014 06:57:58 +0000 (10:57 +0400)]
Use macros