Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | basic macro replacements, all at once | Anatol Belski | 2014-08-19 | 1 | -4/+4 | |
| | | ||||||
* | | Cleanup (1-st round) | Dmitry Stogov | 2014-04-15 | 1 | -3/+3 | |
| | | ||||||
* | | Port tokenizer extension | Nikita Popov | 2014-04-10 | 1 | -24/+20 | |
|/ | ||||||
* | Bump year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 | |
| | ||||||
* | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 | |
| | ||||||
* | Fix lexing of nested heredoc strings in token_get_all() | Nikita Popov | 2012-03-31 | 1 | -4/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 Pena | 2012-01-01 | 1 | -1/+1 | |
| | ||||||
* | Fixed bug #54084 (token_get_all with regards to __halt_compiler is not ↵ | Stanislav Malyshev | 2011-11-08 | 1 | -6/+26 | |
| | | | | binary safe) | |||||
* | - Make usage of new PHP_FE_END macro | Felipe Pena | 2011-07-25 | 1 | -1/+1 | |
| | ||||||
* | Fixed bug #54089 (token_get_all() does not stop after __halt_compiler). | Ilia Alshanetsky | 2011-02-28 | 1 | -0/+4 | |
| | ||||||
* | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 | |
| | ||||||
* | - token_get_all now returns false on error, not "", returns array on success | Johannes Schlüter | 2010-05-30 | 1 | -2/+3 | |
| | ||||||
* | sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-03 | 1 | -1/+1 | |
| | ||||||
* | Fixed bug #47038 (Memory leak in include) | Dmitry Stogov | 2009-03-25 | 1 | -4/+1 | |
| | ||||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 | |
| | ||||||
* | - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro | Felipe Pena | 2008-11-17 | 1 | -2/+0 | |
| | ||||||
* | - Revert ZEND_BEGIN_ARG_INFO change | Felipe Pena | 2008-11-02 | 1 | -0/+2 | |
| | ||||||
* | - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro | Felipe Pena | 2008-10-24 | 1 | -2/+0 | |
| | ||||||
* | . Added support for using static HEREDOCs to initialize static variables and ↵ | Dmitry Stogov | 2008-07-26 | 1 | -1/+1 | |
| | | | | | | | | class members or constants. (Matt) . Improved syntax highlighting and consistency for variables in double-quoted strings and literal text in HEREDOCs and backticks. (Matt) . Optimized interpolated strings to use one less opcode. (Matt) | |||||
* | - MFH: suppress signedness warnings | Moriyoshi Koizumi | 2008-07-25 | 1 | -2/+2 | |
| | ||||||
* | - Fixed folding | Felipe Pena | 2008-06-23 | 1 | -1/+1 | |
| | ||||||
* | - Added arginfo | Felipe Pena | 2008-06-23 | 1 | -2/+14 | |
| | ||||||
* | Fixed memory leak | Dmitry Stogov | 2008-06-11 | 1 | -0/+4 | |
| | ||||||
* | - Rewrite scanner to be based on re2c instead of flex | Marcus Boerger | 2008-03-16 | 1 | -60/+2 | |
| | | | | | | | | | The full patch is available as: http://php.net/~helly/php-re2c-5.3-20080316.diff.txt This is against php-re2c repository version 98 An older patch against version 97 is available under: http://php.net/~helly/php-re2c-97-20080316.diff.txt | |||||
* | Added NOWDOC | Dmitry Stogov | 2008-02-12 | 1 | -1/+1 | |
| | ||||||
* | MFH: Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 | |
| | ||||||
* | Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) | Dmitry Stogov | 2007-09-27 | 1 | -1/+1 | |
| | ||||||
* | - MFH: Use a script to generate tokenizer data from zend_language_parser.h | Johannes Schlüter | 2007-07-31 | 1 | -244/+1 | |
| | ||||||
* | Improved compilation of heredocs and interpolated strings. (Matt, Dmitry) | Dmitry Stogov | 2007-05-18 | 1 | -5/+8 | |
| | ||||||
* | - MFH: Added linenumbers to array returned by token_get_all() | Johannes Schlüter | 2007-04-08 | 1 | -0/+4 | |
| | ||||||
* | MFH: nuke skeleton leftovers | Antony Dovgal | 2007-01-12 | 1 | -35/+0 | |
| | ||||||
* | MFH: Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 | |
| | ||||||
* | Removed pointless callbacks. | Ilia Alshanetsky | 2006-06-20 | 1 | -32/+3 | |
| | ||||||
* | Added automatic module globals management | Dmitry Stogov | 2006-06-15 | 1 | -3/+2 | |
| | ||||||
* | bump year and license version | foobar | 2006-01-01 | 1 | -3/+3 | |
| | ||||||
* | MFH: nuke php3 legacy | foobar | 2005-12-06 | 1 | -1/+1 | |
| | ||||||
* | tokenizer fixes for bug #35382 | Ilia Alshanetsky | 2005-11-27 | 1 | -0/+2 | |
| | | | | | Bug fixing news | |||||
* | MFH: - Fixed bug #35179 (tokenizer extension needs T_HALT_COMPILER) | foobar | 2005-11-10 | 1 | -1/+3 | |
| | ||||||
* | Fixed bug #34782 (token_get_all() gives wrong result) | Dmitry Stogov | 2005-10-21 | 1 | -0/+2 | |
| | ||||||
* | - Bumber up year | foobar | 2005-08-03 | 1 | -1/+1 | |
| | ||||||
* | - Fixed bug #28930 (PHP sources pick wrong header files generated by bison) | foobar | 2004-12-30 | 1 | -1/+1 | |
| | ||||||
* | - Fixed bug #24550 (tokenizing with __METHOD__ crash) (Patch by Greg Beaver) | Derick Rethans | 2004-03-08 | 1 | -0/+2 | |
| | ||||||
* | - CLONE, not CLOSE | Derick Rethans | 2004-03-02 | 1 | -1/+1 | |
| | ||||||
* | - Added "clone" to the list of tokens. (Patch by Greg Beaver) | Derick Rethans | 2004-03-02 | 1 | -0/+2 | |
| | ||||||
* | - fix #27197 for Greg (cellog@php.net) | Jan Lehnardt | 2004-02-10 | 1 | -0/+1 | |
| | ||||||
* | HEAD is bundled with ZE2 | Andrey Hristov | 2004-01-17 | 1 | -14/+0 | |
| | ||||||
* | - A belated happy holidays and PHP 5 | Andi Gutmans | 2004-01-08 | 1 | -2/+2 | |
| | ||||||
* | Fixed bug #26463 (Incorrect handling of semicolons after heredoc) | Ilia Alshanetsky | 2003-11-29 | 1 | -4/+6 | |
| | ||||||
* | Fixed a memory leak when tokenizing scripts with heredoc. | Ilia Alshanetsky | 2003-11-29 | 1 | -0/+3 | |
| | ||||||
* | Id tag added | Andrey Hristov | 2003-07-19 | 1 | -0/+2 | |
| |