summaryrefslogtreecommitdiffstats
path: root/ext/readline/extconf.rb
Commit message (Collapse)AuthorAgeFilesLines
* * ext/readline/readline.c (Init_readline): rl_catch_signals doesyugui2009-07-171-0/+1
| | | | | | | | not exist on some platform like Mac OS X 10.5. * ext/readline/extconf.rb: checks existance of rl_catch_signals. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (Init_readline): use rl_catch_sigwinch onlyusa2009-07-171-0/+1
| | | | | | | | | | | when existing. * ext/readline/extconf.rb: check existance of rl_catch_sigwinch, and workaround for native Win32 readline port. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: checked rl_refresh_line in readline.kouji2009-07-101-0/+1
| | | | | | | | * ext/readline/readline.c (readline_s_refresh_line): add new method, a patch from Koichiro Ohba. see [ruby-list:45922]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: checked rl_line_buffer and rl_point inkouji2009-07-101-0/+2
| | | | | | | | | | readline. * ext/readline/readline.c (readline_s_get_line_buffer): new method. (readline_s_get_point): new method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (readline_getc): use rl_getc_function ifnobu2009-04-261-0/+1
| | | | | | | possible, to get rid of hang up at EOF without a newline. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: checked rl_set_screen_size andkouji2009-02-031-0/+2
| | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@22014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/README.ja: added API document forkouji2008-08-111-0/+1
| | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@18491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: checked to have clear_history inkouji2008-08-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | 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
* * ext/readline/extconf.rb (have_readline_func): readline on Mac OS Xnobu2008-06-221-9/+13
| | | | | | | needs headers to detect some functions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb (rl_event_hook): workaround for nativeusa2008-02-201-1/+2
| | | | | | | | windows. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: should use have_func for functions insteadnobu2007-12-141-4/+3
| | | | | | | of have_var. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c: NetBSD editline does not havematz2006-12-141-0/+2
| | | | | | | | | rl_username_completion_function() and rl_completion_matches(). a patch from Takahiro Kambe <taca at back-street.net>. [ruby-dev:30008] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: check rl_vi_editing_mode() andshugo2005-05-191-0/+3
| | | | | | | rl_emacs_editing_mode(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c: supported libedit. fixed: [ruby-core:4858]shugo2005-05-191-18/+48
| | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@8489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: added dir_config for curses, ncurses,shugo2004-07-151-0/+3
| | | | | | | termcap. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c: restore terminal modeshugo2001-09-061-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | even if readline() interrupted. * ext/readline/readline.c: returned string need to be tainted. * ext/readline/readline.c: fixed memory leak. * ext/readline/readline.c: allow negative index. * ext/readline/readline.c: added Readline::HISTORY.size same as Readline::HISTORY.length * ext/readline/readline.c: allow conditional parsing of the ~/.inputrc file by `$if Ruby'. * ext/readline/extconf.rb: check whether the libreadline has the variable `rl_completion_append_character' (this feature was implemented from GNU readline 2.1). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot some checkins.matz2001-05-061-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-18matz2000-05-181-3/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* support mingw32.eban2000-05-131-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-02-08matz2000-02-081-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove marshal/gtk/kconvmatz1999-08-131-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionmatz1999-01-201-0/+8
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e