summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-01Ignore warnings about argument prefix with operator symbol.Hiroshi SHIBATA
2019-06-01Ignore warnings about ambiguous first argument with the negative integer.Hiroshi SHIBATA
2019-06-01Ignore warnings about ambiguous first argument of regexp with assert match.Hiroshi SHIBATA
2019-06-01Add a benchmark using IRB::ColorTakashi Kokubun
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.
2019-06-01Merge rubygems master from upstream.Hiroshi SHIBATA
I picked the commit from 3c469e0da538428a0ddd94f99aa73c32da22e8ba
2019-06-01Add myself as OpenBSD platform maintainerJeremy Evans
2019-06-01Reset Config at Reline::Config::Test#teardownaycabta
2019-06-01Remove an unnecessary argumentaycabta
2019-06-01Just use `File.readlines`Nobuyoshi Nakada
2019-06-01* expand tabs.git
2019-06-01Make opt_aref instruction support Integer#[]Yusuke Endoh
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.
2019-06-01Use inputrc data for keystroke settingaycabta
2019-06-01Fix FrozenError when assigning frozen class to constantNobuyoshi Nakada
* variable.c (set_namespace_path): modules/classes can get named by assignment to constant, even if frozen. [Bug #15891]
2019-06-01appveyor.yml again!MSP-Greg
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'...
2019-05-31Update to ruby/spec@cfe908cBenoit Daloze
2019-05-31Update to ruby/mspec@a57a9afBenoit Daloze
2019-06-01Seprate raw keystroke config for each platformsNobuyoshi Nakada
2019-06-01* 2019-06-01git
2019-06-01Support Home and End key to move to beg and endaycabta
2019-05-31Use IO#sync= instead of a monkey patchaycabta
2019-05-31Flush I/O immediately if RELINE_STDERR_TTY is setaycabta
2019-05-31Bump irb version to 1.1.0.pre.1.Hiroshi SHIBATA
Becausee the current irb support reline and have many of changes.
2019-05-31[DOC] JIS X 0301 has been updatedNobuyoshi Nakada
[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]
2019-05-31Let irb use an empty file as irbrcNobuyoshi Nakada
to get rid of side-effect by existing .irbrc file.
2019-05-31UNIX domain socket name length has a certain limitNobuyoshi Nakada
2019-05-31Use UNALIGNED_MEMBER_PTRNobuyoshi Nakada
* 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`.
2019-05-31Keep vm->orig_progname aliveAlan Wu
`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]
2019-05-31Also GCC 9 provides -Waddress-of-packed-memberNobuyoshi Nakada
2019-05-31STATIC_ASSERT for VM_METHOD_TYPE_MINIMUM_BITSNobuyoshi Nakada
2019-05-31Add --limit option and default it to 20Nobuyoshi Nakada
2019-05-31Prefer the current branch or tag nameNobuyoshi Nakada
2019-05-31Define RUBY_FULL_REVISIONNobuyoshi Nakada
Only if the short revision differs from the full revision.
2019-05-30Fix visibility of some methods when using DelegateClassJeremy Evans
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]
2019-05-30Allow DelegateClass() to module_eval given blockJeremy Evans
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]
2019-05-31Fix typo :bug: [ci skip]Takashi Kokubun
2019-05-31Set git config to commit mjit-debugTakashi Kokubun
As it failed to commit like: https://app.wercker.com/ruby/ruby/runs/mjit-test1/5cefd8a8105780001c4f2d5d?step=5cefdd1e48fad200077fa3f8
2019-05-31Warn compile_error only when input is finishedTakashi Kokubun
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.
2019-05-31Abstract away Ripper::Lexer#scan in IRB::Color#scanTakashi Kokubun
because 5b64d7ac6e7cbf759b859428f125539e58bac0bd made it hard to understand #colorize_code for me and this change is needed for my next commit.
2019-05-31Finish with ^D only when input is completely empty in vi insert modeaycabta
2019-05-30Update to ruby/spec@0ba5312Benoit Daloze
2019-05-30Update to ruby/mspec@3cc36d0Benoit Daloze
2019-05-31* 2019-05-31v2_7_0_preview1git
2019-05-31Make the target name unique when BASERUBY=noNobuyoshi Nakada
2019-05-30Touch Unicode headers and the timestamp before packagingNobuyoshi Nakada
Not to download Unicode data files at building from the packages.
2019-05-30Fix missing `gitcmd`Nobuyoshi Nakada
2019-05-30vcs.rb support non-inplace buildNARUSE, Yui
2019-05-30parse.y: adjust here-doc error tokenNobuyoshi Nakada
* parse.y (here_document): adjust token to the here-doc identifier in compile_error when a here-document misses the closing identifier.
2019-05-30Include stack elements left after errorsNobuyoshi Nakada
2019-05-30Use rebuilt buffer data to rerender allaycabta
2019-05-30Use start_with? for escaped quote tooaycabta