- 25 Jan, 2021 7 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix TYPO and checking minor version in RITE BINARY HEADER
-
HASUMI Hitoshi authored
-
HASUMI Hitoshi authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
For easier compiling and linking of the application embedding `mruby`
-
- 24 Jan, 2021 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
As CRuby does.
-
Yukihiro "Matz" Matsumoto authored
-
- 23 Jan, 2021 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
ref dc51d89a
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Fix typo
-
Yevhen Viktorov authored
-
- 22 Jan, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Instead of including `mruby/presym.h` everywhere, we provided the fallback `mruby/presym.inc` under `include/mruby` directory, and specify `-I<build-dir>/include` before `-I<top-dir>/include` in `presym.rake`. So even when someone drops `-I<build-dir>/include` in compiler options, it just compiles without failure.
-
- 21 Jan, 2021 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
From 48 bytes to 40 bytes on 64 bit platforms (unchanged on 32 bit).
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Merge branch 'avoid-including-presym.inc-in-existing-header-files' of https://github.com/shuujii/mruby into shuujii-avoid-including-presym.inc-in-existing-header-files
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 20 Jan, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
`calc_crc_16_ccitt()` consumes a lot of clock cycles in programs like `mrbtest` which loads a lot of dumped binary. Error detection for flaky channels should be done in the higher level. Note: `mruby/c` should be updated to support this change.
-
- 19 Jan, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 18 Jan, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix that Hash may not contain any empty buckets
-
KOBAYASHI Shuji authored
The Hash implementation assumed that there were always empty buckets, but sometimes there were only active or deleted buckets (no empty buckets). Therefore, fix it so that this situation does not occur. ### Example ```ruby # example.rb class A attr_reader :v def initialize(v) @v = v end def ==(o) @v == o.v end def hash; @v end def to_s; "#{self.class}[#{@v}]" end alias eql? == alias inspect to_s end keys = (0..31).map{A.new(_1)} h = {} (0..16).each{h[keys[_1]] = _1} (17..31).each do k = keys[_1] h[k] = _1 h.delete(k) end p h.keys ``` #### Before this patch: ```console $ bin/mruby example.rb [A[0], A[1], A[2], A[3], A[4], A[5], A[6], A[7], A[8], A[9], A[10], A[11], A[12], A[13], A[14], A[15], A[16], A[30], A[31]] ``` #### After this patch: ```console $ bin/mruby example.rb [A[0], A[1], A[2], A[3], A[4], A[5], A[6], A[7], A[8], A[9], A[10], A[11], A[12], A[13], A[14], A[15], A[16]] ```
-
- 17 Jan, 2021 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix build error for mruby-bin-debugger
-
dearblue authored
This is a missing change in #5272. This issue was reported by @shuujii. https://github.com/mruby/mruby/pull/5272#issuecomment-761819737
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Thinking `Ratinal` and `Complex` in mind.
-
- 16 Jan, 2021 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix NULL pointer dereference with mruby-os-memsize and mruby-method
-
dearblue authored
If it gets an insubstantial method object with `obj.method`, it will raise a `SIGSEGV` with `ObjectSpace.memsize_of(method)`.
-
Yukihiro "Matz" Matsumoto authored
Fixed stack position of return value; ref #5272
-
dearblue authored
When I `#call` the "proc" object created by the `mrb_proc_new_cfunc()` function from Ruby space, the return value did not go into the correct stack position. This can destroy the calling variable. This issue is now caused by #5272. sorry.
-
- 15 Jan, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Reported and inspired by @hasumikin; based on CRuby's `parse.y`.
-
- 14 Jan, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Capture the return value of `Fiber.yield` via C; ref #5261
-
- 13 Jan, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 12 Jan, 2021 2 commits
-
-
dearblue authored
-
Yukihiro "Matz" Matsumoto authored
Initialize all area of `struct sockaddr_un`
-