- Include fully-patched GNU Readline 8.2.13. [stefan]
- Replace size_t with Py_ssize_t. [stefan]
- Remove unnecessary function pointer casts. [stefan]
- Do not rely on Python.h for standard headers. [stefan]
- Update to Python 3.13 C-API. [stefan]
- Update tox.ini for latest tox. [stefan]
- Replace deprecated
python setup.py build_sphinx
in tox.ini. [stefan]
- Include GNU Readline 8.2. [stefan]
- Improve documentation and example code. Promote using
generator
as a decorator. [stefan] - Document how
directory_completion_hook
interacts with new hooks added in version 3.0. [stefan] - Implement Python 3.6
readline.set_auto_history
and the correspondinghistory.auto
. [stefan] - Fall back to ncurses if termcap auto-detection fails. This at least produces a linker error instead of silently borking the extension. [stefan]
- Replace deprecated
python setup.py test
in tox.ini. [stefan] - Remove deprecated
test_suite
from setup.py. [stefan] - Remove setuptools from
install_requires
. [stefan] - Add a pyproject.toml file. [stefan]
- Include tests in sdist but not in wheel. [stefan]
- rl is now GPLv3 because it statically links to GNU Readline. [stefan]
- Include GNU Readline 8.0. [stefan]
- Support Python 3.6 os.PathLike objects for filenames. [stefan]
- Handle new GIL checks in Python 3.6. See PYTHONMALLOC. [stefan]
- Add
history.max_file
andhistory.append_file
. [stefan] - Add
directory_rewrite_hook
,filename_rewrite_hook
, andfilename_stat_hook
. [stefan] - Catch up with bug fixes applied to the standard library readline module. [stefan]
- Stop using 2to3. [stefan]
- Remove
reset
APIs from the documentation. They override~/.inputrc
and should only be used in tests. [stefan]
- Update to Python 3.3 Unicode C-API. [stefan]
- Implement history iterators in C instead of relying on intermediate lists. [stefan]
- Raise a more informative error when history slicing is attempted. [stefan]
- Restore support for gcc < 4.2. [stefan]
- Switch to a happier looking Sphinx theme. [stefan]
- Force a static build if the RL_BUILD_STATIC_READLINE environment variable is set. [stefan]
- Include readline 6.2 patches in static builds. [stefan]
- Suppress compiler warnings on more platforms. [stefan]
- Fix a C compiler issue under Python 3 on Linux. [stefan]
- Drop support for cmd.Cmd. You now must derive your command interpreters from `kmd.Kmd`_ to use rl features. [stefan]
- Accept None as argument to file operations under Python 3. [stefan]
- Switch to pretty Sphinx-based docs. [stefan]
- Tilde-expand filenames in
read_history_file
andwrite_history_file
. [stefan]
- Silence a second C compiler warning in function
get_y_or_n
. [stefan]
- Silence a C compiler warning in function
get_y_or_n
. [stefan]
- Fix memory leaks in
py_remove_history
,py_replace_history
, andpy_clear_history
which can occur when history entries are edited. See Python issue 12186. [stefan] - Add a default
display_matches_hook
that behaves exactly like readline behaves in Bash. [stefan] - Add
reset
functions to completer, completion, and history. [stefan]
- Add xfree.c to sources when building GNU Readline 6.2. [stefan]
- Allow history indexes of type long. [stefan]
- Use a custom build_ext command to find the best termcap library. [stefan]
- Update static builds to GNU Readline 6.2. [stefan]
- Fix memory leaks in
py_remove_history
andpy_replace_history
. See Python issue 9450. [stefan]
- Update README, API documentation, and examples. [stefan]
- MacPython detection caught other framework builds as well. [stefan]
- Rework the history interface: Implement iteration and remove redundant APIs. [stefan]
- History stifling could cause duplicate history entries. [stefan]
- Make sure
begidx
andendidx
completion variables are reset to 0. [stefan]
- Remove unused defines; we don't support libedit or readline < 5.0. [stefan]
- Improve performance of
get_current_history_length
. [stefan]
- Make
get_history_item
zero-based and removeget_history_base
. [stefan]
- Support installation into MacPython for Mac OS X. [stefan]
- The history size can now be limited ("stifled") by setting
history.max_entries
. This supersedeshistory.length
which has been removed. [stefan] - Close a memory leak in
get_current_history_length
. Also see Python issue 8065. [stefan]
- Avoid segfaults during codec lookup by calling
PyGILState_Ensure
in all the right places. Fixes rl issue/5. Removes the workaround introduced in 1.5.2. [stefan]
- Re-release with link to the correct issue. [stefan]
- Work around segfaults under Python 3 on Linux, which are caused by bad or missing codecs. This restricts Linux to UTF-8 and Latin-1 locales only. Also see rl issue/5. [stefan]
- Switch readline download location to ftp.gnu.org for speed. [stefan]
- In Python 3, convert to and from Unicode using filesystem encoding and "surrogateescape" error handler. See PEP 383 for the low-down. [stefan]
- Fix GPL trove classifier. [stefan]
- rl can now be installed into the system Python on Mac OS X, the only dependency being Xcode Tools. [stefan]
- Change license to PSF or GPL. [stefan]
- Fix header detection under Fink on Mac OS X. [stefan]
- Add
readline_version
API. [stefan]
- Improve API documentation and examples. [stefan]
- Remove all occurrences of old-style function typedefs to silence compiler warnings. [stefan]
- Make the
display_matches_hook
work in Python 2.5. Fixes rl issue/1. [stefan] - No longer auto-refresh the prompt at the end of
display_match_list
. Applications should callredisplay(force=True)
to restore the prompt. [stefan]
- No changes since 1.0a8.
- Close a memory leak in
word_break_hook
. Three cheers for Xcode'sleaks
tool. [stefan]
- Rename
_readline
module toreadline
since it's not private. [stefan] - Remove
dump
andread_key
APIs from public interfaces. [stefan]
- Unclutter the
completer
interface by removing settings that can just as well be made withparse_and_bind
. [stefan] - Fix a memory leak in
username_completion_function
andfilename_completion_function
. [stefan] - Add a custom epydoc stylesheet to make its reST rendering more pleasant. [stefan]
- Make all
completion
properties writable. While not useful in production, this allows us to write better tests. [stefan] - Improve API documentation and add a call graph for the completion process. This goes a long way in explaining how readline completion works. [stefan]
- Implement the
generator
factory using an iterator instead of a list. [stefan] - Remove
find_completion_word
so people don't get ideas. [stefan] - Don't list distribute as dependency, setuptools will do the right thing. [stefan]
- Add
__slots__
to interface objects to make them immutable. [stefan] - Support Python 2.5, 2.6, and 3.1 (thanks to distribute). [stefan]
- Approach something like test coverage. [stefan]
- Make the
generator
factory work for all types of callables. [stefan] - Improve examples. [stefan]
- Initial release.