summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-20[ruby/reline] windows clear screen with \e 2 JYO4
Windows Terminal does smart screen clearing when \e 2 J (not clear entire screen but scrolls down just needed) On consoles not support sequences, ruby still converts it to API call. https://github.com/ruby/reline/commit/c00930dab9
2021-12-20[ruby/reline] windows improve scrollingYO4
ScrollConsoleScreenBuffer can't scroll window of Windows Terminal. Use LF to sctoll. Microsoft says ```In the virtual terminal sequences world, the size of the window and the size of the screen buffer are fixed to the same value. ``` https://docs.microsoft.com/en-us/windows/console/window-and-screen-buffer-size https://github.com/ruby/reline/commit/9ff3c70732
2021-12-20[ruby/reline] Revert "Add a space after a comma"aycabta
This reverts commit https://github.com/ruby/reline/commit/6009b3ef7ab7. To merge a Pull Request... https://github.com/ruby/reline/commit/83021f4267
2021-12-20[ruby/reline] Revert "Add space"aycabta
This reverts commit https://github.com/ruby/reline/commit/1bb071bcf5a9. To merge a Pull Request... https://github.com/ruby/reline/commit/e9fe1b1305
2021-12-19[DOC] Enhanced RDoc for IO (#5304)Burdette Lamar
Treated: ::try_convert #write #<< #flush #tell #seek #pos= #rewind #eof Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2021-12-20Update pp version on NEWSHiroshi SHIBATA
2021-12-20[ruby/pp] Bump version to 0.3.0Hiroshi SHIBATA
https://github.com/ruby/pp/commit/c66d1b9cdc
2021-12-20[rubygems/rubygems] Add support in binstubs for trampolining bundlerDavid Rodríguez
If `bundler _<version>_` is given, I guess the most reasonable approach is to completely skip version switching, because the user is technically opting out of it. But since binstubs completely remove this argument from `ARGV` after processing it, we have no way of detecting that it was actually passed in the first place in order to skip the feature. So we set `BUNDLER_VERSION` explicitly in this case. https://github.com/rubygems/rubygems/commit/e0f360d6d7
2021-12-20[rubygems/rubygems] Error tracing should be printed to stderrDavid Rodríguez
https://github.com/rubygems/rubygems/commit/23178f7d7b
2021-12-20[DOC] Add documentation for hash value omission syntaxVictor Shepelev
Notes: Merged: https://github.com/ruby/ruby/pull/5244 Merged-By: nobu <nobu@ruby-lang.org>
2021-12-20[DOC] Add documentation for Random.rand and Random.seedChris AtLee
Notes: Merged: https://github.com/ruby/ruby/pull/5098
2021-12-20* 2021-12-20 [ci skip]git
2021-12-19[DOC] Addition to IO introduction (#5299)Burdette Lamar
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2021-12-19Sort URLs by issue numbers [ci skip]Kazuhiro NISHIYAMA
2021-12-19Add news about allowing omission of parentheses in one-line pattern matchingKazuki Tsujimoto
2021-12-19[DOC] How to get the longest last match [Bug #18415]Nobuyoshi Nakada
2021-12-19[ruby/irb] Add information about --extra-doc-dir option in the commentsKaíque Kandy Koga
https://github.com/ruby/irb/commit/ac3d4b9e79
2021-12-20Improve IO::Buffer resize and introduce ownership transfer.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5301
2021-12-19[ruby/reline] Load correct version.rb from gemspecNobuyoshi Nakada
When merged to ruby/ruby, reline.gemspec file is located under lib/reline, as the same as reline/version.rb. That is the latter path relative from the former differs from the ruby/reline case, and the reline/version.rb in the default load path will be loaded. Try `require_relative` not to load unexpected files. https://github.com/ruby/reline/commit/54905d0e1b
2021-12-19[ruby/reline] Clear dialog in pastingaycabta
https://github.com/ruby/reline/commit/dabf5313e0
2021-12-19Default size for IO::Buffer.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5300
2021-12-19`rb_iseq_update_references()` cares `script_lines`Koichi Sasada
and it fixes compaction issue: http://rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20211218T203001Z.fail.html.gz
2021-12-18YJIT: Implement internDaniel Colson
`intern` showed up in the top 20 most frequent exit ops (granted with a fairly small percentage) in a benchmark run by @jhawthorn on github/github. This implementation is similar to gen_anytostring, but with 1 stack pop instead of 2. Co-authored-by: John Hawthorn <jhawthorn@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/5291
2021-12-19`iseq_type_sym()` -> `iseq_type_id()`Koichi Sasada
`iseq_type_sym()` returns `ID` (surprisingly!) so rename it to `iseq_type_id()`.
2021-12-19add `rb_iseq_type()` to return iseq type in SymbolKoichi Sasada
It is shorthand `ISeq#to_a[9]`. Notes: Merged: https://github.com/ruby/ruby/pull/5298
2021-12-19Manually sync ↵Yusuke Endoh
https://github.com/ruby/error_highlight/commit/d2140d795ad0a06398db81739201877d431755db
2021-12-19Make AST.of possible even under eval when keep_script_lines is enabledYusuke Endoh
Now the following code works without an exception. ``` RubyVM.keep_script_lines = true eval(<<END) def foo end END p RubyVM::AbstractSyntaxTree.of(method(:foo)) ```
2021-12-19Make RubyVM::AbstractSyntaxTree.of raise for backtrace location in evalYusuke Endoh
This check is needed to fix a bug of error_highlight when NameError occurred in eval'ed code. https://github.com/ruby/error_highlight/pull/16 The same check for proc/method has been already introduced since 64ac984129a7a4645efe5ac57c168ef880b479b2.
2021-12-18What's Here for ENV (#5292)Burdette Lamar
[DOC] What's Here for ENV Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2021-12-19* 2021-12-19 [ci skip]git
2021-12-19skip -v spec on MJITKoichi Sasada
fix this failure: ``` configure ... cppflags=-DMJIT_FORCE_ENABLE ... make test-spec 1) The -v command line option when used alone prints version and ends FAILED Expected "ruby 3.1.0dev (2021-12-18T10:10:42Z master 78c175280b) +MJIT [x86_64-linux] " to include "ruby 3.1.0dev (2021-12-18T10:10:42Z master 78c175280b) [x86_64-linux]" /tmp/ruby/v3/src/trunk-mjit-wait/spec/ruby/command_line/dash_v_spec.rb:9:in `block (3 levels) in <top (required)>' /tmp/ruby/v3/src/trunk-mjit-wait/spec/ruby/command_line/dash_v_spec.rb:4:in `<top (required)>' ``` http://ci.rvm.jp/results/trunk-mjit-wait@phosphorus-docker/3759943
2021-12-19Fix spelling of DECLAIR_TYPE.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5296
2021-12-18Fix code formatting.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5295
2021-12-18Introduce setup instructions for better parallelism.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5295
2021-12-18Initial hacking guide.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5294
2021-12-18Introduce io_result wrapper for passing `[-errno, size]` in VALUE.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5287 Merged-By: ioquatix <samuel@codeotaku.com>
2021-12-18Skip tests on pull requests labeled as DocumentationNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5293
2021-12-18Fix pull_request condition [ci skip]Nobuyoshi Nakada
2021-12-18[DOC] Cache stdgems listNobuyoshi Nakada
2021-12-18[ruby/reline] Remove unnecessary "*"aycabta
https://github.com/ruby/reline/commit/7b50638e24
2021-12-18[ruby/reline] Add a space after a commaaycabta
https://github.com/ruby/reline/commit/6009b3ef7a
2021-12-18[ruby/reline] Change a test method name to more appropriateaycabta
https://github.com/ruby/reline/commit/d014cc85b7
2021-12-18[ruby/reline] Add spaceaycabta
https://github.com/ruby/reline/commit/1bb071bcf5
2021-12-18[ruby/pp] Add context to bind_call and skip 2.7+ testCharles Oliver Nutter
The bind_call definition here is added primarily to support running the tests on JRuby 9.3, which only supports Ruby 2.6 features. The excluded test appears to depend on inspect behavior that changed after Ruby 2.6. With these two changes the test suite runs green on Ruby 2.6 and JRuby 9.3. https://github.com/ruby/pp/commit/892c612958
2021-12-18[ruby/pp] Incorporate 2.6 versions of 2.7 methods neededCharles Oliver Nutter
* UnboundMethod#bind_call * ruby2_keywords gem for testing https://github.com/ruby/pp/commit/721d8cbd10
2021-12-18[ruby/pp] Use etc instead of .so for broader compatibilityCharles Oliver Nutter
The use of `etc.so` here requires that etc is always implemented as a C extension on-disk. However at least one impl – JRuby – currently implements it as an internal extension, loaded via a Ruby script. This require should simply use the base name of the library, `etc`, to allow Ruby-based implementations to load as well. https://github.com/ruby/pp/commit/2061f994e0
2021-12-18[ruby/pp] Only do RubyVM patches if class existsCharles Oliver Nutter
This class does not exist in any implementation except CRuby. I would recommend moving this code somewhere else, like a separate file loaded only on CRuby or into CRuby itself. For now this change is sufficient to load the library on other implementations. https://github.com/ruby/pp/commit/7d5a220f64
2021-12-18[ruby/benchmark] Freeze VERSIONrm155
https://github.com/ruby/benchmark/commit/89b889b109
2021-12-18[ruby/logger] Removed loading old helper file and load Logger class by itselfHiroshi SHIBATA
https://github.com/ruby/logger/commit/5ee0fd6e51
2021-12-18[ruby/logger] Test casesBaron Bloomer
https://github.com/ruby/logger/commit/40adb645e2