| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
31a6eaabc165d8a222e176f2c809d90622d88ec2 is obsoleted with
https://github.com/rubygems/rubygems/pull/3820
|
| |
|
|
|
|
| |
Enable Style/EmptyLinesAroundClassBody rubocop cop.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
`encoding` can be not only an encoding name, but also an Encoding object.
```
s = String.new('foo', encoding: Encoding::US_ASCII)
s.encoding # => #<Encoding:US-ASCII>
```
|
|
|
|
| |
* Added rbs as bundled gems
* Added the missing dependencies for rbs gem
|
| |
|
|
|
|
|
|
|
|
| |
Receiving UnixSocket works fine if you don't provide a mode, and
I think it is reasonable to expect that you should not provide
a mode if klass.for_fd would not accept a mode.
Fixes [Bug #11778]
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Makes some methods doc compliant with https://github.com/ruby/ruby/blob/master/doc/method_documentation.rdoc. Also, other minor revisions to make more consistent.
Methods:
try_convert
+string
-string
concat
<<
prepend
hash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I need to disassemble instruction sequences while debugging, so I wrote
this.
Usage is like this:
```
(lldb) p iseq
(rb_iseq_t *) $147 = 0x0000000101068400
(lldb) rbdisasm iseq
0000 putspecialobject( 3 )
0002 putnil
0003 defineclass( ID: 0x560b, (rb_iseq_t *)0x1010681d0, 2 )
0007 pop
0008 putspecialobject( 3 )
0010 putnil
0011 defineclass( ID: 0x56eb, (rb_iseq_t *)0x101063b58, 2 )
0015 leave
```
Also thanks a ton to @kivikakk helping me figure out how to navigate LLDB's Python 😆
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
refinement"
This reverts commit eeef16e190cdabc2ba474622720f8e3df7bac43b.
This also reverts the spec change.
Preventing the SystemStackError would be nice, but there is valid
code that the fix breaks, and it is probably more common than cases
that cause the SystemStackError.
Fixes [Bug #17182]
|
| |
|
| |
|
|
|
|
|
|
| |
If an object has a finalizer flag set on it, prevent it from moving.
This partially reverts commit 1a9dd31910699c7cd69f2a84c94af20eacd5875c.
|
|
|
|
|
|
|
| |
This sets an explicit default of nil. There is probably a better
approach of removing the default.
Fixes [Bug #17181]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Methods:
::new
#length
#bytesize
#empty?
#+
#*
#%
|
| |
|
|
|
|
|
| |
* This shows block() with a timeout is similar to #kernel_sleep and also
does not need to change `@blocking`.
|
|
|
|
| |
* And not some list of sort.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* Previously this could lead to an invalid waiter entry and then trying
to wake up that waiter would result in various issues in rb_mutex_unlock_th().
|
|
|
|
|
|
|
| |
As d387029f39d976565c955377117103499d47ff09 made io/wait
unbuildable with older versions, drop older versions tentatively.
Also the change seems to instroduce behavioral incompatibilities,
may address them or bump up the version later.
|
| |
|
|
|
|
|
|
| |
This is a temporary commit to try to find a GC issue. It seems like
mjit is pointing at a moved address in the call cache. I want to assert
that they aren't TMOVED or garbage objects at the time they get copied
|
|
|
|
| |
https://github.com/ruby/irb/commit/0eaa06838b
|
|
|
|
|
|
| |
ECHO_ON_ASSIGNMENT
https://github.com/ruby/irb/commit/4c89b0775b
|
| |
|
|
|
|
|
|
|
|
|
|
| |
When finalizers run (in `rb_objspace_call_finalizer`) the table is
copied to a linked list that is not managed by the GC. If compaction
runs, the references in the linked list can go bad.
Finalizer table shouldn't be used frequently, so lets pin references in
the table so that the linked list in `rb_objspace_call_finalizer` is
safe.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* When there is a scheduler, the Fiber that would be blocked has already
been rescheduled and there is no point to interrupt something else.
That blocked Fiber will be rescheduled as the next call to the scheduler
(e.g., IO, sleep, other blocking sync).
* See discussion on https://github.com/ruby/ruby/commit/d01954632d
|
|
|
|
| |
https://github.com/ruby/rdoc/commit/7cb5c3611f
|
|
|
|
| |
https://github.com/ruby/rdoc/commit/f237c9e223
|
|
|
|
|
|
|
|
|
| |
Cross references need parse all files which define the subject
names. This commit makes `--force-update` option enforce to parse
all files if any file is newer than the previous parse, not only
updated files.
https://github.com/ruby/rdoc/commit/13e9a44896
|
|
|
|
| |
https://github.com/ruby/rdoc/commit/41db49c485
|
|
|
|
|
| |
ruby_global_symbols can be accessed with multiple ractors so that
the accesses should be synchronized.
|