| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-07-29 | Merge pull request #4407 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/add-assert_raise_with_message-and-assert_raise_with_message_pattern Add `assert_raise_with_message` and `assert_raise_with_message_pattern` | |||
| 2019-07-29 | Resolved conflicts in #4320 | Yukihiro "Matz" Matsumoto | |
| 2019-07-28 | Merge pull request #4602 from shuujii/remove-EnumeratorChain-initialize_copy | Yukihiro "Matz" Matsumoto | |
| Remove `Enumerator::Chain#initialize_copy` | |||
| 2019-07-28 | Merge pull request #4603 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/define-plus-to-Enumerator-and-Enumerator-Chain-instead-of-Enumerable Define `#+` to `Enumerator` and `Enumerator#Chain` instead of `Enumerable` | |||
| 2019-07-28 | Define `#+` to `Enumerator` and `Enumerator#Chain` instead of `Enumerable` | KOBAYASHI Shuji | |
| 2019-07-28 | Remove `Enumerator::Chain#initialize_copy` | KOBAYASHI Shuji | |
| I think `Enumerator::Chain#initialize_copy` is unnecessary because CRuby doesn't clone elements. | |||
| 2019-07-28 | Merge pull request #4601 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/drop-dependency-from-mruby-enumerator-to-mruby-enum-ext Drop dependency from `mruby-enumerator` to `mruby-enum-ext` | |||
| 2019-07-28 | Drop dependency from `mruby-enumerator` to `mruby-enum-ext` | KOBAYASHI Shuji | |
| 2019-07-28 | Merge pull request #4600 from dearblue/time-precision | Yukihiro "Matz" Matsumoto | |
| Fix the lack of precision for `Time`; ref d74355061 | |||
| 2019-07-27 | Merge pull request #4599 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/drop-dependency-from-mruby-enum-chain-to-mruby-enum-ext Drop dependency from `mruby-enum-chain` to `mruby-enum-ext` | |||
| 2019-07-27 | Fix the lack of precision for `Time`; ref d74355061 | dearblue | |
| - `Time.local` and `Time.utc` are able to use with `MRB_INT16 + MRB_WITHOUT_FLOAT`. - `time_t` is converted directly from the Ruby object. - `time + sec` and` time - sec` are not affected by the precision of `mrb_float`. Similarly, calculations are possible with `MRB_INT16 + MRB_WITHOUT_FLOAT`. | |||
| 2019-07-27 | Drop dependency from `mruby-enum-chain` to `mruby-enum-ext` | KOBAYASHI Shuji | |
| 2019-07-27 | Merge pull request #4598 from dearblue/time-without-float | Yukihiro "Matz" Matsumoto | |
| Fix mruby-time with `MRB_WITHOUT_FLOAT`; ref d74355061 | |||
| 2019-07-27 | Fix line number bug; fix #4513 | Yukihiro "Matz" Matsumoto | |
| Also fix the misfeature introduced in 23783a4, that ignores newlines between method chains. | |||
| 2019-07-27 | Fix mruby-time with `MRB_WITHOUT_FLOAT`; ref d74355061 | dearblue | |
| 2019-07-27 | Merge pull request #4597 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/drop-dependency-from-mruby-array-ext-to-mruby-enum-ext Drop dependency from `mruby-array-ext` to `mruby-enum-ext` | |||
| 2019-07-27 | Merge pull request #4594 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/move-NilClass-to_h-to-mruby-object-ext-from-mruby-enum-ext Move `NilClass#to_h` to `mruby-object-ext` from `mruby-enum-ext` | |||
| 2019-07-26 | Drop dependency from `mruby-array-ext` to `mruby-enum-ext` | KOBAYASHI Shuji | |
| 2019-07-26 | Merge pull request #4595 from shuujii/refine-Array-permutation-combination-test | Yukihiro "Matz" Matsumoto | |
| Refine `Array#(permutation|combination) test` | |||
| 2019-07-25 | Refine `Array#(permutation|combination) test` | KOBAYASHI Shuji | |
| - No guarantees about the order in which the permutations/combinations are yielded. - Drop dependency on `Enumerator`. | |||
| 2019-07-24 | Move `NilClass#to_h` to `mruby-object-ext` from `mruby-enum-ext` | KOBAYASHI Shuji | |
| 2019-07-24 | Add `return` to silence a warning; ref #4593 | Yukihiro "Matz" Matsumoto | |
| 2019-07-24 | Use `MRB_TT_ISTRUCT` for `Random` to reduce memory. | Yukihiro "Matz" Matsumoto | |
| When the size of Xorshift128 seed (`sizeof(uint32)*4`) is bigger than ISTRUCT_DATA_SIZE, `Random` uses Xorshift96 instead. | |||
| 2019-07-24 | Call `MRB_SET_INSTANCE_TT` for `Complex` and `Rational`. | Yukihiro "Matz" Matsumoto | |
| 2019-07-23 | Merge pull request #4593 from shuujii/add-encoding-argument-to-Integral-chr | Yukihiro "Matz" Matsumoto | |
| Add encoding argument to `Integral#chr` | |||
| 2019-07-23 | Add encoding argument to `Integral#chr` | KOBAYASHI Shuji | |
| Currently, `Integral#chr` in mruby changes behavior by `MRB_UTF8_STRING` setting. before this patch: $ bin/mruby -e 'p 171.chr' #=> "\xab" (`MRB_UTF8_STRING` is disabled) $ bin/mruby -e 'p 171.chr' #=> "«" (`MRB_UTF8_STRING` is enabled) This behavior is incompatible with Ruby, and a little inconvenient because it can't be interpreted as ASCII-8BIT with `MRB_UTF8_STRING`, I think. So add encoding argument according to Ruby. after this patch: $ bin/mruby -e 'p 171.chr' #=> "\xab" $ bin/mruby -e 'p 171.chr("ASCII-8BIT")' #=> "\xab" $ bin/mruby -e 'p 171.chr("UTF-8")' #=> "«" Allow only `String` for encoding because mruby doesn't have `Encoding` class, and `"ASCII-8BIT"` (`"BINARY"`) and `"UTF-8"` (only with `MRB_UTF8_STRING`) are valid value (default is `"ASCII-8BIT"`). | |||
| 2019-07-22 | Merge pull request #4591 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/integrate-Integral-chr-Fixnum-chr-to-mruby-string-ext Integrate `Integral#chr` (`Fixnum#chr`) to `mruby-string-ext` | |||
| 2019-07-22 | Merge pull request #4590 from shuujii/fix-Module-dup-to-frozen-module | Yukihiro "Matz" Matsumoto | |
| Fix `Module#dup` to frozen module | |||
| 2019-07-22 | Merge pull request #4592 from shuujii/set-MRB_STR_ASCII-flag-in-String-inspect | Yukihiro "Matz" Matsumoto | |
| Set `MRB_STR_ASCII` flag in `String#inspect` | |||
| 2019-07-22 | Fix `mruby-time` to work with `MRB_WITHOUT_FLOAT`; ref #4576 | Yukihiro "Matz" Matsumoto | |
| As a side effect, `mrb_time_at()` now takes `mrb_int` instead of `double` as time arguments. | |||
| 2019-07-22 | Improve conflict error message of `Time` and `Math`; ref #4576 | Yukihiro "Matz" Matsumoto | |
| 2019-07-22 | Check conflicts with `Complex` and `MRB_WITHOUT_FLOAT`; ref #4576 | Yukihiro "Matz" Matsumoto | |
| The Complex class needs `mrb_float` so that it does not work with `MRB_WITHOUT_FLOAT` anyway. | |||
| 2019-07-22 | Set `MRB_STR_ASCII` flag in `String#inspect` | KOBAYASHI Shuji | |
| `String#inspect` can set `MRB_STR_ASCII` flag to receiver and return value because it checks character byte length. | |||
| 2019-07-22 | Switch random generator from Mersenne Twister to Xorshit128. | Yukihiro "Matz" Matsumoto | |
| Now `rand` can be used with `MRB_WITHOUT_FLOAT`; ref #4576 | |||
| 2019-07-22 | No rounding needed if 'ndigits` is bigger than `DBL_DIG+2`; fix #4566 | Yukihiro "Matz" Matsumoto | |
| 2019-07-22 | Fix `FIXABLE_FLOAT()` on `MRB_INT64`; ref #4566 | Yukihiro "Matz" Matsumoto | |
| Normal `TYPED_FIXABLE(f,mrb_float)` does not work on 64bit int from casting problems. The new approach works well, but assumes two's complement and IEEE-754 floating point numbers. | |||
| 2019-07-21 | Integrate `Integral#chr` (`Fixnum#chr`) to `mruby-string-ext` | KOBAYASHI Shuji | |
| Because they're defined in both `mruby-string-ext` and `mruby-numeric-ext` (they seem more natural to define in N, but `mruby-string-ext` depends on `Integral#chr`). | |||
| 2019-07-20 | Fix `Module#dup` to frozen module | KOBAYASHI Shuji | |
| Before this patch: $ bin/mruby -e 'p Module.new.freeze.dup.frozen?' #=> true After this patch (same as Ruby): $ bin/mruby -e 'p Module.new.freeze.dup.frozen?' #=> false | |||
| 2019-07-20 | Merge pull request #4589 from shuujii/refine-String-chr-test | Yukihiro "Matz" Matsumoto | |
| Refine `String#chr` test and separate `Fixnum#chr` test | |||
| 2019-07-19 | Refine `String#chr` test and separate `Fixnum#chr` test | KOBAYASHI Shuji | |
| 2019-07-18 | Merge pull request #4575 from dearblue/attr-use-stack | Yukihiro "Matz" Matsumoto | |
| Use stack memory for small name of attr accessors | |||
| 2019-07-18 | Merge pull request #4588 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/fix-String-times-test-with-MRB_WITHOUT_FLOAT Fix `String#*` test with `MRB_WITHOUT_FLOAT` | |||
| 2019-07-18 | Fix `String#*` test with `MRB_WITHOUT_FLOAT` | KOBAYASHI Shuji | |
| 2019-07-18 | Clear `env` before top-level execution; fix #4581 | Yukihiro "Matz" Matsumoto | |
| 2019-07-18 | Avoid making top-level `env` in initialization code; ref #4581 | Yukihiro "Matz" Matsumoto | |
| 2019-07-17 | Merge pull request #4587 from shuujii/fix-String-aref-test | Yukihiro "Matz" Matsumoto | |
| Fix `String#[]` test | |||
| 2019-07-17 | Merge pull request #4585 from shuujii/fix-range-min-with-mruby-range-ext | Yukihiro "Matz" Matsumoto | |
| Fix `(fixnum_value ... float_value).min` with `mruby-range-ext` | |||
| 2019-07-17 | Merge branch 'master' into fix-range-min-with-mruby-range-ext | Yukihiro "Matz" Matsumoto | |
| 2019-07-17 | Merge pull request #4586 from shuujii/revert-4300 | Yukihiro "Matz" Matsumoto | |
| Revert #4300 | |||
| 2019-07-17 | Merge pull request #4584 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/allow-mruby-range-ext-to-work-with-MRB_WITHOUT_FLOAT Allow `mruby-range-ext` to work with `MRB_WITHOUT_FLOAT`; ref 2add8641 | |||
