summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2017-03-29Should raise FloatDomainErrorksss
2017-03-29Merge pull request #3563 from clayton-shopify/dup-renumber-keysYukihiro "Matz" Matsumoto
Renumber hash keys during dup since there may be duplicates.
2017-03-29Set proper class to subclass of Arrayokkez
More compatibility to CRuby.
2017-03-28Renumber hash keys during dup since there may be duplicates.Clayton Smith
2017-03-25Fix lost linenoksss
2017-03-20Add explicit cast from float to mrb_int.Yukihiro "Matz" Matsumoto
2017-03-20Use `snprintf()` to stringify fixnum numbers; fix #3492Yukihiro "Matz" Matsumoto
2017-03-19Fixed some compiler errors regarding PRId.Yukihiro "Matz" Matsumoto
2017-03-19Should not check/call `to_str` for immediate objects; ref #3515Yukihiro "Matz" Matsumoto
2017-03-19`super class error` formats the superclass by `inspect`; rerf #3515Yukihiro "Matz" Matsumoto
2017-03-19Use MRB_PRId instead of "%d"; fix #3515Yukihiro "Matz" Matsumoto
2017-03-19OP_RESCUE refactored; ref #3519Yukihiro "Matz" Matsumoto
2017-03-19Remove cname duplication from exc_inspect().Yukihiro "Matz" Matsumoto
2017-03-19Avoid possible infinite recursion in mrb_print_error(); ref #3517Yukihiro "Matz" Matsumoto
2017-03-19Check call depth when mrb_yield_class() is called; ref #3521Yukihiro "Matz" Matsumoto
2017-03-19Update stack only when callinfo is popped; fix #3521Yukihiro "Matz" Matsumoto
2017-03-19Need not to call mrb_obj_as_string() is sep is nil.Yukihiro "Matz" Matsumoto
2017-03-18Need to setup singleton_class chain; fix #3509Yukihiro "Matz" Matsumoto
2017-03-18Small cosmetic change ("* " -> "*").Yukihiro "Matz" Matsumoto
2017-03-18Save/restore GC arena index to avoid arena overflow error.Yukihiro "Matz" Matsumoto
2017-03-18Fixed access of uninitialized C local variable; fix #3525Yukihiro "Matz" Matsumoto
2017-03-18Avoid mrb_check_string_type() in raising exception; fix #3506Yukihiro "Matz" Matsumoto
The change may reduce flexibility, but I believe no one wants that level of flexibility here.
2017-03-16Singleton classes do not have outer class set; fix #3505Yukihiro "Matz" Matsumoto
2017-03-16Protect stack region before calling mrb_convert_type(); fix #3504Yukihiro "Matz" Matsumoto
2017-03-13OP_BLKPUSH is invalid outside of methods; fix #3501Yukihiro "Matz" Matsumoto
2017-03-12Update VM to support new OP_RESCUE behavior; ref #3487Yukihiro "Matz" Matsumoto
2017-03-12Enhance OP_RESCUE to take B operand fas matching exception; ref #3487Yukihiro "Matz" Matsumoto
2017-03-11Revert 642ab8e; ref #3422Yukihiro "Matz" Matsumoto
Also fix #3499. The issue was solved by #3462.
2017-03-10Update ci->mid according to surrounding scope; fix #3490Yukihiro "Matz" Matsumoto
2017-03-10Simplify expression; ref #3490Yukihiro "Matz" Matsumoto
2017-03-10Raise special Exception when exception class is redefined; fix #3493Yukihiro "Matz" Matsumoto
2017-03-06Avoid trampoline code if mrb_f_send is called from funcall; fix #3383Yukihiro "Matz" Matsumoto
2017-03-05Merge pull request #3483 from ksss/string-indexYukihiro "Matz" Matsumoto
String#index shouldn't return nil when "".index ""
2017-03-05String#index shouldn't return nil when "".index ""ksss
2017-03-04Unshare popped TT_ENV objects.Yukihiro "Matz" Matsumoto
2017-03-04Limit ecall() recursion levels; fix #3466Yukihiro "Matz" Matsumoto
2017-03-04Avoid tracing shared TT_ENV object.Yukihiro "Matz" Matsumoto
2017-03-04Save/restore arena index in the loop.Yukihiro "Matz" Matsumoto
2017-03-02Define jmpbuf_id outside of `extern "C"`; ref #3470Yukihiro "Matz" Matsumoto
2017-03-02The method_missing removal condition in a76dc04a was wrong.Yukihiro "Matz" Matsumoto
2017-03-02Fix possible stack overflow for `method_missing`; fix #3478Yukihiro "Matz" Matsumoto
Instead of shifting mruby VM stack, we always use CALL_MAXARGS.
2017-03-02Reorganize C++ exceptions; ref #3470Yukihiro "Matz" Matsumoto
There are 3 levels of C++ exception handling: * default - no C++ exception (use setjmp/longjmp) * enable_cxx_exception (use C++ exceptions with C ABI) * enable_cxx_abi (use C++ ABI including exceptions)
2017-03-02Create NoMethodError instance using `mrb_obj_new()`.Yukihiro "Matz" Matsumoto
2017-03-01`ci` may be moved during `mrb_convert_type()`; ref #3474Yukihiro "Matz" Matsumoto
2017-02-28Fix integer overflow; fix #3473Yukihiro "Matz" Matsumoto
The fix is suggested by https://hackerone.com/lucnguyen
2017-02-28Add type check by mrb_get_args(); ref #3476Yukihiro "Matz" Matsumoto
2017-02-28Add check before calling str_substr(); ref #3476Yukihiro "Matz" Matsumoto
2017-02-28Check if the value is fixnum before mrb_funcall(); fix #3476Yukihiro "Matz" Matsumoto
The issue is reported by https://hackerone.com/aerodudrizzt
2017-02-27Remove default Kernel#method_missing.Yukihiro "Matz" Matsumoto
Internal method_missing works without problems.
2017-02-27Check if OP_RETURN cross C function boundary; fix #3462Yukihiro "Matz" Matsumoto