- 13 Sep, 2019 3 commits
-
-
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 7 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
The `Rakefile` was a leftover from the time it was an independent gem.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
E.g. `io.read(5)` should read 5 byte string, not 5 characters.
-
Yukihiro "Matz" Matsumoto authored
Unlike CRuby, there's no way to process strings byte-wise by core methods because there's no per string encoding in mruby, so that we moved 3 byte-wise operation methods from `mruby-string-ext` gem.
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4701 from shuujii/drop-test-dependency-from-mruby-string-ext-to-mruby-enumerator Drop test dependency from `mruby-string-ext` to `mruby-enumerator`
-
KOBAYASHI Shuji authored
-
- 10 Sep, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Refine documentation for C99 compliance; ref #4685 [ci skip]
-
KOBAYASHI Shuji authored
The refinement was based on comment from @matz.
-
Yukihiro "Matz" Matsumoto authored
add special local variable _ in mirb
-
- 09 Sep, 2019 6 commits
-
-
takkaw authored
-
Yukihiro "Matz" Matsumoto authored
The fix was based on PR from @dearblue
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Fix `Class.new` argument specs
-
takkaw authored
-
KOBAYASHI Shuji authored
-
- 08 Sep, 2019 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix `mrb_vformat()` crashes with `MRB_INT16`
-
Yukihiro "Matz" Matsumoto authored
Optimize `mrb_bool()` with `MRB_WORD_BOXING`
-
dearblue authored
If `MRB_INT16` is specified, the variable length argument `mrb_int` is converted to `int`.
-
KOBAYASHI Shuji authored
-
- 07 Sep, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Since in mruby, Integer and Float interchange frequently (mostly on overflow), so adding explicit `.0` can cause problems sometimes. For example: https://github.com/mattn/mruby-json/pull/40 https://github.com/pepabo/mruby-msd/pull/13 https://github.com/mattn/mruby-json/pull/42
-
Yukihiro "Matz" Matsumoto authored
Increase symbol bit size on 32-bit mode with `MRB_WORD_BOXING`
-
KOBAYASHI Shuji authored
This change increases the max length of lower inline symbols to 5 bytes.
-
- 06 Sep, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Avoid bit fields in `mrb_value`; ref b2c3d88f
-
KOBAYASHI Shuji authored
The changes at b2c3d88f were inappropriate because the memory layout of bit fields are implementation defined. Therefor, I fixed it not to use bit fields.
-
- 05 Sep, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4691 from shuujii/fix-Range-max-test-TypeError-is-raised-on-32-bit-mode-with-word-boxing Fix `Range#max` test (`TypeError` is raised) on 32-bit mode with word boxing
-
Yukihiro "Matz" Matsumoto authored
Add `assert_not_nil` method
-
takumakume authored
-