Jorgen Stenarson
f08b5b1c5a
reformatting pyreadline/lineeditor/*.py
2008-11-12 22:56:56 +01:00
Jorgen Stenarson
ece97cb36e
Reformatted pyreadline/keysyms/*.py
2008-11-12 22:31:13 +01:00
Jorgen Stenarson
0e8e0c22e3
Ensure unicode from completions in logmessage
2008-11-12 22:23:08 +01:00
Jorgen Stenarson
095b86f9e6
reformatted pyreadline/console
2008-11-11 21:37:11 +01:00
Jorgen Stenarson
25530a8554
Reformatted pyreadline/clipboard/
2008-11-11 21:11:01 +01:00
Jorgen Stenarson
7295340c31
Reformatted code pyreadline/*.py
2008-11-11 20:59:36 +01:00
Jorgen Stenarson
2cda7c0863
Changed all strings to unicodestrings
2008-11-11 20:22:45 +01:00
Jorgen Stenarson
c5f76e2768
Worked on docs.
...
Edits in:
* installation.rst to reflect new launchpad location.
* introduction.rst
* usage.rst
2008-08-28 20:31:47 +02:00
Jorgen Stenarson
60bfde049f
Added forgotten files from split
2008-08-28 19:59:42 +02:00
Jorgen Stenarson
be190330f9
Documentation split
2008-08-27 20:25:29 +02:00
Jorgen Stenarson
f05e53b4e5
Split docs into several files
2008-08-27 20:23:01 +02:00
Jorgen Stenarson
7f2793a4b3
Merging tab-emulation from trunk
2008-08-27 19:40:12 +02:00
Jorgen Stenarson
10b8512e5a
removed unused code, and did some other cosmetic changes to the code
2008-08-27 19:28:45 +02:00
Jorgen Stenarson
7f0d1ca94f
Merging patch from Vivian De Smedt for tab insert, removed comments with vds initials
2008-08-25 19:12:51 +02:00
vds
0d6e42ef4e
Improve tab insertion to be sure it works in the middle of a line.
2008-08-17 21:06:25 +02:00
vds
84d5ee1480
Solve the tab-emulation bug.
2008-08-17 12:29:22 +02:00
Jorgen Stenarson
c2579348bf
Removed the last dependency on console from vi-mode.
...
The cursor_size property of the BaseMode class should be used to
determine the wanted cursorsize.
Fixed some whitespace in emacsmode.
2008-07-07 18:48:45 +02:00
Jorgen Stenarson
8dab9d8663
Changed logging to use the logging module.
2008-07-07 18:22:38 +02:00
Jorgen Stenarson
dd9ea63fb7
Changed logging to use the logging module.
2008-07-07 18:18:20 +02:00
Jorgen Stenarson
0d491bc652
improved tk_gui.py example to have a rudimentary python interpreter.
2008-07-01 22:09:10 +02:00
Jorgen Stenarson
e077db56c6
improved tk_gui.py example to have a rudimentary python interpreter
...
translation of KeyPress events needs much work. Dead keys, alt gr, and many
special non-alphanumeric keys don't work properly.
2008-07-01 22:06:38 +02:00
Jorgen Stenarson
1b490e55ef
Fixed last functions in emacs mode that use console directly
2008-07-01 21:08:15 +02:00
Jorgen Stenarson
b4462fb137
Fixed last functions in emacs mode that use console directly. Implemented digit_argument.
...
Made changes to TextLine and ReadLineTextLine classes to handle argument in insert_text
Added DigitArgumentMode to handle digit_arguments
2008-07-01 21:06:07 +02:00
Jorgen Stenarson
0a5f3a0b4d
Continued refactoring of keyboard handling
2008-06-30 21:56:49 +02:00
Jorgen Stenarson
b20b6ea320
fixing search to use process_keyevent
...
Changed ReadLine._update_line to always redraw prompt
Moved keyboard using functions from history.py to EmacsMode
2008-06-30 21:47:11 +02:00
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