aycabta
1bfba99b79
Close leaked file descripters in tests
2019-06-03 03:38:39 +09:00
aycabta
3428922437
The ed_move_to_beg is different from vi_first_print
2019-06-03 03:29:34 +09:00
Nobuyoshi Nakada
65fdb90325
Reline::LineEditor::ARGUMENTABLE is no longer used
2019-06-03 02:03:15 +09:00
git
aeb3a2b337
* 2019-06-03
2019-06-03 01:36:55 +09:00
Nobuyoshi Nakada
3457ce4486
Fix ArgumentError in aliased macro
...
Closes: https://github.com/ruby/ruby/pull/2221
2019-06-03 01:35:48 +09:00
Nobuyoshi Nakada
f4b060d8d7
Check conditional nestings in INPUTRC
...
Closes: https://github.com/ruby/ruby/pull/2222
2019-06-02 22:58:05 +09:00
Nobuyoshi Nakada
a1e6e45341
Prefer $INPUTRC over the default in the home
...
Closes: https://github.com/ruby/ruby/pull/2222
2019-06-02 22:58:05 +09:00
Kazuhiro NISHIYAMA
4fda39fc87
Use simpler regexp
2019-06-02 22:37:42 +09:00
Nobuyoshi Nakada
d04ebc57f2
Add true condition `Reline`
2019-06-02 20:31:25 +09:00
Jeremy Evans
06a25344d9
Make psych.so deterministic
...
Fixes Ruby Bug #15890
2019-06-02 07:59:56 +03:00
aycabta
486a2c26d6
Add Reline test for unknown macro
2019-06-02 08:50:01 +09:00
aycabta
e360688c4d
Add new test for Reline within pipe
2019-06-02 07:39:12 +09:00
aycabta
28e01f006d
Add comments to key bindings vars of Reline::Config
2019-06-02 07:28:26 +09:00
aycabta
bfd26cc18d
Reline.readmultiline always needs block to confirm termination
2019-06-02 07:21:59 +09:00
aycabta
7b1c1b9492
Suppress error of macro not found
2019-06-02 05:07:13 +09:00
Jeremy Evans
4b9869e7e0
Update String#crypt tests to work on OpenBSD
...
Skip the webrick httpauth tests that use crypt when testing on
OpenBSD.
Fixes [Bug #11363 ]
2019-06-01 10:50:06 -07:00
Nobuyoshi Nakada
09c09eb0db
NEWS: move GC.compact
...
From "Implementation improvements" to "Core classes updates".
2019-06-02 00:42:57 +09:00
Nobuyoshi Nakada
3afae5b572
NEWS: markup class and method names
2019-06-02 00:42:11 +09:00
git
e814d2f84a
* 2019-06-02
2019-06-02 00:36:19 +09:00
Nobuyoshi Nakada
8a041c1b92
delegate.rb: markup method names
2019-06-02 00:34:02 +09:00
Hiroshi SHIBATA
2bad001cfd
Ignore warnings about mismatched indentations.
2019-06-01 15:23:24 +03:00
Hiroshi SHIBATA
464e55f1d0
Ignore warnings about argument prefix with operator symbol.
2019-06-01 15:20:21 +03:00
Hiroshi SHIBATA
3c77ef9adc
Ignore warnings about ambiguous first argument with the negative integer.
2019-06-01 15:07:35 +03:00
Hiroshi SHIBATA
9eecd7a2fd
Ignore warnings about ambiguous first argument of regexp with assert match.
2019-06-01 14:44:24 +03:00
Takashi Kokubun
f630359d9b
Add a benchmark using IRB::Color
...
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-01 20:07:50 +09:00
Hiroshi SHIBATA
56660de3c6
Merge rubygems master from upstream.
...
I picked the commit from 3c469e0da538428a0ddd94f99aa73c32da22e8ba
2019-06-01 13:50:41 +03:00
Jeremy Evans
560cd5b1f0
Add myself as OpenBSD platform maintainer
2019-06-01 00:52:40 -07:00
aycabta
de01c4ec00
Reset Config at Reline::Config::Test#teardown
2019-06-01 16:47:59 +09:00
aycabta
34727475d0
Remove an unnecessary argument
2019-06-01 15:07:52 +09:00
Nobuyoshi Nakada
3034d666e8
Just use `File.readlines`
2019-06-01 14:57:36 +09:00
git
b487b39b85
* expand tabs.
2019-06-01 13:34:55 +09:00
Yusuke Endoh
65e63af377
Make opt_aref instruction support Integer#[]
...
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-01 13:15:43 +09:00
aycabta
7df65ef676
Use inputrc data for keystroke setting
2019-06-01 09:06:27 +09:00
Nobuyoshi Nakada
c1e5299787
Fix FrozenError when assigning frozen class to constant
...
* variable.c (set_namespace_path): modules/classes can get named
by assignment to constant, even if frozen. [Bug #15891 ]
2019-06-01 02:41:14 +09:00
MSP-Greg
aeb9a0ca77
appveyor.yml again!
...
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-06-01 02:16:34 +09:00
Benoit Daloze
1d37cc1900
Update to ruby/spec@cfe908c
2019-05-31 19:02:08 +02:00
Benoit Daloze
f97979ce88
Update to ruby/mspec@a57a9af
2019-05-31 19:02:06 +02:00
Nobuyoshi Nakada
552c42f51f
Seprate raw keystroke config for each platforms
2019-06-01 00:41:17 +09:00
git
8fc552adee
* 2019-06-01
2019-06-01 00:03:18 +09:00
aycabta
88770c2ab6
Support Home and End key to move to beg and end
2019-06-01 00:02:35 +09:00
aycabta
21a43489b1
Use IO#sync= instead of a monkey patch
2019-05-31 22:53:01 +09:00
aycabta
73890d9d79
Flush I/O immediately if RELINE_STDERR_TTY is set
2019-05-31 22:33:08 +09:00
Hiroshi SHIBATA
913661cca0
Bump irb version to 1.1.0.pre.1.
...
Becausee the current irb support reline and have many of changes.
2019-05-31 16:15:43 +03:00
Nobuyoshi Nakada
1457ad1ea7
[DOC] JIS X 0301 has been updated
...
[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-31 19:20:59 +09:00
Nobuyoshi Nakada
8b39df854d
Let irb use an empty file as irbrc
...
to get rid of side-effect by existing .irbrc file.
2019-05-31 16:32:27 +09:00
Nobuyoshi Nakada
b632566d33
UNIX domain socket name length has a certain limit
2019-05-31 16:32:27 +09:00
Nobuyoshi Nakada
b1aecef873
Use UNALIGNED_MEMBER_PTR
...
* 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-31 16:04:16 +09:00
Alan Wu
ea42423908
Keep vm->orig_progname alive
...
`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-31 14:38:35 +09:00
Nobuyoshi Nakada
83f9183a7e
Also GCC 9 provides -Waddress-of-packed-member
2019-05-31 14:05:01 +09:00
Nobuyoshi Nakada
d2f663d6f1
STATIC_ASSERT for VM_METHOD_TYPE_MINIMUM_BITS
2019-05-31 10:55:38 +09:00