| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-04-03 | chore: fix spelling | John Bampton | |
| 2021-01-26 | Revert "Minimize the changes in #5277" | Yukihiro "Matz" Matsumoto | |
| This reverts commit dc51d89ac22acc60b9bfeed87115863565b74085. | |||
| 2021-01-22 | Minimize the changes in #5277 | Yukihiro "Matz" Matsumoto | |
| Instead of including `mruby/presym.h` everywhere, we provided the fallback `mruby/presym.inc` under `include/mruby` directory, and specify `-I<build-dir>/include` before `-I<top-dir>/include` in `presym.rake`. So even when someone drops `-I<build-dir>/include` in compiler options, it just compiles without failure. | |||
| 2021-01-11 | Avoid including `presym.inc` in existing header files | KOBAYASHI Shuji | |
| Addressed an issue where existing programs linking `libmruby.a` could only be built by adding `<build-dir>/include` to compiler's include path. | |||
| 2020-11-12 | Remove unused argument of `mrb_obj_iv_tbl_memsize` | KOBAYASHI Shuji | |
| 2020-10-12 | Use hash table instead of segment list for instance variables. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Generate C struct from `irep` instead of binary dump. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Add functions that take symbols as arguments. | Yukihiro "Matz" Matsumoto | |
| - : | |||
| 2020-10-12 | Add `MRB_SYM()` for inline symbols. | Yukihiro "Matz" Matsumoto | |
| 2020-08-11 | Fix `mrb_int` and `size_t` combination warnings. | Yukihiro "Matz" Matsumoto | |
| 2020-07-24 | Change the logic to calculate object (`iv_tbl`) size; #5045 | Yukihiro "Matz" Matsumoto | |
| 2020-07-24 | Merge pull request #5045 from dearblue/memsize_of | Yukihiro "Matz" Matsumoto | |
| Improve `mruby-os-memsize` | |||
| 2020-07-24 | Avoid using FPU with `mruby-os-memsize`; ref #5032 | dearblue | |
| And, in the calculation of the instance variable size, the fraction was always rounded down because of division of integers, so fix it. At the same time, test items that are no longer passed due to this change are deleted. | |||
| 2020-07-22 | Use more `mrb_field_write_barrier` for instance variables. | Yukihiro "Matz" Matsumoto | |
| 2020-07-13 | Use object iv table size in calculation | Rory OConnell | |
| 2019-11-16 | Revert "Implement Ruby2.7's frozen strings from `Symbol#to_s`" | KOBAYASHI Shuji | |
| This feature was reverted from Ruby 2.7. | |||
| 2019-10-20 | Use `mrb_str_cat_str` instead of `mrb_str_concat` if possible | KOBAYASHI Shuji | |
| 2019-10-16 | Use `mrb_sym_name_len` instead of `mrb_sym_name` in `assign_class_name` | KOBAYASHI Shuji | |
| 2019-10-08 | Implement Ruby2.7's frozen strings from `Module#name` | KOBAYASHI Shuji | |
| 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-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-20 | Fix compatibility issue of class variables. | Yukihiro "Matz" Matsumoto | |
| Singleton class definition do not introduce its own class variable scope in CRuby/JRuby. So should mruby. ``` module Mod1 class << Object.new C = 1 @@cv = 1 p Module.nesting, # => [#<Class:#<Object:0x55cb16e60a50>>, Mod1] constants, # => [:C] class_variables, # => [] Mod1.class_variables # => [:@@cv] end end ``` | |||
| 2019-09-20 | Add optional argument to `Module#class_variables`. | Yukihiro "Matz" Matsumoto | |
| 2019-09-09 | Fix `mod.constants` not to have duplicate constant names; #4698 | Yukihiro "Matz" Matsumoto | |
| The fix was based on PR from @dearblue | |||
| 2019-08-11 | Revert "Should have cleared `mrb->globals` in `mrb_gc_free_gv`; fix #4618" | Yukihiro "Matz" Matsumoto | |
| This reverts commit 3dc8d9d7b3d0be2f91fa050a13e3b422500df628. | |||
| 2019-08-06 | Should have cleared `mrb->globals` in `mrb_gc_free_gv`; fix #4618 | Yukihiro "Matz" Matsumoto | |
| 2019-08-05 | Use new specifiers/modifiers of `mrb_vfromat()` | KOBAYASHI Shuji | |
| The binary sizes (gems are only `mruby-bin-mruby`) are reduced slightly in my environment than before the introduction of new specifiers/modifiers (5116789a) with this change. ------------+-------------------+-------------------+-------- BINARY | BEFORE (5116789a) | AFTER (This PR) | RATIO ------------+-------------------+-------------------+-------- mruby | 593416 bytes | 593208 bytes | -0.04% libmruby.a | 769048 bytes | 767264 bytes | -0.23% ------------+-------------------+-------------------+-------- BTW, I accidentally changed `tasks/toolchains/visualcpp.rake` at #4613, so I put it back. | |||
| 2019-06-25 | Fixed `mrb_iv_remove` with immediate objects; fix #4519 | Yukihiro "Matz" Matsumoto | |
| The #4520 tried to address the issue, but it changes the type of `mrb_check_frozen` argument; close #4520 | |||
| 2019-06-16 | Fix cvar, ivar, const and method can be removed to frozen object | KOBAYASHI Shuji | |
| 2019-06-10 | `Kernel#global_variables` should not include undefined `$1`-`$9` | KOBAYASHI Shuji | |
| - They are not include in Ruby. - Appear in duplicate when `$1`-`$9` are defined. | |||
| 2019-05-15 | Merge pull request #4400 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/fix-name-assignment-to-frozen-anonymous-class-module Fix name assignment to frozen anonymous class/module | |||
| 2019-04-24 | Fix modiying class variable to frozen class/module | KOBAYASHI Shuji | |
| 2019-04-23 | Fix name assignment to frozen anonymous class/module | KOBAYASHI Shuji | |
| Fix the following issues: A = Class.new.freeze #=> FrozenError Module.new::B = Class.new.freeze #=> FrozenError String::B = Module.new.freeze #=> FrozenError | |||
| 2019-04-14 | Fix wrong size of instance variable if occur out of memory | dearblue | |
| 2019-04-14 | Remove pointer check after `mrb_malloc()` | dearblue | |
| 2019-04-10 | Merge pull request #4367 from shuujii/extract-frozen-checking-to-function | Yukihiro "Matz" Matsumoto | |
| Extract frozen checking to function | |||
| 2019-04-10 | Use the old style declaration; ref #4365 | Yukihiro "Matz" Matsumoto | |
| 2019-04-09 | Extract frozen checking to function | KOBAYASHI Shuji | |
| 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-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-17 | Fix class/instance variable name validation | KOBAYASHI Shuji | |
| - `@@?` etc are invalid class variable name. - `@1` etc are invalid instance variable name. | |||
| 2019-03-14 | Fix constant name validation | KOBAYASHI Shuji | |
| `X!` etc are invalid constant name. | |||
| 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 | Update `iv_foreach()` function. | Yukihiro "Matz" Matsumoto | |
| * return `void` instead of `mrb_bool'. * non zero return value from `func` breaks the loop. * no longer remove items on negative return value from `func`. | |||
| 2018-09-20 | Renamed `is_namespace()` to `namespace_p()`. | Yukihiro "Matz" Matsumoto | |
| 2018-09-20 | Revert "Add MRB_IMPROVE_META_PROGRAMMING configuration" | Yukihiro "Matz" Matsumoto | |
| This reverts commit 1997fcf98f596f6af2bf1d20ccde1b1abfe7324d. It became the default behavior. | |||
| 2018-09-20 | Merge branch 'assign-anon-class-name' of https://github.com/dearblue/mruby ↵ | Yukihiro "Matz" Matsumoto | |
| into dearblue-assign-anon-class-name | |||
| 2018-09-07 | Fix to not define outer when outer is itself. | dearblue | |
| example: a = Class.new a::A = a | |||
| 2018-09-07 | Clear terminated space | dearblue | |
