| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-06-25 | Merge pull request #4516 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/fix-struct-RRange-overflow-on-32-bit-CPU-with-MRB_NAN_BOXING Fix `struct RRange` overflow on 32-bit CPU with `MRB_NAN_BOXING` | |||
| 2019-06-25 | Merge pull request #4517 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/remove-unneeded-statement-in-SET_OBJ_VALUE-with-boxing_word.h Remove unneeded statement in `SET_OBJ_VALUE` with `boxing_word.h` | |||
| 2019-06-25 | Merge pull request #4528 from shuujii/fix-argument-specs-to-Array | Yukihiro "Matz" Matsumoto | |
| Fix argument specs to `Array` | |||
| 2019-06-25 | Merge pull request #4530 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/compare-obj-pointer-directly-instead-of-using-mrb_obj_eq-in-mrb_gc_unregister Compare obj pointer directly instead of using mrb_obj_eq in mrb_gc_unregister | |||
| 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-25 | Fixed a bug caused by `to_s` that returns `nil`; fix 4504 | Yukihiro "Matz" Matsumoto | |
| 2019-06-25 | Fix `mrb_str_to_str()` to handle symbols. | Yukihiro "Matz" Matsumoto | |
| 2019-06-25 | Renamed `stacked` to `onstack`; ref #4523 | Yukihiro "Matz" Matsumoto | |
| 2019-06-24 | Compare obj pointer directly instead of using mrb_obj_eq in mrb_gc_unregister | KOBAYASHI Shuji | |
| Because immediate values are not registered. | |||
| 2019-06-23 | Fix argument specs to `Array` | KOBAYASHI Shuji | |
| 2019-06-23 | Merge pull request #4526 from shuujii/refine-Hash-rehash-example | Yukihiro "Matz" Matsumoto | |
| Refine `Hash#rehash` example [ci skip] | |||
| 2019-06-23 | Merge pull request #4523 from dearblue/use-stack | Yukihiro "Matz" Matsumoto | |
| Use stack memory for small name of Struct members | |||
| 2019-06-23 | Merge pull request #4525 from dearblue/utf8len-overflow | Yukihiro "Matz" Matsumoto | |
| Fix potential overflow in `utf8len()` | |||
| 2019-06-22 | Fix the unnecessary `mrb_str_modify()` call | dearblue | |
| Now to be calls `mrb_str_modify()` only once when 2 or more characters. | |||
| 2019-06-22 | Delete the unnecessary block brace in `mrb_str_reverse_bang` | dearblue | |
| 2019-06-22 | Fix string brakes for one UTF-8 charactor | dearblue | |
| 2019-06-22 | Add test for one UTF-8 charactor | dearblue | |
| 2019-06-22 | Change to UTF-8 string reversing with in place | dearblue | |
| Reverses UTF-8 strings without allocated heap for working memory. 1. String before reversing: ``` "!yburmの界世" # byte unit [33, 121, 98, 117, 114, 109, 227, 129, 174, 231, 149, 140, 228, 184, 150] ``` 2. Reverse the byte order of each character: ``` [33, 121, 98, 117, 114, 109, 174, 129, 227, 140, 149, 231, 150, 184, 228] ``` 3. Reverse the whole byte order and complete: ``` [228, 184, 150, 231, 149, 140, 227, 129, 174, 109, 114, 117, 98, 121, 33] # string "世界のmruby!" ``` | |||
| 2019-06-22 | Replacement to function for string reversing | dearblue | |
| 2019-06-22 | Refine `Hash#rehash` example [ci skip] | KOBAYASHI Shuji | |
| Previous example doesn't work because string key (frozen) can't be modified. | |||
| 2019-06-22 | Fix potential overflow in `utf8len()` | dearblue | |
| For example on 32 bit mode, when `p = 0xfffffffd`, `e = 0xfffffffe` and `len = 4`, the sum of `p` and `len` can be to `1`, and comparison with `e` will to be false. As a result, a segmentation fault occurs by referring to address 0. | |||
| 2019-06-22 | Merge pull request #4518 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/add-ISO-section-number-to-Kernel-local_variables Add ISO section number to `Kernel.#local_variables` [ci skip] | |||
| 2019-06-22 | Use stack memory for small name of Struct members | dearblue | |
| 2019-06-22 | Merge pull request #4521 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/move-Kernel-__send__-test-to-core-from-mruby-metaprog Move `Kernel#__send__` test to core from `mruby-metaprog` | |||
| 2019-06-21 | Move `Kernel#__send__` test to core from `mruby-metaprog` | KOBAYASHI Shuji | |
| 2019-06-20 | Add ISO section number to `Kernel.#local_variables` [ci skip] | KOBAYASHI Shuji | |
| 2019-06-19 | Remove unneeded statement in `SET_OBJ_VALUE` with `boxing_word.h` | KOBAYASHI Shuji | |
| `(r).value.bp` and `v` have the same value due to assignment of the line preceding the removed line. | |||
| 2019-06-19 | Merge pull request #4510 from shuujii/remove-unneeded-mrb_str_dup-in-Module-name | Yukihiro "Matz" Matsumoto | |
| Remove unneeded `mrb_str_dup()` in `Module#name` | |||
| 2019-06-19 | Merge pull request #4514 from mimaki/fix-error.h | Yukihiro "Matz" Matsumoto | |
| Fix path of `error.h`. | |||
| 2019-06-18 | Fix `struct RRange` overflow on 32-bit CPU with `MRB_NAN_BOXING` | KOBAYASHI Shuji | |
| 2019-06-18 | Fix path of `error.h`. | Hiroshi Mimaki | |
| 2019-06-17 | Remove unneeded `mrb_str_dup()` in `Module#name` | KOBAYASHI Shuji | |
| `mrb_class_path()` always returns a new string or `nil`. | |||
| 2019-06-17 | Merge pull request #4508 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/fix-cvar-ivar-const-and-method-can-be-removed-to-frozen-object Fix cvar, ivar, const and method can be removed to frozen object | |||
| 2019-06-17 | Merge pull request #4507 from shuujii/fix-index-in-error-message-of-Struct-aref | Yukihiro "Matz" Matsumoto | |
| Fix index in error message of `Struct#[]` | |||
| 2019-06-17 | Fixed indentation in parse.y | Yukihiro "Matz" Matsumoto | |
| 2019-06-17 | Allow newlines and comments between method calls. | Yukihiro "Matz" Matsumoto | |
| 2019-06-17 | Support `&.` at the beginning of the line. | Yukihiro "Matz" Matsumoto | |
| 2019-06-17 | Fixed wrong behavior on `..` at the beginning of the line. | Yukihiro "Matz" Matsumoto | |
| 2019-06-17 | Merge pull request #4502 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/adjust-allocation-size-in-mrb_id_attrset-mruby-struct Adjust allocation size in `mrb_id_attrset()` (`mruby-struct`) | |||
| 2019-06-16 | Fix cvar, ivar, const and method can be removed to frozen object | KOBAYASHI Shuji | |
| 2019-06-15 | Fix index in error message of `Struct#[]` | KOBAYASHI Shuji | |
| Before this patch: $ bin/mruby -e 'Struct.new(:a,:b).new[-3]' #=> offset -1 too small for struct(size:2) (IndexError) After this patch (same as Ruby): $ bin/mruby -e 'Struct.new(:a,:b).new[-3]' #=> offset -3 too small for struct(size:2) (IndexError) | |||
| 2019-06-14 | Merge pull request #4506 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/remove-a-meaningless-branch-condition-in-mruby-struct Remove a meaningless branch condition in `mruby-struct` | |||
| 2019-06-14 | Remove a meaningless branch condition in `mruby-struct` | KOBAYASHI Shuji | |
| The following branch condition is always true: // mrbgems/mruby-struct/src/struct.c:187 in make_struct_define_accessors() if (is_local_id(mrb, name) || is_const_id(mrb, name)) { | |||
| 2019-06-14 | Merge pull request #4505 from shuujii/fix-class-name-validation-in-Struct.new | Yukihiro "Matz" Matsumoto | |
| Fix class name validation in `Struct.new` | |||
| 2019-06-13 | Fix class name validation in `Struct.new` | KOBAYASHI Shuji | |
| Before this patch: $ bin/mruby -e 'p Struct.new("A-")' #=> Struct::"A-" After this patch: $ bin/mruby -e 'p Struct.new("A-")' #=> NameError: identifier A- needs to be constant | |||
| 2019-06-13 | Merge pull request #4500 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/kernel-global_variables-should-not-include-undefined-gvar `Kernel#global_variables` should not include undefined `$1`-`$9` | |||
| 2019-06-13 | Merge pull request #4503 from shuujii/fix-typo-in-String-setbyte-error-message | Yukihiro "Matz" Matsumoto | |
| Fix typo in `String#setbyte` error message | |||
| 2019-06-12 | Fix typo in `String#setbyte` error message | KOBAYASHI Shuji | |
| 2019-06-12 | Adjust allocation size in `mrb_id_attrset()` (`mruby-struct`) | KOBAYASHI Shuji | |
| 2019-06-11 | Merge pull request #4501 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/remove-redundant-colon-in-Proc-inspect-mruby-proc-ext Remove redundant colon in `Proc#inspect` (`mruby-proc-ext`) | |||
