Commit graph

14675 commits

Author SHA1 Message Date
tomoya ishida
fa0478d355 [ruby/reline] Refactor handling key in LineEditor
(https://github.com/ruby/reline/pull/799)

Simplify the complicated flow of waiting_proc, wrap_method_call and run_for_operation

72c0ec0425
2025-01-03 14:27:44 +00:00
tomoya ishida
23018c2fb4 [ruby/rdoc] Fix prism_ruby superclass resolve order
(https://github.com/ruby/rdoc/pull/1267)

RDoc::Parser::PrismRuby wrongly resolves superclass of `class Cipher < Cipher; end` that exist in openssl.
Superclass resolve should be done before adding class.

57a4615a92
2025-01-03 11:13:57 +00:00
Nobuyoshi Nakada
e4fff86faf
[DOC] .document under lib/rdoc is split now 2025-01-02 11:26:51 +09:00
Nobuyoshi Nakada
e2081861ae [ruby/rdoc] [DOC] Ignore racc-generated files
(https://github.com/ruby/rdoc/pull/1265)

* [DOC] Ignore racc-generated files

Not only `.ry` sources, generated `.rb` files seem duplicate and
unnecessary.

* [DOC] Select files by .document files for syncing

fb7041ec98
2025-01-02 00:30:14 +00:00
tomoya ishida
3e8f0e5589 [ruby/reline] Support inserting C-c C-z C-\ with quoted_insert
(https://github.com/ruby/reline/pull/798)

e6eb5d2d3c
2025-01-01 14:41:58 +00:00
Stan Lo
c0e2623966 [ruby/rdoc] Add autolink_excluded_words option to ignore
cross-references
(https://github.com/ruby/rdoc/pull/1259)

This config will be handy when the project name is the same as a class or
module name, which is often the case for most of the projects.

ce77f51f63
2024-12-31 12:17:07 +00:00
sanfrecce-osaka
3650f2460f [ruby/irb] Fix broken history command with -g
(https://github.com/ruby/irb/pull/1057)

Local variable `grep` was always nil because the regular expression parsing options contained an unnecessary `\n`. `test_history_grep` did not detect this because it only asserted what was included in the output.

a282bbc0cf
2024-12-29 11:00:11 +00:00
Stan Lo
689bb193cc [ruby/irb] Use the documentation site as the source of truth
(https://github.com/ruby/irb/pull/1055)

* Use the documentation site as the source of truth

1. Remove detailed content from README.md and point links to the documentation site.
2. Remove the content of EXTEND_IRB.md and point links to the documentation site.

* Use GitHub pages as Rubygems' documentation target

d2b73cb91e
2024-12-28 19:17:06 +00:00
Stan Lo
609a555ee0 [ruby/irb] Add ri an alias to the show_doc command
(https://github.com/ruby/irb/pull/1054)

52e77dd113
2024-12-28 15:55:27 +00:00
Luiz Eduardo Kowalski
8fa1db79bd [rubygems/rubygems] Expand and comment the regex
0dd0e93bde
2024-12-27 18:54:54 +00:00
Luiz Eduardo Kowalski
6e46b9b8b3 [rubygems/rubygems] Add support for mise.toml file
809a2a17a7
2024-12-27 18:54:53 +00:00
David Rodríguez
11c9e4f1ce [rubygems/rubygems] Fix bundle outdated <GEM> failing if gems not installed
694d5f444e
2024-12-26 18:09:15 +00:00
Koichi ITO
f459d8dfb7 [ruby/prism] Support Ruby 3.5 for Prism::Translation::Parser
Follow up https://github.com/ruby/prism/pull/3336.

Development for Ruby 3.5 has begun on the master branch:
2f064b3b4b

aa49c1bd78
2024-12-26 14:15:00 +00:00
Yudai Takada
feba2b66ff [ruby/reline] Fix typos in comment
(https://github.com/ruby/reline/pull/796)

* s/Calcualte/Calculate/

* s/unneccesary/unnecessary/

db86bcd2bf
2024-12-26 10:27:24 +09:00
Hiroshi SHIBATA
0c0b739d97 Bump up RubyGems 3.7.0.dev and Bundler 2.7.0.dev 2024-12-26 10:27:24 +09:00
Ryan Davis
70e90d5276 [ruby/erb] Fix up some doco on erb
(https://github.com/ruby/erb/pull/56)

* ERB#result: Dropped mention of deprecated safe_level since it is no longer documented.

* Fixed grammar for chicken fried steak :P

4efd3437ac
2024-12-26 10:27:24 +09:00
David Rodríguez
6406ac4d70 [rubygems/rubygems] Try fix flaky failures on Windows
It seems same race condition, maybe some Ruby bug. Just hoping this
tweak may skip it.

29eb642026
2024-12-26 10:27:24 +09:00
Nobuyoshi Nakada
67d8a97d07 [ruby/rdoc] Separate patterns by --exclude option from defaults
(https://github.com/ruby/rdoc/pull/1251)

a7fdc730f3
2024-12-25 16:53:24 +00:00
Hiroshi SHIBATA
69bb296fa6 Support Ruby 3.5 for bundler platforms 2024-12-25 20:10:18 +09:00
Nobuyoshi Nakada
f72b94bdb6
[DOC] Fix duplicate entries
A tentative workaround for duplicate entries in "Class and Module
Index".
2024-12-25 11:37:37 +09:00
David Rodríguez
42026ec3da Fix bundled gems warning for sub feature locations 2024-12-24 12:07:54 +09:00
David Rodríguez
9e0eb9778d Merge RubyGems-3.6.2 and Bundler-2.6.2 2024-12-24 07:21:10 +09:00
David Rodríguez
3cbfd21916 Fix code location in bundled gems warnings 2024-12-23 16:01:30 +09:00
David Rodríguez
a51b5660dc Find uplevel for bundled gems warnings just once 2024-12-23 16:01:30 +09:00
Nobuyoshi Nakada
b19fcd02fa Use the dedicated constants LIBARG and LIBPATHFLAG 2024-12-23 11:52:14 +09:00
Julien Marrec
be7e5f1f85 Implements [Feature #3456]: Support pkgconf on windows
1. Store the `PKG_CONFIG` variable in Makefile.sub (or try to get it from the ENV var PKG_CONFIG in mkmf.rb)
2. Try to use --msvc-syntax, with a fallback to replacing -Lxxx with -libpath:xxx. --msvc-syntax has been in pkgconf since 1.4.0 (released 7 years ago). pkg-config (freedesktop), does not support it, hence the fallback.
3. The `try_ldflags` passes these `ldflags` as the `opt` parameter to the `link_command`, not as `ldflags`. Unix systems are forgiving in that regard, MSVC is not: as a result as passing them as `opt`, they (specifically the `/libpath:xxx` ones) end up passed before the `-link` command to `cl.exe` and it throws because it ignores it and therefore can't find the lib.

```
cl : Command line warning D9002 : ignoring unknown option '-libpath:C:/Users/julien/.conan2/p/libff3726d89a6255c/p/lib'
```
2024-12-23 11:52:14 +09:00
Hiroshi SHIBATA
0275cc0524 [ruby/logger] v1.6.4
216cedef7c
2024-12-19 13:16:56 +09:00
Nobuyoshi Nakada
d16b043cdd [ruby/logger] Use __FILE__ for wasm
`/dev/null` is not available on wasm.

4be05c2208
2024-12-19 13:16:50 +09:00
Stan Lo
bba66f94f2 [ruby/rdoc] Bump version to v6.10.0
2b79892ab4
2024-12-19 08:45:31 +09:00
James Reid-Smith
a920808c4b [ruby/rdoc] Auto-hide navigation on link click
(https://github.com/ruby/rdoc/pull/1238)

Hide navigation sidebar when clicking anchor links on mobile devices.
Previously, anchor links would change the page but the navigation
sidebar would block the view.

f12a96b7fa
2024-12-19 08:45:31 +09:00
Stan Lo
35ff04ce5e [ruby/irb] Bump version to v1.14.3
(https://github.com/ruby/irb/pull/1050)

49050f9bf3
2024-12-19 08:45:31 +09:00
David Rodríguez
b3abdd4cf4
Bump Rubygems version to 3.6.1 2024-12-18 10:05:21 +09:00
David Rodríguez
64b8e2da68
Bump Bundler version to 2.6.1 2024-12-18 10:05:21 +09:00
David Rodríguez
559e9fe990
Bump vendored securerandom to 0.4.1 2024-12-18 10:05:21 +09:00
David Rodríguez
b9ad8fa524
Bump vendored timeout to 0.4.3 2024-12-18 10:05:21 +09:00
Nobuyoshi Nakada
fef8ecc708 [ruby/rdoc] Enable cross reference in code
(https://github.com/ruby/rdoc/pull/1240)

Some people like to mark up method names in MarkDown style block
quotes, like this: ruby/ruby#12333.
Currently, no links are created in the code in the RDoc, but such
words most likely refer to methods.
This PR makes a word a code cross-reference if the whole word can be
resolved as a reference.

7d7efb0709
2024-12-17 21:48:31 +00:00
Soutaro Matsumoto
408f536890 [ruby/rdoc] aligns may include :center
(https://github.com/ruby/rdoc/pull/1247)

cbbf04d6f8
2024-12-17 20:56:24 +00:00
David Rodríguez
0b2f034208 [rubygems/rubygems] Fix missing Gem::Uri.redact on some Ruby 3.1 versions
Our CI did not catch this because it was testing with Ruby 3.1 patch
levels that include a RubyGems version that already has
`Gem::Uri.redact`.

We should make sure the system-rubygems workflow always tests against
the oldest supportted Ruby/RubyGems combination.

3b695e3be1
2024-12-17 17:28:18 +00:00
Hiroshi SHIBATA
fc38023d4e [ruby/tmpdir] Bump up v0.3.1
0245079c24
2024-12-17 06:47:52 +00:00
David Rodríguez
047a87bd7a
Bump Rubygems version to 3.6.0 2024-12-17 09:39:03 +09:00
David Rodríguez
11910b2606
Bump Bundler version to 2.6.0 2024-12-17 09:38:45 +09:00
David Rodríguez
d42fcda002
Bump vendored resolv to 0.6.0 2024-12-17 09:22:17 +09:00
Stan Lo
5ff1c479d6 Sync net-http commits
9bcf818fd0
5e34e74261
2024-12-16 13:00:49 -08:00
Stan Lo
cf711863cb Exclude irb from documentation generation
- IRB has its own documentation in the project readme and https://ruby.github.io/irb/ already.
- As a tool, its internal implementation details are not relevant to the user.
- Excluding it from the documentation generation reduces the size of the generated documentation
  and makes search results more relevant.

I also checked the there are no references to IRB so it should not break any links.
2024-12-16 11:55:33 -08:00
David Rodríguez
29d3ea1e84 [rubygems/rubygems] Fix bundle lock --add-checksums when gems are already installed
a087c452ad
2024-12-16 19:51:16 +00:00
Stan Lo
a6fd6cb72f [ruby/rdoc] Print warnings for rdoc-ref links that can't be resolved
(https://github.com/ruby/rdoc/pull/1241)

4a5206ae56
2024-12-16 19:35:00 +00:00
David Rodríguez
d0968b1b4c [rubygems/rubygems] Fix gem info tagging some non default gems as default
7585825c57
2024-12-16 18:09:54 +00:00
Mari Imaizumi
9b3831e908 [ruby/reline] Bump version to 0.6.0
(https://github.com/ruby/reline/pull/795)

e0850cd5ba
2024-12-16 17:10:27 +00:00
Kevin Newton
8eaa976cbe [ruby/prism] Fix up regression in ruby parser translation
b283a72c88
2024-12-16 10:51:22 -05:00
Kevin Newton
2ab1b07b84 [ruby/prism] Simplify srange_find in parser compiler
34efacc618
2024-12-16 10:51:22 -05:00