- 07 Sep, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Since in mruby, Integer and Float interchange frequently (mostly on overflow), so adding explicit `.0` can cause problems sometimes. For example: https://github.com/mattn/mruby-json/pull/40 https://github.com/pepabo/mruby-msd/pull/13 https://github.com/mattn/mruby-json/pull/42
-
Yukihiro "Matz" Matsumoto authored
Increase symbol bit size on 32-bit mode with `MRB_WORD_BOXING`
-
KOBAYASHI Shuji authored
This change increases the max length of lower inline symbols to 5 bytes.
-
- 06 Sep, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Avoid bit fields in `mrb_value`; ref b2c3d88f
-
KOBAYASHI Shuji authored
The changes at b2c3d88f were inappropriate because the memory layout of bit fields are implementation defined. Therefor, I fixed it not to use bit fields.
-
- 05 Sep, 2019 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4691 from shuujii/fix-Range-max-test-TypeError-is-raised-on-32-bit-mode-with-word-boxing Fix `Range#max` test (`TypeError` is raised) on 32-bit mode with word boxing
-
Yukihiro "Matz" Matsumoto authored
Add `assert_not_nil` method
-
takumakume authored
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Fix argument specs to `BasicObject`
-
- 04 Sep, 2019 1 commit
-
-
KOBAYASHI Shuji authored
-
- 03 Sep, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Add to `doc/limitations.md` about `nil?` redefinition; ref 49967097 [ci skip]
-
KOBAYASHI Shuji authored
-
- 02 Sep, 2019 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4683 from shuujii/enumeratorChain-rewind-shouldnt-rewind-elements-arent-iterated `Enumerator::Chain#rewind` shouldn't rewind elements aren't iterated
-
- 01 Sep, 2019 5 commits
-
-
KOBAYASHI Shuji authored
### Example: ```ruby # example.rb e = [1] def e.rewind; p :r end c = e.chain(e) c.each{break c}.rewind ``` #### Before this patch: ```terminal $ bin/mruby example.rb :r :r ``` #### After this patch (same as Ruby): ```terminal $ bin/mruby example.rb :r ```
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
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
-