summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-23[ruby/openssl] Suppress deprecation warnings by OpenSSL 3Nobuyoshi Nakada
https://github.com/ruby/openssl/commit/91657a7924
2022-12-23[ruby/openssl] Constify when building with OpenSSL 3Nobuyoshi Nakada
https://github.com/ruby/openssl/commit/c0023822fe
2022-12-23[ruby/openssl] Check for functions with argumentsNobuyoshi Nakada
https://github.com/ruby/openssl/commit/b67aaf925d
2022-12-23[ruby/openssl] pkey/ec: fix ossl_raise() calls using cEC_POINT instead of ↵Joe Truba
eEC_POINT https://github.com/ruby/openssl/commit/b2e9f5e132
2022-12-23[ruby/openssl] raise when EC_POINT_cmp or EC_GROUP_cmp error instead of ↵Joe Truba
returning true https://github.com/ruby/openssl/commit/e1e8f3cebe
2022-12-23Update bundled gems list at fe2bcd352899cd402091c2815846d1 [ci skip]git
2022-12-22Check `added` for the second sub! properlyTakashi Kokubun
Even if the first sub! modifies `news`, when `added` is empty, it always ended up skipping `File.write("NEWS.md", news)` because of the `next`. This commit fixes the problem.
2022-12-23Bump ossf/scorecard-action from 2.0.6 to 2.1.2dependabot[bot]
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.0.6 to 2.1.2. - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](https://github.com/ossf/scorecard-action/compare/99c53751e09b9529366343771cc321ec74e9bd3d...e38b1902ae4f44df626f11ba0734b14fb91f8f86) --- updated-dependencies: - dependency-name: ossf/scorecard-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/6998
2022-12-23debug.gem v1.7.1Koichi Sasada
Notes: Merged: https://github.com/ruby/ruby/pull/6995
2022-12-22Bump necojackarc/auto-request-review from 0.8.0 to 0.10.0 (#7002)dependabot[bot]
Bumps [necojackarc/auto-request-review](https://github.com/necojackarc/auto-request-review) from 0.8.0 to 0.10.0. - [Release notes](https://github.com/necojackarc/auto-request-review/releases) - [Commits](https://github.com/necojackarc/auto-request-review/compare/b5e81876454003a4ccb9b89cb205c67d77d7035b...5f91f424cabb3211c669e49e79da8363f7df395b) --- updated-dependencies: - dependency-name: necojackarc/auto-request-review dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-12-22Hide RubyVM::Shape's interface as much as possible [ci skip]Takashi Kokubun
RubyVM::Shape is usually not available (you need SHAPE_DEBUG macro, which is not defined by default). So it seems confusing to leave RubyVM::Shape in the document. This hides only method definitions because, well, I can't find a way to hide things defined by rb_define_const or rb_struct_define_under. I gave up making the C-based documentation right. You should define things in Ruby instead.
2022-12-22Document the public interface of YJIT [ci skip]Takashi Kokubun
2022-12-22Polish the public docs for MJIT [ci skip]Takashi Kokubun
Now every private interface is cleaned up, and the public interface is documented.
2022-12-22Avoid calling it a stdlib [ci skip]Takashi Kokubun
It technically is, but it's probably just confusing for most people.
2022-12-22Clean intermediate source file in `TestMJIT#test_jit_failure` (#6994)Nobuyoshi Nakada
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-12-22Always issue deprecation warning when calling Regexp.new with 3rd positional ↵Jeremy Evans
argument Previously, only certain values of the 3rd argument triggered a deprecation warning. First step for fix for bug #18797. Support for the 3rd argument will be removed after the release of Ruby 3.2. Fix minor fallout discovered by the tests. Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/6976
2022-12-22Remove MJIT's private constants from docs [ci skip]Takashi Kokubun
2022-12-22Remove mjit.md from public documentation [ci skip]Takashi Kokubun
It's for CRuby developers. Not meant to be a documentation for users. Creating a directory seems like the easiest way to exclude this from doc/.document.
2022-12-22Update MJIT documentation [ci skip]Takashi Kokubun
2022-12-22Fix typo in array.cPeter Zhu
We should be using the size of RArray and not RString for arrays.
2022-12-22[DOC] IO#read doesn't always read in binary modeAlan Wu
When `maxlen` is `nil`, it uses the data mode of the stream. For example in the following: ```ruby File.binwrite("a.txt", "\r\n\r") p File.open("a.txt", "rt").read # "\n\n" p File.open("a.txt", "rt").read(3) # "\r\n\r" ``` Note, this newline translation is _not_ specific to Windows. Notes: Merged: https://github.com/ruby/ruby/pull/6982 Merged-By: XrXr
2022-12-22[DOC] encodings.rdoc: universal_newline reacts to \rAlan Wu
It wasn't clear that the mode also translates "\r" to "\n". Notes: Merged: https://github.com/ruby/ruby/pull/6981
2022-12-23addr2line.c: Support DW_FORM_rnglistxYusuke Endoh
Notes: Merged: https://github.com/ruby/ruby/pull/6993
2022-12-23addr2line.c: Implement DW_AT_*_baseYusuke Endoh
... and add code to parse the sections of .debug_addr_base and .debug_rnglists_base. Notes: Merged: https://github.com/ruby/ruby/pull/6993
2022-12-23addr2line.c: Support DW_FORM_strx* formsYusuke Endoh
Notes: Merged: https://github.com/ruby/ruby/pull/6993
2022-12-23addr2line.c: Support DW_FORM_addrx* formsYusuke Endoh
... and add VAL_addr value type Notes: Merged: https://github.com/ruby/ruby/pull/6993
2022-12-23addr2line.c: Keep .debug_str_offsets and .debug_addr sections as wellYusuke Endoh
clang generates DWARF with the sections Notes: Merged: https://github.com/ruby/ruby/pull/6993
2022-12-22Fix buffer overrun with auto-compact for shapesPeter Zhu
The following script crashes: ```ruby GC.auto_compact = true GC.stress = true class Foo def initialize @a = @b = @c = 0 end def add_ivars @d = @e = @f = 0 end end ary = 1_000.times.map { Foo.new } ary.each { |f| f.add_ivars } ``` This is because in rb_grow_iv_list, it first calls rb_ensure_iv_list_size to allocate the buffer (and also unsets the embed bit) then rb_shape_transition_shape_capa to get the new shape. However, auto-compact can trigger in rb_shape_transition_shape_capa which would re-embed the object since it doesn't have the new shape yet. This causes a crash as the object is now embedded but has a non-embed shape which would cause the object to have a buffer overrun. Notes: Merged: https://github.com/ruby/ruby/pull/6986
2022-12-22addr2line.c: Fix another indexing bugYusuke Endoh
2022-12-22addr2line.c: Fix indexing bugYusuke Endoh
2022-12-22Refactor `reg_extract_args` to return regexp if givenNobuyoshi Nakada
2022-12-22addr2info.c: Make it work with --enable-yjitYusuke Endoh
Background: GCC 12 generates DWARF 5 with .debug_rnglists, while rustc generates DWARF 4 with .debug_ranges. The previous logic always used .debug_rnglists if there is the section. However, we need to refer .debug_ranges for DWARF 4. This change keeps DWARF version of the current compilation unit and use a proper section depending on the version. Notes: Merged: https://github.com/ruby/ruby/pull/6980
2022-12-22addr2line.c: Support "Line Number Program Header" in DWARF 5Yusuke Endoh
Notes: Merged: https://github.com/ruby/ruby/pull/6980
2022-12-22addr2line.c: Keep .debug_line_str section as wellYusuke Endoh
... and properly support DW_FORM_line_strp. This is a prepartion to support DWARF 5. Notes: Merged: https://github.com/ruby/ruby/pull/6980
2022-12-22Update default gems list at fe7190a8c19bb56ca0aefed368402a [ci skip]git
2022-12-22[ruby/optparse] Bump version to 0.3.1Hiroshi SHIBATA
https://github.com/ruby/optparse/commit/2a1e157ae1
2022-12-22NEWS.md: Update power_assert versionKazuki Tsujimoto
2022-12-22Share argument parsing in `Regexp#initialize` and `Regexp.linear_time?`Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6988
2022-12-21Put RubyVM::MJIT::Compiler under ruby_vm directory (#6989)Takashi Kokubun
[Misc #19250] Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-12-22Adjust style [ci skip]Nobuyoshi Nakada
2022-12-22Fix link [ci skip]Kazuhiro NISHIYAMA
2022-12-21Revert "Update bundled gems list at 2022-12-22"Takashi Kokubun
This reverts commit 89a66f20d8701f30f3d9952ae62a02fdefcd166b.
2022-12-21Clarify NEWS entry for Bug #16889Jeremy Evans
2022-12-21Make sure TracePoint#binding returns nil for c_call/c_return eventsJeremy Evans
This makes sure the method returns nil for these events, as described in NEWS, even if the TracePoint could create a binding. Notes: Merged: https://github.com/ruby/ruby/pull/6984 Merged-By: jeremyevans <code@jeremyevans.net>
2022-12-22[DOC] Update TracePoint.allow_reentry docszverok
Adjust call-seq to mention block, and add examples and explanations. Notes: Merged: https://github.com/ruby/ruby/pull/5380
2022-12-22Update documentation about Time#deconstruct_keysKazuki Tsujimoto
2022-12-22[DOC] Fix the paragraph about PRNG updateNobuyoshi Nakada
2022-12-22Added the missing word with 1e1d7047fccHiroshi SHIBATA
2022-12-22Introduce GH releases for default gems and bundled gemsHiroshi SHIBATA
2022-12-18NEWS.md: Tweak "Constant lookup when defining a class/module"Yusuke Endoh