| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-12-11 | Fixed missing comma in mruby/mirb usage. | Hiroshi Mimaki | |
| 2018-11-27 | Merge branch 'master' into stable | Hiroshi Mimaki | |
| 2018-11-25 | Allow destructuring in formal arguments. | Yukihiro "Matz" Matsumoto | |
| e.g. ``` def m(a,(b,c),d); p [a,b,c,d]; end m(1,[2,3],4) # => [1,2,3,4] ``` mruby limitation: Destructured arguments (`b` and `c` in above example) cannot be accessed from the default expression of optional arguments and keyword arguments, since actual assignment is done after the evaluation of those default expressions. Thus: ``` def f(a,(b,c),d=b) p [a,b,c,d] end f(1,[2,3]) ``` raises `NoMethodError` for `b` in mruby. | |||
| 2018-11-25 | Remove redundant rules from `parse.y`. | Yukihiro "Matz" Matsumoto | |
| 2018-11-25 | Fix wrong number of arguments in `Array#fetch`; fix #4170 | Yukihiro "Matz" Matsumoto | |
| 2018-11-25 | Protect from exceptions raised outside of `mrb_vm_run()`. | Yukihiro "Matz" Matsumoto | |
| It can happen if signals are used (e.g. from `mruby-alarm` gem). | |||
| 2018-11-22 | Fix mruby-socket test failure on MinGW. | Hiroshi Mimaki | |
| 2018-11-20 | Fixed a bug in `mirb` heredoc handling; fix #3989 | Yukihiro "Matz" Matsumoto | |
| 2018-11-20 | Stop special treating of `\r` in the lexer; fix #4132 | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Need to keep rooms for empty splat; fix #4166 | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Use type checking `mrb_to_str` instead of converting `mrb_str_to_str`. | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Removed `to_hash` conversion method. | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Removed `to_ary` conversion method. | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Removed `try_convert` method from Array and Hash. | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Removed `String#try_convert` method from `mruby-string-ext` gem. | Yukihiro "Matz" Matsumoto | |
| Because `try_convert` method rarely used in production. For mruby users, we have `__to_str` utility method to check string type. | |||
| 2018-11-19 | Remove implicit conversion using `to_str` method; fix #3854 | Yukihiro "Matz" Matsumoto | |
| We have added internal convenience method `__to_str` which does string type check. The issue #3854 was fixed but fundamental flaw of lack of stack depth check along with fibers still remains. Use `MRB_GC_FIXED_ARENA` for workaround. | |||
| 2018-11-19 | Remove implicit conversion using `to_int` method. | Yukihiro "Matz" Matsumoto | |
| The ISO standard does not include implicit type conversion using `to_int`. This implicit conversion often causes vulnerability. There will be no more attacks like #4120. In addition, we have added internal convenience method `__to_int` which does type check and conversion (from floats). | |||
| 2018-11-19 | fix non-ASCII comment. | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Check method existence for Enumerators; fix #3920 | Yukihiro "Matz" Matsumoto | |
| The issue #3920 was fixed but the fundamental flaw of lack of stack depth check along with fibers still remains, even though it's not easy to cause the issue. Use `MRB_GC_FIXED_ARENA` to avoid the issue for workaround. After this patch, `obj.to_enum` raises `ArgumentError` if the object does not respond to the enumerating method. This is incompatible to CRuby but I think this behavior is better and CRuby should be updated to behave like this. | |||
| 2018-11-15 | Fixed a bug in continuous read of target files; ref #4138 | Yukihiro "Matz" Matsumoto | |
| Line number information in a compiled file was wrong. | |||
| 2018-11-15 | Shrink file name table size to `uint16_t`; ref #4138 | Yukihiro "Matz" Matsumoto | |
| 2018-11-15 | Remove `filename`&`lines` from `mrb_irep` struct. | Yukihiro "Matz" Matsumoto | |
| This patch slightly reduce memory consumption (2% for my test). | |||
| 2018-11-15 | `String#{squeeze,delete,count}` to use bitmap for matching; ref #4163 | Yukihiro "Matz" Matsumoto | |
| 2018-11-15 | Pattern length may overflow `uint16_t`; fixed #4163 | Yukihiro "Matz" Matsumoto | |
| The issue is reported by `https://hackerone.com/dgaletic`. | |||
| 2018-11-02 | Remove reserved symbols for now. | Yukihiro "Matz" Matsumoto | |
| It should be done by planned embedded symbols. | |||
| 2018-11-02 | Merge pull request #4151 from take-cheeze/remove_op_symidx | Yukihiro "Matz" Matsumoto | |
| Reduce instruction size | |||
| 2018-11-02 | Add tests for empty patterns for `tr` and `count`; #4156 #4157 | Yukihiro "Matz" Matsumoto | |
| 2018-11-02 | Empty pattern string for `String#tr` should remove characters; fix #4157 | Yukihiro "Matz" Matsumoto | |
| 2018-11-02 | Empty pattern string can generate `TR_UNINITIALIZED` pattern; fix #4156 | Yukihiro "Matz" Matsumoto | |
| 2018-11-01 | Silence Appveyor's VC compilation warnings. | Yukihiro "Matz" Matsumoto | |
| 2018-10-30 | VS 2017 C does not understand inline struct initialization; ref #4153 | Yukihiro "Matz" Matsumoto | |
| 2018-10-29 | Reduce unnecessary symbol table entry | take-cheeze | |
| 2018-10-29 | Reduce instruction size | take-cheeze | |
| 2018-10-29 | Merge pull request #4149 from take-cheeze/static_tr_pattern | Yukihiro "Matz" Matsumoto | |
| Keep `tr_pattern` static if possible | |||
| 2018-10-29 | Merge pull request #4148 from take-cheeze/rename_libmruby_stuff | Yukihiro "Matz" Matsumoto | |
| Rename `MRuby::Build#libmruby` stuff to avoid confusion | |||
| 2018-10-29 | Merge pull request #4147 from take-cheeze/add_missing_dep | Yukihiro "Matz" Matsumoto | |
| Add missing dependency of source code generator | |||
| 2018-10-29 | Rename libmruby stuff to avoid confusion | take-cheeze | |
| 2018-10-29 | Add missing dependency of source code generator | take-cheeze | |
| 2018-10-29 | Suppress sleep test script warning | take-cheeze | |
| 2018-10-29 | Keep tr_pattern static | take-cheeze | |
| 2018-10-23 | Fixed a bug in processing `OP_EXT?` instructions. | Yukihiro "Matz" Matsumoto | |
| fix haconiwa/haconiwa#171 | |||
| 2018-10-18 | replace quicksort with mergesort. | Tomoyuki Sahara | |
| 2018-10-13 | Fixed a bug caused by too much optimization; fix #4137 | Yukihiro "Matz" Matsumoto | |
| 2018-10-12 | Fixed broken stack consistency; fix #4135 | Yukihiro "Matz" Matsumoto | |
| 2018-10-12 | Call `uniq!` for each union processing in `Array#union`. | Yukihiro "Matz" Matsumoto | |
| 2018-10-02 | Fixed SEGV from `eval` called form top-level `mrb_funcall()`; fix #4028 | Yukihiro "Matz" Matsumoto | |
| 2018-09-27 | Fixed a `String#squeeze` bug in handling `iso-8859-1` strings; ref #4127 | Yukihiro "Matz" Matsumoto | |
| 2018-09-26 | Add index to larger segment lists for performance | Yukihiro "Matz" Matsumoto | |
| 2018-09-26 | Use `mrb_undef_value` for delete mark instead of shifting Hash entry table. | Yukihiro "Matz" Matsumoto | |
| That means entry table should be compacted periodically by `sg_compact()`. | |||
| 2018-09-26 | Revert "Fix comparisons in str_squeeze." | Yukihiro "Matz" Matsumoto | |
| This reverts commit 7b04fcd092006b6e78cd63619fb7ae972f8e0c5d. The issue was addressed by 9e3cbaa. No longer needed. | |||
