| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-06-20 | Support integer and float combination in `mrb_equal()`. | Yukihiro "Matz" Matsumoto | |
| 2020-06-15 | Remove unused `MRB_TT_FILE`. | Yukihiro "Matz" Matsumoto | |
| 2019-10-31 | Set `MRB_STR_ASCII` flag to some stringize methods | KOBAYASHI Shuji | |
| - `Fixnum#to_s`, `Fixnum#inspect` - `Float#to_s`, `Float#inspect` - `NilClass#to_s`, `NilClass#inspect` - `FalseClass#to_s`, `FalseClass#inspect` - `TrueClass#to_s`, `TrueClass#inspect` - `Time#to_s`, `Time#inspect` | |||
| 2019-10-20 | Use `mrb_str_cat_str` instead of `mrb_str_concat` if possible | KOBAYASHI Shuji | |
| 2019-10-04 | Freeze strings from `nil.to_s`, `true.to_s`, `false.to_s`. | Yukihiro "Matz" Matsumoto | |
| This is an experimental changes in Ruby 2.7. | |||
| 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-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-05-11 | Use `mrb_ensure_string_type` in `mrb_to_str` | KOBAYASHI Shuji | |
| 2019-03-02 | Do not apply `mrb_ptr()` to immediate objects; fix #4307 | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Restore `mrb_string_type` function for compatibility. | Yukihiro "Matz" Matsumoto | |
| 2018-11-19 | Removed `to_hash` conversion method. | 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). | |||
| 2018-02-13 | Check if `to_int` returns `fixnum` value; fix #3946 | Yukihiro "Matz" Matsumoto | |
| 2017-10-11 | Add MRB_WITHOUT_FLOAT | YAMAMOTO Masaya | |
| 2017-09-27 | fix: mrbgems\mruby-kernel-ext\src\kernel.c(114): warning C4244: 'function': ↵ | Tomasz Dąbrowski | |
| conversion from 'mrb_int' to 'int', possible loss of data | |||
| 2017-08-18 | Separate `mrb_str_buf_new` and `mrb_str_new_capa`. | Yukihiro "Matz" Matsumoto | |
| `mrb_str_buf_new` is an old function that ensures capacity size of `MRB_STR_BUF_MIN_SIZE` minimum. Usually one need to use `mrb_str_new_capa` instead. | |||
| 2017-05-26 | Add new range check macro FIXABLE_FLOAT(); ref #3652 | Yukihiro "Matz" Matsumoto | |
| When MRB_INT64, valid value range of mrb_int is bigger than double, which only has 53 bits significant precision. | |||
| 2017-04-11 | Fixed a bug in `mrb_convert_to_integer()`; fix #3581 | Yukihiro "Matz" Matsumoto | |
| Did not update the result from `mrb_check_string_type()` before string-to-integer conversion. | |||
| 2016-12-01 | Use mrb_ptr instead of mrb_cptr in Kernel#to_s | Bouke van der Bijl | |
| This is to avoid segfault when WORD_BOXING is enabled Reported by https://hackerone.com/brakhane | |||
| 2016-11-30 | Prohibit instantiation of immediate objects | Yukihiro "Matz" Matsumoto | |
| 2016-11-24 | Avoid casting from int to unsigned char for C++; ref #3267 | Yukihiro "Matz" Matsumoto | |
| 2016-11-17 | renamed "inline" to "istruct" to represent inline struct; ref #3251 | Yukihiro "Matz" Matsumoto | |
| 2016-11-17 | inline structures data type for mruby (MRB_TT_INLINE) (fix #3237) | Tomasz Dąbrowski | |
| Inline structures have no instance variables, no finalizer, and offer as much space as possible in RBASIC object. This means 24 bytes on 64-bit platforms and 12 bytes on 32-bit platforms. mruby-inline-struct gem is only provided for testing. | |||
| 2015-12-16 | Add case statement of MRB_TT_SCLASS in mrb_obj_is_kind_of() | Kei Sawada | |
| 2015-11-27 | include changed from by quotes ("") to by brackets (<>); close #3032 | Yukihiro "Matz" Matsumoto | |
| 2015-10-20 | Increasing docs coverage | Seba Gamboa | |
| 2015-09-05 | remove `origin` member to implement prepend from struct RClass; ref #2885 | Yukihiro "Matz" Matsumoto | |
| instead origin is saved in ICLASS with MRB_FLAG_IS_ORIGIN set. | |||
| 2015-07-13 | Set origin when doing kind_of? comparisons | Blaž Hrastnik | |
| 2015-06-24 | Remove unnecessary backticks. | Franck Verrot | |
| Dr Markus Kuhn published in 1999 an article [1] explaining in details why we shouldn't use the ASCII grave accent (0x60) as a left quotation. Backticks have been used most notably to produce nice-looking LaTeX documents but it doesn't seem to be an issue on modern platforms and for the oldest ones, there are workarounds as mentioned by Dr Kuhn. [1]: https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html | |||
| 2014-10-29 | Fix mrb_convert_to_integer. | Jun Hiroe | |
| 2014-08-18 | revert mrb_equal method | kkkkkt | |
| 2014-08-18 | refactor mruby method(fix indent. remove temporary value, duplicate procedure) | kkkkkt | |
| 2014-08-04 | rename obsolete mrb_special_const_p to mrb_immediate_p | Yukihiro "Matz" Matsumoto | |
| 2014-08-04 | add MRB_API modifiers to mruby API functions | Yukihiro "Matz" Matsumoto | |
| 2014-07-09 | Clean up value.h and mrb_value boxing | David Turnbull | |
| 2014-03-16 | fix bool number to macro | ksss | |
| 2014-03-12 | fix mrb_funcall calling | take_cheeze | |
| 2014-03-08 | use mrb_str_cat_lit for literals | cremno | |
| 2014-03-06 | make embed string when create literals | ksss | |
| 2014-03-06 | embed small string | ksss | |
| use flags 4 for *this object is embed* use flags 8~64 for *embed string length* | |||
| 2014-03-01 | use C style comments instead of C++ style comments | cubicdaiya | |
| According to CONTRIBUTING.md, Don't use C++ style comments /* This is the prefered comment style */ Use C++ style comments only for temporary comment e.g. commenting out some code lines. | |||
| 2014-02-27 | use mrb_str_cat_lit() intead of mrb_str_cat | cubicdaiya | |
| 2014-02-13 | mrb_str_cat2: deprecated since 0cedf8f | cremno | |
| 2014-02-09 | Merge pull request #1674 from cremno/mrb_bool-FALSE-TRUE | Yukihiro "Matz" Matsumoto | |
| use mrb_bool, FALSE and TRUE more | |||
| 2014-02-06 | use mrb_str_new_lit() more widely | Yukihiro "Matz" Matsumoto | |
| 2014-01-31 | use mrb_bool, FALSE and TRUE more | cremno | |
| It doesn't matter to me if one is using FALSE/TRUE instead of 1/0 but I prefer a type (alias) which emphasizes boolean vars to int. I changed 1/0 to FALSE/TRUE anyway. | |||
| 2014-01-07 | remove superfluous includes | cremno | |
| - reduce compile time by a little bit (full-core: ~0.7s for me) - thanks to 'include-what-you-use' for some help - include Standard C header files before any other (coding style) | |||
| 2014-01-02 | tiny word boxing optimization | cremno | |
