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

75189 Коммитов

Автор SHA1 Сообщение Дата
Martin Dürst ea532bd557 add file version check for new Unicode emoji file header
The change in the Unicode emoji file header took place at
version 14.0.0, but is needed only from version 15.0.0
because in version 14.0.0, another check is still active.
2022-12-06 10:11:33 +09:00
Martin Dürst f82a38be26 change Unicode version to 15.0.0 2022-12-06 10:11:33 +09:00
Stan Lo 9aa18f61f2 [ruby/irb] Allow disabling autocompletion with
`IRB_USE_AUTOCOMPLETE=false`
(https://github.com/ruby/irb/pull/469)

* Allow using IRB_USE_AUTOCOMPLETE=false to disable autocompletion

Currently, the only 2 ways to disable autocompletion are:

1. Create `.irbrc` and set `IRB.conf[:USE_AUTOCOMPLETE] = false`
2. Add the `--noautocomplete` flag when using the `irb` executable

Both of them are less convenient than setting a env var and are
lesser known to devs.

And given the number of problems the autocompletion has (see #445), I
think we should allow disabling it with a simple `IRB_USE_AUTOCOMPLETE=false`.

* Mention some env var configs in the README
2022-12-06 00:53:32 +00:00
Martin Dürst e31d645da5 fix wrong property information in name2ctype.h
Co-authored-by: Nobuyoshi Nakada [nobu@ruby-lang.org](mailto:nobu@ruby-lang.org)

See https://github.com/ruby/ruby/pull/6451 and
https://bugs.ruby-lang.org/issues/19007.

This keeps the Unicode version at 14.0.0, so this commit
is suited for backporting where applicable.

At the time of this commit, the reason for the wrong properties
which we fix here is still not completely known, so issue 19007
should be kept open.
2022-12-06 08:58:30 +09:00
Takashi Kokubun b78fbfdbb4
Skip auto-request-review on fork repositories 2022-12-05 15:03:58 -08:00
Alan Wu 235fc50447
YJIT: Remove --yjit-code-page-size (#6865)
Certain code page sizes don't work and can cause crashes, so having this
value available as a command-line option is a bit dangerous. Remove it
and turn it into a constant instead.
2022-12-05 17:43:17 -05:00
Jemma Issroff e4aba8f519 Add shape_id to heap dump 2022-12-05 14:33:16 -08:00
Jemma Issroff e7642d8095
YJIT: Extract SHAPE_ID_NUM_BITS into a constant (#6863) 2022-12-05 13:20:11 -08:00
Matthew Boeh 1602d75c34 [ruby/did_you_mean] Do not suggest #name= for #name and vice versa
(https://github.com/ruby/did_you_mean/pull/180)

* Do not suggest #name= for #name and vice versa
* Avoid allocating unnecessary MatchData

Co-authored-by: Jean byroot Boussier <jean.boussier+github@shopify.com>
Co-authored-by: Jean byroot Boussier <jean.boussier+github@shopify.com>
2022-12-05 13:16:33 +00:00
Nobuyoshi Nakada 74923aaf31 [ruby/irb] Close leaked pty IOs
https://github.com/ruby/irb/commit/cc9b1d7ba8
2022-12-05 12:03:57 +00:00
git 8e5d1277fa Update default gems list at fa865f5752 [ci skip] 2022-12-05 10:45:25 +00:00
Hiroshi SHIBATA fa865f5752 [ruby/bigdecimal] Bump version to 3.1.3
https://github.com/ruby/bigdecimal/commit/25a75c2033
2022-12-05 10:44:30 +00:00
git d0888f7784 Update default gems list at 3fe5890f7b [ci skip] 2022-12-05 10:30:39 +00:00
Hiroshi SHIBATA 3fe5890f7b [ruby/did_you_mean] Bump version to 1.6.2
https://github.com/ruby/did_you_mean/commit/f5b15128e2
2022-12-05 10:29:44 +00:00
Nobuyoshi Nakada 0b767d743f
Use io/console to avoid stty error [ci skip] 2022-12-05 19:23:16 +09:00
git faee3b9039 Update default gems list at b62b7dc705 [ci skip] 2022-12-05 08:33:45 +00:00
Hiroshi SHIBATA 3f8dad0463 [ruby/zlib] Bump version to 3.0.0
https://github.com/ruby/zlib/commit/f1ce5e3e8d
2022-12-05 08:26:21 +00:00
Yuta Saito 48644e7109 tool/runruby.rb: remove LD_PRELOAD-like env-var options from runruby.rb
LD_PRELOAD sometimes forces loading libraries into unrelated
executables. For example, macOS on recent Apple Silicon can execute
arm64 and arm64e binaries by default, and /usr/bin/clang is built as
arm64e. If Ruby is built as arm64, and mkmf launched through runruby.rb
spawns /usr/bin/clang, dynamic loader tries to load libruby (arm64e)
into clang (arm64). This force-load causes library load failure.
In theory, we don't need both LD_PRELOAD and LD_LIBRARY_PATH at the same
time, because executables requiring libruby already have libruby
dependency, so LD_LIBRARY_PATH is enough for this case.
2022-12-05 17:24:17 +09:00
Hiroshi SHIBATA 3396b10ff1 [ruby/win32ole] Bump version to 1.8.9
https://github.com/ruby/win32ole/commit/e4a1f3a2bf
2022-12-05 08:22:51 +00:00
Hiroshi SHIBATA b62b7dc705 [ruby/uri] Bump version to 0.12.0
https://github.com/ruby/uri/commit/72f22716f8
2022-12-05 08:20:24 +00:00
git 8f7ec172a6 Update default gems list at 325ac80c21 [ci skip] 2022-12-05 08:18:45 +00:00
Hiroshi SHIBATA 3fe8907b84 [ruby/un] Bump version to 0.2.1
https://github.com/ruby/un/commit/8f1c78e27c
2022-12-05 08:18:33 +00:00
Hiroshi SHIBATA eca8090120 [ruby/tsort] Bump version to 0.1.1
https://github.com/ruby/tsort/commit/dd71002c65
2022-12-05 08:16:29 +00:00
Hiroshi SHIBATA 325ac80c21 [ruby/tmpdir] Bump version to 0.1.3
https://github.com/ruby/tmpdir/commit/ee99c758fd
2022-12-05 08:15:11 +00:00
git ab314610ab Update default gems list at 3909cfaa02 [ci skip] 2022-12-05 08:14:37 +00:00
Hiroshi SHIBATA 3909cfaa02 [ruby/timeout] Bump version to 0.3.1
https://github.com/ruby/timeout/commit/4941e8c871
2022-12-05 08:13:18 +00:00
Nobuyoshi Nakada 30379e33c3
Handle depend files on nmake 2022-12-05 17:09:49 +09:00
Nobuyoshi Nakada facb5cd4d5
Clean compiler intermediate files more 2022-12-05 17:09:49 +09:00
git f64718cb32 Update default gems list at faafb7b740 [ci skip] 2022-12-05 08:04:37 +00:00
Hiroshi SHIBATA faafb7b740 [ruby/stringio] Revert "Bump version to 3.0.4"
This reverts commit https://github.com/ruby/stringio/commit/aeb7e1a0bde6.

https://github.com/ruby/stringio/commit/003dd0d003
2022-12-05 08:03:29 +00:00
git 88735f9e18 Update default gems list at 95e272baf8 [ci skip] 2022-12-05 08:03:06 +00:00
Hiroshi SHIBATA 95e272baf8 [ruby/stringio] Bump version to 3.0.4
https://github.com/ruby/stringio/commit/aeb7e1a0bd
2022-12-05 08:02:25 +00:00
git 2c78ca64cb Update default gems list at f5355df610 [ci skip] 2022-12-05 07:52:19 +00:00
Hiroshi SHIBATA f5355df610 [ruby/securerandom] Bump version to 0.2.1
https://github.com/ruby/securerandom/commit/5bfe7d6c16
2022-12-05 07:51:34 +00:00
git 771c4ee68c Update default gems list at 52c76d0f69 [ci skip] 2022-12-05 07:49:38 +00:00
Hiroshi SHIBATA 52c76d0f69 [ruby/resolv] Bump version to 0.2.2
https://github.com/ruby/resolv/commit/261f049058
2022-12-05 07:49:03 +00:00
git fca68f373c Update default gems list at 40ee1eea76 [ci skip] 2022-12-05 07:45:14 +00:00
Hiroshi SHIBATA 40ee1eea76 [ruby/psych] Bump version to 5.0.0
https://github.com/ruby/psych/commit/4fed0941b9
2022-12-05 07:44:39 +00:00
git 40e82877d2 Update default gems list at 73404e8f12 [ci skip] 2022-12-05 07:39:16 +00:00
Hiroshi SHIBATA 73404e8f12 [ruby/pstore] Bump version to 0.1.2
https://github.com/ruby/pstore/commit/2d95c19c43
2022-12-05 07:38:23 +00:00
git 68be8908fc Update default gems list at 7a7d1b3853 [ci skip] 2022-12-05 07:36:04 +00:00
Hiroshi SHIBATA 7a7d1b3853 [ruby/pp] Bump version to 0.4.0
https://github.com/ruby/pp/commit/8870aa02df
2022-12-05 07:35:19 +00:00
git ba7151224f Update default gems list at 0d5ad44ac3 [ci skip] 2022-12-05 07:34:31 +00:00
Hiroshi SHIBATA 0d5ad44ac3 [ruby/pathname] Bump version to 0.2.1
https://github.com/ruby/pathname/commit/7e796cc78e
2022-12-05 16:33:43 +09:00
git e11bf1f253 Update default gems list at 71b4d35526 [ci skip] 2022-12-05 07:19:21 +00:00
Hiroshi SHIBATA 71b4d35526 [ruby/optparse] Bump version to 0.3.0
https://github.com/ruby/optparse/commit/c80dfb1ebd
2022-12-05 07:17:23 +00:00
git d9f75c6c5a Update default gems list at c5911408f9 [ci skip] 2022-12-05 07:14:44 +00:00
Hiroshi SHIBATA c5911408f9 [ruby/open-uri] Bump version to 0.3.0
https://github.com/ruby/open-uri/commit/783892ebb0
2022-12-05 07:14:06 +00:00
git d97949ea82 Update default gems list at 04311008b6 [ci skip] 2022-12-05 07:06:30 +00:00
Shugo Maeda 04311008b6
Use loc to fix a failure of test_ast.rb
```
    1) Failure:
  TestAst#test_ranges:test/fiber/scheduler.rb [/home/runner/work/ruby/ruby/src/test/ruby/test_ast.rb:122]:
  <[]> expected but was
  <[{:type=>:max_validation_error,
    :max=>
     #<RubyVM::AbstractSyntaxTree::Node::CodePosition:0x00007f80d630b598
      @column=20,
      @lineno=203>,
    :end_pos=>
     #<RubyVM::AbstractSyntaxTree::Node::CodePosition:0x00007f80d630b778
      @column=19,
      @lineno=203>,
    :node=>
     (BLOCK_PASS@203:15-203:19
        (ARGSPUSH@203:15-203:20 (SPLAT@203:16-203:19 (LVAR@203:16-203:19 :*))
           (HASH@203:16-203:19
              (LIST@203:16-203:19 nil (LVAR@203:16-203:19 :**) nil)))
        (LVAR@203:16-203:19 :&))}]>.
```
2022-12-05 15:54:21 +09:00