| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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. | |||
| 2019-05-05 | Use `mrb_fixnum_to_str()` instead of `Fixnum#to_s` | KOBAYASHI Shuji | |
| 2018-11-22 | Fix mruby-socket test failure on MinGW. | Hiroshi Mimaki | |
| 2018-08-11 | Fix misspelling words in comments | Kazuhiro Sera | |
| 2018-06-15 | Fixed wrong usages of `mrb_raisef()`; ref #4043 | Yukihiro "Matz" Matsumoto | |
| `mrb_raisef()` only takes `%S` specifier. If you don't have extra arguments, use `mrb_raise()`. | |||
| 2018-06-14 | Resolve sign comparison warning; ref #4044 | Yukihiro "Matz" Matsumoto | |
| 2018-06-14 | sa_family_t is not defined on windows. | Tomoyuki Sahara | |
| 2018-06-14 | set sockaddr_un.sun_len on the systems that have sockaddr.sa_len. | Tomoyuki Sahara | |
| If your system has sa_len but is not BSD-derived, define HAVE_SA_LEN=1 on mrbgem.rake or build_config.rb. | |||
| 2018-06-14 | struct sockaddr_un can be truncated. | Tomoyuki Sahara | |
| When we have "struct sockaddr_un *s_un", we could not assume *s_un points to a memory region which size is at least sizeof(*s_un). Even worse, it may be shorter than sizeof(struct sockaddr) on some systems. | |||
| 2018-06-14 | struct sockaddr_un can be shorter than struct sockaddr. | Tomoyuki Sahara | |
| ref: https://github.com/iij/mruby-socket/issues/45 | |||
| 2018-06-05 | Declare inet_ntop and inet_pton as static | Sebastián Katzer | |
| To avoid conflicts with multiple definitions of inet_ntop and inet_pton if compiled with # define _WIN32_WINNT _WIN32_WINNT_VISTA C:/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libWs2_32.a(dghfs00169.o):(.text+0x0): multiple definition of `inet_pton' 722C:/projects/iss/mruby/build/host/lib/libmruby.a(socket.o):C:/projects/iss/mruby/mrbgems/mruby-socket/src/socket.c:80: first defined here define _WIN32_WINNT _WIN32_WINNT_VISTA | |||
| 2018-04-18 | Avoid unnecessary object allocation (addrinfo) in `_accept`; ref #3999 | Yukihiro "Matz" Matsumoto | |
| 2018-04-17 | Define `SOL_IP` and `SOL_TCP`; ref #3999 | Yukihiro "Matz" Matsumoto | |
| 2018-03-26 | Revert #3984 . | Takeshi Watanabe | |
| 2018-03-25 | Merge commit '36d016afd663d34607c843d03371bedb71efa34e' | Takeshi Watanabe | |
| 2017-12-14 | Merge pull request #3892 from mimaki/ipproto-winsock | Yukihiro "Matz" Matsumoto | |
| Use IPPROTO enum values on WinSock. | |||
| 2017-12-14 | Rename `BasicSocket#is_socket=` to `#_is_socket`; ref #3878 | Yukihiro "Matz" Matsumoto | |
| 2017-12-14 | Fix socket closing by using `closesocket` API in windows instead. | Takeshi Watanabe | |
| 2017-12-13 | Use IPPROTO enum values on WinSock. | Hiroshi Mimaki | |
| 2017-12-13 | Set protocol of AddrInfo | Hiroshi Mimaki | |
| 2017-12-12 | Winsock uses `int` where UNIX uses `size_t`. | Yukihiro "Matz" Matsumoto | |
| 2017-12-12 | fix build on mingw | Yasuhiro Matsumoto | |
| 2017-12-12 | Winsock does not provide `ssize_t`; Use `int` instead. | Yukihiro "Matz" Matsumoto | |
| 2017-12-11 | Reduce VC++ compiler warnings. | Yukihiro "Matz" Matsumoto | |
| 2017-12-09 | Reduce VC++ compiler warnings. | Yukihiro "Matz" Matsumoto | |
| 2017-12-08 | Reduce VC++ compiler warnings. | Yukihiro "Matz" Matsumoto | |
| 2017-12-07 | Remove unused variable `usock` from `mruby-socket/src/socket.c`. | Yukihiro "Matz" Matsumoto | |
| 2017-12-07 | fixup! Fix type casting errors when `mruby-socket` compiled by C++. | Yukihiro "Matz" Matsumoto | |
| 2017-12-07 | Fix type casting errors when `mruby-socket` compiled by C++. | Yukihiro "Matz" Matsumoto | |
| Also `bool` is a reserved word in C++. | |||
| 2017-12-07 | Add 'mrbgems/mruby-socket/' from commit ↵ | Yukihiro "Matz" Matsumoto | |
| 'ab54185005ec87fe4f5b10df95ad29659884141b' git-subtree-dir: mrbgems/mruby-socket git-subtree-mainline: d75266dd1bade53255044460a9cd74596addaa84 git-subtree-split: ab54185005ec87fe4f5b10df95ad29659884141b | |||
