| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-01-29 | Isolate top-level local variables by file scope; fix #4931 | dearblue | |
| 2020-01-29 | Add test for top level local variables are in file scope; ref #4931 | dearblue | |
| 2020-01-28 | Merge pull request #4873 from dearblue/open-flags | Yukihiro "Matz" Matsumoto | |
| Support bit flags for `IO.open` | |||
| 2020-01-28 | include time.h for ios | David Siaw | |
| 2020-01-21 | Delete duplicated `Array#delete_if` test. | Hiroshi Mimaki | |
| 2020-01-21 | Delete duplicated `Array#delete_if`. | Hiroshi Mimaki | |
| 2020-01-19 | Fix take over file scope variable names with `mirb` command | dearblue | |
| Ref #4931 With this change, the `_` variable is defined after the `-r` switch. | |||
| 2020-01-19 | Fix take over file scope variables with `mruby` command | dearblue | |
| Resolve #4931 | |||
| 2020-01-19 | Add `mrbc_cleanup_local_variables()` with `mrbc_context`; ref #4931 | dearblue | |
| Clean up defined local variables. | |||
| 2020-01-10 | Small refactoring in `hash_slice`; ref #4926 | Yukihiro "Matz" Matsumoto | |
| 2020-01-08 | `p->locals` may be `NULL` when error occurs before the point. | Yukihiro "Matz" Matsumoto | |
| This is reported by oss-fuzz: Issue 19886: mruby:mruby_fuzzer: Potential-null-reference in setup_numparams | |||
| 2020-01-06 | Avoid Boxing/Unboxing of file descriptors; ref #4872 | Yukihiro "Matz" Matsumoto | |
| 2020-01-06 | Merge branch 'file-size-truncate' of https://github.com/dearblue/mruby into ↵ | Yukihiro "Matz" Matsumoto | |
| dearblue-file-size-truncate | |||
| 2020-01-06 | Fix `mrb_str_len_to_dbl` to support Hexadecimal like `0x10`. | Yukihiro "Matz" Matsumoto | |
| 2020-01-06 | Avoid creating temporary objects in `read_irep_record_1`; close #4920 | Yukihiro "Matz" Matsumoto | |
| The basic idea of this change is from @dearblue. Note: the arguments of `mrb_str_pool()` have changed, but the function is provided for internal use (No `MRB_API`). So basically you don't have to worry about the change. | |||
| 2020-01-05 | Fix ainfo with keyword arguments; fix #4921 | dearblue | |
| 2020-01-01 | Rename `mrb_num_args_error` to `mrb_argnum_error`; ref #4863 | Yukihiro "Matz" Matsumoto | |
| 2020-01-01 | Merge pull request #4863 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/add-mrb_num_args_error-for-wrong-number-of-arguments-error Add `mrb_num_args_error()` for "wrong number of arguments" error | |||
| 2020-01-01 | Fixed wrong usages of `mrb_get_args` in `vformat.c`. | Yukihiro "Matz" Matsumoto | |
| 2020-01-01 | Allow `here-doc` in the middle of Hash expressions; fix #4815 | Yukihiro "Matz" Matsumoto | |
| 2019-12-31 | Silence GCC warning in `time.c` on Travis CI | KOBAYASHI Shuji | |
| Silence the following warnings: ``` /mruby/mrbgems/mruby-time/src/time.c:260:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((MRB_INT_MAX > MRB_TIME_MAX && i > 0 && i > MRB_TIME_MAX) || ^ ``` | |||
| 2019-12-31 | Fix builds for modern mingw; fix #4869 | dearblue | |
| What I intended to fix in #4869 was a patch for an old MinGW. Recent MinGWs have their own `mkstemp()` function. I knew this after checking the patch #4903. | |||
| 2019-12-29 | Avoid unneeded directory creation during `rake -T`, etc. | KOBAYASHI Shuji | |
| 2019-12-27 | Merge pull request #4910 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/use-Rake-DSL-instead-of-commands-of-FileUtils Use Rake DSL instead of commands of `FileUtils` | |||
| 2019-12-27 | Use Rake DSL instead of commands of `FileUtils` | KOBAYASHI Shuji | |
| - Respect `--verbose(-v)` and `--dry-run(-n)` options. - Silence warnings to keyword arguments on Ruby 2.7. | |||
| 2019-12-27 | Prohibit assignment to numbered parameters. | Yukihiro "Matz" Matsumoto | |
| It is stricter than CRuby but confusing anyway. | |||
| 2019-12-27 | Allow non numbered-parameter identifier like `_1` outside of blocks. | Yukihiro "Matz" Matsumoto | |
| But it causes warnings as CRuby does; fix #4892 fix #489 | |||
| 2019-12-27 | Numbered parameters: usually linked list uses `cdr` for links. | Yukihiro "Matz" Matsumoto | |
| 2019-12-27 | Prohibit numbered parameters as method arguments; fix #4892 | Yukihiro "Matz" Matsumoto | |
| As of CRuby2.7 it is only warned. `mruby` prohibits explicitly to implement the future Ruby3 behavior. | |||
| 2019-12-24 | Refine the assertion failure message in mrdb print tests | KOBAYASHI Shuji | |
| #### Before this patch: ```console Fail: mruby-bin-debugger(print) error (mrbgems: mruby-bin-debugger) - Assertion[2] Expected true to be false. ``` #### After this patch: ```console Fail: mruby-bin-debugger(print) error (mrbgems: mruby-bin-debugger) - Assertion[2] Expected "$2 = undefined method 'bar' (NoMethodError)\n" to be start_with? "$2 = (eval):2: undefined method". ``` | |||
| 2019-12-23 | Use binary mode in mrbc source code reading | take-cheeze | |
| 2019-12-23 | Handle CR LF newline natively in lexer | take-cheeze | |
| 2019-12-21 | Numbered parameters should not be available in the lambda bodies. | Yukihiro "Matz" Matsumoto | |
| `mruby` does not warn like `CRuby` for cases like #4893. Fix #4890, fix #4891, fix #4893. | |||
| 2019-12-21 | `_0` is not numbered parameter | KOBAYASHI Shuji | |
| #### Before this patch: ```console $ bin/mruby rb -e '_0=:l; p ->{_0}.()' -e:1:13: _0 is not available -e:1:13: syntax error, unexpected $end, expecting '}' ``` #### After this patch (same as Ruby): ```console $ bin/mruby rb -e '_0=:l; p ->{_0}.()' :l ``` | |||
| 2019-12-21 | Fix SEGV from numbered parameters outside of blocks; fix #4862 | Yukihiro "Matz" Matsumoto | |
| 2019-12-20 | Merge pull request #4871 from dearblue/method-in-method | Yukihiro "Matz" Matsumoto | |
| Avoid method in method | |||
| 2019-12-20 | Merge pull request #4870 from dearblue/unnessesary-branch | Yukihiro "Matz" Matsumoto | |
| Remove unnessesary branches | |||
| 2019-12-20 | Merge pull request #4874 from dearblue/method-list | Yukihiro "Matz" Matsumoto | |
| Fix for `#methods` to include methods that were `undef` | |||
| 2019-12-19 | Fix mixed declarations in 429f6de | Yukihiro "Matz" Matsumoto | |
| 2019-12-19 | Merge pull request #4881 from shuujii/fix-mruby-bin-debugger-tests | Yukihiro "Matz" Matsumoto | |
| Fix `mruby-bin-debugger` tests; ref d2f2f9db | |||
| 2019-12-19 | Reimplement `vformat` tests; close #4868 | Yukihiro "Matz" Matsumoto | |
| Avoid creating `Data` object that refers `mruby` objects. Also close #4622 ref #4613 | |||
| 2019-12-19 | Revert "`%C` value need not to be saved in `TestVFormat::Native`; close #4868" | Yukihiro "Matz" Matsumoto | |
| This reverts commit f507ff4842b92a60c0c600fa1f29efdf2688c877. It makes AppVeyor tests fail. | |||
| 2019-12-18 | Fix `mruby-bin-debugger` tests; ref d2f2f9db | KOBAYASHI Shuji | |
| 2019-12-18 | `%C` value need not to be saved in `TestVFormat::Native`; close #4868 | Yukihiro "Matz" Matsumoto | |
| 2019-12-17 | Merge pull request #4869 from dearblue/mingw32-io-test | Yukihiro "Matz" Matsumoto | |
| Fix mruby-io test for mingw32 | |||
| 2019-12-16 | Merge pull request #4877 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/drop-dependencies-from-mruby-complex-to-some-gems Drop dependencies from `mruby-complex` to some gems | |||
| 2019-12-16 | Merge pull request #4859 from dearblue/authors | Yukihiro "Matz" Matsumoto | |
| Add "mruby developers" into some gems; Resolve #4709 | |||
| 2019-12-15 | Drop dependencies from `mruby-complex` to some gems | KOBAYASHI Shuji | |
| 2019-12-14 | Fix for `#methods` to include methods that were `undef` | dearblue | |
| If `#methods` traverse the super class, it includes the methods that were does `undef` in the subclass. Before patched: ```terminal % bin/mruby -e 'p Module.instance_methods - Class.instance_methods' [] ``` After patched: ```terminal % bin/mruby -e 'p Module.instance_methods - Class.instance_methods' [:append_features, :extend_object] ``` | |||
| 2019-12-14 | Support bit flags for `IO.open` | dearblue | |
| Note that this bit flags are not compatible with the native flags defined in `#include <fcntl.h>`. | |||
