| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-09-13 | Fix `File.extname` bug; fix #5077 | Yukihiro "Matz" Matsumoto | |
| 2020-09-13 | Add test to ensure #5077 | Yukihiro "Matz" Matsumoto | |
| 2020-09-10 | Update `y.tab.c`; ref #4933 | Yukihiro "Matz" Matsumoto | |
| 2020-09-10 | Merge pull request #4933 from dearblue/variables | Yukihiro "Matz" Matsumoto | |
| Fix take over file scope variables with `mruby` and `mirb` command | |||
| 2020-09-07 | Merge pull request #5076 from dearblue/call_type | Yukihiro "Matz" Matsumoto | |
| Remove `enum call_type` | |||
| 2020-09-03 | Remove `enum call_type` | dearblue | |
| It seems to be unnecessary from mruby-1.0.0 or earlier. | |||
| 2020-08-30 | Fix `mrb_ary_splat()` to copy the array always. | Yukihiro "Matz" Matsumoto | |
| 2020-08-29 | Merge pull request #5068 from sizious/mingw32-legacy-fixes | Yukihiro "Matz" Matsumoto | |
| mruby-io: Fixing compilation issue under the legacy MinGW environment | |||
| 2020-08-29 | Fix the bug caused by `to_a` returning a frozen array. | Yukihiro "Matz" Matsumoto | |
| Reported by @shuujii. | |||
| 2020-08-29 | Fix a bug introduced by the last commit. | Yukihiro "Matz" Matsumoto | |
| Should have handled the case `to_a` returns `nil`. | |||
| 2020-08-29 | mruby-io: Fixing compilation issue under the legacy MinGW environment | SiZiOUS | |
| Adding MRB_MINGW32_LEGACY in common.h in order to identify the legacy MinGW environment (i.e. NOT to be confused with MinGW-w64). For more info about MinGW defined macros, see: https://sourceforge.net/p/predef/wiki/Compilers/ | |||
| 2020-08-29 | Fix `mrb_obj_ceqq` to avoid array copying. | Yukihiro "Matz" Matsumoto | |
| 2020-08-29 | Fix `mrb_ary_splat` to copy the array; fix #5067 | Yukihiro "Matz" Matsumoto | |
| 2020-08-12 | Merge pull request #5065 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/simplify-MSVC-detection-to-mrb_static_assert Simplify MSVC detection to `mrb_static_assert` | |||
| 2020-08-12 | Simplify MSVC detection to `mrb_static_assert` | KOBAYASHI Shuji | |
| 2020-08-11 | Merge pull request #5062 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/use-normal-static_assert-in-mrb_static_assert-as-much-as-possible Use normal `static_assert` in `mrb_static_assert` as much as possible | |||
| 2020-08-11 | Merge pull request #5063 from dearblue/stat32 | Yukihiro "Matz" Matsumoto | |
| Use `struct _stat32` instead of `struct __stat32` | |||
| 2020-08-11 | Use `struct _stat32` instead of `struct __stat32` | dearblue | |
| It is described as `struct __stat32` in the MSVC reference manual. https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/stat-functions?view=vs-2019 But it doesn't really exist, so it must use `struct _stat32`. It also replaces `struct __stat64` with `struct _stat64` to make it look nicer. | |||
| 2020-08-11 | Use normal `static_assert` in `mrb_static_assert` as much as possible | KOBAYASHI Shuji | |
| * `_Static_assert` can also be used with `-std=gnu99` on GCC >= 4.6. * `static_assert` can be used on MSVC. * `static_assert` can be used even on old G++/Clang++ if `__GXX_EXPERIMENTAL_CXX0X__` is defined. | |||
| 2020-08-11 | Fixed VC `fstat` issue. | Yukihiro "Matz" Matsumoto | |
| 2020-08-11 | Should use `_fstat32()` on 32bit Windows. | Yukihiro "Matz" Matsumoto | |
| 2020-08-11 | Add cast for `mrb_fixnum_value()` from `time_t`. | Yukihiro "Matz" Matsumoto | |
| 2020-08-11 | Fix `mrb_int` and `size_t` combination warnings. | Yukihiro "Matz" Matsumoto | |
| 2020-08-10 | Avoid using `mrb_funcall()` from `mruby-io` gem. | Yukihiro "Matz" Matsumoto | |
| 2020-08-09 | Remove duplicated definition of `E_EOF_ERROR`. | Yukihiro "Matz" Matsumoto | |
| 2020-08-09 | Merge pull request #5061 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/allow-mrb_static_assert-to-be-used-outside-of-functions Allow `mrb_static_assert()` to be used outside of functions | |||
| 2020-08-09 | Allow `mrb_static_assert()` to be used outside of functions | KOBAYASHI Shuji | |
| The use of `struct` is an idea by @dearblue. | |||
| 2020-08-08 | Return `NaN` for `0/0`; d8e060d | Yukihiro "Matz" Matsumoto | |
| 2020-08-08 | Should not use `mrb_float_value()` with `MRB_WITHOUT_FLOAT`. | Yukihiro "Matz" Matsumoto | |
| 2020-08-08 | Reintroduce `mrb_static_assert`; #5051 | Yukihiro "Matz" Matsumoto | |
| Note that the home brew version of `mrb_static_assert` only works within the function body. This reverts commit 8f99689. | |||
| 2020-08-07 | Avoid `division by zero` undefined behavior. | Yukihiro "Matz" Matsumoto | |
| 2020-08-06 | Merge pull request #5059 from mruby/stable | Yukihiro "Matz" Matsumoto | |
| Merge mruby 2.1.2 | |||
| 2020-08-06 | Merge master. | Hiroshi Mimaki | |
| 2020-08-06 | Use `memcpy` to copy stack. | Yukihiro "Matz" Matsumoto | |
| 2020-08-06 | Use `memset()` to clear stack unless `MRB_NAN_BOXING`. | Yukihiro "Matz" Matsumoto | |
| 2020-08-06 | Remove block clear of `callinfo`. | Yukihiro "Matz" Matsumoto | |
| 2020-08-06 | Remove `mrb_static_assert` from the core; #5051 | Yukihiro "Matz" Matsumoto | |
| 2020-08-06 | Update release date.2.1.2 | Hiroshi Mimaki | |
| 2020-08-05 | Merge pull request #5052 from dearblue/cistacks | Yukihiro "Matz" Matsumoto | |
| Extend the `cipush()` and `cipop()` functions | |||
| 2020-08-05 | Merge pull request #5058 from dearblue/benchmark | Yukihiro "Matz" Matsumoto | |
| Improve `rake benchmark` | |||
| 2020-08-04 | Improve `rake benchmark` | dearblue | |
| - Use POSIX format instead of GNU extension for `time` command. For example FreeBSD's `time(1)` does not have GNU extensions available. - Sort `benchmark/bm_*.rb`. This is because the order of the bar graph cannot be uniquely determined depending on the result of `Dir.glob`. | |||
| 2020-08-04 | Fix wrong condition for `PACK_DIR_HEX`; ref #5057 | Yukihiro "Matz" Matsumoto | |
| 2020-08-03 | Should not decrement `count` when `PACK_FLAG_COUNT2`; fix #5057 | Yukihiro "Matz" Matsumoto | |
| 2020-08-03 | Initialized local variables in `mrb_hash_shift()`. | Yukihiro "Matz" Matsumoto | |
| 2020-07-31 | Simplify `khash.h`. | Yukihiro "Matz" Matsumoto | |
| - Remove ` kh_put_prepare` function used only internally - Remove `n_occupied` member from `kh_` struct | |||
| 2020-07-31 | Fix `puts` in `mruby-print` on no argument; 0e9bd24 | Yukihiro "Matz" Matsumoto | |
| `puts` should print newline when called without arguments. | |||
| 2020-07-29 | Use type tag for hash code in `ht_hash_func()`2.1.2-rc2 | KOBAYASHI Shuji | |
| The function corresponding to `ht_hash_func()` was as follows in the days of khash implementation (before d78acc7a). ```c mrb_hash_ht_hash_func(mrb_state *mrb, mrb_value key) { enum mrb_vtype t = mrb_type(key); ... switch (t) { ... default: hv = mrb_funcall(mrb, key, "hash", 0); h = (khint_t)t ^ (khint_t)mrb_fixnum(hv); break; } ... } ``` When switched to the segmented list implementation (d78acc7a), this function was changed as follows. ```c sg_hash_func(mrb_state *mrb, seglist *t, mrb_value key) { enum mrb_vtype tt = mrb_type(key); ... switch (tt) { ... default: hv = mrb_funcall(mrb, key, "hash", 0); h = (size_t)t ^ (size_t)mrb_fixnum(hv); break; } ... } ``` Since the argument `t` was added, the variable for type tag was changed from `t` to `tt`, but the variable used in the expression of `h` remained `t`. Probably this is an omission of change, so fixed it. | |||
| 2020-07-29 | Fix the VM stack handling bug in 'mrb_yield_with_class()`; fix #5042 | Yukihiro "Matz" Matsumoto | |
| 2020-07-29 | Fixed shift width for `MRB_ENV_SET_BIDX()` | dearblue | |
| ref c07f24cd1 and close #5035 | |||
| 2020-07-26 | Merge pull request #5050 from dearblue/memsize_of2 | Yukihiro "Matz" Matsumoto | |
| Update document for `ObjectSpace.memsize_of` [ci skip] | |||
