1. 28 Nov, 2021 1 commit
  2. 26 Nov, 2021 2 commits
    • Yukihiro "Matz" Matsumoto's avatar
    • dearblue's avatar
      Check more `MRB_ARGS_NONE()` · 668b12e7
      dearblue authored
      The `__id__` method implemented in the C function has `MRB_ARGS_NONE()` specified, but it is also effective in the following cases.
      
      ```ruby
      p nil.__id__ opts: 1 rescue p :a
      p nil.method(:__id__).call 1 rescue p :b
      p nil.method(:__id__).call opts: 1 rescue p :c
      p nil.method(:__id__).to_proc.call 1 rescue p :d
      p nil.method(:__id__).to_proc.call opts: 1 rescue p :e
      p nil.method(:__id__).unbind.bind_call nil, 1 rescue p :f
      p nil.method(:__id__).unbind.bind_call nil, opts: 1 rescue p :g
      p nil.__send__ :__id__, 1 rescue p :h
      p nil.__send__ :__id__, opts: 1 rescue p :i
      ```
      
      After applying this patch, all items will output symbols in the same way as CRuby.
      
      For this purpose, add `MRB_PROC_NOARG` to `struct RProc::flags`.
      668b12e7
  3. 25 Nov, 2021 1 commit
  4. 24 Nov, 2021 2 commits
  5. 23 Nov, 2021 3 commits
  6. 22 Nov, 2021 1 commit
    • dearblue's avatar
      Fixed occurs `SIGSEGV` with `mrbgems/mruby-method` · b02bd63d
      dearblue authored
      Calling the `Method#{parameters,source_location}` method on a static `Proc` object resulted in `SIGSEGV`.
      The trigger is https://github.com/mruby/mruby/pull/5402.
      
      The original implementation of the `Method#{parameters,source_location}` method was to temporarily rewrite the object and then call the method of the same name in `Proc`.
      Rewriting of objects placed in the ROM section by #5402 above is prohibited by hardware such as the CPU.
      This caused a `SIGSEGV`.
      b02bd63d
  7. 21 Nov, 2021 1 commit
  8. 20 Nov, 2021 2 commits
  9. 19 Nov, 2021 7 commits
  10. 18 Nov, 2021 1 commit
  11. 17 Nov, 2021 3 commits
  12. 16 Nov, 2021 1 commit
  13. 15 Nov, 2021 2 commits
  14. 14 Nov, 2021 1 commit
  15. 13 Nov, 2021 1 commit
  16. 12 Nov, 2021 2 commits
  17. 10 Nov, 2021 1 commit
  18. 09 Nov, 2021 1 commit
  19. 08 Nov, 2021 2 commits
  20. 06 Nov, 2021 2 commits
  21. 05 Nov, 2021 1 commit
  22. 04 Nov, 2021 2 commits