| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-11-03 | Always check division-by-zero to avoid undefined behavior; fix #3816 | Yukihiro "Matz" Matsumoto | |
| Also removed the code to normalize NaN value for `MRB_NAN_BOXING`. Tha code was added to fix #1712 but no longer required after 249f05e7d. | |||
| 2017-11-03 | Reduce memory leaks from `mirb`. | Yukihiro "Matz" Matsumoto | |
| 2017-10-29 | Need to check number of argument of `Struct#new`; fix #3823 | Yukihiro "Matz" Matsumoto | |
| 2017-10-28 | Fixed UPVAR gotchas; fix #3835 | Yukihiro "Matz" Matsumoto | |
| Both `uvenv` function and `env` generation in `create_proc_from_string` function have bugs to handling enclosed environment objects. | |||
| 2017-10-28 | Heavily refactored how lexical scope links are implemented; fix #3821 | Yukihiro "Matz" Matsumoto | |
| Instead of `irep` links, we added a `upper` link to `struct RProc`. To make a space for the `upper` link, we moved `target_class` reference. If a `Proc` does not have `env`, `target_class` is saved in an `union` shared with `env` (if a `Proc` has env, you can tell it by `MRB_PROC_ENV_P()). Otherwise `target_class` is referenced from `env->c`. We removed links in `env` as well. This change removes 2 members from `mrb_irep` struct, thus saving 2 words per method/proc/block. This also fixes potential memory leaks due to the circular references caused by a link from `mrb_irep`. | |||
| 2017-10-28 | Add some peephole optimizations | Yukihiro "Matz" Matsumoto | |
| 2017-10-28 | Change the order of "expected" and "actual" in test | Yukihiro "Matz" Matsumoto | |
| 2017-10-28 | Flush stdout after every print from tests | Yukihiro "Matz" Matsumoto | |
| 2017-10-20 | Add `Array#{permutation,combination}. | Yukihiro "Matz" Matsumoto | |
| 2017-10-18 | Add `Kernel#itself`; CRuby2.2 | Yukihiro "Matz" Matsumoto | |
| 2017-10-18 | Add `Hash#to_proc`; CRuby2.3 | Yukihiro "Matz" Matsumoto | |
| 2017-10-18 | Add `Numeric#{positive?,negative?}`; CRuby2.3 | Yukihiro "Matz" Matsumoto | |
| 2017-10-18 | Add `Hash#fetch_values`; CRuby2.3 | Yukihiro "Matz" Matsumoto | |
| 2017-10-17 | Use a new function: `mrb_get_argc()`; ref #3826 | Yukihiro "Matz" Matsumoto | |
| 2017-10-17 | Add `{String,Symbol}#casecmp?`; CRuby2.4 | Yukihiro "Matz" Matsumoto | |
| 2017-10-17 | Add `Comparable#uniq`; CRuby2.4 | Yukihiro "Matz" Matsumoto | |
| 2017-10-17 | Add `Comparable#clamp`; CRuby2.4 | Yukihiro "Matz" Matsumoto | |
| 2017-10-17 | Add `String#delete_{prefix,suffix}`; CRuby2.5 | Yukihiro "Matz" Matsumoto | |
| 2017-10-17 | Add `Kernel#yield_self`; CRuby2.5 | Yukihiro "Matz" Matsumoto | |
| 2017-10-17 | `do/end` blocks to work with `rescue/ensure/else`; CRuby2.5 | Yukihiro "Matz" Matsumoto | |
| 2017-10-17 | Add more checks before accessing struct pointer; ref #3831 | Yukihiro "Matz" Matsumoto | |
| 2017-10-16 | Check struct-array pointer before accessing; fix #3831 | Yukihiro "Matz" Matsumoto | |
| 2017-10-16 | Need to adjust the stack length of the top-level environment; fix #3819 | Yukihiro "Matz" Matsumoto | |
| 2017-10-15 | fix alias for Struct accessors | dearblue | |
| 2017-10-12 | Correct a small error in parse.y, which causes the reading of unassigned ↵ | Carlo Prelz | |
| memory (triggers an error when address sanitizer is active) | |||
| 2017-10-09 | Fix parse error on TRICK2013/yhara | Nobuyoshi Nakada | |
| 2017-10-09 | Replace lvar_defined with local_var_p | Nobuyoshi Nakada | |
| 2017-09-27 | fix: src\print.c(22): warning C4244: 'initializing': conversion from ↵ | Tomasz Dąbrowski | |
| 'mrb_int' to 'int', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-time\src\time.c(641): warning C4244: '=': conversion from ↵ | Tomasz Dąbrowski | |
| 'mrb_int' to 'int', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-time\src\time.c(372): warning C4244: 'function': ↵ | Tomasz Dąbrowski | |
| conversion from 'mrb_int' to 'double', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-test\driver.c(67): warning C4244: '=': conversion from ↵ | Tomasz Dąbrowski | |
| 'mrb_int' to 'int', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-string-ext\src\string.c(49): warning C4244: '=': ↵ | Tomasz Dąbrowski | |
| conversion from 'mrb_int' to 'int', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-string-ext\src\string.c(30): warning C4244: '=': ↵ | Tomasz Dąbrowski | |
| conversion from 'mrb_int' to 'long', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-string-ext\src\string.c(38): warning C4244: '=': ↵ | Tomasz Dąbrowski | |
| conversion from 'mrb_int' to 'char', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-sprintf\src\sprintf.c(1052): warning C4244: '+=': ↵ | Tomasz Dąbrowski | |
| conversion from 'mrb_int' to 'int', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-sprintf\src\sprintf.c(623): warning C4244: 'function': ↵ | Tomasz Dąbrowski | |
| conversion from 'mrb_int' to 'int', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-sprintf\src\sprintf.c(646): warning C4244: 'function': ↵ | Tomasz Dąbrowski | |
| conversion from 'mrb_int' to 'int', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-sprintf\src\sprintf.c(618): warning C4244: ↵ | Tomasz Dąbrowski | |
| 'initializing': conversion from 'mrb_int' to 'int', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-sprintf\src\sprintf.c(516): warning C4244: 'function': ↵ | Tomasz Dąbrowski | |
| conversion from 'mrb_int' to 'int', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-math\src\math.c(660): warning C4244: 'function': ↵ | Tomasz Dąbrowski | |
| conversion from 'mrb_int' to 'int', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-math\src\math.c(491): warning C4244: '=': conversion from ↵ | Tomasz Dąbrowski | |
| 'mrb_int' to 'int', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-fiber\src\fiber.c(215): warning C4244: '=': conversion ↵ | Tomasz Dąbrowski | |
| from 'mrb_int' to 'int', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-exit\src\mruby-exit.c(10): warning C4244: 'function': ↵ | Tomasz Dąbrowski | |
| conversion from 'mrb_int' to 'int', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-eval\src\eval.c(301): warning C4244: 'function': ↵ | Tomasz Dąbrowski | |
| conversion from 'mrb_int' to 'int', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-eval\src\eval.c(214): warning C4244: '=': conversion from ↵ | Tomasz Dąbrowski | |
| 'mrb_int' to 'short', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-compiler\core\parse.y(3455): warning C4244: 'function': ↵ | Tomasz Dąbrowski | |
| conversion from 'intptr_t' to 'int', possible loss of data | |||
| 2017-09-25 | The `[]` special method call should be able to take a block. | Yukihiro "Matz" Matsumoto | |
| 2017-09-25 | The `lex_state` after literals should be `EXPR_ENDARG`. | Yukihiro "Matz" Matsumoto | |
| 2017-09-25 | The symbols should not take brace blocks. | Yukihiro "Matz" Matsumoto | |
| 2017-09-25 | change DISABLE_STDIO to MRB_DISABLE_STDIO in mruby-time/time.c | Tomasz Dabrowski | |
