An error occurred fetching the project authors.
- 25 Jul, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
- stdlib.h - stddef.h - stdint.h - stdarg.h - limits.h - float.h
-
- 08 May, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
`gettimeofday` emulation needed no longer.
-
- 24 Apr, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 22 Apr, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 19 Apr, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
On configurations where `sizeof(mrb_int) > sizeof(int)`.
-
- 14 Mar, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
The issue was reported by @shuujii
-
- 08 Mar, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
`gmtime_r` detection logic was too strict.
-
Yukihiro "Matz" Matsumoto authored
-
- 03 Mar, 2021 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 01 Mar, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 28 Feb, 2021 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
The size and signedness of `mrb_int` and `time_t` may differ.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 26 Jan, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
This reverts commit dc51d89a.
-
- 22 Jan, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Instead of including `mruby/presym.h` everywhere, we provided the fallback `mruby/presym.inc` under `include/mruby` directory, and specify `-I<build-dir>/include` before `-I<top-dir>/include` in `presym.rake`. So even when someone drops `-I<build-dir>/include` in compiler options, it just compiles without failure.
-
- 11 Jan, 2021 1 commit
-
-
KOBAYASHI Shuji authored
Addressed an issue where existing programs linking `libmruby.a` could only be built by adding `<build-dir>/include` to compiler's include path.
-
- 21 Nov, 2020 1 commit
-
-
KOBAYASHI Shuji authored
| Previous Name | New Name | |------------------------------|-------------------------| | MRB_ENABLE_ALL_SYMBOLS | MRB_USE_ALL_SYMBOLS | | MRB_ENABLE_SYMBOLL_ALL | MRB_USE_ALL_SYMBOLS | | MRB_ENABLE_CXX_ABI | MRB_USE_CXX_ABI | | MRB_ENABLE_CXX_EXCEPTION | MRB_USE_CXX_EXCEPTION | | MRB_ENABLE_DEBUG_HOOK | MRB_USE_DEBUG_HOOK | | MRB_DISABLE_DIRECT_THREADING | MRB_NO_DIRECT_THREADING | | MRB_DISABLE_STDIO | MRB_NO_STDIO | | ENABLE_LINENOISE | MRB_USE_LINENOISE | | ENABLE_READLINE | MRB_USE_READLINE | | DISABLE_MIRB_UNDERSCORE | MRB_NO_MIRB_UNDERSCORE | | DISABLE_GEMS | MRB_NO_GEMS | * `MRB_ENABLE_SYMBOLL_ALL` seems to be a typo, so it is fixed. * `MRB_` prefix is added to those without. * The previous names can also be used for compatibility.
-
- 12 Oct, 2020 8 commits
-
-
Yukihiro "Matz" Matsumoto authored
`mrb_int()` includes implicit integer conversion, where `mrb_integer()` does not. In this case, we know `obj` is an integer before hand.
-
Yukihiro "Matz" Matsumoto authored
Where fixnum overflow can happen.
-
Yukihiro "Matz" Matsumoto authored
- 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()`
-
Yukihiro "Matz" Matsumoto authored
We still have `#define MRB_TT_FIXNUM MRB_TT_INTEGER` for compatibility.
-
Yukihiro "Matz" Matsumoto authored
- `MRB_WITHOUT_FLOAT` => `MRB_NO_FLOAT` - `MRB_USE_FLOAT` => `MRB_USE_FLOAT32` The former is to use `USE_XXX` naming convention. The latter is to make sure `float` is 32bit float and not floating point number in general.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
On platforms where `time_t` is unsigned, negative time can be a result of integer casting. Out-of-range error is too strict for those cases. This fix does not address wrong time value in `MRB_WORD_BOXING`. It will be addressed later (by introducing "big" integers).
-
Yukihiro "Matz" Matsumoto authored
-
- 20 Jun, 2020 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
`mrb_get_arg1()` raises `ArgumentError` if the method does not receive one argument. And replaces all `mrb_get_args(mrb, "o", &arg)` by the new function.
-
- 08 Mar, 2020 1 commit
-
-
dearblue authored
'stdio.h' is included in 'mruby.h' ('mrbconf.h'). However, keep 'stdio.h' used by mruby-test.
-
- 12 Feb, 2020 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 31 Dec, 2019 1 commit
-
-
KOBAYASHI Shuji authored
Silence the following warnings: ``` /mruby/mrbgems/mruby-time/src/time.c:260:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((MRB_INT_MAX > MRB_TIME_MAX && i > 0 && i > MRB_TIME_MAX) || ^ ```
-
- 05 Dec, 2019 1 commit
-
-
KOBAYASHI Shuji authored
-
- 03 Dec, 2019 1 commit
-
-
KOBAYASHI Shuji authored
Silence the following warnings: ``` /mruby/mrbgems/mruby-time/src/time.c:871:15: warning: result of comparison of constant 9223372036854775807 with expression of type 'time_t' (aka 'long') is always false [-Wtautological-constant-out-of-range-compare] if (tm->sec > MRB_INT_MAX || tm->sec < MRB_INT_MIN) { ~~~~~~~ ^ ~~~~~~~~~~~ /mruby/mrbgems/mruby-time/src/time.c:871:40: warning: result of comparison of constant -9223372036854775808 with expression of type 'time_t' (aka 'long') is always false [-Wtautological-constant-out-of-range-compare] if (tm->sec > MRB_INT_MAX || tm->sec < MRB_INT_MIN) { ~~~~~~~ ^ ~~~~~~~~~~~ /mruby/mrbgems/mruby-time/src/time.c:887:16: warning: result of comparison of constant 9223372036854775807 with expression of type 'time_t' (aka 'long') is always false [-Wtautological-constant-out-of-range-compare] if (tm->usec > MRB_INT_MAX || tm->usec < MRB_INT_MIN) { ~~~~~~~~ ^ ~~~~~~~~~~~ /mruby/mrbgems/mruby-time/src/time.c:887:42: warning: result of comparison of constant -9223372036854775808 with expression of type 'time_t' (aka 'long') is always false [-Wtautological-constant-out-of-range-compare] if (tm->usec > MRB_INT_MAX || tm->usec < MRB_INT_MIN) { ~~~~~~~~ ^ ~~~~~~~~~~~ ```
-
- 02 Dec, 2019 1 commit
-
-
KOBAYASHI Shuji authored
Silence the following warning: ``` /mruby/mrbgems/mruby-time/src/time.c:258:60: warning: result of comparison of constant -9223372036854775808 with expression of type 'mrb_int' (aka 'int') is always false [-Wtautological-constant-out-of-range-compare] if ((mrb_time_int)i > MRB_TIME_MAX || MRB_TIME_MIN > i) { ~~~~~~~~~~~~ ^ ~ ```
-
- 31 Oct, 2019 1 commit
-
-
KOBAYASHI Shuji authored
- `Fixnum#to_s`, `Fixnum#inspect` - `Float#to_s`, `Float#inspect` - `NilClass#to_s`, `NilClass#inspect` - `FalseClass#to_s`, `FalseClass#inspect` - `TrueClass#to_s`, `TrueClass#inspect` - `Time#to_s`, `Time#inspect`
-
- 10 Oct, 2019 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-