Commit graph

14659 commits

Author SHA1 Message Date
Stan Lo
ce6a1ba9a1 [ruby/irb] Bump version to v1.13.2
(https://github.com/ruby/irb/pull/970)

35de7dacd4
2024-06-15 20:14:01 +00:00
David Rodríguez
4d73f3f9eb [rubygems/rubygems] Fix funding metadata not being printed in some situations
Namely, when a gem has not previously been installed, and Bundler is
using the compact index API, fund metadata was not getting printed
because the proper delegation was not implemented in the specification
class used by the compact index.

9ef5139f60
2024-06-14 14:27:02 +00:00
David Rodríguez
6a474ef266 [rubygems/rubygems] Don't print bug report template when bin dir is not writable
f4ce3aae71
2024-06-14 10:05:20 +00:00
David Rodríguez
62fc473224 [rubygems/rubygems] Never remove executables that may belong to a default gem
ed585f2fca
2024-06-14 08:02:38 +00:00
Dmitry Ukolov
8ddb4de0ac
Fixed indents in recently RJIT patch (#11001) 2024-06-14 00:05:21 -07:00
Dmitry Ukolov
b988ae3a06
RJIT: Fixed and/or reg+disp32 operations (#10856)
Fixed RJIT `and reg+disp32` and `or reg+disp32` operation.
2024-06-13 15:55:01 -07:00
David Rodríguez
c2f8e91815 [rubygems/rubygems] Also disambiguate gems not in the first Gem.path position
7e6e7ccc58
2024-06-13 14:25:14 +00:00
David Rodríguez
5c573b7652 [rubygems/rubygems] Fix default gem priority when sorting specs
8dbe1dbdc7

Co-authored-by: MSP-Greg <Greg.mpls@gmail.com>
2024-06-13 14:25:14 +00:00
Mari Imaizumi
006ff5e29f [ruby/reline] Bump version to 0.5.9
(https://github.com/ruby/reline/pull/724)

aff1d852bb
2024-06-12 14:23:18 +00:00
David Rodríguez
6b6fd16219 [rubygems/rubygems] Fix typo
19a0e3730c
2024-06-12 12:46:06 +00:00
David Rodríguez
568132af16 [rubygems/rubygems] Keep credentials in lockfile if they are already there
So that those lockfiles still work with older Bundler versions.

880275bb66
2024-06-11 16:27:44 +00:00
David Rodríguez
3e84da0970 [rubygems/rubygems] Auto switch to locked bundler version even when using binstubs
076aba8b1c
2024-06-11 13:30:50 +00:00
Kevin Newton
d827d32527 [ruby/prism] Provide ability to lock encoding while parsing
f7faedfb3f
2024-06-10 17:21:32 -04:00
tomoya ishida
1d0d8a89d4 [ruby/reline] Add more fallbacks when terminfo is not available
(https://github.com/ruby/reline/pull/722)

Add xterm key bindings to comprehensive list
Add fallback escape sequence of cursor hide/show

e3c73bbe26
2024-06-10 15:31:33 +00:00
tomoya ishida
e8bd745c17 [ruby/reline] Suppress warning(Ruby 3.4) requiring fiddle from
terminfo.rb
(https://github.com/ruby/reline/pull/721)

9da2cbcd82
2024-06-10 13:57:28 +00:00
Kevin Newton
c90b5303a2
Sync prism version to latest 2024-06-07 15:54:06 -04:00
Kevin Newton
41a36b6853 [ruby/prism] Handle chomped bytesize with lines without newlines
1528d3c019
2024-06-07 19:46:27 +00:00
Kevin Newton
79e9dea8de [ruby/prism] Ensure inner heredoc nodes have the correct location
100340bc6b
2024-06-07 19:46:20 +00:00
Kevin Newton
ce0a352e34 [ruby/prism] Use correct newlines for heredoc inner lines
4a9a7a62af

Co-authored-by: Jason Kim <jasonkim@github.com>
Co-authored-by: Adam Hess <HParker@github.com>
2024-06-07 19:46:16 +00:00
Kevin Newton
51bb5dcd2e [ruby/error_highlight] Trim trailing spaces in base.rb
8ce3f6f145
2024-06-07 13:28:23 +00:00
Kevin Newton
40ec860de7 [ruby/error_highlight] Support for the prism compiler
69fbacfd49
2024-06-07 13:15:14 +00:00
David Rodríguez
0fb73a8eda [rubygems/rubygems] Avoid appending a final "/" when fallback_timeout is used in config
a0af1baa2b
2024-06-06 18:53:31 +00:00
David Rodríguez
765d61593a [rubygems/rubygems] Remove per uri options constant
I don't think we should add more of these.

9eee9948cc
2024-06-06 18:53:30 +00:00
David Rodríguez
82b68bc358 [rubygems/rubygems] Move Bundler settings specific logic to Bundler
7d1e8be2ce
2024-06-06 18:53:29 +00:00
David Rodríguez
da10d1ddea [rubygems/rubygems] Avoid is_a? check before using normalize_uri
31cb15d03f
2024-06-06 18:53:28 +00:00
David Rodríguez
60620509f4 [rubygems/rubygems] Remove unnecessary .to_s
The `normalize_uri` method always gives back a String.

246953010c
2024-06-06 18:53:27 +00:00
David Rodríguez
61a80bd10d [rubygems/rubygems] Truly ignore commented out settings
e31df2d6ef
2024-06-06 18:53:25 +00:00
David Rodríguez
c8161a4eae [rubygems/rubygems] Autoload pathname at the top level
Otherwise Ruby >= 3.2 gives a warning which makes several specs fail,
and truffleruby rejects it at all.

ae2878484f
2024-06-06 18:44:35 +00:00
tomoya ishida
f465045dd6 [ruby/reline] Remove instance variable @first_char
(https://github.com/ruby/reline/pull/717)

When Reline reads EOF, Reline.readline should return nil if and only if input is empty

cc74b3686a
2024-06-06 11:20:29 +00:00
Baron Bloomer
d4aff75a45 [ruby/logger] Add support for symbols in #shift_age
Resolves issue: https://github.com/ruby/logger/issues/46

83502c2107
2024-06-06 09:07:49 +00:00
Kevin Newton
ac70dd07e6 [ruby/prism] Remove unused string list struct
36c6851c85
2024-06-05 14:40:03 -04:00
Stan Lo
aa61d4237d [ruby/irb] Add accidentally dropped disable_irb command back
(https://github.com/ruby/irb/pull/964)

* Add accidentally dropped disable_irb command back

* Sort command files require by name

1d627cebca
2024-06-05 16:29:29 +00:00
Hiroshi SHIBATA
d7e558e3c4
Mark to warn logger as bundled gems for Ruby 3.5 2024-06-05 17:26:50 +09:00
Jean Boussier
f8abd24b1f Improve YJIT performance warning regression test
[Bug #20522]
2024-06-05 09:22:15 +02:00
tomoya ishida
f567633a16 [ruby/reline] Refactor input key reading
(https://github.com/ruby/reline/pull/712)

* Add key binding matching status :matching_matched

* Simplify read_2nd_character

* Add a comment of matching status and EOF

* Matching status to a constant

* Expand complicated ternary operators to case-when

64deec100b
2024-06-05 04:04:09 +00:00
Hiroshi SHIBATA
10ecdeb466
Mark to warn fiddle as bundled gems for Ruby 3.5 2024-06-05 08:35:33 +09:00
Kevin Newton
e440804d7a [ruby/prism] (parser) split up regexp content by lines
85b4a5f804
2024-06-04 20:28:54 +00:00
Kevin Newton
c2d3573c63 [ruby/prism] (parser) handle quoted symbols in hash patterns
461aa5e658
2024-06-04 20:28:54 +00:00
Kevin Newton
4354e45254 [ruby/prism] (parser) fix up srange_find to anchor at the start of the slice
aecce571d8
2024-06-04 20:28:54 +00:00
Kevin Newton
bbf9b5baad [ruby/prism] (parser) fix up nested multi write
12e079c97e
2024-06-04 20:28:53 +00:00
tomoya ishida
932ecd3a1c [ruby/reline] Ensure no escape sequence before printing prompt
(https://github.com/ruby/reline/pull/716)

f9227b5c89
2024-06-04 18:35:03 +00:00
Takashi Kokubun
5ea843f9b2 Revert "Revert "[ruby/reline] Reline::ANSI is general io. Reline::GeneralIO is not.""
This reverts commit 6e84ac2359.

Now that the rubygems spec change has been merged, let's try reverting
this and fixing it with tompng's new patch.
2024-06-04 11:33:12 -07:00
Kevin Newton
fd517a97be [ruby/prism] Revert "Revert "Properly destructure procarg0 in parser translation""
This reverts commit d8ae19d033.

df1eda2811
2024-06-04 15:05:52 +00:00
tomoya ishida
a8c1ef6a60 [ruby/irb] Remove useless Reline::Key.new and update wrong comment
for alt+d
(https://github.com/ruby/irb/pull/963)

a572180b3a
2024-06-04 12:09:15 +00:00
Hiroshi SHIBATA
8ff5458c2e
EXACT list is mostly same as SINCE list on bundled gems. 2024-06-04 18:30:39 +09:00
Hiroshi SHIBATA
f365bef0c7
Warn to use win32ole without Gemfile for Ruby 3.5 2024-06-04 18:30:39 +09:00
Takashi Kokubun
6e84ac2359 Revert "[ruby/reline] Reline::ANSI is general io. Reline::GeneralIO is not."
This reverts commit ba01d15cf5.

It seems to be failing test-bundler-parallel. Reverting it to normalize
the CI. We should revert this revert once we figure it out.
2024-06-03 16:11:54 -07:00
Kevin Newton
89ef1392f8 [ruby/prism] Revert "Properly destructure procarg0 in parser translation"
This reverts commit 823e931ff2.

d8ae19d033
2024-06-03 21:31:29 +00:00
Kevin Newton
5502890a2f [ruby/prism] Properly destructure procarg0 in parser translation
823e931ff2
2024-06-03 21:12:36 +00:00
Kevin Newton
77581dd45b [ruby/prism] Fix up steep issues
21d314eb2e
2024-06-03 20:57:48 +00:00