| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
argument
(https://github.com/ruby/irb/pull/973)
The command only takes command names as arguments, so we should only
return command names as candidates.
This will help users find a command faster as completion will be
another useful hint too.
https://github.com/ruby/irb/commit/7b6557cc24
|
|
|
|
|
|
|
| |
We only collect GC.stat_heap(nil, stat_heap_all)
once, outside of the loop, but assert_equal could
allocate objects which can cause a GC to run and
cause stat_heap_all to be out-of-sync.
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/14c4c16e96
|
|
|
|
|
|
| |
add_runtime_dependency
https://github.com/rubygems/rubygems/commit/9a08043858
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/ccbbe84d77
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/c31a1592ee
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/c538558522
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/29f71ee6d2
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/c755bcde62
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/ee45ebb5c3
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/3ae4358024
|
|
|
|
|
|
| |
OpenSSL::SSL::SSLServer
https://github.com/rubygems/rubygems/commit/21319eccac
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/69bd962b56
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/43f98b787b
|
|
|
|
|
|
| |
TestGemRemoteFetcher
https://github.com/rubygems/rubygems/commit/52db9fd501
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/d3ee8d2d3b
|
|
|
|
|
| |
As the document states, it should return `self`, not `nil`.
Fix up of f4b313f7338f5fbe37f73aae29f70aeb474f7f5b.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Improves activerecord by about 1% on the interpreter:
```
before: ruby 3.4.0dev (2024-07-03T18:40:10Z master f88841b8f3) [arm64-darwin23]
after: ruby 3.4.0dev (2024-07-03T18:41:14Z ruby-map 6c0df4eb32) [arm64-darwin23]
------------ ----------- ---------- ---------- ---------- ------------- ------------
bench before (ms) stddev (%) after (ms) stddev (%) after 1st itr before/after
activerecord 235.2 0.8 233.6 0.7 1.01 1.01
------------ ----------- ---------- ---------- ---------- ------------- ------------
Legend:
- after 1st itr: ratio of before/after time for the first benchmarking iteration.
- before/after: ratio of before/after time. Higher is better for after. Above 1 represents a speedup.
```
Improves YJIT by about 4%:
```
before: ruby 3.4.0dev (2024-07-03T18:40:10Z master f88841b8f3) +YJIT [arm64-darwin23]
after: ruby 3.4.0dev (2024-07-03T18:41:14Z ruby-map 6c0df4eb32) +YJIT [arm64-darwin23]
------------ ----------- ---------- ---------- ---------- ------------- ------------
bench before (ms) stddev (%) after (ms) stddev (%) after 1st itr before/after
activerecord 142.1 1.2 137.0 0.6 1.00 1.04
------------ ----------- ---------- ---------- ---------- ------------- ------------
Legend:
- after 1st itr: ratio of before/after time for the first benchmarking iteration.
- before/after: ratio of before/after time. Higher is better for after. Above 1 represents a speedup.
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://github.com/ruby/irb/pull/971)
It's essentially a combination of pushws and popws commands that are
easier to use.
Help message:
```
Usage: cd ([target]|..)
IRB uses a stack of workspaces to keep track of context(s), with `pushws` and `popws` commands to manipulate the stack.
The `cd` command is an attempt to simplify the operation and will be subject to change.
When given:
- an object, cd will use that object as the new context by pushing it onto the workspace stack.
- "..", cd will leave the current context by popping the top workspace off the stack.
- no arguments, cd will move to the top workspace on the stack by popping off all workspaces.
Examples:
cd Foo
cd Foo.new
cd @ivar
cd ..
cd
```
https://github.com/ruby/irb/commit/4a0e0e89b7
|
|
|
|
|
|
|
|
|
|
| |
Following [Feature #20589] it can happen that we change the
capacity of a frozen array, so these assertions no longer make
sense.
Normally we don't hit them because `Array#freeze` shrinks the
array, but if somehow the Array was frozen using `Object#freeze`
then we may shrink it after it was frozen.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit splits gc.c into two files:
- gc.c now only contains code not specific to Ruby GC. This includes
code to mark objects (which the GC implementation may choose not to
use) and wrappers for internal APIs that the implementation may need
to use (e.g. locking the VM).
- gc_impl.c now contains the implementation of Ruby's GC. This includes
marking, sweeping, compaction, and statistics. Most importantly,
gc_impl.c only uses public APIs in Ruby and a limited set of functions
exposed in gc.c. This allows us to build gc_impl.c independently of
Ruby and plug Ruby's GC into itself.
|
|
|
|
|
|
|
| |
Companion to getbyte but raise EOFError
Similar to https://github.com/ruby/openssl/pull/438
https://github.com/ruby/openssl/commit/c40f70711a
|
|
|
|
|
|
|
|
|
| |
It doesn't look like there was a test added for this bug, so I'm adding
it.
Code is from here:
https://web.archive.org/web/20160908192307/http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/24445
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`test/fiddle/test_function.rb`
(https://github.com/ruby/fiddle/pull/141)
https://github.com/ruby/ruby/pull/11048#issuecomment-2185630854
---------
https://github.com/ruby/fiddle/commit/a245f19763
Co-authored-by: Yusuke Endoh <mame@ruby-lang.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* constist ==> consist
* Tidyness ==> Tidiness
* Currentry ==> Currently
* valus ==> values
https://github.com/ruby/rdoc/commit/8412705721
|
|
|
|
|
|
|
| |
with command
(https://github.com/ruby/irb/pull/961)
https://github.com/ruby/irb/commit/00603d470f
|
|
|
|
|
|
|
|
|
| |
[Bug #20598]
Just like [Bug #20595], Encoding#name_list and Encoding#aliases can have
their strings corrupted when Encoding.default_internal is set to nil.
Co-authored-by: Matthew Valentine-House <matt@eightbitraptor.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[Bug #20595]
enc_set_default_encoding will free the C string if the encoding is nil,
but the C string can be used by the encoding name string. This will cause
the encoding name string to be corrupted.
Consider the following code:
Encoding.default_internal = Encoding::ASCII_8BIT
names = Encoding.default_internal.names
p names
Encoding.default_internal = nil
p names
It outputs:
["ASCII-8BIT", "BINARY", "internal"]
["ASCII-8BIT", "BINARY", "\x00\x00\x00\x00\x00\x00\x00\x00"]
Co-authored-by: Matthew Valentine-House <matt@eightbitraptor.com>
|
|
|
|
| |
https://github.com/ruby/prism/commit/6b78f5309b
|
|
|
|
|
|
| |
during tests
https://github.com/rubygems/rubygems/commit/39a47c264e
|
|
|
|
|
|
|
|
|
|
| |
This method validates only what is required for resolution, skipping any
irrelevant metadata validation. This will be used by Bundler instead of
doing a full validation, allowing gem authors to use `bundle` commands
immediately in newly created gems without first having to fix invalid
metafata fields in the default gemspec.
https://github.com/rubygems/rubygems/commit/da7704cfc0
|
| |
|
| |
|
|
|
|
|
| |
This was an optimization for versions prior to 1.9 that traverse the
AST at runtime.
|
|
|
|
|
|
| |
(https://github.com/ruby/reline/pull/727)
https://github.com/ruby/reline/commit/be45660c83
|
|
|
|
|
|
|
| |
This supports the nodes in both in the parse.y and prism compilers.
Fixes [Bug #20043]
Co-authored-by: Kevin Newton <kddnewton@gmail.com>
|
|
|
|
|
|
|
|
|
| |
`--disable-frozen-string-literal`
[Feature #20205]
This was an undesired side effect. Now that this value is a triplet, we can't
assume it's disabled by default.
|
|
|
|
| |
test_try_cppflag_invalid_opt
|
|
|
|
|
| |
GitHub Actions macos-arm-oss is often too slow and does not timestamp as
expected.
|
| |
|
| |
|
|
|
|
|
|
|
| |
... to respect RUBY_TEST_TIMEOUT_SCALE. This test somehow fails
frequently on macos-arm-oss with --repeat-count=2
https://app.launchableinc.com/organizations/ruby/workspaces/ruby/data/test-paths/file%3Dtest%2Fruby%2Ftest_file.rb%23%23%23class%3DTestFile%23%23%23testcase%3Dtest_stat?organizationId=ruby&workspaceId=ruby&testPathId=file%3Dtest%2Fruby%2Ftest_file.rb%23%23%23class%3DTestFile%23%23%23testcase%3Dtest_stat&testSessionStatus=flake
|
|
|
|
|
| |
These tests are flaky and are duplicative of other tests that are
run in CI when parser=prism.
|
|
|
|
|
|
| |
--bundler` fix
https://github.com/rubygems/rubygems/commit/c392593dc3
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/3f22e9df8d
|
|
|
|
|
|
|
|
|
| |
LIBRUBY_RELATIVE"
This reverts commit https://github.com/rubygems/rubygems/commit/06fd39997348, for a
bug that is fixed by https://github.com/rubygems/rubygems/commit/0148cce153a5.
https://github.com/rubygems/rubygems/commit/907e51e521
|
|
|
|
|
|
|
|
|
|
| |
[Bug #20585]
This was changed in 36a06efdd9f0604093dccbaf96d4e2cb17874dc8 because
`String.new(1024)` would end up allocating `1025` bytes, but the problem
with this change is that the caller may be trying to right size a String.
So instead, we should just better document the behavior of `capacity:`.
|
|
|
|
| |
https://github.com/rubygems/rubygems/commit/0148cce153
|
|
|
|
|
|
| |
LIBRUBY_RELATIVE
https://github.com/rubygems/rubygems/commit/06fd399973
|
|
|
|
|
|
|
| |
Naively embed strings do not work if special characters (newline,
backslahes and so on) are contained.
https://github.com/rubygems/rubygems/commit/ac2c4c4af1
|