These changes will ensure that the official json gem is working on MagLev.
Major two problems fixed in these commits:
If you're interested, see https://gist.github.com/1245462 if you want to know more about the changes needed for Maglev and the reasons for them
Changes to work with Maglev implementation of Ruby C extensions.
proper gemspecs, so we can use them in bundler
Signed-off-by: Allen Otis <firstname.lastname@example.org>
Merge remote-tracking branch 'json/master'
Throwing this error on Maglev is inappropriate
Merge branch 'master' of https://github.com/MagLev/json
try to keep the diff to flori/json small
json.gemspec is referencing build product mkmf.log
remove reimplementation of rb_obj_is_kind_of and add some RTEST
change source so that it'll work on all impls
Hi, just bumping this. Is this something you could consider for inclusion at all?
I would include it, but at the moment it breaks all other implementations except the ones based on ruby 1.8.
See http://travis-ci.org/#!/flori/json/builds/197049 for the test results.
MEMZERO effectively sets everything to Qfalse, not Qnil
I have made a mistake translating what MEMZERO means into Ruby constants. On MRI 0x0 is Qfalse, not Qnil. Setting the VALUE fields in the JSON_Parser struct to Qnil instead of Qfalse is, what caused the segv. I changed that and it now runs fine on at least rbx-head, ruby-head, 1.8-head, and maglev-head. (Maglev is failing a few tests, but those are shortcomings in our Ruby stdlib)
@flori I merged the latest changes from master, the tests pass on 1.8, 1.9 and rbx for me. Anything else I can do to get this accepted?
Merge tag 'v1.6.4'
change gemspec name
Merge tag 'v1.6.5'
Merge tag 'v1.6.6'
Merge tag 'v1.6.7'
Merge tag 'v1.7.0'
Merge tag 'v1.7.1'
Merge tag 'v1.7.2'
Merge tag 'v1.7.3'
Merge tag 'v1.7.4'
This pull request fails (merged c3522fa into 33dce92).
comment this test, MagLev cannot rescue C-level exceptions in Ruby
This pull request fails (merged 1c38b3b into 33dce92).
remove -maglev- postfix, b/c merging
This pull request passes (merged 5e0f580 into 0d8c4b9).