| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-04-10 | Add IO#getbyte | take-cheeze | |
| 2021-04-03 | chore: fix spelling | John Bampton | |
| 2020-10-12 | Remove meaningless `IO.open(1<<32)` test. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Integrate `Fixnum` class into `Integer` class | dearblue | |
| * The `Fixnum` constant is now an alias for the `Integer` class. * Remove `struct mrb_state::fixnum_class` member. If necessary, use `struct mrb_state::integer_class` instead. | |||
| 2020-04-12 | Check the file descriptor with `IO#initialize`; resolve #4966 | dearblue | |
| 2020-02-02 | Implement `IO#pread` and `IO#pwrite` | dearblue | |
| It is available by default in environments where `__unix__` is defined. Other environments are enabled by defining `MRB_WITH_IO_PREAD_PWRITE` (requires an implementation of `pread()` and `pwrite()` functions). In any case, you can disable it by defining `MRB_WITHOUT_IO_PREAD_PWRITE`. | |||
| 2019-09-14 | Replace `String#byteslice` by custom `IO._bufread`. | Yukihiro "Matz" Matsumoto | |
| `byteslice` creates 2 string objects. `_bufread` creates one, and modifies the original buffer string, that is more efficient. | |||
| 2019-07-30 | Refine message to `skip` in nested `assert` | KOBAYASHI Shuji | |
| - I think "Info" is used only to `skip`, so change to "Skip". - Changed the default value of `assert` and specify the argument explicitly at the caller of `assert` because it is unnatural "Assertion failed" is output even though the assertion doesn't fail. == Example: def assert_foo(exp, act) assert do assert_equal exp[0], act[0] assert_equal exp[1], act[1] end end def assert_bar(exp, act) assert do skip end end def assert_baz(exp, act) assert do assert_equal exp, act assert_bar exp, act end end assert 'test#skip_in_nested_assert' do assert_baz 1, 1 end === Before this patch: ?.. Info: test#skip_in_nested_assert (core) - Assertion[1] Info: Assertion failed (core) - Assertion[1-2] Skip: Assertion failed (core) Total: 3 OK: 2 KO: 0 Crash: 0 Warning: 0 Skip: 1 === After this patch: ??? Skip: test#skip_in_nested_assert (core) - Assertion[1] Skip: assert (core) - Assertion[1-2] Skip: assert (core) Total: 3 OK: 0 KO: 0 Crash: 0 Warning: 0 Skip: 3 | |||
| 2019-06-29 | Use nested `assert` | dearblue | |
| 2019-06-29 | Use a normal method instead of a lambda | dearblue | |
| Ref commit 35319bed01d58c785f73ce03e67d4e58be30f4b5 | |||
| 2019-04-29 | Fix missing assertions in `mruby-io` test | KOBAYASHI Shuji | |
| 2019-04-27 | Remove duplicated `String#each_char` | KOBAYASHI Shuji | |
| 2019-04-15 | Fix test, popen and cmd in mruby-io | Shouji Kuboyama | |
| 2019-01-27 | Remove no meaning statements in `mruby-io` tests | KOBAYASHI Shuji | |
| 2019-01-25 | Remove definition of `assert_nothing_raised` in `IO` test | KOBAYASHI Shuji | |
| 2019-01-01 | io: Skip TTY test for environments that TTY device is unavailable. | KOBAYASHI Shuji | |
| e.g. GitLab CI | |||
| 2018-08-30 | Separate meta-programming features to `mruby-metaprog` gem. | Yukihiro "Matz" Matsumoto | |
| We assume meta-programming is less used in embedded environments. We have moved following methods: * Kernel module global_variables, local_variables, singleton_class, instance_variables, instance_variables_defined?, instance_variable_get, instance_variable_set, methods, private_methods, public_methods, protected_methods, singleton_methods, define_singleton_methods * Module class class_variables, class_variables_defined?, class_variable_get, class_variable_set, remove_class_variable, included_modules, instance_methods, remove_method, method_removed, constants * Module class methods constants, nesting Note: Following meta-programming methods are kept in the core: * Module class alias_method, undef_method, ancestors, const_defined?, const_get, const_set, remove_const, method_defined?, define_method * Toplevel object define_method `mruby-metaprog` gem is linked by default (specified in default.gembox). When it is removed, it will save 40KB (stripped:8KB) on x86-64 environment last time I measured. | |||
| 2018-01-14 | IO#close_on_exec? is not supported on MinGW | ksss | |
| 2018-01-14 | Should be true for close_on_exec flag | ksss | |
| 2017-12-17 | Implement IO#initialize_copy | ksss | |
| 2017-12-12 | Fixed mruby-io test failure on Windows platform. | Hiroshi Mimaki | |
| 2017-12-07 | Add 'mrbgems/mruby-io/' from commit '3c8e1f94c44252c836f79a48bb17726da28e2756' | Yukihiro "Matz" Matsumoto | |
| git-subtree-dir: mrbgems/mruby-io git-subtree-mainline: 10ed730e4bd921cf4d8fe6f6d2e3cb3f0840f3b7 git-subtree-split: 3c8e1f94c44252c836f79a48bb17726da28e2756 | |||
