| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-03-22 | Use global defines for `mruby-bin-debugger` | KOBAYASHI Shuji | |
| 2021-03-22 | Use global defines for `Rational` and `Complex`. | Yukihiro "Matz" Matsumoto | |
| 2021-03-22 | build: provide global defines by `build.defines`. | Yukihiro "Matz" Matsumoto | |
| 2021-03-22 | codegen.c: fix integer size warnings. | Yukihiro "Matz" Matsumoto | |
| along with repeated calls of `strlen()`. | |||
| 2021-03-21 | command.rb: replace `%w()` to plain `[]`. | Yukihiro "Matz" Matsumoto | |
| 2021-03-21 | complex.c: define `Complex#==` in C. | Yukihiro "Matz" Matsumoto | |
| This change also fixes the error caused by `rational.c` that calls `mrb_complex_eq()`, which had been undefined. | |||
| 2021-03-21 | memsize.c: handle `MRB_TT_RATIONAL` and `MRB_TT_COMPLEX`. | Yukihiro "Matz" Matsumoto | |
| 2021-03-20 | rational.c: fix `MRB_TT_RATIONAL` and `MRB_TT_COMPLEX` confusion. | Yukihiro "Matz" Matsumoto | |
| 2021-03-20 | random.c: fixed seed underflow bug. | Yukihiro "Matz" Matsumoto | |
| `MRB_INT_MIN` does not have a corresponding positive value. | |||
| 2021-03-19 | complex.c: overhaul complex operators. | Yukihiro "Matz" Matsumoto | |
| - define `MRB_TT_COMPLEX` - change object structure (`struct RComplex`) - add memory management for `MRB_TT_COMPLEX` - avoid operator overloading as much as possible - as a result, performance improved a log - should work with and without `Rational` defined | |||
| 2021-03-19 | rational.c: overhaul rational operators. | Yukihiro "Matz" Matsumoto | |
| - define `MRB_TT_RATIONAL` - change object structure (`struct RRational`) - add memory management for `MRB_TT_RATIONAL` - avoid operator overloading as much as possible - implement division overloading in C - as a result, performance improved a lot | |||
| 2021-03-19 | numeric.c: avoid integer overflow; close #5384 | Yukihiro "Matz" Matsumoto | |
| Since `mruby` does not have `Bignum`, `Float#divmod` could overflow, so it will return `Float` values when the divided value does not fit in `mrb_int`. This behavior will be changed when `Bignum` is introduced to `mruby` in the future. | |||
| 2021-03-19 | `Float#divmod` with zero should cause `ZeroDivisionError`; #5384 | Yukihiro "Matz" Matsumoto | |
| 2021-03-18 | Merge branch 'dearblue-break-in-conf' | Yukihiro "Matz" Matsumoto | |
| 2021-03-18 | lib/mruby/build.rb: refactoring `ensure` clause; ref #5381 | Yukihiro "Matz" Matsumoto | |
| 2021-03-18 | Merge branch 'break-in-conf' of https://github.com/dearblue/mruby into ↵ | Yukihiro "Matz" Matsumoto | |
| dearblue-break-in-conf | |||
| 2021-03-18 | Merge pull request #5383 from shuujii/floatNAN-0-should-be-FloatNAN | Yukihiro "Matz" Matsumoto | |
| `Float::NAN/0` should be `Float::NAN`; ref a0b3378b3 | |||
| 2021-03-18 | `Float::NAN/0` should be `Float::NAN`; ref a0b3378b3 | KOBAYASHI Shuji | |
| #### Before this patch: ```console $ bin/mruby -e 'p(Float::NAN/0)' Infinity ``` #### After this patch (same as Ruby): ```console $ bin/mruby -e 'p(Float::NAN/0)' NaN ``` | |||
| 2021-03-18 | numeric.c: float zero division should be infinity with sign kept; fix #5382 | Yukihiro "Matz" Matsumoto | |
| 2021-03-17 | Allow `break` in `build_config`. | dearblue | |
| If I break out of a block given to `MRuby::Build.new` with `break` or `throw`, I will get a seemingly inexplicable error because the `presym`-related initialization is not done. ```console % cat build_config1.rb MRuby::Build.new do toolchain break end % rake CONFIG=build_config1.rb rake aborted! external mrbc or mruby-bin-mrbc gem in current('host') or 'host' build is required /var/tmp/mruby/lib/mruby/build.rb:332:in `mrbcfile' /var/tmp/mruby/tasks/mrblib.rake:9:in `block in <top (required)>' /var/tmp/mruby/lib/mruby/build.rb:18:in `instance_eval' /var/tmp/mruby/lib/mruby/build.rb:18:in `block in each_target' /var/tmp/mruby/lib/mruby/build.rb:17:in `each' /var/tmp/mruby/lib/mruby/build.rb:17:in `each_target' /var/tmp/mruby/tasks/mrblib.rake:1:in `<top (required)>' /var/tmp/mruby/Rakefile:27:in `load' /var/tmp/mruby/Rakefile:27:in `<top (required)>' (See full trace by running task with --trace) ``` If a non-exceptional global jump occurs, it can be initialized by `ensure` to solve this problem. | |||
| 2021-03-17 | hash.c: `Hash#shift` to return `nil` when a hash is empty. | Yukihiro "Matz" Matsumoto | |
| It used to be return the default value if available, but it should ignore the default value for behavior consistency. CRuby will adopt this behavior too in the future. [ruby-bugs:16908] | |||
| 2021-03-17 | range.c: fixed a begin-less ranges issue. | Yukihiro "Matz" Matsumoto | |
| 2021-03-16 | AUTHORS: add the commit hash as of we counted. | Yukihiro "Matz" Matsumoto | |
| 2021-03-15 | Merge pull request #5379 from shuujii/fix-typo-in-AUTHORS | Yukihiro "Matz" Matsumoto | |
| Fix typo in `AUTHORS` [ci skip] | |||
| 2021-03-15 | Fix typo in `AUTHORS` [ci skip] | KOBAYASHI Shuji | |
| 2021-03-15 | AUTHOR: fixed typos. | Yukihiro "Matz" Matsumoto | |
| 2021-03-15 | AUTHORS: add 2 new GitHub accounts. | Yukihiro "Matz" Matsumoto | |
| 2021-03-15 | AUTHORS: re-renamed from `AUTHOR.md`. | Yukihiro "Matz" Matsumoto | |
| 2021-03-15 | AUTHORS.md: add GitHub accounts if available. | Yukihiro "Matz" Matsumoto | |
| 2021-03-14 | Remove mail addresses from `AUTHORS.md`. | Yukihiro "Matz" Matsumoto | |
| 2021-03-14 | time.c: calendar clock should use `CLOCK_REALTIME`; 5e95f11 | Yukihiro "Matz" Matsumoto | |
| The issue was reported by @shuujii | |||
| 2021-03-13 | codegen.c: fix memory leak from `new_litbn()`. | Yukihiro "Matz" Matsumoto | |
| 2021-03-12 | codegen.c: need to preserve `neg` info. | Yukihiro "Matz" Matsumoto | |
| 2021-03-12 | codegen.c: fixed a typo. | Yukihiro "Matz" Matsumoto | |
| 2021-03-12 | codegen.c: avoid integer comparison of different sign. | Yukihiro "Matz" Matsumoto | |
| 2021-03-12 | codegen.c: no integer overflow error in `codegen`; close #5376 | Yukihiro "Matz" Matsumoto | |
| Add new pool value type `IREP_TT_BIGINT` and generate integer overflow error in the VM. In the future, `mruby` will support `Bignum` for integers bigger than `mrb_int` (probably using `mpz`). | |||
| 2021-03-11 | Rename `AUTHORS` to `AUTHORS.md`. | Yukihiro "Matz" Matsumoto | |
| 2021-03-11 | AUTHORS: update according to `git log` commit entries. | Yukihiro "Matz" Matsumoto | |
| 2021-03-10 | Use relative path for files under `doc` directory [ci skip] | Yukihiro "Matz" Matsumoto | |
| 2021-03-09 | Merge pull request #5375 from artichoke/mrb_cmp-presym-op-maro | Yukihiro "Matz" Matsumoto | |
| bug(presym): Fix mrb_cmp declaration of <=> symbol for funcall | |||
| 2021-03-09 | Merge pull request #5378 from jbampton/update-node-version | Yukihiro "Matz" Matsumoto | |
| chore: upgrade markdownlint GitHub Action node version to 14 | |||
| 2021-03-09 | Merge pull request #5377 from jbampton/fix-grammar | Yukihiro "Matz" Matsumoto | |
| chore: fix grammar | |||
| 2021-03-09 | chore: upgrade markdownlint GitHub Action node version to 14 | John Bampton | |
| Upgrade to markdownlint-cli version 0.27.1 | |||
| 2021-03-09 | chore: fix grammar | John Bampton | |
| 2021-03-08 | time.c: fix errors on Windows and macOS; ref #5354 | Yukihiro "Matz" Matsumoto | |
| `gmtime_r` detection logic was too strict. | |||
| 2021-03-07 | bug(presym): Fix mrb_cmp declaration of <=> symbol for funcall | Ryan Lopopolo | |
| 2021-03-08 | ISO C99 doesn't support unnamed unions; fix #5354 | Yukihiro "Matz" Matsumoto | |
| 2021-03-07 | Merge pull request #5374 from jbampton/fix-spelling | Yukihiro "Matz" Matsumoto | |
| chore: fix spelling | |||
| 2021-03-07 | chore: fix spelling | John Bampton | |
| 2021-03-05 | Merge pull request #5373 from mruby/stable | Yukihiro "Matz" Matsumoto | |
| Merge mruby 3.0.0 | |||
