| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-11-19 | Release `mruby 2.1.0`.2.1.0 | Hiroshi Mimaki | |
| 2019-10-23 | Merge branch 'master' into stable | Hiroshi Mimaki | |
| 2019-10-23 | Add type cast to avoid an error from `int` and `enum` mixture; fix #4786 | Yukihiro "Matz" Matsumoto | |
| 2019-10-18 | Update version to `2.1.0`. (mruby 2.1.0 RC)2.1.0-rc | Hiroshi Mimaki | |
| 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-10-03 | Fix opcode semantics comment miss. (op_jmpnil) | Hirohito Higashi | |
| 2019-10-03 | Fix opcode semantics comment miss. | Hirohito Higashi | |
| 2019-09-30 | Remove a trailing space in `MRUBY_DESCRIPTION` | KOBAYASHI Shuji | |
| 2019-09-29 | Remove unnecessary type `mrb_hash_value` | dearblue | |
| The type `mrb_hash_value` is no longer used by the segmented list implementation (ref e8dcfe1 and e65d426). | |||
| 2019-09-29 | Add an annotation of the return value from `mrb_delete_key`; #4737 | Yukihiro "Matz" Matsumoto | |
| The return value from `mrb_delete_key` needs to be protected from GC in some cases. | |||
| 2019-09-27 | Merge pull request #4733 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/use-type-predicate-macros-instead-of-mrb_type-if-possible Use type predicate macros instead of `mrb_type` if possible | |||
| 2019-09-26 | Fixed `codedump` for human readable symbol format; ref #4684 | Yukihiro "Matz" Matsumoto | |
| 2019-09-26 | Use type predicate macros instead of `mrb_type` if possible | KOBAYASHI Shuji | |
| For efficiency with `MRB_WORD_BOXING` (implement type predicate macros for all `enum mrb_vtype`). | |||
| 2019-09-26 | Merge pull request #4732 from dearblue/inttypes | Yukihiro "Matz" Matsumoto | |
| Use inttypes for `snprintf()` | |||
| 2019-09-25 | Merge pull request #4728 from shuujii/remove-MRB_TT_HAS_BASIC-macro | Yukihiro "Matz" Matsumoto | |
| Remove `MRB_TT_HAS_BASIC` macro | |||
| 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-25 | Use inttypes for `snprintf()` | dearblue | |
| 2019-09-25 | Remove `MRB_TT_HAS_BASIC` macro | KOBAYASHI Shuji | |
| The value of `MRB_TT_HAS_BASIC` is meaningless because `MRB_TT_HAS_BASIC` is no longer used with `MRB_WORD_BOXING` at b2c3d88f. | |||
| 2019-09-22 | Implement all type predicate macros for `MRB_WORD_BOXING` | KOBAYASHI Shuji | |
| The default implementations of type predicate macros use `mrb_type`. But `mrb_type` with `MRB_WORD_BOXING` isn't very efficient, so the new implementations avoid `mrb_type`. | |||
| 2019-09-21 | Rename MRB_USE_ETEXT_EDATA to MRB_USE_LINK_TIME_RO_DATA_P and support lld ↵ | Fangrui Song | |
| linked programs In lld linked programs, .rodata comes before .text, thus mrb_ro_data_p will return false for strings in .rodata. Change the lower bound from _etext to __ehdr_start to catch these cases. This works for ld.bfd, gold and lld, and it does not have false positives even if .init_array does not exist. Remove the branch that uses _edata: strings in .data can be modified so this is semantically incorrect. Delete the __APPLE__ branch (its manpages say get_etext() and get_edata() are strongly discouraged). .init_array has been adopted by most ELF platforms to supersede .ctors. Neither _etext nor _edata is used, so rename MRB_USE_ETEXT_EDATA to MRB_USE_EHDR_START. | |||
| 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 | Raise `ArgumentError` by `aspec` check; ref #4688 | Yukihiro "Matz" Matsumoto | |
| This is partial `aspec` check that only checks `MRB_ARGS_NONE()`. | |||
| 2019-09-16 | Share common definition of `MRB_METHOD_FUNC_FL`. | Yukihiro "Matz" Matsumoto | |
| 2019-09-16 | Use bit shifting to pack function pointers to `mrb_method_t`. | Yukihiro "Matz" Matsumoto | |
| So you don't need `-falign-functions=2` anymore. Instead your platform must not use higher bits of the pointer (true for most platforms). If not, you have to use `struct mrb_method_t` version. | |||
| 2019-09-16 | Refactor `mrb_method_t`. | Yukihiro "Matz" Matsumoto | |
| 2019-09-15 | Refactor `mrb_type` in `include/mruby/boxing_word.h` | KOBAYASHI Shuji | |
| 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-09-08 | Optimize `mrb_bool()` with `MRB_WORD_BOXING` | KOBAYASHI Shuji | |
| 2019-09-07 | Increase symbol bit size on 32-bit mode with `MRB_WORD_BOXING` | KOBAYASHI Shuji | |
| This change increases the max length of lower inline symbols to 5 bytes. | |||
| 2019-09-06 | Avoid bit fields in `mrb_value`; ref b2c3d88f | KOBAYASHI Shuji | |
| The changes at b2c3d88f were inappropriate because the memory layout of bit fields are implementation defined. Therefor, I fixed it not to use bit fields. | |||
| 2019-09-02 | Fix an error in refactoring; fix #4682 | Yukihiro "Matz" Matsumoto | |
| 2019-08-31 | Fix `mrb_immediate_p(MRB_TT_FREE)` to return `false`; ref #4679 | Yukihiro "Matz" Matsumoto | |
| 2019-08-31 | Refactor #4662 with different names. | Yukihiro "Matz" Matsumoto | |
| 2019-08-31 | Implement `mrb_immediate_p` macro for `MRB_WORD_BOXING` | KOBAYASHI Shuji | |
| The default implementation of `mrb_immediate_p` uses `mrb_type`. However, in `MRB_WORD_BOXING`, `mrb_type` has many branches and is inefficient, so provide an implementation that does not use `mrb_type`. | |||
| 2019-08-26 | fix lots of warnings and make logo not so big | David Siaw | |
| 2019-08-26 | change doc directory and reduce warnings | David Siaw | |
| 2019-08-23 | Fix `RBreak` exceeding 6 words on 32-bit mode w/o boxing and `MRB_USE_FLOAT` | KOBAYASHI Shuji | |
| ref: https://github.com/mruby/mruby/pull/4483#issuecomment-498001736 In this configuration, `tt` of `RBreak::val` is set into `RBreak::flags`. | |||
| 2019-08-20 | Avoid C++ strict aliasing warning. | Yukihiro "Matz" Matsumoto | |
| Based on code proposed by @dearblue to avoid the warning: `dereferencing type-punned pointer will break strict-aliasing rules`. | |||
| 2019-08-20 | Use `RBasic` padding for embedded string on 64-bit CPU | KOBAYASHI Shuji | |
| On 64-bit CPU, there is padding in `RBasic`, so reorder the fields and use it as buffer of embedded string. This change allows 4 more bytes to be embedded on 64-bit CPU. However, an incompatibility will occur if `RString::as::ary` is accessed directly because `RString` structure has changed. | |||
| 2019-08-18 | Allow external definition of MRB_API macro | Ryan Lopopolo | |
| When building WebAssembly targets with clang (e.g. wasm32-unknown-unknown), all symbols are hidden by default. To export a symbol, it must be marked with __attribute__((visibility(default))) Rather than detecting this exotic target in mruby, allow MRB_API to be defined externally. | |||
| 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-18 | fix up markdown display in doxygen | David Siaw | |
| 2019-08-18 | first bit of doc generation | David Siaw | |
| 2019-08-17 | Merge pull request #4634 from shuujii/refactor-set-unset-string-type-flags | Yukihiro "Matz" Matsumoto | |
| Refactor set/unset string type flags | |||
| 2019-08-17 | Refactor set/unset string type flags | KOBAYASHI Shuji | |
| Introduce `RSTR_SET_TYPE_FLAG` macro to set the specified string type flag and clear the others. | |||
