| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-06-22 | Merge pull request #5489 from jbampton/pre-commit-autoupdate | Yukihiro "Matz" Matsumoto | |
| pre-commit autoupdate | |||
| 2021-06-22 | pre-commit autoupdate | John Bampton | |
| https://pre-commit.com/#pre-commit-autoupdate | |||
| 2021-06-21 | numeric.c: add optional `ndigits` argument to rounding methods. | Yukihiro "Matz" Matsumoto | |
| - `truncate` - `floor` - `ceil` `round` already takes `ndigits`. | |||
| 2021-06-21 | Merge pull request #5486 from dearblue/alloc-castfree | Yukihiro "Matz" Matsumoto | |
| Added `MRB_OBJ_ALLOC()` macro that does not require a cast | |||
| 2021-06-20 | Use `MRB_VTYPE_FOREACH()` in `src/object.c` | dearblue | |
| 2021-06-20 | Added `MRB_OBJ_ALLOC()` macro that does not require a cast | dearblue | |
| The `MRB_OBJ_ALLOC()` macro function returns a pointer of the type corresponding to the constant literal defined in `enum mrb_vtype`. | |||
| 2021-06-19 | Merge branch 'dearblue-block_given' | Yukihiro "Matz" Matsumoto | |
| 2021-06-19 | codegen.c: stop `uninitialized` warning. | Yukihiro "Matz" Matsumoto | |
| 2021-06-19 | Added `MRB_API` function to get block arguments info. | dearblue | |
| - ` mrb_block_given_p()` -- The name comes from CRuby's `rb_block_given_p ()` At the same time, it applies to `f_instance_eval()` and `f_class_eval()` of `mruby-eval`. | |||
| 2021-06-19 | Merge pull request #5484 from jbampton/enable-markdownlint-rule | Yukihiro "Matz" Matsumoto | |
| Enable markdownlint rule MD046 code-block-style | |||
| 2021-06-19 | Enable markdownlint rule MD046 code-block-style | John Bampton | |
| Fix C Markdown code block style | |||
| 2021-06-18 | Merge pull request #5434 from jbampton/add-markdownlint-rules-as-comments | Yukihiro "Matz" Matsumoto | |
| Add the rules to the markdownlint config file as comments | |||
| 2021-06-18 | Merge pull request #5483 from ↵ | Yukihiro "Matz" Matsumoto | |
| mruby/dependabot/github_actions/actions/upload-artifact-2.2.4 build(deps): bump actions/upload-artifact from 2.2.3 to 2.2.4 | |||
| 2021-06-17 | build(deps): bump actions/upload-artifact from 2.2.3 to 2.2.4 | dependabot[bot] | |
| Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.2.3 to 2.2.4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2.2.3...v2.2.4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> | |||
| 2021-06-17 | variable.c: add `skip` argument to skip `base` class in lookup. | Yukihiro "Matz" Matsumoto | |
| `mrb_vm_const_get` function looks up the constant first in the base class, so that fallback `const_get` need not to search from the base. | |||
| 2021-06-17 | variable.c: refactor `mrb_vm_const_get` function. | Yukihiro "Matz" Matsumoto | |
| 2021-06-17 | variable.c: skip prepended module for constant lookup. | Yukihiro "Matz" Matsumoto | |
| ```ruby module M FOO = 'm' end class A FOO = 'a' prepend M end class B < A def foo p FOO end end B.new.foo # should print `m` not `a` ``` | |||
| 2021-06-17 | class.c: use `MRB_FLAG_TEST()` macro. | Yukihiro "Matz" Matsumoto | |
| 2021-06-17 | Merge pull request #5480 from jbampton/add-more-pre-commit-hooks | Yukihiro "Matz" Matsumoto | |
| Add two more pre-commit hooks | |||
| 2021-06-17 | Merge pull request #5482 from jbampton/standardize-backtick-commands | Yukihiro "Matz" Matsumoto | |
| Standardize commands inside backticks | |||
| 2021-06-17 | Standardize commands inside backticks | John Bampton | |
| Remove whitespace | |||
| 2021-06-17 | Merge pull request #5481 from jbampton/fix-shebang | Yukihiro "Matz" Matsumoto | |
| Fix shebang by removing whitespace | |||
| 2021-06-17 | Fix shebang by removing whitespace | John Bampton | |
| 2021-06-17 | Add two more pre-commit hooks | John Bampton | |
| 2021-06-17 | Add the rules to the markdownlint config file as comments | John Bampton | |
| Enable MD011 no-reversed-links - Reversed link syntax | |||
| 2021-06-17 | Revert "`instance_eval` for classes and modules should behave as `class_eval`." | Yukihiro "Matz" Matsumoto | |
| This reverts commit ee3017496ba60ca418b5e54c1f8f5d8b38524a52. I misunderstood something and the new behavior was different from CRuby. The issue was reported by @dearblue, regarding #5478 | |||
| 2021-06-16 | Merge pull request #5444 from jbampton/add-misspell-docs | Yukihiro "Matz" Matsumoto | |
| Add documentation on spell checking with misspell | |||
| 2021-06-16 | Merge pull request #5445 from jbampton/add-codespell-pre-commit-hook | Yukihiro "Matz" Matsumoto | |
| Run pre-commit with GitHub Actions | |||
| 2021-06-16 | eval.c: implement `class_eval` with string; close #5478 | Yukihiro "Matz" Matsumoto | |
| 2021-06-16 | Run pre-commit with GitHub Actions | John Bampton | |
| Running pre-commit with GitHub Actions now gives us more tests and coverage Remove duplicate GitHub Actions for merge conflicts and trailing whitespace Remove duplicate checks for markdownlint and yamllint from the GitHub Super-Linter Add new custom pre-commit hook running with a shell script to sort alphabetically and uniquify codespell.txt Add new pre-commit hook to check spelling with codespell https://github.com/codespell-project/codespell Fix spelling | |||
| 2021-06-15 | numeric.c: restore `fmt` argument for backward compatibility. | Yukihiro "Matz" Matsumoto | |
| `mrb_float_to_str()` used to take `fmt` argument. We thought no one used the function, and OK to remove the argument. But at least `mruby-redis` gem used the function. | |||
| 2021-06-14 | pack.c: support `w' directive (BER integer compression). | Yukihiro "Matz" Matsumoto | |
| 2021-06-13 | pack.c: `count` should not be negative for directives `xX@`. | Yukihiro "Matz" Matsumoto | |
| 2021-06-13 | pack.c: raise error for unsupported `w` directive. | Yukihiro "Matz" Matsumoto | |
| 2021-06-12 | readint.c: fixed typo. | Yukihiro "Matz" Matsumoto | |
| 2021-06-12 | pack.c: support `@' directive (absolute position). | Yukihiro "Matz" Matsumoto | |
| 2021-06-12 | pack.c: refactor pack/unpack 'X'. | Yukihiro "Matz" Matsumoto | |
| 2021-06-12 | pack.c: add `X` directive (back up byte). | Yukihiro "Matz" Matsumoto | |
| 2021-06-12 | pack.c: `count` should be always positive. no check needed. | Yukihiro "Matz" Matsumoto | |
| 2021-06-12 | pack.c: fix `long/int` mixtures. | Yukihiro "Matz" Matsumoto | |
| 2021-06-12 | pack.c: remove unused arguments from static functions. | Yukihiro "Matz" Matsumoto | |
| 2021-06-12 | pack.c: wrong position after count read. | Yukihiro "Matz" Matsumoto | |
| 2021-06-12 | Merge pull request #5476 from dearblue/eval+super | Yukihiro "Matz" Matsumoto | |
| Raise `TypeError` with `super` inside `instance_eval` / `class_eval` | |||
| 2021-06-12 | Raise `TypeError` with `super` inside `instance_eval` / `class_eval` | dearblue | |
| Commit d0f60182af9114f6840d993d74f492e483302805 introduced an exception as a limitation of mruby. Subsequent CRuby-2.7 has changed its behavior to raise an exception. ref: https://github.com/ruby/ruby/commit/55b7ba368696033f2e89b77cbcd4a05dec97b139 | |||
| 2021-06-11 | codegen.c: refactor `readint()` | Yukihiro "Matz" Matsumoto | |
| * renamed from redundant `readint_mrb_int()` * supports only base upto 16 * no base validation (already done in parser) * no negative read (negate after read) * overflow detection using `mrb_int_{mul,add}_overflow()` | |||
| 2021-06-11 | readint.c: add new function `mrb_int_read`. | Yukihiro "Matz" Matsumoto | |
| Difference from `strtoul(3)`: * reads `mrb_int` based on configuration * specifies the end of the string * no sign interpretation * base 10 only | |||
| 2021-06-11 | Merge pull request #5475 from ↵ | Yukihiro "Matz" Matsumoto | |
| mruby/dependabot/github_actions/github/super-linter-4.2.2 build(deps): bump github/super-linter from 4.2.1 to 4.2.2 | |||
| 2021-06-11 | build(deps): bump github/super-linter from 4.2.1 to 4.2.2 | dependabot[bot] | |
| Bumps [github/super-linter](https://github.com/github/super-linter) from 4.2.1 to 4.2.2. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.2.1...v4.2.2) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> | |||
| 2021-06-10 | sprintf.c: check value range before type casting. | Yukihiro "Matz" Matsumoto | |
| 2021-06-10 | readflt.c: renamed from `strtod.c` | Yukihiro "Matz" Matsumoto | |
| The file provides `mrb_read_float()` renamed from `vim_strtod()`. | |||
