- 21 Aug, 2021 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Embedding reduce memory consumption, sacrificing precision. It clips least significant 2 bits from `mrb_float`, so if you need to keep float precision, define `MRB_USE_FLOAT_FULL_PRECISION`. `MRB_WORD_BOXING` and `MRB_INT64`: `mrb_float` (`double`) is embedded in `mrb_value` clipped last 2 bits. `MRB_WORD_BOXING` and `MRB_INT64` and `MRB_USE_FLOAT_FULL_PRECISION`: `mrb_float` is allocated in the heaps wrapped by `struct RFloat`. `MRB_WORD_BOXING` and `MRB_INT32` and `MRB_USE_FLOAT32`: `mrb_float` (`float`) is embedded in `mrb_value` clipped last 2 bits. In addition, to reserve bit space in the `mrb_value`, maximum inline symbol length become 4 (instead of 5) in the configuration. `MRB_WORD_BOXING` and `MRB_INT32`: Assume `MRB_USE_FLOAT_FULL_PRECISION` and allocate Float values in heap.
-
Yukihiro "Matz" Matsumoto authored
Add SerenityOS crossbuild
-
Dante Catalfamo authored
-
- 20 Aug, 2021 2 commits
-
-
Dante Catalfamo authored
-
Dante Catalfamo authored
Cross compile mruby for SerenityOS (https://github.com/SerenityOS/serenity)
-
- 19 Aug, 2021 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
In additions: * use bitmap for flags * BER integer compression for length
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Probably we should add conditions for FreeBSD, etc.
-
- 18 Aug, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
- mrb_packed_int_len() - mrb_packed_int_encode() - mrb_packed_int_decode()
-
- 17 Aug, 2021 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 16 Aug, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 14 Aug, 2021 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 13 Aug, 2021 8 commits
-
-
Yukihiro "Matz" Matsumoto authored
Add instructions for installing doxygen on RHEL/Fedora/CentOS
-
Dante Catalfamo authored
-
Yukihiro "Matz" Matsumoto authored
Check the class with `I` specifier of `mrb_get_args()`
-
dearblue authored
Previously, the `I` specifier only checked if the object was `MRB_TT_ISTRUCT`. So it was at risk of getting pointers to different C structs if multiple classes were to use the `MRB_TT_ISTRUCT` instance. Change this behavior and change the C argument corresponding to the `I` specifier to `(void *, struct RClass)`. This change is not compatible with the previous mruby. Please note that if the user uses the previous specifications, `SIGSEGV` may occur or the machine stack may be destroyed. resolve #5527
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
`rewind_pc` should not be called when `s->pc` is `0` (top).
-
Yukihiro "Matz" Matsumoto authored
Last commit made `mrb_decode_insn()` to take `NULL` as `pc`.
-
Yukihiro "Matz" Matsumoto authored
-
- 12 Aug, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Fix #5528 This reverts commit 59201b59; #5497
-
- 11 Aug, 2021 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Recent peephole optimization made `ADDI/SUBI` destinations possibly local variables.
-
Yukihiro "Matz" Matsumoto authored
`a=10; a+=1` to generate: ``` 1 000 OP_LOADI R1 11 ; R1:a ``` instead of: ``` 1 000 OP_LOADI R1 10 ; R1:a 1 003 OP_MOVE R2 R1 ; R1:a 1 006 OP_ADDI R2 1 1 009 OP_MOVE R1 R2 ; R1:a ```
-
- 10 Aug, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
build(deps): bump github/super-linter from 4.6.0 to 4.6.1
-
dependabot[bot] authored
Bumps [github/super-linter](https://github.com/github/super-linter) from 4.6.0 to 4.6.1. - [Release notes](https://github.com/github/super-linter/releases) - [Commits](https://github.com/github/super-linter/compare/v4.6.0...v4.6.1) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com>
-
- 09 Aug, 2021 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Expose all header files of the gems for small compilation
-
dearblue authored
After building mruby, if the user compiles and links to `libmruby.a`, expose the included directory of the captured gems. This is a change to the `<build-dir> /lib/libmruby.flags.mak` file and will result in being added to `bin/mruby-config --cflags`. This eliminates the need for the user to look up the path and add the compiler flag if the user wants to take advantage of her gems publishing features. In the main build with `rake CONFIG=...`, there is no problem because it can only be seen from the gems that depends directly and indirectly as before. However, when compiling independently by the user using `bin/mruby-config`, a header file name collision may occur if a unique header directory is added.
-
Yukihiro "Matz" Matsumoto authored
pre-commit autoupdate
-