summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
AgeCommit message (Collapse)Author
2017-10-18Add `Kernel#itself`; CRuby2.2Yukihiro "Matz" Matsumoto
2017-10-18Add `Hash#to_proc`; CRuby2.3Yukihiro "Matz" Matsumoto
2017-10-18Add `Numeric#{positive?,negative?}`; CRuby2.3Yukihiro "Matz" Matsumoto
2017-10-18Add `Hash#fetch_values`; CRuby2.3Yukihiro "Matz" Matsumoto
2017-10-17Use a new function: `mrb_get_argc()`; ref #3826Yukihiro "Matz" Matsumoto
2017-10-17Add `{String,Symbol}#casecmp?`; CRuby2.4Yukihiro "Matz" Matsumoto
2017-10-17Add `Comparable#uniq`; CRuby2.4Yukihiro "Matz" Matsumoto
2017-10-17Add `Comparable#clamp`; CRuby2.4Yukihiro "Matz" Matsumoto
2017-10-17Add `String#delete_{prefix,suffix}`; CRuby2.5Yukihiro "Matz" Matsumoto
2017-10-17Add `Kernel#yield_self`; CRuby2.5Yukihiro "Matz" Matsumoto
2017-10-17`do/end` blocks to work with `rescue/ensure/else`; CRuby2.5Yukihiro "Matz" Matsumoto
2017-10-17Add more checks before accessing struct pointer; ref #3831Yukihiro "Matz" Matsumoto
2017-10-16Check struct-array pointer before accessing; fix #3831Yukihiro "Matz" Matsumoto
2017-10-16Need to adjust the stack length of the top-level environment; fix #3819Yukihiro "Matz" Matsumoto
2017-10-15fix alias for Struct accessorsdearblue
2017-10-12Correct 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-09Fix parse error on TRICK2013/yharaNobuyoshi Nakada
2017-10-09Replace lvar_defined with local_var_pNobuyoshi Nakada
2017-09-27fix: src\print.c(22): warning C4244: 'initializing': conversion from ↵Tomasz Dąbrowski
'mrb_int' to 'int', possible loss of data
2017-09-27fix: mrbgems\mruby-time\src\time.c(641): warning C4244: '=': conversion from ↵Tomasz Dąbrowski
'mrb_int' to 'int', possible loss of data
2017-09-27fix: 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-27fix: mrbgems\mruby-test\driver.c(67): warning C4244: '=': conversion from ↵Tomasz Dąbrowski
'mrb_int' to 'int', possible loss of data
2017-09-27fix: 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-27fix: 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-27fix: 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-27fix: mrbgems\mruby-sprintf\src\sprintf.c(1052): warning C4244: '+=': ↵Tomasz Dąbrowski
conversion from 'mrb_int' to 'int', possible loss of data
2017-09-27fix: 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-27fix: 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-27fix: 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-27fix: 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-27fix: 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-27fix: mrbgems\mruby-math\src\math.c(491): warning C4244: '=': conversion from ↵Tomasz Dąbrowski
'mrb_int' to 'int', possible loss of data
2017-09-27fix: mrbgems\mruby-fiber\src\fiber.c(215): warning C4244: '=': conversion ↵Tomasz Dąbrowski
from 'mrb_int' to 'int', possible loss of data
2017-09-27fix: 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-27fix: 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-27fix: mrbgems\mruby-eval\src\eval.c(214): warning C4244: '=': conversion from ↵Tomasz Dąbrowski
'mrb_int' to 'short', possible loss of data
2017-09-27fix: 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-25The `[]` special method call should be able to take a block.Yukihiro "Matz" Matsumoto
2017-09-25The `lex_state` after literals should be `EXPR_ENDARG`.Yukihiro "Matz" Matsumoto
2017-09-25The symbols should not take brace blocks.Yukihiro "Matz" Matsumoto
2017-09-25change DISABLE_STDIO to MRB_DISABLE_STDIO in mruby-time/time.cTomasz Dabrowski
2017-09-12Remove temporary limitation of `OP_EPOP`.Yukihiro "Matz" Matsumoto
After f68f5f6, the operand of `OP_EPOP` should have been `1`. Now we have removed the limitation.
2017-09-05Restrict `OP_EPOP` operand to `1`; ref #3789Yukihiro "Matz" Matsumoto
2017-09-02Update print.cfl0l0u
Strings not containing a newline are not printed synchronously ex. bin/mruby -e '["a", "b", "c", "\n", "d", "e", "f", "\n"].each {|e| print e ; usleep 200000}'
2017-08-30Tested LocalJumpErrors caused by break in a procChristopher Aue
2017-08-28Add `__ENCODING__' support.Yukihiro "Matz" Matsumoto
`__ENCODING__' returns the current encoding name (string), unlike CRuby that returns the encoding object.
2017-08-28Remove integer type mismatch warnings from parse.y.Yukihiro "Matz" Matsumoto
2017-08-26Replaced Array#each with while loop for performance reasonsChristopher Aue
Example benchmark: $ time build/bench/bin/mruby -e "Array.new(2_000_000){ |i| i }.index{ |i| i == 1_999_999 }" Before: real 0m0.934s user 0m0.922s sys 0m0.003s After: real 0m0.590s user 0m0.583s sys 0m0.007s
2017-08-26Removed unneeded block check in Array#uniqChristopher Aue
2017-08-26Reimplemented Array#flatten with #flatten!Christopher Aue