| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-01-01 | range: Embed edges in RRange on boxing environment. | KOBAYASHI Shuji | |
| [Breaking changes] Developers must use following APIs for accessing attributes of RRange because RRange structure depends on boxing setting. - mrb_range_beg - mrb_range_end - mrb_range_excl_p | |||
| 2018-12-31 | Should not check non-node value to `void_expr_error`; fix #4203 | Yukihiro "Matz" Matsumoto | |
| This is also a reason for #4192 as well. | |||
| 2018-12-30 | mruby-enumerator: Refine accessors (obj/meth/args/fib). | KOBAYASHI Shuji | |
| - `fib=` writer is not used. - All accessors are used as public (e.g. in `initialized_copy`). | |||
| 2018-12-25 | Revert "Simplify full-core.gembox" | Yukihiro "Matz" Matsumoto | |
| This reverts commit e20d652f22dd4cda7286eedbf46d67b901d4969d. This change cannot handle hidden dependency between `mruby-print` and `mruby-sprintf`; ref #4202 | |||
| 2018-12-25 | Simplify full-core.gembox | KOBAYASHI Shuji | |
| Dependencies order is auto detected. | |||
| 2018-12-25 | mruby-bin-mruby: Add test dependency. | KOBAYASHI Shuji | |
| `Kernel#p` etc are used. | |||
| 2018-12-23 | Suppress _MSC_VER warns for mingw32 | dearblue | |
| 2018-12-23 | Suppress TARGET_OS_IPHONE warns | dearblue | |
| 2018-12-23 | Suppress __FreeBSD_version warns for FreeBSD | dearblue | |
| 2018-12-22 | Merge pull request #4194 from shuujii/mirb-drop-dependency-on-mruby-print | Yukihiro "Matz" Matsumoto | |
| mirb: drop dependency on mruby-print in a test | |||
| 2018-12-22 | Define byte order macros, if not defined it and there are alternatives | dearblue | |
| 2018-12-22 | mirb: drop dependency on mruby-print in a test | KOBAYASHI Shuji | |
| 2018-12-21 | Add test for Proc#parameters | Tatsuhiko Kubo | |
| 2018-12-21 | optimize Proc#parameters | Tatsuhiko Kubo | |
| 2018-12-21 | Add `NULL` pointer check before `void_expr_error()`; fix #4192 | Yukihiro "Matz" Matsumoto | |
| 2018-12-21 | Fixed a bug on platforms without `BYTE_ORDER`; ref #4190 | Yukihiro "Matz" Matsumoto | |
| 2018-12-21 | `mruby-pack` should not rely on `MRB_ENDIAN_BIG` macro; fix #4190 | Yukihiro "Matz" Matsumoto | |
| The `MRB_ENDIAN_BIG` macro is originally used for `NaN` boxing. We cannot assume it is defined on every big endian platform (#4190 is the case). So instead of relying on untrusted `MRB_ENDIAN_BIG`, we use `BYTE_ORDER` macro with a fallback function to check endian in runtime. | |||
| 2018-12-19 | Added Android Hack to `time.c`. | Yukihiro "Matz" Matsumoto | |
| Android bionic defines `TIME_UTC` but does not provide `timespec_get`. | |||
| 2018-12-12 | Specify the core library instead of the external library. | icm7216 | |
| 2018-12-12 | Sleep module is undefined. Remove module name. | icm7216 | |
| 2018-12-11 | Merge pull request #4184 from mruby/stable | Yukihiro "Matz" Matsumoto | |
| Release mruby 2.0.0 | |||
| 2018-12-11 | Fixed missing comma in mruby/mirb usage. | Hiroshi Mimaki | |
| 2018-12-04 | Add new methods `Module#{>,>=,<=>}`; ref #4174 | Yukihiro "Matz" Matsumoto | |
| 2018-12-04 | Remove unnecessary check in `Module#<`; ref #4174 | Yukihiro "Matz" Matsumoto | |
| 2018-12-04 | Replace RDoc `<i></i>` to Markdown back quotes; ref #4174 | Yukihiro "Matz" Matsumoto | |
| 2018-12-02 | Adds Module#< and Module#<= | Rob | |
| 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. | |||
