| Age | Commit message (Collapse) | Author |
|
|
|
When setjmp/longjmp/exceptions are used on Windows it's necessary to store+restore additional information from the TEB.
I didn't find any official documentation about the values to be saved, but found the corresponding boost/context implemenataion:
https://github.com/boostorg/context/commit/abf8e04e23cf05a499594e674d1c90db39117662
This is similar to the special TIB handling on x86/x86_64 on Windows.
Without this fix an exception in a fiber segfaults without any output:
ruby -e "Fiber.new{ raise 'test' }.resume"
Notes:
Merged: https://github.com/ruby/ruby/pull/12363
|
|
|
|
|
|
|
|
|
|
|
|
Unlike Clang 15, GCC 11 seems require default symbol visibility.
|
|
Newer GCCs have __has_feature and older ones have
__SANITIZE_ADDRESS__[1]. Relevant since ASAN with GCC 11 on the popular
Ubuntu Jammy failed to build previously.
[1]: https://gcc.gnu.org/onlinedocs/gcc-4.8.0/cpp/Common-Predefined-Macros.html
|
|
|
|
* Add back summary table for pack/unpack directives
* This concise summary is very helpful e.g. to find the right Integer
directive, and is much better at getting an overview than very long text.
* From https://github.com/ruby/ruby/pull/6567
* I merged the tables for Array#pack and String#unpack,
there were almost the same except for String and Misc. directives.
* Tune up the tabular data and moves it to the top.
Co-authored-by: Burdette Lamar <BurdetteLamar@Yahoo.com>
Co-authored-by: Stan Lo <stan001212@gmail.com>
Notes:
Merged-By: eregon <eregontp@gmail.com>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12361
|
|
https://github.com/ruby/net-http/commit/9bcf818fd009eafb11107c7457aa56d533d16d94
https://github.com/ruby/net-http/commit/5e34e74261f40f4f10c93d7700761c437117f494
Notes:
Merged: https://github.com/ruby/ruby/pull/12362
|
|
- IRB has its own documentation in the project readme and https://ruby.github.io/irb/ already.
- As a tool, its internal implementation details are not relevant to the user.
- Excluding it from the documentation generation reduces the size of the generated documentation
and makes search results more relevant.
I also checked the there are no references to IRB so it should not break any links.
Notes:
Merged: https://github.com/ruby/ruby/pull/12325
|
|
installed
https://github.com/rubygems/rubygems/commit/a087c452ad
|
|
(https://github.com/ruby/rdoc/pull/1241)
https://github.com/ruby/rdoc/commit/4a5206ae56
|
|
Use the wrapper gc_location_internal instead that checks for special
constants.
Notes:
Merged: https://github.com/ruby/ruby/pull/12359
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12359
|
|
https://github.com/rubygems/rubygems/commit/7585825c57
|
|
https://github.com/rubygems/rubygems/commit/b0a092dac3
|
|
When reference updating ObjectSpace.trace_object_allocations, we need to
check whether the object is valid or not because it does not mark the
object so the object may be dead. This can cause a segmentation fault
if the object is on a free heap page.
For example, the following script crashes:
require "objspace"
objs = []
ObjectSpace.trace_object_allocations do
1_000_000.times do
objs << Object.new
end
end
objs = nil
# Free pages that the objs were on
GC.start
# Run compaction and check that it doesn't crash
GC.compact
Notes:
Merged: https://github.com/ruby/ruby/pull/12360
|
|
|
|
(https://github.com/ruby/reline/pull/795)
https://github.com/ruby/reline/commit/e0850cd5ba
|
|
|
|
https://github.com/ruby/prism/commit/544df5835f
Notes:
Merged: https://github.com/ruby/ruby/pull/12358
|
|
Partially: https://bugs.ruby-lang.org/issues/20785
https://github.com/ruby/prism/commit/71c9102d02
Notes:
Merged: https://github.com/ruby/ruby/pull/12358
|
|
https://github.com/ruby/prism/commit/4ce6bcf182
Notes:
Merged: https://github.com/ruby/ruby/pull/12358
|
|
Prism was already disallowing arguments after block args, but in
parse.y, any comma after a block arg is a syntax error. This moves the
error handling into `PM_TOKEN_UAMPERSAND` where we can check if the
current type is `PM_TOKEN_COMMA`then raise an error. I've also updated
the tests to include the examplesfrom ruby/prism#3112.
Fixes: ruby/prism#3112
https://github.com/ruby/prism/commit/754cf8eddc
Notes:
Merged: https://github.com/ruby/ruby/pull/12358
|
|
https://github.com/ruby/prism/commit/b283a72c88
Notes:
Merged: https://github.com/ruby/ruby/pull/12358
|
|
https://github.com/ruby/prism/commit/34efacc618
Notes:
Merged: https://github.com/ruby/ruby/pull/12358
|
|
https://github.com/ruby/prism/commit/9686897290
Notes:
Merged: https://github.com/ruby/ruby/pull/12358
|
|
https://github.com/ruby/prism/commit/817a8e39d9
Notes:
Merged: https://github.com/ruby/ruby/pull/12358
|
|
https://github.com/ruby/prism/commit/f80026883d
Notes:
Merged: https://github.com/ruby/ruby/pull/12358
|
|
We need to reinsert into the ST table when an object moves because it is
a numtable that hashes on the object address, so when an object moves we
need to reinsert it rather than just updating the key.
Notes:
Merged: https://github.com/ruby/ruby/pull/12339
|
|
We should be checking for key for moved objects rather than the value
because the key is a Ruby object and the value is malloc'd memory.
Notes:
Merged: https://github.com/ruby/ruby/pull/12339
|
|
Ruby feature: https://bugs.ruby-lang.org/issues/20952
https://github.com/ruby/prism/commit/e612df5f36
|
|
https://github.com/ruby/ruby/pull/12357
https://github.com/ruby/rdoc/commit/458ecbb7f7
|
|
key input
(https://github.com/ruby/reline/pull/792)
https://github.com/ruby/reline/commit/8f331edb07
|
|
|
|
https://github.com/ruby/rdoc/commit/7cd125e2f0
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12356
|
|
RDoc::RubyGemsHook
(https://github.com/ruby/rdoc/pull/1244)
Rubygems creates an instance of RDoc::RubygemsHook, sets `doc.force = overwrite`, then calls `doc.generate` the document.
RDoc::RubygemsHook needs attribute `:force` just like RDoc::RubyGemsHook.
https://github.com/ruby/rdoc/commit/01bdbcdd4d
|
|
Including `TMPDIR_CANDIDATES` extracted from `Dir.tmpdir` invariant.
https://github.com/ruby/tmpdir/commit/d219ee273f
|
|
https://github.com/ruby/tmpdir/commit/6e97a96d3b
|
|
Fix https://github.com/ruby/tmpdir/pull/37
https://github.com/ruby/tmpdir/commit/a8ceafae7d
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12280
|
|
[Bug #20954]
Notes:
Merged: https://github.com/ruby/ruby/pull/12352
|
|
|
|
|
|
https://github.com/ruby/securerandom/commit/65fb8ddcc3
|