Haldun Bayhantopcu
bd5cc4d6a0
[ruby/yarp] Add comments test
...
https://github.com/ruby/yarp/commit/6484af4165
2023-07-26 14:46:18 +00:00
Haldun Bayhantopcu
59e5bf2d1f
[ruby/yarp] Fix comment locations
...
https://github.com/ruby/yarp/commit/7d2a1f8f1f
2023-07-26 14:46:17 +00:00
ywenc
8ca399d640
Implement `opt_aref_with` instruction ( #8118 )
...
Implement gen_opt_aref_with
Vm opt_aref_with is available
Test opt_aref_with
Stats for opt_aref_with
Co-authored-by: jhawthorn <jhawthorn@github.com>
2023-07-26 10:38:59 -04:00
Jeremy Evans
786a864900
Make {Nil,True,False}Class#singleton_method always raise NameError
...
{Nil,True,False}Class#singleton_methods always returns [] indicating
that there are no singleton methods defined, so #singleton_method
should be consistent with that.
Fixes [Bug #11064 ]
2023-07-26 07:27:15 -07:00
Jean Boussier
9b405a18be
Process.warmup: precompute strings coderange
...
This both save time for when it will be eventually needed,
and avoid mutating heap pages after a potential fork.
Instrumenting some large Rails app, I've witnessed up to
58% of String instances having their coderange still unknown.
2023-07-26 11:41:23 +02:00
Stan Lo
283b2fdab4
[ruby/irb] Page `ls`'s output ( https://github.com/ruby/irb/pull/657 )
...
* Page ls command's output
* Use Pager.page_content in show_cmds too
https://github.com/ruby/irb/commit/82d1687302
2023-07-26 08:32:02 +00:00
Nobuyoshi Nakada
26aef1c736
Use `lex_eol_p` family
2023-07-26 11:39:29 +09:00
Hiroshi SHIBATA
6500f85927
Added Gem::BUNDLED_GEMS for warning feature of Bundler
2023-07-26 08:51:57 +09:00
Alan Wu
14691d39e9
Revert "GitHub Actions: fix ENOENT for jobs running in forks"
...
Revert b106cf2eef
.
Sorry, it didn't actually fix the problem. See for example:
https://github.com/peterzhu2118/ruby/actions/runs/5659386206/job/15332833836
The plot thickens.
2023-07-25 18:46:00 -04:00
Stan Lo
d8cee55073
[ruby/irb] Display `show_cmds`'s output in a pager when in TTY
...
environment
(https://github.com/ruby/irb/pull/647 )
This can:
- Make it easier to scroll up and down the commands list
- Avoid pushing up users' previous output
- Allow users to do basic search with `/<word>`
https://github.com/ruby/irb/commit/f94e8a66dd
2023-07-25 18:33:23 +00:00
Takashi Kokubun
e1104017e3
YJIT: Fix cfp inconsistency on tailcall ( #8107 )
...
[Bug #19781 ]
2023-07-25 13:20:04 -04:00
Nobuyoshi Nakada
99162dee7a
[Bug #19751 ] Remove linemarkers in middle
2023-07-25 19:30:15 +09:00
Stan Lo
377639053d
[ruby/reline] Avoid using CSI # S for scroll down
...
(https://github.com/ruby/reline/pull/577 )
https://github.com/ruby/reline/commit/b67ee4e791
2023-07-25 09:39:58 +00:00
Hiroshi SHIBATA
cf1f2e9d06
[rubygems/rubygems] bin/rubocop -A
...
https://github.com/rubygems/rubygems/commit/e8a4184429
2023-07-25 06:23:29 +00:00
Hiroshi SHIBATA
979d1fa5fe
[rubygems/rubygems] Extract Gem::BUNDLED_GEMS from Bundler
...
https://github.com/rubygems/rubygems/commit/e30e86aa60
2023-07-25 06:23:28 +00:00
Hiroshi SHIBATA
8fbe7d0295
[rubygems/rubygems] Skip warnings if bundled gems is already loaded
...
https://github.com/rubygems/rubygems/commit/9583a7eb82
2023-07-25 06:23:28 +00:00
Hiroshi SHIBATA
422144d220
[rubygems/rubygems] Use Kernel.singleton_class
...
https://github.com/rubygems/rubygems/commit/f2e8e054df
2023-07-25 06:23:27 +00:00
Hiroshi SHIBATA
6bb34a7684
[rubygems/rubygems] Don't reuse require argument
...
https://github.com/rubygems/rubygems/commit/1712cd6149
2023-07-25 06:23:27 +00:00
Hiroshi SHIBATA
64530b545f
[rubygems/rubygems] Added warnings targets for old version of Ruby
...
https://github.com/rubygems/rubygems/commit/d0c1d97105
2023-07-25 06:23:26 +00:00
Hiroshi SHIBATA
fc5dbea4c3
[rubygems/rubygems] Added Ruby version for bundled gems to warnings
...
https://github.com/rubygems/rubygems/commit/d61c1362e7
2023-07-25 06:23:26 +00:00
Hiroshi SHIBATA
ec600332fc
[rubygems/rubygems] Simplefied condition
...
https://github.com/rubygems/rubygems/commit/5238fcf234
2023-07-25 06:23:25 +00:00
Hiroshi SHIBATA
2424b921b2
[rubygems/rubygems] make bundled gemst list as constant under Gem namespace
...
https://github.com/rubygems/rubygems/commit/438eac5447
2023-07-25 06:23:25 +00:00
Hiroshi SHIBATA
cc2617ae3f
[rubygems/rubygems] Added csv as stub gem to build_repo1
...
https://github.com/rubygems/rubygems/commit/d2f2597c31
2023-07-25 06:23:24 +00:00
Hiroshi SHIBATA
df4ac25bd9
[rubygems/rubygems] Added examples for warnings feature
...
https://github.com/rubygems/rubygems/commit/78807add23
2023-07-25 06:23:24 +00:00
Hiroshi SHIBATA
0ae227ebe2
[rubygems/rubygems] Also check Kernel.require for infinite loop
...
https://github.com/rubygems/rubygems/commit/961d9ac1bd
2023-07-25 06:23:23 +00:00
Hiroshi SHIBATA
a23fe8e84d
[rubygems/rubygems] Avoid infinite call of require
...
https://github.com/rubygems/rubygems/commit/9c345bfa3e
2023-07-25 06:23:23 +00:00
Hiroshi SHIBATA
bb61e45ae7
[rubygems/rubygems] Keep Kernel#require private
...
https://github.com/rubygems/rubygems/commit/cd59e73efa
2023-07-25 06:23:22 +00:00
Hiroshi SHIBATA
95cde6e4c2
[rubygems/rubygems] Don't use redefine_method
...
https://github.com/rubygems/rubygems/commit/f733f90110
2023-07-25 06:23:22 +00:00
Hiroshi SHIBATA
f5e03ef31c
[rubygems/rubygems] Warn if file is loaded without Gemfile
...
https://github.com/rubygems/rubygems/commit/bf59dcdad1
2023-07-25 06:23:21 +00:00
Nobuyoshi Nakada
70eeec0cad
[rubygems/rubygems] Simplify double loop
...
https://github.com/rubygems/rubygems/commit/630dc02112
2023-07-25 04:52:54 +00:00
Nobuyoshi Nakada
1b27e7aa1f
[rubygems/rubygems] Use `Monitor#synchronize` to ensure to exit
...
https://github.com/rubygems/rubygems/commit/b424353239
2023-07-25 04:52:54 +00:00
Kentaro Takeyama
f72ddd92be
[rubygems/rubygems] Bundler: Update bundle-outdated(1) man
...
Updated output examples to current format since the output format has changed since version 2.2.0.dev
https://github.com/rubygems/rubygems/commit/48d98f906a
2023-07-24 23:58:06 +00:00
Alan Wu
b106cf2eef
GitHub Actions: fix ENOENT for jobs running in forks
...
https://github.com/peterzhu2118/ruby/actions/runs/5649652235/job/15304434412
> Errno::ENOENT: No such file or directory @ rb_sysopen -
> ./.downloaded-cache/config.guess:
> https://raw.githubusercontent.com/gcc-mirror/gcc/master/config.guess
Unsure about the root cause but making sure the directory is there seems like a
plausible fix. Maybe the issue is sensitive to cache state.
2023-07-24 19:23:08 -04:00
Takashi Kokubun
cef60e93e6
YJIT: Fallback send instructions to vm_sendish ( #8106 )
2023-07-24 13:51:46 -07:00
Nobuyoshi Nakada
c4e893ceb5
Adjust brace nesting
2023-07-25 00:01:52 +09:00
Nobuyoshi Nakada
1faeb44dfc
Check if macros are defined before using
...
Assume macros with the same prefix would be defined together.
2023-07-24 23:59:50 +09:00
Nobuyoshi Nakada
14d1540768
RString NULL ptr check only when RUBY_DEBUG
...
Since edf01d4e82
, fake string treats
NULL as an empty string.
2023-07-24 23:57:28 +09:00
Nobuyoshi Nakada
1780ad3748
Extract magic numbers
2023-07-24 23:41:01 +09:00
Jean Boussier
43a5c19135
Use the caller location as default filename for eval family of methods
...
[Feature #19755 ]
Before (in /tmp/test.rb):
```ruby
Object.class_eval("p __FILE__") # => "(eval)"
```
After:
```ruby
Object.class_eval("p __FILE__") # => "(eval at /tmp/test.rb:1)"
```
This makes it much easier to track down generated code in case
the author forgot to provide a filename argument.
2023-07-24 14:51:20 +02:00
Benoit Daloze
14d16bdb1a
[ruby/openssl] Always respect the openssl prefix chosen by truffle/openssl-prefix on TruffleRuby
...
* See https://github.com/ruby/openssl/issues/650#issuecomment-1645699608
https://github.com/ruby/openssl/commit/ca738e7e13
2023-07-24 15:08:54 +09:00
Hiroshi SHIBATA
dd1af4b22d
[rubygems/rubygems] Rename local to lockfile and global to system
...
https://github.com/rubygems/rubygems/commit/456fd05d3a
2023-07-24 15:04:24 +09:00
David Rodríguez
34f541ae36
[rubygems/rubygems] Avoid unnecessary network requests for local gem
...
https://github.com/rubygems/rubygems/commit/ec5f04f7b1
2023-07-24 15:03:15 +09:00
David Rodríguez
0b0df03b0d
[rubygems/rubygems] Avoid printing using messages when version has not changed
...
https://github.com/rubygems/rubygems/commit/9635a2fd74
2023-07-24 15:03:15 +09:00
David Rodríguez
8c82b35791
[rubygems/rubygems] Exclude Bundler from missing locked dependencies check
...
Bundler is special since it's not actually locked in the lockfile as a
regular gem (only via `BUNDLED WITH`). So exclude it from that check.
https://github.com/rubygems/rubygems/commit/9f1756ec47
2023-07-24 15:03:15 +09:00
David Rodríguez
0e7536bf49
[rubygems/rubygems] Prefer squiggly heredocs over custom helper
...
https://github.com/rubygems/rubygems/commit/258476c38a
2023-07-24 14:59:34 +09:00
David Rodríguez
5a43b0ddd5
[rubygems/rubygems] Remove unused module inclusion
...
https://github.com/rubygems/rubygems/commit/0f58ef6a32
2023-07-24 14:59:34 +09:00
David Rodríguez
c31a9cf829
[rubygems/rubygems] Refactor spec helpers for reading lockfiles
...
https://github.com/rubygems/rubygems/commit/ea2a30ba08
2023-07-24 14:59:33 +09:00
David Rodríguez
ebc3174123
[rubygems/rubygems] Simplify `bundle lock` specs
...
https://github.com/rubygems/rubygems/commit/6301d3eece
2023-07-24 14:59:32 +09:00
Burdette Lamar
bcc160b449
[DOC] RDoc for File::Constants ( #8103 )
2023-07-23 10:24:19 -04:00
nagachika
4dccb145a8
tool/merger.rb: Support commit URLs as revisions
2023-07-23 22:47:09 +09:00