| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-10-12 | Use `mrb_int_value()` instead of `mrb_fixnum_value()`. | Yukihiro "Matz" Matsumoto | |
| Where fixnum overflow can happen. | |||
| 2020-10-12 | Reorganize `Integer` system. | Yukihiro "Matz" Matsumoto | |
| - Integrate `Fixnum` and `Integer` - Remove `Integral` - `int / int -> int` - Replace `mrb_fixnum()` to `mrb_int()` - Replace `mrb_fixnum_value()` to `mrb_int_value()`. - Use `mrb_integer_p()` instead of `mrb_fixnum_p()` | |||
| 2020-10-12 | Integrate `Fixnum` class into `Integer` class | dearblue | |
| * The `Fixnum` constant is now an alias for the `Integer` class. * Remove `struct mrb_state::fixnum_class` member. If necessary, use `struct mrb_state::integer_class` instead. | |||
| 2020-10-12 | Generate C struct from `irep` instead of binary dump. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Use functions that take symbols to reduce string litrals in C. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Use `mrb_funcall_id()` extensively. | Yukihiro "Matz" Matsumoto | |
| Except for support files e.g. `mruby-test/driver.c`, which are not target of symbol collection via `rake gensym`. | |||
| 2020-10-12 | Add `MRB_SYM()` for inline symbols. | Yukihiro "Matz" Matsumoto | |
| 2020-09-25 | Prohibit string changes by "s"/"z" specifier of `mrb_get_args()` | dearblue | |
| - The `s` specifier is a string pointer obtained without performing `mrb_str_modify()`, so it cannot be changed. - The `z` specifier cannot be changed because it is a string pointer obtained by `RSTRING_CSTR()` which returns `const char *`. | |||
| 2020-08-09 | Remove duplicated definition of `E_EOF_ERROR`. | Yukihiro "Matz" Matsumoto | |
| 2020-01-01 | Rename `mrb_num_args_error` to `mrb_argnum_error`; ref #4863 | Yukihiro "Matz" Matsumoto | |
| 2019-12-12 | Add `mrb_num_args_error()` for "wrong number of arguments" error | KOBAYASHI Shuji | |
| To unify the style of messages. | |||
| 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-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-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-06-18 | Fix path of `error.h`. | Hiroshi Mimaki | |
| 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-03-26 | Revert #3984 . | Takeshi Watanabe | |
| 2018-03-25 | Merge commit '36d016afd663d34607c843d03371bedb71efa34e' | Takeshi Watanabe | |
| 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 | 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 | |||
