Граф коммитов

78524 Коммитов

Автор SHA1 Сообщение Дата
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
Takashi Kokubun dd04def10f Try to fix NoMethodError on update-deps 2023-07-21 21:07:04 -07:00
Takashi Kokubun 7cecd15587 Suppress flaky update-deps failures for any win32 files
win32/win32.o was also unstable:
https://github.com/ruby/ruby/actions/runs/5628655900/job/15252762821?pr=8107

At this point, any win32 files seem suspicious. Let's just ignore all
such files.
2023-07-21 20:57:54 -07:00
Peter Zhu 11deab7906 Remove unused code in darray.h 2023-07-21 15:44:24 -04:00
Takashi Kokubun 83605bb614 Just assume rustc is in the container 2023-07-21 10:50:19 -07:00
Jemma Issroff 25267fdd69 [ruby/yarp] Exclude heredoc_nested test for Rubies < 3.3
Ripper's lexemes were slightly different in Ruby 3.2 for Heredocs.
We ignored this complex heredoc test in this case because
Ripper's output has changed

https://github.com/ruby/yarp/commit/59d3d4a899
2023-07-21 15:48:19 +00:00