summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-05-26Add cast to `mrb_int` in `mrb_fixnum()` when MRB_WORD_BOXING.Yukihiro "Matz" Matsumoto
Without this cast, `long int:63` can cause warnings.
2017-05-26Fixed off-by-one error in `fiber_switch()`; ref #3641Yukihiro "Matz" Matsumoto
2017-05-25Revert 01f7825; fix #3650Yukihiro "Matz" Matsumoto
Redundant `mark_context() is far better than crashes.
2017-05-25Raise an exception when transfer arguments are too many; fix #3641Yukihiro "Matz" Matsumoto
The fix was proposed by @block8437. Thank you.
2017-05-25Avoid marking possibly freed stack; #3550 #3612Yukihiro "Matz" Matsumoto
2017-05-25Revert "Use env preserved in Proc structure in ecall(); fix #3612"Yukihiro "Matz" Matsumoto
This reverts commit e26e11860466676e5713fa0d9ab268ea8dbdcef9. Fix #3664
2017-05-25Invoke ensure clauses before switching context from fibers; fix #3662Yukihiro "Matz" Matsumoto
2017-05-25Clear top level env in `mrb_top_run()`; fix #3643Yukihiro "Matz" Matsumoto
2017-05-25Avoid unsharing stack if env refers top-level; ref #3643Yukihiro "Matz" Matsumoto
2017-05-25Check env stack length before `OP_SETUPVAR`; ref #3643Yukihiro "Matz" Matsumoto
2017-05-25Check backtrace info may not be set (esp. NoMemError); fix #3663Yukihiro "Matz" Matsumoto
2017-05-25Make `gen_assignment()` to support `NODE_SCALL`; ref #3658Yukihiro "Matz" Matsumoto
2017-05-25Free given pointer if `realloc()` fails; fix #3658Yukihiro "Matz" Matsumoto
2017-05-25Avoid using `mrb_raise()` in `mrb_vm_exec()`; ref #3660Yukihiro "Matz" Matsumoto
2017-05-25Under MRB_INT64, width may be bigger than INT_MAX; fix #3665Yukihiro "Matz" Matsumoto
2017-05-25Preserve the current pc before `method_missing()`; fix #3660Yukihiro "Matz" Matsumoto
2017-05-23Simplify backtrace mechanism; fix #3633 #3634 #3644Yukihiro "Matz" Matsumoto
Instead of preserving a backtrace in `mrb_state`, `mrb_exc_set` keeps packed backtrace in an exception object. `#backtrace` unpacks it to an array of strings.
2017-05-23Remove class info from backtrace lines.Yukihiro "Matz" Matsumoto
2017-05-23Support the case when the backtrace is not an array.Yukihiro "Matz" Matsumoto
2017-05-23Use index in `each_object`.Yukihiro "Matz" Matsumoto
2017-05-23Type check before `print_backtrace()`Yukihiro "Matz" Matsumoto
2017-05-23Update comments regarding Exception#to_strYukihiro "Matz" Matsumoto
2017-05-21Merge pull request #3661 from ksss/string-concatYukihiro "Matz" Matsumoto
String#concat: Try to convert when not string
2017-05-21String#concat: Try to convert when not stringksss
2017-05-16Merge pull request #3659 from craiglrock/masterYukihiro "Matz" Matsumoto
Avoid call to_s during backtrace traversal
2017-05-15Avoid call to_s during backtrace traversalCraig Lehmann
2017-05-14Merge pull request #3657 from ksss/str-embedYukihiro "Matz" Matsumoto
Make string embad from shared
2017-05-13Make string embad from sharedksss
2017-05-13Merge pull request #3656 from clayton-shopify/fix-codegen-defaultYukihiro "Matz" Matsumoto
Change return back to break in the default case.
2017-05-12Change return back to break in the default case.Clayton Smith
2017-05-09Merge pull request #3649 from ksss/sprintfYukihiro "Matz" Matsumoto
Fix segmentation fault ref: #3648
2017-05-08Fix segmentation fault ref: #3648ksss
2017-05-05Merge pull request #3647 from ksss/splitYukihiro "Matz" Matsumoto
Adjust to the optimum type
2017-05-05Adjust to the optimum typeksss
2017-04-29Merge pull request #3645 from nobu/sprintf-refactorYukihiro "Matz" Matsumoto
Sprintf refactor
2017-04-29Better error messageNobuyoshi Nakada
Raise argument error with the better message, at the only place where the size to fill can be negative.
2017-04-29Use `FILL` and `PUSH`Nobuyoshi Nakada
Instead of loop or `memcpy` after `CHECK`, use dedicated macros, `FILL` and `PUSH`, respectively.
2017-04-26Merge pull request #3639 from Asmod4n/patch-1Yukihiro "Matz" Matsumoto
Add macOS support to mrb_ro_data_p
2017-04-25Add macOS support to mrb_ro_data_pAsmod4n
This adds macOS support to mrb_ro_data_p, fixes #3636
2017-04-25Avoid duplicated `envadjust()` of env stacks; fix #3637Yukihiro "Matz" Matsumoto
2017-04-25Merge pull request #3637 from dabroz/fix-32-bitYukihiro "Matz" Matsumoto
Restore 32-bit OSX builds
2017-04-25Silence warnings caused by implicit type casting.Yukihiro "Matz" Matsumoto
2017-04-25Add explicit cast from double to long.Yukihiro "Matz" Matsumoto
2017-04-25Stop invoking GC before `each_object` to avoid test failure; #3616Yukihiro "Matz" Matsumoto
2017-04-25Prevent GC during `each_object`; fix #3616Yukihiro "Matz" Matsumoto
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.