aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [ruby/stringio] [DOC] Enhanced RDoc for StringIOBurdette Lamar2022-10-211-20/+24
| | | | | | | | | | | | | (https://github.com/ruby/stringio/pull/36) Treats: - #each_codepoint - #gets - #readline (shows up in doc for module IO::generic_readable, not class StringIO) - #each_line https://github.com/ruby/stringio/commit/659aca7fe5
* [ruby/net-http] Revert "Replace Timeout.timeout in Net:HTTP#connect"Hiroshi SHIBATA2022-10-211-7/+8
| | | | | | This reverts commit https://github.com/ruby/net-http/commit/753cae3bbccc. https://github.com/ruby/net-http/commit/98caa38204
* Range#size returns nil for (.."a") and (nil..)Yusuke Endoh2022-10-213-6/+28
| | | | Fixes [Bug #18983]
* Check writebarrier arguments only when RGENGC_CHECK_MODE [ci skip]Nobuyoshi Nakada2022-10-211-2/+4
| | | | | | The commit 575ae50d16a03ed23357ec4ea0dbf7167fc26c8c was for debugging the failure triggered by f55212bce939f736559709a8cd16c409772389c8, and it was fixed at the commit 39f7eddec4c55711d56f05b085992a83bf23159e.
* YJIT: Fix gen_expandarray treating argument as VALUEAlan Wu2022-10-201-11/+12
| | | | | | | | | | | | | | | | | | | The expandarray instruction interpreters its arguments as rb_num_t. YJIT was treating the num argument as a VALUE previously and when it has a certain bit pattern, it can look like a GC pointer. The argument is not a pointer, so YJIT crashed when trying to mark those pointers. This bug existed previously, but our test suite didn't expose it until f55212bce939f736559709a8cd16c409772389c8. TestArgf#test_to_io has a line like: a1, a2, a3, a4, a5, a6, a7, a8 = array Which maps to an expandarray with an argument of 8. Qnil happened to be defined as 8, which masked the issue. Fix it by not using the argument as a VALUE.
* YJIT: remove some stale comments [ci skip]Alan Wu2022-10-201-8/+0
|
* Check writebarrier argumentsNobuyoshi Nakada2022-10-201-2/+2
|
* YJIT: incorporate ruby_special_constsNobuyoshi Nakada2022-10-204-21/+28
|
* Unmark Internal IV test as pendingJemma Issroff2022-10-202-5/+1
| | | | Co-Authored-By: Aaron Patterson <tenderlove@ruby-lang.org>
* Add Class#attached_objectUfuk Kayserilioglu2022-10-206-0/+112
| | | | | | | Implements [Feature #12084] Returns the object for which the receiver is the singleton class, or raises TypeError if the receiver is not a singleton class.
* Define `UNDEF_P` and `NIL_OR_UNDEF_P` [EXPERIMENTAL]Nobuyoshi Nakada2022-10-202-0/+61
|
* Move "special consts" so `Qundef` and `Qnil` differ just 1 bitNobuyoshi Nakada2022-10-205-16/+16
|
* Ignore manual files only commits [ci skip]Nobuyoshi Nakada2022-10-202-2/+4
|
* push dummy frame for loading processKoichi Sasada2022-10-2010-51/+175
| | | | | | | | | | | | | This patch pushes dummy frames when loading code for the profiling purpose. The following methods push a dummy frame: * `Kernel#require` * `Kernel#load` * `RubyVM::InstructionSequence.compile_file` * `RubyVM::InstructionSequence.load_from_binary` https://bugs.ruby-lang.org/issues/18559
* [Bug #18998] Honor `#to_str` next to `#to_int` in `Kernel#Integer`Nobuyoshi Nakada2022-10-202-0/+10
|
* Followed up CVE-2022-39253 for bundler examplesHiroshi SHIBATA2022-10-203-0/+15
|
* [DOC] Fix RUBY_SYMBOL_FLAG comment [ci skip]Nobuyoshi Nakada2022-10-201-1/+1
| | | | Upper bits than the least significant 4 bits need not be 0.
* YJIT: Respect writable_addrs on --yjit-dump-iseq-disasm as well (#6596)Takashi Kokubun2022-10-192-10/+13
| | | | | YJIT: Respect writable_addrs on --yjit-dump-iseq-disasm as well
* Remove a leftover comment [ci skip]Takashi Kokubun2022-10-191-2/+0
|
* Avoid missed wakeup with fiber scheduler and Fiber.blocking. (#6588)Samuel Williams2022-10-204-10/+72
| | | * Ensure that blocked fibers don't prevent valid wakeups.
* MJIT: Stop using the VM barrier for jit_contTakashi Kokubun2022-10-194-20/+35
| | | | | | | | | | | | | | | | 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.
* YJIT: Skip dumping code for the other cb on --yjit-dump-disasm (#6592)Takashi Kokubun2022-10-193-14/+17
| | | | | YJIT: Skip dumping code for the other cb on --yjit-dump-disasm
* YJIT: fix a #[warn(unused_parens)]Alan Wu2022-10-191-1/+1
|
* Transition frozen string to frozen root shapeJemma Issroff2022-10-193-9/+13
| | | | Co-Authored-By: Aaron Patterson <tenderlove@ruby-lang.org>
* YJIT: fold the "asm_comments" feature into "disasm" (#6591)Alan Wu2022-10-197-13/+12
| | | | | 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.
* [DOC] More about line number (#6582)Burdette Lamar2022-10-192-7/+16
|
* [ruby/stringio] [DOC] Enhanced RDoc for StringIOBurdette Lamar2022-10-191-18/+23
| | | | | | | | | | | | | | | (https://github.com/ruby/stringio/pull/35) Treated: - #getc - #getbyte - #ungetc - #ungetbyte - #readchar - #readbyte - #each_char https://github.com/ruby/stringio/commit/6400af8d9f
* Stop zeroing memory on allocation / copyAaron Patterson2022-10-192-28/+8
| | | | | | | 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.
* Assert for RTEST that Qnil and Qfalse differ just 1 bitNobuyoshi Nakada2022-10-192-0/+12
|
* [rubygems/rubygems] Use [] instead of double-quotes Hiroshi SHIBATA2022-10-191-1/+1
|
* Suppress warning for fgrepHiroshi SHIBATA2022-10-191-1/+1
| | | | >fgrep: warning: fgrep is obsolescent; using ggrep -F
* Bypass git submodule add/update with git config protocol.file.allow=always ↵Hiroshi SHIBATA2022-10-191-0/+5
| | | | | | option. Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Fix and improve coroutines for Darwin (macOS) ppc/ppc64. (#5975)Sergey Fedorov2022-10-1917-118/+194
|
* Add support for anonymous shared IO buffers. (#6580)Samuel Williams2022-10-193-3/+52
|
* [DOC] Fix typo in Enumerable#slice_beforeKouhei Yanagita2022-10-191-1/+1
|
* [ruby/stringio] [DOC] StringIO doc enhancementsBurdette Lamar2022-10-191-42/+101
| | | | | | | | | | | | | | | | | | | (https://github.com/ruby/stringio/pull/33) Treated: - ::new - ::open - #string - #string= - #close - #close_read - #close_write - #closed? - #closed_read? - #closed_write? - #eof? https://github.com/ruby/stringio/commit/be9b64d739
* sync_default_gems.rb: commit all after replaced rdoc-ref [ci skip]Nobuyoshi Nakada2022-10-191-1/+1
|
* [DOC] Fix rdoc-refNobuyoshi Nakada2022-10-191-9/+9
|
* Fixes remaining issues and turns back on dead code and unused (#6584)Jimmy Miller2022-10-182-5/+2
|
* [DOC] Enhanced RDoc for StringIO (#34)Burdette Lamar2022-10-181-31/+52
| | | | | | | | | | | | | | Treated: - #lineno - #lineno= - #binmode - #reopen - #pos - #pos= - #rewind - #seek - #sync - #each_byte
* Code clean around unused code for some architectures or features (#6581)Jimmy Miller2022-10-185-10/+16
|
* Allow passing a Rust closure to rb_iseq_callback (#6575)Takashi Kokubun2022-10-188-16/+33
|
* [DOC] Link to packed data doc (#6567)Burdette Lamar2022-10-182-290/+12
| | | | | | | | | | | | | | | | | * 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>
* Ignore manual files only commits [ci skip]Nobuyoshi Nakada2022-10-1813-0/+54
|
* sync_default_gems.rb: fold too long subject [ci skip]Nobuyoshi Nakada2022-10-181-10/+24
| | | | | | | 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.
* Update default gems list at dffca50bb609661f04660221834c48 [ci skip]git2022-10-181-0/+1
|
* [ruby/fiddle] Free closures immediatelyAaron Patterson2022-10-181-0/+2
| | | | | | | | | (https://github.com/ruby/fiddle/pull/109) These structs don't need to be freed as part of finalization, so lets free them immediately. https://github.com/ruby/fiddle/commit/8a10ec1152
* [ruby/fiddle] Add support for linker script on LinuxSutou Kouhei2022-10-182-1/+64
| | | | | | | | GitHub: fix https://github.com/ruby/fiddle/pull/107 Reported by nicholas a. evans. Thanks!!! https://github.com/ruby/fiddle/commit/49ea1490df
* [ruby/fiddle] Fix filenames for glibc SO files on alpha and ia64John Paul Adrian Glaubitz2022-10-181-2/+8
| | | | | | | | (https://github.com/ruby/fiddle/pull/105) Fixes [Bug #18645] https://github.com/ruby/fiddle/commit/9a5a1dab1d
* [ruby/fiddle] Bump versionSutou Kouhei2022-10-181-1/+1
|