- 10 Oct, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Integrate `mrb_str_inspect` and `mrb_str_dump`
-
KOBAYASHI Shuji authored
-
- 09 Oct, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix that `print` command raises `FrozenError` in `mrdb`; ref 1f5a7f2f
-
KOBAYASHI Shuji authored
#### Before this patch: ``` $ echo 'p true' | bin/mrdb /dev/null (/dev/null:1) mruby application exited. FrozenError: can't modify frozen String (-:0) ``` #### After this patch: ``` $ echo 'p true' | bin/mrdb /dev/null (/dev/null:1) $1 = true (/dev/null:1) ```
-
Yukihiro "Matz" Matsumoto authored
More tests, more time.
-
- 08 Oct, 2019 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
Add mrbgem version field to lock file
-
take-cheeze authored
-
Yukihiro "Matz" Matsumoto authored
Implement Ruby2.7's frozen strings from `Module#name`
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4760 from shuujii/use-mrb_str_concat-instead-of-mrb_str_to_str-plus-mrb_str_cat_str Use `mrb_str_concat` instead of `mrb_str_to_str` + `mrb_str_cat_str`
-
KOBAYASHI Shuji authored
-
KOBAYASHI Shuji authored
-
- 06 Oct, 2019 7 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Get keyword arguments with `mrb_get_args()`
-
dearblue authored
Keyword arguments can now be retrieved with the `:` specifier and `mrb_kwargs` data. For the interface, I referred to CRuby's `rb_get_kwargs()`. For implementation, I referred to `OP_KARG` or etc.
-
Yukihiro "Matz" Matsumoto authored
Refine the usage message of `mirb` command
-
Yukihiro "Matz" Matsumoto authored
Refine the usage message of `mruby` command
-
KOBAYASHI Shuji authored
-
KOBAYASHI Shuji authored
-
- 05 Oct, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4752 from shuujii/drop-initialization-dependency-from-mruby-print-to-mruby-sprintf Drop initialization dependency from `mruby-print` to `mruby-sprintf`
-
KOBAYASHI Shuji authored
In the old implementation, `Kernel#printf` raise error if `mruby-sprintf` gem isn't specified before `mruby-print` gem. The new implementation eliminates this ordering issue. This way is the same as `Kernel#printf` and `IO#printf` in `mruby-io` gem.
-
- 04 Oct, 2019 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
This is an experimental changes in Ruby 2.7.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Remove unused code to old Visual Studio in `tasks/toolchains/visualcpp.rake`
-
KOBAYASHI Shuji authored
-
- 03 Oct, 2019 8 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove duplicates header files in `src/pool.c`
-
dearblue authored
These are included in `mruby.h`. As a background, if `enable_cxx_abi` is specified, the macro that defines the maximum value in `stdint.h` is undefined depending on the environment. - Confirmed with gcc on FreeBSD 12.0 and mingw32-gcc available on FreeBSD. - `INTPTR_MAX`, `INT64_MAX` and `UINT64_MAX` are defined by `cstdint` added in C++11. But `toolchains :gcc` adds `-std=c++03`, so the macros are not defined. - To have these defined in `C++03`, `__STDC_CONSTANT_MACROS` must be defined in advance. This is already done by `mruby.h`.
-
Yukihiro "Matz" Matsumoto authored
Add tests for #4746
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Fix opcode semantics comment miss.
-
Hirohito Higashi authored
-
Hirohito Higashi authored
-
Yukihiro "Matz" Matsumoto authored
-
- 02 Oct, 2019 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
For example, local variables in the following def: ```ruby def foo(a = (not_set = true), &block) ... end ``` should be `a, block, not_set`, but were `a, not_set, block`.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Avoid `symhash()` call for inline symbol in `sym_intern()`
-
KOBAYASHI Shuji authored
-
- 01 Oct, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Escape the AST string
-
Yukihiro "Matz" Matsumoto authored
Dump more node types in `mrb_parser_dump`
-
KOBAYASHI Shuji authored
#### Before this patch: ```terminal $ bin/mruby -v -e '%w[1 2]' mruby 2.0.1 (2019-04-04) 00001 NODE_SCOPE: 00001 NODE_BEGIN: 00001 NODE_WORDS: 00001 NODE_STR "1" len 1 00001 node type: 85 (0x55) 00001 NODE_STR "2" len 1 (snip) ``` #### After this patch: ```terminal $ bin/mruby -v -e '%w[1 2]' mruby 2.0.1 (2019-04-04) 00001 NODE_SCOPE: 00001 NODE_BEGIN: 00001 NODE_WORDS: 00001 NODE_STR "1" len 1 00001 NODE_LITERAL_DELIM 00001 NODE_STR "2" len 1 (snip) ```
-