Commit graph

67695 commits

Author SHA1 Message Date
aycabta
a22c04a1d9 [ruby/reline] Add a test that autocomplete doesn't crash after 2nd line
f682c74975
2021-09-10 09:06:29 +09:00
aycabta
d1498f93ab [ruby/reline] Add a test that dialog doesn't crash when callback returns nil
2c6f604b98
2021-09-10 09:06:19 +09:00
aycabta
b00522608f [ruby/reline] Add a test that autocompletion returns to the original text
d80880e56b
2021-09-10 09:06:08 +09:00
aycabta
90f0f22fcc [ruby/reline] Use single quotes to match others in the file
a17de2d6d8
2021-09-10 09:05:56 +09:00
aycabta
9066496aa3 [ruby/reline] Add a test that autocomplete dialog doesn't crash when empty
9c0080c27f
2021-09-10 09:05:45 +09:00
aycabta
8e6ed5d75b [ruby/reline] Add a test for when completion target is wrapped
25a94d70c3
2021-09-10 09:05:35 +09:00
aycabta
5af602e4d4 [ruby/reline] Erase lines correctly when dialog height is changed
68d2516551
2021-09-10 09:05:25 +09:00
aycabta
f51ce20c6a [ruby/reline] Fix complete proc of a script for tests
ee1c1adddc
2021-09-10 09:05:14 +09:00
aycabta
963e2c33b6 [ruby/reline] Add a test that dialog may appear at the top if cursor at bottom edge
6c2ab47958
2021-09-10 09:05:05 +09:00
aycabta
c00643c18a [ruby/reline] Add a test for dialog at right edge
db642169b9
2021-09-10 09:04:56 +09:00
aycabta
c25511ef46 [ruby/reline] Add a test for dialog with scroll key
99640abf75
2021-09-10 09:04:47 +09:00
aycabta
c94735fa24 [ruby/reline] Add tests for autocomplete with scrollbar
29634cbc93
2021-09-10 09:04:41 +09:00
aycabta
364e646317 [ruby/reline] Add a test for simple dialog
d70f507e2c
2021-09-10 09:04:36 +09:00
aycabta
4475953378 [ruby/reline] Add a simple test for autocomplete
11f83b2f4b
2021-09-10 09:04:30 +09:00
Nobuyoshi Nakada
7983fb9658 [ruby/irb] Tests may not execute in the source directory
f4aaa70cfc
2021-09-10 08:34:51 +09:00
aycabta
62cecea073 Find irb command path in test 2021-09-10 07:43:01 +09:00
aycabta
7cc298a484 [ruby/irb] Pend on truffleruby
fbf52d9608
2021-09-10 06:37:07 +09:00
aycabta
3bd596efa4 [ruby/irb] Remove an unused variable
5bf1cb2078
2021-09-10 06:37:07 +09:00
aycabta
90afe5f11f [ruby/irb] Move IRB::TOPLEVEL_BINDING from exe/irb to lib/irb/workspace.rb
e736a77076
2021-09-10 06:37:07 +09:00
Marc-Andre Lafortune
3503c94af5 [ruby/irb] Avoid loading files' local variables [Bug #17623]
b12f0cb8e2
2021-09-10 06:37:06 +09:00
git
192147afd8 * 2021-09-10 [ci skip] 2021-09-10 04:59:35 +09:00
aycabta
d86c1a3161 [ruby/irb] Add yamatanooroti test for symbol with backtick
4d32f0e88e
2021-09-10 04:59:25 +09:00
aycabta
f085a6fb69 [ruby/irb] Support symbol with backtick
0aa2425883
2021-09-10 04:59:17 +09:00
Jun Aruga
419e6ed464 Update the Travis badge URL in README. [ci skip]
It seems the current URL is outdated, as it is not reachable.
2021-09-09 16:56:28 +02:00
Yusuke Endoh
141db4f383 test/psych/test_scalar_scanner.rb: Prevent a warning
```
[ 4696/20990] TestAst#test_ranges:test/psych/test_scalar_scanner.rb(none):138: warning: ambiguous first argument; put parentheses or a space even after `-' operator
```
20210909T123007Z.log.html.gz
2021-09-09 23:35:03 +09:00
Soutaro Matsumoto
34839e41f1
Bundle RBS 1.6.2 (#4817) 2021-09-09 21:45:14 +09:00
git
847c70011e * 2021-09-09 [ci skip] 2021-09-09 14:51:47 +09:00
Nobuyoshi Nakada
2bd6c5dc16 [ruby/date] Ignore warned variables
To suppress warnings at the compilation time.

ff21132203
2021-09-09 13:56:13 +09:00
Peter Zhu
5d81554281 [Bug #18154] Fix memory leak in String#initialize
String#initialize can leak memory when called on a string that is marked
with STR_NOFREE because it does not unset the STR_NOFREE flag.
2021-09-08 10:20:12 -04:00
Nobuyoshi Nakada
0b9242ffac
[Misc #18153] Install debug symbol files/directories by the option 2021-09-08 18:51:49 +09:00
git
00fd7dac32 Update bundled_gems at 2021-09-08 2021-09-08 07:03:25 +00:00
aycabta
580f340c33 [ruby/irb] Use "csv" for test
The "csv" doesn't conflict with other stdlib names in any Ruby processing
system.

49203a1c83
2021-09-08 05:24:04 +09:00
aycabta
bc24af0f35 [ruby/irb] Show lib name first because it's the most common use case
74d635758b
2021-09-08 05:23:56 +09:00
aycabta
c5e8088c7e [ruby/irb] Define absolute_path? by myself for backward compatibility
d9c0dc043e
2021-09-08 05:23:50 +09:00
aycabta
04984415a5 [ruby/irb] Use gem paths to complete "require"
c870b23455
2021-09-08 05:23:45 +09:00
aycabta
e4eb085329 [ruby/reline] Render scrollbar when the column of the dialog is moved
5cea268e56
2021-09-08 03:34:51 +09:00
aycabta
8b6d757ba0 [ruby/reline] Remove variables that have no meaning in calculations
3b7a1900fd
2021-09-08 03:34:46 +09:00
aycabta
11a00e3fa2 [ruby/reline] Remove garbage left behind when rerendering the right side of the dialog
d89c23e30b
2021-09-08 03:34:40 +09:00
Benoit Daloze
258661409e Update to ruby/spec@b1e93a2 2021-09-07 19:01:07 +02:00
Benoit Daloze
a375640ea5 Update to ruby/mspec@e768949 2021-09-07 19:01:03 +02:00
aycabta
95089ddaf4 [ruby/reline] Move only one line when render a line and then go to the next line
8a966cd962
2021-09-08 01:11:13 +09:00
aycabta
6faf653ab0 [ruby/reline] The #reset_dialog should also use calculated block elem width
577df401b9
2021-09-08 00:13:21 +09:00
aycabta
5a01da7a29 [ruby/reline] Remove debug print
6f82177f2e
2021-09-08 00:08:48 +09:00
aycabta
b766214851 [ruby/reline] Calculate block elem width only once
3054a67d05
2021-09-08 00:08:43 +09:00
aycabta
0ef3d574a0 [ruby/reline] Ensure that scrollbar is only rerendered when the position is changed
f629853eae
2021-09-08 00:08:38 +09:00
git
3c77f00965 * 2021-09-08 [ci skip] 2021-09-08 00:04:57 +09:00
aycabta
30486d9150 [ruby/reline] The width of Block Elements in Unicode is East Asian Ambiguous
05e8ab8cbb
2021-09-08 00:04:40 +09:00
Nobuyoshi Nakada
26153667f9 [ruby/pathname] Prefer omit over skip
abd0b91044
2021-09-07 13:02:56 +09:00
aycabta
b4d9126e43 [ruby/reline] Refactor the merging key bindings to make it more readable
59665a22de
2021-09-07 03:23:33 +09:00
aycabta
2441bc8ea9 [ruby/reline] Change the comment about key bindings to more appropriate
4364d9a386
2021-09-07 03:23:26 +09:00