summaryrefslogtreecommitdiff
path: root/Zend/zend_ptr_stack.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove local variablesPeter Kokot2019-02-031-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* Adios, yearly copyright rangesZeev Suraski2019-01-301-1/+1
|
* Update email addresses. We're still @Zend, but future proofing it...Zeev Suraski2018-11-011-2/+2
|
* Remove HAVE_STDARG_HPeter Kokot2018-09-181-3/+1
| | | | | | | | | | | | | | | | | | | | | The C89 standard and later defines the `<stdarg.h>` header as part of the standard headers [1]. On current systems it is always present and can be included unconditionally. Checking for presence and functionality of the `<stdarg.h>` header and variadic function is not relevant anymore on current systems since this is always available. Also Autoconf suggests relying on at least C89 or above [2] and [3]. The following files were regenerated with re2c 1.0.3: - Zend/zend_language_scanner.c - Zend/zend_language_scanner_defs.h Refs: [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 [2] http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 [3] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* Implement flexible heredoc/nowdoc syntaxThomas Punt2018-04-131-0/+9
| | | | | | | | | | | | | | | RFC: https://wiki.php.net/rfc/flexible_heredoc_nowdoc_syntaxes * The ending label no longer has to be followed by a semicolon or newline. Any non-label character is fine. * The ending label may be indented. The indentation will be stripped from all lines in the heredoc/nowdoc string. Lexing of heredoc strings performs a scan-ahead to determine the indentation of the ending label, so that the correct amount of indentation can be removed when calculting the semantic values for use by the parser. This makes the implementation quite a bit more complicated than we would like :/
* year++Xinchen Hui2018-01-021-1/+1
|
* further sync for vim mode linesAnatol Belski2017-07-041-0/+2
|
* 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-3/+3
|
* 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-17/+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/+16
| | | | | | | | | | | | | | 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
* - 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-3/+2
|
* sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-051-1/+1
|
* 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-4/+10
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* - Update copyright notices to 2006Andi Gutmans2006-01-041-1/+1
|
* Bump up the yearfoobar2005-08-031-1/+1
|
* - More ptr_stack optimizations and cleanupsAndi Gutmans2004-07-301-6/+2
|
* - 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-0/+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-15/+0
|
* - Update copyright yearAndi Gutmans2001-02-261-1/+1
|
* - Add restore_error_handler()Zeev Suraski2000-06-171-1/+12
| | | | | error_handler's are now stored in a stack
* It's official now...Zeev Suraski2000-03-061-3/+3
|
* (c) patchZeev Suraski2000-02-191-1/+1
|
* inline functions cannot accept varargsZeev Suraski1999-12-251-2/+2
|
* * header file cleanupStig S. Bakken1999-09-061-3/+2
| | | | | | | | * fixed --enable-thread-safety build for UNIX I don't have a Win32 environment available, could someone please try compiling on Win32 to see if I got all the header file stuff right there?
* - Damn that's more like it.Andi Gutmans1999-07-301-1/+1
|
* - Cut&paste crapAndi Gutmans1999-07-301-1/+1
|
* - Add ptr_stack_n_{push,pop} in order to speed up function calls a bit.Andi Gutmans1999-07-301-5/+42
| | | | | | 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/+8
|
* * Optimize argument_stack top lookupAndi Gutmans1999-04-131-0/+1
| | | | | * Fix a nasty bug in zend_ptr_stack_clean()
* This patch is a go. Not fully optimized yet, but working properly.Zeev Suraski1999-04-121-0/+2
| | | | | Prepatch tagged as BEFORE_STACK_PATCH.
* Zend LibraryAndi Gutmans1999-04-071-0/+71