| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-01-12 | Initialize all area of `struct sockaddr_un` | dearblue | |
| Members of `struct sockaddr_un` are requesting the definitions of `sun_family` and `sun_path`. https://pubs.opengroup.org/onlinepubs/009696699/basedefs/sys/un.h.html But the other members are optional and environment dependent. In fact, other members are defined in the BSD series. from NetBSD-9.1 <https://github.com/NetBSD/src/blob/da504f75982b244b2288bc9970bbc203bd77a9c1/sys/sys/un.h#L49-L53> ```c struct sockaddr_un { unsigned char sun_len; /* sockaddr len excluding NUL */ sa_family_t sun_family; /* AF_UNIX */ char sun_path[104]; /* path name (gag) */ }; ``` | |||
| 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-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 | 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-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-29 | Avoid changing directory in `mruby-io` test | KOBAYASHI Shuji | |
| 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 | 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 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-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-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 | |
| 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-14 | Fix mruby-io test for mingw32 | dearblue | |
| Need `mkstemp()` implements. | |||
| 2019-11-24 | Remove unused methods of `MRubyIOTestUtil` | KOBAYASHI Shuji | |
| 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-08-24 | Create a symbolic link in the temporary directory; fix #4642 | dearblue | |
| Because the linker gives a warning on FreeBSD 12.0. ``` warning: mktemp() possibly used unsafely; consider using mkstemp() ``` | |||
| 2019-08-18 | Make symbolic link names unique for test | dearblue | |
| 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. | |||
| 2019-05-06 | Avoid using `mrb_str_to_cstr` if possible | KOBAYASHI Shuji | |
| Because it always allocate new string. Replace with the followings: - Use `RSRING_PTR` if string is guaranteed to be null-terminated. - Use `mrb_string_value_cstr` or `mrb_get_args("z")` if return value isn't modified. | |||
| 2017-12-14 | On Windows, `_S_IREAD` and `_S_IWRITE` is defined in `sys/stat.h`. | Yukihiro "Matz" Matsumoto | |
| 2017-12-14 | Use `_open` and `_close` on Windows. | Yukihiro "Matz" Matsumoto | |
| 2017-12-14 | fix mkstemp implementation for MSVC | Yasuhiro Matsumoto | |
| 2017-12-13 | fix crash bug on Windows | Yasuhiro Matsumoto | |
| 2017-12-13 | close file descriptors | Yasuhiro Matsumoto | |
| 2017-12-13 | mingw have mkstemp | Yasuhiro Matsumoto | |
| 2017-12-13 | fix test | Yasuhiro Matsumoto | |
| 2017-12-12 | Fixed mruby-io test failure on Windows platform. | Hiroshi Mimaki | |
| 2017-12-08 | Fixed compile error of `mruby-io` gem on MinGW. | Hiroshi Mimaki | |
| 2017-12-08 | Avoid VC++ reserved word `template`. | Yukihiro "Matz" Matsumoto | |
| 2017-12-08 | AppVeyor compile errors resolution. | Yukihiro "Matz" Matsumoto | |
| 2017-12-08 | AppVeyor compiler does not proved some POSIX functions. | Yukihiro "Matz" Matsumoto | |
| - `mode_t` by `int` - `umask` by `_umask` - `rmdir` by `_rmdir` - `mkstemp` and `mkdtemp` by using `_mktemp` | |||
| 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 | |||
