URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [branches/] [oc/] [gdb-5.0/] [readline/] [CHANGES] - Rev 1765
Compare with Previous | Blame | View Log
This document details the changes between this version, readline-4.0,and the previous version, readline-2.2.1. Changes to Readlinea. The version number is now 4.0, to match the major and minor versionnumbers on the shared readline and history libraries. Futurereleases will maintain the identical numbering.b. Fixed a typo in the `make install' recipe that copied libreadline.ato libhistory.old right after installing it.c. The readline and history info files are now installed out of the sourcedirectory if they are not found in the build directory.d. The library no longer exports a function named `savestring' -- backwardscompatibility be damned.e. There is no longer any #ifdef SHELL code in the source files.f. Some changes were made to the key binding code to fix memory leaks andbetter support Win32 systems.g. Fixed a silly typo in the paren matching code -- it's microseconds, notmilliseconds.h. The readline library should be compilable by C++ compilers.i. The readline.h public header file now includes function prototypes forall readline functions, and some changes were made to fix errors in thesource files uncovered by the use of prototypes.j. The maximum numeric argument is now clamped at 1000000.k. Fixes to rl_yank_last_arg to make it behave better.l. Fixed a bug in the display code that caused core dumps if the promptstring length exceeded 1024 characters.m. The menu completion code was fixed to properly insert a single completionif there is only one match.n. A bug was fixed that caused the display code to improperly display tabsafter newlines.o. A fix was made to the completion code in which a typo caused the wrongvalue to be passed to the function that computed the longest commonprefix of the list of matches.p. The completion code now checks the value of rl_filename_completion_desired,which is set by application-supplied completion functions to indicatethat filename completion is being performed, to decide whether or not tocall an application-supplied `ignore completions' function.q. Code was added to the history library to catch history substitutionsusing `&' without a previous history substitution or search having beenperformed.2. New Features in Readlinea. There is a new script, support/shobj-conf, to do system-specific sharedobject and library configuration. It generates variables for configureto substitute into makefiles. The README file provides a detailedexplanation of the shared library creation process.b. Shared libraries and objects are now built in the `shlib' subdirectory.There is a shlib/Makefile.in to control the build process. `make shared'from the top-level directory is still the right way to build sharedversions of the libraries.c. rlconf.h is now installed, so applications can find out which featureshave been compiled into the installed readline and history libraries.d. rlstdc.h is now an installed header file.e. Many changes to the signal handling:o Readline now catches SIGQUIT and cleans up the tty before returning;o A new variable, rl_catch_signals, is available to application writersto indicate to readline whether or not it should install its ownsignal handlers for SIGINT, SIGTERM, SIGQUIT, SIGALRM, SIGTSTP,SIGTTIN, and SIGTTOU;o A new variable, rl_catch_sigwinch, is available to applicationwriters to indicate to readline whether or not it should install itsown signal handler for SIGWINCH, which will chain to the callingapplications's SIGWINCH handler, if one is installed;o There is a new function, rl_free_line_state, for application signalhandlers to call to free up the state associated with the currentline after receiving a signal;o There is a new function, rl_cleanup_after_signal, to clean up thedisplay and terminal state after receiving a signal;o There is a new function, rl_reset_after_signal, to reinitialize theterminal and display state after an application signal handlerreturns and readline continuesf. There is a new function, rl_resize_terminal, to reset readline's idea ofthe screen size after a SIGWINCH.g. New public functions: rl_save_prompt and rl_restore_prompt. These werepreviously private functions with a `_' prefix. These functions areused when an application wants to write a message to the `message area'with rl_message and have the prompt restored correctly when the messageis erased.h. New function hook: rl_pre_input_hook, called just before readline startsreading input, after initialization.i. New function hook: rl_display_matches_hook, called when readline woulddisplay the list of completion matches. The new functionrl_display_match_list is what readline uses internally, and is availablefor use by application functions called via this hook.j. New bindable function, delete-char-or-list, like tcsh.k. A new variable, rl_erase_empty_line, which, if set by an application usingreadline, will cause readline to erase, prompt and all, lines on which theonly thing typed was a newline.l. There is a new script, support/shlib-install, to install and uninstallthe shared readline and history libraries.m. A new bindable variable, `isearch-terminators', which is a stringcontaining the set of characters that should terminate an incrementalsearch without being executed as a command.n. A new bindable function, forward-backward-delete-char.-------------------------------------------------------------------------------This document details the changes between this version, readline-2.2,and the previous version, readline-2.1.1. Changes to Readlinea. Added a missing `extern' to a declaration in readline.h that keptreadline from compiling cleanly on some systems.b. The history file is now opened with mode 0600 when it is written forbetter security.c. Changes were made to the SIGWINCH handling code so that prompt redisplayis done better.d. ^G now interrupts incremental searches correctly.e. A bug that caused a core dump when the set of characters to be quotedwhen completing words was empty was fixed.f. Fixed a problem in the readline test program rltest.c that caused a coredump.g. The code that handles parser directives in inputrc files now displaysmore error messages.h. The history expansion code was fixed so that the appearance of thehistory comment character at the beginning of a word inhibits historyexpansion for that word and the rest of the input line.i. The code that prints completion listings now behaves better if one ormore of the filenames contains non-printable characters.j. The time delay when showing matching parentheses is now 0.5 seconds.2. New Features in Readlinea. There is now an option for `iterative' yank-last-arg handline, so a usercan keep entering `M-.', yanking the last argument of successive historylines.b. New variable, `print-completions-horizontally', which causes completionmatches to be displayed across the screen (like `ls -x') rather than upand down the screen (like `ls').c. New variable, `completion-ignore-case', which causes filename completionand matching to be performed case-insensitively.d. There is a new bindable command, `magic-space', which causes historyexpansion to be performed on the current readline buffer and a space tobe inserted into the result.e. There is a new bindable command, `menu-complete', which enables tcsh-likemenu completion (successive executions of menu-complete insert a singlecompletion match, cycling through the list of possible completions).f. There is a new bindable command, `paste-from-clipboard', for use on Win32systems, to insert the text from the Win32 clipboard into the editingbuffer.g. The key sequence translation code now understands printf-style backslashescape sequences, including \NNN octal escapes. These escape sequencesmay be used in key sequence definitions or macro values.h. An `$include' inputrc file parser directive has been added.
