diff options
| author | kouji <kouji@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-01 15:04:37 +0000 |
|---|---|---|
| committer | kouji <kouji@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-01 15:04:37 +0000 |
| commit | 6d4e61882863f2344b3d9c80ed5924447cda5fb8 (patch) | |
| tree | a2552ea797c8dbabfa9edd0801fbcddfd0546d08 /ChangeLog | |
| parent | dfe9d6f8e3923fb0dbb844f10eec7b37e76ba854 (diff) | |
| download | ruby-6d4e61882863f2344b3d9c80ed5924447cda5fb8.tar.gz ruby-6d4e61882863f2344b3d9c80ed5924447cda5fb8.tar.xz ruby-6d4e61882863f2344b3d9c80ed5924447cda5fb8.zip | |
* ext/readline/extconf.rb: checked to have clear_history in
readline library.
* ext/readline/readline.c (hist_get, hist_each, Init_readline):
The offset specified for the argument of history_get() might be
different in GNU Readline and libedit. If use libedit, it was
corrected that the computational method of the offset specified
for the argument of history_get() when the Readline module was
initialized was decided.
(hist_get, hist_set): If use libedit, accesses first an input
content in history when specifies the negative offset for the
argument of history_get() or replace_history_entry(). Then
checks the offset is negative in ruby.
(rb_remove_history): When compiling, it corrects it to warning
when libedit is used.
(hist_clear, Init_readline): added Readline::HISTORY.clear
method. [ruby-dev:35551]
* test/readline/test_readline_history.rb: added unit test for
Readline::HISTORY.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -1,3 +1,24 @@ +Fri Aug 1 23:49:44 2008 TAKAO Kouji <kouji@takao7.net> + + * ext/readline/extconf.rb: checked to have clear_history in + readline library. + * ext/readline/readline.c (hist_get, hist_each, Init_readline): + The offset specified for the argument of history_get() might be + different in GNU Readline and libedit. If use libedit, it was + corrected that the computational method of the offset specified + for the argument of history_get() when the Readline module was + initialized was decided. + (hist_get, hist_set): If use libedit, accesses first an input + content in history when specifies the negative offset for the + argument of history_get() or replace_history_entry(). Then + checks the offset is negative in ruby. + (rb_remove_history): When compiling, it corrects it to warning + when libedit is used. + (hist_clear, Init_readline): added Readline::HISTORY.clear + method. [ruby-dev:35551] + * test/readline/test_readline_history.rb: added unit test for + Readline::HISTORY. + Fri Aug 1 23:26:45 2008 NARUSE, Yui <naruse@ruby-lang.org> * transcode.c (transcode_loop): undefined character is replaced with |
