| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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). | |||
| 2018-11-15 | `String#{squeeze,delete,count}` to use bitmap for matching; ref #4163 | Yukihiro "Matz" Matsumoto | |
| 2018-11-15 | Pattern length may overflow `uint16_t`; fixed #4163 | Yukihiro "Matz" Matsumoto | |
| The issue is reported by `https://hackerone.com/dgaletic`. | |||
| 2018-11-02 | Add tests for empty patterns for `tr` and `count`; #4156 #4157 | Yukihiro "Matz" Matsumoto | |
| 2018-11-02 | Empty pattern string for `String#tr` should remove characters; fix #4157 | Yukihiro "Matz" Matsumoto | |
| 2018-11-02 | Empty pattern string can generate `TR_UNINITIALIZED` pattern; fix #4156 | Yukihiro "Matz" Matsumoto | |
| 2018-11-01 | Silence Appveyor's VC compilation warnings. | Yukihiro "Matz" Matsumoto | |
| 2018-10-30 | VS 2017 C does not understand inline struct initialization; ref #4153 | Yukihiro "Matz" Matsumoto | |
| 2018-10-29 | Keep tr_pattern static | take-cheeze | |
| 2018-09-27 | Fixed a `String#squeeze` bug in handling `iso-8859-1` strings; ref #4127 | Yukihiro "Matz" Matsumoto | |
| 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 | 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-07-30 | New bytecode implementation of mruby VM. | Yukihiro "Matz" Matsumoto | |
| 2018-04-21 | Implement `String#upto` in Ruby. | Yukihiro "Matz" Matsumoto | |
| Avoid using `mrb_yield` in C code. The function is not recommended. Because it doesn't work well with fibers. | |||
| 2018-04-19 | CRuby2.6 stops deprecating `String#lines` with a block. | Yukihiro "Matz" Matsumoto | |
| `String#lines` (with a block) is now implemented in Ruby. | |||
| 2018-04-19 | `String#lines` with a block is deprecated style. | Yukihiro "Matz" 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-08 | Uninitialized value returned. | Yukihiro "Matz" Matsumoto | |
| 2017-11-04 | Merge branch 'master' of github.com:mruby/mruby | YAMAMOTO Masaya | |
| 2017-10-17 | Use a new function: `mrb_get_argc()`; ref #3826 | Yukihiro "Matz" Matsumoto | |
| 2017-10-17 | Add `{String,Symbol}#casecmp?`; CRuby2.4 | Yukihiro "Matz" Matsumoto | |
| 2017-10-17 | Add `String#delete_{prefix,suffix}`; CRuby2.5 | Yukihiro "Matz" Matsumoto | |
| 2017-10-16 | Support MRB_WIHTOUT_FLOAT to mruby-string-ext | YAMAMOTO Masaya | |
| 2017-09-27 | fix: mrbgems\mruby-string-ext\src\string.c(49): warning C4244: '=': ↵ | Tomasz Dąbrowski | |
| conversion from 'mrb_int' to 'int', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-string-ext\src\string.c(30): warning C4244: '=': ↵ | Tomasz Dąbrowski | |
| conversion from 'mrb_int' to 'long', possible loss of data | |||
| 2017-09-27 | fix: mrbgems\mruby-string-ext\src\string.c(38): warning C4244: '=': ↵ | Tomasz Dąbrowski | |
| conversion from 'mrb_int' to 'char', possible loss of data | |||
| 2017-08-18 | Rename `mrb_str_concat2` to `mrb_str_concat_m`. | Yukihiro "Matz" Matsumoto | |
| According to the naming convention a function that implements a method should be suffixed by `_m`. | |||
| 2017-06-20 | Avoid using `snprintf(3)` in case `MRB_DISABLE_STDIO`; fix #3714 | Yukihiro "Matz" Matsumoto | |
| 2017-06-19 | Save gc_arena after buffer got allocated | Asmod4n | |
| Latest fix was freeing the buffer while it was still in use. Fixes #3712 | |||
| 2017-06-16 | Use `MRB_PRId` instead of `d` for mrb_int decimal specifier; ref #3701 | Yukihiro "Matz" Matsumoto | |
| 2017-06-16 | Use `mrb_str_new()` instead of `malloc()`; ref #3701 | Yukihiro "Matz" Matsumoto | |
| Otherwise the function may terminate and cause memory leaks. | |||
| 2017-06-16 | Should not use `sizeof(buf)` when `buf` is `char*`; #3701 | Yukihiro "Matz" Matsumoto | |
| 2017-06-14 | Use malloc instead of dynamic allocation | ksss | |
| 2017-06-14 | Fix arena overflow error | ksss | |
| 2017-06-14 | Reimplement String#upto | ksss | |
| 2017-05-21 | String#concat: Try to convert when not string | ksss | |
| 2017-04-25 | Silence warnings caused by implicit type casting. | Yukihiro "Matz" Matsumoto | |
| 2017-04-03 | Unify `else` clause style | Yukihiro "Matz" Matsumoto | |
| 2017-03-10 | Terminate loop if generated string longer than the last; ref #3489 | Yukihiro "Matz" Matsumoto | |
| 2017-03-05 | Check modifiable for String `bang' methods | ksss | |
| 2017-02-11 | Remove historical comment; ref #3450 #3448 | Yukihiro "Matz" Matsumoto | |
| 2017-02-11 | remove skip that shouldn't be necessary anymore. | robert | |
| the test should pass after https://github.com/mruby/mruby/commit/8f4a929e1a01c8d6176fb53a9ef5dff6de632959. | |||
