summaryrefslogtreecommitdiff
path: root/ext/json/ext/parser/parser.c
Commit message (Collapse)AuthorAgeFilesLines
* WIPparsing-numbers-with-specified-number-classesFlorian Frank2016-09-231-1301/+1160
|
* Fix issue #296 when parsing frozen stringsFlorian Frank2016-07-261-8/+11
|
* Stores current nesting on stackFlorian Frank2016-07-011-66/+61
|
* Fix some merge problemsFlorian Frank2016-06-211-64/+0
|
* Optional hash in rb_scan_argsNobuyoshi Nakada2016-06-211-0/+32
| | | | | Use ':' in rb_scan_args to get optional hash, which available since ruby 2.1.
* Exception encodingNobuyoshi Nakada2016-06-211-1/+33
| | | | Raise with messages in UTF-8 encoding.
* Use rb_encodingNobuyoshi Nakada2016-06-211-89/+8
| | | | Use rb_encoding functions to convert encodings.
* Remove unnecessary conversionNobuyoshi Nakada2016-06-211-1/+32
| | | | StringValue does the conversion.
* Use enumNobuyoshi Nakada2016-06-211-8/+57
| | | | | Use `enum` instead of `static const int` to get rid of unused-const-variable warnings.
* regenerate parserAaron Patterson2016-06-211-0/+2
|
* Merge more changes from ruby coreFlorian Frank2016-06-211-95/+110
|
* Force ASCII 8bit to be UTF-8 and hope for the bestFlorian Frank2016-06-031-79/+83
|
* Disallow usage of symbolize_names and create_additionsFlorian Frank2015-06-151-10/+16
|
* Ext parser is green now as wellFlorian Frank2015-06-151-332/+211
|
* Remove byte sniffing from Ext::ParserFlorian Frank2015-06-131-88/+53
|
* parser.rl: allocate structs with wrappernobu2015-05-281-10/+4
| | | | | | | | * ext/json/ext/parser/parser.rl (cJSON_parser_s_allocate): allocate structs with making new wrapper objects and get rid of potential memory leak. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use ZALLOC if it can be used, and defined ZALLOC macro.SHIBATA Hiroshi2015-02-121-35/+34
|
* sync trunk again: fixed regression of r49027SHIBATA Hiroshi2015-02-121-4/+4
|
* Fall back to Data_* wrappers on ancient rubiesFlorian Frank2015-01-021-0/+2
|
* Merge branch 'ruby-2.2' of https://github.com/zzak/json into zzak-ruby-2.2Florian Frank2015-01-021-4/+21
|\ | | | | | | | | | | | | Conflicts: .travis.yml json.gemspec json_pure.gemspec
| * RUBY_TYPED_FREE_IMMEDIATELY isn't always availableZachary Scott2014-12-271-33/+35
| |
| * Sync with trunkZachary Scott2014-12-251-39/+54
| |
| * - Pass over generator.c for grammar fixes.Vipul A M2014-07-031-1/+1
| | | | | | | | - Typo fixes across json ext
| * Change documentation to reflect new default valueFlorian Frank2014-04-011-1/+1
| |
* | Fix documentation wordingFlorian Frank2014-07-031-2/+2
|/
* Security fix create_additons/JSON::GenericObjectv1.7.7Florian Frank2013-02-111-1/+1
|
* Increase default max_nesting to 100Erik Michaels-Ober2012-10-051-3/+3
| | | | See discussion at https://github.com/intridea/multi_json/pull/59.
* Throw exception unless source is a stringFlorian Frank2012-04-271-17/+18
|
* The behavior of reference to inner defined variable is undefined.NARUSE, Yui2012-01-151-1/+1
| | | | | https://bugs.ruby-lang.org/issues/5888 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51862
* Support duck typed ruby array in JRuby as wellFlorian Frank2011-12-201-5/+5
|
* Support object class with duck type hashFlorian Frank2011-12-201-71/+77
|
* Move fbuffer in its own directoryFlorian Frank2011-11-281-1/+1
|
* avoid symlinkFlorian Frank2011-11-231-1/+1
|
* Extract fbuffer and use it in parser and generatorFlorian Frank2011-11-231-84/+93
|
* always raise type error when parsing nilFlorian Frank2011-11-031-17/+18
|
* Add support for BigDecimal numbersFlorian Frank2011-10-021-3/+0
|
* Add some documentationv1.5.4Florian Frank2011-08-311-0/+3
|
* Implement quirks_modeFlorian Frank2011-07-271-154/+359
| | | | This allows parsing of primitive values
* remove trailing spaces.Nobuyoshi Nakada2011-07-081-7/+8
|
* no force_encodingNobuyoshi Nakada2011-07-081-20/+10
| | | | | * ext/json/ext/parser/parser.rl (JSON_parse_string): no needs to use force_encoding.
* * remove trailing spaces.nobu2011-07-071-106/+106
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/ext/parser/parser.h (GET_PARSER): raise TypeError.nobu2011-07-071-1/+1
| | | | | | * ext/json/ext/parser/parser.rl (cParser_initialize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/ext/parser/parser.h (GET_PARSER): check if initialized. ↵nobu2011-07-071-6/+11
| | | | | | | | [ruby-core:35079] * ext/json/ext/parser/parser.rl (cParser_initialize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/ext/parser/parser.rl: add local variables for emacs.nobu2011-07-071-8/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* clean up superflous tabsFlorian Frank2011-06-151-6/+6
|
* Don't optimize calls for ducktypesFlorian Frank2011-05-121-27/+33
|
* If a custom :object_class is given, the C extension should not use ↵Jon Leighton2011-05-111-69/+73
| | | | rb_hash_aset - it should call the object's []= method instead.
* renamed :match argument to :match_stringv1.5.0Florian Frank2011-01-051-9/+10
|
* implement string matching for java parserFlorian Frank2011-01-021-44/+34
|
* Added matching in pure/ext parserFlorian Frank2011-01-021-30/+73
|