- 16 Sep, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 15 Sep, 2019 9 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
dearblue authored
Character (multi-byte UTF-8) is destroyed when character spanning `IO::BUF_SIZE` (4096 bytes) exist. - Prepare file: ```ruby File.open("sample", "wb") { |f| f << "●" * 1370 } ``` - Before patched: ```ruby File.open("sample") { |f| a = []; while ch = f.getc; a << ch; end; p a } # => ["●", "●", ..., "●", "\xe2", "\x97", "\x8f", "●", "●", "●", "●"] - After patched: ```ruby File.open("sample") { |f| a = []; while ch = f.getc; a << ch; end; p a } # => ["●", "●", ..., "●", "●", "●", "●", "●", "●"]
-
dearblue authored
-
dearblue authored
-
dearblue authored
`IO#readline` and `IO#readchar` process in character units.
-
Yukihiro "Matz" Matsumoto authored
Support parsing a Regexp literal with 'o' option
-
Yukihiro "Matz" Matsumoto authored
Refactor `mrb_type` in `include/mruby/boxing_word.h`
-
KOBAYASHI Shuji authored
-
- 14 Sep, 2019 13 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
`byteslice` creates 2 string objects. `_bufread` creates one, and modifies the original buffer string, that is more efficient.
-
Yukihiro "Matz" Matsumoto authored
Use `%C` to `mrb_name_error` in `mrb_method_search`; ref 5890c7d5
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
The `bison` on MacOS does not support `%define api.pure`. This reverts commit f7c9f1f7.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
In the typical case, `mrb_funcall` invocation would be skipped.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 13 Sep, 2019 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
Revert part of "Refine `tasks/toolchains/(gcc|clang).rake`" (07c6b7f0)
-
KOBAYASHI Shuji authored
`-Wzero-length-array` is not a mandatory option, so the original is better.
-
Yukihiro "Matz" Matsumoto authored
Fix warnings for invalid C++ option with `enable_cxx_abi`; ref #3618, #4703
-
KOBAYASHI Shuji authored
-
- 12 Sep, 2019 9 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
To stop warnings since C++ do not accept `-std=gnu99` option.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Refine `tasks/toolchains/(gcc|clang).rake`
-
KOBAYASHI Shuji authored
- Make sure to specify `-std=gnu99` for C compiler flag. - Make sure to specify `-Wzero-length-array` for C/C++ compiler flag (Clang). - Extract similar codes.
-
Yukihiro "Matz" Matsumoto authored
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.
-
Yukihiro "Matz" Matsumoto authored
Add paragraph mode to String#each_line in mrblib
-
Yukihiro "Matz" Matsumoto authored
-
- 11 Sep, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
The `Rakefile` was a leftover from the time it was an independent gem.
-