summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-08[ruby/irb] do not escape a predicate method for doc namespaceNobuhiro IMAI
* Fixes #88 https://github.com/ruby/irb/commit/d431a30af4
2021-01-08[ruby/irb] fix typo in `IRB::Irb#convert_invalid_byte_sequence`Nobuhiro IMAI
https://github.com/ruby/irb/commit/d09d3c3d68
2021-01-07simplify assertionKoichi Sasada
searched_cme is used only this line so the variable is not needed. Notes: Merged: https://github.com/ruby/ruby/pull/4036
2021-01-07Update bundled_gemsNobuyoshi Nakada
2021-01-07Follow the NDEBUG given to the wholeNobuyoshi Nakada
2021-01-07rbconfig.rb: extract cpu from RUBY_PLATFORM when universalNobuyoshi Nakada
2021-01-07We don't need "require 'uri'" after "require 'net/http'".Igor Zubkov
2021-01-07* 2021-01-07 [ci skip]git
2021-01-07[ruby/bigdecimal] Fix trailing zero handling in rb_uint64_convert_to_BigDecimalKenta Murata
https://github.com/ruby/bigdecimal/commit/2056604d56
2021-01-07[ruby/bigdecimal] Include TestBigDecimalBase in TestBigDecimalUtilKenta Murata
https://github.com/ruby/bigdecimal/commit/f732201df1
2021-01-06fix result of example [ci skip]Nobuhiro IMAI
Notes: Merged: https://github.com/ruby/ruby/pull/4031
2021-01-06strip trailing spaces [ci skip]Nobuyoshi Nakada
2021-01-06expose some C-APIs for ractorKoichi Sasada
expose some C-APIs to try to make ractor utilities on external gems. * add * rb_ractor_local_storage_value_lookup() to check availability * expose * rb_ractor_make_shareable() * rb_ractor_make_shareable_copy() * rb_proc_isolate() (not public) * rb_proc_isolate_bang() (not public) * rb_proc_ractor_make_shareable() (not public)
2021-01-05600x larger timeout for RelineTakashi Kokubun
I didn't notice it's msec. 2.5s is too short. http://ci.rvm.jp/results/trunk-mjit-wait@phosphorus-docker/3311385
2021-01-06remove invalidated ccKoichi Sasada
if cc is invalidated, cc should be released from iseq. Notes: Merged: https://github.com/ruby/ruby/pull/4030
2021-01-06show more info about imemo_callcacheKoichi Sasada
Notes: Merged: https://github.com/ruby/ruby/pull/4030
2021-01-06[ruby/bigdecimal] Rename BDIGIT to DECDIGKenta Murata
https://github.com/ruby/bigdecimal/commit/686487d942
2021-01-06Need to convert the return value of rb_big_cmpKenta Murata
2021-01-06[ruby/bigdecimal] Optimize the conversion from small BignumKenta Murata
https://github.com/ruby/bigdecimal/commit/4792a917d8
2021-01-06[ruby/bigdecimal] Check the function availabilities separatelyKenta Murata
https://github.com/ruby/bigdecimal/commit/cf839a34c8 https://github.com/ruby/bigdecimal/commit/75db4dabb9
2021-01-05[ruby/ostruct] Bump versionMarc-Andre Lafortune
2021-01-06* 2021-01-06 [ci skip]git
2021-01-05[ruby/ostruct] Allow ostruct to return a value on super (#4028)Adam Hess
This fixes cases where you can super in something that inherits from OpenStruct Co-authored-by: John Hawthorn <john@hawthorn.email> Notes: Merged-By: marcandre <github@marc-andre.ca>
2021-01-05[DOC] Fix grammar: "is same as" -> "is the same as"Marcus Stollsteimer
2021-01-05Fix a typo [ci skip]Kazuhiro NISHIYAMA
2021-01-05[ruby/io-console] Shrink struct query_argsNobuyoshi Nakada
https://github.com/ruby/io-console/commit/720be0a3e5
2021-01-05[ruby/io-console] Pre-define chomp! IDNobuyoshi Nakada
https://github.com/ruby/io-console/commit/028e1c9497
2021-01-05[ruby/io-console] Ignore chomp! result and return the modified stringNobuyoshi Nakada
https://github.com/ruby/io-console/commit/09e5ccc729
2021-01-05sync_default_gems.rb: added -a optionNobuyoshi Nakada
The option to merge all commits since the commit merged in the last prefixed commit.
2021-01-05sync_default_gems.rb: reduced accesses to REPOSITORIESNobuyoshi Nakada
2021-01-05[ruby/irb] Ensure to restore $VERBOSENobuyoshi Nakada
https://github.com/ruby/irb/commit/cef474a76a
2021-01-05[ruby/irb] Use error tokens if there are no correct tokens in the same placeaycabta
For example, the broken code "%www" will result in only one error token. https://github.com/ruby/irb/commit/9fa39a7cf3
2021-01-05[ruby/irb] Use Ripper::Lexer#scan to take broken tokensaycabta
ref. https://github.com/ruby/reline/pull/242 https://github.com/ruby/irb/commit/54f90cb6c9
2021-01-05[ruby/irb] Heredoc may contain multiple newlines in a single tokenaycabta
Use the start token as the indentation criteria so that it works properly in heredoc. ref. https://github.com/ruby/reline/pull/242 https://github.com/ruby/irb/commit/9704808dfd
2021-01-05[ruby/irb] Handle indentations related to keyword "do" correctlyaycabta
This fixes ruby/irb#158. https://github.com/ruby/irb/commit/964643400b
2021-01-05[ruby/irb] Escape invalid byte sequence in Exceptionaycabta
This fixes ruby/irb#141. https://github.com/ruby/irb/commit/0815317d42
2021-01-05[ruby/irb] Newline in oneliner def doesn't reset indentaycabta
This closes ruby/irb#132. https://github.com/ruby/irb/commit/43456dcf5e
2021-01-05set RUBY_ON_BUG on runruby rule.Koichi Sasada
set RUBY_ON_BUG='gdb -x $(srcdir)/.gdbinit -p' to catch SEGV on `make runruby` rule.
2021-01-05configure.ac: disable using __builtin_setjmp on ARM AndroidYusuke Endoh
A patch from Tee KOBAYASHI <xtkoba+ruby@gmail.com>. [Bug #17511]
2021-01-04RDoc: Enhanced introduction for Enumerable (#4004)Burdette Lamar
* RDoc: Enhanced introduction for Enumerable * RDoc: Enhanced introduction for Enumerable * RDoc: Enhanced introduction for Enumerable Notes: Merged-By: marcandre <github@marc-andre.ca>
2021-01-04[ruby/irb] Stringify when a non-object is passed to PP#textaycabta
If a nested object is passed to #pp, it may be sometimes passed to the #text method as an object without being stringified. This is fixed on the Ruby main repository; https://github.com/ruby/ruby/commit/433a3be86a811de0b4adbb92e054ee3a6fc6b4d8 but it was a bug of Ripper so still needs this workaround for using irb as a gem on Ruby 3.0.0 or earlier. Co-authored-by: k0kubun <takashikkbn@gmail.com> https://github.com/ruby/irb/commit/8d13df22ee
2021-01-05[ruby/io-console] [DOC] Note that IO#getpass returns a chomped stringMarcus Stollsteimer
IO#getpass uses String#chomp! on the read input line. https://github.com/ruby/io-console/commit/1e98c93bc8
2021-01-05Commented out the sh-specific code, in cmd.exeNobuyoshi Nakada
2021-01-05configure.ac: Stop auto-detection of __ANDROID_API__ when cross-compilingYusuke Endoh
A patch from Tee KOBAYASHI <xtkoba+ruby@gmail.com>. [Bug #17491]
2021-01-04Fix broken JIT of getinlinecacheTakashi Kokubun
e7fc353f04 reverted vm_ic_hit_p's signature change made in 53babf35ef, which broke JIT compilation of getinlinecache. To make sure it doesn't happen again, I separated vm_inlined_ic_hit_p to make the intention clear.
2021-01-04Avoid using inconsistent coding styleTakashi Kokubun
Other `_mjit_compile_*.erb` files don't use goto. These files'd better be consistent for readability.
2021-01-05enable constant cache on ractorsKoichi Sasada
constant cache `IC` is accessed by non-atomic manner and there are thread-safety issues, so Ruby 3.0 disables to use const cache on non-main ractors. This patch enables it by introducing `imemo_constcache` and allocates it by every re-fill of const cache like `imemo_callcache`. [Bug #17510] Now `IC` only has one entry `IC::entry` and it points to `iseq_inline_constant_cache_entry`, managed by T_IMEMO object. `IC` is atomic data structure so `rb_mjit_before_vm_ic_update()` and `rb_mjit_after_vm_ic_update()` is not needed. Notes: Merged: https://github.com/ruby/ruby/pull/4022
2021-01-05stdlib.h is always included in include/ruby/defines.hNobuyoshi Nakada
Since commit:6537dc309962c7fefcb8d698bbebe4e4f78d0096.
2021-01-05Update compilers.h [ci skip]Gui Heurich
Notes: Merged: https://github.com/ruby/ruby/pull/4023 Merged-By: nobu <nobu@ruby-lang.org>
2021-01-05Fix indent [ci skip]Kazuhiro NISHIYAMA
Suggested by @hanachin at https://github.com/rurema/doctree/pull/2425#discussion_r551327592