[PHP-CVS] cvs: php-src /ext/json JSON_parser.c

2009-05-19 Thread Kalle Sommer Nielsen
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:

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c JSON_parser.h json.c

2009-05-13 Thread Scott MacVicar
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.

Re: [PHP-CVS] cvs: php-src /ext/json JSON_parser.c

2009-03-17 Thread Scott MacVicar
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

Re: [PHP-CVS] cvs: php-src /ext/json JSON_parser.c

2009-03-17 Thread Matt Wilmas
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

Re: [PHP-CVS] cvs: php-src /ext/json JSON_parser.c

2009-03-17 Thread Scott MacVicar
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,

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c /ext/json/tests bug47644.phpt

2009-03-16 Thread Scott MacVicar
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()

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c JSON_parser.h json.c php_json.h /ext/json/tests 007.phpt

2008-12-18 Thread Scott MacVicar
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,

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c JSON_parser.h json.c

2008-12-17 Thread Scott MacVicar
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

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c

2008-12-17 Thread Scott MacVicar
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

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c

2008-12-02 Thread Matt Wilmas
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

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c

2008-07-30 Thread Rasmus Lerdorf
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.

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c utf8_decode.c utf8_to_utf16.c

2007-07-12 Thread Antony Dovgal
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:

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c json.c

2007-06-13 Thread Ilia Alshanetsky
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:

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c

2007-06-13 Thread Ilia Alshanetsky
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

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c

2007-06-08 Thread Antony Dovgal
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).

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c

2007-06-08 Thread Antony Dovgal
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:

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c

2007-05-24 Thread Rasmus Lerdorf
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:

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c /ext/json/tests bug41403.phpt

2007-05-16 Thread Antony Dovgal
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

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c

2007-04-19 Thread Ilia Alshanetsky
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:

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c json.c

2007-04-16 Thread Andrei Zmievski
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:

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c

2006-10-18 Thread Dmitry Stogov
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

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c json.c

2006-10-17 Thread Andrei Zmievski
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

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c

2006-07-25 Thread Antony Dovgal
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

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c json.c

2006-07-22 Thread Nuno Lopes
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

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c /ext/json/tests 001.phpt

2006-07-20 Thread Antony Dovgal
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

[PHP-CVS] cvs: php-src /ext/json JSON_parser.c

2006-07-20 Thread Antony Dovgal
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