Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - Nuke empty_string. It is a reminanent from the time where RETURN_FALSE() | Andi Gutmans | 2004-07-19 | 1 | -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 bit | Andi Gutmans | 2004-07-15 | 1 | -2/+1 | |
| | | | | | - field. | |||||
* | - More fixes | Andi Gutmans | 2004-05-25 | 1 | -1/+1 | |
| | ||||||
* | - Make fix compile. | Andi Gutmans | 2004-05-25 | 1 | -1/+1 | |
| | ||||||
* | - Fix memory leak in mem cache in conjunction with Zend MM. How come no one | Andi Gutmans | 2004-05-25 | 1 | -1/+1 | |
| | | | | | - noticed this? :) | |||||
* | - Happy new year and PHP 5 for rest of the files too.. | foobar | 2004-01-08 | 1 | -1/+1 | |
| | | | | | # Should the LICENSE and Zend/LICENSE dates be updated too? | |||||
* | cleanup & centralize ZEND_GCC_VERSION and ZEND_ATTRIBUTE_MALLOC so that | Sascha Schumann | 2003-08-28 | 1 | -7/+1 | |
| | | | | | they can be used by downstream applications | |||||
* | Enable attribute((malloc)) for GCC 2.96 | Sascha Schumann | 2003-08-28 | 1 | -1/+1 | |
| | ||||||
* | GCC 2 does not know about malloc yet. | Sascha Schumann | 2003-08-28 | 1 | -1/+5 | |
| | ||||||
* | provide attribute((malloc)) where appropiate | Sascha Schumann | 2003-08-28 | 1 | -9/+11 | |
| | ||||||
* | Improve tracking | Zeev Suraski | 2003-08-18 | 1 | -0/+7 | |
| | ||||||
* | updating license information in the headers. | James Cox | 2003-06-10 | 1 | -1/+1 | |
| | ||||||
* | add safe_emalloc | Sascha Schumann | 2003-04-24 | 1 | -0/+3 | |
| | ||||||
* | - Added some missing CVS $Id$ tags, headers and footers. | foobar | 2003-02-01 | 1 | -0/+2 | |
| | ||||||
* | Bump year. | Sebastian Bergmann | 2002-12-31 | 1 | -1/+1 | |
| | ||||||
* | - Don't keep allocated blocks in a linked list if we're in non-debug mode | Andi Gutmans | 2002-06-24 | 1 | -0/+4 | |
| | | | | | - as now the memory manager takes care to nuke all leaking blocks. | |||||
* | - MFZE1 | Andi Gutmans | 2002-06-22 | 1 | -2/+1 | |
| | ||||||
* | - Nuke persist_alloc(). | Andi Gutmans | 2002-06-22 | 1 | -3/+0 | |
| | ||||||
* | Revert. | Sebastian Bergmann | 2002-04-28 | 1 | -1/+2 | |
| | ||||||
* | MFZE1: If the size-operands of memset are constants, the compiler can turn ↵ | Sebastian Bergmann | 2002-04-27 | 1 | -2/+1 | |
| | | | | them into fast inline code. So, instead of using ecalloc, we use emalloc + memset in macro form now. emalloc will not return NULL, so the chosen macro form is safe. This is not true for malloc(3). An inline function accomodates our needs here. Suggested by: http://www.mail-archive.com/dev%40httpd.apache.org/msg02492.html (Sascha) | |||||
* | - MFZE1 | Andi Gutmans | 2002-02-26 | 1 | -1/+1 | |
| | ||||||
* | Happy New Year. | Sebastian Bergmann | 2002-01-06 | 1 | -1/+1 | |
| | ||||||
* | Update headers. | Sebastian Bergmann | 2001-12-11 | 1 | -2/+2 | |
| | ||||||
* | Whitespace | Zeev Suraski | 2001-08-11 | 1 | -11/+11 | |
| | ||||||
* | Redesigned thread safety mechanism - nua nua | Zeev Suraski | 2001-07-28 | 1 | -4/+1 | |
| | ||||||
* | - Whitespace | Andi Gutmans | 2001-04-29 | 1 | -1/+1 | |
| | ||||||
* | - Improve overwrite detection in debug mode. | Andi Gutmans | 2001-04-29 | 1 | -1/+1 | |
| | ||||||
* | - Update copyright year | Andi Gutmans | 2001-02-26 | 1 | -1/+1 | |
| | ||||||
* | Fix Zend build for non ZTS | Zeev Suraski | 2000-11-19 | 1 | -0/+3 | |
| | ||||||
* | Add thread-safety debugging information (idea - Dmitri Dmitrienko) | Zeev Suraski | 2000-11-18 | 1 | -0/+4 | |
| | ||||||
* | The new INI parser is showing some signs of life | Zeev Suraski | 2000-10-29 | 1 | -1/+2 | |
| | ||||||
* | Replace macros which begin with an underscore through an appropiately | Sascha Schumann | 2000-07-03 | 1 | -2/+2 | |
| | | | | | named macro. | |||||
* | - Change cache size and only initialize part of it. | Andi Gutmans | 2000-06-22 | 1 | -3/+5 | |
| | ||||||
* | - More correct way of doing bit mask | Andi Gutmans | 2000-06-14 | 1 | -1/+1 | |
| | ||||||
* | - Allocate and cache in 8 byte blocks. Most allocators anyway use 8 byte | Andi Gutmans | 2000-06-09 | 1 | -2/+2 | |
| | | | | | | - blocks. This should help fragmentation and cache hits. - The old tree is tagged as PRE_EIGHT_BYTE_ALLOC_PATCH | |||||
* | *** empty log message *** | Andi Gutmans | 2000-03-25 | 1 | -1/+1 | |
| | ||||||
* | It's official now... | Zeev Suraski | 2000-03-06 | 1 | -3/+3 | |
| | ||||||
* | (c) patch | Zeev Suraski | 2000-02-19 | 1 | -1/+1 | |
| | ||||||
* | - Run it on align_test | Andi Gutmans | 2000-01-30 | 1 | -1/+1 | |
| | ||||||
* | - This will save some memory w/ GCC compilers on some platforms | Andi Gutmans | 2000-01-29 | 1 | -1/+5 | |
| | ||||||
* | namespace protection | Zeev Suraski | 1999-12-26 | 1 | -5/+5 | |
| | ||||||
* | Fix warnings surfacing in maintainer-mode. | Stig S. Bakken | 1999-12-01 | 1 | -0/+1 | |
| | ||||||
* | - Shift around header files. | Andi Gutmans | 1999-09-05 | 1 | -1/+3 | |
| | ||||||
* | Beef up debug macros | Zeev Suraski | 1999-08-28 | 1 | -28/+29 | |
| | ||||||
* | Better debug macros | Zeev Suraski | 1999-08-27 | 1 | -39/+34 | |
| | ||||||
* | 0.91 update | Zeev Suraski | 1999-07-19 | 1 | -2/+2 | |
| | ||||||
* | License update | Zeev Suraski | 1999-07-16 | 1 | -4/+8 | |
| | ||||||
* | * Support recoverable failure from erealloc() | Zeev Suraski | 1999-07-09 | 1 | -21/+24 | |
| | | | | | * Fix the shutdown code on an unrecoverable erealloc() failure | |||||
* | * Make the memory leak reporting code much better with repeats | Zeev Suraski | 1999-06-26 | 1 | -0/+1 | |
| | | | | | * Remove useless variables | |||||
* | * Add struct name to all typedef's so that they can be debugged with MSVC | Zeev Suraski | 1999-05-22 | 1 | -1/+1 | |
| | | | | | | | | | | * Fix an AiCount bug - list(...) = $var was using $var multiple times, and thus causing AiCount to be decreased multiple times even though it was increased only once for $var. Mark all FETCH_DIM's so that they won't decrease AiCount, and only decrease AiCount on the last FETCH_DIM. * Fix a stupid bug - forgot to pass CLS_C to some compiler function. For some reason MSVC doesn't report these :I |