- 07 Jan, 2022 1 commit
-
-
mimaki authored
-
- 06 Jan, 2022 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fixing keyword arguments with `super`
-
Yukihiro "Matz" Matsumoto authored
Allows handling of unaligned cptrs for `MRB_NAN_BOXING`
-
- 05 Jan, 2022 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
This reverts commit d3b7601a.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
dearblue authored
It seems to be preferable to be able to handle pointers of type `char` as well. For this purpose, `mrb_nanbox_tt_inline` has been reorganized. - `MRB_NANBOX_TT_POINTER` has been split into `MRB_NANBOX_TT_OBJECT` and `MRB_NANBOX_TT_CPTR` - `MRB_NANBOX_TT_SYMBOL` has been merged into `MRB_NANBOX_TT_MISC`
-
dearblue authored
fix #5627
-
- 04 Jan, 2022 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Improves presym scanning
-
Yukihiro "Matz" Matsumoto authored
Assert that `MRB_METHOD_CACHE_SIZE` is a power of 2
-
- 02 Jan, 2022 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
Assign after `mrb_irep_incref()` in `mrb_proc_new()`
-
Yukihiro "Matz" Matsumoto authored
Call functions directly from `mrb_ensure_float_type()`
-
Yukihiro "Matz" Matsumoto authored
Adjusting the stack for after it enters the virtual machine
-
dearblue authored
The `mrb_static_assert_powerof2()` macro has been introduced for this purpose.
-
dearblue authored
The main purpose is to increase the chances of finding presym and to prevent errors due to C++11 lambda expressions. - The argument to receive the class may be written, for example, `mrb_class_get()`. - The argument that receives the implementation function of the method may be a C++ lambda expression. In this case, if multiple variable declarations are separated by colons, the preprocessor will recognize them as argument delimiters and report an error. This patch prevents it from happening. ```c++ // When preprocessing... func([] { int x, y, z; }) // ^^^^^^^^^^ 1st argument? // ^ 2nd argument? // ^^^^ 3rd argument? ```
-
- 01 Jan, 2022 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
It may cause broken reference count numbers.
-
- 31 Dec, 2021 8 commits
-
-
dearblue authored
ref. commit 7f40b645 Currently, the build configurations `MRB_USE_COMPLEX` and `MRB_USE_RATIONAL` are not listed in the documentation. In other words, they are hidden settings. They are defined in `mrbgems/mruby-{complex,rational}/mrbgem.rake`. So this patch assumes that it is safe to refer to these functions in core-gems directly from core functions. However, applications that link with `libmruby_core.a` will have compatibility issues. In fact, `mrbgems/mruby-bin-mrbc` links with `libmruby_core.a`, so I had to prepare a dummy function.
-
Yukihiro "Matz" Matsumoto authored
Remove code duplication.
-
Yukihiro "Matz" Matsumoto authored
Extend the Cygwin CI time limit to 15 minutes.
-
Yukihiro "Matz" Matsumoto authored
Get object properties after `mrb_get_args()`
-
Yukihiro "Matz" Matsumoto authored
Since they are basically duplicated functionality. `mrb_as_float` is now a macro defined using `mrb_ensure_float_type`; #5620
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
It should only call `to_f` for Rational and Complex numbers. Ref #5540 #5613 #5620
-
Yukihiro "Matz" Matsumoto authored
That reduce memory consumption by iv/mt tables.
-
- 30 Dec, 2021 3 commits
-
-
dearblue authored
The main reason for failure is to exceed the time limit, and even when it succeeds, there is less than a minute left. The 10-minute time limit seems to be too short.
-
dearblue authored
ref. #5613. I mentioned in #5540 that there was no reentrant to the virtual machine, but in fact it was still a possibility at that point. Also, the variable `ci` needs to be recalculated at the same time.
-
dearblue authored
ref. #5613 I checked with Valgrind, and the methods that can cause use-after-free are `Array#rotate`, `Array#rotate!`, and `String#byteslice`. Since `String#rindex` uses `RSTRING_LEN()` indirectly inside the function, no reference to the out-of-bounds range is generated.
-
- 29 Dec, 2021 8 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Since `mrb_to_integer` and `mrb_to_float` does not convert the object but checks types, they are named so by historical reason. We introduced properly named functions. This commit obsoletes the following functions: * mrb_to_integer() * mrb_to_int() * mrb_to_float() Use `mrb_ensure_int_type()` instead for the first 2 functions. Use `mrb_ensure_float_type()` for the last.
-
Yukihiro "Matz" Matsumoto authored
mruby have removed `to_int` implicit conversion, so `mrb_to_integer` should not call `to_i` for conversion.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
The `ARY_PTR` and `ARY_LEN` may be modified in `mrb_get_args`.
-
Yukihiro "Matz" Matsumoto authored
Fix build error and refine definition of `ssize_t` on MSVC.
-
- 28 Dec, 2021 4 commits
-
-
mimaki authored
-
Yukihiro "Matz" Matsumoto authored
Fix word casing in the README
-
Yukihiro "Matz" Matsumoto authored
pre-commit autoupdate
-
-