summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-05[ruby/reline] Bypass newline insertion at eol on command promptaycabta
A newline is automatically inserted if a character is rendered at eol on command prompt. https://github.com/ruby/reline/commit/2dfd5d0df8
2020-12-05[ruby/reline] Improve the regexps for EastAsianWidthYusuke Endoh
A character class is about three times faster than Regexp alternatives https://github.com/ruby/reline/commit/57c7955c55
2020-12-05[ruby/reline] Deduplicate completed itemsaycabta
https://github.com/ruby/reline/commit/2dabf0c786
2020-12-05[ruby/reline] Use yamatanooroti 0.0.6 for supporting startup_message on Windowsaycabta
https://github.com/ruby/reline/commit/167423b664
2020-12-05[ruby/reline] Add tests about complicated renderingaycabta
https://github.com/ruby/reline/commit/f4683b72eb
2020-12-05[ruby/reline] Test prompt with escape sequenceaycabta
https://github.com/ruby/reline/commit/c7c1d5f5d1
2020-12-05[ruby/reline] Use startup_option instead of startup waitaycabta
https://github.com/ruby/reline/commit/a63ce6371c
2020-12-05[ruby/reline] Wait for the process to be started in start_terminalaycabta
https://github.com/ruby/reline/commit/d29d33dcf5
2020-12-05[ruby/reline] Add write_inputrcaycabta
https://github.com/ruby/reline/commit/70536d8c9a
2020-12-05[ruby/reline] Update to Unicode 13.0.0aycabta
https://github.com/ruby/reline/commit/d49bb0aa34
2020-12-04Add T_MOVED to rp command of GDBPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/3846
2020-12-04Guard all accesses to RubyVM::MJIT with defined?(RubyVM::MJIT) &&Benoit Daloze
* Otherwise those tests, etc cannot run on alternative Ruby implementations.
2020-12-05* 2020-12-05 [ci skip]git
2020-12-042.8 -> 3.0 in specsBenoit Daloze
2020-12-04Add a hook before fork() for getaddrinfo_a()Masaki Matsushita
We need stop worker threads in getaddrinfo_a() before fork(). This change adds a hook before fork() that cancel all outstanding requests and wait for all ongoing requests. Then, it waits for all worker threads to be finished. Fixes [Bug #17220]
2020-12-04Added dependencies for rindaHiroshi SHIBATA
2020-12-04[ruby/logger] Consider cygwin a Windows platformJeremy Evans
This should fix Ruby Bug 12468. https://github.com/ruby/logger/commit/49de53d1fc
2020-12-04[ruby/mutex_m] Fix `Mutex_m#initialize` when the super's initialize has kwargsMasataka Pocke Kuwabara
Co-authored-by: Ryuta Kamizono <kamipo@gmail.com> https://github.com/ruby/mutex_m/commit/84ca1fc108
2020-12-04[ruby/fileutils] Make mkdir_p only attempt to create necessary directoriesJeremy Evans
Previously, if creating the directory directly didn't work and the directory didn't exist, mkdir_p would create all directories from the root. This modifies the approach to check whether the directory exists when walking up the directory tree from the argument, and once you have found an intermediate directory that exists, you only need to create directories under it. This approach has a couple advantages: 1) It performs better when most directories in path already exist, and that will be true for most usage of mkdir_p, as mkdir_p is usually called with paths where the first few directories exist and only the last directory or last few directories do not. 2) It works in file-system access limited environments such as when unveil(2) is used on OpenBSD. In these environments, if /foo/bar/baz exists and is unveiled, you can do `mkdir /foo/bar/baz/xyz` but `mkdir /foo` and `mkdir /foo/bar` raise Errno::ENOENT. https://github.com/ruby/fileutils/commit/ec0c229e78
2020-12-04Skip subclass spec with SortedSetHiroshi SHIBATA
2020-12-04SortedSet was removed at a3db08d7b6ff119223f77e3df00b4f6deac971e2Hiroshi SHIBATA
2020-12-04[ruby/set] Add `Set#<=>`Marc-Andre Lafortune
https://github.com/ruby/set/commit/447974a374
2020-12-04[ruby/set] Remove SortedSet implementationsAkinori MUSHA
It required RBTree to perform decently and the external dependency was not suitable for a standard library. The pure ruby fallback implementation was originally meant to be an example of how to write a subclass of Set, and its poor performance was not suitable for use in production. I decided it should be distributed as an external library instead of bundling it with Set. https://github.com/ruby/set/commit/dfcc8e568b
2020-12-04[ruby/set] Resurrect support for Ruby 2.xAkinori MUSHA
In Ruby 2.x, initialize_copy does not take a freeze option. https://github.com/ruby/set/commit/3da6c309df
2020-12-04[ruby/zlib] Add Zlib::Inflate#inflate :buffer keyword argumentJeremy Evans
If a buffer keyword argument is given, it is used as the buffer, instead of creating new strings. This can result in significantly lower memory usage during inflation. Implements #19 https://github.com/ruby/zlib/commit/dac9a9b57d
2020-12-04[ruby/zlib] Allow Zlib.crc32 and .adler32 to accept IO instanceJeremy Evans
This reads from the IO in 8192 byte chunks, so you don't need to have the entire string in memory. Fixes #16 https://github.com/ruby/zlib/commit/ba9793c550
2020-12-04[ruby/zlib] Document that gets can return nil when eof? returns falseJeremy Evans
This behavior differs from File#gets. Fixes [Bug #13904] https://github.com/ruby/zlib/commit/448e41efdd
2020-12-04Fixed a code block in NEWS [ci skip]Nobuyoshi Nakada
A code block needs to be separated from the previous paragraph by an empty line.
2020-12-04memory_view.c: Fix endianness of n, N, v, VKenta Murata
2020-12-04fix initialize orderKoichi Sasada
`captured->code.val` should be initialize before because it can be a GC point by another ractor because `RB_OBJ_WRITE` can issue VM locking.
2020-12-04fix indexKoichi Sasada
`i` should not be used here because `i` will be `alen` when jumped here by "goto restart".
2020-12-03Avoid leaving too many core files in /tmpTakashi Kokubun
for CIs like ci.rvm.jp.
2020-12-03Do not require time and fileutils by defaultTakashi Kokubun
I have no idea what I'm doing, but the previous commit caused lots of CI failures like https://github.com/ruby/ruby/runs/1496949568 and this place is the most suspicious.
2020-12-03Save a core file on a worker crashTakashi Kokubun
CI failures like http://ci.rvm.jp/results/trunk-mjit@phosphorus-docker/3280458 doesn't provide any useful information, and it doesn't leave a core file in a CI environment because a test like `Process.kill(:TRAP, $$)` overwrites in a next run very quickly. Thus I'd like to keep core files in /tmp.
2020-12-03Revert "Report a full_message on a worker crash"Takashi Kokubun
This reverts commit 00f046ef57f9da7f5248f9ef9d55702ddc407bf1. It was not helpful for an issue I was debugging.
2020-12-04Fixed links in NEWS [ci skip]Nobuyoshi Nakada
* added a missing link * removed a duplicated link
2020-12-03Remove backticks from method names in NEWS [ci skip]Jeremy Evans
nobu pointed out this prevents automatic linking to the methods.
2020-12-04Fix typos [ci skip]Kazuhiro NISHIYAMA
2020-12-03Revert "Skip repeated scan of object during compaction"Aaron Patterson
This seems to be breaking the build for some reason. This command can reproduce it: `make yes-test-all TESTS=--repeat-count=20` This reverts commit 88bb1a672c49746972f4b15410fa92e9d237c43d.
2020-12-03Update documentation for String#encode{,!} [ci skip]Jeremy Evans
These methods take keywords, not a hash. From tjschuck (T.J. Schuck) Fixes [Bug #17364]
2020-12-03Skip repeated scan of object during compactionPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/3843
2020-12-04* 2020-12-04 [ci skip]git
2020-12-03Update NEWS [ci skip]Jeremy Evans
Make core class updates section use a consistent format. Alphabetize core class updates section by class name, and stdlib updates section by library name. Minor formatting changes while here.
2020-12-03test/ruby/test_io.rb: some test methods had been overwrittenYusuke Endoh
http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20201203T123002Z.log.html.gz ``` /home/chkbuild/chkbuild/tmp/build/20201203T123002Z/ruby/test/ruby/test_io.rb:1830: warning: method redefined; discarding old test_each_byte /home/chkbuild/chkbuild/tmp/build/20201203T123002Z/ruby/test/ruby/test_io.rb:376: warning: previous definition of test_each_byte was here test/unit warning: method TestIO#test_each_byte is redefined /home/chkbuild/chkbuild/tmp/build/20201203T123002Z/ruby/test/ruby/test_io.rb:1849: warning: method redefined; discarding old test_each_char /home/chkbuild/chkbuild/tmp/build/20201203T123002Z/ruby/test/ruby/test_io.rb:1799: warning: previous definition of test_each_char was here test/unit warning: method TestIO#test_each_char is redefined ```
2020-12-03test-bundled-gems.rb: show failed gems at lastNobuyoshi Nakada
2020-12-03digest gem is available nowHiroshi SHIBATA
2020-12-03[ruby/ipaddr] fixup 90b46678a5b09ed32612b0629b7c51c6d39a0444Hiroshi SHIBATA
https://github.com/ruby/ipaddr/commit/d2ec7cc3ee
2020-12-03[ruby/ipaddr] Relaxed Ruby version for 3.0Hiroshi SHIBATA
https://github.com/ruby/ipaddr/commit/90b46678a5
2020-12-03Specify minimum version.Samuel Williams
2020-12-03Use Gemfile instead of Gem::Specification#add_development_dependency.Hiroshi SHIBATA