summaryrefslogtreecommitdiff
path: root/readline
Commit message (Collapse)AuthorAgeFilesLines
* Clarify ANSI, not POSIX, terminal escapes in ChangeLogMark Mitchell2005-07-251-1/+1
|
* * input.c (rl_getc): Use getch to read console input onMark Mitchell2005-07-255-3/+68
| | | | | | | | Windows. * readline.c (bind_arrow_keys_internal): Translate Windows keysequences into POSIX key sequences. * rldefs.h (NO_TTY_DRIVER): Define on MinGW. * rltty.c: Conditionalize on NO_TTY_DRIVER throughout.
* From Martin Simmons:Mark Kettenis2005-07-033-2/+8
| | | | | * configure.in: Check for getpwnam instead of getpwname. * configure: Regenerate.
* Fix typos in ChangeLogMark Mitchell2005-05-091-9/+9
|
* * readline/aclocal.m4: Use AC_TRY_LINK to check for mbstate_t.Mark Mitchell2005-05-0910-528/+1209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * readline/complete.c (pwd.h): Guard with HAVE_PWD_H. (getpwent): Guard with HAVE_GETPWENT. (rl_username_completion_function): Guard use of getpwent. (endpwent): Likewise. * readline/config.h.in (HAVE_FCNTL): New macro. (HAVE_GETPWENT): Likewise. (HAVE_GETPWNAM): Likewise. (HAVE_GETPWUID): Likewise. (HAVE_KILL): Likewise. (HAVE_PWD_H): Likewise. * readline/configure: Regenerated. * readline/configure.in: Handle MinGW when cross compiling. Check for getpwnam, getpwent, getpwuid, kill, and pwd.h. * readline/display.c (rl_clear_screen): Treat Windows like DOS. (insert_some_chars): Likewise. (delete_chars): Likewise. * readline/shell.c (pwd.h): Guard with HAVE_PWD_H. (getpwuid): Guard with HAVE_GETPWUID. (sh_unset_nodelay_mode): Guard use of fnctl with HAVE_FNCTL_H. * readline/signals.c (rl_signal_handler): Don't use SIGALRM or SIGQUIT if not defined. Use "raise" if "kill" is not available. (rl_set_signals): Don't set handlers for SIGQUIT or SIGALRM if they are not defined. (rl_clear_signals): Likewise. * readline/tilde.c (pwd.h): Guard with HAVE_PWD_H. (getpwuid): Guard declaration with HAVE_GETPWUID. (getpwnam): Guard declaration with HAVE_GETPWNAM. (tilde_expand_word): Guard use of getpwnam with HAVE_GETPWNAM.
* Index: ChangeLogAndrew Cagney2004-02-193-14/+119
| | | | | | | | | | | | | | | | | | | 2004-02-19 Andrew Cagney <cagney@redhat.com> * config.guess: Update from version 2003-06-12 to 2004-02-16. * config.sub: Update from version 2003-06-13 to 2004-02-16. Index: dejagnu/ChangeLog 2004-02-19 Andrew Cagney <cagney@redhat.com> * config.guess: Update from version 2003-06-12 to 2004-02-16. * config.sub: Update from version 2003-06-13 to 2004-02-16. Index: readline/ChangeLog.gdb 2004-02-19 Andrew Cagney <cagney@redhat.com> * config.guess: Update from version 2003-06-12 to 2004-02-16. * config.sub: Update from version 2003-06-13 to 2004-02-16.
* 2004-01-27 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2004-01-275-9/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge in official patches to readline-4.3 from ftp://ftp.cwru.edu/pub/bash/readline-4.3-patches: NOTE: Patch-ID readline-43-004 was already applied (see below). * bind.c (rl_generic_bind): Pressing certain key sequences causes an infinite loop in _rl_dispatch_subseq with the `key' argument set to 256. This eventually causes bash to exceed the stack size limit and crash with a segmentation violation. Patch-ID: readline43-001. * readline.c (_rl_dispatch_subseq): Repeating an edit in vi-mode with `.' does not work. Patch-ID: readline43-002. * mbutil.c (_rl_get_char_len, _rl_compare_chars, _rl_adjust_point): When in a locale with multibyte characters, the readline display updater will occasionally cause a segmentation fault when attempting to compute the length of the first multibyte character on the line. Patch-ID: readline43-003. * vi_mode.c (_rl_vi_change_mbchar_case): Using the vi editing mode's case-changing commands in a locale with multibyte characters will cause garbage characters to be inserted into the editing buffer. Patch-ID: readline43-005.
* clarify that the import contains local changes as well.Elena Zannoni2004-01-151-1/+2
|
* * readline.c (rl_save_state, rl_restore_state): Support systemsEli Zaretskii2003-12-304-11/+49
| | | | | | | | | | | | | | that don't define SIGWINCH. * terminal.c (_rl_get_screen_size) [__DJGPP__]: Compute the screen width and height using console I/O. (_rl_init_terminal_io) [__MSDOS__]: Zero out all the _rl_term_* variables. Convert to _rl_* naming scheme. (_rl_set_cursor) [__MSDOS__]: Ifdef away this function. * display.c (_rl_move_vert) [__MSDOS__]: Don't use undeclared variable `l'. Use `delta' instead recomputing its value anew. Assign -delta to i instead of the other way around.
* 2003-12-11 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2003-12-172-13/+20
| | | | | | | * rlmbutil.h: Require HAVE_MBSTATE_T for HANDLE_MULTIBYTE. Revert requirement of HAVE_MBRTOWC. Delete macro definitions that attempted to fake mbstate_t if HAVE_MBSRTOCWS is defined and HAVE_MBSTATE_T is not defined.
* 2003-09-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-09-142-660/+4
| | | | * history.0: Delete generated file.
* 2003-06-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2003-06-153-13/+33
| | | | | * config.guess: Update to 2003-06-12 version. * config.sub: Update to 2003-06-13 version.
* * aclocal.m4: Don't add wcwidth.o if we don't have wchar.h.Mark Kettenis2003-05-273-11/+15
| | | | * configure: Regenerate.
* 2003-05-13 Andreas Jaeger <aj@suse.de>Andreas Jaeger2003-05-133-69/+76
| | | | | * config.guess: Update to 2003-05-09 version. * config.sub: Update to 2003-05-09 version.
* * aclocal.m4: Add check for mbrtowc.Joel Brobecker2003-03-035-1/+92
| | | | | | * config.h.in: Regenerate. * configure: Regenerate. * rlmbutil.h: Disable multi-byte if mbrtowc is not defined.
* Fixed configuration of wcwidth.Kris Warkentin2003-03-035-1480/+3179
|
* 2003-01-09 Michael Chastain <mec@shout.net>Michael Chastain2003-01-112-12/+19
| | | | | From Chet Ramey, <chet@po.cwru.edu>, the readline maintainer: * display.c: Fix perverse screen refresh with UTF-8.
* [ ChangeLog ]Chris Demetriou2003-01-083-80/+133
| | | | | | | | | | | | | | | | | | | 2003-01-08 Chris Demetriou <cgd@broadcom.com> * config.guess: Update to 2003-01-03 version. * config.sub: Update to 2003-01-03 version. [ dejagnu/ChangeLog ] 2003-01-08 Chris Demetriou <cgd@broadcom.com> * config.guess: Update to 2003-01-03 version. * config.sub: Update to 2003-01-03 version. [ readline/ChangeLog.gdb ] 2003-01-08 Chris Demetriou <cgd@broadcom.com> * config.guess: Update to 2003-01-03 version. * config.sub: Update to 2003-01-03 version.
* Revert debugging changeChristopher Faylor2002-12-171-1/+1
|
* * configure.in: Remove --enable-shared option. It shouldn't be used for gdb.Christopher Faylor2002-12-174-10/+9
| | | | * configure: Regenerate.
* * config/cygwin.cache: Prime mbstate_t.Christopher Faylor2002-12-172-0/+5
|
* Import of readline 4.3.Elena Zannoni2002-12-0893-8881/+23391
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Non-readline modified files: src/gdb/ChangeLog src/gdb/defs.h src/gdb/cli/cli-cmds.c src/gdb/cli/cli-setshow.c src/gdb/tui/ChangeLog src/gdb/tui/tuiWin.c In readline directory: * compat.c, mbutil.c, misc.c, rlmbutil.h, rltypedefs.h, text.c, doc/history.0, doc/history.3, support/wcwidth.c, examples/readlinebuf.h, examples/rlcat.c: New files. * CHANGELOG, CHANGES, INSTALL, MANIFEST, Makefile.in, README, aclocal.m4, ansi_stdlib.h, bind.c, callback.c, chardefs.h, complete.c, config.h.in, configure, configure.in, display.c, emacs_keymap.c, funmap.c, histexpand.c, histfile.c, histlib.h, history.c, history.h, histsearch.c, input.c, isearch.c, keymaps.c, keymaps.h, kill.c, macro.c, nls.c, parens.c, posixdir.h, readline.c, readline.h, rlconf.h, rldefs.h, rlprivate.h, rlshell.h, rlstdc.h, rltty.c, savestring.c, search.c, shell.c, signals.c, terminal.c, tilde.c, tilde.h, undo.c, util.c, vi_keymap.c, vi_mode.c, xmalloc.c, xmalloc.h, doc/Makefile.in, doc/hist.texinfo, doc/hstech.texinfo, doc/hsuser.texinfo, doc/manvers.texinfo, doc/readline.3, doc/rlman.texinfo, doc/rltech.texinfo, doc/rluser.texinfo doc/rluserman.texinfo, doc/texi2dvi, doc/texi2html, shlib/Makefile.in, support/install.sh, support/mkdirs, support/mkdist, support/shlib-install, support/shobj-conf, examples/Inputrc, examples/Makefile.in, examples/fileman.c, examples/histexamp.c, examples/manexamp.c, examples/rl.c, examples/rlfe.c, examples/rltest.c, examples/rlversion.c: Modified files.
* dummy commit, get CVS off the branch.Andrew Cagney2002-08-2413-6625/+0
|
* Dummy commit. Get CVS off the branch.readline-pre-43-importAndrew Cagney2002-08-245-498/+128
|
* import of readline-4.3Elena Zannoni2002-08-236-128/+500
|
* Initial revisionElena Zannoni2002-08-2313-0/+6625
|
* Import config.guess and config.sub.Andrew Cagney2002-08-233-23/+47
|
* [ dejagnu/ChangeLog ]Chris Demetriou2002-07-193-67/+120
| | | | | | | | | | | | | 2002-07-19 Chris Demetriou <cgd@broadcom.com> * config.guess: Update from ../config.guess. * config.sub: Update from ../config.sub. [ readline/ChangeLog.gdb ] 2002-07-19 Chris Demetriou <cgd@broadcom.com> * support/config.guess: Update from ../config.guess. * support/config.sub: Update from ../config.sub.
* Rename local ChangeLog and ChangeLog.Cygnus files to ChangeLog.gdb.Elena Zannoni2002-02-243-2/+14
|
* ==> dejagnu/ChangeLog <==Daniel Jacobowitz2002-02-243-52/+43
| | | | | | | | | | | | | | 2002-02-23 Daniel Jacobowitz <drow@mvista.com> * config.guess: Import from master sources, rev 1.232. * config.sub: Import from master sources, rev 1.246. ==> readline/ChangeLog.Cygnus <== 2002-02-24 Daniel Jacobowitz <drow@mvista.com> * support/config.guess: Import from master sources, rev 1.232. * support/config.sub: Import from master sources, rev 1.246.
* * config.guess: Import from master sources, rev 1.229.Ben Elliston2002-02-053-7/+30
| | | | * config.sub: Import from master sources, rev 1.240.
* * rluser.texinfo (Sample Init File): Prevent overfull hboxes.Eli Zaretskii2002-01-202-3/+9
| | | | From Brian Youmans <3diff@gnu.org>.
* 2002-01-17 H.J. Lu (hjl@gnu.org)H.J. Lu2002-01-173-314/+353
| | | | | * support/config.guess: Import from master sources, rev 1.225. * support/config.sub: Import from master sources, rev 1.238.
* Clone src/config.guess. Mention in MAINTAINERS.Andrew Cagney2001-07-202-551/+595
|
* Update local local copies of config.sub and config.guess.Andrew Cagney2001-07-172-281/+381
| | | | Mention those files in MAINTAINERS.
* 2001-06-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2001-06-153-0/+8
| | | | | | * configure.in: Add -fsigned-char to LOCAL_CFLAGS for Linux running on the IBM S/390. * configure: Ditto.
* * rltty.c (save_tty_chars): Fix compilation-stopping typo.Christopher Faylor2001-01-082-1/+5
|
* A few tweaks required to use Readline as part of the DJGPP port of GDB.Eli Zaretskii2000-07-103-5/+81
|
* readline:Elena Zannoni2000-07-0992-26790/+3648
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * Import of readline 4.1. Locally modified files: Makefile.in, configure.in, configure (regenerated), config.h.in (regenerated), readline.h, rltty.c, shell.c signals.c. Locally added files: acconfig.h, config/*, config.h.bot, cross-build/*, doc/inc-hit.texinfo. New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h. examples: 2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * Import of readline 4.1. New files: excallback.c, rlfe.c. doc: 2000-07-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * Import of readline 4.1. Regenerated inc-hist.texinfo as copy of hsuser.texinfo, for inclusion in the gdb manual. New file: rluserman.texinfo
* Import of readline 4.1Elena Zannoni2000-07-098-6263/+5201
|
* Initial revisionElena Zannoni2000-07-0911-0/+6005
|
* Initial revisionElena Zannoni2000-07-079-0/+21400
|
* Remove generated file.Andrew Cagney2000-04-192-1188/+5
|
* Revert movement of @chapter and @node tags from separate files toAndrew Cagney2000-03-293-4/+6
| | | | gdb.texinfo.
* Fix texinfo-3.12 problems:Andrew Cagney2000-03-243-0/+9
| | | | | | | | | | * annotate.texi (Annotations): When GDBN omit @chapter and @node entry. * gdb.texinfo: Check for @ifinfo instead of @ifnottex. (rluser.texinfo, inc-hist.texinfo, annotate.texi): Add local @chapter and @node entries. * gdb.texinfo: Link all top-level nodes. * inc-hist.texinfo: When GDBN omit the chapter/node. * rluser.texinfo (Command Line Editing): Ditto.
* *** empty log message ***Eli Zaretskii2000-03-161-0/+37
|
* [__GO32__]: Include <pc.h>.Eli Zaretskii2000-03-151-15/+36
| | | | | | | | | | | Declare _rl_redisplay_after_sigwinch. [__DJGPP__]: Don't declare term_buffer and term_string_buffer (they are unused.) (_rl_get_screen_size) [__DJGPP__]: Call ScreenRows and ScreenCols. (_rl_init_terminal_io) [__GO32__]: Don't call them here. Instead, call _rl_get_screen_size. Set terminal_name. Return 0, to be consistent with the function's declaration. (ding) [__GO32__]: Support visual bell by calling ScreenVisualBell.
* [__GO32__]: Don't undef HANDLE_SIGNALS for DJGPP v2.x.Eli Zaretskii2000-03-151-2/+4
| | | | Don't declare sigwinch_set_flag if SIGWINCH is undefined.
* [__GO32__]: Don't undef HANDLE_SIGNALS if __DJGPP__ is defined.Eli Zaretskii2000-03-151-7/+9
| | | | | (prepare_terminal_settings, rl_prep_terminal, rl_deprep_terminal) [__GO32__]: Don't bypass termios code if HAVE_TERMIOS_H is defined.
* [__GO32__]: If HAVE_TEMIOS_H is defined, declare readline_default_bindings.Eli Zaretskii2000-03-151-7/+9
| | | | | | | Don't undef HANDLE_SIGNALS if __DJGPP__ is defined. (readline_initialize_everything): [__GO32__]: Call readline_default_bindings if HAVE_TERMIOS_H is defined. (rl_refresh_line) [__GO32__]: Don't use this code if __DJGPP__ is defined.