103 Commits (495a5ab0057504b6719ee5be7462db8fa64a46f2)

Author SHA1 Message Date
Rasmus Lerdorf 8af64e6f34 Fix broken json tests in all branches 17 years ago
Scott MacVicar 87dbefa03b MFH: Add error constant when json_encode detects an invalid UTF-8 sequence. 17 years ago
Alexey Zakhlestin 3e326b91e7 fix tests corrupted by svn's eol-style=native 17 years ago
Stanislav Malyshev 2361b4ea2a fix json shared build on Windows 17 years ago
Felipe Pena caf8d811ef - MFH: Fixed memleak when depth arg is less than zero 17 years ago
Johannes Schlüter 96d5c5e931 The json header should be installed so other exts can use it 17 years ago
andy wharmby a6735b8b24 New json extension tests. Tested on Windows, Linux and Linux 64 bit. 17 years ago
Andrei Zmievski 77beb62c5f Fix the build. 17 years ago
Jani Taskinen 7012d0967c MFH: no dots in errors 17 years ago
Andrei Zmievski efc0927f4f Expose encode/decode API. 17 years ago
Kalle Sommer Nielsen 9e230424b5 Cast to unsigned char to prevent compiler warning 17 years ago
Kalle Sommer Nielsen 105272bdec MFH: Fix arginfo 17 years ago
Scott MacVicar d2a7785878 MFH Allow a custom recursion depth to be specified for json_decode() 17 years ago
Scott MacVicar f6dceb637b Rebuild credits, was missed in previous RC 17 years ago
Matt Wilmas 91d325dd72 MFH: Avoid 2 conversions when decoding numbers 17 years ago
Scott MacVicar a23b4073e8 MFH Missing skip in tests 17 years ago
Scott MacVicar c2b15e947d MFH Replace magic values with a define for json encoding, makes reading it a bit easier 17 years ago
Scott MacVicar 8d2a5cabec MFH Add PHP_JSON_FORCE_OBJECT for forcing an object output of an array 17 years ago
Scott MacVicar 3a0c86327f MFH Deal with overflow when decoding large numbers 17 years ago
Scott MacVicar 07e675cc52 MFH Fix bug #47644 - Valid integers are truncated with json_decode() 17 years ago
andy wharmby b2f1d92674 Fix tests. Add missing SKIPIF. Tested on Windows, Linux and Linux 64 17 years ago
Scott MacVicar 6fe58b3542 Fix test again... 17 years ago
Scott MacVicar b08ceb79b3 Fix broken test 17 years ago
Scott MacVicar 0bdbc4e356 MFH Fix bug #46944 - UTF-8 characters outside the BMP aren't encoded correctly. 17 years ago
Sebastian Bergmann 08659c2dcd MFH: Bump copyright year, 3 of 3. 17 years ago
Scott MacVicar 7fe245af85 MFH Make sure we clear out the error when the scalar version decoding works. 17 years ago
Scott MacVicar fdf2d1e46f MFH Add json_last_error() for getting a bit of information about what failed during a decode, also fixes a segfault when we have [1} 17 years ago
Scott MacVicar 6393540c75 MFH Fix Windows build 17 years ago
Scott MacVicar e5587ee4cc MFH Test for bug #45791 17 years ago
Scott MacVicar 8ef7fe1d99 Update the JSON parser with that on json.org, biggest change here is code readability. Less magic numbers in the state table. 17 years ago
Scott MacVicar ed5f04710b MFH Fix bug #45989 - json_decode() doesn't return NULL on certain invalid strings 17 years ago
Matt Wilmas d5295fc9c8 MFH: Changed logic for LONG_MIN 17 years ago
Felipe Pena 83c0eb69ad - Fixed tests 17 years ago
Felipe Pena fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 17 years ago
Felipe Pena 7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 18 years ago
Felipe Pena df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 18 years ago
Felipe Pena 3ecc545018 - New test 18 years ago
Felipe Pena 604c7f6ad2 - MFH: Fixed bug #46215 (json_encode mutates its parameter and has some class-specific state) 18 years ago
Rasmus Lerdorf c6671a0596 Fix test to test higher nesting level 18 years ago
Rasmus Lerdorf 2f469e8c15 We can afford a larger stack here and other json parsers out there 18 years ago
Jani Taskinen 4e2ed54d15 ws + cs 18 years ago
Jani Taskinen 7e67bc4e80 MFH: unused stuff 18 years ago
Felipe Pena cb0d08699d - Added arginfo 18 years ago
Antony Dovgal 0c01626f1c MFH 18 years ago
Dmitry Stogov 1a41611372 ZTS fix 18 years ago
Stanislav Malyshev b4443f35ff fix #43941: invalid utf-8 not accepted 18 years ago
Nuno Lopes 61eb7ae554 remove unused PHP_EXTNAME_API macros. 18 years ago
Sebastian Bergmann d1dded8751 MFH: Bump copyright year, 2 of 2. 18 years ago
Dmitry Stogov ebf4cd30db Fixed test related to bug #38469 18 years ago
Sara Golemon cce03434ef MFH (json.c r-1.32) Add support for encoding options 18 years ago