| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-06-07 | Remove `Kernel#global_variables` from core | KOBAYASHI Shuji | |
| This method is defined in `mruby-metaprog` gem. | |||
| 2019-05-30 | Fix inverted compilation condition; fix #4478 | Yukihiro "Matz" Matsumoto | |
| 2019-05-29 | Add `mrb_alloca` again; ref #4470 | Yukihiro "Matz" Matsumoto | |
| This time, the allocated memory comes from the string object, which is referenced from GC arena. The memory region will be reclaimed when the C function called from VM is terminated, or the GC arena is restored. | |||
| 2019-05-27 | Merge pull request #4470 from dearblue/remove-mrb_alloca | Yukihiro "Matz" Matsumoto | |
| Remove `mrb_alloca()` function | |||
| 2019-05-26 | Move `mrb_mod_s_nesting()` to `mruby-metaprog` gem from the core | KOBAYASHI Shuji | |
| 2019-05-25 | Remove `mrb_alloca()` function | dearblue | |
| When I found this function, I expected it to behave the same as the `alloca(3)` function, but it is accually the `mrb_alloca()` function does not free the heap until the `mrb_close()` function is called. Also, even if it is deleted, it can be replaced with the combination of the `MRB_TT_DATA` object and the `mrb_gv_set()` function if it is sure necessary. | |||
| 2019-05-25 | Fix double rounded by negative index | dearblue | |
| - Before patched: ``` $ mruby -e 'p (-12..-1).map { |i| "Hello"[i] }.join' "HelloHello" ``` - After patched: ``` $ mruby -e 'p (-12..-1).map { |i| "Hello"[i] }.join' "Hello" ``` | |||
| 2019-05-25 | Name the return value of `mrb_range_beg_len()` | dearblue | |
| 2019-05-22 | Merge pull request #4403 from dearblue/read-irep-from-buf | Yukihiro "Matz" Matsumoto | |
| Read irep from buffers | |||
| 2019-05-21 | Update ISO section number for some Numeric methods. | Yukihiro "Matz" Matsumoto | |
| 2019-05-21 | Export `mrb_int_value` that converts `mrb_float` to `Fixnum`. | Yukihiro "Matz" Matsumoto | |
| Or `Float` if `mrb_float` value is too big (or too small) to fit in `mrb_int`. The `_int_` in `mrb_int_value` means `Integral` module, which represents integer-like values in mruby. | |||
| 2019-05-21 | Silence the return value warnings from gcc; ref 237a57b | Yukihiro "Matz" Matsumoto | |
| 2019-05-21 | Move `**`,`/`,`quo`,`div` and comparison methods to Integral from Numeric | KOBAYASHI Shuji | |
| Having these methods in Numeric can get in the way of creating subclasses of Numeric because they only support Fixnum and Float. | |||
| 2019-05-20 | Add new functions for numerical operation; ref 237a57b | Yukihiro "Matz" Matsumoto | |
| New functions: * mrb_num_plus(mrb, x, y) * mrb_num_minus(mrb, x, y) * num_num_mul(mrb, x, y) | |||
| 2019-05-19 | Merge pull request #4455 from dearblue/remove-LINE-section | Yukihiro "Matz" Matsumoto | |
| Remove "LINE" section reader | |||
| 2019-05-19 | Remove "LINE" section reader | dearblue | |
| Because it is not currently output by `mrbc`. | |||
| 2019-05-18 | Move `Kernel#equal? to `BasicObject` | KOBAYASHI Shuji | |
| 2019-05-18 | Move `Numeric#__coerce_step_counter` to `Integral` | KOBAYASHI Shuji | |
| This method is only used in `Integral#step` | |||
| 2019-05-18 | Add ISO section number to `Module#===`. | Yukihiro "Matz" Matsumoto | |
| 2019-05-18 | Rename `struct RIstruct` to `struct RIStruct`. | Yukihiro "Matz" Matsumoto | |
| 2019-05-17 | Make unused functions private. | Yukihiro "Matz" Matsumoto | |
| * mrb_fixnum_plus() * mrb_fixnum_minus() * mrb_fixnum_mul() | |||
| 2019-05-17 | Remove unused `mrb_num_div()` function. | Yukihiro "Matz" Matsumoto | |
| 2019-05-17 | Move `Numeric#div` to the core. | Yukihiro "Matz" Matsumoto | |
| 2019-05-17 | Make `flo_rount` to return `Integeral`. | Yukihiro "Matz" Matsumoto | |
| 2019-05-17 | Change the `num.divmod(float)` to return `[int,num]`. | Yukihiro "Matz" Matsumoto | |
| 2019-05-17 | Add a new function `mrb_int_value`. | Yukihiro "Matz" Matsumoto | |
| This function returns `Fixnum` if the value fits in `mrb_int`, otherwise it returns `Float` value (mruby behavior of handling integers). | |||
| 2019-05-17 | Use `int64_t` instead of `mrb_int` in `int64_value`. | Yukihiro "Matz" Matsumoto | |
| 2019-05-16 | Terminate float right shift if shift value is too big. | Yukihiro "Matz" Matsumoto | |
| 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-05-11 | Use `mrb_ensure_string_type` in `mrb_to_str` | KOBAYASHI Shuji | |
| 2019-05-08 | Use `mrb_string_value_cstr` in `mrb_str_to_dbl` | KOBAYASHI Shuji | |
| 2019-05-07 | Refactor `mrb_str_to_cstr` and `mrb_string_value_cstr` | KOBAYASHI Shuji | |
| - Extract null byte check to function. - Avoid string allocation if null byte is included. - Use `str_new` instead of `mrb_str_dup` + `mrb_str_modify` | |||
| 2019-05-04 | Check whether object is immediate in `mrb_gc_(register|unregister)` | KOBAYASHI Shuji | |
| 2019-05-04 | Merge pull request #4420 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/simplify-conversion-process-for-i-in-mrb_get_args Simplify conversion process for `i` in `mrb_get_args()` | |||
| 2019-05-03 | Simplify conversion process for `i` in `mrb_get_args()` | KOBAYASHI Shuji | |
| 2019-05-03 | Fix `FLAG_SRC_STATIC` always set in `mrb_read_irep()` with ↵ | dearblue | |
| `MRB_USE_CUSTOM_RO_DATA_P` | |||
| 2019-05-02 | Merge pull request #4417 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/unify-overflow-error-class-for-conversion-to-integer-to-RangeError Unify overflow error class for conversion to integer to `RangeError` | |||
| 2019-05-02 | Unify overflow error class for conversion to integer to `RangeError` | KOBAYASHI Shuji | |
| 2019-05-01 | Remove unneeded `argc` check in `mrb_str_aref_m()` | KOBAYASHI Shuji | |
| 2019-04-25 | Singleton class of frozen object should be frozen | KOBAYASHI Shuji | |
| Before this patch: p (class << Object.new.freeze; self end).frozen? #=> false sc = class << (o=Object.new); self end; o.freeze; p sc.frozen? #=> false After this patch / Ruby: p (class << Object.new.freeze; self end).frozen? #=> true sc = class << (o=Object.new); self end; o.freeze; p sc.frozen? #=> true | |||
| 2019-04-24 | Add mruby binary loader functions from buffer memory | dearblue | |
| Add new functions (with `MRB_API`): - `mrb_read_irep_buf()` - `mrb_load_irep_buf()` - `mrb_load_irep_buf_cxt()` | |||
| 2019-04-24 | Check mruby binary size | dearblue | |
| 2019-04-24 | Check mruby binary version | dearblue | |
| 2019-04-24 | Fix modiying class variable to frozen class/module | KOBAYASHI Shuji | |
| 2019-04-24 | Remove unnecessary `mrb_regexp_check()` and related functions. | Yukihiro "Matz" Matsumoto | |
| 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-23 | Fixed the condition in `mrb_funcall_with_block`; fix #4389 | Yukihiro "Matz" Matsumoto | |
| 2019-04-22 | Use `MRB_ASPEC_XXX()` macro in `codedump()` | KOBAYASHI Shuji | |
| 2019-04-16 | Fixed a bug in recursive `mrb_top_run` calls; fix #4384 | Yukihiro "Matz" Matsumoto | |
| 2019-04-15 | Fixed wrong function names; fix #4380 | Yukihiro "Matz" Matsumoto | |
