| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-10-12 | You don't need to keep index in local variables info in `irep`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Remove `OP_EXT[123]` from operands. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Allow `rescue` modifier in endless method definitions. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Implement endless-def as in CRuby [Feature#16746]. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Rightward-assign by ASSOC. | Yukihiro "Matz" Matsumoto | |
| [ruby-bugs:15921] | |||
| 2020-10-12 | Avoid including `limits.h` and `stdint.h` before `mruby.h`. | Yukihiro "Matz" Matsumoto | |
| They are included from `mruby.h` anyway, and including it ahead can cause some errors regarding `INT32_MAX` etc. with C++ compiler. | |||
| 2020-10-12 | Do not define `mrb_lstat` unless `S_ISLNK` is defined. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Add casts to silence warnings. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Clarify the use of `MRB_64BIT` and `MRB_INT64` in `dump.c` and `load.c`. | Yukihiro "Matz" Matsumoto | |
| - `MRB_64BIT`: the size of a pointer is 64 bits - `MRB_INT64`: the size of `mrb_int` is 64 bits | |||
| 2020-10-12 | Enable NUL (`\0`) again. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Generate C struct from `irep` instead of binary dump. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Replace entire `irep->pool`. | Yukihiro "Matz" Matsumoto | |
| Changes: - `pool format is completely replaced - supported types: `STR`, `INT32`, `INT64`, `FLOAT` - `FLOAT` may be replaced by binary representation in the future - insert `NUL` after string literals in `mrb` files - `irep->pool` no longer store values in `mrb_value` - instead it stores in `mrb_pool_value` - less allocation - `mrb_irep` can be stored in ROM | |||
| 2020-10-12 | Rename `struct mrb_locals` to `struct mrb_lvinfo`. | Yukihiro "Matz" Matsumoto | |
| That stands for "local variable information". | |||
| 2020-10-12 | Add `irep` C struct dump from `mrbc` with `-S` option. | Yukihiro "Matz" Matsumoto | |
| But we need more work: - recursive `irep` dump (`irep->reps`) - pool values dump (`irep->pool`) | |||
| 2020-10-12 | Add `const` modifier to `mrb_irep` for `code_fetch_hook`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Constify `irep` members. | Yukihiro "Matz" Matsumoto | |
| - `pool` - `syms` - `reps` | |||
| 2020-10-12 | Add explicit cast to `DROP_PRECISION` macro in `rational.c`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Add `y.tab.c` to remove Bison from build dependencies; ref 4ce3997c | KOBAYASHI Shuji | |
| I sometimes see Bison related problems in setting up build environments. Therefore to remove Bison from build time dependencies, add `y.tab.c` generated by Bison to the repository. The reduction of dependency at build time also reduces the labor and time for setup and installation in CI. In addition, a path in `#line` directive is converted to a relative path so that its path is constant regardless of development environments. | |||
| 2020-10-12 | Change the arguments of following implicit conversion functions: | Yukihiro "Matz" Matsumoto | |
| - `mrb_convert_type` - `mrb_check_convert_type` Those function no longer take `tname` string representation of desired type, and take method symbols instead of `const char*` names. This is incompatible change. I hope no third-party gems use those functions. | |||
| 2020-10-12 | Use functions that take symbols to reduce string litrals in C. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Use `mrb->eStandardError` instead of `mrb_exc_get()`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Use `mrb_funcall_id()` extensively. | Yukihiro "Matz" Matsumoto | |
| Except for support files e.g. `mruby-test/driver.c`, which are not target of symbol collection via `rake gensym`. | |||
| 2020-10-12 | Use more `MRB_QSYM()`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Add `mruby-bin-config` to `default.gembox`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Use `MRB_QSYM()` instead of `MRB_OPSYM()`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Use `MRB_OPSYM()` instead of `mrb_intern_lit()`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Update `host*` targets to use `default.gembox`. | Yukihiro "Matz" Matsumoto | |
| And now `default.gembox` includes `mruby-socket` gem. | |||
| 2020-10-12 | Avoid changing directory in `mruby-io` test | KOBAYASHI Shuji | |
| 2020-10-12 | Should not use `assert` with expressions with side-effect; ref #4981 | Yukihiro "Matz" Matsumoto | |
| `assert()` can be completely removed when `NDEBUG` is set. | |||
| 2020-10-12 | Fixed wrong condition in #4981. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Avoid `snprintf` in `mruby-io` test; ref #4981 | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Remove the temporary file from the `AF_UNIX` socket test; #4981 | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Add `MRB_SYM()` for inline symbols. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | fix improper test of Range#min | taiyoslime | |
| 2020-09-25 | Prohibit string changes by "s"/"z" specifier of `mrb_get_args()` | dearblue | |
| - The `s` specifier is a string pointer obtained without performing `mrb_str_modify()`, so it cannot be changed. - The `z` specifier cannot be changed because it is a string pointer obtained by `RSTRING_CSTR()` which returns `const char *`. | |||
| 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-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-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 | 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-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-07-31 | Fix `puts` in `mruby-print` on no argument; 0e9bd24 | Yukihiro "Matz" Matsumoto | |
| `puts` should print newline when called without arguments. | |||
