summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-08-29[ruby/reline] Set EastAsianWidth::UNICODE_VERSIONelfham
(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
2023-08-29[YARP] Compile basic types (#8311)Jemma Issroff
* 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 Notes: Merged-By: jemmaissroff
2023-08-29[ruby/yarp] simplify `context_pop`Nathan Froyd
https://github.com/ruby/yarp/commit/fe85b595b6
2023-08-29[ruby/irb] Add --nomultiline indent and prompt testtomoya ishida
(https://github.com/ruby/irb/pull/699) https://github.com/ruby/irb/commit/9b4aea753b
2023-08-29[ruby/irb] fixes https://github.com/ruby/irb/pull/524Chad Schroeder
(https://github.com/ruby/irb/pull/696) https://github.com/ruby/irb/commit/59bcc07def
2023-08-29[ruby/irb] irb:rdbg cleanups (https://github.com/ruby/irb/pull/697)Stan Lo
* Remove unused method and constant from IRB::Debug * Update comments https://github.com/ruby/irb/commit/98914a963c
2023-08-29[ruby/irb] Fix test warnings (https://github.com/ruby/irb/pull/698)Stan Lo
* Encoding should be saved before creating Irb objects * Fix unused local warning https://github.com/ruby/irb/commit/036ec31034
2023-08-29[DOC] Improved documentation. (#8319)Samuel Williams
Notes: Merged-By: ioquatix <samuel@codeotaku.com>
2023-08-29Fix code example doc for Random.alphanumericPetrik
Notes: Merged: https://github.com/ruby/ruby/pull/8317
2023-08-29[DOC] Remove typoNobuyoshi Nakada
2023-08-29Expose `rb_process_status_wait` and hide `rb_process_status_waitv`. (#8316)Samuel Williams
Notes: Merged-By: ioquatix <samuel@codeotaku.com>
2023-08-29Update default gems list at 5ed42c980067d1e9970cfe2b5bc052 [ci skip]git
2023-08-29Development of 3.0.9 started.Sutou Kouhei
2023-08-29jruby: Add StringIO::VERSION (#59)Sutou Kouhei
Fixes GH-57
2023-08-29[ruby/yarp] Remove unnecessary NUL byte in stringKevin Newton
https://github.com/ruby/yarp/commit/af867e35b1
2023-08-29[ruby/irb] Print deprecation message for prompt_n methodsStan Lo
(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
2023-08-29[ruby/irb] Remove unused `PROMPT_N`Summer ☀️
(https://github.com/ruby/irb/pull/685) https://github.com/ruby/irb/commit/66e69fa0dc
2023-08-29Enable jobserver mode in submake [ci skip]Nobuyoshi Nakada
Filter out `-j` option not to reset jobserver mode which is enabled by the environment variable.
2023-08-29Fix Array#bsearch when block returns a non-integer numeric valueKouhei Yanagita
Notes: Merged: https://github.com/ruby/ruby/pull/8314
2023-08-29[rubygems/rubygems] rubocop -aHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/f240bfad2a
2023-08-29Fixed broken -a option behaviorHiroshi SHIBATA
2023-08-29Validate the typed data before dereferencing the internal struct. (#8315)Samuel Williams
Notes: Merged-By: ioquatix <samuel@codeotaku.com>
2023-08-29Expose Test.filter_backtrace for the default gems.Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/8313
2023-08-29[DOC] Mention about https://bugs.ruby-lang.org/issues/19776Hiroshi SHIBATA
2023-08-29[DOC] Link method name referencesNobuyoshi Nakada
2023-08-29[Feature #18183] Add `chars:` option to `Random#alphanumeric`Nobuyoshi Nakada
2023-08-29sync_default_gems.rb: Continue if files added to the toplevel removedNobuyoshi Nakada
2023-08-29sync_default_gems.rb: Split `sync_default_gems_with_commits`Nobuyoshi Nakada
2023-08-29Lrama v0.5.5yui-knk
Notes: Merged: https://github.com/ruby/ruby/pull/8308
2023-08-28Fix growth in minor GC when we have initial slotsPeter Zhu
If initial slots is set, then during a minor GC, if we have allocatable pages but the heap is mostly full, then we will set `grow_heap` to true since `total_slots` does not count allocatable pages so it will be less than `init_slots`. This can cause `allocatable_pages` to grow to much higher than desired since it will appear that the heap is mostly full. Notes: Merged: https://github.com/ruby/ruby/pull/8310
2023-08-28Expose RVALUE_OLD_AGE in GC::INTERNAL_CONSTANTSPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/8310
2023-08-28RJIT: Remove Type::CArray and limit use of Type::CStringAlan Wu
See previous similar YJIT commit. Notes: Merged: https://github.com/ruby/ruby/pull/8299
2023-08-28YJIT: Remove Type::CArray and limit use of Type::CStringAlan Wu
These types are essentially claims about what `RBASIC_CLASS(obj)` returns. The field changes with singleton class creation, but we didn't consider so previously and elided guards where we actually needed them. Found running ruby/spec with --yjit-verify-ctx. The assertion interface makes extensive use of singleton classes. Notes: Merged: https://github.com/ruby/ruby/pull/8299
2023-08-28Add yarp/yarp_compiler.c (#8042)Jemma Issroff
* Add yarp/yarp_compiler.c as stencil for compiling YARP This commit adds yarp/yarp_compiler.c, and changes the sync script to ensure that yarp/yarp_compiler.c will not get overwritten * [Misc #119772] Create and expose RubyVM::InstructionSequence.compile_yarp This commit creates the stencil for a compile_yarp function, which we will continue to fill out. It allows us to check the output of compiled YARP code against compiled code without using YARP. Notes: Merged-By: jemmaissroff
2023-08-28[ruby/yarp] use `memcmp` for block memory comparisonNathan Froyd
https://github.com/ruby/yarp/commit/3563e5c5d5
2023-08-28[ruby/yarp] make `node.c` generated code more readableNathan Froyd
https://github.com/ruby/yarp/commit/0ffd61c87a
2023-08-28Remove --disable-gems in assert_in_out_errPeter Zhu
assert_in_out_err adds --disable=gems so we don't need to add --disable-gems in the args list. Notes: Merged: https://github.com/ruby/ruby/pull/8303
2023-08-28Restore `HAVE_RB_IO_T` macro for compatibility with `kgio`, `unicorn`, etc. ↵Samuel Williams
(#8286) Notes: Merged-By: nurse <naruse@airemix.jp>
2023-08-28[ruby/yarp] fix: %I list spanning a heredocMike Dalessio
Similar to the previous %W fix, we accept a symbol node and concatenate it onto an interpolated symbol. https://github.com/ruby/yarp/commit/6b5911b95e
2023-08-28[ruby/yarp] fix: %i list spanning a heredocMike Dalessio
The fix here is similar to what we did in a previous commit for %w, to accept two consecutive string tokens without a separator. https://github.com/ruby/yarp/commit/f869fbdbe5
2023-08-28[ruby/yarp] fix: %W list spanning a heredocMike Dalessio
Primarily this fix is to accept a string node and concatenate it onto an interpolated string. https://github.com/ruby/yarp/commit/6df729fe72
2023-08-28[ruby/yarp] fix: %w list spanning a heredocMike Dalessio
Two fixes were necessary: - ensure we are handling newlines correctly - accept two consecutive string tokens without a separator https://github.com/ruby/yarp/commit/4e707937cb Co-authored-by: Kevin Newton <kddnewton@gmail.com>
2023-08-28[ruby/yarp] test: backfill tests for %q/%Q spanning a heredocMike Dalessio
Also rename the fixture file https://github.com/ruby/yarp/commit/c148d955fd
2023-08-28[ruby/yarp] fix: yp_interpolated_symbol_node_appendMike Dalessio
Made this function's behavior match the interpolated_string implementation. Previously, the start location was not set and left as 0. https://github.com/ruby/yarp/commit/87f348889f
2023-08-28[ruby/yarp] Improve how we declare ripper exceptions in parse_test.rbMike Dalessio
Specific files are named earlier in the block, and we now have the ability to skip just the lex matching, or skip ripper entirely (for files that don't parse). https://github.com/ruby/yarp/commit/dcd3806dca
2023-08-28sync_default_gems.rb: convert keys of REPOSITORIES to stringsNobuyoshi Nakada
Referencing always after conversion to a symbol, and yielded gem name is always converted to a string.
2023-08-28Revert racc auto-sync supportTakashi Kokubun
It's no longer a default gem actually. Fixed the webhook side instead https://github.com/ruby/git.ruby-lang.org/commit/3c27d860b4e39d10d63280b59d4db2cec518ae13.
2023-08-28Ignore test/regress/ for raccTakashi Kokubun
2023-08-28Add missing racc support to sync_default_gemsTakashi Kokubun
2023-08-28Sort repository names in sync_default_gemsTakashi Kokubun