- 19 Apr, 2019 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
Add type check (conversion) in `String#[]=`
-
Yukihiro "Matz" Matsumoto authored
Add `mrb_true_p()` and `mrb_false_p()` macro functions
-
dearblue authored
-
KOBAYASHI Shuji authored
Before this patch: 'a'[0] = 1 #=> 1 'a'[:a] = '1' #=> ArgumentError 'a'[:a, 0] = '1' #=> ArgumentError 'a'[0, :a] = '1' #=> ArgumentError 'a'[0, 1] = 1 #=> 1 After this patch / Ruby: 'a'[0] = 1 #=> TypeError 'a'[:a] = '1' #=> TypeError 'a'[:a, 0] = '1' #=> TypeError 'a'[0, :a] = '1' #=> TypeError 'a'[0, 1] = 1 #=> TypeError
-
Yukihiro "Matz" Matsumoto authored
Remove duplicated `include Comparable` in `mrblib/string.rb`
-
- 18 Apr, 2019 1 commit
-
-
KOBAYASHI Shuji authored
-
- 17 Apr, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Add `Array#sample` test
-
KOBAYASHI Shuji authored
And simplify tests for `Array#shuffle` and `Array#shuffle!`.
-
- 16 Apr, 2019 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
Avoid potential zero size array declaration; fix #4382
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Fix test in mruby-io
-
Shokuji authored
-
- 15 Apr, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix missing assertions in `mruby-random` test
-
KOBAYASHI Shuji authored
-
Shouji Kuboyama authored
-
- 14 Apr, 2019 16 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4379 from shuujii/extract-similar-codes-to-macros-for-math-opcode-in-mrb_vm_exec Extract similar codes to macros for math opcode in `mrb_vm_exec()`
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Fix memory leak for hash table index if occur out of memory
-
Yukihiro "Matz" Matsumoto authored
Fix wrong size of instance variable if occur out of memory
-
Yukihiro "Matz" Matsumoto authored
Fix leaked function symbols
-
Yukihiro "Matz" Matsumoto authored
Include `RFiber` and `RIstruct` as a part of `RVALUE`
-
Yukihiro "Matz" Matsumoto authored
Fix hexdigits convertion
-
dearblue authored
-
dearblue authored
-
dearblue authored
-
dearblue authored
- `free_heap()` in src/gc.c - `symhash()` in src/symbol.c - `no_optimize()` in mrbgems/mruby-compiler/core/codegen.c
-
dearblue authored
`sizeof(string-literal)` is included `'\0'` character
-
dearblue authored
-
dearblue authored
-
Yukihiro "Matz" Matsumoto authored
Fix broken NaN with `MRB_NAN_BOXING`
-
- 13 Apr, 2019 1 commit
-
-
KOBAYASHI Shuji authored
Example: $ bin/mruby -e '(Float::INFINITY - Float::INFINITY).nan?' zsh: segmentation fault Cause: `SET_FLOAT_VALUE` is not used. It is needed for normalizing NaN. Treatment: In my environment, this issue could be reproduced only when `infinity - infinity`, however `SET_FLOAT_VALUE` should be used in all arithmetic operations (regardless of boxing setting), I think. So I fixed all similar codes by extracting to macro.
-
- 12 Apr, 2019 7 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Refine `assert_float`
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
The `env` stores stack length in a 10 bit field. See `MRB_ENV_STACK_LEN()` macro.
-
KOBAYASHI Shuji authored
Avoid arithmetic operations when `exp` and/or `act` are infinity or NaN.
-
Yukihiro "Matz" Matsumoto authored
Remove incorrect flags updating in `mrb_regexp_p()`
-
Yukihiro "Matz" Matsumoto authored
Fix buffer overflows in parser.
-