| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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 | Remove unused local variable if `MRB_UTF8_STRING` is not set. | Yukihiro "Matz" Matsumoto | |
| Ref #4982 #4983 | |||
| 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-07 | Fix `IO#readchar` to return broken UTF-8 rather than `EOF` error. | Yukihiro "Matz" Matsumoto | |
| The behavior is different from CRuby, but we believe this is a right behavior for mruby, which only supports either ASCII or UTF-8 exclusively; fix #4983, ref #4982 ``` $ printf '\xe3\x81' | ruby -e 'p STDIN.readchar' "\xE3\x81" ``` ``` $ printf '\xe3\x81' | mruby -e 'p STDIN.readchar' "\xE3" ``` | |||
| 2020-05-07 | Fix `IO#readchar` to support UTF-8 char reading; fix #4712 | Yukihiro "Matz" Matsumoto | |
| This fix only effective when `MRB_UTF8_STRING` is set. | |||
| 2020-05-07 | Rename (and expose) UTF-8 related functions; ref #4712 | Yukihiro "Matz" Matsumoto | |
| - mrb_utf8len() - returns the size of a UTF-8 char (in bytes) - mrb_utf8_strlen() - returns the length of a UTF-8 string (in char) | |||
| 2020-05-01 | Fix `_read_buf` to be more efficient; fix #4982 | Yukihiro "Matz" Matsumoto | |
| The bug was introduced by #4712. The `getc' problem resurrected. It should be addressed soon. | |||
| 2020-05-01 | Fix `IO#sysread` to update buffer string on `EOF`; ref #4982 | Yukihiro "Matz" Matsumoto | |
| 2020-05-01 | Update `IO#ungetc` to keep `@buf` string; ref #4982 | 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-04 | Unused library folder | Reckordp | |
| 2020-04-04 | Correct naming file from Mingw | Reckordp | |
| 2020-04-03 | Helper for link window's library | Reckordp | |
| 2020-04-01 | Avoid unnecessary `nextc()` recursion. | Yukihiro "Matz" Matsumoto | |
| 2020-03-30 | Fix NULL pointer dereferences in mrb_local_variables; fix #4955 | dearblue | |
| However, the behavior of `#call` on the method object of `local_variables` is not corrected. | |||
| 2020-03-08 | Add configuration guard for `MRB_DISABLE_STDIO` | dearblue | |
| ref #4576 and ref #4947 * Need MRBAPI functions without `MRB_DISABLE_STDIO`: * mrbgems/mruby-bin-debugger * mrbgems/mruby-bin-mirb * mrbgems/mruby-bin-mrbc * mrbgems/mruby-bin-mruby * mrbgems/mruby-bin-strip * Need `stdio.h`: * mrbgems/mruby-io * mrbgems/mruby-print * Need `snprintf()` in `stdio.h`: * mrbgems/mruby-pack * mrbgems/mruby-sprintf | |||
| 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-03-08 | Improve conflict error message of mruby-bin-debugger; ref 87d1b2a91 | dearblue | |
| 2020-03-08 | Merge branch 'master' into BuildAndroid | Yukihiro "Matz" Matsumoto | |
| 2020-03-08 | Small refactoring on #4952 | Yukihiro "Matz" Matsumoto | |
| Fix the argument of `mrb_file_is_absolute_path()`. | |||
| 2020-03-08 | Increase flexibility of CrossBuild | Reckordp | |
| 2020-03-08 | Traditional, UNC, and Device Is Absolute? | Reckordp | |
| 2020-03-08 | Commit from remote | Reckordp | |
| 2020-03-08 | Evaluate all type path | Reckordp | |
| 2020-03-07 | Small refactoring on #4939 | Yukihiro "Matz" Matsumoto | |
| 2020-03-07 | Use in-house macro `ISALPHA` instead of `isalpha`; ref #4950 | Yukihiro "Matz" Matsumoto | |
| 2020-03-07 | Merge branch 'io-pread-pwrite' of https://github.com/dearblue/mruby into ↵ | Yukihiro "Matz" Matsumoto | |
| dearblue-io-pread-pwrite | |||
| 2020-03-07 | Add absolute path for UNC | Reckordp | |
| 2020-03-07 | Fix typo | Reckordp | |
| 2020-03-07 | Merge the update suggested by @mattn; ref #4950 | Yukihiro "Matz" Matsumoto | |
| 2020-03-07 | Merge pull request #4950 from Reckordp/master | Yukihiro "Matz" Matsumoto | |
| Absolute path for windows | |||
| 2020-03-07 | Absolute path for windows | Reckordp | |
| 2020-02-12 | Fix integer boundary check before `float` to `time_t` casting. | Yukihiro "Matz" Matsumoto | |
| 2020-02-05 | Merge pull request #4941 from davidsiaw/mac-compat | Yukihiro "Matz" Matsumoto | |
| Include time.h for ios | |||
| 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 | |
| 2020-01-31 | Add explicit casting in `file.c` to silence warnings. | Yukihiro "Matz" Matsumoto | |
| 2020-01-31 | Avoid casting warning from `mrb_int` to `int` in `io.c`. | Yukihiro "Matz" Matsumoto | |
| 2020-01-30 | Fix arena index type from `mrb_int` to just `int`. | Yukihiro "Matz" Matsumoto | |
| 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-21 | Delete duplicated `Array#delete_if` test. | Hiroshi Mimaki | |
| 2020-01-21 | Delete duplicated `Array#delete_if`. | Hiroshi Mimaki | |
| 2020-01-10 | Small refactoring in `hash_slice`; ref #4926 | Yukihiro "Matz" Matsumoto | |
