summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-04-25Prevent GC during `each_object`; fix #3616Yukihiro "Matz" Matsumoto
2017-04-25Merge pull request #76 from yyamano/issue-75Tomoyuki Sahara
Make backquote work with the latest mruby. Fixed #75
2017-04-25Avoid use of `snprintf()` when DISABLE_STDIO is set; fix #3632Yukihiro "Matz" Matsumoto
ref #3492 #3515 #3517
2017-04-25Should terminate nested iterations in each_object; ref #3359Yukihiro "Matz" Matsumoto
2017-04-25Revert "Disable GC during `gc_each_objects()`; fix #3616"Yukihiro "Matz" Matsumoto
This reverts commit d2cad9ac5b8db89fc9d21f5795846f983236798c.
2017-04-25Use fiber marking instead of `mark_context`.Yukihiro "Matz" Matsumoto
To avoid redundant `mark_context()`.
2017-04-24Revert "Simplify pointer calculation in `envadjust`."Tomasz Dąbrowski
This reverts commit a1d32af91692c2b624e9c04fcd94aa958dbba626.
2017-04-24Make backquote work with the latest mruby. Fixed #75Yuji Yamano
2017-04-24Merge pull request #3630 from nobu/bug/sprintf-sp3infYukihiro "Matz" Matsumoto
Fix space flag with inf/nan
2017-04-24Merge pull request #3631 from nobu/bug/embeddoc-terminator-wordYukihiro "Matz" Matsumoto
Fix embedded document with unterminated terminator
2017-04-23Fix embedded document with unterminated terminatorNobuyoshi Nakada
`skips()` is `mrb_bool` function, should return `FALSE` at EOF, not `EOF`.
2017-04-23Refactor "%f" % Inf/NaNNobuyoshi Nakada
As for non-finite float, calculate the exact needed size with the space flag.
2017-04-23Fix space flag when Inf/NaN and width==3Nobuyoshi Nakada
While `"% 2f"` and `"% 4f"` result in `" Inf"` and `" Inf"` respectively, `"% 3f"` results in `"Inf"` (no space).
2017-04-22Merge pull request #3628 from yyamano/libmruby-pathYukihiro "Matz" Matsumoto
Add --libmruby-path support to mruby-bin-mruby-config.
2017-04-22Small cosmetic changes.Yukihiro "Matz" Matsumoto
2017-04-22Use env preserved in Proc structure in ecall(); fix #3612Yukihiro "Matz" Matsumoto
2017-04-22Keep reference to mrb_context from env; fix #3619Yukihiro "Matz" Matsumoto
2017-04-22Add --libmruby-path support to mruby-bin-mruby-config.Yuji Yamano
2017-04-22Alias should `push()` extra stack space for blocks.Yukihiro "Matz" Matsumoto
2017-04-21Simplify pointer calculation in `envadjust`.Yukihiro "Matz" Matsumoto
2017-04-21Revert e8dca6b03; fix #3550Yukihiro "Matz" Matsumoto
Reopens #3612.
2017-04-21Fixed a possible memory leak.Yukihiro "Matz" Matsumoto
2017-04-21Revert ae4217e81; fix #3619Yukihiro "Matz" Matsumoto
Reopens #3550. Those 2 issues are exclusive.
2017-04-21Assign to local variable first; cosmetic change.Yukihiro "Matz" Matsumoto
2017-04-21Merge pull request #3623 from take-cheeze/struct_freezeYukihiro "Matz" Matsumoto
Support `freeze` method in `Struct`.
2017-04-21Merge pull request #3624 from yyamano/fix-typoYukihiro "Matz" Matsumoto
Fix typo in usage message.
2017-04-21Merge pull request #3625 from take-cheeze/pool_64bitYukihiro "Matz" Matsumoto
Align pool allocator with 8 byte in 64-bit environment.
2017-04-21Merge pull request #3626 from take-cheeze/string_get_args_bugYukihiro "Matz" Matsumoto
Add missing `arg_i++` to fix bug of `s!` in mrb_get_args.
2017-04-21Add missing `arg_i++` to fix bug of `s!` in mrb_get_args.take_cheeze
2017-04-21Align pool allocator with 8 byte in 64-bit environment.take_cheeze
To avoid warnings from undefined sanitizer. ( https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html )
2017-04-21Fix typo in usage message.Yuji Yamano
2017-04-21Support freeze in `Struct`.take_cheeze
2017-04-21VM stack may be reallocated in `mrb_convert_type()`; fix #3622Yukihiro "Matz" Matsumoto
2017-04-21`mrb_int` may overflow in bit-shifting; fix #3620Yukihiro "Matz" Matsumoto
2017-04-21Bit-shifting zero should be zero; ref #3620Yukihiro "Matz" Matsumoto
2017-04-20Disable GC during `gc_each_objects()`; fix #3616Yukihiro "Matz" Matsumoto
2017-04-20Allow `mrb_objspace_each_objects()` to break iteration; ref #3359Yukihiro "Matz" Matsumoto
2017-04-20Do not raise an exception for living closure; ref #3359Yukihiro "Matz" Matsumoto
2017-04-19Use trampoline technique for `instance_exec`; ref #3359Yukihiro "Matz" Matsumoto
A new function `mrb_yield_cont()` is provided. You have to call it at the end of a C defined method, e.g. `return mrb_yield_cont()`.
2017-04-19Need to raise "break from proc-closure" error; fix #3359 fix #3495Yukihiro "Matz" Matsumoto
Some examples in #3359 still behave differently from CRuby.
2017-04-19Fixed a bug caused by last minute change; fix #3610Yukihiro "Matz" Matsumoto
Omitted `goto L_RAISE` to raise an exception.
2017-04-19Merge pull request #3615 from clayton-shopify/fix-copy-class-null-pointer-derefYukihiro "Matz" Matsumoto
Check if sc->mt is initialized before copying it.
2017-04-18Check if sc->mt is initialized before copying it.Clayton Smith
2017-04-18Call envadjust() before updating VM stack.Yukihiro "Matz" Matsumoto
2017-04-18Fixed a wrong condition; fix #3550Yukihiro "Matz" Matsumoto
Shared TT_ENV should be unshared. Reversed condition.
2017-04-18Revert 6dd1a57; fix #3612; ref #3550Yukihiro "Matz" Matsumoto
The fix was wrong. It causes a new problem #3612.
2017-04-18Make `mrb_codedump_all()` to print type of Proc.Yukihiro "Matz" Matsumoto
2017-04-18Changed evaluation order of `yield`; ref #3613Yukihiro "Matz" Matsumoto
So that `yield expr_with_error` will cause the error from the argument rather than `LocalJumpError` when no block is given.
2017-04-18`super` may call context switching method like `send`; fix #3611Yukihiro "Matz" Matsumoto
2017-04-18Call exc_debug_info() in mrb_exc_set(); ref #3610Yukihiro "Matz" Matsumoto
Otherwise line number information is lacked from exceptions raised in VM, e.g. "super called outside of method".