summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2019-10-18Update version to `2.1.0`. (mruby 2.1.0 RC)2.1.0-rcHiroshi Mimaki
2019-10-18Merge master.Hiroshi Mimaki
2019-10-18Merge pull request #4778 from ↵Yukihiro "Matz" Matsumoto
shuujii/move-methods-of-Kernel-to-kernel.rb-from-io.rb-in-mruby-io-gem Move methods of `Kernel` to `kernel.rb` from `io.rb` in `mruby-io` gem
2019-10-18Move methods of `Kernel` to `kernel.rb` from `io.rb` in `mruby-io` gemKOBAYASHI Shuji
2019-10-18Merge pull request #4777 from yurie/prYukihiro "Matz" Matsumoto
Remove constant export declaration for MRBC output compiled as C
2019-10-17delete extern in Cyuri
2019-10-17Merge pull request #4776 from ↵Yukihiro "Matz" Matsumoto
shuujii/make-IO-each-family-without-block-to-return-Enumerator Make `IO#each` family without block to return `Enumerator`
2019-10-17Make `IO#each` family without block to return `Enumerator`KOBAYASHI Shuji
2019-10-16Merge pull request #4775 from ↵Yukihiro "Matz" Matsumoto
shuujii/use-mrb_sym_name_len-instead-of-mrb_sym_name-in-assign_class_name Use `mrb_sym_name_len` instead of `mrb_sym_name` in `assign_class_name`
2019-10-16Use `mrb_sym_name_len` instead of `mrb_sym_name` in `assign_class_name`KOBAYASHI Shuji
2019-10-16Merge pull request #4774 from shuujii/adjust-buf-size-in-str_escapeYukihiro "Matz" Matsumoto
Adjust `buf` size in `str_escape`
2019-10-15Adjust `buf` size in `str_escape`KOBAYASHI Shuji
2019-10-14Merge pull request #4773 from ↵Yukihiro "Matz" Matsumoto
shuujii/fix-the-example-of-Array-intersection-in-the-document Fix the example of `Array#intersection` in the document [ci skip]
2019-10-14Fix the example of `Array#intersection` in the document [ci skip]KOBAYASHI Shuji
2019-10-14Add `Array#intersection` which is new in Ruby2.7.Yukihiro "Matz" Matsumoto
2019-10-14Move `Array#difference` just after `Array#-`.Yukihiro "Matz" Matsumoto
2019-10-14Fixed a bug in `Array#difference`.Yukihiro "Matz" Matsumoto
2019-10-13Merge pull request #4772 from shuujii/refactor-mrb_class_name_classYukihiro "Matz" Matsumoto
Refactor `mrb_class_name_class`
2019-10-13Refactor `mrb_class_name_class`KOBAYASHI Shuji
- Use `mrb_sym_name_len` instead of `mrb_sym_name` (class name should not be escaped). - Avoid `mrb_str_dup` (it is unnecessary to be shared string because it is changed).
2019-10-12Merge pull request #4770 from ↵Yukihiro "Matz" Matsumoto
shuujii/sHARED-string-is-not-required-when-sharing-POOL-string SHARED string is not required when sharing POOL string
2019-10-12Merge pull request #4769 from shuujii/rename-str_make_shared-to-str_shareYukihiro "Matz" Matsumoto
Rename `str_make_shared()` to `str_share()` in `src/string.c`
2019-10-12SHARED string is not required when sharing POOL stringKOBAYASHI Shuji
The heap string buffer of POOL string always exists, does not need to be released, and read only, so it can be shared as NOFREE string.
2019-10-12Rename `str_make_shared()` to `str_share()` in `src/string.c`KOBAYASHI Shuji
Because it may not create `struct mrb_shared_string`.
2019-10-11Move exception raising to `scope_new`.Yukihiro "Matz" Matsumoto
Besides that fix bugs that mistakenly calls `raise_error` that emits code to raise runtime error instead of `codegen_error` that terminates code generation immediately.
2019-10-11Merge pull request #4767 from ↵Yukihiro "Matz" Matsumoto
shuujii/remove-unused-exception-classes-in-mruby-io-gem Remove unused exception classes in `mruby-io` gem
2019-10-11Remove unused exception classes in `mruby-io` gemKOBAYASHI Shuji
2019-10-10Fixed a bug in `mruby-time` with `NO_GETTIMEOFDAT`.Yukihiro "Matz" Matsumoto
2019-10-10Silence double free warnings by `mrb_local_free()`.Yukihiro "Matz" Matsumoto
The warnings were detected by cppcheck.
2019-10-10Merge pull request #4764 from shuujii/integrate-mrb_str_inspect-and-mrb_str_dumpYukihiro "Matz" Matsumoto
Integrate `mrb_str_inspect` and `mrb_str_dump`
2019-10-10Integrate `mrb_str_inspect` and `mrb_str_dump`KOBAYASHI Shuji
2019-10-09Merge pull request #4763 from ↵Yukihiro "Matz" Matsumoto
shuujii/mrdb-Fix-that-print-command-raises-FrozenError Fix that `print` command raises `FrozenError` in `mrdb`; ref 1f5a7f2f
2019-10-09Fix that `print` command raises `FrozenError` in `mrdb`; ref 1f5a7f2fKOBAYASHI Shuji
#### 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) ```
2019-10-09Revert part of #4758 to reduce number of tests.Yukihiro "Matz" Matsumoto
More tests, more time.
2019-10-09Merge pull request #4761 from take-cheeze/fix_4759Yukihiro "Matz" Matsumoto
Add mrbgem version field to lock file
2019-10-09Add mrbgem version field to lock filetake-cheeze
2019-10-08Merge pull request #4758 from ↵Yukihiro "Matz" Matsumoto
shuujii/implement-Ruby2.7-frozen-strings-from-Module-name Implement Ruby2.7's frozen strings from `Module#name`
2019-10-08Merge pull request #4760 from ↵Yukihiro "Matz" Matsumoto
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`
2019-10-08Use `mrb_str_concat` instead of `mrb_str_to_str` + `mrb_str_cat_str`KOBAYASHI Shuji
2019-10-08Implement Ruby2.7's frozen strings from `Module#name`KOBAYASHI Shuji
2019-10-06Remove unnecessary function: `mrb_str_freeze`.Yukihiro "Matz" Matsumoto
2019-10-06Merge pull request #4754 from dearblue/get-keyword-argsYukihiro "Matz" Matsumoto
Get keyword arguments with `mrb_get_args()`
2019-10-06Get keyword arguments with `mrb_get_args()`dearblue
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.
2019-10-06Merge pull request #4757 from shuujii/refine-the-usage-message-of-mirb-commandYukihiro "Matz" Matsumoto
Refine the usage message of `mirb` command
2019-10-06Merge pull request #4755 from shuujii/refine-the-usage-message-of-mruby-commandYukihiro "Matz" Matsumoto
Refine the usage message of `mruby` command
2019-10-06Refine the usage message of `mirb` commandKOBAYASHI Shuji
2019-10-06Refine the usage message of `mruby` commandKOBAYASHI Shuji
2019-10-05Merge pull request #4752 from ↵Yukihiro "Matz" Matsumoto
shuujii/drop-initialization-dependency-from-mruby-print-to-mruby-sprintf Drop initialization dependency from `mruby-print` to `mruby-sprintf`
2019-10-05Drop initialization dependency from `mruby-print` to `mruby-sprintf`KOBAYASHI Shuji
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.
2019-10-04Freeze strings from `nil.to_s`, `true.to_s`, `false.to_s`.Yukihiro "Matz" Matsumoto
This is an experimental changes in Ruby 2.7.
2019-10-04Implement Ruby2.7's frozen strings from `Symbol#to_s`.Yukihiro "Matz" Matsumoto