| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-12-21 | Fixed a bug on platforms without `BYTE_ORDER`; ref #4190 | Yukihiro "Matz" Matsumoto | |
| 2018-12-21 | Define `MRB_ENDIAN_BIG` automatically; ref #4190 | Yukihiro "Matz" Matsumoto | |
| You had to define this macro on big endian platforms, but it is very error-prone. So define the macro automatically if possible. | |||
| 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-21 | Remove things we've done in `TODO` file. | Yukihiro "Matz" Matsumoto | |
| 2018-12-19 | Merge pull request #4191 from dearblue/parenthesis | Yukihiro "Matz" Matsumoto | |
| Fix parenthesis for macros | |||
| 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-18 | Fix macro expressions with paren | dearblue | |
| 2018-12-18 | Fix macro arguments with paren | dearblue | |
| 2018-12-17 | Merge pull request #4189 from sdottaka/fix-mrb_ary_clear | Yukihiro "Matz" Matsumoto | |
| Make mrb_ary_clear() function callable from C again | |||
| 2018-12-17 | Small refactoring of #4188 | Yukihiro "Matz" Matsumoto | |
| 2018-12-17 | Remove `#include <mruby/khash.h>` from `mruby/hash.h`. | Yukihiro "Matz" Matsumoto | |
| 2018-12-17 | Recover `#to_int`; ref #4177 | Yukihiro "Matz" Matsumoto | |
| We have removed implicit conversion to strings using `to_int`. But some users still using `to_int` as a typical integer method, i.e. they do string check by code like: `obj.respond_to?(:to_int)`. So we have recovered the method. | |||
| 2018-12-17 | Recover `String#to_str`; ref #4177 | Yukihiro "Matz" Matsumoto | |
| We have removed implicit conversion to strings using `to_str`. But some people still using `to_str` as a typical string method, i.e. they do string check by code like: `obj.respond_to?(:to_str)`. So we have recovered the method. | |||
| 2018-12-17 | Merge pull request #4188 from dearblue/mrb_hash_size | Yukihiro "Matz" Matsumoto | |
| Add `mrb_hash_size()` function | |||
| 2018-12-15 | Make mrb_ary_clear() function callable from C again | Takashi Sawanaka | |
| 2018-12-14 | Add `mrb_hash_size()` function. | dearblue | |
| 2018-12-12 | Merge pull request #4185 from icm7216/fix-sleep-example | Yukihiro "Matz" Matsumoto | |
| Fix sleep example | |||
| 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 | Avoid using floating point number for HT_SEG_INCREASE_RATIO; ref #4182 | Yukihiro "Matz" Matsumoto | |
| 2018-12-11 | Update release date.2.0.0 | Hiroshi Mimaki | |
| 2018-12-11 | Rename `ht_foreach_func` to `mrb_hash_foreach_func`. | Yukihiro "Matz" Matsumoto | |
| 2018-12-11 | Add `mrb_` prefix to `iv_foreach_func`. | Yukihiro "Matz" Matsumoto | |
| 2018-12-11 | Add new API `mrb_iv_foreach()` to iterate over instance variables. | Yukihiro "Matz" Matsumoto | |
| 2018-12-11 | Update `iv_foreach()` function. | Yukihiro "Matz" Matsumoto | |
| * return `void` instead of `mrb_bool'. * non zero return value from `func` breaks the loop. * no longer remove items on negative return value from `func`. | |||
| 2018-12-11 | Fixed missing comma in mruby/mirb usage. | Hiroshi Mimaki | |
| 2018-12-11 | Update comments. | Yukihiro "Matz" Matsumoto | |
| 2018-12-11 | Add API function `mrb_hash_foreach()` to iterate over items in a hash. | Yukihiro "Matz" Matsumoto | |
| 2018-12-10 | Need to clear stack before invoking a block; fix #4181 | Yukihiro "Matz" Matsumoto | |
| 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-04 | Merge pull request #4174 from robfors/module_operators | Yukihiro "Matz" Matsumoto | |
| Adds Module#< and Module#<= | |||
| 2018-12-02 | Adds Module#< and Module#<= | Rob | |
| 2018-11-27 | Merge branch 'master' into stable | Hiroshi Mimaki | |
| 2018-11-25 | Update `doc/limitations.md` for argument destructuring. | Yukihiro "Matz" Matsumoto | |
| 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-25 | Remove `do { ... } while(0)` hacks from `MRB_TRY` macros. | Yukihiro "Matz" Matsumoto | |
| Because it can swallow `break` etc. if they are used in loops. | |||
| 2018-11-22 | Fix mruby-socket test failure on MinGW. | Hiroshi Mimaki | |
| 2018-11-21 | Merge pull request #4168 from robfors/doc | Yukihiro "Matz" Matsumoto | |
| Add documentation to mrb_load_irep | |||
| 2018-11-20 | Update documentation to mrb_load_irep | Rob Fors | |
| 2018-11-20 | Update version number; fix #4165 | Yukihiro "Matz" Matsumoto | |
| 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-20 | Restrict total recursion number of `ecall()`; fix #3789 | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Add `-fpermissive` to C++ compiler flags. | Yukihiro "Matz" Matsumoto | |
