summaryrefslogtreecommitdiff
path: root/ext/json/json_scanner.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove lexer files generated by RE2CPeter Kokot2018-11-111-1661/+0
| | | | | | | | | | | | | | | | This patch removes generated lexer files by re2c during the build process so they are not tracked by Git yet can be still shipped when PHP is released. The genfiles script additionally provides generation of these lexer files when creating a release of the PHP source code. The genfiles script refactorings: - added file header - echoing steps instead of comments - cleaning only lines starting with `#line` - eval removed in favor of direct executed commands - the debug mode `set -x` removed - script can be called from any path - improved comments
* Regenerate scanners using re2c version >= 1.0.0 (newer version, at least, ↵Dmitry Stogov2018-07-251-44/+40
| | | | produce less code)
* Trailing whitespacesGabriel Caruso2018-01-031-33/+33
| | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
* year++Xinchen Hui2018-01-021-1/+1
|
* Reset utf8_invalid in json scannerJakub Zelenka2017-08-101-0/+1
|
* Fix possible overflow in json scanner utf8_invalid_countJakub Zelenka2017-08-101-2/+9
|
* Fix segfault in json ignoring of invalid UTF8Jakub Zelenka2017-08-061-0/+1
|
* Add JSON_INVALID_UTF8_SUBSTITUTE and JSON_INVALID_UTF8_IGNOREJakub Zelenka2017-07-161-153/+555
| | | | | It implements request #65082 and adds options for replacing resp. ignoring invalid UTF-8 sequences for json_encode and json_decode.
* Regenerate and bump re2c version to 0.16Jakub Zelenka2017-06-181-640/+572
| | | | It also matches the re2c version for Zend language scanner
* Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
|
* Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
|
* Regenerate bison and re2c files in jsonJakub Zelenka2015-07-181-548/+547
|
* Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-548/+549
| | | | semantick changes).
* Fix incompatible JSON errorsJakub Zelenka2015-06-281-484/+632
| | | | | | | This fixes differences in error codes with PHP 5 and 7. The malformed UTF-8 and control character error codes are now returned even in non-string context which makes it the same as it was in PHP 5 json ext.
* Fix bug #62010 (json_decode produces invalid byte-sequences)Jakub Zelenka2015-06-281-198/+217
|
* Bump re2c version for json scannerJakub Zelenka2015-06-281-1/+1
|
* s/PHP Version 5/PHP Version 7/gLior Kaplan2015-03-131-1/+1
| | | | Follow up for d0cb7153
* Regenerate json scanner with re2c 0.13.7.5Jakub Zelenka2015-02-151-1/+1
|
* better alignment + support size_tAnatol Belski2015-02-101-460/+459
|
* use portable strtolAnatol Belski2015-02-101-1/+1
|
* regenerated scannerAnatol Belski2015-02-091-458/+459
|
* Add re2c sourcesJakub Zelenka2015-02-021-0/+1155