Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Happy new year (Update copyright to 2016) | Lior Kaplan | 2016-01-01 | 2 | -2/+2 |
| | |||||
* | Use the same CS for all json tests | Jakub Zelenka | 2015-11-15 | 32 | -252/+185 |
| | |||||
* | Add tests for json_last_error()/json_last_error_msg() failures | Kubo2 | 2015-07-21 | 2 | -0/+43 |
| | |||||
* | Merge remote-tracking branch 'github/pr/637' into PHP-5.6 | Stanislav Malyshev | 2015-04-18 | 6 | -219/+2 |
|\ | | | | | | | | | * github/pr/637: Remove unused code from ext/json. | ||||
| * | Remove unused code from ext/json. | Rouven Weßling | 2014-03-30 | 4 | -199/+2 |
| | | |||||
* | | Merge branch 'PHP-5.5' into PHP-5.6 | Jakub Zelenka | 2015-02-22 | 2 | -17/+27 |
|\ \ | | | | | | | | | | | | | Conflicts: ext/json/json.c | ||||
| * | | Fix bug #64695 (JSON_NUMERIC_CHECK has issues with strings that are numbers ↵ | Jakub Zelenka | 2015-02-22 | 2 | -11/+21 |
| | | | | | | | | | | | | plus the letter e) | ||||
* | | | Merge branch 'PHP-5.5' into PHP-5.6 | Julien Pauli | 2015-02-04 | 3 | -19/+2 |
|\ \ \ | |/ / | | | | | | | | | | | | | * PHP-5.5: Revert "json_decode() should generate a syntax error when given ""." Update NEWS | ||||
| * | | Revert "json_decode() should generate a syntax error when given ""." | Julien Pauli | 2015-02-04 | 3 | -19/+2 |
| | | | | | | | | | | | | This reverts commit a7b3abe4e6f5e2fdfd8d55b676c9ca6b3f9c8cc8. | ||||
* | | | Merge branch 'PHP-5.5' into PHP-5.6 | Adam Harvey | 2015-02-02 | 3 | -2/+19 |
|\ \ \ | |/ / | |||||
| * | | json_decode() should generate a syntax error when given "". | Adam Harvey | 2015-02-02 | 3 | -2/+19 |
| | | | | | | | | | | | | | | | Fixes bug #68938 (json_decode() decodes empty string without error). Patch by jeremy at bat-country dot us. | ||||
| * | | Bump year | Xinchen Hui | 2015-01-15 | 2 | -2/+2 |
| | | | |||||
* | | | Fixed bug #50224 where float without decimals were converted to integer | Juan Basso | 2015-01-19 | 3 | -8/+90 |
| | | | |||||
* | | | bump year | Xinchen Hui | 2015-01-15 | 2 | -2/+2 |
| | | | |||||
* | | | Merge branch 'PHP-5.5' into PHP-5.6 | Lior Kaplan | 2014-08-17 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-5.5: typofixes | ||||
| * | | Merge branch 'PHP-5.4' into PHP-5.5 | Lior Kaplan | 2014-08-17 | 1 | -1/+1 |
| |\ \ | | | | | | | | | | | | | | | | | * PHP-5.4: typofixes | ||||
| | * | | typofixes | Veres Lajos | 2014-08-17 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'PHP-5.5' into PHP-5.6 | Stanislav Malyshev | 2014-04-13 | 2 | -8/+30 |
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | * PHP-5.5: Fix #66021 (Blank line inside empty array/object) | ||||
| * | | Merge branch 'PHP-5.4' into PHP-5.5 | Stanislav Malyshev | 2014-04-13 | 2 | -8/+30 |
| |\ \ | | |/ | | | | | | | | | | * PHP-5.4: Fix #66021 (Blank line inside empty array/object) | ||||
| | * | Merge branch 'pull-request/518' into PHP-5.4 | Stanislav Malyshev | 2014-04-13 | 2 | -8/+30 |
| | |\ | | | | | | | | | | | | | | | | | * pull-request/518: Fix #66021 (Blank line inside empty array/object) | ||||
| | | * | Fix #66021 (Blank line inside empty array/object) | Kevin Israel | 2013-11-02 | 2 | -8/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed json_encode() so that when the JSON_PRETTY_PRINT option is specified, the pair of linefeeds immediately after an opening bracket and before the corresponding closing bracket is omitted when the array or object contains no elements or accessible properties (and hence would have a blank line between the brackets). | ||||
| * | | | Merge branch 'PHP-5.4' into PHP-5.5 | Julien Pauli | 2014-02-17 | 2 | -2/+2 |
| |\ \ \ | | |/ / | | | | | | | | | | | | | * PHP-5.4: Export JsonSerializable Interface (bug #65753) | ||||
| | * | | Export JsonSerializable Interface (bug #65753) | Julien Pauli | 2014-02-17 | 2 | -2/+2 |
| | | | | |||||
| | * | | Bump year | Xinchen Hui | 2014-01-03 | 2 | -2/+2 |
| | | | | |||||
| * | | | Bump year | Xinchen Hui | 2014-01-03 | 2 | -2/+2 |
| | | | | |||||
* | | | | Export JsonSerializable Interface (bug #65753) | Julien Pauli | 2014-02-17 | 2 | -2/+2 |
| | | | | |||||
* | | | | Bump year | Xinchen Hui | 2014-01-03 | 2 | -2/+2 |
| | | | | |||||
* | | | | Fixed case part of bug #64874 ("json_decode handles whitespace and ↵ | Andrea Faulds | 2013-11-11 | 2 | -3/+72 |
|/ / / | | | | | | | | | | case-sensitivity incorrectly") | ||||
* | | | Merge branch 'PHP-5.4' into PHP-5.5 | Adam Harvey | 2013-11-10 | 2 | -8/+139 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | * PHP-5.4: Update NEWS and remove the unnecessary UPGRADING note. UPGRADING and NEWS Better test: Check combined leading/trailing Fixed whitespace part of bug #64874 ("json_decode handles whitespace and case-sensitivity incorrectly") | ||||
| * | | Better test: Check combined leading/trailing | Andrea Faulds | 2013-10-15 | 1 | -0/+66 |
| | | | |||||
| * | | Fixed whitespace part of bug #64874 ("json_decode handles whitespace and ↵ | Andrea Faulds | 2013-09-17 | 2 | -8/+73 |
| |/ | | | | | | | case-sensitivity incorrectly") | ||||
| * | Happy New Year | Xinchen Hui | 2013-01-01 | 2 | -2/+2 |
| | | |||||
* | | HASH_KEY_NON_EXISTANT fix | Veres Lajos | 2013-07-21 | 1 | -2/+2 |
| | | |||||
* | | Happy New Year | Xinchen Hui | 2013-01-01 | 2 | -2/+2 |
| | | |||||
* | | Merge branch 'PHP-5.4' into PHP-5.5 | Adam Harvey | 2012-12-11 | 2 | -3/+60 |
|\ \ | |/ | | | | | | | * PHP-5.4: Alter php_json_decode_ex() to respect JSON_BIGINT_AS_STRING for bare numbers. | ||||
| * | Alter php_json_decode_ex() to respect JSON_BIGINT_AS_STRING for bare numbers. | Adam Harvey | 2012-12-11 | 2 | -3/+60 |
| | | | | | | | | Fixes bug #63737 (json_decode does not properly decode with options parameter). | ||||
* | | Merge branch 'PHP-5.4' into PHP-5.5 | Remi Collet | 2012-11-26 | 1 | -17/+22 |
|\ \ | |/ | | | | | | | * PHP-5.4: Related bug #63588 fix length computation + optimize for speed | ||||
| * | Related bug #63588 fix length computation + optimize for speed | Remi Collet | 2012-11-26 | 1 | -17/+22 |
| | | | | | | | | | | | | Following comment from Yoram "The patch looks fine, except of testing for true value of utf16 in each iteration." Also fix the length computation during check phase. | ||||
* | | Merge branch 'PHP-5.4' into PHP-5.5 | Remi Collet | 2012-11-25 | 5 | -67/+31 |
|\ \ | |/ | | | | | | | * PHP-5.4: Fixed bug #63588 Duplicate implementation of php_next_utf8_char | ||||
| * | Fixed bug #63588 Duplicate implementation of php_next_utf8_char | Remi Collet | 2012-11-25 | 5 | -67/+31 |
| | | | | | | | | | | | | | | | | | | Json use an utf8 parser from a third party library, switch to our implementation of php_next_utf8_char. This also helps on solving #63520. All the unit tests succeed. Our implementation also seems a little faster. json.dsp need to be regenerated. | ||||
| * | Revert JSON merges to 5.4 | Nikita Popov | 2012-07-01 | 16 | -232/+47 |
| | | | | | | | | | | | | | | | | This reverts the following merge commits (-m 1): 405ebfcd182a39f0960ff7d7055d49053d3e0316 d372b33c9b941be9a795bf3705bd22dc5f6092c3 36fa17a5fae84ab332366a202f0a709279a2466a | ||||
* | | Fix 64bit JSON test | Nikita Popov | 2012-08-13 | 1 | -2/+2 |
| | | |||||
* | | Fix test failed due to new feature introduced in 45d596ea | Xinchen Hui | 2012-07-29 | 2 | -4/+2 |
| | | |||||
* | | Add optional depth parameter to json_encode #62369 | Florian Anderiasch | 2012-07-24 | 3 | -1/+44 |
|/ | |||||
* | fix bug #61359: json_encode() calls too many reallocs | Stanislav Malyshev | 2012-06-30 | 1 | -9/+12 |
| | |||||
* | Merge branch 'PHP-5.3' into PHP-5.4 | Nikita Popov | 2012-06-28 | 8 | -42/+51 |
|\ | | | | | | | | | * PHP-5.3: Add json_last_error_msg() function | ||||
| * | Add json_last_error_msg() function | Nikita Popov | 2012-06-28 | 8 | -42/+51 |
| | | | | | | | | | | This replaces json_last_error(true) and is consistent with other custom error handling functions. | ||||
* | | Merge branch 'PHP-5.3' into PHP-5.4 | Nikita Popov | 2012-06-27 | 11 | -58/+113 |
|\ \ | |/ | | | | | | | | | | | | | | | * PHP-5.3: Improve JSON error handling Conflicts: ext/json/tests/bug54058.phpt ext/json/tests/bug61537.phpt | ||||
| * | Improve JSON error handling | Nikita Popov | 2012-06-27 | 8 | -49/+92 |
| | | | | | | | | | | | | | | | | | | json_encode() no longer throws warnings. Instead only the error code for json_last_error() is set. As it is hard to debug the error from just an error code an optional $as_string parameter was added to json_last_error(), which returns an error message instead of an error code. | ||||
* | | Merge branch 'PHP-5.3' into PHP-5.4 | Nikita Popov | 2012-06-23 | 14 | -26/+147 |
|\ \ | |/ | | | | | | | | | | | | | | | * PHP-5.3: Improve json_encode error handling - BFN Conflicts: ext/json/json.c |