- 24 Apr, 2020 1 commit
-
-
dearblue authored
When removing elements from an array, it is possible to avoid creating an empty array. Before this patch: ```c mrb_ary_splice(mrb, ary, head, len, mrb_ary_new(mrb)); ``` After this patch: ```c mrb_ary_splice(mrb, ary, head, len, mrb_undef_value()); ```
-
- 22 Apr, 2020 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Thank you @shuujii to additional report on #4973
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
The difference between `mrb_singleton_class` and `mrb_singleton_class_ptr`: - `mrb_singleton_class_ptr` returns `struct RClass*`. - `mrb_singleton_class_ptr` returns `NULL` on immediate values where `mrb_singleton_class` raises exceptions.
-
- 21 Apr, 2020 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
The tranpoline code in 6a0b68f8 was wrong; reverted.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
In ISO, those methods should raise `TypeError`, but the spec has been changed. The change was discussed in [Feature#12979].
-
- 15 Apr, 2020 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Check the file descriptor with `IO#initialize`; resolve #4966
-
- 14 Apr, 2020 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Fix `MRB_TT_CPTR` object with `MRB_NAN_BOXING`
-
Yukihiro "Matz" Matsumoto authored
Support `MRB_DISABLE_STDIO` for mruby-pack; ref #4954
-
Yukihiro "Matz" Matsumoto authored
Support `MRB_DISABLE_STDIO` for mruby-sprintf; ref #4954
-
Yukihiro "Matz" Matsumoto authored
Fixed a build error in mruby-config
-
- 13 Apr, 2020 1 commit
-
-
dearblue authored
Previously, if `MRB_NAN_BOXING` is defined, for example, `mrb_cptr_value()` could not keep an odd address. If it is `MRB_32BIT`, it can be embedded in `NaN` as it is. If it is `MRB_64BIT`, some operations are shared with `MRB_WORD_BOXING`. In this case, the MRB_API function `mrb_nan_boxing_cptr_value()` is defined.
-
- 12 Apr, 2020 1 commit
-
-
dearblue authored
-
- 11 Apr, 2020 7 commits
-
-
dearblue authored
-
dearblue authored
In order to share the same operation with `mrb_float_to_str()`, the internal structure is modified.
-
dearblue authored
Changed to understand `#`, `0`, `-`, ` ` and `+`. Based on src/stdio/vfprintf.c in git://git.musl-libc.org/musl
-
dearblue authored
Based on src/stdio/vfprintf.c in git://git.musl-libc.org/musl
-
dearblue authored
-
dearblue authored
The build error occurred when the "build/XXX/bin" directory did not exist.
-
dearblue authored
-
- 08 Apr, 2020 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Merged `cygwin_filename()` into `filename()`.
-
mimaki authored
-
- 05 Apr, 2020 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Validate windows by Dir testing
-
- 04 Apr, 2020 3 commits
-
-
Reckordp authored
-
Reckordp authored
-
Yukihiro "Matz" Matsumoto authored
To prevent infinite loop on errors; reported by @shuujii
-
- 03 Apr, 2020 1 commit
-
-
Reckordp authored
-
- 02 Apr, 2020 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
build when directories and files have spaces
-
- 01 Apr, 2020 4 commits
-
-
dsisnero authored
-
Dominic Sisneros authored
Modified the build to quote filenames so that it builds when files have spaces
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Fix `mrb_funcall_with_block()` uses more GC arena
-
- 31 Mar, 2020 2 commits
-
-
dearblue authored
If `mrb->jmp` is `NULL` and the function `mrb_funcall_with_block()` is called, GC Arena is returned from the function with over-used. - A normal (no global exodus) return will consume two GC Arena's. - In the event of an exception, five GC Arena are consumed. This patch reduces consumption in both cases to one.
-
Yukihiro "Matz" Matsumoto authored
Fix NULL pointer dereferences in mrb_local_variables; fix #4955
-
- 30 Mar, 2020 1 commit
-
-
dearblue authored
However, the behavior of `#call` on the method object of `local_variables` is not corrected.
-
- 08 Mar, 2020 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Improve configuration guard
-
dearblue authored
ref #4576 and ref #4947 * Need MRBAPI functions without `MRB_DISABLE_STDIO`: * mrbgems/mruby-bin-debugger * mrbgems/mruby-bin-mirb * mrbgems/mruby-bin-mrbc * mrbgems/mruby-bin-mruby * mrbgems/mruby-bin-strip * Need `stdio.h`: * mrbgems/mruby-io * mrbgems/mruby-print * Need `snprintf()` in `stdio.h`: * mrbgems/mruby-pack * mrbgems/mruby-sprintf
-