summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2021-06-08string.c: make `mrb_str_len_{inum,dbl}()` static.Yukihiro "Matz" Matsumoto
2021-06-08string.c: remove two unused functions.Yukihiro "Matz" Matsumoto
* `mrb_cstr_to_inum()` * `mrb_cstr_to_dbl()`
2021-06-08string.c: add `base>36` check to `String#to_i`.Yukihiro "Matz" Matsumoto
2021-06-07sprintf.c: fix `mrb_int` and `int` mixture errors.Yukihiro "Matz" Matsumoto
2021-06-07pack.c: fix 'void*` to `char*` assignment.Yukihiro "Matz" Matsumoto
2021-06-07pack.c: add `default` to `switch` statement to silence warnings.Yukihiro "Matz" Matsumoto
2021-06-07pack.c: support `M` specifier (quoted-printable).Yukihiro "Matz" Matsumoto
2021-06-07test/pack.c: reorganize test suits.Yukihiro "Matz" Matsumoto
2021-06-07pack.c: raise exception for unsupported specifiers.Yukihiro "Matz" Matsumoto
2021-06-06pack.c: check overflow before calling `pack_x`.Yukihiro "Matz" Matsumoto
2021-06-06pack.c: check overflow before reading count.Yukihiro "Matz" Matsumoto
2021-06-06pack.c: failed to detect overflow when `ch` is zero in `read_tmpl`.Yukihiro "Matz" Matsumoto
2021-06-05pack.c: hold `enum` values in `enum` variables not `int`.Yukihiro "Matz" Matsumoto
2021-06-05codedump.c: fix a compiler condition bug with `MRB_NO_FLOAT`.Yukihiro "Matz" Matsumoto
2021-06-05ops.h: fix term consistency. `Lit` -> `Pool`.Yukihiro "Matz" Matsumoto
2021-06-04Merge branch 'mirichi-test'Yukihiro "Matz" Matsumoto
2021-06-04add block argument test #2144mirichi
2021-06-04Merge branch 'test' of https://github.com/mirichi/mruby into mirichi-testYukihiro "Matz" Matsumoto
2021-06-04Merge pull request #5469 from ↵Yukihiro "Matz" Matsumoto
mruby/dependabot/github_actions/github/super-linter-4.1.0 build(deps): bump github/super-linter from 4.0.2 to 4.1.0
2021-06-04build(deps): bump github/super-linter from 4.0.2 to 4.1.0dependabot[bot]
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.0.2 to 4.1.0. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.0.2...v4.1.0) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2021-06-03add a few regressions test from #2313Yukihiro "Matz" Matsumoto
The code was contributed from Carson McDonald (@carsonmcdonald)
2021-06-02vm.c: unify `JUMP` instructions in `OP_SEND`.Yukihiro "Matz" Matsumoto
2021-06-01cdump.c: rename `dump_` prefix to `cdump` for static functions.Yukihiro "Matz" Matsumoto
2021-06-01cdump.c: separate irep dump in C feature.Yukihiro "Matz" Matsumoto
2021-05-31Merge pull request #5464 from shuujii/fix-typo-in-lib-mruby-presym.rbYukihiro "Matz" Matsumoto
Fix typo in `lib/mruby/presym.rb`
2021-05-31Fix typo in `lib/mruby/presym.rb`KOBAYASHI Shuji
2021-05-31numeric.c: fixed a silly bug related to pointer decrement.Yukihiro "Matz" Matsumoto
2021-05-30sprintf.c: avoid object allocation in integer formatting.Yukihiro "Matz" Matsumoto
2021-05-30numeric.c: introduce `mrb_int_to_cstr()` to dump `mrb_int`.Yukihiro "Matz" Matsumoto
* refactor `mrb_integer_to_str()` * refactor `mrb_str_format()`
2021-05-29codegen.c: just raise the exception on broken node for assignments.Yukihiro "Matz" Matsumoto
2021-05-28Merge pull request #5463 from ↵Yukihiro "Matz" Matsumoto
mruby/dependabot/github_actions/actions/cache-2.1.6 build(deps): bump actions/cache from 2.1.5 to 2.1.6
2021-05-28build(deps): bump actions/cache from 2.1.5 to 2.1.6dependabot[bot]
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6) Signed-off-by: dependabot[bot] <[email protected]>
2021-05-28kernel.c: avoid recursive VM call in `mrb_f_caller`.Yukihiro "Matz" Matsumoto
2021-05-28kernel.c: `caller` should not include the frame for itself.Yukihiro "Matz" Matsumoto
2021-05-28backtrace.c: do not skip frames for C function calls.Yukihiro "Matz" Matsumoto
2021-05-28vm.c: skip actual `method_missing` call unless it's overridden.Yukihiro "Matz" Matsumoto
So that `mruby -e 'a'` does not print backtrace history, i.e. ``` % mruby -e 'a' -e:1: undefined method 'a' (NoMethodError) ``` Instead of ``` % mruby -e 'a' trace (most recent call last): [1] -e:1 -e:1: undefined method 'a' (NoMethodError) ```
2021-05-27kernel.c: clear `mid` for `raise` and `method_missing`Yukihiro "Matz" Matsumoto
Method names need not to be printed in backtrace history.
2021-05-27backtrace.c: do not print trace line if there's no backtrace historyYukihiro "Matz" Matsumoto
2021-05-27array.c: unify `mrb_ary_ref` and `mrb_ary_entry`Yukihiro "Matz" Matsumoto
Use only `mrb_ary_entry` hereafter.
2021-05-27array.c: check for negative shift size.Yukihiro "Matz" Matsumoto
2021-05-26fmt_fp.c: move mruby specific `mrb_float_to_str` to `numeric.c`Yukihiro "Matz" Matsumoto
2021-05-26Merge pull request #5461 from ↵Yukihiro "Matz" Matsumoto
mruby/dependabot/github_actions/github/super-linter-4.0.2 build(deps): bump github/super-linter from 3.17.1 to 4.0.2
2021-05-26build(deps): bump github/super-linter from 3.17.1 to 4.0.2dependabot[bot]
Bumps [github/super-linter](https://github.com/github/super-linter) from 3.17.1 to 4.0.2. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v3.17.1...v4.0.2) Signed-off-by: dependabot[bot] <[email protected]>
2021-05-25fmt_fp.c: truncate precision to prevent buffer overflow.Yukihiro "Matz" Matsumoto
2021-05-25fmt_fp.c: use constant that depends on `mrb_float` size.Yukihiro "Matz" Matsumoto
2021-05-25fmt_fp.c: use a const int instead of a macro constant.Yukihiro "Matz" Matsumoto
2021-05-24strtod.c: new public domain implementation of `strtod`; ref #5448Yukihiro "Matz" Matsumoto
Instead of using copyrighted `strtod`, now use the public domain implementation of `strtod` by Yasuhiro Matsumoto (@mattn). The function has been renamed to `mrb_float_read()`; ref #5460 as well.
2021-05-24fmt_fp.c: exponential may be bigger than `100`.Yukihiro "Matz" Matsumoto
2021-05-24class.c: no need to create aliases if both symbols are same.Yukihiro "Matz" Matsumoto
2021-05-24class.c: add write barrier for aliases.Yukihiro "Matz" Matsumoto