summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2023-04-01Remove an unneeded function copyTakashi Kokubun
2023-04-01RJIT: Support rest argsTakashi Kokubun
2023-04-01RJIT: Comment a location for each blockTakashi Kokubun
2023-04-01RJIT: Fix has_rest exit conditionsTakashi Kokubun
2023-04-01RJIT: Return CantCompile early for arg0 splatTakashi Kokubun
2023-04-01RJIT: Save PC on String#concatTakashi Kokubun
2023-04-01RJIT: Rewind stack_size on CantCompile and side exitsTakashi Kokubun
so that we can take an exit whenever we want. As a starter, this commit also pops blockarg earlier than some CantCompile exits.
2023-04-01RJIT: Let the caller of jit_push_frame handle stack_popTakashi Kokubun
because we want to do this way earlier for other types of calls.
2023-04-01RJIT: Check stackoverflow earlier for ISEQTakashi Kokubun
2023-04-01RJIT: Remove unused countersTakashi Kokubun
2023-04-01RJIT: Migrate invokeblock to jit_call_iseqTakashi Kokubun
2023-04-01RJIT: Migrate bmethod to jit_call_iseqTakashi Kokubun
2023-04-01RJIT: Start moving away from VM-like ISEQ handlingTakashi Kokubun
2023-03-31[ruby/net-http] typofixHiroshi SHIBATA
https://github.com/ruby/net-http/commit/4d31bde125
2023-03-31[ruby/net-http] Fix previous commitNAKAMURA Usaku
https://github.com/ruby/net-http/commit/1b276e2654
2023-03-31[ruby/net-http] Limit header lengthNAKAMURA Usaku
https://github.com/ruby/net-http/commit/c245f7f9c8
2023-03-31[ruby/rdoc] Use `File.binread`Nobuyoshi Nakada
https://github.com/ruby/rdoc/commit/987c609df9
2023-03-30[ruby/time] Make RFC2822 regexp linearNobuyoshi Nakada
https://hackerone.com/reports/1485501 https://github.com/ruby/time/commit/51034bda4c
2023-03-30[ruby/time] Fix quadratic backtracking on invalid timeNobuyoshi Nakada
https://hackerone.com/reports/1485501 https://github.com/ruby/time/commit/2444456fc1
2023-03-29[ruby/reline] Drop Dialog#scrollbar_pos as we can store it in aStan Lo
local variable (https://github.com/ruby/reline/pull/529) https://github.com/ruby/reline/commit/d0139975fd Co-authored-by: tomoya ishida <tomoyapenguin@gmail.com>
2023-03-29[ruby/reline] Drop Unicode.take_range's optional arg as it's neverStan Lo
used (https://github.com/ruby/reline/pull/528) https://github.com/ruby/reline/commit/428fed4a6a
2023-03-29RJIT: Propagate a set of args as a CallingInfoTakashi Kokubun
2023-03-29[ruby/reline] Improve OSC sequence regexp. OSC sequence can end withtomoya ishida
ST(ESC\) and it should not to include \a and \e inside. (https://github.com/ruby/reline/pull/527) https://github.com/ruby/reline/commit/a88052adec
2023-03-28[ruby/reline] Expand the scanned array to later case statement moreStan Lo
straightforward (https://github.com/ruby/reline/pull/526) * Improve test coverage on Unicode.take_range * Add test for Unicode.calculate_width * Expand the scanned array to later case statement more straightforward
2023-03-28[rubygems/rubygems] Partly revertedHiroshi SHIBATA
https://github.com/rubygems/rubygems/pull/6541 https://github.com/rubygems/rubygems/commit/21e07a04a1
2023-03-28Use URI-0.12.1Hiroshi SHIBATA
2023-03-28Onboard Rubocop Naming/MemoizedInstanceVariableName rule to RubyGems.Josef Šimánek
2023-03-28[rubygems/rubygems] Use double-quotes instead of single-quotes in warningsHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/c7f1cb9941
2023-03-28[rubygems/rubygems] Onboard Rubocop Naming/MemoizedInstanceVariableName rule ↵Josef Šimánek
to Bundler. https://github.com/rubygems/rubygems/commit/d768be0c65
2023-03-28[rubygems/rubygems] Fix installing plugins in frozen modeDavid Rodríguez
Plugins don't use a lockfile, so ignore frozen related settings. https://github.com/rubygems/rubygems/commit/f17a3bb81f
2023-03-28[rubygems/rubygems] Fix incorrect removal of "ruby" platform from lockfileDavid Rodríguez
When dependencies have changed, we'll be re-resolving, and we can't really know whether the resolution will be valid or invalid for the Ruby platform, so skip the removal in that case. The fix worked, but made some other specs fail, and surfaced that the `@dependencies_changed` attribute was actually being incorrect set when explicitly unlocking. Fixed that with an early return. https://github.com/rubygems/rubygems/commit/20d8f5e5d9
2023-03-28[rubygems/rubygems] Fix unnecessary downgrade of top level dependency when ↵David Rodríguez
unlocking Bundler is very conservative by default, trying to preserve versions from the lockfile as possible, and never downgrading them. However, when it runs into a resolution error, it still tries to find a valid resolution. This fallback behavior was too "brute-force" though, completely unrestricting any gem found in the resolution conflict, and that could lead to direct dependencies being downgraded in some edge cases. Instead, unlock things a bit more carefully: * First try unlocking fully pinned indirect dependencies, but leave a lower bound requirement in place to prevent downgrades. * Then try unlocking any fully pinned dependency, also leaving a lower bound requirement in place. * Finally completely unrestrict dependencies if nothing else worked. https://github.com/rubygems/rubygems/commit/7f55ed8302
2023-03-28[rubygems/rubygems] Also set min locked requirements when not unlockingDavid Rodríguez
https://github.com/rubygems/rubygems/commit/3561ac23d6
2023-03-27RJIT: Optimize definedivar using shapesTakashi Kokubun
2023-03-28[ruby/uri] Bump version to 0.12.1Hiroshi SHIBATA
https://github.com/ruby/uri/commit/5c4f7d04bf
2023-03-28[ruby/uri] Fix quadratic backtracking on invalid URINobuyoshi Nakada
https://hackerone.com/reports/1444501 https://github.com/ruby/uri/commit/2f9585de17
2023-03-28Consider prereleases regardless of whether lockedMichael Siegfried
Prereleases are NOT considered even when the dependency specification includes a prerelease segment, if the dependency is not locked. To me that doesn't make sense, because I could create a Gemfile with say gem "rails", ">= 7.0.0.beta1" and I'd expect prereleases considered there even if there's no lock file yet. Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
2023-03-27[ruby/reline] Bump version to 0.3.3ima1zumi
(https://github.com/ruby/reline/pull/525) https://github.com/ruby/reline/commit/8ce176271f
2023-03-27[ruby/reline] Fix cursor position overruntomoya ishida
(https://github.com/ruby/reline/pull/515) * Fix cursor position overrun * Remove unnecessary local variable Co-authored-by: Stan Lo <stan001212@gmail.com> --------- https://github.com/ruby/reline/commit/d4ad9b96c8 Co-authored-by: Stan Lo <stan001212@gmail.com>
2023-03-27[rubygems/rubygems] Use append_cflags instead of directly append for CFLAGSHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/61ec0c8389
2023-03-26RJIT: Implement leaf builtin callTakashi Kokubun
2023-03-26RJIT: Store caller sp after stack overflow checkTakashi Kokubun
and share some code between ISEQ and C calls.
2023-03-26RJIT: Implement attr_writerTakashi Kokubun
2023-03-25RJIT: Put a guard for splat w/ var-arg cfuncTakashi Kokubun
2023-03-25RJIT: Scope down send_iseq_complex_has_block exitTakashi Kokubun
2023-03-25RJIT: Fix jit_array_ptrTakashi Kokubun
array_reg was clobbered before being used by heap_ptr_opnd. heap_ptr_opnd should be loaded before array_reg is clobbered.
2023-03-25[ruby/reline] Fix split_by_width to retain color sequencestomoya ishida
(https://github.com/ruby/reline/pull/490) * Fix split_by_width to retain color sequences * Add OSC escape sequence testcase of Reline::Unicode.split_by_width
2023-03-25RJIT: Support optional params on splatTakashi Kokubun
2023-03-25RJIT: Remove send_iseq_complex_splat exitTakashi Kokubun
2023-03-25RJIT: Support splat for cfuncTakashi Kokubun