aboutsummaryrefslogtreecommitdiffstats
path: root/ext/readline/extconf.rb
Commit message (Collapse)AuthorAgeFilesLines
* * ext/readline/extconf.rb, ext/readline/readline.c: checkshugo2013-02-011-6/+0
| | | | | | | RL_PROMPT_START_IGNORE and RL_PROMPT_END_IGNORE directly in readline.c. Patch by Zachary Scott. [Bug #7397] [ruby-core:49561] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/readline/extconf.rb: no global namesnobu2012-06-191-54/+54
| | | | | | | * ext/readline/extconf.rb (readline): get rid of polluting global namespace. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: Use an exception instead of bare exit.kosaki2012-05-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (Readline.special_prefixes=)kouji2012-05-021-0/+1
| | | | | | | | (Readline.special_prefixes): new function. An original patch was created by nagachika. [Feature #5784] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (Readline.pre_input_hook)kouji2012-05-011-0/+3
| | | | | | | | (Readline.insert_text, Readline.redisplay): new function. An original patch was created by nagachika. [Feature #5785] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: fixed bug, specify --disable-libeditkouji2011-06-211-1/+4
| | | | | | | | then disable libedit, does not specify then check readline and libedit if failed checking readline. (fixes #3375) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: --disable-libedit to disablekouji2011-04-121-1/+8
| | | | | | | libedit. fixes #4550 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: new checks for RL_PROMPT_START_IGNOREyugui2011-01-121-0/+6
| | | | | | | | | | and RL_PROMPT_END_IGNORE. [ruby-core:34331] * ext/readline/readline.c: enables USE_INSERT_IGNORE_ESCAPE only if RL_PROMPT_{START,END}_IGNORE are available to get rid of compilation error with libedit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: Remove Readline 6 check becausenaruse2010-09-151-5/+0
| | | | | | Ruby's license is now GPLv3 compatible. [ruby-core:28736] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Tue Aug 17 07:50:37 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>nobu2010-08-161-0/+2
| | | | | | | * ext/readline/extconf.rb: check functions more. [ruby-core:31722] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: reject GPLv3 readline. [ruby-dev:39172]naruse2010-05-311-1/+7
| | | | | | [ruby-core:25272] [ruby-dev:39167] [ruby-core:28736] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@1735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot some checkins.matz2001-05-061-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-18matz2000-05-181-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* support mingw32.eban2000-05-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-02-08matz2000-02-081-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove marshal/gtk/kconvmatz1999-08-131-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionmatz1999-01-201-0/+8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e