summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-12-17[Bug #20951] [DOC] UTC offset in `utc_to_local`Nobuyoshi Nakada
2024-12-17Fix coroutine implementaion on Windows-Arm64Lars Kanis
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
2024-12-17Update default gems list at 047a87bd7a8d24afa36cc6533868dc [ci skip]git
2024-12-17Bump Rubygems version to 3.6.0David Rodríguez
2024-12-17Bump Bundler version to 2.6.0David Rodríguez
2024-12-17Fix indent rule by rubygems/bundler copsHiroshi SHIBATA
2024-12-17Bump vendored resolv to 0.6.0David Rodríguez
2024-12-16Export __asan_default_options for GCCAlan Wu
Unlike Clang 15, GCC 11 seems require default symbol visibility.
2024-12-16Detect ASAN when using older GCC versionsAlan Wu
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
2024-12-16Update bundled gems list as of 2024-12-16git
2024-12-16Add back summary table for pack/unpack directives (#12349)Benoit Daloze
* 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>
2024-12-17Bundle repl_type_completor 0.1.9tompng
Notes: Merged: https://github.com/ruby/ruby/pull/12361
2024-12-16Sync net-http commitsStan Lo
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
2024-12-16Exclude irb from documentation generationStan Lo
- 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
2024-12-16[rubygems/rubygems] Fix `bundle lock --add-checksums` when gems are already ↵David Rodríguez
installed https://github.com/rubygems/rubygems/commit/a087c452ad
2024-12-16[ruby/rdoc] Print warnings for rdoc-ref links that can't be resolvedStan Lo
(https://github.com/ruby/rdoc/pull/1241) https://github.com/ruby/rdoc/commit/4a5206ae56
2024-12-16Don't directly use rb_gc_impl_location in gc.cPeter Zhu
Use the wrapper gc_location_internal instead that checks for special constants. Notes: Merged: https://github.com/ruby/ruby/pull/12359
2024-12-16Move special constant check in rb_gc_location to gc.cPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/12359
2024-12-16[rubygems/rubygems] Fix `gem info` tagging some non default gems as defaultDavid Rodríguez
https://github.com/rubygems/rubygems/commit/7585825c57
2024-12-16[rubygems/rubygems] Improve indentation of a `gem info` testDavid Rodríguez
https://github.com/rubygems/rubygems/commit/b0a092dac3
2024-12-16Check whether object is valid in allocation_info_tracer_compactPeter Zhu
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
2024-12-16Update default gems list at 9b3831e90831b8410040f4c064abfc [ci skip]git
2024-12-16[ruby/reline] Bump version to 0.6.0Mari Imaizumi
(https://github.com/ruby/reline/pull/795) https://github.com/ruby/reline/commit/e0850cd5ba
2024-12-16Update default gems list at db78ab5ed278e0e3e73fe9142d1541 [ci skip]git
2024-12-16[ruby/prism] Update src/prism.cKevin Newton
https://github.com/ruby/prism/commit/544df5835f Notes: Merged: https://github.com/ruby/ruby/pull/12358
2024-12-16[ruby/prism] [Bug #20785] Allow `, and` and `, or` after patternsydah
Partially: https://bugs.ruby-lang.org/issues/20785 https://github.com/ruby/prism/commit/71c9102d02 Notes: Merged: https://github.com/ruby/ruby/pull/12358
2024-12-16[ruby/prism] Ignore newlines in labelled lambda argumentsHaldun Bayhantopcu
https://github.com/ruby/prism/commit/4ce6bcf182 Notes: Merged: https://github.com/ruby/ruby/pull/12358
2024-12-16[ruby/prism] Fix 3112 - disallow commas after block argeileencodes
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
2024-12-16[ruby/prism] Fix up regression in ruby parser translationKevin Newton
https://github.com/ruby/prism/commit/b283a72c88 Notes: Merged: https://github.com/ruby/ruby/pull/12358
2024-12-16[ruby/prism] Simplify srange_find in parser compilerKevin Newton
https://github.com/ruby/prism/commit/34efacc618 Notes: Merged: https://github.com/ruby/ruby/pull/12358
2024-12-16[ruby/prism] Add do keyword tracking for While/UntilKevin Newton
https://github.com/ruby/prism/commit/9686897290 Notes: Merged: https://github.com/ruby/ruby/pull/12358
2024-12-16[ruby/prism] Bump to v1.2.0Kevin Newton
https://github.com/ruby/prism/commit/817a8e39d9 Notes: Merged: https://github.com/ruby/ruby/pull/12358
2024-12-16[ruby/prism] Bump to v1.1.0Kevin Newton
https://github.com/ruby/prism/commit/f80026883d Notes: Merged: https://github.com/ruby/ruby/pull/12358
2024-12-16Fix ObjectSpace.trace_object_allocations for compactionPeter Zhu
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
2024-12-16Fix compaction check for ObjectSpace.trace_object_allocationsPeter Zhu
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
2024-12-16[ruby/prism] Blocks & kwargs are not valid in index assignmentsMatt Valentine-House
Ruby feature: https://bugs.ruby-lang.org/issues/20952 https://github.com/ruby/prism/commit/e612df5f36
2024-12-16[ruby/rdoc] Fix to parse `rb_define_global_const`Nobuyoshi Nakada
https://github.com/ruby/ruby/pull/12357 https://github.com/ruby/rdoc/commit/458ecbb7f7
2024-12-16[ruby/reline] Change quoted_insert and bracketed_paste to a singletomoya ishida
key input (https://github.com/ruby/reline/pull/792) https://github.com/ruby/reline/commit/8f331edb07
2024-12-16Update default gems list at 9e7e938ed9feffeefd08c88f446bbd [ci skip]git
2024-12-16[ruby/rdoc] Bump version to v6.9.1Stan Lo
https://github.com/ruby/rdoc/commit/7cd125e2f0
2024-12-16Freeze `Random::Formatter::ALPHANUMERIC` and its elementsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12356
2024-12-16[ruby/rdoc] Add attribute :force to RDoc::RubygemsHook just liketomoya ishida
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
2024-12-16[ruby/tmpdir] Move private constants under `Dir::Tmpname` moduleNobuyoshi Nakada
Including `TMPDIR_CANDIDATES` extracted from `Dir.tmpdir` invariant. https://github.com/ruby/tmpdir/commit/d219ee273f
2024-12-16[ruby/tmpdir] Tell if the block is given by block argumentNobuyoshi Nakada
https://github.com/ruby/tmpdir/commit/6e97a96d3b
2024-12-16[ruby/tmpdir] Fix for path-like objectsNobuyoshi Nakada
Fix https://github.com/ruby/tmpdir/pull/37 https://github.com/ruby/tmpdir/commit/a8ceafae7d
2024-12-16[DOC] Add Warning[:strict_unused_block] to NEWSKouhei Yanagita
Notes: Merged: https://github.com/ruby/ruby/pull/12280
2024-12-16FIx Ractor.main? to return `true` not `0`Jean Boussier
[Bug #20954] Notes: Merged: https://github.com/ruby/ruby/pull/12352
2024-12-15Suppress -Wsuggest-attribute=formatTakashi Kokubun
2024-12-16Update default gems list at 89d3b724885b5e443fa33eb8269d32 [ci skip]git
2024-12-16[ruby/securerandom] Bump up v0.4.1Hiroshi SHIBATA
https://github.com/ruby/securerandom/commit/65fb8ddcc3