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.26&r2=1.27&diff_format=u
Index: php-src/ext/json/
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.
h
mattwil Thu Mar 19 19:25:42 2009 UTC
Modified files:
/php-src/ext/json JSON_parser.c
Log:
Avoid 2 conversions when decoding numbers
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.24&r2=1.25&diff_format=u
Index: php-src/ext/json/JSON_parser.c
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, is_numeric_str
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 attache
Nope, this is just for us when creating zvals.
http://marc.info/?l=php-cvs&m=123086535705859&w=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
>>
>>
Does this need to go upstream to the json.org version?
Scott MacVicar wrote:
> scottmac Tue Mar 17 14:56:49 2009 UTC
>
> Modified files:
> /php-src/ext/json JSON_parser.c
> Log:
> Deal with overflow when decoding large numbers
>
>
>
> http://cvs.php.
scottmacTue Mar 17 14:56:49 2009 UTC
Modified files:
/php-src/ext/json JSON_parser.c
Log:
Deal with overflow when decoding large numbers
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.23&r2=1.24&diff_format=u
Index: php-src/ext
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()
http://cvs.
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 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.20&r2=1.21&diff_format=u
Index: php-src/ext/json/JSON_parser.c
diff -u p
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 ref
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.18&r2=1.19&diff_format=u
Index: php-src/ext/json/JSON_parser.c
diff -u php-sr
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.
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.17&r2=1.18&d
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.15&r2=1.16&diff_format=u
Index: php-src/e
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.14&r2=1.15&diff_format=u
Index: php-src/ext/json/JSON_parser.
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.26&r2=1.27&diff_format=u
Index: php-
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.12&r2=1.13&diff_format=u
Index: php-src/ext/json/JSON_
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).
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.11&r
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.10&r2=1.11&diff_format=u
Index: php-src/ext/json/
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.8&r2=1.9&diff_format=u
Index: php-s
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.7&r2=1.8&diff_format=u
Index: php-src/ext/json/JSON_parse
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.6&r2=1.7&diff_format=u
Index: php-src/ext/json/JSON_parser.c
diff -u php-src/ext/json/JSON_pa
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.5&r2=1.6&diff_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.4&r2=1.5&diff_format=u
Index: php-src/ext/json/JSON_parser.c
diff -u php-
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.3&r2=1.4&diff_format=u
Index: php-src/ext/json/JSON_parser.c
diff -u php-src/ext/json/JSON_pa
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.2&r2=1.3&diff_format=u
Index: php-src/ext/json/JSON_parser.c
diff -u php-src/ext/json
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
http://cvs.php.net/viewvc.
29 matches
Mail list logo