aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Ignore warnings about ambiguous first argument of regexp with assert match.Hiroshi SHIBATA2019-06-014-16/+16
|
* Add a benchmark using IRB::ColorTakashi Kokubun2019-06-011-0/+13
| | | | | | | I heard actually this part would not be a bottleneck for rendering because writing anything to terminal takes way longer time anyway, but I thought this benchmark script might be useful for benchmarking Ruby itself.
* Merge rubygems master from upstream.Hiroshi SHIBATA2019-06-0155-1026/+1024
| | | | I picked the commit from 3c469e0da538428a0ddd94f99aa73c32da22e8ba
* Add myself as OpenBSD platform maintainerJeremy Evans2019-06-011-0/+2
|
* Reset Config at Reline::Config::Test#teardownaycabta2019-06-011-0/+1
|
* Remove an unnecessary argumentaycabta2019-06-011-15/+11
|
* Just use `File.readlines`Nobuyoshi Nakada2019-06-011-3/+1
|
* * expand tabs.git2019-06-011-4/+4
|
* Make opt_aref instruction support Integer#[]Yusuke Endoh2019-06-014-4/+9
| | | | | | | | | | | | only when its receiver and the argument are both Integers. Since 6bedbf4625, Integer#[] has supported a range extraction. This means that Integer#[] now accepts multiple arguments, which made the method very slow unfortunately. This change fixes the performance issue by adding a special handling for its traditional use case: `num[idx]` where both `num` and `idx` are Integers.
* Use inputrc data for keystroke settingaycabta2019-06-018-82/+109
|
* Fix FrozenError when assigning frozen class to constantNobuyoshi Nakada2019-06-012-2/+6
| | | | | * variable.c (set_namespace_path): modules/classes can get named by assignment to constant, even if frozen. [Bug #15891]
* appveyor.yml again!MSP-Greg2019-06-011-2/+2
| | | | | This issuse is caused by MSYS2 changing from using ncurses to pdcurses. Appveyor's MSYS2 is so out-of-date that partial updates are 'troublesome'...
* Update to ruby/spec@cfe908cBenoit Daloze2019-05-311-0/+35
|
* Update to ruby/mspec@a57a9afBenoit Daloze2019-05-311-42/+13
|
* Seprate raw keystroke config for each platformsNobuyoshi Nakada2019-06-014-25/+27
|
* * 2019-06-01git2019-06-011-2/+2
|
* Support Home and End key to move to beg and endaycabta2019-06-011-2/+6
|
* Use IO#sync= instead of a monkey patchaycabta2019-05-311-7/+1
|
* Flush I/O immediately if RELINE_STDERR_TTY is setaycabta2019-05-311-0/+7
|
* Bump irb version to 1.1.0.pre.1.Hiroshi SHIBATA2019-05-311-2/+2
| | | | Becausee the current irb support reline and have many of changes.
* [DOC] JIS X 0301 has been updatedNobuyoshi Nakada2019-05-311-3/+2
| | | | | | | | [ruby-dev:50790] * https://www.meti.go.jp/press/2019/05/20190520006/20190520006.html * https://www.meti.go.jp/press/2019/05/20190520006/20190520006-2.pdf [ci skip]
* Let irb use an empty file as irbrcNobuyoshi Nakada2019-05-312-1/+3
| | | | to get rid of side-effect by existing .irbrc file.
* UNIX domain socket name length has a certain limitNobuyoshi Nakada2019-05-311-1/+6
|
* Use UNALIGNED_MEMBER_PTRNobuyoshi Nakada2019-05-318-33/+38
| | | | | | | | | | | * internal.h (UNALIGNED_MEMBER_ACCESS, UNALIGNED_MEMBER_PTR): moved from eval_intern.h. * compile.c iseq.c, vm.c: use UNALIGNED_MEMBER_PTR for `entries` in `struct iseq_catch_table`. * vm_eval.c, vm_insnhelper.c: use UNALIGNED_MEMBER_PTR for `body` in `rb_method_definition_t`.
* Keep vm->orig_progname aliveAlan Wu2019-05-312-0/+9
| | | | | | | | `vm->orig_progname` can be different from `vm->progname` when user code assigns to `$0`. While `vm->progname` is kept alive by the global table, nothing marked `vm->orig_progname`. [Bug #15887]
* Also GCC 9 provides -Waddress-of-packed-memberNobuyoshi Nakada2019-05-311-1/+1
|
* STATIC_ASSERT for VM_METHOD_TYPE_MINIMUM_BITSNobuyoshi Nakada2019-05-311-1/+2
|
* Add --limit option and default it to 20Nobuyoshi Nakada2019-05-311-1/+5
|
* Prefer the current branch or tag nameNobuyoshi Nakada2019-05-311-2/+15
|
* Define RUBY_FULL_REVISIONNobuyoshi Nakada2019-05-312-3/+10
| | | | Only if the short revision differs from the full revision.
* Fix visibility of some methods when using DelegateClassJeremy Evans2019-05-302-5/+42
| | | | | | | | | | | | | | | | Public instance methods added to a delegated class after the creation of the delegate class were not returned by the public_instance_methods class method of the delegate class. Protected instance methods in the delegated class when the delegate class is created were returned by the public_methods instance method of the delegate class. Patch mostly from Kenichi Kamiya <kachick1@gmail.com> in GitHub pull request 926. Minor changes to get it to apply, and to fix tests after applying by me. Fixes [Bug #11512]
* Allow DelegateClass() to module_eval given blockJeremy Evans2019-05-303-1/+22
| | | | | | | | | | Methods that return classes often module_eval the given block (e.g. Class.new and Struct.new). This allows DelegateClass to work similarly. This makes it easier to use DelegateClass directly without subclassing, so as not to create an unnecessary subclass. Implements [Feature #15842]
* Fix typo :bug: [ci skip]Takashi Kokubun2019-05-311-1/+1
|
* Set git config to commit mjit-debugTakashi Kokubun2019-05-311-1/+3
| | | | | As it failed to commit like: https://app.wercker.com/ruby/ruby/runs/mjit-test1/5cefd8a8105780001c4f2d5d?step=5cefdd1e48fad200077fa3f8
* Warn compile_error only when input is finishedTakashi Kokubun2019-05-314-23/+71
| | | | | | | | | | | | | | | | | | | | Let's say we are in progress to write `"foo"`: ``` irb> "fo ``` at this moment, nothing is wrong. It would be just a normal way to write `"foo"`. Prior to this commit, the `fo` part was warned because of 5b64d7ac6e7cbf759b859428f125539e58bac0bd. But I think warning such a normal input is not valuable for users. However, we'd like to warn `:@1` or `@@1` which is also a syntax error. Then this commit switches the syntax highlight based on whether the input text is finished or not. When it's not finished yet, it does not warn compile_error.
* Abstract away Ripper::Lexer#scan in IRB::Color#scanTakashi Kokubun2019-05-311-16/+21
| | | | | | because 5b64d7ac6e7cbf759b859428f125539e58bac0bd made it hard to understand #colorize_code for me and this change is needed for my next commit.
* Finish with ^D only when input is completely empty in vi insert modeaycabta2019-05-311-1/+1
|
* Update to ruby/spec@0ba5312Benoit Daloze2019-05-303-29/+58
|
* Update to ruby/mspec@3cc36d0Benoit Daloze2019-05-303-11/+7
|
* * 2019-05-31v2_7_0_preview1git2019-05-311-1/+1
|
* Make the target name unique when BASERUBY=noNobuyoshi Nakada2019-05-311-1/+1
|
* Touch Unicode headers and the timestamp before packagingNobuyoshi Nakada2019-05-301-1/+3
| | | | Not to download Unicode data files at building from the packages.
* Fix missing `gitcmd`Nobuyoshi Nakada2019-05-301-1/+1
|
* vcs.rb support non-inplace buildNARUSE, Yui2019-05-301-12/+16
|
* parse.y: adjust here-doc error tokenNobuyoshi Nakada2019-05-302-7/+14
| | | | | | * parse.y (here_document): adjust token to the here-doc identifier in compile_error when a here-document misses the closing identifier.
* Include stack elements left after errorsNobuyoshi Nakada2019-05-302-1/+23
|
* Use rebuilt buffer data to rerender allaycabta2019-05-301-4/+5
|
* Use start_with? for escaped quote tooaycabta2019-05-301-1/+1
|
* Use negative lookahead and start_with?aycabta2019-05-301-1/+1
|
* Fix strange vertical cursor moving when adding a newline at bottomaycabta2019-05-301-2/+6
|