| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-09-26 | Use `mrb_undef_value` for delete mark instead of shifting Hash entry table. | Yukihiro "Matz" Matsumoto | |
| That means entry table should be compacted periodically by `sg_compact()`. | |||
| 2018-09-26 | Revert "Fix comparisons in str_squeeze." | Yukihiro "Matz" Matsumoto | |
| This reverts commit 7b04fcd092006b6e78cd63619fb7ae972f8e0c5d. The issue was addressed by 9e3cbaa. No longer needed. | |||
| 2018-09-26 | Avoid using `memmove()` for performance; fix #4130 | Yukihiro "Matz" Matsumoto | |
| 2018-09-26 | Disambiguate block braces. | Yukihiro "Matz" Matsumoto | |
| 2018-09-26 | Rename `tr_pattern_free()` to `tr_free_pattern()`. | Yukihiro "Matz" Matsumoto | |
| 2018-09-25 | Fix leak in `mrb_str_count` | Takeshi Watanabe | |
| 2018-09-24 | Fix comparisons in str_squeeze. | Clayton Smith | |
| 2018-09-21 | Implement `String#delete` and `#delete!`; ref #4086 | Yukihiro "Matz" Matsumoto | |
| mruby restriction: In mruby, `String#delete` only takes single pattern argument. | |||
| 2018-09-21 | Implement `String#count`; ref #4086 | Yukihiro "Matz" Matsumoto | |
| mruby restriction: In mruby, `String#count` does not take multiple pattern arguments, but only one pattern. | |||
| 2018-09-21 | Add `String#squeeze` and `#squeeze!`; ref #4086 | Yukihiro "Matz" Matsumoto | |
| mruby restriction: `String#squeeze` can take more than 1 pattern arguments in CRuby, in that case, the intersection of patterns will be used to match. But in mruby, it doesn't take multiple patterns. | |||
| 2018-09-21 | Add `String#tr_s` and `String#tr_s!`; ref #4086 | Yukihiro "Matz" Matsumoto | |
| 2018-09-21 | Add `String#tr` and `#tr!` to `mruby-string-ext` gem; fix #4086 | Yukihiro "Matz" Matsumoto | |
| This patch is based on `mruby/c` implementation by Hirohito Higashi. We might need to add `#tr_s`, `#squeeze` and `#delete` as well. Adding them should not be too hard using functions we implemented here. | |||
| 2018-09-21 | Implement `Array#union` which is introduced in Ruby2.6. | Yukihiro "Matz" Matsumoto | |
| 2018-09-20 | Improve performance of `Array#uniq!`. | Yukihiro "Matz" Matsumoto | |
| 2018-09-20 | Move `Symbol#to_proc` to the core from `mruby-symbol-ext` gem. | Yukihiro "Matz" Matsumoto | |
| Even though `Symbol#to_proc` is not included in ISO standard, the `some_method(&:method_name)` is used very widely and convenient. So we moved it to the core. | |||
| 2018-09-20 | Make `#to_h` to take a block; [ruby-core:89088] | Yukihiro "Matz" Matsumoto | |
| 2018-09-20 | Small refactoring in `mruby-hash-ext`. | Yukihiro "Matz" Matsumoto | |
| 2018-09-18 | Use `mrb_to_flo()` to check return value from `to_f`; fix #4115 | Yukihiro "Matz" Matsumoto | |
| The ISO standard does not include implicit type conversion using `to_int`, `to_str` and sometimes `to_f`. For the compactness of the mruby implementation, maybe we should remove those implicit conversion from mruby. | |||
| 2018-09-18 | Array size may be changed in `mrb_get_args()` reentry. | Yukihiro "Matz" Matsumoto | |
| fix #4116; fix #4117; fix #4118; fix #4119; fix #4120 | |||
| 2018-09-15 | Exclude pipe and exec on iOS/tvOS | Tom Black | |
| Use of `execl()` is prohibited on these platforms | |||
| 2018-09-16 | fixup! Add support for iOS platforms that does not support `fork`; fix #4113 | Yukihiro "Matz" Matsumoto | |
| 2018-09-16 | Merge pull request #4121 from clayton-shopify/fix-sprintf-overflow | Yukihiro "Matz" Matsumoto | |
| Prevent signed integer overflow. | |||
| 2018-09-16 | Add support for iOS platforms that does not support `fork`; fix #4113 | Yukihiro "Matz" Matsumoto | |
| 2018-09-14 | Prevent signed integer overflow. | Clayton Smith | |
| 2018-09-08 | Merge pull request #4110 from dearblue/fix-typo1 | Yukihiro "Matz" Matsumoto | |
| Fix typo | |||
| 2018-09-07 | Clear terminated space | dearblue | |
| 2018-09-07 | Fix integer overflow issue; fix #4108 | Yukihiro "Matz" Matsumoto | |
| I misunderstood the return value from `snprintf()`, which is NOT number of characters written in buffer, but the number of character the buffer has to have to write the complete output. | |||
| 2018-09-07 | Add a new method `unpack1` to `mruby-pack` gem. | Yukihiro "Matz" Matsumoto | |
| 2018-09-07 | Fix heap buffer overflow in `unpack_a`; fix #4103 | Yukihiro "Matz" Matsumoto | |
| 2018-09-06 | Make `Kernel#sleep` to accept float as a duration time. | Yukihiro "Matz" Matsumoto | |
| But when `MRB_WITHOUT_FLOAT` is set, there's no way to sleep for sub seconds. So mruby specific `usleep` is provided. | |||
| 2018-09-06 | Remove `Sleep` module that does not exist in CRuby. | Yukihiro "Matz" Matsumoto | |
| 2018-09-06 | Need to support multiple `**` splats in argument list; fix #4106 | Yukihiro "Matz" Matsumoto | |
| 2018-09-05 | Refactored `mruby-sleep` gem. | Yukihiro "Matz" Matsumoto | |
| * Method implementation functions made `static`. * Function declaration style has been changed. * Unnecessary header file `mrb_sleep.h` removed. * Used `mrb_get_args()` instead of self parsing. * Indentation kept untouched. | |||
| 2018-09-05 | Add `mruby-sleep` gem to the core. | Yukihiro "Matz" Matsumoto | |
| 2018-09-05 | Free `mrbc_context` on exit from `mruby`. | Yukihiro "Matz" Matsumoto | |
| 2018-09-04 | Add type casts to silence MSVC warnings. | Yukihiro "Matz" Matsumoto | |
| 2018-09-01 | Avoid warning in MSVC compilation. | Yukihiro "Matz" Matsumoto | |
| 2018-09-01 | Too much peephole optimization in `gen_call`; fix #4091 | Yukihiro "Matz" Matsumoto | |
| It causes trouble for safe navigation operator. | |||
| 2018-09-01 | Move `Kernel#send` to `mruby-metaprog` gem. | Yukihiro "Matz" Matsumoto | |
| But `BasicObject#__send__` is still available from the core. | |||
| 2018-09-01 | Use `__send__` instead of `send`. | Yukihiro "Matz" Matsumoto | |
| 2018-08-30 | Separate meta-programming features to `mruby-metaprog` gem. | Yukihiro "Matz" Matsumoto | |
| We assume meta-programming is less used in embedded environments. We have moved following methods: * Kernel module global_variables, local_variables, singleton_class, instance_variables, instance_variables_defined?, instance_variable_get, instance_variable_set, methods, private_methods, public_methods, protected_methods, singleton_methods, define_singleton_methods * Module class class_variables, class_variables_defined?, class_variable_get, class_variable_set, remove_class_variable, included_modules, instance_methods, remove_method, method_removed, constants * Module class methods constants, nesting Note: Following meta-programming methods are kept in the core: * Module class alias_method, undef_method, ancestors, const_defined?, const_get, const_set, remove_const, method_defined?, define_method * Toplevel object define_method `mruby-metaprog` gem is linked by default (specified in default.gembox). When it is removed, it will save 40KB (stripped:8KB) on x86-64 environment last time I measured. | |||
| 2018-08-30 | Remove consequent `OP_RETURN` by peephole optimization. | Yukihiro "Matz" Matsumoto | |
| 2018-08-29 | Merge branch 'node_negate_fix' of https://github.com/ukrainskiysergey/mruby ↵ | Yukihiro "Matz" Matsumoto | |
| into ukrainskiysergey-node_negate_fix | |||
| 2018-08-29 | Check iseq buffer size before code emission; fix #4090 | Yukihiro "Matz" Matsumoto | |
| The type of `s->pc` is now `uint16_t` that can be overflowed easily. Need more checks. | |||
| 2018-08-28 | Merge branch 'mruby2-draft' | Yukihiro "Matz" Matsumoto | |
| 2018-08-25 | Reduce integer casting warnings. | Yukihiro "Matz" Matsumoto | |
| 2018-08-25 | fixup! New bytecode implementation of mruby VM. | 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 | Remove unused `NODE_*` constants from `node.h`. | Yukihiro "Matz" Matsumoto | |
| 2018-08-25 | Add `NODE_KW_HASH` support in `mrb_parser_dump()`. | Yukihiro "Matz" Matsumoto | |
