summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-30* 2021-08-30 [ci skip]git
2021-08-30Use proper suffixNobuyoshi Nakada
2021-08-29Support tracing of attr_reader and attr_writerJeremy Evans
In vm_call_method_each_type, check for c_call and c_return events before dispatching to vm_call_ivar and vm_call_attrset. With this approach, the call cache will still dispatch directly to those functions, so this change will only decrease performance for the first (uncached) call, and even then, the performance decrease is very minimal. This approach requires that we clear the call caches when tracing is enabled or disabled. The approach currently switches all vm_call_ivar and vm_call_attrset call caches to vm_call_general any time tracing is enabled or disabled. So it could theoretically result in a slowdown for code that constantly enables or disables tracing. This approach does not handle targeted tracepoints, but from my testing, c_call and c_return events are not supported for targeted tracepoints, so that shouldn't matter. This includes a benchmark showing the performance decrease is minimal if detectable at all. Fixes [Bug #16383] Fixes [Bug #10470] Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> Notes: Merged: https://github.com/ruby/ruby/pull/4767
2021-08-29[ruby/irb] Version 1.3.8.pre.1aycabta
https://github.com/ruby/irb/commit/9f82ae66fc
2021-08-29[ruby/reline] Version 0.2.8.pre.1aycabta
https://github.com/ruby/reline/commit/2668715509
2021-08-29[ruby/reline] Make autocomplete dialog is registered firstaycabta
https://github.com/ruby/reline/commit/d027dbe118
2021-08-29[ruby/reline] Delete show doc dialog to move it to IRBaycabta
https://github.com/ruby/reline/commit/640102fe27
2021-08-29[ruby/reline] Remove an unnecessary variableaycabta
https://github.com/ruby/reline/commit/3b8cc5ce0a
2021-08-29[ruby/reline] Remove dialog_proc_list accessor of Relineaycabta
https://github.com/ruby/reline/commit/ac8fa84f4d
2021-08-29[ruby/reline] Move constants of dialogs to under Relineaycabta
https://github.com/ruby/reline/commit/9100ea2934
2021-08-29[ruby/reline] Use default dialog context to communicate othersaycabta
https://github.com/ruby/reline/commit/5e67e6ffe0
2021-08-29[ruby/reline] Clear dialog by C-caycabta
https://github.com/ruby/reline/commit/f66a079c85
2021-08-29[ruby/reline] Clear completion journey data when finishedaycabta
https://github.com/ruby/reline/commit/03716a411e
2021-08-29[ruby/reline] Use colored doc output with ANSI escape sequenceaycabta
https://github.com/ruby/reline/commit/7d1c75b43f
2021-08-29[ruby/reline] Suppress crashes on nilaycabta
https://github.com/ruby/reline/commit/b5f62c366b
2021-08-29[ruby/reline] Support custom bg coloraycabta
https://github.com/ruby/reline/commit/cd0cbf53d5
2021-08-29[ruby/reline] Fix tests so that the completion journey starts on first C-n/C-paycabta
https://github.com/ruby/reline/commit/52a40f2cd3
2021-08-29[ruby/reline] Show method or class doc correctlyaycabta
https://github.com/ruby/reline/commit/a505294f12
2021-08-29[ruby/reline] Implement doc display dialog in conjunction with autocompleteaycabta
https://github.com/ruby/reline/commit/e97bbc4ccf
2021-08-29[ruby/reline] Add the ability to handle context between dialogsaycabta
https://github.com/ruby/reline/commit/063d9c70d9
2021-08-29[ruby/reline] Support for multiple dialog renderingaycabta
https://github.com/ruby/reline/commit/f589fab718
2021-08-29[ruby/reline] Cut out the autocomplete callbackaycabta
https://github.com/ruby/reline/commit/46aa2694da
2021-08-29[ruby/reline] Remove @dialog_updown and @dialog_contents_widthaycabta
https://github.com/ruby/reline/commit/458cb8a9cc
2021-08-29[ruby/reline] Implement dynamic selection of candidatesaycabta
https://github.com/ruby/reline/commit/e46437df00
2021-08-29[ruby/reline] Remove unnecessary conditionaycabta
https://github.com/ruby/reline/commit/07e911ec8e
2021-08-29[ruby/reline] Completion journey starts with one of candidatesaycabta
First one is just original string. https://github.com/ruby/reline/commit/ccb70cc240
2021-08-29[ruby/reline] Fix typoaycabta
https://github.com/ruby/reline/commit/6370353c71
2021-08-29[ruby/reline] Move cursor correctly when current line is auto wrappedaycabta
https://github.com/ruby/reline/commit/14c8fade54
2021-08-29[ruby/reline] Update dialog backup before clearingaycabta
https://github.com/ruby/reline/commit/a39e2c8813
2021-08-29[ruby/reline] Show autocomplete correctly when starts from prev lineaycabta
https://github.com/ruby/reline/commit/f31a76ff31
2021-08-29[ruby/reline] Remove unnecessary metadata between linesaycabta
https://github.com/ruby/reline/commit/83928249e3
2021-08-29[ruby/reline] Combine vertical processing into @dialog_vertical_offsetaycabta
https://github.com/ruby/reline/commit/600b93620c
2021-08-29[ruby/reline] Drop too much contents before processingaycabta
https://github.com/ruby/reline/commit/94f7027edc
2021-08-29[ruby/reline] Display autocomplete below original line if end point was wrappedaycabta
https://github.com/ruby/reline/commit/49f3392d59
2021-08-29[ruby/reline] Scroll properly to create marginaycabta
https://github.com/ruby/reline/commit/064d54f8f1
2021-08-29[ruby/reline] Move dialog pos to left when goes beyond right edgeaycabta
https://github.com/ruby/reline/commit/f1efa2b062
2021-08-29[ruby/reline] Support hide/show cursor on Windowsaycabta
https://github.com/ruby/reline/commit/0c870813bd
2021-08-29[ruby/reline] Hide cursor when rendering dialogaycabta
https://github.com/ruby/reline/commit/a9050cf676
2021-08-29[ruby/reline] Remove debug codeaycabta
https://github.com/ruby/reline/commit/2389d175f7
2021-08-29[ruby/reline] Clear after cursoraycabta
https://github.com/ruby/reline/commit/4d7503cd1f
2021-08-29[ruby/reline] Move cursor to rerender right margin of dialog correctlyaycabta
https://github.com/ruby/reline/commit/554855013b
2021-08-29[ruby/reline] Create windows.rbusa
see issue #317 https://github.com/ruby/reline/commit/aad164de93
2021-08-29[ruby/reline] Add "sleep 0.01" to Windows event loopaycabta
https://github.com/ruby/reline/commit/dfc89eae53
2021-08-29[ruby/reline] Add comments about where rerenderingaycabta
https://github.com/ruby/reline/commit/4406069b7e
2021-08-29[ruby/reline] Use background color instead of border frameaycabta
https://github.com/ruby/reline/commit/8f1db0a076
2021-08-29[ruby/reline] Suppress warning; unused variableaycabta
https://github.com/ruby/reline/commit/74a6124e8d
2021-08-29[ruby/reline] Remove an unnecessary variableaycabta
https://github.com/ruby/reline/commit/5435c1aa3f
2021-08-29[ruby/reline] Implement dialog with autocomplete callbackaycabta
https://github.com/ruby/reline/commit/1401d6165e
2021-08-29[ruby/reline] Separate calling completion proc with checking argsaycabta
https://github.com/ruby/reline/commit/3203cb97db
2021-08-29[ruby/irb] Update dependency to "reline >= 0.2.7.pre.1" for use dialog ↵aycabta
feature in tests https://github.com/ruby/irb/commit/df04a9a881