summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2016-01-06define `MRB_PRI?` that map to `PRI?NN` depending on the size of `mrb_int`Kazuho Oku
2016-01-06symname_p support `!~`ksss
2016-01-05bytes2chars() conversion to fail if target byte offset is not on the ↵Yukihiro "Matz" Matsumoto
character boundary; ref #3067 that means String#index matches first byte of a multi-byte character. this behavior is different from CRuby, but a compromise for mruby which does not have encoding stuffs.
2016-01-04stack_extend before eval_under()Yukihiro "Matz" Matsumoto
2016-01-02instance_eval should pass the receiver as a block parameter; close #3029Yukihiro "Matz" Matsumoto
2016-01-02mirb: enlarge code buffer size to 4KBYukihiro "Matz" Matsumoto
2016-01-02mruby-fiber: fiber_switch() to use nesting VM when it's called from C API or ↵Yukihiro "Matz" Matsumoto
mrb_funcall(); close #3056
2016-01-01Merge pull request #3068 from kazuho/kazuho/osx-_setjmpYukihiro "Matz" Matsumoto
use _setjmp/_longjmp on OS X
2016-01-01use _setjmp/_longjmp on other BSD flavorsKazuho Oku
2016-01-01use _setjmp/_longjmp on OS XKazuho Oku
2015-12-31mruby-fiber: add Fiber.yield description; close #3066Yukihiro "Matz" Matsumoto
Fiber.yield cannot be called from #initialize which is called by mrb_funcall(). It is mruby limitation.
2015-12-31Merge pull request #3067 from ksss/use-memchrYukihiro "Matz" Matsumoto
Use memchr for performance
2015-12-31Use memchr for performanceksss
```ruby s = "b" str = ("a" * 100 + s) t = Time.now str.index(s) puts Time.now - t ``` before => 0.000788 after => 0.000508 --- ```ruby s = "b" str = ("a" * 100 * 1024 * 1024 + s) t = Time.now str.index(s) puts Time.now - t ``` before => 0.225474 after => 0.008658
2015-12-31__t_printstr__ may not be available for testsYukihiro "Matz" Matsumoto
2015-12-31GC must scan env from fibers even when it's not yet copied to heap; fix #3063Yukihiro "Matz" Matsumoto
2015-12-30simpler t_printYukihiro "Matz" Matsumoto
2015-12-29Merge pull request #3065 from kou/support-backtrace-after-method-callsYukihiro "Matz" Matsumoto
Support backtrace after method calls
2015-12-29Skip backtrace related tests when backtrace isn't availableKouhei Sutou
2015-12-29Support backtrace after method callsKouhei Sutou
GitHub: fix #2902, #2917 The current implementation traverses stack to retrieve backtrace. But stack will be changed when some operations are occurred. It means that backtrace may be broken after some operations. This change (1) saves the minimum information to retrieve backtrace when exception is raised and (2) restores backtrace from the minimum information when backtrace is needed. It reduces overhead for creating backtrace Ruby objects. The space for the minimum information is reused by multiple exceptions. So memory allocation isn't occurred for each exception.
2015-12-29Merge pull request #3064 from kou/fix-indentYukihiro "Matz" Matsumoto
Fix indent
2015-12-29Fix indentKouhei Sutou
2015-12-26Merge pull request #2331 from take-cheeze/struct_testYukihiro "Matz" Matsumoto
Improve `Struct` test.
2015-12-26remove duplicated local variable declarationYukihiro "Matz" Matsumoto
2015-12-26Merge pull request #3062 from suzukaze/refactor-array-eachYukihiro "Matz" Matsumoto
Refactor Array#each
2015-12-26Merge pull request #3061 from mattn/fix-ctrl-cYukihiro "Matz" Matsumoto
mirb: Don't exit on Ctrl-C
2015-12-26Refactor Array#eachJun Hiroe
2015-12-26mirb: Don't exit on Ctrl-Ckyab
2015-12-26remove execute bit from mrbgems/mruby-bin-debugger filesYukihiro "Matz" Matsumoto
2015-12-26Merge pull request #3058 from mattn/fix-include-blockerYukihiro "Matz" Matsumoto
rename include blocker
2015-12-25rename include blockerYasuhiro Matsumoto
2015-12-23Merge pull request #3057 from yuuu/add_next_commandYukihiro "Matz" Matsumoto
mrdb: Added 'next' command.
2015-12-23fix bug that doesn't stop program when execute next command.Yuhei Okazaki
2015-12-23fixed next command's comment.Yuhei Okazaki
2015-12-23add next command to mrdb.Yuhei Okazaki
2015-12-22Merge pull request #3055 from mattn/fix-msvc-warningsYukihiro "Matz" Matsumoto
fix build on VS2012
2015-12-22fix build on VS2012Yasuhiro Matsumoto
2015-12-21Merge pull request #3054 from kazuho/kazuho/adjust-column-offset-in-peekc_nYukihiro "Matz" Matsumoto
fix miscalculation of column number in `peekc_n`
2015-12-21in `peekc_n`, adjust column number after calling `nextc`Kazuho Oku
2015-12-17Merge pull request #3051 from zzak/ambiguous-first-argumentYukihiro "Matz" Matsumoto
Fix "ambiguous first argument" warning
2015-12-17Fix "ambiguous first argument" warningZachary Scott
2015-12-16Merge pull request #3050 from remore/fix-minor-bug-about-objectspaceYukihiro "Matz" Matsumoto
Add case statement of MRB_TT_SCLASS in mrb_obj_is_kind_of()
2015-12-16Add case statement of MRB_TT_SCLASS in mrb_obj_is_kind_of()Kei Sawada
2015-12-16mrb_str_len_to_inum(): fixed a bug with MRB_INT_MIN conversion; fix #3048Yukihiro "Matz" Matsumoto
2015-12-16mrb_str_len_to_inum(): fixed a bug with underscores in digits; fix #3049Yukihiro "Matz" Matsumoto
2015-12-16Merge pull request #3047 from csouls/rafactor_array_ruby_extensionYukihiro "Matz" Matsumoto
Remove redundant conditions of Array#each in ruby extension
2015-12-15Remove redundant conditions of Array#each in ruby extensionYusuke Tanaka
2015-12-14mrb_str_len_to_inum(): string may not be NUL terminated; ref #3043Yukihiro "Matz" Matsumoto
2015-12-14mrb_str_len_to_inum(): fixed a bug with separating _ in the digits; ref #3043Yukihiro "Matz" Matsumoto
2015-12-13Merge pull request #3045 from Mav7/masterYukihiro "Matz" Matsumoto
Added YARD docs in new mruby.h
2015-12-12Undid newline and whitespace on YARD docRalph Desir