| 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-03 | Hiding method implementation C functions in mruby-io | dearblue | |
| 2020-05-11 | Make `off_t` handling simpler; #4872 #4939 | Yukihiro "Matz" Matsumoto | |
| The newer `clang` warns implicit float conversions. | |||
| 2020-05-07 | Add assertion as originally intended; ref #4986 | Yukihiro "Matz" Matsumoto | |
| 2020-04-29 | Avoid comparing pointers and integers | dearblue | |
| 2020-04-28 | Remove unused local variable if `MRB_UTF8_STRING` is not set. | Yukihiro "Matz" Matsumoto | |
| Ref #4982 #4983 | |||
| 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 `IO#sysread` to update buffer string on `EOF`; ref #4982 | 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-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. | |||
| 2020-03-08 | Small refactoring on #4952 | Yukihiro "Matz" Matsumoto | |
| Fix the argument of `mrb_file_is_absolute_path()`. | |||
| 2020-03-08 | Traditional, UNC, and Device Is Absolute? | Reckordp | |
| 2020-03-08 | Commit from remote | Reckordp | |
| 2020-03-08 | Evaluate all type path | Reckordp | |
| 2020-03-07 | Small refactoring on #4939 | Yukihiro "Matz" Matsumoto | |
| 2020-03-07 | Use in-house macro `ISALPHA` instead of `isalpha`; ref #4950 | Yukihiro "Matz" Matsumoto | |
| 2020-03-07 | Merge branch 'io-pread-pwrite' of https://github.com/dearblue/mruby into ↵ | Yukihiro "Matz" Matsumoto | |
| dearblue-io-pread-pwrite | |||
| 2020-03-07 | Add absolute path for UNC | Reckordp | |
| 2020-03-07 | Fix typo | Reckordp | |
| 2020-03-07 | Merge the update suggested by @mattn; ref #4950 | Yukihiro "Matz" Matsumoto | |
| 2020-03-07 | Merge pull request #4950 from Reckordp/master | Yukihiro "Matz" Matsumoto | |
| Absolute path for windows | |||
| 2020-03-07 | Absolute path for windows | Reckordp | |
| 2020-02-05 | Merge pull request #4941 from davidsiaw/mac-compat | Yukihiro "Matz" Matsumoto | |
| Include time.h for ios | |||
| 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`. | |||
| 2020-01-31 | Add explicit casting in `file.c` to silence warnings. | Yukihiro "Matz" Matsumoto | |
| 2020-01-31 | Avoid casting warning from `mrb_int` to `int` in `io.c`. | Yukihiro "Matz" Matsumoto | |
| 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-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-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 | |||
| 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>`. | |||
| 2019-12-14 | Implement `File#size` and `File#truncate` | dearblue | |
| 2019-12-14 | Remove unnessesary branches | dearblue | |
| 2019-12-12 | Add `mrb_num_args_error()` for "wrong number of arguments" error | KOBAYASHI Shuji | |
| To unify the style of messages. | |||
| 2019-11-09 | Fix argument specs to `IO` | KOBAYASHI Shuji | |
| 2019-11-01 | Fix argument specs to `File` | KOBAYASHI Shuji | |
| 2019-10-23 | Remove unnecessary `mrb_funcall()`. | Yukihiro "Matz" Matsumoto | |
| 2019-10-23 | Remove unnecessary `mrb_string_p()` check. | Yukihiro "Matz" Matsumoto | |
| 2019-10-10 | Silence double free warnings by `mrb_local_free()`. | Yukihiro "Matz" Matsumoto | |
| The warnings were detected by cppcheck. | |||
| 2019-09-26 | Use type predicate macros instead of `mrb_type` if possible | KOBAYASHI Shuji | |
| For efficiency with `MRB_WORD_BOXING` (implement type predicate macros for all `enum mrb_vtype`). | |||
| 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-09-12 | Remove `$/` from mruby implementation. | Yukihiro "Matz" Matsumoto | |
| 1. `$/` and other Perl-ish global variables are not defined in ISO. 2. The current Ruby policy do not encourage those variables. 3. Those variables has global effect and can cause troubles. | |||
| 2019-08-07 | Reorganize `mrb_string_value_cstr` and related functions. | Yukihiro "Matz" Matsumoto | |
| `mrb_string_value_cstr` and `mrb_string_value_len`: obsolete `mrb_string_cstr`: new function to retrieve NULL terminated C string `RSTRING_CSTR`: wrapper macro of `mrb_string_cstr` | |||
| 2019-08-06 | Removed an unused local variable; ref #4615 | Yukihiro "Matz" Matsumoto | |
| 2019-08-05 | Use new specifiers/modifiers of `mrb_vfromat()` | KOBAYASHI Shuji | |
| The binary sizes (gems are only `mruby-bin-mruby`) are reduced slightly in my environment than before the introduction of new specifiers/modifiers (5116789a) with this change. ------------+-------------------+-------------------+-------- BINARY | BEFORE (5116789a) | AFTER (This PR) | RATIO ------------+-------------------+-------------------+-------- mruby | 593416 bytes | 593208 bytes | -0.04% libmruby.a | 769048 bytes | 767264 bytes | -0.23% ------------+-------------------+-------------------+-------- BTW, I accidentally changed `tasks/toolchains/visualcpp.rake` at #4613, so I put it back. | |||
