summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-12-11[ruby/fiddle] dlopen: add support for INPUT(-lXXX)Sutou Kouhei
GitHub: fix https://github.com/ruby/fiddle/pull/166 Arch Linux's libncurses.so uses this style. https://github.com/ruby/fiddle/commit/77d3dc934f
2024-12-11[ruby/fiddle] Implement `Fiddle::Pointer.read` and `.write` on theLars Kanis
FFI backend (https://github.com/ruby/fiddle/pull/165) https://github.com/ruby/fiddle/commit/0bd963d3b8
2024-12-11[ruby/fiddle] Fix the glob pattern to include `/usr/lib`Nobuyoshi Nakada
(https://github.com/ruby/fiddle/pull/164) Fix up #161. https://github.com/ruby/fiddle/commit/481651e836
2024-12-11Bump github/codeql-action from 3.27.6 to 3.27.7dependabot[bot]
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.6 to 3.27.7. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/aa578102511db1f4524ed59b8cc2bae4f6e88195...babb554ede22fd5605947329c4d04d8e7a0b8155) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/12306
2024-12-10YJIT: add MPLR talk link. Encourage users to use --yjit-mem-size (#12305)Maxime Chevalier-Boisvert
* Add MPLR talk. Encourage users to use --yjit-mem-size. * Improve text Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2024-12-10Improve NEWS.md for modular GC [DOC]Peter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/12281
2024-12-11Use `rb_str_conv_enc` for simplicityNobuyoshi Nakada
2024-12-10[Bug #20924] Fix reading with delimiter in wide character encodingsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12304
2024-12-10[Bug #20936] Fix #size for Range#reverse_eachKouhei Yanagita
Notes: Merged: https://github.com/ruby/ruby/pull/12301
2024-12-10Fix formatting of spec/ruby/optional/capi/ext/hash_spec.cAndrew Konchin
Notes: Merged: https://github.com/ruby/ruby/pull/12297
2024-12-10Update to ruby/spec@9f10222Andrew Konchin
Notes: Merged: https://github.com/ruby/ruby/pull/12297
2024-12-10Update to ruby/mspec@c600b8fAndrew Konchin
Notes: Merged: https://github.com/ruby/ruby/pull/12297
2024-12-10[ruby/reline] Fix line wrapped cursor positiontomoya ishida
(https://github.com/ruby/reline/pull/791) Cursor position calculation was wrong when the input line contains "\1" or CSI escape sequence. https://github.com/ruby/reline/commit/a1943daaf4
2024-12-10[ruby/resolv] Securerandom should be always availableDavid Rodríguez
https://github.com/ruby/resolv/commit/324c355eb7
2024-12-10[ruby/resolv] Build the extension library only when CRuby (FixNobuyoshi Nakada
https://github.com/ruby/resolv/pull/69) On JRuby no C compiler is available and this call results in a runtime error. https://github.com/ruby/resolv/commit/33105bc504
2024-12-10Update bundled gems list at 19b684637f1f8c6442e3d09ac0a6d5 [ci skip]git
2024-12-10Update bundled_gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12303
2024-12-10Split system dependent commands to clean modular-gcNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12300
2024-12-10Remove unused macros from parse.yydah
Notes: Merged: https://github.com/ruby/ruby/pull/11781
2024-12-10Remove minimum Bison version requirement from parse.yydah
How about removing `%require “version”` since it is a definition to specify the minimum version of Bison and is not needed now that we have completely moved to Lrama? see: https://www.gnu.org/software/bison/manual/html_node/Require-Decl.html
2024-12-10[ruby/strscan] [DOC] doc/strscan/strscan.md - update Matcher MethodsNAITOH Jun
(https://github.com/ruby/strscan/pull/123) Added support for string pattern type in https://github.com/ruby/strscan/pull/106. And fix Success Return content. https://github.com/ruby/strscan/commit/6a5acde674
2024-12-10[ruby/fiddle] Fix test_dlopen_linker_script_input_linux beingDani Smith
omitted on Fedora 40 aarch64 (https://github.com/ruby/fiddle/pull/161) I found working on Fedora 40 on aarch64 that `test_dlopen_linker_script_input_linux` was omitted due to not finding libncurses.so, since it is in /usr/lib64. This PR makes the glob a little more portable. https://github.com/ruby/fiddle/commit/444774c0c4
2024-12-10Launchable: Remove unnecessary command (#12299)Naoto Ono
`launchable verify` command is designed for checking if CLI has been configured successfully. We've already checked it, so we don't need calling this command anymore. Notes: Merged-By: ono-max <onoto1998@gmail.com>
2024-12-09Clean all modular GCsPeter Zhu
We should run `make clean` or `make distclean` on each of the GC directories. Notes: Merged: https://github.com/ruby/ruby/pull/12295
2024-12-09Only delete gc directory if emptyPeter Zhu
If building in the source directory, this will delete the gc directory. Notes: Merged: https://github.com/ruby/ruby/pull/12295
2024-12-09Don't delete .gc directoryPeter Zhu
We build in the gc directory since commit d0575032527916b523035be87ad876152c886c85, so we don't need to remove the .gc directory. Notes: Merged: https://github.com/ruby/ruby/pull/12295
2024-12-09Add missing fiber nil check to avoid slow rb_check_funcall()Alan Wu
Check for nil like other callers of rb_fiber_scheduler_current(). Notes: Merged: https://github.com/ruby/ruby/pull/12298
2024-12-09objspace_dump: Use FILE* to avoid crashing in mark functionsAlan Wu
We observed crashes from rb_io_bufwrite() thread switching (through rb_thread_check_ints()) in the middle of rb_execution_context_mark(). By the time rb_execution_context_mark() gets a timeslice again, it read garbage from a frame that was already popped in another thread, crashing the process in SEGV. Other mark functions probably have their own ways of breaking, but clearly, the usual IO code do too much for this perilous pseudo GC context. Use `FILE*` like before 5001cc47169614ea07d87651c95c2ee185e374e0 ("Optimize ObjectSpace.dump_all"). Also, add type checking for the private _dump methods. Co-authored-by: Peter Zhu <peter@peterzhu.ca> Notes: Merged: https://github.com/ruby/ruby/pull/12285
2024-12-09[ruby/mmtk] Also remove .rustc_info.json in clean-mmtk targetPeter Zhu
https://github.com/ruby/mmtk/commit/4b67c8b4da
2024-12-09[ruby/mmtk] Add target clean-mmtk to clean Rust debug and release directoriesPeter Zhu
https://github.com/ruby/mmtk/commit/1f71cb873c
2024-12-09YJIT: Add a comment about a lazy frame callTakashi Kokubun
jit_prepare_lazy_frame_call is a complicated trick and comes with memory overhead. Every use of the function should come with justification.
2024-12-09YJIT: Spill/load argument registers to reuse blocks (#12287)Takashi Kokubun
* YJIT: Spill/load argument registers to reuse blocks * Mention the immediate function name * Explain the context behind spill/load operations Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2024-12-09[ruby/rdoc] Expand rdoc-ref targets at the end of ri outputStan Lo
(https://github.com/ruby/rdoc/pull/1141) There have been several document refactors in ruby/ruby that extract individual methods/classes' documentation into separate files, like ruby/ruby#6567 Because RI is not capable of rendering those references, RI users are left with dramatically fewer documentation on those methods/classes. This commit adds a new option `--expand-ref` (default: true) to expand all the rdoc-ref targets at the end of the output. https://github.com/ruby/rdoc/commit/9e2b28c6e3
2024-12-09[Bug #20933] Fix IO::Buffer overlap calculationPeter Zhu
The allocated buffers may be consecutive memory addresses. This will mean that `b->base == a->base + a->size` even though `a` and `b` are separate buffers. Notes: Merged: https://github.com/ruby/ruby/pull/12284
2024-12-09YJIT: Only enable disassembly colors for tty (#12283)Max Bernstein
* YJIT: Use fully-qualified name for OPTIONS in get_options! * YJIT: Only enable disassembly colors for tty Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2024-12-10Fix Connection Attempt Delay of `Socket.tcp` (#12291)Misaki Shioi
The following two commits fix the proper clearing of the Connection Attempt Delay in `TCPSocket.new`. - https://github.com/ruby/ruby/pull/12087/commits/b2f610b0edf8f84d9d0fce038f3ebfa9f2cb0223 - https://github.com/ruby/ruby/pull/12223/commits/6f4efaec5352cdeb6cab86036a83f53c9fa5c3d2 The same fix will be applied to `Socket.tcp`. Notes: Merged-By: shioimm <shioi.mm@gmail.com>
2024-12-09Launchable: Remove FIXME comment (#12293)Naoto Ono
https://github.com/launchableinc/cli/issues/786 has already been solved, so we can remove the comment. Notes: Merged-By: ono-max <onoto1998@gmail.com>
2024-12-09Enable more Launchable integration in bootstraptest and test-all (#12255)Naoto Ono
Notes: Merged-By: ono-max <onoto1998@gmail.com>
2024-12-09Update default gems list at 771612475948bb6d15b2a6a229c49d [ci skip]git
2024-12-09[ruby/etc] Bump up 1.4.5Hiroshi SHIBATA
https://github.com/ruby/etc/commit/5019f4314a
2024-12-09[ruby/psych] Bump up 5.2.1Hiroshi SHIBATA
https://github.com/ruby/psych/commit/7c81f7db53
2024-12-09Added did_you_mean-2.0.0 change to NEWS.mdHiroshi SHIBATA
https://github.com/ruby/did_you_mean/pull/194
2024-12-09Move compatibility changes of stdlib to that sectionHiroshi SHIBATA
2024-12-09Revert "Launchable: Stop recording tests temporarily" (#12289)Naoto Ono
Revert "Launchable: Stop recording tests temporarily (#12268)" This reverts commit 866f1a1f2d6f0425b1535fb5697a30404e83e7c2. Notes: Merged-By: ono-max <onoto1998@gmail.com>
2024-12-08[ruby/rdoc] lint: Remove unreachable codeOKURA Masafumi
(https://github.com/ruby/rdoc/pull/1137) This is an attempt to utilize RuboCop further. RuboCop was added in https://github.com/ruby/rdoc/commit/9262fdd43a3a but only a few rules have been enabled. I believe we can utilize RuboCop more for better code quality, especially with Lint cops. This is the first step to enable other Lint cops. This commit also exclude some auto generated files. https://github.com/ruby/rdoc/commit/a53287fce0
2024-12-08[ruby/rdoc] Use distinct styles for note lists and label listsnicholas a. evans
(https://github.com/ruby/rdoc/pull/1209) * Use the original `label` description list style As a default for all description lists, the original "label" style is more readable. This is slightly different from the original `label` dl though: * slightly increased left margin for `dd` (to 1em) * removed right margin on `dd` * removed `dt` bottom margin and `dd` top margin, to reduce the gap between the term and its description (to only the standard line-height gap). * Add closing tags for description list terms Without the closing tags, the dt elements contain whitespace after the text. This normally isn't a big deal, but does mess some things up, e.g: using `::after` with `content: ", "` in stylesheets. * Restore float:left style for note lists Unlike the original note list styles, this version sets the line-height for all `dt` elements to be the same as the `p` elements contained inside the `dd`, so that the second line has the same indentation as all subsequent lines. * Add commas between note list terms https://github.com/ruby/rdoc/commit/9e69ea6d75
2024-12-07[Bug #20929] Win32: Use `wcsftime`Nobuyoshi Nakada
`_strftime_l` is not available on msvcrt that is still used by 32bit mingw compiler. Notes: Merged: https://github.com/ruby/ruby/pull/12286
2024-12-07[ruby/openssl] ssl: do not clear existing SSL options in SSLContext#set_paramsKazuki Yamaguchi
Apply SSL options set in DEFAULT_PARAMS without clearing existing options. It currently clears options in order to avoid setting one of the options included in OpenSSL::SSL::OP_ALL unless explicitly specified, namely OpenSSL::SSL::OP_DONT_INSERT_EMPTY_FRAGMENTS. Now that OpenSSL::SSL::OP_ALL has been removed from SSLContext#initialize, it is no longer necessary. https://github.com/ruby/openssl/commit/77c3db2d65
2024-12-07[ruby/openssl] ssl: do not enable OpenSSL::SSL::OP_ALL by defaultKazuki Yamaguchi
Respect the SSL options set by default by SSL_CTX() and by the system-wide OpenSSL configuration file. OpenSSL::SSL::SSLContext#initialize currently adds OpenSSL::SSL::OP_ALL on top of the default SSL options. Let's stop doing it. OpenSSL::SSL::OP_ALL is a set of options that changes OpenSSL's behavior to workaround various TLS implementation bugs. Using it is considered usually safe, but is not completely harmless. https://github.com/ruby/openssl/commit/00bec0d905
2024-12-07[ruby/openssl] ssl: improve documentation of SSLContext#options=Kazuki Yamaguchi
https://github.com/ruby/openssl/commit/9120fcde6a