aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Stop using -v for rjit test-allTakashi Kokubun2023-08-301-1/+1
| | | | | It outputs way too many lines. It's hard to download the output from GitHub Actions.
* [ruby/yarp] Desugar ||= more accuratelyKevin Newton2023-08-302-74/+74
| | | | | | | | Class variables, global variables, constants, and constant paths should actually desugar to `defined?` instead of just reading the value. https://github.com/ruby/yarp/commit/551a59b876
* Fix merge error on ruby_api_test.rbKevin Newton2023-08-301-24/+0
|
* [ruby/yarp] Use assert_raiseKevin Newton2023-08-301-0/+12
| | | | https://github.com/ruby/yarp/commit/b85e01d77d
* [ruby/yarp] use a more idiomatic form of `assert_raises`Nathan Froyd2023-08-301-3/+12
| | | | https://github.com/ruby/yarp/commit/687213d2e3
* use assert_raiseNobuyoshi Nakada2023-08-311-3/+3
|
* YJIT: shrink Context from 29 to 21 bytes by reducing space used by ↵Maxime Chevalier-Boisvert2023-08-302-107/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TempMapping (#8321) * YJIT: merge tempmapping and temp types into a single-byte encoding YJIT: refactor to shrink Context by 8 bytes * Add tests, fix bug in TempMapping::map_to_local() * Update yjit/src/core.rs Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> * Update yjit/src/core.rs Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> * Fewer transmutes where `as` would suffice. Also repr(u8) * Update yjit/src/core.rs Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> * Update yjit/src/core.rs Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> * Update yjit/src/core.rs Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> --------- Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
* [ruby/yarp] add tests for `Location#join`Nathan Froyd2023-08-301-0/+27
| | | | https://github.com/ruby/yarp/commit/b01711396f
* sync_default_gems.rb: Remove Java templatesNobuyoshi Nakada2023-08-301-0/+1
|
* Update default gems list at 36a3899e9d464e243648694fa28398 [ci skip]git2023-08-301-1/+1
|
* [ruby/irb] Bump version to 1.8.0Stan Lo2023-08-301-2/+2
| | | | | | (https://github.com/ruby/irb/pull/700) https://github.com/ruby/irb/commit/a061744ed3
* BasicSocket#recv* return `nil` rather than an empty packetJean Boussier2023-08-308-15/+124
| | | | | | | | | | | | | [Bug #19012] man recvmsg(2) states: > Return Value > These calls return the number of bytes received, or -1 if an error occurred. > The return value will be 0 when the peer has performed an orderly shutdown. Not too sure how one is supposed to make the difference between a packet of size 0 and a closed connection.
* sync_default_gems.rb: Fix typo in replace_rdoc_ref_allNobuyoshi Nakada2023-08-301-1/+2
|
* sync_default_gems.rb: Transform by procNobuyoshi Nakada2023-08-301-1/+1
|
* [DOC] Detailed explanation when one line pattern matching is a void value ↵yui-knk2023-08-301-1/+1
| | | | expression
* Update bundled gems list at ad2a464e8fc6bd4daa5b20b3c69d94 [ci skip]git2023-08-301-2/+2
|
* Bundle RBS 3.2.1 (#8306)Soutaro Matsumoto2023-08-302-2/+3
|
* [rubygems/rubygems] Update bundler/lib/bundler/settings.rbJosh Nichols2023-08-301-4/+3
| | | | | | https://github.com/rubygems/rubygems/commit/75ffa8ef76 Co-authored-by: Martin Emde <martinemde@users.noreply.github.com>
* [rubygems/rubygems] (Further) Improve Bundler::Settings#[] performance and ↵Josh Nichols2023-08-301-5/+8
| | | | | | | | | | | | | | | | | | | | | | memory usage I previously identified and improved this method over in https://github.com/rubygems/rubygems/pull/6884 but while reviewing another memory_profiler profile, I realized another gain we can eek out. This method keeps comes up in part because `configs` is allocating a new Hash every time. My last change took advantage of that by using `map!` on it. `configs` is called quite often, including in this `[]` method, so there's a benefit to memoizing it. Back in `[]`, logically we are trying to find the first Hash in `configs` that has a value for the given key. Currently, we end up `map` and `compact` to just get that value. Instead, we can use a loop over `configs`, and break when we find the value for the key. https://github.com/rubygems/rubygems/commit/b913cfc87b
* Fix string2cstr in lldb_cruby.py [ci skip]Peter Zhu2023-08-291-2/+1
|
* [YARP] Until Node, minor cleanup (#8325)Jemma Issroff2023-08-291-90/+114
| | | | | | | * Remove conditional from yp_compile_if * Extracted yp_compile_while, compile UntilNode * Small checks for body / value that could be empty
* Compile more YARP node types (#8322)Jemma Issroff2023-08-292-1/+945
| | | | | | | | | | | | | | | | | | | | | | | | | * Add several more node simple types to YARP's compiler: Nodes include: DefinedNode, EmbeddedStatementsNode, LocalVariableReadNode, LocalVariableWriteNode, MultiWriteNode, OptionalParameterNode, SplatNode, YieldNode * Add AssocSplatNode, RangeNode * Add RangeNode, other helpers for future nodes * Add ArrayNode, HashNode, static literal helpers * Add branch conditionals * Add IfNode, UnlessNode * Add ScopeNode * NEW_ISEQ and NEW_CHILD_ISEQ implemented for YARP * Add nodes that depend on ScopeNode * Addressed PR comments
* [ruby/yarp] Add instance variable names to the constant poolKevin Newton2023-08-2930-59/+103
| | | | https://github.com/ruby/yarp/commit/f049932c44
* Tests for the YARP compilerKevin Newton2023-08-292-2/+170
|
* [ruby/yarp] Statements inside ensure blocks can accept blocksKevin Newton2023-08-293-2/+116
| | | | https://github.com/ruby/yarp/commit/be84ea5343
* [rubygems/rubygems] Fix bundle update --redownloadSamuel Giddins2023-08-292-0/+11
| | | | | | It now does the redownloading/installing just like bundle install --redownload https://github.com/rubygems/rubygems/commit/3b058e5eca
* [ruby/irb] Improve help/show_cmds message during debuggerStan Lo2023-08-293-1/+51
| | | | | | | | | | | integration (https://github.com/ruby/irb/pull/693) * `help` should display debugger's help during irb:rdbg session * Update `show_cmds`'s output when in irb:rdbg session https://github.com/ruby/irb/commit/4029c2e564
* [ruby/reline] Remove `ARGV.first` in east_asian_width.rbima1zumi2023-08-291-1/+0
| | | | | | | | (https://github.com/ruby/reline/pull/587) `ARGV.first` is the name of the EastAsianWidth file and is not needed for east_asian_width.rb https://github.com/ruby/reline/commit/6649bda31c
* [ruby/reline] Set EastAsianWidth::UNICODE_VERSIONelfham2023-08-291-0/+1
| | | | | | | | | | | | (https://github.com/ruby/reline/pull/586) * Set EastAsianWidth::UNICODE_VERSION * Commented out UNICODE_VERSION in Reline::Unicode::EastAsianWidth * Commented out UNICODE_VERSION in Reline::Unicode::EastAsianWidth https://github.com/ruby/reline/commit/6d94f2a26a
* [YARP] Compile basic types (#8311)Jemma Issroff2023-08-293-13/+481
| | | | | | | | | | | | | | | | | | | | | * Add a compile_context arg to yp_compile_node The compile_context will allow us to pass around the parser, and the constants and lookup table (to be used in future commits). * Compile yp_program_node_t and yp_statements_node_t Add the compilation for program and statements node so that we can successfully compile an empty program with YARP. * Helper functions for parsing numbers, strings, and symbols * Compile basic numeric / boolean node types in YARP * Compile StringNode and SymbolNodes in YARP * Compile several basic node types in YARP * Added error return for missing node
* [ruby/yarp] simplify `context_pop`Nathan Froyd2023-08-291-8/+3
| | | | https://github.com/ruby/yarp/commit/fe85b595b6
* [ruby/irb] Add --nomultiline indent and prompt testtomoya ishida2023-08-291-0/+29
| | | | | | (https://github.com/ruby/irb/pull/699) https://github.com/ruby/irb/commit/9b4aea753b
* [ruby/irb] fixes https://github.com/ruby/irb/pull/524Chad Schroeder2023-08-291-1/+0
| | | | | | (https://github.com/ruby/irb/pull/696) https://github.com/ruby/irb/commit/59bcc07def
* [ruby/irb] irb:rdbg cleanups (https://github.com/ruby/irb/pull/697)Stan Lo2023-08-292-16/+3
| | | | | | | | * Remove unused method and constant from IRB::Debug * Update comments https://github.com/ruby/irb/commit/98914a963c
* [ruby/irb] Fix test warnings (https://github.com/ruby/irb/pull/698)Stan Lo2023-08-292-2/+2
| | | | | | | | * Encoding should be saved before creating Irb objects * Fix unused local warning https://github.com/ruby/irb/commit/036ec31034
* [DOC] Improved documentation. (#8319)Samuel Williams2023-08-291-2/+2
|
* Fix code example doc for Random.alphanumericPetrik2023-08-291-1/+1
|
* [DOC] Remove typoNobuyoshi Nakada2023-08-291-1/+1
|
* Expose `rb_process_status_wait` and hide `rb_process_status_waitv`. (#8316)Samuel Williams2023-08-292-1/+10
|
* Update default gems list at 5ed42c980067d1e9970cfe2b5bc052 [ci skip]git2023-08-291-1/+1
|
* Development of 3.0.9 started.Sutou Kouhei2023-08-291-1/+1
|
* jruby: Add StringIO::VERSION (#59)Sutou Kouhei2023-08-291-0/+4
| | | | Fixes GH-57
* [ruby/yarp] Remove unnecessary NUL byte in stringKevin Newton2023-08-291-1/+1
| | | | https://github.com/ruby/yarp/commit/af867e35b1
* [ruby/irb] Print deprecation message for prompt_n methodsStan Lo2023-08-292-0/+25
| | | | | | | | | | | (https://github.com/ruby/irb/pull/691) They were removed in #685, but we should still keep them to avoid breaking changes to tools like Chef. https://github.com/chef/chef/blob/533ff089479763f29045e4e6ddf388b73fc99338/lib/chef/shell.rb#L138 https://github.com/ruby/irb/commit/b585e0c835
* [ruby/irb] Remove unused `PROMPT_N`Summer ☀️2023-08-297-36/+7
| | | | | | (https://github.com/ruby/irb/pull/685) https://github.com/ruby/irb/commit/66e69fa0dc
* Enable jobserver mode in submake [ci skip]Nobuyoshi Nakada2023-08-291-1/+2
| | | | | Filter out `-j` option not to reset jobserver mode which is enabled by the environment variable.
* Fix Array#bsearch when block returns a non-integer numeric valueKouhei Yanagita2023-08-292-2/+6
|
* [rubygems/rubygems] rubocop -aHiroshi SHIBATA2023-08-291-3/+3
| | | | https://github.com/rubygems/rubygems/commit/f240bfad2a
* Fixed broken -a option behaviorHiroshi SHIBATA2023-08-291-4/+5
|
* Validate the typed data before dereferencing the internal struct. (#8315)Samuel Williams2023-08-292-2/+24
|