Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove ext/json parser files generated by bison | Peter Kokot | 2018-10-24 | 1 | -1969/+0 |
| | | | | | | | | | | | The parser files for ext/json are generated by bison from the *.y file. Parser files in Zend and sapi/phpdbg already follow such approach of these files being ignored from tracking in the Git repository and they are shipped via the release packages later on. This way the end users still don't need to have bison dependency installed to install PHP. The genfiles script was refactored to generate the ext/json parser and lexer files. | ||||
* | Revert "Rename _zval_dtor_func to _ref_dtor_func" | Xinchen Hui | 2018-07-06 | 1 | -739/+682 |
| | | | | This reverts commit a362ae6b12419369c5cbdbb4e924915f9b196ef6. | ||||
* | Rename _zval_dtor_func to _ref_dtor_func | Xinchen Hui | 2018-07-06 | 1 | -682/+739 |
| | |||||
* | Use zval_ptr_dtor_nogc() in JSON parser (it can't produce circular data ↵ | Dmitry Stogov | 2018-07-05 | 1 | -22/+22 |
| | | | | structures) | ||||
* | Use zend_string_release_ex() instread of zend_string_release() in places, ↵ | Dmitry Stogov | 2018-05-28 | 1 | -6/+6 |
| | | | | where we sure about string persistence. | ||||
* | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | |||||
* | RC manipulation cleanup 2 | Xinchen Hui | 2017-11-02 | 1 | -7/+4 |
| | |||||
* | Refactored array creation API. array_init() and array_init_size() are ↵ | Dmitry Stogov | 2017-09-20 | 1 | -2/+4 |
| | | | | converted into macros calling zend_new_array(). They are not functions anymore and don't return any values. | ||||
* | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | Fixed compilation warnings | Dmitry Stogov | 2016-06-22 | 1 | -3/+3 |
| | |||||
* | Use empty keys instead of _empty_ in json decoding | Jakub Zelenka | 2016-06-20 | 1 | -4/+1 |
| | |||||
* | Fix and clean up exporting of json parser | Jakub Zelenka | 2016-05-11 | 1 | -3/+8 |
| | |||||
* | Use embedded json parser method structure | Jakub Zelenka | 2016-05-02 | 1 | -13/+13 |
| | |||||
* | Remove json parser depth methods and tidy it up | Jakub Zelenka | 2016-04-10 | 1 | -54/+38 |
| | |||||
* | Add method hooking support to json parser | Jakub Zelenka | 2016-04-10 | 1 | -48/+116 |
| | | | | | | | This commit is just a slight modification (renaming and some small changes) of the patch that has been provided by Andrey Hristov. It adds support for hooking of the json parser operations and allows re-using of modified JSON parsing outside of json ext. | ||||
* | Happy new year (Update copyright to 2016) | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
| | |||||
* | Regenerate bison and re2c files in json | Jakub Zelenka | 2015-07-18 | 1 | -550/+444 |
| | |||||
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵ | Dmitry Stogov | 2015-06-30 | 1 | -446/+552 |
| | | | | semantick changes). | ||||
* | Fix bug #68546 (json_decode cannot access property started with \0) | Jakub Zelenka | 2015-06-21 | 1 | -7/+17 |
| | |||||
* | Improve json parser code | Jakub Zelenka | 2015-06-07 | 1 | -21/+67 |
| | |||||
* | Tidy up and regenerate json parser with latest bison version | Jakub Zelenka | 2015-05-10 | 1 | -736/+679 |
| | |||||
* | Optimized json_parser | Xinchen Hui | 2015-05-06 | 1 | -691/+748 |
| | | | | | | 1. use zend_string in key 2. use faster APIs 3. use ZVAL_COPY_VALUE instead of assignment (save u2 copy) | ||||
* | fix datatype mismatches | Anatol Belski | 2015-03-25 | 1 | -1/+1 |
| | |||||
* | s/PHP Version 5/PHP Version 7/g | Lior Kaplan | 2015-03-13 | 1 | -1/+1 |
| | | | | Follow up for d0cb7153 | ||||
* | ZTS cleanup | Reeze Xia | 2015-03-08 | 1 | -1/+1 |
| | |||||
* | Remove unused destructor in json parser | Jakub Zelenka | 2015-02-15 | 1 | -4/+4 |
| | |||||
* | Add bison 3.0.4 genereted files for json parser | Jakub Zelenka | 2015-02-15 | 1 | -0/+1860 |
The definitions file (json_parser.tab.h) contains file system dependent name for C preprocessor guard: YY_PHP_JSON_YY_HOME_JAKUB_PROG_PHP_MASTER_EXT_JSON_JSON_PARSER_TAB_H_INCLUDED This is because the srcdir is used for default definitions name. It's a correct default (--definition=$(srcdir)/json_parser.tab.h) because the build would fail otherwise. Unfortunately Bison does not have a special option for defining cpp guard name. The only way would be using skeleton file but that's not possible with the current configuration as it requires using a specific bison version (disallowing range of supported versions). |