| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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-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>`. | |||
| 2019-12-14 | Implement `File#size` and `File#truncate` | dearblue | |
| 2019-12-14 | Remove unnessesary branches | dearblue | |
| 2019-12-12 | Add `mrb_num_args_error()` for "wrong number of arguments" error | KOBAYASHI Shuji | |
| To unify the style of messages. | |||
| 2019-11-09 | Fix argument specs to `IO` | KOBAYASHI Shuji | |
| 2019-11-01 | Fix argument specs to `File` | KOBAYASHI Shuji | |
| 2019-10-23 | Remove unnecessary `mrb_funcall()`. | Yukihiro "Matz" Matsumoto | |
| 2019-10-23 | Remove unnecessary `mrb_string_p()` check. | Yukihiro "Matz" Matsumoto | |
| 2019-10-10 | Silence double free warnings by `mrb_local_free()`. | Yukihiro "Matz" Matsumoto | |
| The warnings were detected by cppcheck. | |||
| 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-09-14 | Replace `String#byteslice` by custom `IO._bufread`. | Yukihiro "Matz" Matsumoto | |
| `byteslice` creates 2 string objects. `_bufread` creates one, and modifies the original buffer string, that is more efficient. | |||
| 2019-09-12 | Remove `$/` from mruby implementation. | Yukihiro "Matz" Matsumoto | |
| 1. `$/` and other Perl-ish global variables are not defined in ISO. 2. The current Ruby policy do not encourage those variables. 3. Those variables has global effect and can cause troubles. | |||
| 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-06 | Removed an unused local variable; ref #4615 | Yukihiro "Matz" Matsumoto | |
| 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-07 | Replace obsolete macros | dearblue | |
| 2019-05-15 | Fix typo in `mrbgems/mruby-io/src/file_test.c` [ci skip] | KOBAYASHI Shuji | |
| 2019-05-10 | Move `mrb_gc_arena_restore` to inside the loop in `mrb_file_s_chmod` | KOBAYASHI Shuji | |
| 2019-05-10 | Raise `TypeError` if the argument type is unsupported in `mrb_stat0` | KOBAYASHI Shuji | |
| 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. | |||
| 2018-12-23 | Suppress TARGET_OS_IPHONE warns | dearblue | |
| 2018-11-19 | Remove implicit conversion using `to_str` method; fix #3854 | Yukihiro "Matz" Matsumoto | |
| We have added internal convenience method `__to_str` which does string type check. The issue #3854 was fixed but fundamental flaw of lack of stack depth check along with fibers still remains. Use `MRB_GC_FIXED_ARENA` for workaround. | |||
| 2018-09-15 | Exclude pipe and exec on iOS/tvOS | Tom Black | |
| Use of `execl()` is prohibited on these platforms | |||
| 2018-09-16 | fixup! Add support for iOS platforms that does not support `fork`; fix #4113 | Yukihiro "Matz" Matsumoto | |
| 2018-09-16 | Add support for iOS platforms that does not support `fork`; fix #4113 | Yukihiro "Matz" Matsumoto | |
| 2018-08-13 | Try to fix a fragile `File#mtime` test. | Yukihiro "Matz" Matsumoto | |
| 2018-07-02 | Support MRB_WITHOUT_FLOAT to mruby-io | Yusuke Endoh | |
| 2018-06-19 | Merge pull request #4047 from kou/stop-to-use-freed-value | Yukihiro "Matz" Matsumoto | |
| Stop to use freed value | |||
| 2018-06-19 | Stop to use freed value | Kouhei Sutou | |
| 2018-06-19 | Fix wrong free function | Kouhei Sutou | |
| mrb_locale_free() should be used for the return value of mrb_locale_from_utf8(). | |||
| 2018-05-01 | Check the return value from `mrb_get_datatype()`; fix #4009 | Yukihiro "Matz" Matsumoto | |
| The return value (void*) may be NULL. Avoid using `mrb_get_datatype()` directly and use `io_get_open_fptr()` instead. | |||
| 2018-04-18 | `mrb_io_initialize_copy` should not free existing `fptr`; fix #4005 | Yukihiro "Matz" Matsumoto | |
| When arguments `copy` and `orig` are the same object. | |||
| 2018-04-18 | `mrb_dup()` should fail if `fd` is a negative integer; ref #4005 | Yukihiro "Matz" Matsumoto | |
| 2018-04-17 | Fix `use after free in File#initilialize_copy`; fix #4001 | Yukihiro "Matz" Matsumoto | |
| The bug and the fix were reported by https://hackerone.com/pnoltof | |||
| 2018-01-30 | add File#mtime | Yasuhiro Matsumoto | |
| 2018-01-14 | Remove trailing space | ksss | |
| 2018-01-14 | Should be true for close_on_exec flag | ksss | |
| 2017-12-18 | Fix descriptor leakage; ref #3903 | Yukihiro "Matz" Matsumoto | |
| 2017-12-18 | Fix `fptr` leakage; ref #3903 | Yukihiro "Matz" Matsumoto | |
| 2017-12-18 | Use `_dup2` instead of `dup2` on Windows; ref #3903 | Yukihiro "Matz" Matsumoto | |
| 2017-12-18 | `open` on Windows takes `int` 3rd argument instead of `mode_t`. | Yukihiro "Matz" Matsumoto | |
| 2017-12-18 | Use `_dup` instead of `dup` on Windows; ref #3903 | Yukihiro "Matz" Matsumoto | |
| 2017-12-17 | Implement IO#initialize_copy | ksss | |
| 2017-12-14 | Initialized mrb_io.is_socket | Hiroshi Mimaki | |
