aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Join next line if deletes newline at end of lineaycabta2019-05-281-0/+8
|
* Exit only when blank inputaycabta2019-05-281-1/+1
|
* Supress duplicated warningKazuki Tsujimoto2019-05-281-0/+3
|
* Support OSC and treat \1 \2 correctlyaycabta2019-05-281-12/+53
|
* Revert "Support OSC and treat \1 \2 correctly"aycabta2019-05-281-53/+12
| | | | This reverts commit 77bfebebc44c5e46ebd156d074081846c037f882.
* * 2019-05-28git2019-05-281-1/+1
|
* Support OSC and treat \1 \2 correctlyaycabta2019-05-281-12/+53
|
* Colorize error partNobuyoshi Nakada2019-05-272-3/+19
|
* Do not make an incomplete escape a valid charNobuyoshi Nakada2019-05-272-5/+5
|
* Ripper#tokenNobuyoshi Nakada2019-05-272-4/+28
| | | | | * parse.y (ripper_token): added Ripper#token which returns the current token string. [EXPERIMENTAL]
* check the object is in tomb_heap.Koichi Sasada2019-05-271-0/+13
|
* add a space between type and othersKoichi Sasada2019-05-271-1/+1
|
* add a line break for each error messageKoichi Sasada2019-05-271-10/+10
|
* fix GC.verify_internal_consistency.Koichi Sasada2019-05-271-16/+51
| | | | | | | | | | Fix debug output to dump more useful information on GC.compact debugging. check_rvalue_consistency_force() now accepts `terminate` flag to terminate a program with rb_bug() or only print error message. GC.verify_internal_consistency use this flag (== FALSE) to dump all of debug output.
* is_pointer_to_heap() checks also tomb or not.Koichi Sasada2019-05-271-3/+14
| | | | | | | | | is_pointer_to_heap(obj) checks this obj belong to a heap page. However, this function returns TRUE even if the page is tomb page. This is re-commit of [712c027524]. heap_page_add_freeobj() should not use is_pointer_to_heap(), but should check more explicitly.
* parse.y: removed "parser_" prefix from tokadd_utf8Nobuyoshi Nakada2019-05-271-6/+6
|
* Added #inspect and #pretty_inspect to Ripper::Lexer::ElemNobuyoshi Nakada2019-05-271-1/+16
|
* open-uri: Regenerate server certificates for testsYusuke Endoh2019-05-271-124/+217
| | | | | OpenSSL 1.1.1 requires 2048 bits or more. This change will fix: https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian/ruby-master/log/20190527T003004Z.fail.html.gz#test%2Fopen-uri
* CSI allows empty digit which equals 0Nobuyoshi Nakada2019-05-271-1/+1
|
* context.rb: hide wrapping linesNobuyoshi Nakada2019-05-272-1/+7
| | | | | | * lib/irb/context.rb (IRB::Context#evaluate): separate the code from wrapping lines to propagate the given exception, not to show the wrapping lines when SyntaxError.
* Use IRB::InputMethod#eof? to quitaycabta2019-05-272-2/+2
|
* Fix rendering bug of ^Daycabta2019-05-272-13/+35
|
* Move to next of last line by ^Daycabta2019-05-271-1/+7
|
* Check blank historyaycabta2019-05-271-0/+3
|
* Move to next of last line by ^Caycabta2019-05-272-0/+11
|
* Reline should move to next line after finished in Readline modeaycabta2019-05-271-0/+3
|
* Add support for history with Reline backendSutou Kouhei2019-05-271-4/+6
|
* Move to the other line when press <- at head or -> at tailaycabta2019-05-271-0/+14
|
* Implement J to join lines in vi command modeaycabta2019-05-272-1/+16
|
* Remove \1 and \2 that escape CSI before renderaycabta2019-05-271-0/+4
|
* .azure-pipelines.yml: Add timeout to install dependenciesTakashi Kokubun2019-05-261-0/+1
| | | | to avoid cancelling overall build pipeline when stucking there.
* Highlight global variable on IRBTakashi Kokubun2019-05-262-1/+3
|
* Simplify lexer state matching in #dispatch_seqTakashi Kokubun2019-05-261-26/+30
| | | | for improving readability of the condition. It may be slightly faster, or may not.
* * expand tabs.git2019-05-273-10/+10
|
* Add FrozenError#receiverJeremy Evans2019-05-267-7/+121
| | | | | | | | | | | | | | | | | Similar to NameError#receiver, this returns the object on which the modification was attempted. This is useful as it can pinpoint exactly what is frozen. In many cases when a FrozenError is raised, you cannot determine from the context which object is frozen that you attempted to modify. Users of the current rb_error_frozen C function will have to switch to using rb_error_frozen_object or the new rb_frozen_error_raise in order to set the receiver of the FrozenError. To allow the receiver to be set from Ruby, support an optional second argument to FrozenError#initialize. Implements [Feature #15751]
* Refactor IRB color dispatchTakashi Kokubun2019-05-262-30/+32
| | | | | | | | | | | | | | | The reason why we were checking lexer state in addition to token was that we do not want to colorize local variable, method call, etc., while they share the :on_ident token with a name of method definition which should be colored as blue. It means that we're concerned about the lexer state only for :on_ident. Thus we can skip checking lexer state for non-:on_ident tokens. This refactoring is based on that idea. Also, now we manage Ripper's lexer state as Integer (use `|` if you need to check multiple states). It should be faster than using Array of Integer because #any? block call is not needed.
* Support op, cvar, iver, gvar and kw that follow on symbeg in IRBaycabta2019-05-271-1/+2
|
* Support :@@cvar and : on colorizeaycabta2019-05-272-2/+2
|
* Make the imaginary color on IRB close to pryTakashi Kokubun2019-05-262-6/+8
| | | | and sorted the token names alphabetically.
* Fix indexes in comments of vi_insert.rbaycabta2019-05-271-33/+32
| | | | Previous fix was 2993b361333147f6dfb86a153971c22329ffbaf4.
* Fix number literal regexp of IRB completionaycabta2019-05-271-1/+1
|
* Use correctly RI output in IRB completionaycabta2019-05-271-28/+111
|
* * 2019-05-27git2019-05-271-1/+1
|
* parse.y: broke the terminator condition downNobuyoshi Nakada2019-05-272-7/+13
| | | | | | | * parse.y (here_document): broke the terminator condition down into each piece, the positional condition, resetting the dedented here-document indentation, and matching identifier. suppress a false warning by icc.
* Colorize imaginary and rational literalsNobuyoshi Nakada2019-05-262-0/+4
|
* azure-pipelines.yml: Do not notify vs2017 failureTakashi Kokubun2019-05-261-0/+3
| | | | It has not been stable recently. Let's stop notifying them for now.
* parse.y: adjust error indicatorNobuyoshi Nakada2019-05-263-10/+15
| | | | | | | | | | | | | | | | | * parse.y (parser_yylex): adjust the error indicator of unexpected fraction part. before: ~~~ 1.2.3 ^~~ ~~~ after: ~~~ 1.2.3 ^~ ~~~
* test/ruby/test_notimp.rb: Use EnvUtil.timeout for timeout scale factorNobuyoshi Nakada2019-05-261-1/+1
|
* test/ruby/test_process.rb: Use EnvUtil.timeout for timeout scale factorYusuke Endoh2019-05-261-4/+4
| | | | https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-master/log/20190526T052508Z.fail.html.gz
* test/lib/envutil.rb (EnvUtil.timeout): added.Yusuke Endoh2019-05-262-3/+9
| | | | It is a wrapper for Timeout.timeout with the scale factor applied.