Hiroshi SHIBATA
4f1e0bfacd
Followed up CVE-2022-39253 for bundler examples
2022-10-20 14:36:06 +09:00
Nobuyoshi Nakada
0a43a040b4
[DOC] Fix RUBY_SYMBOL_FLAG comment [ci skip]
...
Upper bits than the least significant 4 bits need not be 0.
2022-10-20 11:49:55 +09:00
Takashi Kokubun
b963fb25d2
YJIT: Respect writable_addrs on --yjit-dump-iseq-disasm as well ( #6596 )
...
YJIT: Respect writable_addrs on --yjit-dump-iseq-disasm
as well
2022-10-19 20:47:11 -04:00
Takashi Kokubun
2e3b764ad1
Remove a leftover comment [ci skip]
2022-10-19 17:45:36 -07:00
Samuel Williams
7f175e5648
Avoid missed wakeup with fiber scheduler and Fiber.blocking. ( #6588 )
...
* Ensure that blocked fibers don't prevent valid wakeups.
2022-10-20 13:38:52 +13:00
Takashi Kokubun
d9d9005a3a
MJIT: Stop using the VM barrier for jit_cont
...
This solves multiple problems.
First, RB_VM_LOCK_ENTER/LEAVE is a barrier. We could at least use the
_NO_BARRIER variant.
Second, this doesn't need to interfere with GC or other GVL users when
multiple Ractors are used. This needs to be used in very few places, so
the benefit of fine-grained locking would outweigh its small maintenance
cost.
Third, it fixes a crash for YJIT. Because YJIT is never disabled until a
process exits unlike MJIT that finishes earlier, we could call jit_cont_free
when EC no longer exists, which crashes RB_VM_LOCK_ENTER.
2022-10-19 17:20:48 -07:00
Takashi Kokubun
0d360ee7ff
YJIT: Skip dumping code for the other cb on --yjit-dump-disasm ( #6592 )
...
YJIT: Skip dumping code for the other cb
on --yjit-dump-disasm
2022-10-19 15:36:24 -04:00
Alan Wu
9da0d4ca9d
YJIT: fix a #[warn(unused_parens)]
2022-10-19 14:44:58 -04:00
Jemma Issroff
0aaa6133ed
Transition frozen string to frozen root shape
...
Co-Authored-By: Aaron Patterson <tenderlove@ruby-lang.org>
2022-10-19 11:06:19 -07:00
Alan Wu
5ca23caa20
YJIT: fold the "asm_comments" feature into "disasm" ( #6591 )
...
Previously, enabling only "disasm" didn't actually build. Since these
two features are closely related and we don't really use one without the
other, let's simplify and merge the two features together.
2022-10-19 14:03:07 -04:00
Burdette Lamar
bc939d2937
[DOC] More about line number ( #6582 )
2022-10-19 10:34:51 -05:00
Burdette Lamar
c32180d5ce
[ruby/stringio] [DOC] Enhanced RDoc for StringIO
...
(https://github.com/ruby/stringio/pull/35 )
Treated:
- #getc
- #getbyte
- #ungetc
- #ungetbyte
- #readchar
- #readbyte
- #each_char
6400af8d9f
2022-10-19 15:33:08 +00:00
Aaron Patterson
eeea633eb2
Stop zeroing memory on allocation / copy
...
Shapes gives us an almost exact count of instance variables on an
object. Since we know the number of instance variables that have been
set, we will never access slots that haven't been initialized with an
IV.
2022-10-19 07:54:46 -07:00
Nobuyoshi Nakada
412e3c7a8d
Assert for RTEST that Qnil and Qfalse differ just 1 bit
2022-10-19 22:55:42 +09:00
Hiroshi SHIBATA
86096a91d5
[rubygems/rubygems] Use [] instead of double-quotes
2022-10-19 13:03:47 +00:00
Hiroshi SHIBATA
a25c033805
Suppress warning for fgrep
...
>fgrep: warning: fgrep is obsolescent; using ggrep -F
2022-10-19 21:10:00 +09:00
Hiroshi SHIBATA
dae843f6b7
Bypass git submodule add/update with git config protocol.file.allow=always option.
...
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-10-19 20:34:45 +09:00
Sergey Fedorov
567725ed30
Fix and improve coroutines for Darwin (macOS) ppc/ppc64. ( #5975 )
2022-10-19 23:49:45 +13:00
Samuel Williams
fc3137ef54
Add support for anonymous shared IO buffers. ( #6580 )
2022-10-19 18:53:38 +13:00
Kouhei Yanagita
f982a26374
[DOC] Fix typo in Enumerable#slice_before
2022-10-19 09:14:50 +09:00
Burdette Lamar
18b96d8a82
[ruby/stringio] [DOC] StringIO doc enhancements
...
(https://github.com/ruby/stringio/pull/33 )
Treated:
- ::new
- ::open
- #string
- #string=
- #close
- #close_read
- #close_write
- #closed?
- #closed_read?
- #closed_write?
- #eof?
be9b64d739
2022-10-19 09:12:18 +09:00
Nobuyoshi Nakada
1654f88ca7
sync_default_gems.rb: commit all after replaced rdoc-ref [ci skip]
2022-10-19 09:11:11 +09:00
Nobuyoshi Nakada
01d56b99bf
[DOC] Fix rdoc-ref
2022-10-19 08:52:29 +09:00
Jimmy Miller
12c30f215c
Fixes remaining issues and turns back on dead code and unused ( #6584 )
2022-10-18 16:03:55 -04:00
Burdette Lamar
6bd72a6406
[DOC] Enhanced RDoc for StringIO ( #34 )
...
Treated:
- #lineno
- #lineno=
- #binmode
- #reopen
- #pos
- #pos=
- #rewind
- #seek
- #sync
- #each_byte
2022-10-18 18:41:00 +00:00
Jimmy Miller
b2ba71df9e
Code clean around unused code for some architectures or features ( #6581 )
2022-10-18 14:19:41 -04:00
Takashi Kokubun
e7166c9bb7
Allow passing a Rust closure to rb_iseq_callback ( #6575 )
2022-10-18 09:07:11 -07:00
Burdette Lamar
d67b6310d3
[DOC] Link to packed data doc ( #6567 )
...
* Link to packed data doc
* Update pack.rb
Co-authored-by: Peter Zhu <peter@peterzhu.ca>
* Update pack.rb
Co-authored-by: Peter Zhu <peter@peterzhu.ca>
* Update pack.rb
Co-authored-by: Peter Zhu <peter@peterzhu.ca>
Co-authored-by: Peter Zhu <peter@peterzhu.ca>
2022-10-18 10:16:22 -05:00
Nobuyoshi Nakada
1b235dcfd9
Ignore manual files only commits [ci skip]
2022-10-18 17:44:31 +09:00
Nobuyoshi Nakada
e1ca90c2a4
sync_default_gems.rb: fold too long subject [ci skip]
...
Line with substituted issue references with URLs are often very long.
Although Git (and GitHub) recommends folding subject lines less than
50 columns, but many commits ignore this, so fold at 68 columns for
now.
2022-10-18 17:43:43 +09:00
git
93d73cfe80
Update default gems list at dffca50bb6
[ci skip]
2022-10-18 08:22:21 +00:00
Aaron Patterson
dffca50bb6
[ruby/fiddle] Free closures immediately
...
(https://github.com/ruby/fiddle/pull/109 )
These structs don't need to be freed as part of finalization, so lets
free them immediately.
8a10ec1152
2022-10-18 17:21:45 +09:00
Sutou Kouhei
e84ea4af69
[ruby/fiddle] Add support for linker script on Linux
...
GitHub: fix https://github.com/ruby/fiddle/pull/107
Reported by nicholas a. evans. Thanks!!!
49ea1490df
2022-10-18 17:21:45 +09:00
John Paul Adrian Glaubitz
93da67d463
[ruby/fiddle] Fix filenames for glibc SO files on alpha and ia64
...
(https://github.com/ruby/fiddle/pull/105 )
Fixes [Bug #18645 ]
9a5a1dab1d
2022-10-18 17:21:45 +09:00
Sutou Kouhei
08ec656282
[ruby/fiddle] Bump version
2022-10-18 17:21:45 +09:00
Nobuyoshi Nakada
091e3522d7
fiddle: use the old rb_ary_tmp_new() alias
...
Fiddle is a gem and has the external upstream which supports older
versions of Ruby.
2022-10-18 17:21:45 +09:00
Takuya Noguchi
007946c27d
[rubygems/rubygems] Bundler: github DSL has used https protocol over git
...
This behavior change was done in Bundler 2.2.0.
https://github.com/rubygems/bundler/pull/7142
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
9510190be1
2022-10-18 07:54:32 +00:00
Hiroshi SHIBATA
f5df47d1f3
Merge RubyGems/Bundler master
...
6214d00b23
2022-10-18 16:33:15 +09:00
Jarek Prokop
2ab7bb8969
[rubygems/rubygems] TestGemSecuritySigner#test_sign: Correct the expectation for new cert.
...
bed360410d
2022-10-18 16:33:15 +09:00
Jarek Prokop
b7debaa801
[rubygems/rubygems] TestGemSecurity#test_class_re_sign: Correct signature algorithm.
...
e2d533591c
2022-10-18 16:33:15 +09:00
Jarek Prokop
cbddc913d9
[rubygems/rubygems] Set Subject Key Identifier in test to correspond to the new certificate.
...
3a607f43d1
2022-10-18 16:33:15 +09:00
David Rodríguez
cb63a3f4c1
[rubygems/rubygems] Materialize platforms strictly on Windows too
...
ab11545f80
2022-10-18 16:33:15 +09:00
David Rodríguez
4d3dbbe77e
[rubygems/rubygems] Remove unnecessary receiver
...
ba9d9b1890
2022-10-18 16:33:15 +09:00
David Rodríguez
74dbb0d09a
[rubygems/rubygems] Remove unnecessary generic
...
I didn't realize how the `Bundler::GemHelpers.generic` method works when
I added this. It already matches this and other java platforms properly.
5f0f0c678c
2022-10-18 16:33:15 +09:00
David Rodríguez
5fa18a7b0c
[rubygems/rubygems] Fix bad spec wording
...
06faad1e05
2022-10-18 16:33:15 +09:00
David Rodríguez
e956caea88
[rubygems/rubygems] Extract matcher for slow perf spec
...
1c0eb63c6a
2022-10-18 16:33:15 +09:00
David Rodríguez
56ad79694b
[rubygems/rubygems] Simplify fetching spec group dependencies
...
62c2edd255
2022-10-18 16:33:15 +09:00
David Rodríguez
804ae4ea12
[rubygems/rubygems] Simplify SpecGroup creation
...
788e46e152
2022-10-18 16:33:15 +09:00
David Rodríguez
67de00053a
[rubygems/rubygems] Inline helper method
...
e60459d6b6
2022-10-18 16:33:15 +09:00
David Rodríguez
b99010f9f2
[rubygems/rubygems] Use flat_map
...
b31308fb4c
2022-10-18 16:33:15 +09:00