summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
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-kernel-ext\src\kernel.c(114): warning C4244: 'function': ↵Tomasz Dąbrowski
conversion from '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-27fix: include\mruby/gc.h(43): warning C4200: nonstandard extension used: ↵Tomasz Dąbrowski
zero-sized array in struct/union
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-25Merge pull request #3813 from dabroz/feature-fix-dateYukihiro "Matz" Matsumoto
Change DISABLE_STDIO to MRB_DISABLE_STDIO in mruby-time/time.c
2017-09-25change DISABLE_STDIO to MRB_DISABLE_STDIO in mruby-time/time.cTomasz Dabrowski
2017-09-23The first instruction was skipped mistakenly in ensure clause; fix #3811Yukihiro "Matz" Matsumoto
2017-09-22`OP_EPOP` operand may be bigger than `mrb->c->eidx`; fix #3810Yukihiro "Matz" Matsumoto
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-12receiver variables must be "mrb_int" for mrb_get_args("i").Tomoyuki Sahara
Otherwise, it can cause a segfault on the platforms where the size of "int" and "mrb_int" differs.
2017-09-12remove whitespaces at the end of line.Tomoyuki Sahara
2017-09-11The callinfo stack may be reallocated in `cipush`; fix rest of #3809Yukihiro "Matz" Matsumoto
fix #3809
2017-09-11The ensure stack may be empty at `OP_EPOP`; fix 1st part of #3809Yukihiro "Matz" Matsumoto
2017-09-06Avoid calling `mrb_funcall` to invoke `#initialize` from `Class.new`.Yukihiro "Matz" Matsumoto
If `#initialize` is implemented in C, we don't need stack consuming `mrb_funcall`.
2017-09-05Avoid recursion from `mark_context()`.Yukihiro "Matz" Matsumoto
2017-09-05Avoid crossing C function boundary from `OP_EPOP`; ref #3789Yukihiro "Matz" Matsumoto
2017-09-05Restrict `OP_EPOP` operand to `1`; ref #3789Yukihiro "Matz" Matsumoto
2017-09-04Merge pull request #37 from udzura/fix-typesTomoyuki Sahara
Fix type int to mrb_int
2017-09-04Fix type int to mrb_intUchio KONDO
- mruby's default int size is changed after: https://github.com/mruby/mruby/commit/f0f4a1088a270e339407a24ffe8be748f4764fc2 - implicit cast causes some errors
2017-09-04Restructure `irep->outer` chain; fix #3804Yukihiro "Matz" Matsumoto
Instead of `irep -> proc` chain, we use `irep -> irep` chain to avoid GC bugs like #3804. We added `target_class` reference to `mrb_irep` struct. That means one more word consumption per `irep`.
2017-09-04Call `initialize` only when it's not empty.Yukihiro "Matz" Matsumoto
2017-09-03Merge pull request #3806 from flaviommedeiros/masterYukihiro "Matz" Matsumoto
Trying to make the code more readable
2017-09-03Merge pull request #3805 from fl0l0u/patch-1Yukihiro "Matz" Matsumoto
Update print.c
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-09-02Trying to make the source code more understandable by removing mixing of ↵Flavio Medeiros
ternary if statements with attributions.
2017-09-02Merge pull request #3802 from christopheraue/proc_break_testsYukihiro "Matz" Matsumoto
Tested local jump errors caused by break in a proc
2017-09-01Avoid copying over initialized procs using `initialize_copy`; fix #3803Yukihiro "Matz" Matsumoto
It may be better to raise exceptions, but CRuby doesn't.
2017-09-01Update method cache clearing.Yukihiro "Matz" Matsumoto
2017-09-01Make the default integer size to be `MRB_INT64` on 64bit systems; close #3800Yukihiro "Matz" Matsumoto
Unless `MRB_NAN_BOXING` is specified.
2017-08-30Tested LocalJumpErrors caused by break in a procChristopher Aue
2017-08-30Merge pull request #3801 from christopheraue/assert_raise_refactoringYukihiro "Matz" Matsumoto
Allowed to pass multiple exceptions to assert_raise
2017-08-30Allowed to pass multiple exceptions to assert_raiseChristopher Aue
2017-08-30Set the ORPHAN flag in `Proc.new`; fix #3798Yukihiro "Matz" Matsumoto
2017-08-30Fixed a critical typo; ref #3798Yukihiro "Matz" Matsumoto
2017-08-30Need to mark `mrb->range_class`; fix #3797Yukihiro "Matz" Matsumoto
2017-08-30Merge pull request #3799 from christopheraue/assert_raise_refactoringYukihiro "Matz" Matsumoto
Refactored #assert_raise and #assert_nothing_raised
2017-08-29Refactored #assert_raise and #assert_nothing_raisedChristopher Aue
2017-08-29Need to update `ci` after `callinfo` stack reallocation; fix #3796Yukihiro "Matz" Matsumoto
2017-08-29Exclude the top-level closure from `each_object`; fix #3793Yukihiro "Matz" Matsumoto