| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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-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 | 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 | 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 | Switch random generator from Mersenne Twister to Xorshit128. | Yukihiro "Matz" Matsumoto | |
| Now `rand` can be used with `MRB_WITHOUT_FLOAT`; ref #4576 | |||
| 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-19 | Refine `String#chr` test and separate `Fixnum#chr` test | KOBAYASHI Shuji | |
| 2019-07-18 | Avoid making top-level `env` in initialization code; ref #4581 | Yukihiro "Matz" Matsumoto | |
| 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 | Revert #4300 | KOBAYASHI Shuji | |
| Originally, it was not necessary to change. I made mistake. | |||
| 2019-07-17 | Fix `(fixnum_value ... float_value).min` with `mruby-range-ext` | KOBAYASHI Shuji | |
| Before this patch: $ bin/mruby -e 'p (2...4.0).min' #=> TypeError After this patch (same as CRuby and without `mruby-range-ext`): $ bin/mruby -e 'p (2...4.0).min' #=> 2 | |||
| 2019-07-17 | Allow `mruby-range-ext` to work with `MRB_WITHOUT_FLOAT`; ref 2add8641 | KOBAYASHI Shuji | |
| 2019-07-17 | Allow `mruby-range-ext` to work with `MRB_WITHOUT_FLOAT`; ref #4576 | Yukihiro "Matz" Matsumoto | |
| 2019-07-17 | Merge branch 'master' into i110/inspect-recursion | Yukihiro "Matz" Matsumoto | |
| 2019-07-16 | Merge pull request #4576 from dearblue/error-configuration | Yukihiro "Matz" Matsumoto | |
| Error needed/conflicts configuration | |||
| 2019-07-15 | Unify type of line number to `uint16_t` | KOBAYASHI Shuji | |
| 2019-07-14 | Fix empty array refers; ref #4556 | dearblue | |
| For example, `"".unpack("")` evaluates to `[]`. | |||
| 2019-07-14 | Fix pack/unpack for base64; ref #4556 | dearblue | |
| The pack/unpack "m" directive should be treated as a length rather than an element count. | |||
| 2019-07-15 | Add pack/unpack test for base64 | dearblue | |
| 2019-07-14 | Error needed/conflicts configuration | dearblue | |
| The purpose is to clarify the error if there is a needed/conflicts configuration at compile time. | |||
| 2019-07-13 | Add `mruby-method` gem to `default.gembox` [ci skip] | KOBAYASHI Shuji | |
| 2019-07-13 | Resolve ambiguous argument warning. | Yukihiro "Matz" Matsumoto | |
| 2019-07-09 | Fix Range#min fast path with exclusive range | Ryan Lopopolo | |
| 2019-07-09 | Add a fast path for Float and Fixnum ranges for Range#max and Range#min | Ryan Lopopolo | |
| If no block is given and the Range has Fixnum or Float endpoints, do not iterate with each and instead compare the endpoints directly. This implementation passes all of the applicable specs from Ruby Spec. | |||
| 2019-07-09 | Add Range#max and Range#min tests from Ruby Spec | Ryan Lopopolo | |
| 2019-07-08 | Add tests for String Ranges | Ryan Lopopolo | |
| Range#each depends on String#upto which is implemented in mruby-string-ext which is why these tests live there. | |||
| 2019-06-29 | Use nested `assert` | dearblue | |
| 2019-06-29 | Use a normal method instead of a lambda | dearblue | |
| Ref commit 35319bed01d58c785f73ce03e67d4e58be30f4b5 | |||
| 2019-06-28 | Use `__ENCODING__` in tests | KOBAYASHI Shuji | |
| It cannot be used for `String#size` test if judging whether or not `MRB_UTF8_STRING` is defined by result of `String#size`. | |||
| 2019-06-27 | Add modification tests for immediate value | KOBAYASHI Shuji | |
| 2019-06-26 | Merge pull request #4532 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/fix-String-byteslice-with-MRB_UTF8_STRING-and-some-edge-cases Fix `String#byteslice` with `MRB_UTF8_STRING` and some edge cases | |||
| 2019-06-26 | Merge pull request #4493 from dearblue/fix-rational-new | Yukihiro "Matz" Matsumoto | |
| Fix rational new on 32 bits mode | |||
| 2019-06-26 | Merge pull request #4492 from dearblue/fix-complex-new | Yukihiro "Matz" Matsumoto | |
| Fix complex new on 32 bits mode | |||
| 2019-06-25 | Fix `String#byteslice` with `MRB_UTF8_STRING` and some edge cases | KOBAYASHI Shuji | |
| Example: $ bin/mruby -e ' p "あa".byteslice(1) p "bar".byteslice(3) p "bar".byteslice(4..0) ' Before this patch: "a" "" RangeError (4..0 out of range) After this patch (same as Ruby): "\x81" nil nil | |||
| 2019-06-25 | Merge pull request #4528 from shuujii/fix-argument-specs-to-Array | Yukihiro "Matz" Matsumoto | |
| Fix argument specs to `Array` | |||
| 2019-06-25 | Fixed a bug caused by `to_s` that returns `nil`; fix 4504 | Yukihiro "Matz" Matsumoto | |
| 2019-06-25 | Renamed `stacked` to `onstack`; ref #4523 | Yukihiro "Matz" Matsumoto | |
| 2019-06-23 | Fix argument specs to `Array` | KOBAYASHI Shuji | |
