- 28 May, 2019 2 commits
-
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4474 from shuujii/use-undefined.equal-obj2-instead-of-obj2-eq-undefined-in-assert.rb Use `$undefined.equal?(obj2)` instead of `obj2 == $undefined` in `ass…
-
- 27 May, 2019 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4473 from shuujii/make-some-functions-static-in-mrbgems-mruby-metaprog-src-metaprog.c Make some functions static in `mrbgems/mruby-metaprog/src/metaprog.c`
-
KOBAYASHI Shuji authored
In case `obj2.==` is broken.
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Remove `mrb_alloca()` function
-
- 26 May, 2019 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
Move `mrb_mod_s_nesting()` to `mruby-metaprog` gem from the core
-
Yukihiro "Matz" Matsumoto authored
Add `Complex.rect`
-
KOBAYASHI Shuji authored
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Fix double rounded by negative index for `String#[]`
-
- 25 May, 2019 4 commits
-
-
dearblue authored
When I found this function, I expected it to behave the same as the `alloca(3)` function, but it is accually the `mrb_alloca()` function does not free the heap until the `mrb_close()` function is called. Also, even if it is deleted, it can be replaced with the combination of the `MRB_TT_DATA` object and the `mrb_gv_set()` function if it is sure necessary.
-
dearblue authored
- Before patched: ``` $ mruby -e 'p (-12..-1).map { |i| "Hello"[i] }.join' "HelloHello" ``` - After patched: ``` $ mruby -e 'p (-12..-1).map { |i| "Hello"[i] }.join' "Hello" ```
-
Yukihiro "Matz" Matsumoto authored
Name the return value of `mrb_range_beg_len()`
-
dearblue authored
-
- 24 May, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix the order of "expected" and "actual" in `mruby-time` test
-
KOBAYASHI Shuji authored
-
- 23 May, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Freeze `Rational` and `Complex` objects
-
KOBAYASHI Shuji authored
-
- 22 May, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
`Kernel#Rational` requires numerator
-
KOBAYASHI Shuji authored
-
- 21 May, 2019 12 commits
-
-
Yukihiro "Matz" Matsumoto authored
Read irep from buffers
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Or `Float` if `mrb_float` value is too big (or too small) to fit in `mrb_int`. The `_int_` in `mrb_int_value` means `Integral` module, which represents integer-like values in mruby.
-
Yukihiro "Matz" Matsumoto authored
It should raise an error.
-
Yukihiro "Matz" Matsumoto authored
This commit removes `Float` from `rational.c`.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Move `**`,`/`,`quo`,`div` and comparison methods to Integral from Numeric
-
KOBAYASHI Shuji authored
Having these methods in Numeric can get in the way of creating subclasses of Numeric because they only support Fixnum and Float.
-
Yukihiro "Matz" Matsumoto authored
Revert part of #4457
-
KOBAYASHI Shuji authored
-
- 20 May, 2019 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4457 from shuujii/change-the-order-of-expected-and-actual-in-mruby-rational-test Change the order of "expected" and "actual" in `mruby-rational` test
-
Yukihiro "Matz" Matsumoto authored
Drop dependency from `mruby-rational` to `mruby-object-ext`
-
KOBAYASHI Shuji authored
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
New functions: * mrb_num_plus(mrb, x, y) * mrb_num_minus(mrb, x, y) * num_num_mul(mrb, x, y)
-
- 19 May, 2019 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Remove "LINE" section reader
-