summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-09-13For YJIT Actions, don't filter test-spec backtracesAlan Wu
I'm trying to debug a flaky `RuntimeError: nested #it` failure in ruby/spec. Hopefully the full backtrace will give some clues. Last occurence: https://github.com/ruby/ruby/actions/runs/6172578817/job/16753137038 Notes: Merged: https://github.com/ruby/ruby/pull/8436
2023-09-13[ruby/yarp] free strings in the ruby extensionNathan Froyd
https://github.com/ruby/yarp/commit/87dbb6cf1f
2023-09-13YJIT: Skip adding past_page_bytes for past pages (#8433)Takashi Kokubun
YJIT: Skip adding past_pages_bytes for past pages Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2023-09-13Fix hyperlink for Script EncodingHerwin
Notes: Merged: https://github.com/ruby/ruby/pull/8432
2023-09-13YJIT: Make yjit_alloc_size available by default (#8426)Takashi Kokubun
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2023-09-13YJIT: Make compile_time_ns a default counter (#8425)Takashi Kokubun
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2023-09-13[ruby/yarp] Fix associativity for a couple of operatorsKevin Newton
https://github.com/ruby/yarp/commit/820774976d
2023-09-13[ruby/yarp] Better handle invalid gvar writesKevin Newton
https://github.com/ruby/yarp/commit/eaaebc17c8
2023-09-13[ruby/yarp] Mark empty flags as well as locations and blocksNobuyoshi Nakada
https://github.com/ruby/yarp/commit/b74ce35379
2023-09-13Use log2(b) instead of (log(b) / M_LN2)Yusuke Endoh
Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/8429
2023-09-13math.c: Fix Math.log against huge bignum [Bug #19878]Yusuke Endoh
Notes: Merged: https://github.com/ruby/ruby/pull/8429
2023-09-13Lrama v0.5.6yui-knk
Notes: Merged: https://github.com/ruby/ruby/pull/8428
2023-09-13Fixup 1851824b1c7b816e41b567b5310bb18ab6f9ff7aHiroshi SHIBATA
2023-09-13[flori/json] alias_method is private on Ruby 2.3 and 2.4Hiroshi SHIBATA
https://github.com/flori/json/commit/573ef94bc5
2023-09-13Enable `.NOTPARALLEL` on `ripper_srcs`Nobuyoshi Nakada
And add special treats only for old GNU make.
2023-09-13[Bug #19872] Refine TestRequireLibNobuyoshi Nakada
Always test only the scripts just under “lib", and just under child directories which has not the same name script in the upper level; instead of random sampling from whole libraries.
2023-09-13Suppress an unused variable warningNobuyoshi Nakada
2023-09-13[ruby/yarp] Handle parsing local variable singleton method definitionKevin Newton
https://github.com/ruby/yarp/commit/943204d56f
2023-09-13[Bug #19862] Skip compiled result of never reachable expressionNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/8381
2023-09-13[Bug #19754] Make `IO::Buffer#get_string` check `offset` range (#8016)Nobuyoshi Nakada
Notes: Merged-By: ioquatix <samuel@codeotaku.com>
2023-09-12Adjust CGI spec to pass when ran in isolationAlan Wu
It failed with `NameError` because `Html3` is defined in the file that `CGI::HtmlExtension` autoloads.
2023-09-12[DOC] RDoc for Process::Status (#8416)Burdette Lamar
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
2023-09-12[rubygems/rubygems] Unify LockfileParser loading of SPECS sectionMartin Emde
Ensure unrecognized SPECS types are ignored https://github.com/rubygems/rubygems/commit/5b33e91075
2023-09-12YJIT: Add compilation time counter (#8417)Takashi Kokubun
* YJIT: Add compilation time counter * YJIT: Use Instant instead Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2023-09-12[ruby/yarp] Split AliasNodeKevin Newton
Into AliasGlobalVariableNode and AliasMethodNode. These have different enough semantics that we feel comfortable splitting them up. https://github.com/ruby/yarp/commit/c1f3e6d344
2023-09-12Make Kernel#lambda raise when given non-literal blockAlan Wu
Previously, Kernel#lambda returned a non-lambda proc when given a non-literal block and issued a warning under the `:deprecated` category. With this change, Kernel#lambda will always return a lambda proc, if it returns without raising. Due to interactions with block passing optimizations, we previously had two separate code paths for detecting whether Kernel#lambda got a literal block. This change allows us to remove one path, the hack done with rb_control_frame_t::block_code introduced in 85a337f for supporting situations where Kernel#lambda returned a non-lambda proc. [Feature #19777] Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> Notes: Merged: https://github.com/ruby/ruby/pull/8405
2023-09-12Fix typo in gc.cPeter Zhu
2023-09-12Ensure signaled processes at opening FIFO terminatedNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/8421
2023-09-12[ruby/yarp] Heredocs can create Interpolated(X)StringNodes orJemma Issroff
(X)StringNodes (https://github.com/ruby/yarp/pull/1427) Prior to this commit, heredocs were automatically InterpolatedNodes regardless of whether there was actually interpolation. With this commit, heredocs are only interpolate if there is actually interpolation https://github.com/ruby/yarp/commit/e9f436128b
2023-09-12Restore `in_defined` flag at nested `defined?`Nobuyoshi Nakada
2023-09-12[ruby/yarp] Move the post required parameters after the rest parameterBenoit Daloze
* See https://github.com/ruby/yarp/issues/1436 https://github.com/ruby/yarp/commit/6f4e9ff940
2023-09-12Suppress warning for shadowing outer local variableHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/8419
2023-09-11[ruby/yarp] Provide a flag for the integer baseKevin Newton
https://github.com/ruby/yarp/commit/45dd046b83
2023-09-11[ruby/yarp] Introduce MatchLastLineNode and InterpolatedMatchLastLineNodeKevin Newton
These are replacements for regular expressions when they are used alone as the predicate of a conditional. That's because they are significantly different from a regular expression because they are not evaluated for truthyness, but instead evaluated as a match against the last line read by an IO object. https://github.com/ruby/yarp/commit/0f1c7780e8
2023-09-11Use constant lookup for constant namesKevin Newton
Notes: Merged: https://github.com/ruby/ruby/pull/8413
2023-09-11Remove deprecated aliases from yarp compilerKevin Newton
Notes: Merged: https://github.com/ruby/ruby/pull/8413
2023-09-11[ruby/yarp] Update pretty_print to use inspectKevin Newton
https://github.com/ruby/yarp/commit/c2b9b780c7
2023-09-11[rubygems/rubygems] Fixed include realpath in error statementnegi0109
https://github.com/rubygems/rubygems/commit/ac3b85bd5e
2023-09-11[rubygems/rubygems] Fixed false positive SymlinkError in symbolic link directorynegi0109
https://github.com/rubygems/rubygems/commit/58173ff2ea
2023-09-12Rename `NODE_NEW_TEMPORAL` as `NODE_NEW_INTERNAL`Nobuyoshi Nakada
2023-09-11[ruby/yarp] Mark flags as privateKevin Newton
The flags integer is an implementation detail. We want people to use the query methods to access the individual fields so we are freed from having to maintain a specific order. As such, this commit changes the Ruby API to mark all flags fields as private attr_readers. The only one that has a clear use case is returning the set of options given to regular expressions, to mirror the Regexp#options API. So, to support this use case, this commit introduces RegularExpressionNode#options and InterpolatedRegularExpressionNode#options. These APIs provide back the same integer so that they can be used interchangeably. https://github.com/ruby/yarp/commit/4e6d5dd99f
2023-09-11[ruby/yarp] Update fixturesTim Morgan
https://github.com/ruby/yarp/commit/884f2ca8e4
2023-09-11[ruby/yarp] Fix order of Regexp flagsTim Morgan
https://github.com/ruby/yarp/commit/e421305ea2
2023-09-11[ruby/yarp] Add failing test for Regexp flagsTim Morgan
https://github.com/ruby/yarp/commit/16fe179c5f
2023-09-11Use the keyword for output and omit default arguments [ci skip]Nobuyoshi Nakada
2023-09-11Add `modencs` target to build encodings/transcoders as modulesNobuyoshi Nakada
2023-09-11Split commit recipe and pass more macrosNobuyoshi Nakada
2023-09-10Declare `k_class` and `k_module` as `ctxt`Nobuyoshi Nakada
So that it is not ncessary to specify the type each time. Notes: Merged: https://github.com/ruby/ruby/pull/8410
2023-09-10Add a new line between function definitions [ci skip]Yuichiro Kaneko
Notes: Merged: https://github.com/ruby/ruby/pull/8408 Merged-By: nobu <nobu@ruby-lang.org>
2023-09-10Refactor to use same logic with other assignment nodesyui-knk
Notes: Merged: https://github.com/ruby/ruby/pull/8400