summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* Fix the fixfix-regex-stack-overflowFlorian Frank2012-03-211-21/+6
|
* Use C implementation and better regexp for pureFlorian Frank2012-03-202-8/+28
|
* The behavior of reference to inner defined variable is undefined.NARUSE, Yui2012-01-152-2/+2
| | | | | 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 hash ducktype objects on JRuby as wellFlorian Frank2011-12-201-5/+5
|
* Support object class with duck type hashFlorian Frank2011-12-204-79/+91
|
* Move fbuffer in its own directoryFlorian Frank2011-11-284-3/+3
|
* avoid symlinkFlorian Frank2011-11-235-4/+3
|
* Extract fbuffer and use it in parser and generatorFlorian Frank2011-11-237-246/+264
|
* change documentationFlorian Frank2011-11-101-1/+3
|
* start to make buffer_initial_length configurableFlorian Frank2011-11-092-22/+60
|
* always raise type error when parsing nilFlorian Frank2011-11-032-17/+19
|
* Add support for BigDecimal numbersFlorian Frank2011-10-021-3/+0
|
* Merge pull request #92 from nurse/U0456Florian Frank2011-10-011-1/+1
|\ | | | | Fix typo: U+0456->U+0069.
| * Fix typo: U+0456->U+0069.NARUSE, Yui2011-09-051-1/+1
| |
* | HAVE_RUBY_RE_H and HAVE_RUBY_RE_H are defined in ruby.h by default.Nobuyoshi Nakada2011-10-014-15/+3
|/
* Add some documentationv1.5.4Florian Frank2011-08-312-0/+5
|
* We don't need RB_GC_GUARD for rbx.Florian Frank2011-08-301-0/+5
|
* Apply patch by Eric Wong <nocode@yhbt.net>Florian Frank2011-08-292-5/+13
| | | | See https://github.com/flori/json/issues/46
* Merge branch 'quirks-mode-parser' into quirks-modeFlorian Frank2011-07-273-207/+484
|\ | | | | | | | | | | Conflicts: json.gemspec json_pure.gemspec
| * Implement quirks_modeFlorian Frank2011-07-273-207/+484
| | | | | | | | This allows parsing of primitive values
* | started quirks mode for generatorFlorian Frank2011-07-272-7/+41
|/
* Merge branch 'master' of https://github.com/nobu/json into developmentFlorian Frank2011-07-082-9/+11
|\ | | | | | | | | Conflicts: ext/json/ext/parser/parser.c
| * remove trailing spaces.Nobuyoshi Nakada2011-07-081-7/+8
| |
| * Duplicate the argument of convert_encoding() only.Nobuyoshi Nakada2011-07-082-1/+2
| |
| * Adjust indent.Nobuyoshi Nakada2011-07-081-2/+2
| |
| * should not modify argumentNobuyoshi Nakada2011-07-081-1/+1
| | | | | | | | | | * ext/json/ext/parser/parser.h (FORCE_UTF8): should not modify encoding of the argument.
| * no force_encodingNobuyoshi Nakada2011-07-082-35/+15
| | | | | | | | | | * ext/json/ext/parser/parser.rl (JSON_parse_string): no needs to use force_encoding.
* | should not modify argumentNobuyoshi Nakada2011-07-081-1/+1
| | | | | | | | | | * ext/json/ext/parser/parser.h (FORCE_UTF8): should not modify encoding of the argument.
* | no force_encodingNobuyoshi Nakada2011-07-082-35/+15
|/ | | | | * ext/json/ext/parser/parser.rl (JSON_parse_string): no needs to use force_encoding.
* * remove trailing spaces.nobu2011-07-072-113/+113
| | | | 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-073-3/+3
| | | | | | * 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-073-7/+20
| | | | | | | | [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-072-18/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/ext/generator/generator.{c,h} (fbuffer_free_only_buffer): unused.nobu2011-07-071-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/generator/ext/generator.c (fbuffer_free): unused.nobu2011-07-071-5/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Alias State#configure method as State#mergeFlorian Frank2011-06-201-0/+1
| | | | This increases duck type synonymy with Hash
* clean up superflous tabsFlorian Frank2011-06-155-30/+30
|
* Merge branch 'master' of gate.dyna.ping.de:/git/jsonFlorian Frank2011-06-092-30/+42
|\
| * Don't optimize calls for ducktypesFlorian Frank2011-05-122-30/+42
| |
* | Apply patch by Cory Monty <cory.monty@gmail.com>.Florian Frank2011-06-091-0/+1
|/
* If a custom :object_class is given, the C extension should not use ↵Jon Leighton2011-05-112-70/+78
| | | | rb_hash_aset - it should call the object's []= method instead.
* renamed :match argument to :match_stringv1.5.0Florian Frank2011-01-053-19/+21
|
* query if ruby/st.h existsFlorian Frank2011-01-022-0/+5
|
* implement string matching for java parserFlorian Frank2011-01-022-79/+59
|
* Added matching in pure/ext parserFlorian Frank2011-01-023-46/+135
|
* started to build jruby extension with RakefileFlorian Frank2010-09-231-68/+68
|
* use long instead of intFlorian Frank2010-09-172-27/+27
|
* keep track of depth correctlyFlorian Frank2010-08-181-2/+2
|
* do not forget to dup the stateFlorian Frank2010-08-071-2/+3
| | | | use state for depth checking in pure as well