summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2019-11-19Release `mruby 2.1.0`.2.1.0Hiroshi Mimaki
2019-10-30Fix file/directory name parameter for `git` command.mimaki
2019-10-23Merge branch 'master' into stableHiroshi Mimaki
2019-10-23Add type cast to avoid an error from `int` and `enum` mixture; fix #4786Yukihiro "Matz" Matsumoto
2019-10-23Remove unnecessary `mrb_funcall()`.Yukihiro "Matz" Matsumoto
2019-10-23Remove unnecessary `mrb_string_p()` check.Yukihiro "Matz" Matsumoto
2019-10-23Merge pull request #4785 from ↵Yukihiro "Matz" Matsumoto
shuujii/fix-incorrect-MRB_STR_ASCII-flag-update-in-mrb_str_dump Fix incorrect `MRB_STR_ASCII` flag update in `mrb_str_dump`
2019-10-22Fix incorrect `MRB_STR_ASCII` flag update in `mrb_str_dump`KOBAYASHI Shuji
### Example (with `MRB_UTF8_STRING`) ```ruby s = "\u3042" p s.size s.dump p s.size ``` #### Before this patch: ``` 1 3 ``` #### After this patch: ``` 1 1 ```
2019-10-21Merge pull request #4784 from shuujii/remove-Kernel-getcYukihiro "Matz" Matsumoto
Remove `Kernel#getc`
2019-10-21Remove `Kernel#getc`KOBAYASHI Shuji
`Kernel#getc` has been removed since Ruby 1.9 and is not defined in ISO.
2019-10-20Merge pull request #4783 from ↵Yukihiro "Matz" Matsumoto
shuujii/use-mrb_str_cat_str-instead-of-mrb_str_concat-if-possible Use `mrb_str_cat_str` instead of `mrb_str_concat` if possible
2019-10-20Use `mrb_str_cat_str` instead of `mrb_str_concat` if possibleKOBAYASHI Shuji
2019-10-19Merge pull request #4781 from ↵Yukihiro "Matz" Matsumoto
shuujii/fix-that-Module-to_s-may-return-frozen-string Fix that `Module#to_s` may return frozen string; ref 08eafe2
2019-10-19Fix that `Module#to_s` may return frozen string; ref 08eafe2KOBAYASHI Shuji
2019-10-19Merge pull request #4779 from take-cheeze/print_mrbc_cmdYukihiro "Matz" Matsumoto
Print mrbc command on verbose mode
2019-10-19Print mrbc command on verbose modetake-cheeze
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