Date | Commit message (Collapse) | ||
---|---|---|---|
2011-08-09 | json/generator: enforce Strings for fbuffer_append_str HEAD master | ||
"to_s" is not guaranteed to return a string and calling RSTRING_ macros on them blindly can cause bus errors/segfaults. Found by nobu: [ruby-core:38867] | |||
2011-08-09 | ext/json/generator/generator.c: prevent GC of temporary strings | ||
We need to guard temporary strings from being collected while we append to the JSON buffer (which may allocate memory). The RSTRING_PAIR macro is dangerous since it preserves no pointer to the original string VALUE, allowing GC to reap the object while we're still using the (C) string pointer. The included test case shows data corruption with large Bignums without this fix. | |||
2011-07-08 | remove trailing spaces. | ||
2011-07-08 | should not modify argument | ||
* ext/json/ext/parser/parser.h (FORCE_UTF8): should not modify encoding of the argument. | |||
2011-07-08 | re-initialize test | ||
* tests/test_json.rb (test_allocate): add re-initialize test. | |||
2011-07-07 | * ext/json/ext/parser/parser.h (GET_PARSER): raise TypeError. | ||
* 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 | |||
2011-05-12 | Skip test which fails on some platforms | ||
2011-05-12 | Fix duplicate test | ||
2011-05-12 | Don't optimize calls for ducktypes | ||
2011-05-11 | Merge pull request #63 from vakuum/issue-60 | ||
flori/json#60: Incorrect pretty-print indentation | |||
2011-04-01 | If a custom :object_class is given, the C extension should not use ↵ | ||
rb_hash_aset - it should call the object's []= method instead. | |||
2011-02-26 | flori/json#60: Incorrect pretty-print indentation | ||
2011-01-05 | renamed :match argument to :match_string | ||
2011-01-02 | Rubinius' strscan already has a @match ivar | ||
2011-01-02 | fixed test setup | ||
2011-01-02 | Added matching in pure/ext parser | ||
2011-01-02 | obsoleted json/add/rails definitions | ||
2011-01-02 | use JSON.iconv abstraction | ||
2011-01-02 | never use iconv | ||
2010-09-23 | started to build jruby extension with Rakefile | ||
2010-08-18 | prepare new version | ||
fixed some warnings wrote some rake tasks to build jruby extension | |||
2010-08-18 | keep track of depth correctly | ||
2010-08-07 | do not forget to dup the state | ||
use state for depth checking in pure as well | |||
2010-08-07 | added missing methods to State + tests | ||
2010-08-05 | Revert "use method dispatch for generation again" | ||
This reverts commit 59eab2b7ad1b44dc424fb3fffa5520947f7360f3. Conflicts: ext/json/ext/generator/generator.c | |||
2010-08-05 | Revert "use method dispatch for generation again" | ||
This reverts commit f0a14faf1d59a5ea86a79d3a5780e8433bfc9e16. | |||
2010-08-03 | use method dispatch for generation again | ||
2010-05-05 | Merge branch 'master' of github.com:/flori/json | ||
2010-05-05 | Fix for subclassed core classes, github issue 20 | ||
Fixed a problem in the 1.4.x versions, that caused subclasses of core classes to miss calling their to_json methods. | |||
2010-05-03 | Fix wrong assertion: use assert_equal. | ||
From Ruby r27587 and r27590, by nobu. | |||
2010-04-25 | Fixed T_FIXNUM bug on 64bit architectures. | ||
2010-03-13 | Merge commit 'v1.2.3' | ||
Merged in some additional features from the v1.2 branch. | |||
2010-03-11 | added [] method to State objects | ||
2010-02-27 | Improved some tests | ||
First stab at Rubinius compatibility | |||
2010-02-27 | Compatibility to Rubinius | ||
Bumped the version number to 1.2.2 and fixed some tests, too. | |||
2009-11-25 | implemented symbolize_names feature, #8 | ||
2009-11-20 | check circular is deprecated | ||
2009-10-26 | optimised speed a lot, added only_ascii mode | ||
2009-10-26 | start to use a faster string buffer | ||
2009-10-26 | use Array#permutation if it exists | ||
otherwise create a Array#permutation method with the permutation gem on the fly | |||
2009-10-19 | added conversion to utf8 to generators as well | ||
2009-10-16 | implemented utf sniffing, transcoding in parser | ||
improved documentation added to changes | |||
2009-10-16 | added additional checks for generate methods | ||
2009-10-16 | different default in fast_generate | ||
fast_generate now defaults to throwing an exception if an infinite or nan float is encountered. This is the same behaviour as in generate and pretty_generate. (Fix for http://github.com/flori/json/issues#issue/3) | |||
2009-08-24 | initial commit | ||