- 01 Nov, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
For `MRB_NAN_BOXING` and `MRB_WORD_BOXING`.
-
- 31 Oct, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Avoid redefining `MRB_WORDBOX_NO_FLOAT_TRUNCATE`
-
- 30 Oct, 2021 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
Avoid violations of the `mrb_static_assert()` standard
-
Yukihiro "Matz" Matsumoto authored
Integers out of 32 bit range will be allocated in the heap.
-
Yukihiro "Matz" Matsumoto authored
Favor pointer means encode NaN boxed values to keep pointer values unmodified, to reduce the cost of far frequent pointer value retrievals.
-
dearblue authored
ref: #5564 ```console % cc -pedantic -S -Iinclude -DMRB_NO_PRESYM -o- src/array.c > /dev/null In file included from src/array.c:7: In file included from include/mruby.h:115: In file included from include/mruby/value.h:204: include/mruby/boxing_word.h:133:1: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments] mrb_static_assert(sizeof(mrb_value) == sizeof(union mrb_value_)); ^ include/mruby.h:109:108: note: expanded from macro 'mrb_static_assert' mrb_static_assert_expand(mrb_static_assert_selector(__VA_ARGS__, mrb_static_assert2, mrb_static_assert1)(__VA_ARGS__)) ^ include/mruby.h:100:10: note: macro 'mrb_static_assert_selector' defined here # define mrb_static_assert_selector(a, b, name, ...) name ^ 1 warning generated. ```
-
dearblue authored
Adding `MRB_WORDBOX_NO_FLOAT_TRUNCATE` to the build configuration in 32-bit CPU mode had a double definition. ```console % cat myconf.rb MRuby::Build.new do toolchain "clang" defines << "MRB_WORDBOX_NO_FLOAT_TRUNCATE" cc.flags << "-m32" linker.flags << "-m32" enable_debug end % rake CONFIG=myconf.rb CPP src/array.c -> build/host/src/array.pi In file included from /var/tmp/mruby/src/array.c:7: In file included from /var/tmp/mruby/include/mruby.h:115: In file included from /var/tmp/mruby/include/mruby/value.h:203: /var/tmp/mruby/include/mruby/boxing_word.h:11:10: warning: 'MRB_WORDBOX_NO_FLOAT_TRUNCATE' macro redefined [-Wmacro-redefined] # define MRB_WORDBOX_NO_FLOAT_TRUNCATE ^ <command line>:3:9: note: previous definition is here #define MRB_WORDBOX_NO_FLOAT_TRUNCATE 1 ^ 1 warning generated. ...SNIP... ```
-
- 28 Oct, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Preparation for: * 64 bit integer with NaN Boxing * Favor pointer NaN Boxing
-
- 26 Oct, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
WIP code was mistakenly committed.
-
- 24 Oct, 2021 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Make `mrb_static_assert()` a variable argument
-
dearblue authored
`mrb_static_assert()` extends the macro function to take one or two arguments. If the argument is other than that, an error will occur. References: - static_assert のメッセージ省略を許可 - cpprefjp C++日本語リファレンス https://cpprefjp.github.io/lang/cpp17/extending_static_assert.html - c - Overloading Macro on Number of Arguments - Stack Overflow https://stackoverflow.com/a/11763277
-
Yukihiro "Matz" Matsumoto authored
-
- 23 Oct, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 22 Oct, 2021 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Added testing support for cross-MinGW builds.
-
Chris Reuter authored
This adds a build_config that will cross-build a Windows executable using the MinGW cross-compiler and will also run the unit (i.e. 'rake test') using Wine. For this to work, I made some modifications to the underlying test scripts as well as some minor changes to a couple of the tests themselves.
-
- 21 Oct, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 20 Oct, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 19 Oct, 2021 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
Since we have added several new instructions.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
These instructions call methods of the receiver.
-
Yukihiro "Matz" Matsumoto authored
* `R(a)` -> `R[a]` * `Pool(a)` -> `Pool[a]` * `Syms(a)` -> `Syms[a]` * `Irep(a)` -> `Irep[a]`
-
Yukihiro "Matz" Matsumoto authored
-
- 18 Oct, 2021 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
build(deps): bump actions/checkout from 2.3.4 to 2.3.5
-
dependabot[bot] authored
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
Yukihiro "Matz" Matsumoto authored
Fix a syntax error in commented-out code
-
YAMAMOTO Yuji authored
By uncommenting the line changed by this commit, `ruby -c build_config/default.rb` complains of a syntax error due to the illegally nested double quotes
-
Yukihiro "Matz" Matsumoto authored
1024 was too big. Some deep recursion could not be detected before actual stack overflow.
-
- 17 Oct, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 16 Oct, 2021 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Since `s2` is `NULL` on top-level, it will be an error. No need to generate strict bytecode.
-
Yukihiro "Matz" Matsumoto authored
-
- 15 Oct, 2021 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Fix grammar in doc/guides/mrbgems.md
-
- 14 Oct, 2021 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Need to add `n` because the stack will be shifted in the `mrb_funcall`.
-
John Bampton authored
-
- 12 Oct, 2021 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-