summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-17Sort links in NEWS.md by URI [ci skip]Kazuhiro NISHIYAMA
2020-09-17Update to ruby/spec@e829fb0Benoit Daloze
2020-09-17Add NEWS entry for [Feature #16792]Benoit Daloze
2020-09-17* 2020-09-17 [ci skip]git
2020-09-16Warn on a finalizer that captures the object to be finalizedChris Seaton
Also improve specs and documentation for finalizers and more clearly recommend a safe code pattern to use them. Notes: Merged: https://github.com/ruby/ruby/pull/3444
2020-09-17Prefer to use `prep_io` for temporary IO instances.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/3550
2020-09-16Fix assertion failed in Complex.polar without NDEBUG (#3551)Kenta Murata
Fixes [Bug #17172]. Notes: Merged-By: mrkn <mrkn@ruby-lang.org>
2020-09-16Add a note at the top of the test schedulerBenoit Daloze
2020-09-16RUBY_ISEQ_DUMP_DEBUG=to_binary never kept the debug information for String ↵Benoit Daloze
literals * That is, for plain string literals, not interpolated. * The test below is very similar and uses the same check.
2020-09-16Revert "skip on RUBY_ISEQ_DUMP_DEBUG=to_binary"Benoit Daloze
This reverts commit 889bbbaf527372c5cc229b56dca9a2322e325f26.
2020-09-16skip on RUBY_ISEQ_DUMP_DEBUG=to_binaryKoichi Sasada
9b535f3ff7 does not support ISeq#to_binary. To make CI green, skip this test temporarily. Please fix this issue and revert this patch.
2020-09-16Use build_message on test_securerandom.rb (#3543)Hiroshi SHIBATA
* Revert "Revert "[ruby/securerandom] Use build_message instead of message for test-unit"" * [ruby/securerandom] Fixed the wrong usage of build_message Notes: Merged-By: hsbt <hsbt@ruby-lang.org>
2020-09-152.8 -> 3.0 in specsBenoit Daloze
2020-09-15Interpolated strings are no longer frozen with frozen-string-literal: trueBenoit Daloze
* Remove freezestring instruction since this was the only usage for it. * [Feature #17104] Notes: Merged: https://github.com/ruby/ruby/pull/3488
2020-09-15Parse ObjectSpace.dump_all / dump arguments in Ruby to avoid allocation noiseJean Boussier
[Feature #17045] ObjectSpace.dump_all should allocate as little as possible in the GC heap Up until this commit ObjectSpace.dump_all allocates two Hash because of `rb_scan_args`. It also can allocate a `File` because of `rb_io_get_write_io`. These allocations are problematic because `dump_all` dumps the Ruby heap, so it should try modify as little as possible what it is observing. Notes: Merged: https://github.com/ruby/ruby/pull/3530
2020-09-16* 2020-09-16 [ci skip]git
2020-09-15pointers on the stack need to be pinnedAaron Patterson
Notes: Merged: https://github.com/ruby/ruby/pull/3544
2020-09-15Revert "[ruby/securerandom] Use build_message instead of message for test-unit"Hiroshi SHIBATA
This reverts commit 7f9f5f5723cd723dee578b0681066c8393ee45d0.
2020-09-15[ruby/uri] Remove deprecated URI.escape/URI.unescapeJeremy Evans
https://github.com/ruby/uri/commit/61c6a47ebf
2020-09-15[ruby/securerandom] Use build_message instead of message for test-unitHiroshi SHIBATA
https://github.com/ruby/securerandom/commit/826b877e83
2020-09-15[ruby/fileutils] Reduce iteration through list for `:mkdir_p`Ashwin Maroli
By calling the instruction to `list.map` within `list.each` itself. https://github.com/ruby/fileutils/commit/e690eec937
2020-09-15Fix handling of FMODE_PREP.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/3542
2020-09-15Fix incorrect initialization of `rb_io_t::self`.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/3542
2020-09-15Fix `warning: instance variable bt_locations not initialized`Kazuhiro NISHIYAMA
2020-09-15Fix missing `"` [ci skip]Kazuhiro NISHIYAMA
2020-09-15Add IRB and Reline update for NEWS of 3.0.0-preview1aycabta
Notes: Merged: https://github.com/ruby/ruby/pull/3540
2020-09-14[ruby/ostruct] Fix dup/cloneMarc-Andre Lafortune
Notes: Merged: https://github.com/ruby/ruby/pull/3541
2020-09-14[ruby/ostruct] method_missing is privateMarc-Andre Lafortune
Notes: Merged: https://github.com/ruby/ruby/pull/3541
2020-09-14[ruby/ostruct] Avoid self calling our public methods.Marc-Andre Lafortune
Found because `json` has a bad example in its test suite. This implementation still offers better encapsulation. Notes: Merged: https://github.com/ruby/ruby/pull/3541
2020-09-14[ruby/ostruct] Reinstate recent changesMarc-Andre Lafortune
This reverts commit 28e60b0045b5732bca11012d81a5223001faa6b2. Notes: Merged: https://github.com/ruby/ruby/pull/3541
2020-09-14Optimize Pathname#relative? / absolute?Marc-Andre Lafortune
Notes: Merged: https://github.com/ruby/ruby/pull/2107
2020-09-14[ruby/ostruct] Revert recent changesMarc-Andre Lafortune
This reverts commit e026e186f4..12a2e32d43.
2020-09-14[ruby/rdoc] Prefer require_relativeMarc-Andre Lafortune
2020-09-14[ruby/ostruct] Add access to public instance methods in case they are overridenMarc-Andre Lafortune
2020-09-14[ruby/ostruct] Tweak docMarc-Andre Lafortune
2020-09-14[ruby/ostruct] Allow overriding public methodsMarc-Andre Lafortune
[Fixes https://bugs.ruby-lang.org/issues/15409]
2020-09-14[ruby/ostruct] Refactor handling of frozen OpenStruct. Simplify ↵Marc-Andre Lafortune
`new_ostruct_member!`
2020-09-14[ruby/ostruct] Add really basic test that was missingMarc-Andre Lafortune
2020-09-14[ruby/ostruct] Revert "ostruct.rb: deferred accessors"Marc-Andre Lafortune
This reverts commits: dc38e99813 22c082fcfd b499e0f9ff 58e5876646 Add test for overriden private methods [Fixes https://bugs.ruby-lang.org/issues/12136]
2020-09-15* 2020-09-15 [ci skip]git
2020-09-15sync fstring poolKoichi Sasada
fstring pool should be sync with other Ractors. Notes: Merged: https://github.com/ruby/ruby/pull/3534
2020-09-15relax dependencyKoichi Sasada
vm_sync.h does not need to include vm_core.h and ractor_pub.h. Notes: Merged: https://github.com/ruby/ruby/pull/3534
2020-09-15restart Ractor.select on intteruptKoichi Sasada
signal can interrupt Ractor.select, but if there is no exception, Ractor.select should restart automatically. Notes: Merged: https://github.com/ruby/ruby/pull/3534
2020-09-14[ruby/tmpdir] Warn when environment variables skipped (fixes #2)Nobuyoshi Nakada
https://github.com/ruby/tmpdir/commit/af7b020a89
2020-09-14[ruby/tmpdir] Test "not writable" caseNobuyoshi Nakada
https://github.com/ruby/tmpdir/commit/84684d80f9
2020-09-14[ruby/tmpdir] Test "not a directory" casesNobuyoshi Nakada
https://github.com/ruby/tmpdir/commit/f335f2c23e
2020-09-14[ruby/tmpdir] Test also TMP and TEMP environment variablesNobuyoshi Nakada
https://github.com/ruby/tmpdir/commit/414c00ebe6
2020-09-14[ruby/tmpdir] Prefer better failure messageNobuyoshi Nakada
https://github.com/ruby/tmpdir/commit/ac12877306
2020-09-14Added just working Test::Unit::CoreAssertions#diffNobuyoshi Nakada
This is not "diff", but show expected and actual results both, just to get rid of `NoMethodError` when an assertion failed.
2020-09-14[ruby/zlib] Add Zlib::GzipReader.zcat for handling multiple gzip streams in ↵Jeremy Evans
gz file Most gzip tools support concatenated gz streams in a gz file. This offers a way to handle such gz files in Ruby. Fixes [Bug #9790] Fixes [Bug #11180] Fixes [Bug #14804] https://github.com/ruby/zlib/commit/e2ce56de7d