aycabta
e1ee7f9ced
[ruby/reline] Version 0.2.8.pre.2
...
5e3ea74891
2021-08-30 02:37:23 +09:00
aycabta
62555d7ae6
[ruby/reline] Set autocompletion is false by default
...
For compatibility with ext/readline.
13d9b936bc
2021-08-30 02:37:23 +09:00
aycabta
24a26db795
[ruby/reline] Disable autocompletion in tests
...
9b1913567a
2021-08-30 02:37:23 +09:00
aycabta
3a2e2a6848
[ruby/reline] Add Reline.autocompletion=() interface
...
a2e69f6277
2021-08-30 02:37:23 +09:00
aycabta
935bb4c617
[ruby/reline] Add autocompletion on emacs mode by Tab / S-Tab
...
22d0b4e5d8
2021-08-30 02:37:23 +09:00
aycabta
11b825076b
[ruby/reline] Add config.autocompletion
...
3d918e4ccb
2021-08-30 02:37:23 +09:00
aycabta
60eb328d42
[ruby/irb] Version 1.3.8.pre.2
...
ff111173fd
2021-08-30 02:34:18 +09:00
aycabta
b35eff27dd
[ruby/irb] Update dependency, reline >= 0.2.8.pre.3
...
2f1d989d7c
2021-08-30 02:33:34 +09:00
aycabta
3bbe860e50
[ruby/irb] Remove path settings for debugging
...
48029944a5
2021-08-30 02:33:29 +09:00
aycabta
4750dfa6db
[ruby/irb] Update dependency to "reline >= 0.2.7.pre.2" for Reline.autocomplete=()
...
66178f34b9
2021-08-30 02:33:21 +09:00
Nobuyoshi Nakada
a40f9c4a51
Fix empty values to booleans
2021-08-30 01:30:13 +09:00
Nobuyoshi Nakada
9f9ea28375
Fix dllimport attribute
2021-08-30 00:52:16 +09:00
git
806786ff20
* 2021-08-30 [ci skip]
2021-08-30 00:18:56 +09:00
Nobuyoshi Nakada
9227989343
Use proper suffix
2021-08-30 00:18:16 +09:00
Jeremy Evans
2d98593bf5
Support tracing of attr_reader and attr_writer
...
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>
2021-08-29 07:23:39 -07:00
aycabta
5f7c2291d6
[ruby/irb] Version 1.3.8.pre.1
...
9f82ae66fc
2021-08-29 20:33:21 +09:00
aycabta
8876710f2a
[ruby/reline] Version 0.2.8.pre.1
...
2668715509
2021-08-29 20:30:33 +09:00
aycabta
7857a1ab66
[ruby/reline] Make autocomplete dialog is registered first
...
d027dbe118
2021-08-29 20:30:33 +09:00
aycabta
535a1cc71c
[ruby/reline] Delete show doc dialog to move it to IRB
...
640102fe27
2021-08-29 20:30:33 +09:00
aycabta
74ba532883
[ruby/reline] Remove an unnecessary variable
...
3b8cc5ce0a
2021-08-29 20:30:33 +09:00
aycabta
3248c42592
[ruby/reline] Remove dialog_proc_list accessor of Reline
...
ac8fa84f4d
2021-08-29 20:30:33 +09:00
aycabta
32124de17e
[ruby/reline] Move constants of dialogs to under Reline
...
9100ea2934
2021-08-29 20:30:33 +09:00
aycabta
29586ec9f3
[ruby/reline] Use default dialog context to communicate others
...
5e67e6ffe0
2021-08-29 20:30:33 +09:00
aycabta
b023ef8594
[ruby/reline] Clear dialog by C-c
...
f66a079c85
2021-08-29 20:30:33 +09:00
aycabta
d41d41da38
[ruby/reline] Clear completion journey data when finished
...
03716a411e
2021-08-29 20:30:33 +09:00
aycabta
6273b9bb62
[ruby/reline] Use colored doc output with ANSI escape sequence
...
7d1c75b43f
2021-08-29 20:30:33 +09:00
aycabta
3d757ba1b6
[ruby/reline] Suppress crashes on nil
...
b5f62c366b
2021-08-29 20:30:33 +09:00
aycabta
acd15a39d2
[ruby/reline] Support custom bg color
...
cd0cbf53d5
2021-08-29 20:30:33 +09:00
aycabta
7ea46c1ef2
[ruby/reline] Fix tests so that the completion journey starts on first C-n/C-p
...
52a40f2cd3
2021-08-29 20:30:33 +09:00
aycabta
78f46e6576
[ruby/reline] Show method or class doc correctly
...
a505294f12
2021-08-29 20:30:33 +09:00
aycabta
7e8a627052
[ruby/reline] Implement doc display dialog in conjunction with autocomplete
...
e97bbc4ccf
2021-08-29 20:30:33 +09:00
aycabta
4cd344c958
[ruby/reline] Add the ability to handle context between dialogs
...
063d9c70d9
2021-08-29 20:30:33 +09:00
aycabta
8d4370b066
[ruby/reline] Support for multiple dialog rendering
...
f589fab718
2021-08-29 20:30:33 +09:00
aycabta
acffb0b068
[ruby/reline] Cut out the autocomplete callback
...
46aa2694da
2021-08-29 20:30:33 +09:00
aycabta
164e486225
[ruby/reline] Remove @dialog_updown and @dialog_contents_width
...
458cb8a9cc
2021-08-29 20:30:33 +09:00
aycabta
4b2b10707a
[ruby/reline] Implement dynamic selection of candidates
...
e46437df00
2021-08-29 20:30:33 +09:00
aycabta
8e463e3e73
[ruby/reline] Remove unnecessary condition
...
07e911ec8e
2021-08-29 20:30:33 +09:00
aycabta
fdc005e54e
[ruby/reline] Completion journey starts with one of candidates
...
First one is just original string.
ccb70cc240
2021-08-29 20:30:33 +09:00
aycabta
18c0814fe0
[ruby/reline] Fix typo
...
6370353c71
2021-08-29 20:30:33 +09:00
aycabta
475038a622
[ruby/reline] Move cursor correctly when current line is auto wrapped
...
14c8fade54
2021-08-29 20:30:33 +09:00
aycabta
ff43b0f2dd
[ruby/reline] Update dialog backup before clearing
...
a39e2c8813
2021-08-29 20:30:33 +09:00
aycabta
ca1a2d1f68
[ruby/reline] Show autocomplete correctly when starts from prev line
...
f31a76ff31
2021-08-29 20:30:33 +09:00
aycabta
06bd48aba8
[ruby/reline] Remove unnecessary metadata between lines
...
83928249e3
2021-08-29 20:30:33 +09:00
aycabta
081e5de34d
[ruby/reline] Combine vertical processing into @dialog_vertical_offset
...
600b93620c
2021-08-29 20:30:33 +09:00
aycabta
f863ed5210
[ruby/reline] Drop too much contents before processing
...
94f7027edc
2021-08-29 20:30:33 +09:00
aycabta
fb9fe4c43f
[ruby/reline] Display autocomplete below original line if end point was wrapped
...
49f3392d59
2021-08-29 20:30:33 +09:00
aycabta
9b2afb2eed
[ruby/reline] Scroll properly to create margin
...
064d54f8f1
2021-08-29 20:30:33 +09:00
aycabta
85dd0ad5e0
[ruby/reline] Move dialog pos to left when goes beyond right edge
...
f1efa2b062
2021-08-29 20:30:33 +09:00
aycabta
d768eeeddb
[ruby/reline] Support hide/show cursor on Windows
...
0c870813bd
2021-08-29 20:30:33 +09:00
aycabta
02a61fe33f
[ruby/reline] Hide cursor when rendering dialog
...
a9050cf676
2021-08-29 20:30:32 +09:00