| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-09-19 | fixup! Removed `to_ary` conversion method. | Yukihiro "Matz" Matsumoto | |
| 2018-09-19 | fixup! Remove implicit conversion using `to_str` method. | Yukihiro "Matz" Matsumoto | |
| 2018-09-19 | Removed `to_ary` conversion method. | Yukihiro "Matz" Matsumoto | |
| 2018-09-19 | Remove implicit conversion using `to_str` method. | Yukihiro "Matz" Matsumoto | |
| We have added internal convenience method `__to_str` which does string type check. | |||
| 2018-09-19 | Remove 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). | |||
| 2018-09-16 | Add support for iOS platforms that does not support `fork`; fix #4113 | Yukihiro "Matz" Matsumoto | |
| 2018-09-07 | Fix typo for concatenate | dearblue | |
| 2018-09-01 | Remove `MRB_API` from `mrb_f_send` which is not API. | Yukihiro "Matz" Matsumoto | |
| 2018-08-30 | Update `RITE_BINARY_FORMAT_VER` and `RITE_VM_VER`. | Yukihiro "Matz" Matsumoto | |
| The bytecode format was updated so the header version constants must be updated as well. | |||
| 2018-08-30 | Add new function `mrb_ensure_hash_type()`; ref #4097 | Yukihiro "Matz" Matsumoto | |
| Unlike `mrb_check_hash_type()` that returns `nil` if the argument is not a `Hash`, `mrb_ensure_hash_type()` raises a `TypeError` exception. | |||
| 2018-08-30 | `uint16_t` is too small for reference count; fix #4093 | Yukihiro "Matz" Matsumoto | |
| Use `uint32_t` instead. Theoretically `uint32_t` can overflow as well, but I think it is sufficient size for embeddable Ruby VM. | |||
| 2018-08-29 | Fix type of `eidx` and `ridx` from `uint8_t` to `uint16_t`; fix #4088 | Yukihiro "Matz" Matsumoto | |
| A byte was too small to hold ensure&rescue stacks indexes. | |||
| 2018-08-29 | Move back `mrb_define_alias` to `mruby.h` to avoid breakage. | Yukihiro "Matz" Matsumoto | |
| 2018-08-25 | Reduce integer casting warnings. | Yukihiro "Matz" Matsumoto | |
| 2018-08-25 | Hash splat `**` should not be ignored. | Yukihiro "Matz" Matsumoto | |
| Implemented by adding `OP_HASHCAT` that merges hashes. | |||
| 2018-08-25 | Add a new function `mrb_hash_merge()`. | Yukihiro "Matz" Matsumoto | |
| 2018-08-25 | Fix misspelling words in comments | Kazuhiro Sera | |
| 2018-08-25 | Rename ambiguous function names. | Yukihiro "Matz" Matsumoto | |
| `mrb_iv_p` -> `mrb_iv_name_sym_p` `mrb_iv_check` -> `mrb_iv_name_sym_check` | |||
| 2018-08-25 | Remove utility functions: `mrb_vm_iv_{get,set}`. | Yukihiro "Matz" Matsumoto | |
| 2018-08-25 | Small refactoring. | Yukihiro "Matz" Matsumoto | |
| The macro `RCLASS_SUPER`, `RCLASS_IV_TBL` and `RCLASS_M_TBL` are removed from `include/mruby/class.h`. | |||
| 2018-08-25 | Fix mrb_value size with MRB_WORD_BOXING on 32-bit mode | dearblue | |
| 2018-08-25 | Remove `nregs` member from `mrb_callinfo`. | Yukihiro "Matz" Matsumoto | |
| This means reducing one word per a call frame. | |||
| 2018-08-25 | Reorganize flags values for classes; fix #3975 | Yukihiro "Matz" Matsumoto | |
| Renamed flag macro names as well: `MRB_FLAG_IS_FROZEN` -> `MRB_FL_OBJ_FROZEN` `MRB_FLAG_IS_PREPENDED` -> `MRB_FL_CLASS_IS_PREPENDED` `MRB_FLAG_IS_ORIGIN` -> `MRB_FL_CLASS_IS_ORIGIN` `MRB_FLAG_IS_INHERITED` -> `MRB_FL_CLASS_IS_INHERITED` | |||
| 2018-07-31 | Bytecode support for `mrdb`. | Yukihiro "Matz" Matsumoto | |
| 2018-07-31 | Removed unused instruction: `OP_KDICT`. | Yukihiro "Matz" Matsumoto | |
| 2018-07-30 | Keyword argument implemented. | Yukihiro "Matz" Matsumoto | |
| 2018-07-30 | New bytecode implementation of mruby VM. | Yukihiro "Matz" Matsumoto | |
| 2018-07-11 | move declaration of mrb_irep_remove_lv from dump.h to irep.h | yuri | |
| 2018-07-10 | add mrbc option `--remove-lv` | yuri | |
| * refactor: move `irep_remove_lv` from `mruby-bin-strip` gem to src/dump and rename to `mrb_irep_remove_lv` * add: mrbc option `--remove-lv` to remove LVAR section | |||
| 2018-06-20 | Export mrb_utf8_from_locale() and mrb_locale_from_utf8() | Kouhei Sutou | |
| 2018-06-07 | Export `stack_extend` function (renamed `mrb_stack_extend`); fix #3219 | Yukihiro "Matz" Matsumoto | |
| This change is required to support #4038. | |||
| 2018-04-28 | Update `OP_APOST` description; ref #4008 | Yukihiro "Matz" Matsumoto | |
| 2018-04-27 | Set the mruby-1.4.1 release date to `2018-4-27`.1.4.1 | Hiroshi Mimaki | |
| 2018-04-10 | Fix build error on Windows with MRB_BUILD_AS_DLL | Kouhei Sutou | |
| Error message: C:\projects\groonga\vendor\mruby-source\include\mruby.h(1098): error C2375: 'mrb_gc_arena_save' : redefinition; different linkage [C:\projects\groonga\vendor\mruby\mruby.vcxproj] C:\projects\groonga\vendor\mruby-source\include\mruby.h(1083) : see declaration of 'mrb_gc_arena_save' C:\projects\groonga\vendor\mruby-source\include\mruby.h(1099): error C2375: 'mrb_gc_arena_restore' : redefinition; different linkage [C:\projects\groonga\vendor\mruby\mruby.vcxproj] C:\projects\groonga\vendor\mruby-source\include\mruby.h(1084) : see declaration of 'mrb_gc_arena_restore' | |||
| 2018-03-16 | Update `mrb_get_args` reference comment; ref #3963 | Yukihiro "Matz" Matsumoto | |
| 2018-03-04 | fix && to &! in mrb_get_args() | dearblue | |
| 2018-03-04 | add forced block arguments feature to mrb_get_args | dearblue | |
| 2018-03-02 | Add `mrb_fiber_alive_p` to C API. | Yukihiro "Matz" Matsumoto | |
| 2018-01-25 | Do not use `MRB_METHOD_TABLE_INLINE` by default; fix #3924 | Yukihiro "Matz" Matsumoto | |
| It was default on Linux. Abandoned for 2 reasons: * some cross-platform compiler defines `__linux__` even on bare metal environment (RTL8196 (MIPS big endian soc) for example). * some compilers do not align functions pointers so that we need to specify `-falign-functions=n` (where n>1). It's not suitable for default configuration. By our measurement, `mrbtest` consumes 400KB less memory. So if your target machine is memory tight, add the following command-line options to `GCC` (unfortunately `clang` does not support `-falign-functions`). `-falign-functions=2 -DMRB_METHOD_TABLE_INLINE` | |||
| 2018-01-25 | Use LSB not MSB for `MRB_METHOD_TABLE_INLINE`; ref #3924 | Yukihiro "Matz" Matsumoto | |
| 2018-01-16 | Set the mruby-1.4.0 release date to `2018-1-16`.1.4.0 | Hiroshi Mimaki | |
| 2017-12-12 | Merge pull request #3882 from mattn/fix-filename | Yukihiro "Matz" Matsumoto | |
| use filename in locale | |||
| 2017-12-12 | fix compilation error | Yasuhiro Matsumoto | |
| 2017-12-12 | Modifying frozen objects will raise `FrozenError`. | Yukihiro "Matz" Matsumoto | |
| `FrozenError` is a subclass of `RuntimeError` which used to be raised. [Ruby2.5] | |||
| 2017-12-06 | `mrb_method_search_vm()` should gives the defined class. | Yukihiro "Matz" Matsumoto | |
| Otherwise `super` may call a wrong method. | |||
| 2017-12-05 | Revise MRB_METHOD_PROC macro's argument | bamchoh | |
| I revised MRB_METHOD_PROC macro's argument fn to m. | |||
| 2017-11-20 | Reduce the size of `struct RBreak` to reduce memory usage. | Yukihiro "Matz" Matsumoto | |
| The old size of `struct RBreak` was 56 bytes (`MRB_NO_BOXING`) and it's bigger than other object structures. That increase the size of `RVALUE` thus increase the total amount of memory consumption. | |||
| 2017-11-20 | Add `MRB_METHOD_TABLE_INLINE` option. | Yukihiro "Matz" Matsumoto | |
| Now the method tables (in classes/modules and caches) keeps C function pointers without wrapping in `struct RProc` objects. For the sake of portability, `mrb_method_t` is represented by the struct and union, but if the most significant bit of the pointer is not used by the platform, `mrb_method_t` should be packed in `uintptr_t` to reduce memory usage. `MRB_METHOD_TABLE_INLINE` is turned on by default for linux. | |||
| 2017-11-20 | Add `MRB_METHOD_CACHE` description to `include/mrbconf.h` | Yukihiro "Matz" Matsumoto | |
| 2017-11-04 | Removed redundant function prototype. | Yukihiro "Matz" Matsumoto | |
