kouji
257c314fbb
* ext/readline/extconf.rb: checked rl_refresh_line in readline.
...
* ext/readline/readline.c (readline_s_refresh_line): add new
method, a patch from Koichiro Ohba. see [ruby-list:45922].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-10 13:03:40 +00:00
kouji
89fd521319
* ext/readline/extconf.rb: checked rl_line_buffer and rl_point in
...
readline.
* ext/readline/readline.c (readline_s_get_line_buffer): new method.
(readline_s_get_point): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-10 12:13:18 +00:00
nobu
287a34ae0d
* {ext,lib,test}/**/*.rb: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 03:56:38 +00:00
kouji
d60cd5b379
* ext/readline/extconf.rb: checked rl_set_screen_size and
...
rl_get_screen_size.
* ext/readline/readline.c (readline_s_set_screen_size): added
Readline.set_screen_size.
* ext/readline/readline.c (readline_s_get_screen_size): added
Readline.get_screen_size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 12:21:08 +00:00
kouji
67cd02b40c
* test/readline/test_readline.rb
...
(TestReadline#test_some_characters_methods): checked encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-21 04:51:43 +00:00
kouji
8b123714e2
* ext/readline/readline.c
...
(readline_s_get_completion_append_character): uses locale
encoding but not ASCII-8BIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-12 16:13:11 +00:00
nobu
00b4a3f9c4
* test: assert_raises has been deprecated since a long time ago.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 17:44:39 +00:00
kouji
fa9ef4bf00
* test/readline/test_readline.rb (TestReadline#test_safe_level_4):
...
tested Readline.vi_editing_mode? and Readline.emacs_editing_mode?.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-12 06:17:48 +00:00
kouji
aa2a222f9c
* ext/readline/README.ja: added API document for
...
Readline.vi_editing_mode? and Readline.emacs_editing_mode?.
* ext/readline/extconf.rb: checked rl_editing_mode variable in
Readline library.
* ext/readline/readline.c (readline_s_emacs_editing_mode_p): added
Readline.emacs_editing_mode? method.
(readline_s_vi_editing_mode_p): added Readline.vi_editing_mode?
method.
(Init_readline): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-11 08:31:45 +00:00
kouji
5898c07466
* test/readline/test_readline.rb: added test for Readline's class
...
methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-11 07:58:02 +00:00
shugo
759410a8c9
* test/readline/test_readline.rb (TestReadline::replace_stdio):
...
merged the patch of [ruby-dev:25232] instead of [ruby-dev:25223].
(merged from ruby_1_8 branch)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-22 08:33:05 +00:00
shugo
4a3fffdccb
* ext/readline/readline.c (readline_readline): do not set rl_{in,out}stream.
...
* ext/readline/readline.c (readline_s_set_input): new method.
* ext/readline/readline.c (readline_s_set_output): new method.
* lib/irb/input-method.rb: set Readline.input and Readline.output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-17 16:18:56 +00:00
shugo
6e02769837
* test/readline/test_readline.rb: do not test libedit.
...
fixed: [ruby-dev:26217]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-24 08:48:41 +00:00
shugo
3fd16970f3
* ext/readline/readline.c: supported libedit. fixed: [ruby-core:4858]
...
* ext/readline/extconf.rb: added new option --enable-libedit.
* test/readline/test_readline.rb: added assertions for
Readline::HISTORY.
* lib/irb/input-method.rb: do not use Readline::HISTORY.pop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-19 14:36:20 +00:00
shugo
c741090753
* test/readline/test_readline.rb: fix for NetBSD.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02 01:54:13 +00:00
shugo
964171ebfa
* ext/readline/readline.c (readline_s_set_completion_append_character):
...
accept nil. [ruby-core:03765]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19 01:38:38 +00:00
shugo
1e6cdc00e7
* ext/readline/readline.c: check $SAFE.
...
* test/readline/test_readline.rb: added tests for readline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18 06:12:12 +00:00