kalle Tue May 19 16:06:17 2009 UTC
Modified files:
/php-src/ext/json JSON_parser.c
Log:
MFB: Cast to unsigned char to prevent compiler warning
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.26r2=1.27diff_format=u
Index:
scottmacThu May 14 00:13:57 2009 UTC
Modified files:
/php-src/ext/json JSON_parser.c JSON_parser.h json.c
Log:
Allow the json_decode() depth to be any size, but keep the static one around
for now. It might make sense to allow an unbound depth.
Nope, this is just for us when creating zvals.
http://marc.info/?l=php-cvsm=123086535705859w=2
Needs to be merged though.
Scott
Rasmus Lerdorf wrote:
Does this need to go upstream to the json.org version?
Scott MacVicar wrote:
scottmac Tue Mar 17 14:56:49 2009 UTC
Modified
Hi Scott,
Didn't get to send a message before you corrected the decoding, but was
going to suggest the method for long vs double checking that's used in the
scanner, is_numeric_string(), etc. (and I'm about to add a couple more). It
saves from using both strto* functions. :-) See the
Just forgetfulness with PHP 5.2, I'll get it applied soon.
Scott
On 17 Mar 2009, at 20:15, Matt Wilmas wrote:
Hi Scott,
Didn't get to send a message before you corrected the decoding, but
was going to suggest the method for long vs double checking that's
used in the scanner,
scottmacTue Mar 17 02:00:08 2009 UTC
Added files:
/php-src/ext/json/tests bug47644.phpt
Modified files:
/php-src/ext/json JSON_parser.c
Log:
Fix bug #47644 - Valid integers are truncated with json_decode()
scottmacFri Dec 19 02:01:00 2008 UTC
Modified files:
/php-src/ext/json JSON_parser.c JSON_parser.h json.c php_json.h
/php-src/ext/json/tests 007.phpt
Log:
Add json_last_error() for getting a bit of information about what failed
during a decode,
scottmacWed Dec 17 14:39:56 2008 UTC
Modified files:
/php-src/ext/json JSON_parser.c JSON_parser.h json.c
Log:
Update the JSON parser with that on json.org, biggest change here is code
readability. Less magic numbers in the state table.
Add missing
scottmacWed Dec 17 15:46:00 2008 UTC
Modified files:
/php-src/ext/json JSON_parser.c
Log:
Fix Windows build
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.20r2=1.21diff_format=u
Index: php-src/ext/json/JSON_parser.c
diff -u
mattwil Tue Dec 2 14:50:01 2008 UTC
Modified files:
/php-src/ext/json JSON_parser.c
Log:
Changed logic for LONG_MIN
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.18r2=1.19diff_format=u
Index: php-src/ext/json/JSON_parser.c
diff -u
rasmus Wed Jul 30 13:57:47 2008 UTC
Modified files:
/php-src/ext/json JSON_parser.c
Log:
We can afford a larger stack here and other json parsers out there
go deeper than 128.
tony2001Thu Jul 12 09:55:41 2007 UTC
Modified files:
/php-src/ext/json JSON_parser.c utf8_decode.c utf8_to_utf16.c
Log:
fix WS, CS and other S
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.15r2=1.16diff_format=u
Index:
iliaa Wed Jun 13 17:10:06 2007 UTC
Modified files:
/php-src/ext/json json.c JSON_parser.c
Log:
MFB: Fixed bug #41673 (json_encode breaks large numbers in arrays).
http://cvs.php.net/viewvc.cgi/php-src/ext/json/json.c?r1=1.26r2=1.27diff_format=u
Index:
iliaa Wed Jun 13 17:57:10 2007 UTC
Modified files:
/php-src/ext/json JSON_parser.c
Log:
MFB: Handle very small longs via double
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.14r2=1.15diff_format=u
Index: php-src/ext/json/JSON_parser.c
tony2001Fri Jun 8 08:51:46 2007 UTC
Modified files:
/php-src/ext/json JSON_parser.c
Log:
MFB: fix #41504 (json_decode() incorrectly decodes JSON arrays with empty
string keys).
tony2001Fri Jun 8 08:57:21 2007 UTC
Modified files:
/php-src/ext/json JSON_parser.c
Log:
oops, empty properties are not allowed
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.12r2=1.13diff_format=u
Index:
rasmus Thu May 24 22:39:06 2007 UTC
Modified files:
/php-src/ext/json JSON_parser.c
Log:
MFB 5_2 - increase json parser depth from 20 to 128
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.10r2=1.11diff_format=u
Index:
tony2001Wed May 16 12:53:36 2007 UTC
Added files:
/php-src/ext/json/tests bug41403.phpt
Modified files:
/php-src/ext/json JSON_parser.c
Log:
fix #41403 (json_decode cannot decode floats if localeconv decimal_point is
not
iliaa Thu Apr 19 22:49:12 2007 UTC
Modified files:
/php-src/ext/json JSON_parser.c
Log:
MFB: Fixed bug #41067 (json_encode() problem with UTF-16 input).
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.8r2=1.9diff_format=u
Index:
andrei Mon Apr 16 16:52:21 2007 UTC
Modified files:
/php-src/ext/json JSON_parser.c json.c
Log:
MFB (handling of control characters)
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.7r2=1.8diff_format=u
Index:
dmitry Wed Oct 18 07:41:33 2006 UTC
Modified files:
/php-src/ext/json JSON_parser.c
Log:
ZTS fix
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.6r2=1.7diff_format=u
Index: php-src/ext/json/JSON_parser.c
diff -u
andrei Tue Oct 17 17:56:54 2006 UTC
Modified files:
/php-src/ext/json JSON_parser.c json.c
Log:
Unicode support in JSON functions.
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.5r2=1.6diff_format=u
Index: php-src/ext/json/JSON_parser.c
tony2001Tue Jul 25 09:06:47 2006 UTC
Modified files:
/php-src/ext/json JSON_parser.c
Log:
initialize variable
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.4r2=1.5diff_format=u
Index: php-src/ext/json/JSON_parser.c
diff -u
nlopess Sat Jul 22 15:23:23 2006 UTC
Modified files:
/php-src/ext/json JSON_parser.c json.c
Log:
MFB
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.3r2=1.4diff_format=u
Index: php-src/ext/json/JSON_parser.c
diff -u
tony2001Thu Jul 20 08:23:45 2006 UTC
Added files:
/php-src/ext/json/tests 001.phpt
Modified files:
/php-src/ext/json JSON_parser.c
Log:
fix segfault caused by empty keys is JSON data
add test
tony2001Thu Jul 20 09:18:46 2006 UTC
Modified files:
/php-src/ext/json JSON_parser.c
Log:
ZTS fix
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.2r2=1.3diff_format=u
Index: php-src/ext/json/JSON_parser.c
diff -u
26 matches
Mail list logo