summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-mirb
AgeCommit message (Collapse)Author
2015-09-11Support windows localeYasuhiro Matsumoto
Add mrb_utf8_from_locale, mrb_utf8_free, mrb_locale_from_utf8, mrb_locale_free. Just works for windows.
2015-08-01link libncurses when there's /usr/include/curses.h; fix #2905Yukihiro "Matz" Matsumoto
2015-06-22Need mruby-compiler to build mruby-bin-mruby and mruby-bin-mirb forTerence Lee
cross compiles
2015-06-10Remove unused libterminfo detection code.Huei-Horng Yo
The detection code is unused even on OpenBSD 5.7, because of the standard installation is libtermcap be installed, not libterminfo. This fixes #2829 Tested on Arch Linux (x86_64) & OpenBSD 5.7 (amd64). Signed-off-by: Huei-Horng Yo <[email protected]>
2015-06-09Detect if ncurses' backend is terminfo or termcap. fixes #2662Huei-Horng Yo
Borrowed from @mattn's code at: https://github.com/mruby/mruby/issues/2662#issuecomment-65535705 Signed-off-by: Huei-Horng Yo <[email protected]>
2015-05-20NetBSD does not have libreadline but readline(3) is in libedit.Tomoyuki Sahara
2015-01-19Merge pull request #2680 from sdottaka/add-fflushYukihiro "Matz" Matsumoto
mrdb, mirb: Add fflush() so that a external program can read output imme...
2015-01-03Removed duplicated declarations.Tatsuhiko Kubo
* `mrb_show_version()` * `mrb_show_copyright()`
2014-12-19mrdb, mirb: Add fflush() so that a external program can read output immediately.sdottaka
2014-12-12mirb dies if #inspect returns a non-string value; fix #2666Yukihiro "Matz" Matsumoto
2014-10-31Under cygwin host, ncurses.a is only available instead of termcap.a.M.Naruoka
2014-08-22Use sizeof() instead of strlen().Tatsuhiko Kubo
2014-08-19Fix error handlings in mirb.Tatsuhiko Kubo
mrb_parser_new() and mrb_generate_code() may return NULL.
2014-07-12call `mrb_malloc_simple` instead of `malloc`cremno
2014-07-11allocate `history_path` dynamicallycremno
`PATH_MAX` doesn't have to be defined and if it is, then its value is usually incorrect (possible buffer overflow). Use `malloc` and `snprintf` instead to prevent this. https://www.gnu.org/software/hurd/community/gsoc/project_ideas/maxpath.html
2014-06-30Use `TRUE` instead of `1` in mirb code.take_cheeze
2014-06-09Add a missing space after ","Kouhei Sutou
2014-06-06partially revert 1a5841b for mirbcremno
Fix compilation fail caused by GNU Readline and `ISPRINT`. Also add missing `unsigned char` cast.
2014-06-05use uppercase US-ASCII ctype macroscremno
2014-05-15allow quit/exit to work within mirb; fix #2253 close #2254Yukihiro "Matz" Matsumoto
also allow spaces around quit/exit.
2014-05-13remove unnecessary semicolons from a38f8fYukihiro "Matz" Matsumoto
2014-05-13support comments in user-input; also add checks for buffer overflowYukihiro "Matz" Matsumoto
2014-05-09libreadline requires libtermcap on OpenBSD.Tomoyuki Sahara
2014-05-03Suppress warning when using readline in mirb.take_cheeze
2014-05-01Use header searcher to find readline and linenoise.take_cheeze
2014-04-30remove trailing spacesNobuyoshi Nakada
2014-04-12remove mirb regression test that fails on travis-ci onlyYukihiro "Matz" Matsumoto
2014-03-17move summary of mrbgems in default gembox to its spectake_cheeze
2014-03-08support linenoise in mirbtakkaw
2014-03-05small refactortakkaw
2014-02-23Fix unused function warning when readline enabled (mirb)kyab
2014-02-14add a regression test for #1706Li Yazhou
2014-02-14keep stack with nlocals instead of nregs; fix #1706Li Yazhou
2014-02-10resolve conflict in travis_config.rbYukihiro "Matz" Matsumoto
2014-02-09Merge pull request #1674 from cremno/mrb_bool-FALSE-TRUEYukihiro "Matz" Matsumoto
use mrb_bool, FALSE and TRUE more
2014-02-08Remove notice of early versionDaniel Bovensiepen
2014-01-31use mrb_bool, FALSE and TRUE morecremno
It doesn't matter to me if one is using FALSE/TRUE instead of 1/0 but I prefer a type (alias) which emphasizes boolean vars to int. I changed 1/0 to FALSE/TRUE anyway.
2014-01-31clean up external symbolscremno
remove unused and unneeded: - sysexit_status - type (a global variable) add mrb_ prefix to: - codedump_all - class_instance_method_list - parser_dump make various functions static, incl.: - yyparse - make_exception
2014-01-07remove superfluous includescremno
- reduce compile time by a little bit (full-core: ~0.7s for me) - thanks to 'include-what-you-use' for some help - include Standard C header files before any other (coding style)
2013-12-01add mrb_intern_lit for creating symbol from string literaltake_cheeze
2013-11-29rename mrb_intern2() to mrb_intern(); huge API incompatibility; close #1513Yukihiro "Matz" Matsumoto
2013-11-16add regression for #1563fleuria
2013-11-10call codedump_all() from mirb if --verbose is set; close #1559Yukihiro "Matz" Matsumoto
2013-11-05resolved conflicts and updated to latest return value change of ↵Yukihiro "Matz" Matsumoto
mrb_generate_code()
2013-11-03mirb: reset stack in the first commandfleuria
2013-11-03refactor mrb_context_run()fleuria
2013-11-03introduce mrb_context_run()fleuria
currently there are two scnenario to call mrb_run(), the first is calling a proc, in this case mrb should create a new environment, discarding all the variables except args, reciever and block. the second is calling the newly generated irep, like in mirb. in this case, the variables should be kept after mrb_run(). so we introduce mrb_context_run() to handle this seperately.
2013-11-02change return value from mrb_generate_code()Yukihiro "Matz" Matsumoto
2013-10-04fix no multiline strings in mirbLukas Stabe
2013-08-13Adding line numbers to the output of mirb.Jack Danger Canty
Before: > "hi" hi > d (mirb):1: undefined method 'd' for main (NoMethodError) > d (mirb):1: undefined method 'd' for main (NoMethodError) > "hi" hi > "#{'}" line 1: unterminated string meets end of file After > "hi" hi > d (mirb):2: undefined method 'd' for main (NoMethodError) > d (mirb):3: undefined method 'd' for main (NoMethodError) > "hi" hi > "#{'}" line 5: unterminated string meets end of file