summaryrefslogtreecommitdiff
path: root/ext/json
Commit message (Collapse)AuthorAgeFilesLines
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-032-2/+2
|
* Fix broken json tests in all branchesRasmus Lerdorf2009-08-033-35/+19
|
* Fix 2 broken json tests.Rasmus Lerdorf2009-07-262-6/+6
| | | | | | | | json_decode() returns a binary string, not unicode for efficiency, and if you are going to test invalid utf8 in a test, you have to stuff it into a binary string or it will be valid unicode by definition.
* There is no error code set for json_last_error if an invalid utf8Rasmus Lerdorf2009-07-222-0/+4
| | | | | | sequence is encountered. This fixes that. Might be worthwhile to merge to 5.3 despite the new constant.
* - Fixed memleak when depth arg is less than zeroFelipe Pena2009-06-241-0/+1
|
* The json header should be installed so other exts can use itJohannes Schlüter2009-06-231-0/+1
|
* New json extension tests. Tested on Windows, Linux and Linux 64 bit.andy wharmby2009-06-145-0/+450
|
* - No dots in error messagesJani Taskinen2009-05-311-3/+3
|
* Make a note.Andrei Zmievski2009-05-311-0/+6
|
* MFB: Cast to unsigned char to prevent compiler warningKalle Sommer Nielsen2009-05-191-1/+1
|
* Fix arginfoKalle Sommer Nielsen2009-05-151-1/+2
|
* Throw an error rather than silently changing to the default.Scott MacVicar2009-05-141-1/+2
|
* Allow the json_decode() depth to be any size, but keep the static one around ↵Scott MacVicar2009-05-143-7/+14
| | | | for now. It might make sense to allow an unbound depth.
* MFB Rebuild credits, was missed in previous RCScott MacVicar2009-04-021-1/+1
|
* Avoid 2 conversions when decoding numbersMatt Wilmas2009-03-191-6/+17
|
* Missing skip in testsScott MacVicar2009-03-171-0/+2
|
* Replace magic values with a define, makes reading it a bit easierScott MacVicar2009-03-171-7/+10
|
* Add PHP_JSON_FORCE_OBJECT for forcing an object output of an arrayScott MacVicar2009-03-172-1/+13
|
* Deal with overflow when decoding large numbersScott MacVicar2009-03-171-2/+3
|
* Fix bug #47644 - Valid integers are truncated with json_decode()Scott MacVicar2009-03-172-4/+47
|
* - This is PHP 6 - if this ... ever gets outMarcus Boerger2009-03-102-2/+2
|
* Fix tests. Add missing SKIPIF. Tested on Windows, Linux and Linux 64andy wharmby2009-01-231-0/+6
|
* Fix bug #46944 - UTF-8 characters outside the BMP aren't encoded correctly.Scott MacVicar2009-01-022-2/+2
|
* Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-312-2/+2
|
* Make sure we clear out the error when the scalar version decoding works.Scott MacVicar2008-12-241-0/+12
|
* Add json_last_error() for getting a bit of information about what failed ↵Scott MacVicar2008-12-195-29/+108
| | | | | | | during a decode, also fixes a segfault when we have [1} [DOC]
* Fix Windows buildScott MacVicar2008-12-171-0/+3
|
* Test for bug #45791Scott MacVicar2008-12-171-0/+13
|
* Update the JSON parser with that on json.org, biggest change here is code ↵Scott MacVicar2008-12-173-602/+639
| | | | | | | | | readability. Less magic numbers in the state table. Add missing reflection information to json_encode() Fixes bug #45791 with 0e0 not being supported as a value Error values are stored when encountered during parsing
* Fix bug #45989 - json_decode() doesn't return NULL on certain invalid stringsScott MacVicar2008-12-125-82/+69
|
* Changed logic for LONG_MINMatt Wilmas2008-12-021-1/+1
|
* - Fixed testsFelipe Pena2008-11-191-0/+2
|
* - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!)Felipe Pena2008-11-171-2/+0
|
* - Revert ZEND_BEGIN_ARG_INFO changeFelipe Pena2008-11-021-0/+2
|
* - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macroFelipe Pena2008-10-241-2/+0
|
* - New testFelipe Pena2008-10-021-0/+23
|
* - Fixed bug #46215 (json_encode mutates its parameter and has some ↵Felipe Pena2008-10-021-0/+3
| | | | class-specific state)
* Fix test to test higher nesting levelRasmus Lerdorf2008-07-311-4/+4
|
* We can afford a larger stack here and other json parsers out thereRasmus Lerdorf2008-07-301-1/+1
| | | | | go deeper than 128.
* MFB:- Fixed bug #38680 (Added missing handling of basic types in json_decode)Jani Taskinen2008-07-221-0/+4
| | | | | | # This was claimed to be in HEAD but wasn't..some commit reverted it or # someone didn't check for real..
* MFB: syncJani Taskinen2008-07-221-5/+0
|
* ws + cs + sync with PHP_5_3Jani Taskinen2008-07-221-117/+100
|
* - Add missing tests (thanks for being so fucking lazy Ilia!)Jani Taskinen2008-07-222-0/+46
|
* - MFB: Added arginfoFelipe Pena2008-06-271-2/+15
|
* - killed off UEXPECTSteph Fox2008-05-2716-2713/+7
| | | | | | - com_dotnet gets a .cvsignore - Ulf will take care of mysql extensions, rest complete
* - Added some UEXPECTsFelipe Pena2008-03-221-0/+4
| | | | | - Fixed some tests
* FIxed tests (new error message - E_DEPRECATED)Felipe Pena2008-02-231-1/+1
|
* cosmetic fixAntony Dovgal2008-02-151-1/+1
|
* ZTS fixDmitry Stogov2008-01-301-4/+4
|
* fix #43941: invalid utf-8 not acceptedStanislav Malyshev2008-01-303-5/+31
|