- 01 Sep, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
`Array#permutation` with a negative argument should not yield
-
KOBAYASHI Shuji authored
Before this patch: $ bin/mruby -e '[1].permutation(-1){|v| p v}' #=> [1] After this patch (same as Ruby): $ bin/mruby -e '[1].permutation(-1){|v| p v}' #=> no output
-
- 31 Aug, 2019 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Compile `if expr.nil?` to use `OP_JMPNIL` instead of calls.
-
Yukihiro "Matz" Matsumoto authored
Implement `mrb_immediate_p` macro for `MRB_WORD_BOXING`
-
KOBAYASHI Shuji authored
The default implementation of `mrb_immediate_p` uses `mrb_type`. However, in `MRB_WORD_BOXING`, `mrb_type` has many branches and is inefficient, so provide an implementation that does not use `mrb_type`.
-
- 30 Aug, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4677 from shuujii/array-permutation-combination-without-block-should-return-self `Array#(permutation|combination)` without block should return `self`
-
KOBAYASHI Shuji authored
-
- 29 Aug, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove unneeded `/src/y.tab.c` in `.gitignore`
-
KOBAYASHI Shuji authored
Currently, `y.tab.c` is generated to under the `build/` directory.
-
- 27 Aug, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix build of `mruby-random` on 32-bit mode
-
KOBAYASHI Shuji authored
-
- 26 Aug, 2019 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix `Array#sample` with `MRB_INT32`
-
KOBAYASHI Shuji authored
Array index became potentially negative because `uint32_t` is cast to `mrb_int`.
-
Yukihiro "Matz" Matsumoto authored
Fix wrong argument for `fprintf` in `mruby-bin-mrbc`
-
Yukihiro "Matz" Matsumoto authored
Remove unused `random.h`
-
KOBAYASHI Shuji authored
-
- 25 Aug, 2019 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fixes for Doxygen docs
-
David Siaw authored
-
David Siaw authored
-
Yukihiro "Matz" Matsumoto authored
Defer several build libraries loading until needed
-
KOBAYASHI Shuji authored
-
- 24 Aug, 2019 8 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix `Range#max` test (`TypeError` is raised) on 32-bit mode
-
Yukihiro "Matz" Matsumoto authored
Suppress warning by gcc with `-Wmaybe-uninitialized`
-
Yukihiro "Matz" Matsumoto authored
Create a symbolic link in the temporary directory; fix #4642
-
Yukihiro "Matz" Matsumoto authored
Remove unused constant in `Rakefile`; ref e312842a
-
KOBAYASHI Shuji authored
-
dearblue authored
-
KOBAYASHI Shuji authored
-
dearblue authored
Because the linker gives a warning on FreeBSD 12.0. ``` warning: mktemp() possibly used unsafely; consider using mkstemp() ```
-
- 23 Aug, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4662 from shuujii/fix-RBreak-exceeding-6-words-on-32-bit-mode-w-o-boxing-and-MRB_USE_FLOAT Fix `RBreak` exceeding 6 words on 32-bit mode w/o boxing and `MRB_USE_FLOAT`
-
KOBAYASHI Shuji authored
ref: https://github.com/mruby/mruby/pull/4483#issuecomment-498001736 In this configuration, `tt` of `RBreak::val` is set into `RBreak::flags`.
-
- 22 Aug, 2019 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
Refine processing for gem lock file
-
KOBAYASHI Shuji authored
- Defer YAML library and lock file loading until needed. - Don't write empty parts into lock file. - Extract code to read/write lock file to `MRuby::Lockfile`. - `MRuby::Lockfile.disable` disables the use of lock file.
-
Yukihiro "Matz" Matsumoto authored
make clean error workaround
-
yamori813 authored
-
- 21 Aug, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Take commit hash of mruby too
-
Yukihiro "Matz" Matsumoto authored
Separate repos directory and build directory
-