| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-06-20 | Add `mrb_get_arg1()` that retrieves single (and only) argument. | Yukihiro "Matz" Matsumoto | |
| `mrb_get_arg1()` raises `ArgumentError` if the method does not receive one argument. And replaces all `mrb_get_args(mrb, "o", &arg)` by the new function. | |||
| 2020-06-05 | Revert part of #5019 (`mruby_io_test.c`) to honor #4987 | Yukihiro "Matz" Matsumoto | |
| The issue was reported by @shuujii. | |||
| 2020-06-05 | Merge master. | Hiroshi Mimaki | |
| 2020-06-03 | Hiding method implementation C functions in mruby-io | dearblue | |
| 2020-05-15 | Add `pread/pwrite` support on `__MACH__` (MacOS) in addition to `__unix__`. | Yukihiro "Matz" Matsumoto | |
| 2020-05-11 | Make `off_t` handling simpler; #4872 #4939 | Yukihiro "Matz" Matsumoto | |
| The newer `clang` warns implicit float conversions. | |||
| 2020-05-07 | Should not use `assert` with expressions with side-effect; ref #49812.1.1-rc2 | Yukihiro "Matz" Matsumoto | |
| `assert()` can be completely removed when `NDEBUG` is set. | |||
| 2020-05-07 | Fixed wrong condition in #4981. | Yukihiro "Matz" Matsumoto | |
| 2020-05-07 | Add `#include <string.h>` on all platforms for `strncpy`; #4981 | Yukihiro "Matz" Matsumoto | |
| 2020-05-07 | Remove unused local variable if `MRB_UTF8_STRING` is not set. | Yukihiro "Matz" Matsumoto | |
| Ref #4982 #4983 | |||
| 2020-05-07 | Avoid `snprintf` in `mruby-io` test; ref #4981 | Yukihiro "Matz" Matsumoto | |
| 2020-05-07 | Remove the temporary file from the `AF_UNIX` socket test; #4981 | Yukihiro "Matz" Matsumoto | |
| 2020-05-07 | Fix `IO#readchar` to return broken UTF-8 rather than `EOF` error. | Yukihiro "Matz" Matsumoto | |
| The behavior is different from CRuby, but we believe this is a right behavior for mruby, which only supports either ASCII or UTF-8 exclusively; fix #4983, ref #4982 ``` $ printf '\xe3\x81' | ruby -e 'p STDIN.readchar' "\xE3\x81" ``` ``` $ printf '\xe3\x81' | mruby -e 'p STDIN.readchar' "\xE3" ``` | |||
| 2020-05-07 | Fix `IO#readchar` to support UTF-8 char reading; fix #4712 | Yukihiro "Matz" Matsumoto | |
| This fix only effective when `MRB_UTF8_STRING` is set. | |||
| 2020-05-07 | Add assertion as originally intended; ref #4986 | Yukihiro "Matz" Matsumoto | |
| 2020-05-01 | Fix `_read_buf` to be more efficient; fix #4982 | Yukihiro "Matz" Matsumoto | |
| The bug was introduced by #4712. The `getc' problem resurrected. It should be addressed soon. | |||
| 2020-05-01 | Fix `IO#sysread` to update buffer string on `EOF`; ref #4982 | Yukihiro "Matz" Matsumoto | |
| 2020-05-01 | Update `IO#ungetc` to keep `@buf` string; ref #4982 | Yukihiro "Matz" Matsumoto | |
| 2020-05-01 | Fix typo and include location | Uchio Kondo | |
| 2020-05-01 | Skip socket check on windows | Uchio Kondo | |
| 2020-05-01 | Follow C90 style | Uchio Kondo | |
| 2020-05-01 | Test mruby-io in tmpdir when AF_UNIX cannot be created on cwd | Uchio Kondo | |
| 2020-04-30 | Merge pull request #4987 from shuujii/avoid-changing-directory-in-mruby-io-test | Yukihiro "Matz" Matsumoto | |
| Avoid changing directory in `mruby-io` test | |||
| 2020-04-29 | Avoid changing directory in `mruby-io` test | KOBAYASHI Shuji | |
| 2020-04-29 | Avoid comparing pointers and integers | dearblue | |
| 2020-04-28 | Should not use `assert` with expressions with side-effect; ref #4981 | Yukihiro "Matz" Matsumoto | |
| `assert()` can be completely removed when `NDEBUG` is set. | |||
| 2020-04-28 | Fixed wrong condition in #4981. | Yukihiro "Matz" Matsumoto | |
| 2020-04-28 | Add `#include <string.h>` on all platforms for `strncpy`; #4981 | Yukihiro "Matz" Matsumoto | |
| 2020-04-28 | Remove unused local variable if `MRB_UTF8_STRING` is not set. | Yukihiro "Matz" Matsumoto | |
| Ref #4982 #4983 | |||
| 2020-04-28 | Avoid `snprintf` in `mruby-io` test; ref #4981 | Yukihiro "Matz" Matsumoto | |
| 2020-04-28 | Remove the temporary file from the `AF_UNIX` socket test; #4981 | Yukihiro "Matz" Matsumoto | |
| 2020-04-28 | Fix `IO#readchar` to return broken UTF-8 rather than `EOF` error. | Yukihiro "Matz" Matsumoto | |
| The behavior is different from CRuby, but we believe this is a right behavior for mruby, which only supports either ASCII or UTF-8 exclusively; fix #4983, ref #4982 ``` $ printf '\xe3\x81' | ruby -e 'p STDIN.readchar' "\xE3\x81" ``` ``` $ printf '\xe3\x81' | mruby -e 'p STDIN.readchar' "\xE3" ``` | |||
| 2020-04-28 | Fix `IO#readchar` to support UTF-8 char reading; fix #4712 | Yukihiro "Matz" Matsumoto | |
| This fix only effective when `MRB_UTF8_STRING` is set. | |||
| 2020-04-28 | Fix `_read_buf` to be more efficient; fix #4982 | Yukihiro "Matz" Matsumoto | |
| The bug was introduced by #4712. The `getc' problem resurrected. It should be addressed soon. | |||
| 2020-04-28 | Fix `IO#sysread` to update buffer string on `EOF`; ref #4982 | Yukihiro "Matz" Matsumoto | |
| 2020-04-28 | Update `IO#ungetc` to keep `@buf` string; ref #4982 | Yukihiro "Matz" Matsumoto | |
| 2020-04-28 | Fix typo and include location | Uchio Kondo | |
| 2020-04-28 | Skip socket check on windows | Uchio Kondo | |
| 2020-04-28 | Follow C90 style | Uchio Kondo | |
| 2020-04-28 | Test mruby-io in tmpdir when AF_UNIX cannot be created on cwd | Uchio Kondo | |
| 2020-04-24 | Removed comments mentioning `MRB_WITHOUT_FLOAT`; ref 2e661e8 | dearblue | |
| The comment is for messages when `MRB_INT16` and `MRB_WITHOUT_FLOAT` are specified at the same time. The comment itself is no longer needed now that `MRB_INT16` is gone. | |||
| 2020-04-21 | Removed comments mentioning `MRB_INT16`. | Yukihiro "Matz" Matsumoto | |
| 2020-04-15 | Merge pull request #4968 from dearblue/check-fd | Yukihiro "Matz" Matsumoto | |
| Check the file descriptor with `IO#initialize`; resolve #4966 | |||
| 2020-04-14 | Selecting fd should be less than `FD_SETSIZE`; close #4966 | Yukihiro "Matz" Matsumoto | |
| 2020-04-12 | Check the file descriptor with `IO#initialize`; resolve #4966 | dearblue | |
| 2020-04-04 | Unused library folder | Reckordp | |
| 2020-04-04 | Correct naming file from Mingw | Reckordp | |
| 2020-04-03 | Helper for link window's library | Reckordp | |
| 2020-03-08 | Add configuration guard for `MRB_DISABLE_STDIO` | dearblue | |
| ref #4576 and ref #4947 * Need MRBAPI functions without `MRB_DISABLE_STDIO`: * mrbgems/mruby-bin-debugger * mrbgems/mruby-bin-mirb * mrbgems/mruby-bin-mrbc * mrbgems/mruby-bin-mruby * mrbgems/mruby-bin-strip * Need `stdio.h`: * mrbgems/mruby-io * mrbgems/mruby-print * Need `snprintf()` in `stdio.h`: * mrbgems/mruby-pack * mrbgems/mruby-sprintf | |||
| 2020-03-08 | Remove unnecessary 'stdio.h'; ref #4947 | dearblue | |
| 'stdio.h' is included in 'mruby.h' ('mrbconf.h'). However, keep 'stdio.h' used by mruby-test. | |||
