| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-05-31 | Prevent splicing big recursive arrrays; ref #3679 | Yukihiro "Matz" Matsumoto | |
| We know this is not perfect, but this change makes hack like #3679 bit harder. Harmless for useful cases. | |||
| 2017-04-25 | Silence warnings caused by implicit type casting. | Yukihiro "Matz" Matsumoto | |
| 2017-04-01 | Add alias "append" to Array#push, and "prepend" to Array#unshift. | Yukihiro "Matz" Matsumoto | |
| According to CRuby [Feature#12746] | |||
| 2017-03-29 | Set proper class to subclass of Array | okkez | |
| More compatibility to CRuby. | |||
| 2017-03-19 | Should not check/call `to_str` for immediate objects; ref #3515 | Yukihiro "Matz" Matsumoto | |
| 2017-03-19 | Need not to call mrb_obj_as_string() is sep is nil. | Yukihiro "Matz" Matsumoto | |
| 2017-01-24 | Use size_t to avoid integer overflow in mrb_ary_splice(); fix #3413 | Yukihiro "Matz" Matsumoto | |
| 2017-01-23 | Refactoring: Use array_copy instead of for loop | ksss | |
| 2017-01-23 | Changed the behavior of mrb_range_beg_len(); close #3411 | Yukihiro "Matz" Matsumoto | |
| The new API is: int mrb_range_beg_len(mrb, range, &beg, &len, len, trunc) The new argument `trunc` is a boolean value that specifies whether the function truncates the range. The new return value is an integer instead of a boolean, that is: 0: not a range 1: range with proper edges 2: out of range To get the old behavior, you have to rewrite: mrb_range_beg_len(mrb, range, &beg, &len, len) to: mrn_range_beg_len(mrb, range, &beg, &len, len, TRUE) == 1 [Breaking Change] | |||
| 2017-01-23 | Use mrb_write_barrier() instead of mrb_field_write_barrier_value() | Yukihiro "Matz" Matsumoto | |
| ref #3409 | |||
| 2017-01-23 | Remove unnecessary inline declaration; ref #3409 | Yukihiro "Matz" Matsumoto | |
| 2017-01-23 | Merge pull request #3409 from ksss/mrb_ary_splice | Yukihiro "Matz" Matsumoto | |
| Rewrite mrb_ary_splice | |||
| 2017-01-22 | Should raise RuntimeError when object frozen | ksss | |
| 2017-01-22 | Rewrite mrb_ary_splice | ksss | |
| Referenced to CRuby's array.c(rb_ary_splice) fix #3405 | |||
| 2017-01-07 | Add ary_modify() checks; close #3379 | Yukihiro "Matz" Matsumoto | |
| This issue was reported by https://hackerone.com/an0n-j | |||
| 2017-01-06 | Improve capacity enhancing conditions | Yukihiro "Matz" Matsumoto | |
| 2016-12-31 | ary_expand_capa(): refine conditions to avoid infinite loop; ref #3353 | Yukihiro "Matz" Matsumoto | |
| 2016-12-31 | ary_expand_capa(): size calculation by size_t; fix #3353 | Yukihiro "Matz" Matsumoto | |
| Also more size checks added. | |||
| 2016-12-27 | Check array max size | ksss | |
| Fix #3354 | |||
| 2016-12-18 | Add "not reached" mark in mrb_ary_concat() | Yukihiro "Matz" Matsumoto | |
| 2016-12-12 | rename prefix RBASIC_ to MRB_; ref #3340 | Yukihiro "Matz" Matsumoto | |
| 2016-12-11 | Implement Object#freeze | Takashi Kokubun | |
| 2016-12-01 | Fix more integer overflows. | Clayton Smith | |
| 2016-12-01 | Fix compile error by #3309 | Yukihiro "Matz" Matsumoto | |
| 2016-11-30 | Prevent array size calculation overflows. | Clayton Smith | |
| 2016-11-29 | Use size_t to calculate bytes needed for array. | Clayton Smith | |
| 2016-11-29 | ary_concat: support self concatenation; fix #3302 | Yukihiro "Matz" Matsumoto | |
| 2016-11-24 | fixed a bug in self modifying Array#[]=; fix #3274 | Yukihiro "Matz" Matsumoto | |
| 2016-11-16 | Fixed rindex calling into mrb_equal bug | Yukihiro "Matz" Matsumoto | |
| Fixed by Alex Snaps and reported by Mathieu Leduc-Hamel, both from shopify.com. Thank you! | |||
| 2016-11-16 | Fixed a memory problem in Array#to_h | Yukihiro "Matz" Matsumoto | |
| Reported from Alex Snaps via Mathieu Leduc-Hamel, both from shopify.com. Thank you! | |||
| 2016-09-08 | Fix SEGV when splat object | ksss | |
| Splat operation should return an array. And raise an error if result of convert by to_a is not array or nil. | |||
| 2015-11-27 | include changed from by quotes ("") to by brackets (<>); close #3032 | Yukihiro "Matz" Matsumoto | |
| 2015-10-20 | Increasing docs coverage | Seba Gamboa | |
| 2015-10-01 | Array#index to take block; fix #2968 close #2970 | Yukihiro "Matz" Matsumoto | |
| 2015-08-12 | Remove duplicated RARRAY_LEN check | go.kikuta | |
| 2015-07-13 | use "S!" specifier of mrb_get_args() to improve #2882 fix. | Yukihiro "Matz" Matsumoto | |
| 2015-07-11 | Removing unndeeded to_s | jbreeden | |
| 2015-07-11 | Patching array join | jbreeden | |
| 2015-06-03 | Merge pull request #2823 from cremno/remove-unnecessary-mrb_immediate_p | Yukihiro "Matz" Matsumoto | |
| remove unnecessary mrb_immediate_p() | |||
| 2015-06-02 | remove unnecessary mrb_immediate_p() | cremno | |
| `!mrb_array_p(ary2)` and `mrb_type(obj) != MRB_TT_DATA` are sufficient. | |||
| 2015-06-02 | directly call ary_new_capa() | cremno | |
| 2015-06-01 | fix two potential cases of signed integer overflow | cremno | |
| 2014-10-30 | avoid wrong ArgumentError from mrb_get_args() when surrounding method takes ↵ | Yukihiro "Matz" Matsumoto | |
| more than one argument; ref #2627 | |||
| 2014-10-30 | add cast to return from aget_index(); ref #2627 | Yukihiro "Matz" Matsumoto | |
| 2014-10-29 | Handle Array#[float, int] Close #2626 | mattn | |
| 2014-09-12 | constify pointer from RARRAY_PTR to detect potential write barrier bugs. | Yukihiro "Matz" Matsumoto | |
| if you see compiler errors due to this commit, you'd better to use array-modifying functions, e.g. mrb_ary_set() or mrb_ary_push(), otherwise you might see nasty GC bugs in the future. if you are sure what you are doing, replace `RARRAY_PTR(ary)` by `mrb_ary_ptr(ary)->ptr`. but be warned. | |||
| 2014-08-18 | refactor mruby method(fix indent. remove temporary value, duplicate procedure) | kkkkkt | |
| 2014-08-05 | Refactor obj_free() in gc.c | Jun Hiroe | |
| 2014-08-04 | rename obsolete mrb_special_const_p to mrb_immediate_p | Yukihiro "Matz" Matsumoto | |
| 2014-08-04 | add MRB_API modifiers to mruby API functions | Yukihiro "Matz" Matsumoto | |
