| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-10-12 | Generate C struct from `irep` instead of binary dump. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Add `const` modifier to `mrb_irep` for `code_fetch_hook`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Change the arguments of following implicit conversion functions: | Yukihiro "Matz" Matsumoto | |
| - `mrb_convert_type` - `mrb_check_convert_type` Those function no longer take `tname` string representation of desired type, and take method symbols instead of `const char*` names. This is incompatible change. I hope no third-party gems use those functions. | |||
| 2020-10-12 | Provide functions that take symbols instead of `const char*`. | Yukihiro "Matz" Matsumoto | |
| - mrb_define_class_id - mrb_define_module_id - mrb_define_method_id - mrb_define_singleton_method_id - mrb_define_module_function_id - mrb_define_const_id - mrb_undef_method_id - mrb_undef_class_method_id - mrb_class_defined_id - mrb_class_get_id - mrb_class_defined_under_id - mrb_class_get_under_id - mrb_module_get_id - mrb_module_get_under_id - mrb_define_class_under_id - mrb_define_module_under_id - mrb_exc_get_id | |||
| 2020-10-12 | Add functions that take symbols as arguments. | Yukihiro "Matz" Matsumoto | |
| - : | |||
| 2020-10-12 | Define a new function `mrb_funcall_id()`. | Yukihiro "Matz" Matsumoto | |
| `mrb_funcall_id()` takes `mrb_sym` instead of `char*` for a method name. You can use `MRB_SYM()`/`MRB_QSYM()` to specify the method to call. | |||
| 2020-10-12 | Add `MRB_SYM()` for inline symbols. | Yukihiro "Matz" Matsumoto | |
| 2020-09-25 | Prohibit string changes by "s"/"z" specifier of `mrb_get_args()` | dearblue | |
| - The `s` specifier is a string pointer obtained without performing `mrb_str_modify()`, so it cannot be changed. - The `z` specifier cannot be changed because it is a string pointer obtained by `RSTRING_CSTR()` which returns `const char *`. | |||
| 2020-09-03 | Remove `enum call_type` | dearblue | |
| It seems to be unnecessary from mruby-1.0.0 or earlier. | |||
| 2020-08-12 | Simplify MSVC detection to `mrb_static_assert` | KOBAYASHI Shuji | |
| 2020-08-11 | Use normal `static_assert` in `mrb_static_assert` as much as possible | KOBAYASHI Shuji | |
| * `_Static_assert` can also be used with `-std=gnu99` on GCC >= 4.6. * `static_assert` can be used on MSVC. * `static_assert` can be used even on old G++/Clang++ if `__GXX_EXPERIMENTAL_CXX0X__` is defined. | |||
| 2020-08-09 | Allow `mrb_static_assert()` to be used outside of functions | KOBAYASHI Shuji | |
| The use of `struct` is an idea by @dearblue. | |||
| 2020-08-08 | Reintroduce `mrb_static_assert`; #5051 | Yukihiro "Matz" Matsumoto | |
| Note that the home brew version of `mrb_static_assert` only works within the function body. This reverts commit 8f99689. | |||
| 2020-08-06 | Remove `mrb_static_assert` from the core; #5051 | Yukihiro "Matz" Matsumoto | |
| 2020-06-20 | Add `mrb_get_arg1()` that retrieves single (and only) argument. | Yukihiro "Matz" Matsumoto | |
| `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. | |||
| 2020-06-05 | Merge master. | Hiroshi Mimaki | |
| 2020-05-31 | Fix float constant redefinition warnings | Rory OConnell | |
| 2020-05-07 | Remove `mrb_run` from `MRB_API`; #4488 | Yukihiro "Matz" Matsumoto | |
| `mrb_run` requires to push callinfo stack before calling, which is very hard from outside of `vm.c`. So there should be virtually no correct usage of the function, hence the cause of #4488. We removed it. You can use `mrb_top_run(mrb, proc, self, 0)` instead of `mrb_run(mrb, proc self)`. | |||
| 2020-04-26 | Reduce `struct mrb_context` | dearblue | |
| 2020-04-22 | Add new function `mrb_singleton_class_ptr()`; ref #4973 | Yukihiro "Matz" Matsumoto | |
| The difference between `mrb_singleton_class` and `mrb_singleton_class_ptr`: - `mrb_singleton_class_ptr` returns `struct RClass*`. - `mrb_singleton_class_ptr` returns `NULL` on immediate values where `mrb_singleton_class` raises exceptions. | |||
| 2020-04-10 | Update version to `2.1.1`. (mruby 2.1.1 RC)2.1.1-rc | Hiroshi Mimaki | |
| 2020-01-30 | Move fallback definitions of `FLT_EPSILON` etc. after `#include <mruby/value.h>` | Yukihiro "Matz" Matsumoto | |
| that includes `float.h`. It allows definitions from native headers. | |||
| 2020-01-01 | Rename `mrb_num_args_error` to `mrb_argnum_error`; ref #4863 | Yukihiro "Matz" Matsumoto | |
| 2019-12-12 | Add `mrb_num_args_error()` for "wrong number of arguments" error | KOBAYASHI Shuji | |
| To unify the style of messages. | |||
| 2019-10-06 | Get keyword arguments with `mrb_get_args()` | dearblue | |
| Keyword arguments can now be retrieved with the `:` specifier and `mrb_kwargs` data. For the interface, I referred to CRuby's `rb_get_kwargs()`. For implementation, I referred to `OP_KARG` or etc. | |||
| 2019-10-04 | Freeze strings from `nil.to_s`, `true.to_s`, `false.to_s`. | Yukihiro "Matz" Matsumoto | |
| This is an experimental changes in Ruby 2.7. | |||
| 2019-09-26 | Fixed `codedump` for human readable symbol format; ref #4684 | Yukihiro "Matz" Matsumoto | |
| 2019-09-25 | Rename symbol-to-string functions; close #4684 | Yukihiro "Matz" Matsumoto | |
| * mrb_sym2name -> mrb_sym_name * mrb_sym2name_len -> mrb_sym_name_len * mrb_sym2str -> mrb_sym_str | |||
| 2019-09-16 | Remove `MRB_METHOD_TABLE_INLINE`. | Yukihiro "Matz" Matsumoto | |
| `MRB_METHOD_TABLE_INLINE` was fragile. It requires `-falign-functions=n`. On platform that uses higher bits of function pointers, you can use new `MRB_METHOD_T_STRUCT` configuration macro. | |||
| 2019-09-16 | Refactor `mrb_method_t`. | Yukihiro "Matz" Matsumoto | |
| 2019-09-14 | Add argument names to C function prototypes. | Yukihiro "Matz" Matsumoto | |
| 2019-09-14 | Add a macro `mrb_frozen_p` that points to `MRB_FROZEN_P`. | Yukihiro "Matz" Matsumoto | |
| 2019-09-14 | Remove `mrb_funcall` from `<=>` operations. | Yukihiro "Matz" Matsumoto | |
| 2019-08-26 | fix lots of warnings and make logo not so big | David Siaw | |
| 2019-08-19 | Merge pull request #4636 from davidsiaw/doxygen | Yukihiro "Matz" Matsumoto | |
| Generate doxygen docs for mruby | |||
| 2019-08-18 | fix up documentation for values | David Siaw | |
| 2019-08-18 | Prohibit changes to iseq in principle | dearblue | |
| 2019-08-07 | Update `mrb_to_str` and related functions. | Yukihiro "Matz" Matsumoto | |
| Contrary to the name, `mrb_to_str` just checks type, no conversion. | |||
| 2019-07-03 | Refine document to mrb_get_args()` [ci skip] | KOBAYASHI Shuji | |
| 2019-05-29 | Add `mrb_alloca` again; ref #4470 | Yukihiro "Matz" Matsumoto | |
| This time, the allocated memory comes from the string object, which is referenced from GC arena. The memory region will be reclaimed when the C function called from VM is terminated, or the GC arena is restored. | |||
| 2019-05-25 | Remove `mrb_alloca()` function | dearblue | |
| When I found this function, I expected it to behave the same as the `alloca(3)` function, but it is accually the `mrb_alloca()` function does not free the heap until the `mrb_close()` function is called. Also, even if it is deleted, it can be replaced with the combination of the `MRB_TT_DATA` object and the `mrb_gv_set()` function if it is sure necessary. | |||
| 2019-05-02 | Fixed include specifier format for `mruby/common.h`. | Yukihiro "Matz" Matsumoto | |
| 2019-04-24 | Remove unnecessary `mrb_regexp_check()` and related functions. | Yukihiro "Matz" Matsumoto | |
| 2019-04-19 | Change modifier to `MRB_INLINE` from `static inline` | dearblue | |
| 2019-04-10 | Remove `MRB_API` from `mrb_instance_new`. | Yukihiro "Matz" Matsumoto | |
| 2019-04-10 | Merge pull request #4367 from shuujii/extract-frozen-checking-to-function | Yukihiro "Matz" Matsumoto | |
| Extract frozen checking to function | |||
| 2019-04-09 | Extract frozen checking to function | KOBAYASHI Shuji | |
| 2019-04-08 | Remove unneeded function prototypes | KOBAYASHI Shuji | |
| 2019-04-04 | Update version and release date.2.0.1 | Hiroshi Mimaki | |
| `mruby 2.0.1 (2019-4-4)` | |||
| 2019-03-29 | va_list is defined in stdarg.h. | Tomoyuki Sahara | |
| fixes build on OpenBSD. | |||
