summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2020-12-03Simplify `ipaddr.gemspec`.Samuel Williams
2020-12-03[ruby/forwardable] Specify minimum Ruby version.Marc-Andre Lafortune
Remove jruby-9.1.17.0 from CI https://github.com/ruby/forwardable/commit/08d92a9c39
2020-12-03[ruby/readline-ext] Rename depend.gem with depend-gemaycabta
https://github.com/ruby/readline-ext/commit/897ffe26a6
2020-12-03[ruby/readline-ext] Version 0.1.1aycabta
https://github.com/ruby/readline-ext/commit/6d55854434
2020-12-03Use gemified dependaycabta
2020-12-03[ruby/io-wait] Added extensionsNobuyoshi Nakada
https://github.com/ruby/io-wait/commit/664c93b2ff
2020-12-03[ruby/io-wait] Fixed regexp to reject .travis* at the toplevel onlyNobuyoshi Nakada
https://github.com/ruby/io-wait/commit/4434b10e46
2020-12-03[ruby/io-wait] Exclude dot-files for CIsNobuyoshi Nakada
https://github.com/ruby/io-wait/commit/12cce69ddf
2020-12-03[ruby/io-wait] Fix ls-files matching regexpNobuyoshi Nakada
See rubygems/rubygems@8a81183236c4475152798db99734e89779287331. https://github.com/ruby/io-wait/commit/04857e0cf5
2020-12-03[ruby/io-nonblock] Added extensionsNobuyoshi Nakada
https://github.com/ruby/io-nonblock/commit/8b7abbd1b5
2020-12-03[ruby/io-nonblock] Exclude dot-files for CIsNobuyoshi Nakada
https://github.com/ruby/io-nonblock/commit/9fa3ad9c7a
2020-12-03[ruby/io-nonblock] Fix ls-files matching regexpNobuyoshi Nakada
See rubygems/rubygems@8a81183236c4475152798db99734e89779287331. https://github.com/ruby/io-nonblock/commit/e14f7952c1
2020-12-03[ruby/digest] LICENSEHiroshi SHIBATA
https://github.com/ruby/digest/commit/aa048ce345
2020-12-03[ruby/digest] Fixup d981714348f71177132426e3ac19598e1b2e8f5dHiroshi SHIBATA
https://github.com/ruby/digest/commit/502a12587c
2020-12-03Assert unit->iseq null out happens under the JIT/GC guardTakashi Kokubun
2020-12-02Skip checking Ractor recursive lockingTakashi Kokubun
for an MJIT worker thread. We can't do it because its GET_EC() returns NULL.
2020-12-02Add Proc#{==,eql?} addition to NEWS [ci skip]Jeremy Evans
2020-12-03delete deprecated IO-like methods卜部昌平
This commit deletes {IO,ARGF,StringIO,Zib::GZipReader}#{bytes,chars,lines,codepoints}, which have been deprecated since c47c095b9740e7c19d6fdca29ab661c1089221d4. Note that String also has those methods. They are neither depreacted nor deleted because they are not aliases of counterpart each_something.
2020-12-03include/ruby/internal/xmalloc.h: add doxygen卜部昌平
Thought it was not a bad idea to document these CAPI. [ci skip]
2020-12-03add GC guardKoichi Sasada
new_prev_env is stored in the env_body memory block but this is not a GC root, so new_prev_env could be freed.
2020-12-02When allocating new pages, add them to the end of the linked listAaron Patterson
When we allocate new pages, allocate them on the end of the linked list. Then when we compact we can move things to the head of the list Notes: Merged: https://github.com/ruby/ruby/pull/3814
2020-12-02Do not reduce quantifiers if it affects which text will be matchedJeremy Evans
Quantifier reduction when using +?)* and +?)+ should not be done as it affects which text will be matched. This removes the need for the RQ_PQ_Q ReduceType, so remove the enum entry and related switch case. Test that these are the only two patterns affected by testing all quantifier reduction tuples for both the captured and uncaptured cases and making sure the matched text is the same for both. Fixes [Bug #17341] Notes: Merged: https://github.com/ruby/ruby/pull/3808
2020-12-03* 2020-12-03 [ci skip]git
2020-12-02Incremental sweeping should not require page allocationAaron Patterson
Incremental sweeping should sweep until we find a slot for objects to use. `heap_increment` was adding a page to the heap even though we would sweep immediately after. Co-authored-by: John Hawthorn <john@hawthorn.email> Notes: Merged: https://github.com/ruby/ruby/pull/3837
2020-12-02ENV.index: delete卜部昌平
Has been deprecated since 373282f6656d3d3d989d261e7a95f8e81b5c9712.