summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-10-21[Bug #19967] Revert "configure.ac: LIBPATHENV on macOS"Nobuyoshi Nakada
This reverts commit 1961c786aab243b3eb60e7238224e87975d88056. These environment variables should no longer propagate to child processes.
2023-10-21[Bug #19967] Reset `LIBPATHENV` env after startedNobuyoshi Nakada
Not to affect other tools invoked as child processes.
2023-10-21Avoid duplicate path in library pathsNobuyoshi Nakada
2023-10-21Raise TypeError for bad IO::Buffer.map argument (#8728)Charles Oliver Nutter
* Raise TypeError when IO::Buffer.map argument is neither IO nor implements #fileno * Use UNREACHABLE_CODE Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> * Use macro for undef check Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> --------- Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2023-10-21Extract IO::Buffer.for string locking test (#8729)Charles Oliver Nutter
String locking with locktmp is not really part of the public API, and the test relies in a side effect of using it to protect the buffer. On other implementations without locktmp this does not fail. Separate into its own test so it can be excluded from public API expectations.
2023-10-20YJIT: Skip printing stats at exit if --yjit-disable (#8727)Takashi Kokubun
2023-10-20[PRISM] Setup encodings in prism compilerJemma Issroff
2023-10-20YJIT: On test_bug_19316, only check the resultAlan Wu
Because the `&` call checks for interrupts, the test was accidentally timing dependent. Stop checking for exits. [Bug #19921] Reported-by: Vít Ondruch <vondruch@redhat.com> Reported-by: Mamoru Tasaka <mtasaka@fedoraproject.org>
2023-10-20Add tests for all implemented nodes, leave ones that need fixing commented outJemma Issroff
2023-10-20Added TODOs on all implemented nodes, matched orderingJemma Issroff
2023-10-20[PRISM] Fixed StringConcatNode, uncommented testsJemma Issroff
2023-10-20[DOC] Indentation fix in comments of MatchData#inspectHerwin
The old version did not add syntax highlighting to the code block, and included the "Related:" line in the code block as well.
2023-10-20[DOC] `configure -C` tipsNobuyoshi Nakada
2023-10-20[Bug #19966] [PRISM] Fix singleton method definitionNobuyoshi Nakada
2023-10-20[PRISM] Enclose in the test classNobuyoshi Nakada
2023-10-20Added explicitly begin-end block for Ruby 2.4.Hiroshi SHIBATA
strscan, ipaddr and some default gems still support Ruby 2.4. After this, I extract this CoreAssertions to their repositories.
2023-10-20Stop creating ripper.h because it's not usedyui-knk
2023-10-20[ruby/logger] Bump up required ruby version to 2.5Hiroshi SHIBATA
https://github.com/ruby/logger/commit/ac911eae2b
2023-10-20[ruby/logger] Use Gemfile instead of ↵Hiroshi SHIBATA
Gem::Specification#add_development_dependency https://github.com/ruby/logger/commit/7b51af263f
2023-10-19Partly revert a change in #8705Takashi Kokubun
Having this variable actually helps the performance of non-JITed calls. ----- ----------- ---------- ---------- ---------- ------------- ------------ bench before (ms) stddev (%) after (ms) stddev (%) after 1st itr before/after fib 241.9 0.5 225.4 1.0 1.06 1.07 ----- ----------- ---------- ---------- ---------- ------------- ------------ (benchmarked with --yjit-cold-threshold=0)
2023-10-20Sort gem namesHiroshi SHIBATA
2023-10-20racc is also extracted to bundled gemsHiroshi SHIBATA
2023-10-19Call rb_jit_cont_init() even earlierTakashi Kokubun
To fix https://github.com/ruby/ruby/actions/runs/6581593578/job/17881779994
2023-10-19Avoid initializing jit_cont_lock multiple timesTakashi Kokubun
Contrary to my initial assumption, rb_threadptr_root_fiber_setup() is called for each Ractor, not just once at boot. I changed the place to call rb_jit_cont_init() to avoid calling it multiple times.
2023-10-20[DOC] Improve docs for how to generate documentationMatheus Richard
It might not be obvious how to get the build directory and the Makefile set up.
2023-10-19[DOC] "is now bundled" is ambiguousTakashi Kokubun
I think it meant it's now a bundled "gem", but "is now bundled" implies it's a new gem that was neither default nor bundled gems. So I changed wording. I also want to change the subjects and reorder them so that it will read: "The following default gem" (new) -> "The following default gem" (updated) -> "The following bundled gem" (new) -> "The following bundled gem" (updated).
2023-10-19Ignore inputs to tool/update-NEWS-gemlist.rbTakashi Kokubun
generated by check_misc
2023-10-19[DOC] Prism is a new default gemTakashi Kokubun
2023-10-19Avoid using a system Ruby if possibleTakashi Kokubun
in tool/update-NEWS-gemlist.rb
2023-10-19Cirrus CI has been removed [ci skip]Nobuyoshi Nakada
2023-10-20Expand OP_ASGN1 nd_args to nd_index and nd_rvalueyui-knk
ARGSCAT has been used for nd_args to hold index and rvalue, because there was limitation on the number of members for Node. We can easily change structure of node now, let's expand it.
2023-10-19[DOC] Reverse-merge YJIT release note changesTakashi Kokubun
2023-10-19[DOC] Update NEWS.md about RubyVM::YJIT.enableTakashi Kokubun
--yjit-disable, and --yjit-perf
2023-10-20[DOC] Fix typo in docs of Regexp#deconstruct_keysHerwin
of => if
2023-10-20Add printf format attributes to `rb_parser_config_t`Nobuyoshi Nakada
2023-10-19[rubygems/rubygems] Reuse Gem::RemoteFetcher instance in bundlerSamuel Giddins
Closes https://github.com/rubygems/rubygems/issues/7076 Bundler will now use the same (shared) remote fetcher instance that RubyGems uses. This will allow installs to use a shared connection pool, which represents a significant performance improvement on a clean install. https://github.com/rubygems/rubygems/commit/cd87b40fe1
2023-10-19[rubygems/rubygems] Update vendored thor to v1.3.0Samuel Giddins
See https://github.com/rails/thor/releases/tag/v1.3.0 https://github.com/rubygems/rubygems/commit/3c7165474b
2023-10-19YJIT: remove unused `--yjit-greedy-versioning` command-line option (#8713)Maxime Chevalier-Boisvert
2023-10-19YJIT: Make test_yjit.rb faster with --yjit-stats=quietAlan Wu
The for-human stats summaries are not relevant for the children `test_yjit.rb` spawns. Avoid compiling and running the printing code. On a -O0 dev build this halves the time for `test_yjit.rb` on my machine.
2023-10-19YJIT: Print exit reasons on failure in test_yjit.rbAlan Wu
For <https://bugs.ruby-lang.org/issues/19921>, I suspect the test is failing due to a timing related interrupt, which on paper could happen with slow-enough GC runs. In any case, it's helpful for debugging to have more information when tests fail. Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
2023-10-19YJIT: Return Option from asm.compile() for has_dropped_bytes()Alan Wu
So that we get a reminder to check CodeBlock::has_dropped_bytes(). Internally, asm.compile() already checks it, and this patch just propagates it out to the caller with a `#[must_use]`. Code GC logic moved out one level in entry_stub_hit(), so the body can freely use `?`
2023-10-19YJIT: Add RubyVM::YJIT.enable (#8705)Takashi Kokubun
2023-10-19Don't add anonymous locals when ISEQ binary debug is onMatt Valentine-House
2023-10-19YJIT: Enable the dead_code lint and delete some dead codeAlan Wu
2023-10-19Extract a local variableNobuyoshi Nakada
2023-10-19[ruby/ostruct] Use Gemfile instead of ↵Hiroshi SHIBATA
Gem::Specification#add_development_dependency https://github.com/ruby/ostruct/commit/ed49920766
2023-10-19Mentioned targeted libraries for warning feature of bundled gemsHiroshi SHIBATA
2023-10-19Don't need to refer SINCE constantHiroshi SHIBATA
2023-10-19[DOC] Add NEWS about Range#reverse_each for beginless ranges [Feature #18515]Kouhei Yanagita
2023-10-18Skip some timeout tests on s390xYusuke Endoh
They are too unstable on the machine. ``` 1) Failure: TestRegexp#test_timeout_shorter_than_global [/home/chkbuild/chkbuild/tmp/build/20231018T230003Z/ruby/test/ruby/test_regexp.rb:1788]: Expected |0.2 - 0.962938869| (0.7629388690000001) to be <= 0.15000000000000002. ``` https://rubyci.s3.amazonaws.com/s390x/ruby-master/log/20231018T230003Z.fail.html.gz ``` 1) Failure: TestRegexp#test_timeout_longer_than_global [/home/chkbuild/chkbuild/tmp/build/20231017T140006Z/ruby/test/ruby/test_regexp.rb:1788]: Expected |0.5 - 1.040696078| (0.5406960780000001) to be <= 0.375. ``` https://rubyci.s3.amazonaws.com/s390x/ruby-master/log/20231017T140006Z.fail.html.gz