summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-10Enhanced RDoc for IO (#5425)Burdette Lamar
Treats: #pread #pwrite #binmode #binmode? Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2022-01-10Enhanced RDoc for IO (#5424)Burdette Lamar
Treats: #sysseek #syswrite #sysread Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2022-01-11[ruby/reline] Clear dialog when just_move_cursor is called with dialog at ↵aycabta
last line https://github.com/ruby/reline/commit/05024b968e
2022-01-10YJIT: Support kwargs for cfuncJohn Hawthorn
This adds support for passing keyword arguments to cfuncs. This is done by calling a helper method to create the hash from the top N values on the stack (determined by the callinfo) and then moving that value onto the stack. Notes: Merged: https://github.com/ruby/ruby/pull/5397
2022-01-10[DOC] Enhanced RDoc for IO (#5422)Burdette Lamar
Revises much of the introductory material. Also treats: #close_on_exec #close #closed? #close_read #close_write Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2022-01-10[DOC] Link to Ruby Spec and rephrase project goalAlan Wu
The word "specification" can be confusing as it might make readers assume that the Ruby Spec Suite is a specification similar to an ISO specification. Avoid the word and link to the project so curious parties could read more about the project. Notes: Merged: https://github.com/ruby/ruby/pull/5423
2022-01-11* 2022-01-11 [ci skip]git
2022-01-10Update to ruby/spec@226cfdcBenoit Daloze
2022-01-10Update to ruby/mspec@3ea3d32Benoit Daloze
2022-01-10Make the Ractor-safe section more fluentBenoit Daloze
2022-01-10Clarify ractor documentation meaning and formatting.Trey Evans
Notes: Merged: https://github.com/ruby/ruby/pull/5421
2022-01-10* 2022-01-10 [ci skip]git
2022-01-10Fix default --jit-max-cache in `ruby --help`Kazuhiro NISHIYAMA
changed at 028f1887c2bfa50dcfc1b623470d6ab1b880fdde
2022-01-09Revert "[DOC] Mention RBOOL in extension.rdoc [Feature #13125]"Nobuyoshi Nakada
This reverts commit 9ad34da47ff7d71446e667897559047ed5635b60, as `RBOOL` is not defined publicly yet.
2022-01-09[DOC] Fold too long linesNobuyoshi Nakada
2022-01-09[DOC] Mention `make check`Nobuyoshi Nakada
2022-01-09Add `=num` to yjit optionsKazuhiro NISHIYAMA
`--yjit-call-threshold` and `--yjit-max-versions` need an argument.
2022-01-09[DOC] test-spec would be preferable nowNobuyoshi Nakada
2022-01-09Don't combine test-all and rubyspec.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5420 Merged-By: ioquatix <samuel@codeotaku.com>
2022-01-08Revert "Enable Variable Width Allocation by default"Peter Zhu
This reverts commit c365c5921ea26e31c03a85b01ff4c04629abfc10.
2022-01-09* 2022-01-09 [ci skip]git
2022-01-08YJIT: Add support for ruby array cfuncs (argc=-2)John Hawthorn
This adds support for cfuncs which take variable arguments using a Ruby array. This is specified with the method entry's argc == -2. Notes: Merged: https://github.com/ruby/ruby/pull/5396
2022-01-08YJIT: Save SP later in cfunc callJohn Hawthorn
Saving SP later allows us to avoid storing SP in an intermediate register and allows using the ctx_stack_opnd helpers. Notes: Merged: https://github.com/ruby/ruby/pull/5396
2022-01-08[ruby/reline] Fix reline on SolarisPeter Zhu
Solaris requires that the pointer errret_int is alined to an integer, however, with VWA, strings are no longer aligned to an integer, so use a Fiddle::Pointer with a malloc'd region instead. https://github.com/ruby/reline/commit/5fcd89ab0c
2022-01-09Move IO write buffer allocation into function.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5418 Merged-By: ioquatix <samuel@codeotaku.com>
2022-01-08Do not run the same tests twiceNobuyoshi Nakada
2022-01-08Run an old fixed bug in the same processNobuyoshi Nakada
2022-01-08Run the tests on a subclass of StringNobuyoshi Nakada
2022-01-08Prefer the dedecated conversion functionNobuyoshi Nakada
2022-01-07YJIT: Discard local var type info on routine callAlan Wu
Routines that are called from YJIT's output code can call methods, and calling methods mean they can capture and change the environment of the calling frame. Discard type info whenever we perform routine calls. This is more conservative than strictly necessary as some routines need to perform GC allocation but can never call methods and so should never be able to change local variables. However, manually analyzing C functions for whether they have code paths that call methods is error prone and can go out of date as changes land in the codebase. Closes: shopify/yjit#300 Notes: Merged: https://github.com/ruby/ruby/pull/5416
2022-01-07Use unsigned short for length of embedded stringsPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/5415
2022-01-07Improve string info in rb_raw_obj_infoPeter Zhu
Improve rb_raw_obj_info to output additional into about strings including the length, capacity, and whether or not it is embedded. Notes: Merged: https://github.com/ruby/ruby/pull/5414
2022-01-07Enable Variable Width Allocation by defaultPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/5413
2022-01-08* 2022-01-08 [ci skip]git
2022-01-07Change termlen when changing encoding during concatenationPeter Zhu
After changing the encoding, we should update the terminator length. Notes: Merged: https://github.com/ruby/ruby/pull/5411
2022-01-07[DOC] Fix typos in a doxygen comment [ci skip]Nobuyoshi Nakada
2022-01-07Fix typo [ci skip]Kazuhiro NISHIYAMA
2022-01-07[ruby/pathname] Make Pathname#each_entry return enumerator if called without ↵Jeremy Evans
block Fixes [Bug #18158] https://github.com/ruby/pathname/commit/914c726aa2
2022-01-07Use chomp: option when chomp modeNobuyoshi Nakada
Get rid of depending on using $/ internally in String#chomp!, and chomp the separator at once. Notes: Merged: https://github.com/ruby/ruby/pull/5403
2022-01-07Explicitly pass $/ when loop modeNobuyoshi Nakada
Get rid of depending on using $/ internally in ARGF.gets. Notes: Merged: https://github.com/ruby/ruby/pull/5403
2022-01-06Revert "Set encoding before concatenating to string"Peter Zhu
This reverts commit 44368b5f8bc21e19fa06a0fc0625923fc41293e6. Notes: Merged: https://github.com/ruby/ruby/pull/5406
2022-01-06Revert "Enable Variable Width Allocation by default"Peter Zhu
This reverts commit d4a95428bb244ca8c4a97ad50f3837f191f1f0c3. Notes: Merged: https://github.com/ruby/ruby/pull/5405
2022-01-06Set correct termlen for frozen stringsPeter Zhu
Frozen strings should have the same termlen as the original string when copy_encoding is true. Notes: Merged: https://github.com/ruby/ruby/pull/5399
2022-01-06Set encoding before concatenating to stringPeter Zhu
If we set encoding after the call to rb_str_buf_cat, then rb_str_buf_cat will not set the correct terminator length. Notes: Merged: https://github.com/ruby/ruby/pull/5399
2022-01-06Update lldb_cruby.py for VWA stringsPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/5399
2022-01-06Compile with USE_RVARGC=0 on CIPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/5399
2022-01-06Enable Variable Width Allocation by defaultPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/5399
2022-01-07io_buffer.c: use mremap based resizing only when mremap availableYuta Saito
some libc implementations (e.g. wasi-libc) define MREMAP_MAYMOVE, but don't have mremap itself, so guard the use of mremap by HAVE_MREMAP Notes: Merged: https://github.com/ruby/ruby/pull/5401
2022-01-06Enhanced RDoc for IO (#5402)Burdette Lamar
Treats: #ungetc #isatty #close_on_exec? Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2022-01-07Add bugs.ruby links.manga_osyo
Notes: Merged: https://github.com/ruby/ruby/pull/5400