summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.h
Commit message (Collapse)AuthorAgeFilesLines
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* add support for the alloc_size __attribute__ (through ↵Nuno Lopes2012-05-231-3/+3
| | | | | | ZEND_ATTRIBUTE_ALLOC_SIZE and ZEND_ATTRIBUTE_ALLOC_SIZE2 requires GCC >= 4.3 or clang >= 3.2 to perform anything useful
* - Year++Felipe Pena2012-01-011-1/+1
|
* Fixed ZE specific compile warnings (Bug #55629)Dmitry Stogov2011-09-131-2/+2
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* - macros--; ZEND_FAST_* are now gonePierre Joye2010-09-151-22/+8
|
* sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-051-1/+1
|
* Fixed bug #46074 (Bus error during running PHP CLI under IRIX 6.5.30)Dmitry Stogov2009-09-031-0/+14
|
* - MF52: calloc must actually clear the requested size (Andrei)Pierre Joye2009-06-281-1/+1
|
* Fix WSDavid Soria Parra2009-01-251-15/+15
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: Fix compile errorArnaud Le Blanc2008-10-271-2/+2
|
* - MFH: Removed some TSRMLS_FETCH()sFelipe Pena2008-08-151-1/+1
|
* MFH: Add pestrndup()Matt Wilmas2008-06-131-0/+1
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* Fixed windows build (Rob)Dmitry Stogov2007-11-061-3/+3
|
* Allow user defined malloc/realloc/freeDmitry Stogov2007-11-061-0/+5
|
* Added "compact" handler for Zend MM storage.Dmitry Stogov2007-09-291-0/+1
|
* Improved Zend Memory Manager to guarantee reasonable time for worst cases of ↵Dmitry Stogov2007-03-201-1/+2
| | | | best-fit free block searching algorithm.
* MFH: fix #40800 (cannot disable memory_limit with -1)Antony Dovgal2007-03-141-1/+1
|
* Fixed calloc wrapperIlia Alshanetsky2007-03-071-2/+2
|
* Add checks around raw allocation codeIlia Alshanetsky2007-03-071-8/+36
|
* fix typoStanislav Malyshev2007-02-161-1/+1
|
* add safe_reallocStanislav Malyshev2007-02-161-0/+5
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* Make zend_memory_peak_usage() to be avalable even without --enable-memory-limitDmitry Stogov2006-10-121-2/+0
|
* Allow future extensibility without binary compatibility breakDmitry Stogov2006-10-051-0/+1
|
* Added is_zend_mm() to allow runtime check for zend memory managerDmitry Stogov2006-09-141-0/+1
|
* Changed memory_get_usage() and memory_get_peak_usage(). Optional boolean ↵Dmitry Stogov2006-07-251-2/+2
| | | | argument allows get memory size allocated by emalloc() (by default) or real size of memory allocated from system.
* New memory managerDmitry Stogov2006-07-181-104/+113
|
* - Update copyright notices to 2006Andi Gutmans2006-01-041-1/+1
|
* fix compile warning with Apache2 and Zend VM disabledAntony Dovgal2005-12-161-0/+1
| | | | | (someone forgot to do MFH)
* Bump up the yearfoobar2005-08-031-1/+1
|
* - Added the --disable-zend-memory-manager switch to disable the Zend memoryDerick Rethans2005-06-071-2/+0
| | | | | | manager. #- I discussed this with Dmitry today - we found it useful.
* - Nuke the code duplicationfoobar2005-04-071-10/+5
|
* Fix build when USE_ZEND_ALLOC is 0foobar2005-04-071-2/+2
|
* Fix strdup() bug when USE_ZEND_ALLOC is disabledZeev Suraski2005-04-071-3/+5
|
* - Added missing defines.Derick Rethans2004-08-111-0/+8
| | | | | #- I did say the patch was for 4.3 ;-)
* - Commit Derick's patch for allowing Zend to use regular libc memoryAndi Gutmans2004-08-071-0/+43
| | | | | | | - allocation functions. Mainly useful in conjunction with tools such as - valgrind which enables us to find bugs we might not find with the - current memory managers boundary protection.
* - Improve performance by inlining zend_ptr_stack_n_push(). var_args canAndi Gutmans2004-07-301-1/+0
| | | | | usually not be inlined by compilers.
* - Add safe_pemalloc()Moriyoshi Koizumi2004-07-201-0/+2
|
* - Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()Andi Gutmans2004-07-191-2/+2
| | | | | | | | | | | | | | | used to return "" and not bool(false). It's not worth keeping it because STR_FREE() and zval_dtor() always have to check for it and it slows down the general case. In addition, it seems that empty_string has been abused quite a lot, and was used not only for setting zval's but generally in PHP code instead of "", which wasn't the intention. Last but not least, nuking empty_string should improve stability as I doubt every place correctly checked if they are not mistakenly erealloc()'ing it or calling efree() on it. NOTE: Some code is probably broken. Each extension maintainer should check and see that my changes are OK. Also, I haven't had time to touch PECL yet. Will try and do it tomorrow.
* - Improve performance of zend_alloc by stopping the size from being a bitAndi Gutmans2004-07-151-2/+1
| | | | | - field.
* - More fixesAndi Gutmans2004-05-251-1/+1
|
* - Make fix compile.Andi Gutmans2004-05-251-1/+1
|
* - Fix memory leak in mem cache in conjunction with Zend MM. How come no oneAndi Gutmans2004-05-251-1/+1
| | | | | - noticed this? :)
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-1/+1
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* cleanup & centralize ZEND_GCC_VERSION and ZEND_ATTRIBUTE_MALLOC so thatSascha Schumann2003-08-281-7/+1
| | | | | they can be used by downstream applications
* Enable attribute((malloc)) for GCC 2.96Sascha Schumann2003-08-281-1/+1
|
* GCC 2 does not know about malloc yet.Sascha Schumann2003-08-281-1/+5
|