| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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-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-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. | |||
| 2020-03-08 | Merge branch 'master' into BuildAndroid | Yukihiro "Matz" Matsumoto | |
| 2020-03-08 | Small refactoring on #4952 | Yukihiro "Matz" Matsumoto | |
| Fix the argument of `mrb_file_is_absolute_path()`. | |||
| 2020-03-08 | Increase flexibility of CrossBuild | Reckordp | |
| 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-02-01 | Fix builds for old mingw in mruby-socket; ref #4914 | dearblue | |
| 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-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-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-17 | Merge pull request #4869 from dearblue/mingw32-io-test | Yukihiro "Matz" Matsumoto | |
| Fix mruby-io test for mingw32 | |||
| 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>`. | |||
