| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-09-13 | Remove unnecessary files from `mruby-{io,pack,socket}`. | Yukihiro "Matz" Matsumoto | |
| 2019-09-12 | Merge pull request #4703 from shuujii/refine-tasks-toolchains-gcc-clang.rake | Yukihiro "Matz" Matsumoto | |
| Refine `tasks/toolchains/(gcc|clang).rake` | |||
| 2019-09-12 | Refine `tasks/toolchains/(gcc|clang).rake` | KOBAYASHI Shuji | |
| - Make sure to specify `-std=gnu99` for C compiler flag. - Make sure to specify `-Wzero-length-array` for C/C++ compiler flag (Clang). - Extract similar codes. | |||
| 2019-09-12 | Remove `$/` from mruby implementation. | Yukihiro "Matz" Matsumoto | |
| 1. `$/` and other Perl-ish global variables are not defined in ISO. 2. The current Ruby policy do not encourage those variables. 3. Those variables has global effect and can cause troubles. | |||
| 2019-09-12 | Merge pull request #4527 from lopopolo/string-each-line-paragraph-mode | Yukihiro "Matz" Matsumoto | |
| Add paragraph mode to String#each_line in mrblib | |||
| 2019-09-12 | Use `mrb_str_inspect` instead of `mrb_str_dup`; fix #4678 | Yukihiro "Matz" Matsumoto | |
| 2019-09-12 | Removed unnecessary files from `mruby-sleep`; #4702 | Yukihiro "Matz" Matsumoto | |
| 2019-09-11 | Remove `Rakefile` from `mruby-sleep` gem; fix #4702 | Yukihiro "Matz" Matsumoto | |
| The `Rakefile` was a leftover from the time it was an independent gem. | |||
| 2019-09-11 | Move tests related to `getbyte`, `setbyte`, byteslice` to core. | Yukihiro "Matz" Matsumoto | |
| 2019-09-11 | Fixed `length` for IO should be in bytes, not in characters; #4696 | Yukihiro "Matz" Matsumoto | |
| E.g. `io.read(5)` should read 5 byte string, not 5 characters. | |||
| 2019-09-11 | Move `String#{getbyte,setbyte,byteslice}` to the core; #4696 | Yukihiro "Matz" Matsumoto | |
| Unlike CRuby, there's no way to process strings byte-wise by core methods because there's no per string encoding in mruby, so that we moved 3 byte-wise operation methods from `mruby-string-ext` gem. | |||
| 2019-09-11 | Merge pull request #4701 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/drop-test-dependency-from-mruby-string-ext-to-mruby-enumerator Drop test dependency from `mruby-string-ext` to `mruby-enumerator` | |||
| 2019-09-11 | Drop test dependency from `mruby-string-ext` to `mruby-enumerator` | KOBAYASHI Shuji | |
| 2019-09-10 | Merge pull request #4700 from shuujii/refine-documentation-for-C99-compliance | Yukihiro "Matz" Matsumoto | |
| Refine documentation for C99 compliance; ref #4685 [ci skip] | |||
| 2019-09-10 | Refine documentation for C99 compliance; ref #4685 [ci skip] | KOBAYASHI Shuji | |
| The refinement was based on comment from @matz. | |||
| 2019-09-10 | Merge pull request #4699 from takkaw/mirb_lv_under_score | Yukihiro "Matz" Matsumoto | |
| add special local variable _ in mirb | |||
| 2019-09-09 | change _ variable in mirb to be enable by default | takkaw | |
| 2019-09-09 | Fix `mod.constants` not to have duplicate constant names; #4698 | Yukihiro "Matz" Matsumoto | |
| The fix was based on PR from @dearblue | |||
| 2019-09-09 | Remove duplication of `BasicObject` constant; fix #4698 | Yukihiro "Matz" Matsumoto | |
| 2019-09-09 | Merge pull request #4697 from shuujii/fix-Class.new-argument-specs | Yukihiro "Matz" Matsumoto | |
| Fix `Class.new` argument specs | |||
| 2019-09-09 | add special local variable _ in mirb | takkaw | |
| 2019-09-09 | Fix `Class.new` argument specs | KOBAYASHI Shuji | |
| 2019-09-08 | Merge pull request #4695 from dearblue/promote-to-int | Yukihiro "Matz" Matsumoto | |
| Fix `mrb_vformat()` crashes with `MRB_INT16` | |||
| 2019-09-08 | Merge pull request #4694 from shuujii/optimize-mrb_bool-with-MRB_WORD_BOXING | Yukihiro "Matz" Matsumoto | |
| Optimize `mrb_bool()` with `MRB_WORD_BOXING` | |||
| 2019-09-08 | Fix `mrb_vformat()` crashes with `MRB_INT16` | dearblue | |
| If `MRB_INT16` is specified, the variable length argument `mrb_int` is converted to `int`. | |||
| 2019-09-08 | Optimize `mrb_bool()` with `MRB_WORD_BOXING` | KOBAYASHI Shuji | |
| 2019-09-07 | Revert part of #4225 | Yukihiro "Matz" Matsumoto | |
| 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 | |||
| 2019-09-07 | Merge pull request #4693 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/increase-symbol-bit-size-on-32-bit-mode-with-MRB_WORD_BOXING Increase symbol bit size on 32-bit mode with `MRB_WORD_BOXING` | |||
| 2019-09-07 | Increase symbol bit size on 32-bit mode with `MRB_WORD_BOXING` | KOBAYASHI Shuji | |
| This change increases the max length of lower inline symbols to 5 bytes. | |||
| 2019-09-06 | Merge pull request #4692 from shuujii/avoid-bit-fields-in-mrb_value | Yukihiro "Matz" Matsumoto | |
| Avoid bit fields in `mrb_value`; ref b2c3d88f | |||
| 2019-09-06 | Avoid bit fields in `mrb_value`; ref b2c3d88f | KOBAYASHI Shuji | |
| 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. | |||
| 2019-09-05 | Merge pull request #4691 from ↵ | Yukihiro "Matz" Matsumoto | |
| 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 | |||
| 2019-09-05 | Merge pull request #4690 from takumakume/add_assert_not_nil | Yukihiro "Matz" Matsumoto | |
| Add `assert_not_nil` method | |||
| 2019-09-05 | add assert_not_nil method | takumakume | |
| 2019-09-05 | Fix `Range#max` test (`TypeError` is raised) on 32-bit mode with word boxing | KOBAYASHI Shuji | |
| 2019-09-05 | Merge pull request #4687 from shuujii/fix-argument-specs-to-BasicObject | Yukihiro "Matz" Matsumoto | |
| Fix argument specs to `BasicObject` | |||
| 2019-09-04 | Fix argument specs to `BasicObject` | KOBAYASHI Shuji | |
| 2019-09-04 | Merge pull request #4686 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/add-to-doc-limitations.md-about-nil-redefinition Add to `doc/limitations.md` about `nil?` redefinition; ref 4996709 [ci skip] | |||
| 2019-09-03 | Add to `doc/limitations.md` about `nil?` redefinition; ref 4996709 [ci skip] | KOBAYASHI Shuji | |
| 2019-09-02 | Merge pull request #4683 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/enumeratorChain-rewind-shouldnt-rewind-elements-arent-iterated `Enumerator::Chain#rewind` shouldn't rewind elements aren't iterated | |||
| 2019-09-02 | `Enumerator::Chain#rewind` shouldn't rewind elements aren't iterated | KOBAYASHI Shuji | |
| ### 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 ``` | |||
| 2019-09-02 | Small refactoring in `fiber.c`. | Yukihiro "Matz" Matsumoto | |
| 2019-09-02 | Fix an error in refactoring; fix #4682 | Yukihiro "Matz" Matsumoto | |
| 2019-09-01 | Merge pull request #4681 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/array-permutation-with-a-negative-argument-should-not-yield `Array#permutation` with a negative argument should not yield | |||
| 2019-09-01 | `Array#permutation` with a negative argument should not yield | KOBAYASHI Shuji | |
| 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 | |||
| 2019-08-31 | Fix `mrb_immediate_p(MRB_TT_FREE)` to return `false`; ref #4679 | Yukihiro "Matz" Matsumoto | |
| 2019-08-31 | Refactor #4662 with different names. | Yukihiro "Matz" Matsumoto | |
| 2019-08-31 | Skip `nil?` method call in `if` conditionals. | Yukihiro "Matz" Matsumoto | |
| Compile `if expr.nil?` to use `OP_JMPNIL` instead of calls. | |||
| 2019-08-31 | Merge pull request #4679 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/implement-mrb_immediate_p-macro-for-MRB_WORD_BOXING Implement `mrb_immediate_p` macro for `MRB_WORD_BOXING` | |||
| 2019-08-31 | Implement `mrb_immediate_p` macro for `MRB_WORD_BOXING` | KOBAYASHI Shuji | |
| 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`. | |||
