Jorgen Stenarson
cd891ef5ea
Fixed bug with alt gr inserting wrong character
2008-06-27 19:27:55 +02:00
Jorgen Stenarson
ddeaa854dd
Extracted a BaseReadLine class without console stuff from ReadLine.
...
tk_gui.py example of using the BaseReadLine class from a gui
continued to refactor to remove all console related stuff from modes,
there are still some console related stuff in the history search commands
2008-06-26 22:11:53 +02:00
Jorgen Stenarson
b736f6397f
added mockup for gui-use of pyreadline
2008-06-26 19:24:56 +02:00
Jorgen Stenarson
c966786a65
continue to move properties between basemode and rlmain
...
* Added a no_clipboard module in the clipboard package. Contains
an implementation that emulates the clipboard incase we cannot import
the clipboard.
* Removed uncommented imports in history.
* moved from rlmain to basemode:
tabstop, startup_hook, pre_input_hook, first_prompt, prompt, enable_ipython_paste_list_of_lists
enable_ipython_paste_for_paths, enable_win32_clipboard,paste_line_buffer
* moved next_meta to emacs.py
* fixed tabstop using code in emacs.py
* removed old unsused properties from Readline in rlmain
2008-06-24 21:11:41 +02:00
Jorgen Stenarson
776d2141a8
Added the callback interface from the callback branch.
2008-06-24 20:08:32 +02:00
Jorgen Stenarson
c5ce530293
move properties associated with completer from rlmain to basemode
2008-06-23 21:40:30 +02:00
Jorgen Stenarson
81e5edd031
moving insert_text, add_history to basemode
...
rearranging properties in basemode to sort them according to where they are used
2008-06-23 21:25:55 +02:00
Jorgen Stenarson
9adf8f4493
moved l_buffer and _history from ReadLine to modes.basemode
2008-06-23 20:55:59 +02:00
Jorgen Stenarson
114163c2c2
change vi mode to use process_keyevent and the default readline method from modes.basemode
2008-06-23 20:41:22 +02:00
Jorgen Stenarson
cc1073613b
made changes after starting last commit
2008-06-23 20:22:36 +02:00
Jorgen Stenarson
5ff848f7ec
started refactor to reduce coupling between classes to enable easier reuse in GUIs.
...
moved readline from modes.emacs to modes.basemode
created process_keyevent in modes.emacs to process each keypress from a keyevent
2008-06-23 20:19:06 +02:00
Jorgen Stenarson
62bbb25600
moved manual from latex to sphinx
2008-06-23 19:19:19 +02:00
Jorgen Stenarson
9a851e24ab
moved manual from latex to sphinx
...
The build script do_sphinx was copied from ipython and is unix-based and thus needs to be
reworked to enable latex.
2008-06-22 14:30:47 +02:00
jstenar
3ae839b018
pyreadline_trunk: quickfix for #228 . Now defaults to ascii encoding if non-valid encoding is used.
2008-02-21 17:43:36 +00:00
jstenar
82e2824891
pyreadline: Added code to make interoperability with emacs work again.
2008-01-07 18:46:56 +00:00
jstenar
66a2fc410e
pyreadline: chunking calls to WriteConsoleW to ensure not exceeding 64k limit
2008-01-04 16:57:27 +00:00
fperez
d5f51de69a
Mark trunk for v 1.6 development
2007-11-29 18:10:33 +00:00
fperez
b9aa5ec5b3
Mark version 1.5 for release
2007-11-29 18:06:41 +00:00
jstenar
1339bcf84c
pyreadline: Warning messages for failed calls to parse_and_bind now disabled by default
2007-11-28 20:00:13 +00:00
jstenar
a4f98cccb2
pyreadline: patch from pan to remove cursor flickering when inputting chinese characters
2007-11-20 18:59:58 +00:00
jstenar
b1bae5d69f
pyreadline: all conversion is now handled by the ensure_unicode, ensure_str pair of functions
2007-11-10 18:28:25 +00:00
jstenar
0716080c10
pyreadline: more fixes to unicode
2007-11-10 00:13:26 +00:00
jstenar
1c44a08219
pyreadline: Fixes to make clipboard work with unicode.
2007-11-09 22:45:31 +00:00
jstenar
3425cf033a
pyreadline: fixes to make completion work on file paths containing non-ascii characters.
...
encoding is assumed to be compatible to sys.stdout.encoding. A more correct solution must be applied to the completer function which is outside pyreadline. If another encoding is desired set pyreadline.unicode_helper.pyreadline_codepage
2007-11-09 20:40:25 +00:00
jstenar
6aec219578
Fixing wide character related bugs
2007-10-30 20:42:59 +00:00
jstenar
4cc7d71026
pyreadline: Adding test suite for history buffer
2007-10-30 20:02:10 +00:00
jstenar
8089527e23
pyreadline: patch provided by pan to enable input of unicode.
2007-10-29 18:46:18 +00:00
jstenar
cc35a871d7
Fix bug reported by Michael Graz
2007-07-19 17:01:31 +00:00
jstenar
bb7e925eef
pyreadline: increasing version number to 1.4.4
2007-05-29 21:14:28 +00:00
jstenar
7beb54f1a1
pyreadline: fix bug in copy_selection_to_clipboard. Didn't work when selection started at beginning of line.
2007-05-29 18:04:51 +00:00
jstenar
a07c16aa3d
pyreadline: Addition to manual
2007-05-24 18:11:32 +00:00
jstenar
aad4975eaf
pyreadline: fix pageup, pagedown scrolling of window. Started work on implementing kill_ring separate from clipboard. ctrl-k and esc no longer puts anything on clipboard
2007-05-14 20:18:43 +00:00
jstenar
85dca10ea8
pyreadline: fix pre_inputhook and startup_hook, autoindent were not functioning in ipython
2007-05-14 18:02:27 +00:00
fperez
139bd0f149
Updated version number for final 1.4.3 release.
2007-05-10 01:58:26 +00:00
jstenar
c7dc35952f
pyreadline: Fix ticket #153 , some updates to documentation.
2007-05-09 19:11:12 +00:00
jstenar
4199cd45d4
pyreadline: updates to documentation and release.py. Change in how keyboard_interrupts propagates in ironpython, still some work is left to get the same traceback on pressing ctrl-c as a plain ironpython without pyreadline installed.
2007-04-21 20:26:24 +00:00
jdh2358
aadb9f11a7
Update version info for release
2007-04-19 04:54:41 +00:00
jstenar
e0eb8b1acb
pyreadline: Removing some test methods that should not have been comitted at rev 2246
2007-04-18 17:29:44 +00:00
jstenar
ea4ef6e3d9
pyreadline: When allowing to bind ctrl-c we now issue a KeyBoardInterrupt if
...
control-c is pressed twice within ctrl_c_tap_time_interval which is defaulted
to 0.3 s and can be set from the configfile.
2007-04-17 19:43:55 +00:00
jstenar
d4f2cbeab8
pyreadline: Fix crash when readline called from doctest. stdout was replaced by dummy object, we now assume encoding=="ascii" if stdout.encdoding is missing.
2007-04-16 17:56:36 +00:00
jstenar
e25ea17ddb
pyreadline: Changing default control-delete binding to forward_delete_word and add test. Adding changelog entry for rev2237-2239
2007-04-14 18:38:26 +00:00
jdh2358
808975b1f4
fix indentation errors
2007-04-11 17:54:26 +00:00
jdh2358
2c3b1bc497
Fix missing function clear_history, thanks to a patch by Aldarion <erendisaldarion@gmail.com>
2007-04-11 17:17:06 +00:00
jdh2358
fa1abaad08
Fix setup.py for new package structure.
2007-04-11 14:29:25 +00:00
jstenar
9079a43a8b
pyreadline: forgot to commit changelog
2007-03-15 19:11:24 +00:00
jstenar
256d91c4b7
pyreadline: Copying refactor branch to become new trunk for 1.4 series
2007-03-15 18:53:16 +00:00
jstenar
b7d1177cc0
pyreadline-refactor: Fix buggy get_begidx and get_endidx. Ensure unicode can print in write_x methods on Console.
2007-03-15 18:39:26 +00:00
jstenar
1a604cf973
pyreadline-branch: added possibility to bind ctrl-c to copy. Changed test for ironpython due to changes in ironpython. Some refactoring/renaming of clipboard files
2007-03-06 19:27:29 +00:00
jstenar
4d8af3936a
pyreadline-refactor: move ironpython specifics from emacs.py to hook_wrapper
2006-11-15 20:04:16 +00:00
jstenar
2fa73b567d
pyreadline-refactor: rearranging of lines in pyreadlineconfig.ini
2006-11-15 18:58:17 +00:00