summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-socket/src/socket.c
AgeCommit message (Expand)Author
2021-12-28Fix build error and refine definition of `ssize_t` on MSVC.mimaki
2021-09-20Update `struct` initializer to work with relatively older `C++`.Yukihiro "Matz" Matsumoto
2021-09-15Use `struct` initializer instead of `memset`.Yukihiro "Matz" Matsumoto
2021-07-25Remove redundant include headers.Yukihiro "Matz" Matsumoto
2021-05-17Rename `mrb_fixnum_to_str` to `mrb_integer_to_str`.Yukihiro "Matz" Matsumoto
2021-05-05Extend the tab with 8 whitespacedearblue
2021-01-26Revert "Minimize the changes in #5277"Yukihiro "Matz" Matsumoto
2021-01-22Minimize the changes in #5277Yukihiro "Matz" Matsumoto
2021-01-11Avoid including `presym.inc` in existing header filesKOBAYASHI Shuji
2020-11-22Remove `mrb_str_buf_new()` and `MRB_STR_BUF_MIN_SIZE`; close #5171Yukihiro "Matz" Matsumoto
2020-11-13Change name and usage of presym macrosKOBAYASHI Shuji
2020-10-12Use `mrb_int_value()` instead of `mrb_fixnum_value()`.Yukihiro "Matz" Matsumoto
2020-10-12Reorganize `Integer` system.Yukihiro "Matz" Matsumoto
2020-10-12Integrate `Fixnum` class into `Integer` classdearblue
2020-10-12Generate C struct from `irep` instead of binary dump.Yukihiro "Matz" Matsumoto
2020-10-12Use functions that take symbols to reduce string litrals in C.Yukihiro "Matz" Matsumoto
2020-10-12Use `mrb_funcall_id()` extensively.Yukihiro "Matz" Matsumoto
2020-10-12Add `MRB_SYM()` for inline symbols.Yukihiro "Matz" Matsumoto
2020-09-25Prohibit string changes by "s"/"z" specifier of `mrb_get_args()`dearblue
2020-08-09Remove duplicated definition of `E_EOF_ERROR`.Yukihiro "Matz" Matsumoto
2020-01-01Rename `mrb_num_args_error` to `mrb_argnum_error`; ref #4863Yukihiro "Matz" Matsumoto
2019-12-12Add `mrb_num_args_error()` for "wrong number of arguments" errorKOBAYASHI Shuji
2019-09-26Use type predicate macros instead of `mrb_type` if possibleKOBAYASHI Shuji
2019-08-07Reorganize `mrb_string_value_cstr` and related functions.Yukihiro "Matz" Matsumoto
2019-08-05Use new specifiers/modifiers of `mrb_vfromat()`KOBAYASHI Shuji
2019-06-18Fix path of `error.h`.Hiroshi Mimaki
2019-05-06Avoid using `mrb_str_to_cstr` if possibleKOBAYASHI Shuji
2019-05-05Use `mrb_fixnum_to_str()` instead of `Fixnum#to_s`KOBAYASHI Shuji
2018-11-22Fix mruby-socket test failure on MinGW.Hiroshi Mimaki
2018-08-11Fix misspelling words in commentsKazuhiro Sera
2018-06-15Fixed wrong usages of `mrb_raisef()`; ref #4043Yukihiro "Matz" Matsumoto
2018-06-14Resolve sign comparison warning; ref #4044Yukihiro "Matz" Matsumoto
2018-06-14sa_family_t is not defined on windows.Tomoyuki Sahara
2018-06-14set sockaddr_un.sun_len on the systems that have sockaddr.sa_len.Tomoyuki Sahara
2018-06-14struct sockaddr_un can be truncated.Tomoyuki Sahara
2018-06-14struct sockaddr_un can be shorter than struct sockaddr.Tomoyuki Sahara
2018-06-05Declare inet_ntop and inet_pton as static Sebastián Katzer
2018-04-18Avoid unnecessary object allocation (addrinfo) in `_accept`; ref #3999Yukihiro "Matz" Matsumoto
2018-03-26Revert #3984 .Takeshi Watanabe
2018-03-25Merge commit '36d016afd663d34607c843d03371bedb71efa34e'Takeshi Watanabe
2017-12-14Rename `BasicSocket#is_socket=` to `#_is_socket`; ref #3878Yukihiro "Matz" Matsumoto
2017-12-14Fix socket closing by using `closesocket` API in windows instead.Takeshi Watanabe
2017-12-13Set protocol of AddrInfoHiroshi Mimaki
2017-12-12Winsock uses `int` where UNIX uses `size_t`.Yukihiro "Matz" Matsumoto
2017-12-12fix build on mingwYasuhiro Matsumoto
2017-12-12Winsock does not provide `ssize_t`; Use `int` instead.Yukihiro "Matz" Matsumoto
2017-12-11Reduce VC++ compiler warnings.Yukihiro "Matz" Matsumoto
2017-12-09Reduce VC++ compiler warnings.Yukihiro "Matz" Matsumoto
2017-12-08Reduce VC++ compiler warnings.Yukihiro "Matz" Matsumoto
2017-12-07Remove unused variable `usock` from `mruby-socket/src/socket.c`.Yukihiro "Matz" Matsumoto