Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
63330ae
Change ROBJECT_TRANSIENT_FLAG to use FL_USER2
jemmaissroff May 26, 2022
382cde9
[rubygems/rubygems] Bump rb-sys
dependabot[bot] Jul 25, 2022
43c11f6
For rdoc, copy doc/rdoc to doc/ (#6181)
BurdetteLamar Jul 25, 2022
8fa6646
Fix sync_default_gems.rb to use absolute path
peterzhu2118 Jul 25, 2022
ba098fa
Sync RDoc
peterzhu2118 Jul 25, 2022
d7868c7
* append newline at EOF. [ci skip]
matzbot Jul 25, 2022
cc29b43
[ruby/rdoc] Move section Directives into section Blocks (https://gith…
BurdetteLamar Jul 25, 2022
649bfbe
Fix `rb_profile_frames` output includes dummy main thread frame
ivoanjo Jul 11, 2022
b404a5f
8fa66467de is broken with rubygems/rubygems and flori/json.
hsbt Jul 26, 2022
9e6d07f
Merge rubygems/bundler HEAD
hsbt Jul 26, 2022
9a8f6e3
Cheaply derive code range for String#b return value
nirvdrum Jul 26, 2022
2d1cf65
Adjust indent [ci skip]
nobu Jul 26, 2022
456e1d1
Try the tag without "v" prefix to checkout upstream repositories
nobu Jul 26, 2022
3f70aa6
Remove ary_discard
peterzhu2118 Jul 25, 2022
efb91ff
Rename rb_ary_tmp_new to rb_ary_hidden_new
peterzhu2118 Jul 25, 2022
4325e90
Use rb_ary_hidden_new for rb_ary_hidden_new_fill
peterzhu2118 Jul 25, 2022
163e3f0
[rubygems/rubygems] Use main as default branch for Bundler specs
deivid-rodriguez Jul 25, 2022
457170e
* 2022-07-27 [ci skip]
matzbot Jul 26, 2022
33f9e8f
Add doc/rdoc directory to .document
peterzhu2118 Jul 26, 2022
36d0c71
Refactored poisoning and unpoisoning freelist to simpler API
jemmaissroff May 25, 2022
3b1ed03
* expand tabs. [ci skip]
matzbot Jul 26, 2022
6a69807
[rubygems/rubygems] Completely drop base parameter from index
deivid-rodriguez Nov 17, 2021
b4ae144
[rubygems/rubygems] Don't use Pathname for creating extension dir
deivid-rodriguez Jul 23, 2022
64f9f7d
[ruby/rdoc] [DOC] Clarifications for directives (https://github.com/r…
BurdetteLamar Jul 26, 2022
c3d9849
[rubygems/rubygems] Add ignore_funding_requests config flag
m-o-e Jul 25, 2022
8154b17
Manually sync with https://github.com/ruby/date/pull/64
hsbt Jul 27, 2022
464f73a
Do not load library files from repository only for test
nobu Jul 27, 2022
852ac26
Make indents and newlines consistent [ci skip]
nobu Jul 27, 2022
8b9d4b2
Append semicolons [ci skip]
nobu Jul 27, 2022
f42230f
Adjust styles [ci skip]
nobu Jul 27, 2022
64c8291
[ruby/pathname] Fix `autoload` of `FileUtils`
nobu Jul 27, 2022
70a9328
[ci-skip]Document how to run an individual bootstrap test
eightbitraptor Jul 27, 2022
44f4241
Update to ruby/mspec@290e36a
eregon Jul 27, 2022
6582df2
Update to ruby/spec@cbfaf51
eregon Jul 27, 2022
708d06f
* 2022-07-28 [ci skip]
matzbot Jul 27, 2022
4ad6989
Fix documentation for ARGF.inplace_mode{,=}
jeremyevans Jul 27, 2022
431fdc9
[DOC] Cross references for `ARGF`
nobu Jul 28, 2022
5d5c1d0
Suppress use-after-free warning by gcc-12
nobu Jul 27, 2022
bee5089
Try reproducing the MinGW hang on time command (#6168)
k0kubun Jul 28, 2022
2b93747
`RUBY_DEBUG_LOG2` should filter against the given `file`
nobu Jul 28, 2022
98e01c9
Also skip the failing test similar with a343952d195a324dd4563318d8f88…
hsbt Jul 28, 2022
202ce7d
test_io_console.rbL399 is also randomly failing same as bfc697f1e26f1…
hsbt Jul 28, 2022
d448ecc
Fix the missing brackets
hsbt Jul 28, 2022
3eade59
Skip randomly failing tests with FreeBSD 12
hsbt Jul 28, 2022
2375afb
Refactor gc_ref_update_array
peterzhu2118 Jul 27, 2022
1c16645
Make array slices views rather than copies
peterzhu2118 Jul 27, 2022
229cf26
Lock the VM for rb_gc_writebarrier_unprotect
peterzhu2118 Jul 27, 2022
c38ad2a
Fix format specifier for `rb_ractor_id()`
nobu Jul 27, 2022
94c3d52
Fix conversion of `rb_ractor_id()`
nobu Jul 27, 2022
90cf767
Fix format-pedantic warnings
nobu Jul 28, 2022
18b1e5e
[ruby/rdoc] [DOC] Add some links in intro; delimit rendered HTML outp…
BurdetteLamar Jul 28, 2022
ab08a43
YJIT: Teach getblockparamproxy to handle the no-block case without ex…
matthewd Jul 28, 2022
68655c6
* 2022-07-29 [ci skip]
matzbot Jul 28, 2022
c56e957
[ruby/rdoc] Link from RDoc::Markup to RDoc::MarkupReference (https://…
BurdetteLamar Jul 28, 2022
c348f5a
[ruby/date] [DOC] Enhanced RDoc for <=> (https://github.com/ruby/date…
BurdetteLamar Jul 28, 2022
0d68286
Revert "Try reproducing the MinGW hang on time command (#6168)"
k0kubun Jul 28, 2022
f29f1d2
[ruby/rdoc] Fix formatting blockquote in verbatim
nobu Jul 29, 2022
bfd09b1
Merge rubygems master from https://github.com/rubygems/rubygems/commi…
hsbt Jul 29, 2022
def1d44
[rubygems/rubygems] Add package/pack aliases to man pages for cache
tnir Jul 28, 2022
d1e726c
[rubygems/rubygems] Fix dead links to deprecated bundle-package(1) wi…
tnir Jul 28, 2022
3725454
Merge ruby/fileutils from https://github.com/ruby/fileutils/commit/33…
hsbt Jul 29, 2022
419ad1e
[ruby/optparse] Also accept '-' as an optional argument (https://gith…
konsolebox Jun 9, 2022
4bf97a8
fix typo in Time#xmlschema documentation
lukad May 22, 2022
66b52f0
[flori/json] Stop including the parser source __LINE__ in exceptions
byroot May 20, 2021
b2cc74a
[flori/json] test parsing of unicode, mixing literal characters with …
notEthan Oct 20, 2021
4e886d2
Update parser-text.rb with https://github.com/ruby/racc/commit/4ecc13…
hsbt Jul 29, 2022
62849b3
Keep gitignore for libyaml source with psych
hsbt Jul 29, 2022
f78e46d
[ruby/rdoc] Add block quotes (https://github.com/ruby/rdoc/pull/907)
BurdetteLamar Jul 29, 2022
b515fdc
[rubygems/rubygems] No need to set anything at all unless standalone …
deivid-rodriguez Jul 24, 2022
030050c
[rubygems/rubygems] Make `--standalone` play nice with `--local`
deivid-rodriguez Jul 24, 2022
2346f3b
* 2022-07-30 [ci skip]
matzbot Jul 29, 2022
5317564
[ruby/date] [DOC] Enhanced RDoc (https://github.com/ruby/date/pull/66)
BurdetteLamar Jul 29, 2022
fbd2479
Add --enable-yjit=stats configure option
jhawthorn Jul 7, 2022
0e85586
Add --enable-yjit=dev_nodebug configure option
jhawthorn Jul 29, 2022
af265d7
[ruby/rdoc] Fix blockquote with word in verbatim
nobu Jul 29, 2022
48b09aa
[ruby/digest] Revert tab-expansion in external files
nobu Jul 30, 2022
8a65cf3
* expand tabs. [ci skip]
matzbot Jul 30, 2022
39dc9f9
Revert "* expand tabs. [ci skip]"
hsbt Jul 30, 2022
1bebf21
Update .git-blame-ignore-revs [ci skip]
nobu Jul 30, 2022
f28287d
[ruby/io-nonblock] Revert tab expansion
nobu Jul 30, 2022
c258fb2
Update .git-blame-ignore-revs [ci skip]
nobu Jul 30, 2022
0d842fe
* expand tabs. [ci skip]
matzbot Jul 30, 2022
4ba2c66
Revert "* expand tabs. [ci skip]"
nobu Jul 30, 2022
2338845
Update .git-blame-ignore-revs [ci skip]
nobu Jul 30, 2022
1a73a6c
Implement Enumerator::Product and Enumerator.product [Feature #18685]
knu Jul 29, 2022
d050f16
Mention Enumerator.product/Enumerator::Product in the NEWS.md
knu Jul 29, 2022
4efbeb1
[ruby/date] Enhanced RDoc (https://github.com/ruby/date/pull/67)
BurdetteLamar Jul 30, 2022
118368c
* 2022-07-31 [ci skip]
matzbot Jul 30, 2022
b0e6d07
[rubygems/rubygems] Update bundle-platform(1) man
tnir Jul 31, 2022
3b8279e
* 2022-08-01 [ci skip]
matzbot Jul 31, 2022
c69ad73
Initialize node_id
graywolf Jul 29, 2022
1520936
Fix a link [ci skip]
znz Aug 1, 2022
5bbba76
respect current frame of `rb_eval_string`
ko1 Jul 29, 2022
5c13adb
[rubygems/rubygems] Fix comment incorrectly copied from another spec
deivid-rodriguez Aug 1, 2022
13305bf
[rubygems/rubygems] Fix crash when running `bundle outdated` in debug…
deivid-rodriguez Aug 1, 2022
25022ba
[rubygems/rubygems] Bump rb-sys
dependabot[bot] Aug 1, 2022
00777a9
* 2022-08-02 [ci skip]
matzbot Aug 1, 2022
24204d5
[rubygems/rubygems] Bump rb-sys in /test/rubygems/test_gem_ext_cargo_…
dependabot[bot] Aug 1, 2022
6ec8f68
[rubygems/rubygems] Move some logic to `LazySpecification#__materiali…
deivid-rodriguez Jul 14, 2022
7cc5a65
[rubygems/rubygems] Remove unnecessary special case for Bundler
deivid-rodriguez Jul 23, 2022
ed9bbfd
[rubygems/rubygems] Fix incorrect force_ruby_platform propagation
deivid-rodriguez Jul 23, 2022
35e508d
[rubygems/rubygems] Refactor materialization conditions
deivid-rodriguez Jul 23, 2022
91b9bd6
[rubygems/rubygems] This should go through the standard source search…
deivid-rodriguez Jul 25, 2022
bc0de1e
[rubygems/rubygems] Only need to filter platforms when materializatio…
deivid-rodriguez Jul 23, 2022
5487e76
[rubygems/rubygems] Prefer reverse+find to select+last
deivid-rodriguez Jul 29, 2022
8c98f7b
[rubygems/rubygems] Remove unnecessary local variable
deivid-rodriguez Jul 29, 2022
9189c2d
[rubygems/rubygems] Materializing for resolution already filters plat…
deivid-rodriguez Jul 29, 2022
f4f6814
[rubygems/rubygems] Don't discard candidates matching ruby metadata
deivid-rodriguez Jul 23, 2022
bc90090
[rubygems/rubygems] Check for errors in error stream
deivid-rodriguez Jul 30, 2022
3e4fedc
[rubygems/rubygems] Preserve the previous behavior of raising an erro…
deivid-rodriguez Jul 30, 2022
ec3f593
[Bug #17767] Now `ENV.clone` raises `TypeError` as well as `ENV.dup`
nobu Jul 20, 2022
e3aabe9
Implement Queue#pop(timeout: sec)
byroot Jul 26, 2022
b81858c
[rubygems/rubygems] Fix arguments for bundle-config(1) docs
tnir Aug 2, 2022
f70b26a
[rubygems/rubygems] Array is already uniq, no need to deduplicate it
deivid-rodriguez Aug 2, 2022
da00243
[DOC] Specify ways to run bootstrap tests
peterzhu2118 Jul 31, 2022
e4e054e
Speed up setting the backref match object
tenderlove Aug 1, 2022
4ba611a
* 2022-08-03 [ci skip]
matzbot Aug 2, 2022
d8ea3a2
[ruby/date] [DOC] Enhanced RDoc for parser methods (https://github.co…
BurdetteLamar Aug 2, 2022
eaf6189
[ruby/date] Enhanced RDoc (https://github.com/ruby/date/pull/69)
BurdetteLamar Aug 2, 2022
20936eb
[rubygems/rubygems] Warn (rather than crash) when setting `nil` speci…
deivid-rodriguez Aug 1, 2022
4f00ee8
[rubygems/rubygems] fix platform matching for index specs
Ilushkanama Aug 1, 2022
f33b2ae
Updated to use multiple licenses
TWinsnes Aug 2, 2022
8a1be43
[ruby/bigdecimal] Updated to use the correct spec for muilti license
TWinsnes Aug 2, 2022
71794a7
Merge rubygems/bundler HEAD
hsbt Aug 3, 2022
35c65e7
[rubygems/rubygems] Fix conservative updates regardless of `--strict`
deivid-rodriguez Aug 1, 2022
851b3aa
[rubygems/rubygems] Fix `bundle outdated --strict`
deivid-rodriguez Aug 1, 2022
4406cb1
Harden Queue#pop timeout tests
byroot Aug 3, 2022
b54f26b
[ruby/irb] shortcut colorize_code to speedup pretty_print
tompng Aug 1, 2022
3944862
* 2022-08-04 [ci skip]
matzbot Aug 3, 2022
0591780
[rubygems/rubygems] Extract entry.full_name to a variable
deivid-rodriguez Aug 2, 2022
542040f
[rubygems/rubygems] Warn dangling symlinks
deivid-rodriguez Aug 2, 2022
50d81bf
Link ext bundles with bundle loader option for newer ld64
kateinoigakukun Jul 28, 2022
c69582a
Quote $(BUILTRUBY) so paths with spaces work
XrXr Jul 29, 2022
e5a3f23
Use $(bindir) for path to executable in mkmf
XrXr Jul 29, 2022
6d8b9a9
Resolve abi symbol references from miniruby to avoid circular deps
kateinoigakukun Jul 30, 2022
184fd94
Resolve abi symbols from libruby.dylib when available
kateinoigakukun Jul 30, 2022
00f411c
Add `-bundle_loader` to mjit compilation args on macOS
kateinoigakukun Jul 30, 2022
6b2fc33
thread_sync.c: pass proper argument to queue_sleep in rb_szqueue_push
byroot Aug 4, 2022
c84d053
[rubygems/rubygems] Fix unused variable warning
deivid-rodriguez Aug 4, 2022
8bab099
* 2022-08-05 [ci skip]
matzbot Aug 4, 2022
7f5f9d1
YJIT: Add known_* helpers for Type (#6208)
jhawthorn Aug 4, 2022
1e7a241
YJIT: Allow str-concat arg to be any string subtype, not just rb_cStr…
noahgibbs Aug 4, 2022
859c887
Merge remote-tracking branch 'upstream_ruby/master' into yjit_backend_ir
Aug 4, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge ruby/fileutils from ruby/fileutils@332025b
  • Loading branch information
hsbt committed Jul 29, 2022
commit 3725454161b55681e5b4ec3b7ca23a4126e23736
14 changes: 13 additions & 1 deletion lib/fileutils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,8 @@ def fu_mkdir(path, mode) #:nodoc:
# Raises an exception if a directory does not exist
# or if for any reason a directory cannot be removed.
#
# Related: {methods for deleting}[rdoc-ref:FileUtils@Deleting].
#
def rmdir(list, parents: nil, noop: nil, verbose: nil)
list = fu_list(list)
fu_output_message "rmdir #{parents ? '-p ' : ''}#{list.join ' '}" if verbose
Expand Down Expand Up @@ -1261,6 +1263,8 @@ def rm_f(list, noop: nil, verbose: nil)
# rm -r src0.dat src0.txt
# rm -r src1
#
# Related: {methods for deleting}[rdoc-ref:FileUtils@Deleting].
#
def rm_r(list, force: nil, noop: nil, verbose: nil, secure: nil)
list = fu_list(list)
fu_output_message "rm -r#{force ? 'f' : ''} #{list.join ' '}" if verbose
Expand Down Expand Up @@ -1290,6 +1294,8 @@ def rm_r(list, force: nil, noop: nil, verbose: nil, secure: nil)
#
# FileUtils.rmtree is an alias for FileUtils.rm_rf.
#
# Related: {methods for deleting}[rdoc-ref:FileUtils@Deleting].
#
def rm_rf(list, noop: nil, verbose: nil, secure: nil)
rm_r list, force: true, noop: noop, verbose: verbose, secure: secure
end
Expand All @@ -1311,6 +1317,8 @@ def rm_rf(list, noop: nil, verbose: nil, secure: nil)
# Optional argument +force+ specifies whether to ignore
# raised exceptions of StandardError and its descendants.
#
# Related: {methods for deleting}[rdoc-ref:FileUtils@Deleting].
#
def remove_entry_secure(path, force = false)
unless fu_have_symlink?
remove_entry path, force
Expand Down Expand Up @@ -1431,6 +1439,8 @@ def remove_entry(path, force = false)
# Optional argument +force+ specifies whether to ignore
# raised exceptions of StandardError and its descendants.
#
# Related: {methods for deleting}[rdoc-ref:FileUtils@Deleting].
#
def remove_file(path, force = false)
Entry_.new(path).remove_file
rescue
Expand All @@ -1448,6 +1458,8 @@ def remove_file(path, force = false)
# Optional argument +force+ specifies whether to ignore
# raised exceptions of StandardError and its descendants.
#
# Related: {methods for deleting}[rdoc-ref:FileUtils@Deleting].
#
def remove_dir(path, force = false)
remove_entry path, force # FIXME?? check if it is a directory
end
Expand Down Expand Up @@ -1546,7 +1558,7 @@ def compare_stream(a, b)
# using {File.chown}[https://docs.ruby-lang.org/en/master/File.html#method-c-chown].
# - <tt>mode: <i>permissions</i></tt> - changes the permissions.
# using {File.chmod}[https://docs.ruby-lang.org/en/master/File.html#method-c-chmod].
# - <tt>noop: true</tt> - does not remove entries; returns +nil+.
# - <tt>noop: true</tt> - does not copy entries; returns +nil+.
# - <tt>owner: <i>owner</i></tt> - changes the owner if not +nil+,
# using {File.chown}[https://docs.ruby-lang.org/en/master/File.html#method-c-chown].
# - <tt>preserve: true</tt> - preserve timestamps
Expand Down