summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2019-04-14Merge pull request #4378 from dearblue/memleak-hashtableYukihiro "Matz" Matsumoto
Fix memory leak for hash table index if occur out of memory
2019-04-14Merge pull request #4377 from dearblue/wrong-iv-sizeYukihiro "Matz" Matsumoto
Fix wrong size of instance variable if occur out of memory
2019-04-14Merge pull request #4376 from dearblue/leak-symbolsYukihiro "Matz" Matsumoto
Fix leaked function symbols
2019-04-14Merge pull request #4375 from dearblue/forgotten-structsYukihiro "Matz" Matsumoto
Include `RFiber` and `RIstruct` as a part of `RVALUE`
2019-04-14Merge pull request #4374 from dearblue/hexdumpYukihiro "Matz" Matsumoto
Fix hexdigits convertion
2019-04-14Add `assert_match` and `assert_not_match`KOBAYASHI Shuji
2019-04-14Fix memory leak for hash table index if occur out of memorydearblue
2019-04-14Fix wrong size of instance variable if occur out of memorydearblue
2019-04-14Remove pointer check after `mrb_malloc()`dearblue
2019-04-14Fix leaked function symbolsdearblue
- `free_heap()` in src/gc.c - `symhash()` in src/symbol.c - `no_optimize()` in mrbgems/mruby-compiler/core/codegen.c
2019-04-14Fix string index for appendingdearblue
`sizeof(string-literal)` is included `'\0'` character
2019-04-14Fix hexdigits convertiondearblue
2019-04-14Include `RFiber` and `RIstruct` as a part of `RVALUE`dearblue
2019-04-14Merge pull request #4373 from shuujii/fix-broken-NaN-with-MRB_NAN_BOXINGYukihiro "Matz" Matsumoto
Fix broken NaN with `MRB_NAN_BOXING`
2019-04-13Fix broken NaN with `MRB_NAN_BOXING`KOBAYASHI Shuji
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.
2019-04-12Small refactoring in `mrb_funcall_with_block`.Yukihiro "Matz" Matsumoto
2019-04-12Merge pull request #4372 from shuujii/refine-assert_floatYukihiro "Matz" Matsumoto
Refine `assert_float`
2019-04-12Deallocate `s->lines` in `codegen_error`; ref #4370Yukihiro "Matz" Matsumoto
2019-04-12The number of local variables should be less than 1024; fix #4370Yukihiro "Matz" Matsumoto
The `env` stores stack length in a 10 bit field. See `MRB_ENV_STACK_LEN()` macro.
2019-04-12Refine `assert_float`KOBAYASHI Shuji
Avoid arithmetic operations when `exp` and/or `act` are infinity or NaN.
2019-04-12Merge pull request #4369 from ↵Yukihiro "Matz" Matsumoto
shuujii/remove-incorrect-flags-updating-in-mrb_regexp_p Remove incorrect flags updating in `mrb_regexp_p()`
2019-04-12Merge pull request #4371 from clayton-shopify/fix-buffer-overflowsYukihiro "Matz" Matsumoto
Fix buffer overflows in parser.
2019-04-11Fix buffer overflows in parser.Clayton Smith
2019-04-11Remove incorrect flags updating in `mrb_regexp_p()`KOBAYASHI Shuji
2019-04-10Merge pull request #4368 from ↵Yukihiro "Matz" Matsumoto
shuujii/use-mrb_immediate_p-in-mrb_obj_freeze-and-mrb_obj_frozen Use `mrb_immediate_p()` in `mrb_obj_freeze()` and `mrb_obj_frozen()`
2019-04-10Use `mrb_immediate_p()` in `mrb_obj_freeze()` and `mrb_obj_frozen()`KOBAYASHI Shuji
2019-04-10Remove too aggressive `initialize` call in `mrb_instance_new`.Yukihiro "Matz" Matsumoto
2019-04-10Remove `MRB_API` from `mrb_instance_new`.Yukihiro "Matz" Matsumoto
2019-04-10Merge pull request #4367 from shuujii/extract-frozen-checking-to-functionYukihiro "Matz" Matsumoto
Extract frozen checking to function
2019-04-10Merge pull request #4366 from shuujii/remove-unneeded-function-prototypesYukihiro "Matz" Matsumoto
Remove unneeded function prototypes
2019-04-10Fixed old style declaration; ref #4365Yukihiro "Matz" Matsumoto
2019-04-10Rename `itoa` to `dump_int` to avoid name crash; ref #4173Yukihiro "Matz" Matsumoto
2019-04-10Use the old style declaration; ref #4365Yukihiro "Matz" Matsumoto
2019-04-09Extract frozen checking to functionKOBAYASHI Shuji
2019-04-08Remove unneeded function prototypesKOBAYASHI Shuji
2019-04-08Avoid infinite loop when no `Regexp` class is available; fix #4363Yukihiro "Matz" Matsumoto
2019-04-08Avoid using `snprintf` when `MRB_DISABLE_STDIO` is set; fix #4173Yukihiro "Matz" Matsumoto
2019-04-08Fix C99 style inline declaration; fix #4365Yukihiro "Matz" Matsumoto
2019-04-07Merge pull request #4364 from shuujii/fix-test-for-Array-sliceYukihiro "Matz" Matsumoto
Fix test for `Array#slice`
2019-04-07Fix test for `Array#slice`KOBAYASHI Shuji
2019-04-06Merge pull request #4362 from ↵Yukihiro "Matz" Matsumoto
shuujii/move-Array-append-prepend-from-core-to-mruby-ary-ext Move `Array#(append|prepend)` from core to `mruby-ary-ext`
2019-04-06Merge pull request #4361 from shuujii/remove-unused-mrb_proc_cfunc_pYukihiro "Matz" Matsumoto
Remove unused `mrb_proc_cfunc_p()`
2019-04-06Move `Array#(append|prepend)` from core to `mruby-ary-ext`KOBAYASHI Shuji
They are not included in ISO standard.
2019-04-06Remove unused `mrb_proc_cfunc_p()`KOBAYASHI Shuji
2019-04-05Merge pull request #4360 from ↵Yukihiro "Matz" Matsumoto
shuujii/use-Module-alias_method-should-return-self-in-ISO-standard `Module#alias_method` should return `self` in ISO standard
2019-04-05`Module#alias_method` should return `self` in ISO standardKOBAYASHI Shuji
2019-04-05Merge pull request #4357 from mruby/stableYukihiro "Matz" Matsumoto
Update version and release date. `mruby 2.0.1 (2019-4-4)`
2019-04-05Merge pull request #4358 from ↵Yukihiro "Matz" Matsumoto
shuujii/use-mrb_proc_arity-instead-of-Proc-arity-call-in-Method-arity Use `mrb_proc_arity` instead of `Proc#arity` call in `Method#arity`
2019-04-05Merge pull request #4355 from ↵Yukihiro "Matz" Matsumoto
shuujii/modify-else-and-endif-annotations-in-src-fmt_fp.c Modify `#else` and `#endif` annotations in `src/fmt_fp.c` [ci skip]
2019-04-04Use `mrb_proc_arity` instead of `Proc#arity` call in `Method#arity`KOBAYASHI Shuji