summaryrefslogtreecommitdiff
path: root/Zend/zend_ptr_stack.h
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* bump year which is missed in rev 49493a2Xinchen Hui2016-01-021-1/+1
|
* bump yearXinchen Hui2015-01-151-1/+1
|
* trailing whitespace removalStanislav Malyshev2015-01-101-1/+1
|
* Changed "inline" into "zend_always_inline"Dmitry Stogov2014-09-181-1/+1
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* . The VM stacks for passing function arguments and syntaticaly nested calls ↵Dmitry Stogov2012-11-301-2/+0
| | | | | | were merged into a single stack. The stack size needed for op_array execution is calculated at compile time and preallocated at once. As result all the stack push operatins don't require checks for stack overflow any more. . Generators implementation was improved using the new VM stack. Now it's a bit more clear and faster.
* Fixed bug #63132Nikita Popov2012-09-221-0/+2
| | | | | | | | | | | | | | EG(arg_types_stack) is now also backed up when generators are used. This allows the use of yield in nested method calls. This commit adds two new functions to the zend_ptr_stack API: zend_ptr_stack_push_from_memory zend_ptr_stack_pop_into_memory both taking the following arguments: zend_ptr_stack *stack, int count, void **pointers
* Fix lexing of nested heredoc strings in token_get_all()Nikita Popov2012-03-311-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | This fixes bug #60097. Before two global variables CG(heredoc) and CG(heredoc_len) were used to track the current heredoc label. In order to support nested heredoc strings the *previous* heredoc label was assigned as the token value of T_START_HEREDOC and the language_parser.y assigned that to CG(heredoc). This created a dependency of the lexer on the parser. Thus the token_get_all() function, which accesses the lexer directly without also running the parser, was not able to tokenize nested heredoc strings (and leaked memory). Same applies for the source-code highlighting functions. The new approach is to maintain a heredoc_label_stack in the lexer, which contains all active heredoc labels. As it is no longer required, T_START_HEREDOC and T_END_HEREDOC now don't carry a token value anymore. In order to make the work with zend_ptr_stack in this context more convenient I added a new function zend_ptr_stack_top(), which retrieves the top element of the stack (similar to zend_stack_top()).
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* zend_ptr_stack allocation is delayed before the actual usageDmitry Stogov2010-07-091-2/+3
|
* Added a number of small performance tweaks and optimizationsDmitry Stogov2010-04-201-6/+6
| | | | | | | . ZEND_RECV now always has IS_CV as its result . ZEND_CATCH now has to be used only with constant class names . ZEND_FETCH_DIM_? may fetch array and dimension operans in a different order
* sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-051-1/+1
|
* MFH: better fix for #48409 , #48428 , #48228Arnaud Le Blanc2009-06-051-2/+2
|
* MFH: better fix for #48409 , #48428 , #48228Arnaud Le Blanc2009-06-011-2/+2
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* - MFH: Allow persistent zent_ptr_stacks (patch by Andrey Hristov)Johannes Schlüter2007-11-091-1/+3
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* - Update copyright notices to 2006Andi Gutmans2006-01-041-1/+1
|
* Fixed bug #31177 (menory leaks and corruption because of incorrect refcounting)Dmitry Stogov2005-10-201-1/+8
|
* Bump up the yearfoobar2005-08-031-1/+1
|
* - More ptr_stack optimizations and cleanupsAndi Gutmans2004-07-301-25/+29
|
* - Improve performance by inlining zend_ptr_stack_n_push(). var_args canAndi Gutmans2004-07-301-0/+40
| | | | | usually not be inlined by compilers.
* wrap ZEND_API prototypes into BEGIN_EXTERN_C/END_EXTERN_CHartmut Holzgraefe2004-02-181-0/+2
| | | | | for C++ extension support
* - 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?
* updating license information in the headers.James Cox2003-06-101-1/+1
|
* - Added some missing CVS $Id$ tags, headers and footers.foobar2003-02-011-1/+9
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* Happy New Year.Sebastian Bergmann2002-01-061-1/+1
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* Remove the last couple of bogus inlinesZeev Suraski2001-07-111-2/+17
|
* - Update copyright yearAndi Gutmans2001-02-261-1/+1
|
* Change header protection macros to conform to standard.Sascha Schumann2000-07-021-3/+3
| | | | | | | | | Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment" All identifiers that begin with an underscore and either an uppercase letter or another underscore are always reserved for any use by the implementation.
* - Add restore_error_handler()Zeev Suraski2000-06-171-1/+2
| | | | | error_handler's are now stored in a stack
* It's official now...Zeev Suraski2000-03-061-4/+4
|
* (c) patchZeev Suraski2000-02-191-1/+1
|
* inline functions cannot accept varargsZeev Suraski1999-12-251-2/+2
|
* - Add ptr_stack_n_{push,pop} in order to speed up function calls a bit.Andi Gutmans1999-07-301-1/+3
| | | | | | There seems to be no reason for stack->top in the ptr_stack except for when realloc()'in the stack. I think I'll remove it.
* 0.91 updateZeev Suraski1999-07-191-2/+2
|
* License updateZeev Suraski1999-07-161-4/+7
|
* * Add struct name to all typedef's so that they can be debugged with MSVCZeev Suraski1999-05-221-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
* Zend LibraryAndi Gutmans1999-04-071-0/+37