aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/irb] Remove unnecessary space in regexpaycabta2021-12-201-1/+1
| | | | https://github.com/ruby/irb/commit/c24a8e2483
* [ruby/irb] Add East Asian Ambiguous Width to irb_info commandaycabta2021-12-202-0/+6
| | | | https://github.com/ruby/irb/commit/4cade4b7e5
* Update bundled gems list at 2021-12-20git2021-12-202-2/+2
|
* [ruby/reline] Rename an unused variable name for CIaycabta2021-12-201-1/+1
| | | | https://github.com/ruby/reline/commit/ba97f3bd87
* [ruby/reline] Add a test for dialog proc with contextaycabta2021-12-201-0/+14
| | | | https://github.com/ruby/reline/commit/2ce2696d6e
* [ruby/reline] Add an assertion for overwriting dialog proc with the same nameaycabta2021-12-201-0/+5
| | | | https://github.com/ruby/reline/commit/96067bc13c
* [ruby/reline] Rename the variable "p" because it overlaps with the "p" methodaycabta2021-12-201-21/+21
| | | | https://github.com/ruby/reline/commit/9bf2ca692e
* [ruby/reline] Add support for overwriting dialog proc with the same nameaycabta2021-12-203-13/+18
| | | | https://github.com/ruby/reline/commit/16aa20c380
* [ruby/reline] Add Reline.dialog_proc(name_sym)aycabta2021-12-202-0/+12
| | | | https://github.com/ruby/reline/commit/7e5dbe4750
* [ruby/reline] Add a test for Reline.add_dialog_procaycabta2021-12-201-0/+15
| | | | https://github.com/ruby/reline/commit/c4bb1bfd79
* [ruby/reline] Add spaceaycabta2021-12-201-1/+1
| | | | https://github.com/ruby/reline/commit/4b7fa6b213
* [ruby/reline] windows jruby issueYO42021-12-201-14/+46
| | | | | | jruby needs terminal control with Windows API on classic console https://github.com/ruby/reline/commit/b61bc43374
* [ruby/reline] windows clear screen with \e 2 JYO42021-12-201-10/+1
| | | | | | | | 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
* [ruby/reline] windows improve scrollingYO42021-12-201-7/+17
| | | | | | | | | | | | 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
* [ruby/reline] Revert "Add a space after a comma"aycabta2021-12-201-1/+1
| | | | | | | | This reverts commit https://github.com/ruby/reline/commit/6009b3ef7ab7. To merge a Pull Request... https://github.com/ruby/reline/commit/83021f4267
* [ruby/reline] Revert "Add space"aycabta2021-12-201-1/+1
| | | | | | | | This reverts commit https://github.com/ruby/reline/commit/1bb071bcf5a9. To merge a Pull Request... https://github.com/ruby/reline/commit/e9fe1b1305
* [DOC] Enhanced RDoc for IO (#5304)Burdette Lamar2021-12-191-94/+136
| | | | | | | | | | | | | | Treated: ::try_convert #write #<< #flush #tell #seek #pos= #rewind #eof
* Update pp version on NEWSHiroshi SHIBATA2021-12-201-1/+1
|
* [ruby/pp] Bump version to 0.3.0Hiroshi SHIBATA2021-12-201-1/+1
| | | | https://github.com/ruby/pp/commit/c66d1b9cdc
* [rubygems/rubygems] Add support in binstubs for trampolining bundlerDavid Rodríguez2021-12-201-1/+11
| | | | | | | | | | | 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
* [rubygems/rubygems] Error tracing should be printed to stderrDavid Rodríguez2021-12-203-3/+7
| | | | https://github.com/rubygems/rubygems/commit/23178f7d7b
* [DOC] Add documentation for hash value omission syntaxVictor Shepelev2021-12-203-0/+34
|
* [DOC] Add documentation for Random.rand and Random.seedChris AtLee2021-12-201-3/+18
|
* * 2021-12-20 [ci skip]git2021-12-201-1/+1
|
* [DOC] Addition to IO introduction (#5299)Burdette Lamar2021-12-191-0/+253
| | | Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Sort URLs by issue numbers [ci skip]Kazuhiro NISHIYAMA2021-12-191-1/+1
|
* Add news about allowing omission of parentheses in one-line pattern matchingKazuki Tsujimoto2021-12-191-0/+11
|
* [DOC] How to get the longest last match [Bug #18415]Nobuyoshi Nakada2021-12-191-1/+31
|
* [ruby/irb] Add information about --extra-doc-dir option in the commentsKaíque Kandy Koga2021-12-191-0/+1
| | | | https://github.com/ruby/irb/commit/ac3d4b9e79
* Improve IO::Buffer resize and introduce ownership transfer.Samuel Williams2021-12-204-48/+163
|
* [ruby/reline] Load correct version.rb from gemspecNobuyoshi Nakada2021-12-191-3/+5
| | | | | | | | | | 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
* [ruby/reline] Clear dialog in pastingaycabta2021-12-192-0/+12
| | | | https://github.com/ruby/reline/commit/dabf5313e0
* Default size for IO::Buffer.Samuel Williams2021-12-193-4/+43
|
* `rb_iseq_update_references()` cares `script_lines`Koichi Sasada2021-12-191-0/+1
| | | | | and it fixes compaction issue: http://rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20211218T203001Z.fail.html.gz
* YJIT: Implement internDaniel Colson2021-12-182-0/+25
| | | | | | | | | | | `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>
* `iseq_type_sym()` -> `iseq_type_id()`Koichi Sasada2021-12-191-40/+40
| | | | | `iseq_type_sym()` returns `ID` (surprisingly!) so rename it to `iseq_type_id()`.
* add `rb_iseq_type()` to return iseq type in SymbolKoichi Sasada2021-12-192-36/+54
| | | | It is shorthand `ISeq#to_a[9]`.
* Manually sync ↵Yusuke Endoh2021-12-191-1/+3
| | | | https://github.com/ruby/error_highlight/commit/d2140d795ad0a06398db81739201877d431755db
* Make AST.of possible even under eval when keep_script_lines is enabledYusuke Endoh2021-12-192-5/+66
| | | | | | | | | | | | | | | 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)) ```
* Make RubyVM::AbstractSyntaxTree.of raise for backtrace location in evalYusuke Endoh2021-12-195-23/+62
| | | | | | | | | 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.
* What's Here for ENV (#5292)Burdette Lamar2021-12-181-0/+80
| | | [DOC] What's Here for ENV
* * 2021-12-19 [ci skip]git2021-12-191-1/+1
|
* skip -v spec on MJITKoichi Sasada2021-12-191-1/+2
| | | | | | | | | | | | | | | | | | | | | 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
* Fix spelling of DECLAIR_TYPE.Samuel Williams2021-12-191-24/+24
|
* Fix code formatting.Samuel Williams2021-12-181-19/+35
|
* Introduce setup instructions for better parallelism.Samuel Williams2021-12-181-6/+24
|
* Initial hacking guide.Samuel Williams2021-12-181-0/+51
|
* Introduce io_result wrapper for passing `[-errno, size]` in VALUE.Samuel Williams2021-12-185-67/+336
|
* Skip tests on pull requests labeled as DocumentationNobuyoshi Nakada2021-12-1811-11/+11
|
* Fix pull_request condition [ci skip]Nobuyoshi Nakada2021-12-181-1/+1
|