| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-10-12 | Make sure `bintest` only works with `host` target. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Pack `mrb_value` into `uint64_t` when `MRB_NAN_BOXING`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Use hash table instead of segment list for instance variables. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Rename `mrb_hash_modify` to `hash_modify`. | Yukihiro "Matz" Matsumoto | |
| Since it's an internal static function. | |||
| 2020-10-12 | Use `mrb_field_write_barrier` instead of `mrb_write_barrier` for `push`. | Yukihiro "Matz" Matsumoto | |
| When the array is very big, the simpler `mrb_write_barrier` causes calling `gc_mark_children` for big arrays repeatedly. That would hinder performance very badly. | |||
| 2020-10-12 | Check `lv` before printing local variable names. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Fix the bug by the combination with `MRB_64BIT` and `MRB_INT32`. | Yukihiro "Matz" Matsumoto | |
| Which is caused by `MRB_NAN_BOXING`. | |||
| 2020-10-12 | Run tests for `target/boxing.rb`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | You don't need to keep index in local variables info in `irep`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Enable method cache by default. | Yukihiro "Matz" Matsumoto | |
| Introduced `MRB_NO_METHOD_CACHE` which is inverse of `MRB_METHOD_CACHE` that should be enabled intestinally. In addition, the default cache is made bigger (128 -> 256). | |||
| 2020-10-12 | Provide a new build target `host-gprof` that enables profiling. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Call `#initialize_copy` from `init_copy` only if it's redefined. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Skip `mrb_get_args()` in `mrb_ary_push()`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Upgrade `RITE_VM_VERSION` to `0300` (means mruby 3.0). | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Split `MRB_BINARY_FORMAT` to major and minor. | Yukihiro "Matz" Matsumoto | |
| The minor versions should be upper compatible. So mere opcode, section addition can be done without breaking compiled binary. | |||
| 2020-10-12 | Update opcode reference and comment. | Yukihiro "Matz" Matsumoto | |
| - no OP_EXT_ anymore - OP_LOADI16 in right position | |||
| 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 | Stop `CXX_ABI` test with VisualC++. | Yukihiro "Matz" Matsumoto | |
| This combination is too hard to support. Difference between C and C++ is too big with VisualC++. GCC and clang are OK. | |||
| 2020-10-12 | Run `rake gensym` on AppVeyor. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Add `const` to `irep` structure to place data on ROM. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Invoke `rake gensym` for GitHub action build. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Constify `irep` struct for `Class#new`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Add `const` qualifier to generated `Proc` structures. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Should not mark red (i.e. ROM allocated) objects. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Add `/std:c++latest` option to VC `CXX_ABI` build. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Do not define `mrb_lstat` unless `S_ISLNK` is defined. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Use `int` instead of `mrb_int` for arena index. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Specify the size of `struct RStringEmbed` array part. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Use `%u` instead of `%d` to dump symbol IDs. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Avoid use of designated initializer for the sake of `cxx_abi`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Add casts to silence warnings. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Add explicit `gensym` to GitHub Actions. | 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 | Fix `dump.c` for `MRB_INT32` env. | Yukihiro "Matz" Matsumoto | |
| 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 | Generate C source file to represent `mrb_irep` structures. | Yukihiro "Matz" Matsumoto | |
| Type `mrbc -S -B<init> -o<outfile> <rbfiles...>` to generate the C source code that holds compiled `mrb_irep`. Appending the following code to the bottom of the generated code, `mruby` executes the compiled code: ```C int main() { mrb_state *mrb = mrb_open(); struct RProc *p = mrb_proc_new(mrb, &init_irep); mrb_vm_run(mrb, p, mrb_top_self(mrb), 0); mrb_close(mrb); return 0; } ``` Eventually static compile should use this representation, instead of `uint8_t` array that holds `mrb` data, so that we can skip interpreting `mrb` data. | |||
| 2020-10-12 | Scan more symbols from Ruby files by `rake gensym`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Removed alignment pragma from `-B` output from `mrbc`. | Yukihiro "Matz" Matsumoto | |
| We no longer need 4 bytes alignment after we moved to the byte oriented instructions. | |||
| 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 | Avoid use of designated initializers to generate `irep` struct. | Yukihiro "Matz" Matsumoto | |
| Since it's not supported on VC without `/std:c++latest`. That means it doesn't work for `cxx_api` build on Windows VC. | |||
| 2020-10-12 | Make `call_irep` static. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Add `/std:c++latest` to VC option in `build.yml`. | Yukihiro "Matz" Matsumoto | |
| 2020-10-12 | Specify new `MRUBY_TARGET` instead of `MRUBY_CONFIG`. | Yukihiro "Matz" Matsumoto | |
