summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Expand)Author
2021-12-31object.c: add conversion to Float from Rational, Complex; #5620Yukihiro "Matz" Matsumoto
2021-12-31numeric.c: `mrb_as_float` should not call `to_f` for generic objects.Yukihiro "Matz" Matsumoto
2021-12-31class.c, variable,c: replace `size_t` by `int`.Yukihiro "Matz" Matsumoto
2021-12-29object.c: move string to float conversion to `mrb_f_float`.Yukihiro "Matz" Matsumoto
2021-12-29string.c: reorganize `str_convert_range` using `mrb_ensure_int_type`Yukihiro "Matz" Matsumoto
2021-12-29string.c: use `mrb_as_int` macro.Yukihiro "Matz" Matsumoto
2021-12-29object.c: introduce `mrb_ensure_{int,float}_type`.Yukihiro "Matz" Matsumoto
2021-12-29object.c: avoid implicit `to_i` and `to_f` calls.Yukihiro "Matz" Matsumoto
2021-12-29array.c: fix `mrb_ary_shift_m` initialization bug.Yukihiro "Matz" Matsumoto
2021-12-27class.c: remove `mt_elem` structure to avoid alignment gaps.Yukihiro "Matz" Matsumoto
2021-12-27variable.c: need to initialize `size` of iv table.Yukihiro "Matz" Matsumoto
2021-12-20vm.c: fix a half-baked implementation of `OP_SETIDX`; ref #5608Yukihiro "Matz" Matsumoto
2021-12-20codedump.c: adjust the position of local variable labels.Yukihiro "Matz" Matsumoto
2021-12-15Merge pull request #5599 from dearblue/loss-digitsYukihiro "Matz" Matsumoto
2021-12-14proc.c: add `mrb_state` argument to `mrb_proc_copy()`.Yukihiro "Matz" Matsumoto
2021-12-13Avoid losing the upper digits for mruby binarydearblue
2021-12-13variable.c: resurrect `size` member in `iv_tbl`.Yukihiro "Matz" Matsumoto
2021-12-13class.c: increase first allocated page size.Yukihiro "Matz" Matsumoto
2021-12-13class.c: implement method cache (off by default).Yukihiro "Matz" Matsumoto
2021-12-08vm.c (check_method_noarg): the value at `kidx` may not be a hash.Yukihiro "Matz" Matsumoto
2021-12-08vm.c: use `check_method_noarg()` to reduce code duplication; ref #5584Yukihiro "Matz" Matsumoto
2021-12-08vm.c: fix `mrb_ci_kidx`.Yukihiro "Matz" Matsumoto
2021-12-08variable.c: fix clang integer warning.Yukihiro "Matz" Matsumoto
2021-12-07variable.c: avoid redundant iv scan in `mrb_mod_cv_set()`.Yukihiro "Matz" Matsumoto
2021-12-04variable.c: reduce array access in iv hash table.Yukihiro "Matz" Matsumoto
2021-12-03variable.c: avoid `mrb_undef_value()` for delete entries.Yukihiro "Matz" Matsumoto
2021-12-03variable.c: remove `size` member from `iv_tbl` to reduce memory.Yukihiro "Matz" Matsumoto
2021-12-03variable.c: first iv allocation size should be 4 instead of 1.Yukihiro "Matz" Matsumoto
2021-12-03variable.c: should not access `NULL[0]` to avoid asan warnings.Yukihiro "Matz" Matsumoto
2021-12-01codedump.c: print `OP_EXT` explicitly again for debugging purpose.Yukihiro "Matz" Matsumoto
2021-12-01variable.c: reduce memory usage of instance variable tableYukihiro "Matz" Matsumoto
2021-11-29vm.c: remove duplicate code in VM.Yukihiro "Matz" Matsumoto
2021-11-28Align "wrong number of arguments" messagesdearblue
2021-11-26Check more `MRB_ARGS_NONE()`dearblue
2021-11-20Merge pull request #5578 from dearblue/OP_SENDBYukihiro "Matz" Matsumoto
2021-11-19Fixed a discrepancy in `OP_ASET`dearblue
2021-11-19Fixes keywords are lost with the `OP_SENDB`dearblue
2021-11-09etc.c: improve `mrb_obj_id` with NaN boxing and Word boxing.Yukihiro "Matz" Matsumoto
2021-11-04hash.c: avoid `mrb_obj_id` to get the hash value if possible.Yukihiro "Matz" Matsumoto
2021-11-03Merge pull request #5565 from dearblue/class.newYukihiro "Matz" Matsumoto
2021-11-01object.c: fast implementation of `mrb_obj_eq`.Yukihiro "Matz" Matsumoto
2021-10-30boxing_nan.h: allow `MRB_INT64` with `MRB_NAN_BOXING`.Yukihiro "Matz" Matsumoto
2021-10-29Improved `Class#new` methoddearblue
2021-10-24Make `mrb_static_assert()` a variable argumentdearblue
2021-10-23string.c: use FNV1a algorithm for the string hash function.Yukihiro "Matz" Matsumoto
2021-10-21codedump.c: add indentation for `OP_MOVE`.Yukihiro "Matz" Matsumoto
2021-10-19codedump.c: remove `OP_` prefix from disasm output.Yukihiro "Matz" Matsumoto
2021-10-19ops.h: add new instructions `OP_SSEND` and `OP_SSENDB`.Yukihiro "Matz" Matsumoto
2021-10-14vm.c: need to ensure the stack size is sufficient.Yukihiro "Matz" Matsumoto
2021-10-12error.c: small refactoring regarding #2485Yukihiro "Matz" Matsumoto