| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-10-26 | Merge pull request #4791 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/optimize-chars2bytes-with-MRB_UTF8_STRING-to-ASCII-only-string Optimize `chars2bytes` with `MRB_UTF8_STRING` to ASCII only string | |||
| 2019-10-26 | Optimize `chars2bytes` with `MRB_UTF8_STRING` to ASCII only string | KOBAYASHI Shuji | |
| ### Benchmark (with `MRB_UTF8_STRING`) ``` $ mruby -e ' COUNT = 150000 SIZE = 10000 strs = Array.new(COUNT) do s = "a" * SIZE s.size # set `MRB_STR_ASCII` flag s end i = 0 t = Time.now while i < COUNT strs[i][-2..-1] = "" i += 1 end printf "%.2f sec\n", Time.now - t ' 1.10 sec # before 0.07 sec # after ``` | |||
| 2019-10-25 | Merge pull request #4790 from shuujii/squeeze-redundant-spaces | Yukihiro "Matz" Matsumoto | |
| Squeeze redundant spaces in `test/t/numeric.rb` [ci skip] | |||
| 2019-10-25 | Squeeze redundant spaces in `test/t/numeric.rb` [ci skip] | KOBAYASHI Shuji | |
| 2019-10-25 | Merge pull request #4788 from shuujii/fix-argument-specs-to-Exception | Yukihiro "Matz" Matsumoto | |
| Fix argument specs to `Exception` | |||
| 2019-10-24 | Fix argument specs to `Exception` | KOBAYASHI Shuji | |
| 2019-10-23 | Merge pull request #4787 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/optimize-str_subseq-with-MRB_UTF8_STRING-to-ASCII-only-string Optimize `str_subseq` with `MRB_UTF8_STRING` to ASCII only string | |||
| 2019-10-23 | Optimize `str_subseq` with `MRB_UTF8_STRING` to ASCII only string | KOBAYASHI Shuji | |
| ### Benchmark (with `MRB_UTF8_STRING`) ```ruby # benchmark.rb COUNT = 300000 SIZE = 10000 s = "a" * SIZE s.size # set `MRB_STR_ASCII` flag i = 0 while i < COUNT s[-1] i += 1 end ``` #### Before this patch: ``` $ time mruby benchmark.rb 2.06 real 2.05 user 0.00 sys ``` #### After this patch: ``` $ time mruby benchmark.rb 0.05 real 0.04 user 0.00 sys ``` | |||
| 2019-10-23 | Merge branch 'master' into stable | Hiroshi Mimaki | |
| 2019-10-23 | Add type cast to avoid an error from `int` and `enum` mixture; fix #4786 | Yukihiro "Matz" Matsumoto | |
| 2019-10-23 | Remove unnecessary `mrb_funcall()`. | Yukihiro "Matz" Matsumoto | |
| 2019-10-23 | Remove unnecessary `mrb_string_p()` check. | Yukihiro "Matz" Matsumoto | |
| 2019-10-23 | Merge 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-22 | Fix 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-21 | Merge pull request #4784 from shuujii/remove-Kernel-getc | Yukihiro "Matz" Matsumoto | |
| Remove `Kernel#getc` | |||
| 2019-10-21 | Remove `Kernel#getc` | KOBAYASHI Shuji | |
| `Kernel#getc` has been removed since Ruby 1.9 and is not defined in ISO. | |||
| 2019-10-20 | Merge 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-20 | Use `mrb_str_cat_str` instead of `mrb_str_concat` if possible | KOBAYASHI Shuji | |
| 2019-10-19 | Merge 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-19 | Fix that `Module#to_s` may return frozen string; ref 08eafe2 | KOBAYASHI Shuji | |
| 2019-10-19 | Merge pull request #4779 from take-cheeze/print_mrbc_cmd | Yukihiro "Matz" Matsumoto | |
| Print mrbc command on verbose mode | |||
| 2019-10-19 | Print mrbc command on verbose mode | take-cheeze | |
| 2019-10-18 | Update version to `2.1.0`. (mruby 2.1.0 RC)2.1.0-rc | Hiroshi Mimaki | |
| 2019-10-18 | Merge master. | Hiroshi Mimaki | |
| 2019-10-18 | Merge 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-18 | Move methods of `Kernel` to `kernel.rb` from `io.rb` in `mruby-io` gem | KOBAYASHI Shuji | |
| 2019-10-18 | Merge pull request #4777 from yurie/pr | Yukihiro "Matz" Matsumoto | |
| Remove constant export declaration for MRBC output compiled as C | |||
| 2019-10-17 | delete extern in C | yuri | |
| 2019-10-17 | Merge 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-17 | Make `IO#each` family without block to return `Enumerator` | KOBAYASHI Shuji | |
| 2019-10-16 | Merge 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-16 | Use `mrb_sym_name_len` instead of `mrb_sym_name` in `assign_class_name` | KOBAYASHI Shuji | |
| 2019-10-16 | Merge pull request #4774 from shuujii/adjust-buf-size-in-str_escape | Yukihiro "Matz" Matsumoto | |
| Adjust `buf` size in `str_escape` | |||
| 2019-10-15 | Adjust `buf` size in `str_escape` | KOBAYASHI Shuji | |
| 2019-10-14 | Merge 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-14 | Fix the example of `Array#intersection` in the document [ci skip] | KOBAYASHI Shuji | |
| 2019-10-14 | Add `Array#intersection` which is new in Ruby2.7. | Yukihiro "Matz" Matsumoto | |
| 2019-10-14 | Move `Array#difference` just after `Array#-`. | Yukihiro "Matz" Matsumoto | |
| 2019-10-14 | Fixed a bug in `Array#difference`. | Yukihiro "Matz" Matsumoto | |
| 2019-10-13 | Merge pull request #4772 from shuujii/refactor-mrb_class_name_class | Yukihiro "Matz" Matsumoto | |
| Refactor `mrb_class_name_class` | |||
| 2019-10-13 | Refactor `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-12 | Merge 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-12 | Merge pull request #4769 from shuujii/rename-str_make_shared-to-str_share | Yukihiro "Matz" Matsumoto | |
| Rename `str_make_shared()` to `str_share()` in `src/string.c` | |||
| 2019-10-12 | SHARED string is not required when sharing POOL string | KOBAYASHI 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-12 | Rename `str_make_shared()` to `str_share()` in `src/string.c` | KOBAYASHI Shuji | |
| Because it may not create `struct mrb_shared_string`. | |||
| 2019-10-11 | Move 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-11 | Merge 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-11 | Remove unused exception classes in `mruby-io` gem | KOBAYASHI Shuji | |
| 2019-10-10 | Fixed a bug in `mruby-time` with `NO_GETTIMEOFDAT`. | Yukihiro "Matz" Matsumoto | |
| 2019-10-10 | Silence double free warnings by `mrb_local_free()`. | Yukihiro "Matz" Matsumoto | |
| The warnings were detected by cppcheck. | |||
