| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-04-05 | Merge 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 standard | KOBAYASHI Shuji | |
| 2019-04-05 | Merge pull request #4357 from mruby/stable | Yukihiro "Matz" Matsumoto | |
| Update version and release date. `mruby 2.0.1 (2019-4-4)` | |||
| 2019-04-05 | Merge 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-05 | Merge 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-04 | Use `mrb_proc_arity` instead of `Proc#arity` call in `Method#arity` | KOBAYASHI Shuji | |
| 2019-04-04 | Update version and release date.2.0.1 | Hiroshi Mimaki | |
| `mruby 2.0.1 (2019-4-4)` | |||
| 2019-04-04 | Merge pull request #4354 from shuujii/remove-unnecessary-_set_output_format-call | Yukihiro "Matz" Matsumoto | |
| Remove unnecessary `_set_output_format` call | |||
| 2019-04-03 | Modify `#else` and `#endif` annotations in `src/fmt_fp.c` [ci skip] | KOBAYASHI Shuji | |
| 2019-04-03 | Remove unnecessary `_set_output_format` call | KOBAYASHI Shuji | |
| Three-digit exponent issue was fixed via another workaround (63b8f5c). | |||
| 2019-04-02 | Merge pull request #4353 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/pad-leading-zero-to-month-and-day-in-MRUBY_RELEASE_DATE Pad leading zero to month and day in `MRUBY_RELEASE_DATE` | |||
| 2019-04-02 | Pad leading zero to month and day in `MRUBY_RELEASE_DATE` | KOBAYASHI Shuji | |
| For Ruby compatibility. | |||
| 2019-04-02 | Merge pull request #4352 from shuujii/fix-modifiable-class-name | Yukihiro "Matz" Matsumoto | |
| Fix modifiable class name | |||
| 2019-04-01 | Fix modifiable class name | KOBAYASHI Shuji | |
| Fix the following example: Object.const_set :A, Module.new{const_set :B, Class.new} ab = A::B.to_s p ab #=> "A::B" # Good ab[0] = "x" p A::B.to_s #=> "x::B" # Bad | |||
| 2019-04-01 | Avoid keeping pointers from `mrb_sym2name_len()`; fix #4342 | Yukihiro "Matz" Matsumoto | |
| The addresses for packed inline symbols reference `mrb->symbuf` that could be overridden by the later call of `mrb_sym2name_len`. Since file names in call stack information are kept as symbols, keeping the address in the C structures could cause problems like #4342. This changes small incompatible changes in function prototypes: * `mrb_parser_get_filename`: return value changed to `mrb_sym`. * `mrb_debug_get_filename`: add `mrb_state*` as a first argument. * `mrb_debug_get_line`: ditto. I believe above functions are almost internal, and no third-party mrbgem use them. | |||
| 2019-03-31 | Merge pull request #4351 from shuujii/fix-warning-interpreted-as-argument-prefix | Yukihiro "Matz" Matsumoto | |
| Fix warning: '*' interpreted as argument prefix | |||
| 2019-03-31 | Fix warning: '*' interpreted as argument prefix | KOBAYASHI Shuji | |
| 2019-03-30 | Merge pull request #4349 from shuujii/add-pass-and-flunk-to-test-assert.rb | Yukihiro "Matz" Matsumoto | |
| Add `pass` and `flunk` to `test/assert.rb` | |||
| 2019-03-30 | Add `pass` and `flunk` to `test/assert.rb` | KOBAYASHI Shuji | |
| 2019-03-29 | Merge pull request #4348 from shuujii/fix-missing-assertions-in-mruby-math-test | Yukihiro "Matz" Matsumoto | |
| Fix missing assertions in `mruby-math` test | |||
| 2019-03-29 | Merge pull request #4347 from iij/include-stdarg-in-mruby-h | Yukihiro "Matz" Matsumoto | |
| fixes build on OpenBSD. | |||
| 2019-03-29 | va_list is defined in stdarg.h. | Tomoyuki Sahara | |
| fixes build on OpenBSD. | |||
| 2019-03-29 | Fix missing assertions in `mruby-math` test | KOBAYASHI Shuji | |
| 2019-03-28 | Use `Mrbtest::FLOAT_TOLERANCE` instead of `Math::TORELANCE`; ref #4345 | Yukihiro "Matz" Matsumoto | |
| 2019-03-28 | Break loop whem `sum==0` to avoid zero division; ref #4345 | Yukihiro "Matz" Matsumoto | |
| 2019-03-28 | Use `DBL_EPSILON` instead of `1E-12`; ref #4345 | Yukihiro "Matz" Matsumoto | |
| 2019-03-28 | Merge pull request #4346 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/use-mrb_sym2str-in-implementation-of-symbol-to_s Use `mrb_sym2str` in implementation of `Symbol#to_s` | |||
| 2019-03-28 | Use `mrb_sym2str` in implementation of `Symbol#to_s` | KOBAYASHI Shuji | |
| 2019-03-28 | Fixed mistakes in 92dce05 | Yukihiro "Matz" Matsumoto | |
| * rename `sym2name` to `sym2name_len`. * `MRB_API` -> `static` | |||
| 2019-03-27 | Merge pull request #4344 from shuujii/remove-unused-variable-in-each_backtrace | Yukihiro "Matz" Matsumoto | |
| Remove unused variable in `each_backtrace()` | |||
| 2019-03-27 | Remove unused variable in `each_backtrace()` | KOBAYASHI Shuji | |
| 2019-03-27 | Fix another bug related to #4342 | Yukihiro "Matz" Matsumoto | |
| For short symbols with alpha numeric characters, `mrb_sym2name_len()` returns the same buffer `mrb->symbuf`. Some occasion, we forget the fact that the second call could overwrite the result of first call of the function. We have prepared the static function `sym2name()` which specifies the buffer region for inline packed symbols and use the function in `mrb_sym_to_s`. | |||
| 2019-03-27 | Avoid using 'mrb_str_new_static` if a symbol is packed; fix #4342 | Yukihiro "Matz" Matsumoto | |
| 2019-03-27 | Merge pull request #4343 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/fix-dealing-with-infinity-and-NaN-in-assert_float Fix dealing with infinity and NaN in `test/assert.rb:assert_float` | |||
| 2019-03-26 | Fix dealing with infinity and NaN in `test/assert.rb:assert_float` | KOBAYASHI Shuji | |
| `assert_float` is always passed when expected value and/or actual value are infinity or NaN. This behavior seems unintentional. Before this patch: assert_float(Float::INFINITY, 1.0) #=> pass assert_float(-Float::INFINITY, 1) #=> pass assert_float(1, 1/0) #=> pass assert_float(1, -1/0) #=> pass assert_float(1.0, Float::NAN) #=> pass assert_float(Float::NAN, 1) #=> pass After this patch: assert_float(Float::INFINITY, 1.0) #=> fail: Expected 1.0 to be Infinity. assert_float(-Float::INFINITY, 1) #=> fail: Expected 1 to be -Infinity. assert_float(1, 1/0) #=> fail: Expected Infinity to be 1. assert_float(1, -1/0) #=> fail: Expected -Infinity to be 1. assert_float(1.0, Float::NAN) #=> fail: Expected NaN to be 1.0. assert_float(Float::NAN, 1) #=> fail: Expected 1 to be NaN. | |||
| 2019-03-26 | Fix missing `MRB_API` prefix for functions below; clse #4267 | Yukihiro "Matz" Matsumoto | |
| Functions to add prototypes to headers: * mrb_ary_splice() * mrb_notimplement() * mrb_vformat() * mrb_cstr_to_dbl() * mrb_cstr_to_inum() Functions to be made `static` (`MRB_API` was not needed): * mrb_mod_module_function() * mrb_obj_hash() * mrb_str_len_to_inum() Functions to remove `MRB_API` from definitions (referenced from within `libmruby`): * mrb_mod_cv_defined() * mrb_mod_cv_get() * mrb_f_send() | |||
| 2019-03-25 | Use uppercase version of `ctype` macros e.g. `ISSPACE`; fix #4338 | Yukihiro "Matz" Matsumoto | |
| 2019-03-25 | Merge pull request #4341 from shuujii/remove-implementation-of-Symbol-eqq | Yukihiro "Matz" Matsumoto | |
| Remove implementation of `Symbol#===` | |||
| 2019-03-25 | Remove implementation of `Symbol#===` | KOBAYASHI Shuji | |
| For reducing program size. | |||
| 2019-03-25 | Need to check length before packing a symbol; fix #4340 | Yukihiro "Matz" Matsumoto | |
| 2019-03-25 | Update float test values to avoid precision errors. | Yukihiro "Matz" Matsumoto | |
| 2019-03-25 | Avoid infinite binary floating numbers in `float`. | Yukihiro "Matz" Matsumoto | |
| 2019-03-24 | Merge pull request #4339 from shuujii/fix-arguments-spec-in-src-proc.c | Yukihiro "Matz" Matsumoto | |
| Fix arguments spec in `src/proc.c` | |||
| 2019-03-24 | Merge pull request #4337 from shuujii/refactor-t_print-for-test | Yukihiro "Matz" Matsumoto | |
| Refactor `t_print` for test | |||
| 2019-03-24 | Fix arguments spec in `src/proc.c` | KOBAYASHI Shuji | |
| 2019-03-23 | Refactor `t_print` for test | KOBAYASHI Shuji | |
| 2019-03-22 | Merge pull request #4336 from shuujii/simplify-assert_step | Yukihiro "Matz" Matsumoto | |
| Simplify `assert_step` in `test/t/numeric.rb` | |||
| 2019-03-22 | Simplify `assert_step` in `test/t/numeric.rb` | KOBAYASHI Shuji | |
| 2019-03-22 | Merge pull request #4334 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/remove-redundant-content-in-assertion-failure-message-and-diff Remove redundant content in assertion failure message and diff | |||
| 2019-03-22 | Merge pull request #4335 from shuujii/fix-Float-eql | Yukihiro "Matz" Matsumoto | |
| Fix `Float#eql?` | |||
