| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-04-16 | Avoid potential zero size array declaration; fix #4382 | KOBAYASHI Shuji | |
| 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-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-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-02 | Pad leading zero to month and day in `MRUBY_RELEASE_DATE` | KOBAYASHI Shuji | |
| For Ruby compatibility. | |||
| 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-29 | va_list is defined in stdarg.h. | Tomoyuki Sahara | |
| fixes build on OpenBSD. | |||
| 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-14 | Fix constant name validation | KOBAYASHI Shuji | |
| `X!` etc are invalid constant name. | |||
| 2019-02-17 | Merge pull request #4279 from dearblue/fix-inline-packed-symbols | Yukihiro "Matz" Matsumoto | |
| Fix destroyed "inline packed symbols" on 32 bit mode with `MRB_WORD_BOXING` | |||
| 2019-02-17 | Fix typos | yui-knk | |
| 2019-02-16 | Fix to defined `MRB_SYMBOL_BITSIZE` and `MRB_SYMBOL_MAX` always; ref #4077 | dearblue | |
| 2019-02-12 | Disable `Symbol.all_symbols`. | Yukihiro "Matz" Matsumoto | |
| 2019-02-12 | Implement inline packed symbols. | Yukihiro "Matz" Matsumoto | |
| Small symbols with all alphanumeric characters (<5) are packed in 32bit symbol integer a la base64. This means those small symbols are not listed in `Symbol.all_symbols`. | |||
| 2019-02-06 | Implement symbol hash table to boost `find_symbol`. | Yukihiro "Matz" Matsumoto | |
| In 4174e02, we removed the symbol hash table from `mrb_state` but `find_symbol` was too slow with linear search. My performance estimation was wrong. So we implemented a new compact hash table for symbols. | |||
| 2019-02-06 | Remove symbol hash table from `mrb_state` structure. | Yukihiro "Matz" Matsumoto | |
| Use linear search instead. Number of symbols is usually small (<1K), so we don't need performance boost from hash tables. In our benchmark measurement, hash tables consumes 790KB for `build/full-debug/mrbtest`. | |||
| 2019-02-04 | Fix `Symbol#size` for multi-byte characters with `MRB_UTF8_STRING` | KOBAYASHI Shuji | |
| Before: p :あ.size #=> 3 After: p :あ.size #=> 1 | |||
| 2019-01-20 | Fix memory leak `sval` when out of memory in `Data_Wrap_Struct()` | dearblue | |
| 2019-01-08 | Update compiled binary format version; ref #4219 | Yukihiro "Matz" Matsumoto | |
| 2019-01-08 | Update `OP_APOST` description (typo fixed). | Yukihiro "Matz" Matsumoto | |
| 2019-01-03 | range: Refactor range.h/range.c | KOBAYASHI Shuji | |
| Functions order, name, linkage and so on. | |||
| 2019-01-01 | range: Embed edges in RRange on boxing environment. | KOBAYASHI Shuji | |
| [Breaking changes] Developers must use following APIs for accessing attributes of RRange because RRange structure depends on boxing setting. - mrb_range_beg - mrb_range_end - mrb_range_excl_p | |||
| 2018-12-23 | Suppress __STDC_VERSION__ warns for C++ | dearblue | |
| 2018-12-22 | Fix MRB_ENDIAN_BIG is always defined, if byte order macro is not defined | dearblue | |
| 2018-12-21 | Simplify `MRB_ENDIAN_BIG` macro definition; ref #4190 | Yukihiro "Matz" Matsumoto | |
| `cpp` does not raise error on undefined macro access in condition. | |||
| 2018-12-21 | Define `MRB_ENDIAN_BIG` automatically; ref #4190 | Yukihiro "Matz" Matsumoto | |
| You had to define this macro on big endian platforms, but it is very error-prone. So define the macro automatically if possible. | |||
| 2018-12-18 | Fix macro expressions with paren | dearblue | |
| 2018-12-18 | Fix macro arguments with paren | dearblue | |
| 2018-12-17 | Remove `#include <mruby/khash.h>` from `mruby/hash.h`. | Yukihiro "Matz" Matsumoto | |
| 2018-12-14 | Add `mrb_hash_size()` function. | dearblue | |
| 2018-12-11 | Merge pull request #4184 from mruby/stable | Yukihiro "Matz" Matsumoto | |
| Release mruby 2.0.0 | |||
| 2018-12-11 | Update release date.2.0.0 | Hiroshi Mimaki | |
| 2018-12-11 | Rename `ht_foreach_func` to `mrb_hash_foreach_func`. | Yukihiro "Matz" Matsumoto | |
| 2018-12-11 | Add `mrb_` prefix to `iv_foreach_func`. | Yukihiro "Matz" Matsumoto | |
| 2018-12-11 | Add new API `mrb_iv_foreach()` to iterate over instance variables. | Yukihiro "Matz" Matsumoto | |
| 2018-12-11 | Add API function `mrb_hash_foreach()` to iterate over items in a hash. | Yukihiro "Matz" Matsumoto | |
| 2018-11-25 | Remove `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-20 | Update documentation to mrb_load_irep | Rob Fors | |
| 2018-11-20 | Update version number; fix #4165 | Yukihiro "Matz" Matsumoto | |
| 2018-11-20 | Fixed a bug in `mirb` heredoc handling; fix #3989 | Yukihiro "Matz" Matsumoto | |
| 2018-11-20 | Restrict total recursion number of `ecall()`; fix #3789 | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Restore `mrb_string_type` function for compatibility. | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Use type checking `mrb_to_str` instead of converting `mrb_str_to_str`. | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Removed `to_ary` conversion method. | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Remove implicit conversion using `to_str` method; fix #3854 | Yukihiro "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-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). | |||
