summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
AgeCommit message (Collapse)Author
2015-01-10Merge pull request #2697 from cubicdaiya/use-sizeofYukihiro "Matz" Matsumoto
Use sizeof() instead of strlen().
2015-01-03Removed duplicated declarations.Tatsuhiko Kubo
* `mrb_show_version()` * `mrb_show_copyright()`
2015-01-03Use sizeof() instead of strlen().Tatsuhiko Kubo
2015-01-03fixed error-handling for mrb_open().Tatsuhiko Kubo
When mrb_open() is called again, it is not checked.
2015-01-03Add fflush() (2)sdottaka
2015-01-01Remove redundant NULL checks for mrb_malloc().Tatsuhiko Kubo
2014-12-27Avoid block_given? in mrbgem:enum.rb to reduce method callsJun Hiroe
2014-12-23mruby-eval: fix typosdottaka
2014-12-20mrdb: fix that break command cannot handle Windows pathssdottaka
Before fix: ``` $ mrdb c:\tmp\b.rb (c:\tmp\b.rb:1) break c:\tmp\b.rb:3 Class name 'c' is invalid. ``` After fix: ``` $ mrdb c:\tmp\b.rb (c:\tmp\b.rb:1) break c:\tmp\b.rb:3 Breakpoint 1: file c:\tmp\b.rb, line 3. ```
2014-12-19now retrieves number of arguments of blocks from OP_ENTER op code; close #2671Yukihiro "Matz" Matsumoto
2014-12-19mrdb, mirb: Add fflush() so that a external program can read output immediately.sdottaka
2014-12-17mruby-eval: proc from env may be NULL; close #2676Yukihiro "Matz" Matsumoto
2014-12-17avoid out-of-bounds access of irep->lv; ref #2671, fix #2675Yukihiro "Matz" Matsumoto
allocation size of irep->iv is irep->nlocals-1.
2014-12-17mrb_str_new(mrb, "", len) creates an unmodifiable string object; ref #2674Yukihiro "Matz" Matsumoto
2014-12-17Add String#prependJun Hiroe
2014-12-17eval() should preserve stack in env properly; fix #2671Yukihiro "Matz" Matsumoto
2014-12-16Fix crash if #inspect does not return a string valueYukihiro "Matz" Matsumoto
2014-12-13Add String#insertJun Hiroe
2014-12-12Merge pull request #2667 from ↵Yukihiro "Matz" Matsumoto
murasesyuka/usage_message_is_used_switches_instead_of_option fix usage message
2014-12-12mirb dies if #inspect returns a non-string value; fix #2666Yukihiro "Matz" Matsumoto
2014-12-11fix usage messagemurase_syuka
2014-12-05String#[] accepts float.Tomoyuki Sahara
2014-11-29closing to Local Scopemurase_syuka
2014-11-27adhoc fix for pass buildmurase_syuka
2014-11-26Merge pull request #2652 from cremno/mrdb-add-missing-null-terminationYukihiro "Matz" Matsumoto
mrdb: add missing null-termination
2014-11-26free memory used by breakpointscremno
2014-11-26free return value of dirname()cremno
2014-11-25Merge pull request #2644 from cremno/mrdb-minor-changesHiroshi Mimaki
mrdb: minor changes
2014-11-25add missing null-terminationcremno
2014-11-23Fix String#slice! raise TypeError or return invalid value.TOMITA Masahiro
2014-11-22use mrb_str_xxx_lit for mrdb.Tatsuhiko Kubo
2014-11-20remove const type qualifiercremno
clang 3.5.0 with -Wextra produces a -Wignored-qualifiers diagnostic.
2014-11-20don't convert function pointer to object pointercremno
2014-11-20remove castcremno
C99+TC3, 7.19.7.1p2: [...] the fgetc function obtains that character as an unsigned char converted to an int [...]
2014-11-20fix heap-use-after-freecremno
2014-11-18Add mruby debugger (mrdb)mimaki
2014-10-31Under cygwin host, ncurses.a is only available instead of termcap.a.M.Naruoka
2014-10-29use mrb_get_args to parse Integer() option; ref #2625Yukihiro "Matz" Matsumoto
2014-10-29Add Kernel.IntegerJun Hiroe
2014-10-24Add Kernel.FloatJun Hiroe
2014-10-21Add Kernel.HashJun Hiroe
2014-10-20Add Kernel.StringJun Hiroe
2014-10-19Refactor mrb_f_array funcJun Hiroe
2014-10-19refactoring C part of #2611Yukihiro "Matz" Matsumoto
2014-10-19Add Kernel.ArrayJun Hiroe
2014-10-18need addtional type check to avoid SEGV; ref #2609Yukihiro "Matz" Matsumoto
2014-10-17context proc may be cfunc; fix #2609Yukihiro "Matz" Matsumoto
2014-10-03add similar range check for tm->usec as wellYukihiro "Matz" Matsumoto
2014-10-03always check range before casting time_t to mrb_intYukihiro "Matz" Matsumoto
2014-10-03time_t may overflow mrb_int when word boxing is usedYukihiro "Matz" Matsumoto