summaryrefslogtreecommitdiff
path: root/version.h
AgeCommit message (Collapse)Author
2025-03-26bump teenyv3_1_7ruby_3_1Hiroshi SHIBATA
2025-03-06* 2025-03-06 [ci skip]git
2025-02-28* 2025-02-28 [ci skip]git
2025-02-26* 2025-02-26 [ci skip]git
2025-02-14* 2025-02-14 [ci skip]git
2024-12-03* 2024-12-03 [ci skip]git
2024-11-20* 2024-11-20 [ci skip]git
2024-11-19* 2024-11-19 [ci skip]git
2024-11-11* 2024-11-11 [ci skip]git
2024-11-06* 2024-11-06 [ci skip]git
2024-11-01* 2024-11-01 [ci skip]git
2024-09-30* 2024-09-30 [ci skip]git
2024-09-10* 2024-09-10 [ci skip]git
2024-08-08* 2024-08-08 [ci skip]git
2024-08-07* 2024-08-07 [ci skip]git
2024-07-16* 2024-07-16 [ci skip]git
2024-06-19* 2024-06-19 [ci skip]git
2024-05-30* 2024-05-30 [ci skip]git
2024-05-29Bump up 3.1.6v3_1_6Hiroshi SHIBATA
2024-05-24* 2024-05-24 [ci skip]git
2024-05-23merge revision(s) ae8990aef098410ecc2b5f48fea9d7d171a3c5f6:Hiroshi SHIBATA
Alias init functions The extension library has each initialization function named "Init_" + basename. If multiple extensions have the same base name (such as cgi/escape and erb/escape), the same function will be registered for both names. To fix this conflict, rename the initialization functions under sub directories using using parent names, when statically linking. --- ext/extmk.rb | 16 +++++++++++++++- template/extinit.c.tmpl | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-)
2024-05-23merge revision(s) 7f87ad9fc4bc45faf8cd33602a025f27c094b2fd:Hiroshi SHIBATA
Refer autoconfigured endian macro (#10572) Remove the case `RB_IO_BUFFER_HOST_ENDIAN` is not defined. --- include/ruby/io/buffer.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
2024-05-23merge revision(s) 1faeb44dfcf777ace28321e80d0ebf942161a0a7:Hiroshi SHIBATA
Check if macros are defined before using Assume macros with the same prefix would be defined together. --- include/ruby/io/buffer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
2024-05-23merge revision(s) 48644e71096c70132be9dfdcbfb414ec2e68d18b:Hiroshi SHIBATA
tool/runruby.rb: remove LD_PRELOAD-like env-var options from runruby.rb LD_PRELOAD sometimes forces loading libraries into unrelated executables. For example, macOS on recent Apple Silicon can execute arm64 and arm64e binaries by default, and /usr/bin/clang is built as arm64e. If Ruby is built as arm64, and mkmf launched through runruby.rb spawns /usr/bin/clang, dynamic loader tries to load libruby (arm64e) into clang (arm64). This force-load causes library load failure. In theory, we don't need both LD_PRELOAD and LD_LIBRARY_PATH at the same time, because executables requiring libruby already have libruby dependency, so LD_LIBRARY_PATH is enough for this case. --- tool/runruby.rb | 9 --------- 1 file changed, 9 deletions(-)
2024-05-23* 2024-05-23 [ci skip]git
2024-05-21merge revision(s) cfc564ac40496a392f463658ea33954ea76d6b11:Hiroshi SHIBATA
Include headers for `ruby_qsort` only if needed If GNU `qsort_r` is available, we use the function and these headers are not used. --- util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2024-05-21merge revision(s) ed3d8f74ec2eee43d50f9826e2f11ceea279823e:Hiroshi SHIBATA
Delete a macro that has never been used, probably added by mistake --- util.c | 7 ------- 1 file changed, 7 deletions(-)
2024-05-21merge revision(s) 7400628cb054a9a9651d69411a100fc9d518099f:Hiroshi SHIBATA
[Bug #18997] Don't define ruby_qsort when POSIX qsort_r is available The current code would define ruby_qsort as a wrapper of qsort_s when it is available. When both qsort_s and POSIX (GNU) qsort_r are available, we should call qsort_r directly instead, and the qsort_s wrapper is redundant. --- util.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
2024-05-17* 2024-05-17 [ci skip]git
2024-04-23Bump up 3.1.5v3_1_5Hiroshi SHIBATA
2024-04-23merge revision(s) 989a2355808a63fc45367785c82ffd46d18c900a:Hiroshi SHIBATA
Fix Use-After-Free issue for Regexp Co-authored-by: Isaac Peka <7493006+isaac-peka@users.noreply.github.com> --- regexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2024-04-23merge revision(s) 33e5b47c16f1fd3382186e6ffe73cfc6e00946f7:Hiroshi SHIBATA
Fix handling of reg->dmin in Regex matching --- regexec.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
2024-04-23* 2024-04-23 [ci skip]git
2024-04-15* 2024-04-15 [ci skip]git
2024-01-11* 2024-01-11 [ci skip]git
2023-12-03* 2023-12-03 [ci skip]git
2023-11-20merge revision(s) 9eac9d71786a8dbec520d0541a91149f01adf8ea: [Backport #19969]U.Nakamura
[Bug #19969] Compact st_table after deleted if possible --- hash.c | 19 +++++++++++++++++++ st.c | 40 +++++++++++++++++++++++++++++----------- test/ruby/test_hash.rb | 9 +++++++++ 3 files changed, 57 insertions(+), 11 deletions(-)
2023-11-14* 2023-11-14 [ci skip]git
2023-11-10* 2023-11-10 [ci skip]git
2023-11-07Ease the `Encoding::CompatibilityError` test failureNobuyoshi Nakada
At the time this test first started using `assert_raise_with_message`, it did not touch `Encoding.default_internal`.
2023-11-06merge revision(s) 4329554f171fdb483cafa672df5f2a08741940c5: [Backport #19985]U.Nakamura
[Bug #19985] Raise LoadError with the converted feature name `Kernel#require` converts feature name objects that have the `to_path` method such as `Pathname`, but had used the original object on error and had resulted in an unexpected `TypeError`. --- load.c | 14 +++++++++++--- test/ruby/test_require.rb | 26 +++++++++++++++++++++----- 2 files changed, 32 insertions(+), 8 deletions(-)
2023-11-06merge revision(s) 19346c2336053b351673da030b00c704138252d8: [Backport #19754]U.Nakamura
[Bug #19754] Make `IO::Buffer#get_string` check `offset` range (#8016) --- io_buffer.c | 3 +++ test/ruby/test_io_buffer.rb | 8 ++++++++ 2 files changed, 11 insertions(+)
2023-11-06merge revision(s) 4a7d6c2852aa734506be83c932168e8f974687b5: [Backport #18991]U.Nakamura
Fix false LocalJumpError when branch coverage is enabled `throw TAG_BREAK` instruction makes a jump only if the continuation of catch of TAG_BREAK exactly matches the instruction immediately following the "send" instruction that is currently being executed. Otherwise, it seems to determine break from proc-closure. Branch coverage may insert some recording instructions after "send" instruction, which broke the conditions for TAG_BREAK to work properly. This change forces to set the continuation of catch of TAG_BREAK immediately after "send" (or "invokesuper") instruction. [Bug #18991] --- compile.c | 25 ++++++++++++++++++++++++- test/coverage/test_coverage.rb | 14 ++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-)
2023-10-30* 2023-10-30 [ci skip]git
2023-10-17merge revision(s) ↵U.Nakamura
bcb3247072e6973d0f6b50ca5fed238d5824bd28,fe0225ff4d5af8b1f54009727b39d0d9b821eea3: [Backport #19778] [Bug #19778] Pass additional include options to INCFLAGS in common.mk --- common.mk | 2 +- configure.ac | 1 + template/Makefile.in | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) [Bug #19778] Add `-I` options for opt-dir to `$INCFLAGS` These options have been separated from `$CFLAGS` already in the other places. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2023-10-17merge revision(s) 96c5a4be7b0d72502001734770af0f4a735c544c: [Backport #19894]U.Nakamura
Fix memory leak in complemented method entries [Bug #19894] When a copy of a complemented method entry is created, there are two issues: 1. IMEMO_FL_USER3 is not copied, so the complemented status is not copied over. 2. In rb_method_entry_clone we increment both alias_count and complemented_count. However, when we free the method entry in rb_method_definition_release, we only decrement one of the two counters, resulting in the rb_method_definition_t being leaked. Co-authored-by: Adam Hess <adamhess1991@gmail.com> --- method.h | 5 +++-- test/ruby/test_module.rb | 29 +++++++++++++++++++++++++++++ vm_method.c | 8 +++++--- 3 files changed, 37 insertions(+), 5 deletions(-)
2023-10-10merge revision(s) ada9f8a9f78b3ccd8a5187775d06f45eb9f636f5: [Backport #18914]U.Nakamura
[ruby/fiddle] closure: follow variable name change GitHub: GH-102 https://github.com/ruby/fiddle/commit/2530496602 --- ext/fiddle/closure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2023-10-10Should not do `brew upgrade`U.Nakamura
See 1b0da1e6236ad9a380abfe4ca8b51f06c34bb6f9
2023-10-10merge revision(s) a28c5151f567cada0d2f5c0c3ec4df7f97b80784: [Backport #19855]U.Nakamura
Fix Array#bsearch when block returns a non-integer numeric value --- array.c | 4 ++-- test/ruby/test_array.rb | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-)
2023-09-19Fix an ommission of previous fixU.Nakamura