| Age | Commit message (Collapse) | Author |
|
https://github.com/ruby/prism/commit/c36d3fc647
|
|
https://github.com/ruby/prism/commit/a63acc0629
|
|
https://github.com/ruby/prism/commit/bb73801cf4
|
|
https://github.com/ruby/prism/commit/151698bf86
|
|
https://github.com/ruby/prism/commit/6d2b59384a
|
|
https://github.com/ruby/prism/commit/aa6163d77a
|
|
https://github.com/ruby/prism/commit/8c9b580f84
|
|
https://github.com/ruby/prism/commit/9354ad1848
|
|
https://github.com/ruby/prism/commit/45251fcbf1
|
|
https://github.com/ruby/prism/commit/65175641b1
|
|
https://github.com/ruby/prism/commit/af1a665939
|
|
https://github.com/ruby/prism/commit/fc1f6ea3af
|
|
https://github.com/ruby/prism/commit/d60329eeb5
|
|
https://github.com/ruby/prism/commit/8069d143f5
|
|
https://github.com/ruby/prism/commit/ebe83490bf
|
|
https://github.com/ruby/prism/commit/e77b549a59
|
|
https://github.com/ruby/prism/commit/a362535ca4
|
|
https://github.com/ruby/prism/commit/29ba8cd1f2
|
|
https://github.com/ruby/prism/commit/d81a77e0e3
|
|
Fix https://github.com/ruby/prism/pull/1515
It is also fixed by #1807, so this adds only test cases.
https://github.com/ruby/prism/commit/a0092f075e
|
|
Calling `tokens_to_s` gets an error if `token_stream` is nil:
```
undefined method `compact' for nil:NilClass (NoMethodError)
```
So, fall back to an empty array if `@token_stream` is nil.
https://github.com/ruby/rdoc/commit/452e4a2600
|
|
https://github.com/ruby/prism/commit/fef0019a25
|
|
https://github.com/rubygems/rubygems/commit/5c36556d2e
|
|
test/runner.rb and tool/lib/test/unit/parallel.rb must use the same
settings. However, some settings were copied and pasted, while some were
added only to test/runner.rb.
This changeset creates tool/test/init.rb for all settings of test-unit,
which is loaded not only by test/runner.rb but also
tool/lib/test/unit/parallel.rb.
Background: the GEM_HOME environment variable was removed in
test/runner.rb, which prohibit `require "rake"` (note that rake is a
bundled gem). However the parallel mode didn't refrect this setting,
i.e., `require "rake"` was allowed.
This leads to an inconsistency, which actually affected a test test
defines s test class *only when* `require "rake"` is successful.
(test/rubygems/test_gem_package_task.rb)
https://github.com/ruby/ruby/actions/runs/6807729617/job/18511055636#step:8:1714
```
/home/runner/work/ruby/ruby/src/tool/lib/test/unit.rb:729:in `const_get': uninitialized constant TestGemPackageTask (NameError)
suites.map! {|r| ::Object.const_get(r[:testcase])}
^^^^^^^^^^
```
|
|
|
|
|
|
* Revert "Fixup da2c2931a60"
This reverts commit e1978a905a32af2d48b6e9efb6d0fe1656fddc5b.
* Revert "Skip Type completion tests related with IRB::VERSION"
This reverts commit da2c2931a602da22bc1fd10dc41f5c3a117bf502.
* require irb/version to test IRB::VERSION
---------
Co-authored-by: tompng <tomoyapenguin@gmail.com>
|
|
|
|
`test_thread_trace` is also flaky due to the same reason as #8916.
https://rubyci.s3.amazonaws.com/centos7/ruby-master/log/20231114T213002Z.fail.html.gz
https://rubyci.s3.amazonaws.com/wsl2/ruby-master/log/20231114T090003Z.fail.html.gz
|
|
|
|
This reverts commit 5398bbcbab702907430ee019d07f5dcf2b0ce4af.
We explicitly load rubygems at rubygems_ext.rb
https://github.com/rubygems/rubygems/commit/8840d8507be72ff32bcbbdfb14e0b54efb364ffa
|
|
|
|
https://github.com/ruby/prism/commit/d60948bac3
|
|
They are corresponding to `arg_value` in `parse.y`.
https://github.com/ruby/prism/commit/a4a4834e0d
|
|
librubyparser was an artifact of the prototype that was initially
named ruby-parser. Instead, this renames it to libprism to be
consistent with the actual name.
https://github.com/ruby/prism/commit/8600b06811
|
|
They are corresponding to `arg_value` in `parse.y`.
https://github.com/ruby/prism/commit/a4a4834e0d
|
|
https://github.com/ruby/prism/commit/d60948bac3
|
|
They are corresponding to `arg_value` in `parse.y`.
https://github.com/ruby/prism/commit/a4a4834e0d
|
|
https://github.com/ruby/prism/commit/37fad74134
|
|
Found by fuzzing.
https://github.com/ruby/prism/commit/d77d4fe2b7
|
|
Because the lex mode may be freed when popped, we need to store off
this value for dedentation.
https://github.com/ruby/prism/commit/64007322f5
Co-authored-by: Kevin Newton <kddnewton@gmail.com>
|
|
(https://github.com/ruby/rdoc/pull/1015)
TIDYLINK multi-word label should not include braces.
https://github.com/ruby/rdoc/commit/41ad3191e9
|
|
This test suite is flaky on CI, because the test asserts events from
finalizers also. Tracing events from finalizers is not deterministic
and is not a part of test interests, so this commit changes the test
to assert only events originated from the test file itself.
|
|
Found by fuzzing.
https://github.com/ruby/prism/commit/4cd6c8cf98
|
|
Other objects may be using the shape, so we can't change the capacity
otherwise the other objects may have a buffer overflow.
|
|
For better assert failure diagnostics.
|
|
https://github.com/ruby/prism/commit/231e965124
|
|
(https://github.com/ruby/reline/pull/604)
* Fallback to 256color if COLORTERM != truecolor
* Add Reline::Face.force_truecolor to force truecolor without COLORTERM env
https://github.com/ruby/reline/commit/090e1e4df0
|
|
This reverts commit 9a62fd3cbae2ebb60e2f9cad782af1ad18db4319.
|
|
Context: https://github.com/ivoanjo/gvl-tracing/pull/4
Some hooks may want to collect data on a per thread basis.
Right now the only way to identify the concerned thread is to
use `rb_nativethread_self()` or similar, but even then because
of the thread cache or MaNy, two distinct Ruby threads may report
the same native thread id.
By passing `thread->self`, hooks can use it as a key to store
the metadata.
NB: Most hooks are executed outside the GVL, so such data collection
need to use a thread-safe data-structure, and shouldn't use the
reference in other ways from inside the hook.
They must also either pin that value or handle compaction.
|