summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-12-12Specify the core library instead of the external library.icm7216
2018-12-12Sleep module is undefined. Remove module name.icm7216
2018-12-11Merge pull request #4184 from mruby/stableYukihiro "Matz" Matsumoto
Release mruby 2.0.0
2018-12-11Avoid using floating point number for HT_SEG_INCREASE_RATIO; ref #4182Yukihiro "Matz" Matsumoto
2018-12-11Update release date.2.0.0Hiroshi Mimaki
2018-12-11Rename `ht_foreach_func` to `mrb_hash_foreach_func`.Yukihiro "Matz" Matsumoto
2018-12-11Add `mrb_` prefix to `iv_foreach_func`.Yukihiro "Matz" Matsumoto
2018-12-11Add new API `mrb_iv_foreach()` to iterate over instance variables.Yukihiro "Matz" Matsumoto
2018-12-11Update `iv_foreach()` function.Yukihiro "Matz" Matsumoto
* return `void` instead of `mrb_bool'. * non zero return value from `func` breaks the loop. * no longer remove items on negative return value from `func`.
2018-12-11Fixed missing comma in mruby/mirb usage.Hiroshi Mimaki
2018-12-11Update comments.Yukihiro "Matz" Matsumoto
2018-12-11Add API function `mrb_hash_foreach()` to iterate over items in a hash.Yukihiro "Matz" Matsumoto
2018-12-10Need to clear stack before invoking a block; fix #4181Yukihiro "Matz" Matsumoto
2018-12-06Support lock file for git.take-cheeze
2018-12-05ossfuzz: Moved config related files to a namesake directory under ossfuzzBhargava Shastry
2018-12-05ossfuzz: Add fuzzing dictionary for mruby.Bhargava Shastry
2018-12-05ossfuzz: Add simple mruby compile test harnessBhargava Shastry
2018-12-04Add new methods `Module#{>,>=,<=>}`; ref #4174Yukihiro "Matz" Matsumoto
2018-12-04Remove unnecessary check in `Module#<`; ref #4174Yukihiro "Matz" Matsumoto
2018-12-04Replace RDoc `<i></i>` to Markdown back quotes; ref #4174Yukihiro "Matz" Matsumoto
2018-12-04Merge pull request #4174 from robfors/module_operatorsYukihiro "Matz" Matsumoto
Adds Module#< and Module#<=
2018-12-02Adds Module#< and Module#<=Rob
2018-11-27Merge branch 'master' into stableHiroshi Mimaki
2018-11-25Update `doc/limitations.md` for argument destructuring.Yukihiro "Matz" Matsumoto
2018-11-25Allow destructuring in formal arguments.Yukihiro "Matz" Matsumoto
e.g. ``` def m(a,(b,c),d); p [a,b,c,d]; end m(1,[2,3],4) # => [1,2,3,4] ``` mruby limitation: Destructured arguments (`b` and `c` in above example) cannot be accessed from the default expression of optional arguments and keyword arguments, since actual assignment is done after the evaluation of those default expressions. Thus: ``` def f(a,(b,c),d=b) p [a,b,c,d] end f(1,[2,3]) ``` raises `NoMethodError` for `b` in mruby.
2018-11-25Remove redundant rules from `parse.y`.Yukihiro "Matz" Matsumoto
2018-11-25Fix wrong number of arguments in `Array#fetch`; fix #4170Yukihiro "Matz" Matsumoto
2018-11-25Protect from exceptions raised outside of `mrb_vm_run()`.Yukihiro "Matz" Matsumoto
It can happen if signals are used (e.g. from `mruby-alarm` gem).
2018-11-25Remove `do { ... } while(0)` hacks from `MRB_TRY` macros.Yukihiro "Matz" Matsumoto
Because it can swallow `break` etc. if they are used in loops.
2018-11-22Fix mruby-socket test failure on MinGW.Hiroshi Mimaki
2018-11-21Merge pull request #4168 from robfors/docYukihiro "Matz" Matsumoto
Add documentation to mrb_load_irep
2018-11-20Update documentation to mrb_load_irepRob Fors
2018-11-20Update version number; fix #4165Yukihiro "Matz" Matsumoto
2018-11-20Fixed a bug in `mirb` heredoc handling; fix #3989Yukihiro "Matz" Matsumoto
2018-11-20Stop special treating of `\r` in the lexer; fix #4132Yukihiro "Matz" Matsumoto
2018-11-20Restrict total recursion number of `ecall()`; fix #3789Yukihiro "Matz" Matsumoto
2018-11-19Add `-fpermissive` to C++ compiler flags.Yukihiro "Matz" Matsumoto
2018-11-19Call `mrb_str_to_str` from `mrb_string_value_ptr` for compatibility.Yukihiro "Matz" Matsumoto
2018-11-19Restore `mrb_string_type` function for compatibility.Yukihiro "Matz" Matsumoto
2018-11-19Add Hash type check for `OP_KARG` and `OP_KEY_P`; ref #4166Yukihiro "Matz" Matsumoto
2018-11-19Need to keep rooms for empty splat; fix #4166Yukihiro "Matz" Matsumoto
2018-11-19Adjust codedump output format; ref #4166Yukihiro "Matz" Matsumoto
2018-11-19Use type checking `mrb_to_str` instead of converting `mrb_str_to_str`.Yukihiro "Matz" Matsumoto
2018-11-19Avoid assignments from type checking `String#__to_str`.Yukihiro "Matz" Matsumoto
2018-11-19Removed `to_hash` conversion method.Yukihiro "Matz" Matsumoto
2018-11-19Removed `to_ary` conversion method.Yukihiro "Matz" Matsumoto
2018-11-19Removed `try_convert` method from Array and Hash.Yukihiro "Matz" Matsumoto
2018-11-19Removed `String#try_convert` method from `mruby-string-ext` gem.Yukihiro "Matz" Matsumoto
Because `try_convert` method rarely used in production. For mruby users, we have `__to_str` utility method to check string type.
2018-11-19Remove implicit conversion using `to_str` method; fix #3854Yukihiro "Matz" Matsumoto
We have added internal convenience method `__to_str` which does string type check. The issue #3854 was fixed but fundamental flaw of lack of stack depth check along with fibers still remains. Use `MRB_GC_FIXED_ARENA` for workaround.
2018-11-19Remove implicit conversion using `to_int` method.Yukihiro "Matz" Matsumoto
The ISO standard does not include implicit type conversion using `to_int`. This implicit conversion often causes vulnerability. There will be no more attacks like #4120. In addition, we have added internal convenience method `__to_int` which does type check and conversion (from floats).