shimizukawaand shimizukawa
fcfc113c12
change function name: ensure_str -> ensure_bytes.
...
change function name: ensure_unicode -> ensure_str.
2011-03-30 00:51:53 +09:00
shimizukawaand shimizukawa
a0b0db4057
apply 2to3.py
...
$ python-3.2 2to3.py -w .
2011-03-30 00:26:30 +09:00
Jorgen Stenarson
e24e2e1fa7
Merging r98..99 from 1.6
2011-02-25 20:22:11 +01:00
Jorgen Stenarson
fbe5cc9ae4
Merging from r92 1.6
2011-02-25 20:19:13 +01:00
Jorgen Stenarson
330c7e7d09
Fix for set in parse_and_bind. Bug #449963 problem found by alon
2010-11-29 19:39:07 +01:00
Jorgen Stenarson
bad7ebf0a3
Fixing readline api problems Bug #637506
2010-09-16 20:41:57 +02:00
Jorgen Stenarson
0fd037b8c0
Merge changes from 1.6 release
2010-07-15 20:44:41 +02:00
Jorgen Stenarson
661f396303
Adding cleanup code to fix problem in python 2.7
2010-07-15 19:52:53 +02:00
Jorgen Stenarson
a4e4163575
Make it possible to bind a function to a key
2010-02-22 19:51:08 +01:00
Jorgen Stenarson
3721005ad9
Fix for Bug 524511. Make it possible to disable filesystem completion
2010-02-22 19:34:52 +01:00
Jorgen Stenarson
cd33adfe98
Fix to make it possible to disable pyreadline from ini file
2010-01-28 20:36:47 +01:00
Jorgen Stenarson
6081024aaa
Fix for incremental search. Ctrl-S only generates events on key release events
2009-10-06 19:36:27 +02: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
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
dd9ea63fb7
Changed logging to use the logging module.
2008-07-07 18:18:20 +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
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
jstenarand jstenar
1339bcf84c
pyreadline: Warning messages for failed calls to parse_and_bind now disabled by default
2007-11-28 20:00:13 +00:00
jstenarand jstenar
a4f98cccb2
pyreadline: patch from pan to remove cursor flickering when inputting chinese characters
2007-11-20 18:59:58 +00:00
jstenarand jstenar
0716080c10
pyreadline: more fixes to unicode
2007-11-10 00:13:26 +00:00
jstenarand jstenar
cc35a871d7
Fix bug reported by Michael Graz
2007-07-19 17:01:31 +00:00
jstenarand jstenar
e0eb8b1acb
pyreadline: Removing some test methods that should not have been comitted at rev 2246
2007-04-18 17:29:44 +00:00
jstenarand 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
jdh2358and jdh2358
808975b1f4
fix indentation errors
2007-04-11 17:54:26 +00:00
jdh2358and jdh2358
2c3b1bc497
Fix missing function clear_history, thanks to a patch by Aldarion <erendisaldarion@gmail.com>
2007-04-11 17:17:06 +00:00
jstenarand 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
jstenarand jstenar
50b957772a
pyreadline-refactor: More improvements of ironpython handling, more testcases
2006-11-13 18:06:44 +00:00
jstenarand jstenar
ccc2c2b175
pyreadline-refactor: improved support for ironpython. Seems quite ok now. Also another bug fix in history search
2006-11-03 22:39:12 +00:00
jstenarand jstenar
6dc285c0db
pyreadline-refactor: set_text_color, set_prompt_color added, bug fix history search, ansi color patch
2006-10-25 20:40:17 +00:00
jstenarand jstenar
b1fe88f8c6
pyreadline-refactor: Fixing clipboard bugs, adding some editing functions
2006-10-18 21:25:49 +00:00
jstenarand jstenar
89b5a62de1
pyreadline-refactor: Merge ansi patch and tab patch from trunk.
2006-09-11 20:00:23 +00:00
jstenarand jstenar
14a0325175
pyreadline-refactor: More work on ironpython port especially to keep cpython working.
2006-07-13 22:03:17 +00:00
jstenarand jstenar
c02e6a77f6
pyreadline-refactor: More tests for emacsmode, changes for bugs found by tests. Removed win32all dependency.
2006-04-18 19:31:41 +00:00
jstenarand jstenar
f58ae8869c
pyreadline-refactor: Merged patch for vi-mode from Michael Graz
2006-03-31 20:40:05 +00:00
jstenarand jstenar
b7b76cd69c
pyreadline-refactor: Added visible selection mode to emacs-mode.
2006-03-21 22:00:03 +00:00
jstenarand jstenar
2130c2787c
pyreadline-refactor: Added vi-mode patch, a lot of work remains.
2006-03-21 18:26:41 +00:00
jstenarand jstenar
c280f62b3b
pyreadline-refactor: refactored emacs mode
2006-03-16 20:53:22 +00:00
jstenarand jstenar
c08f2b01ce
pyreadline-refactor: Merged changes from trunk 1158-1201 to refactor branch. Did some rearranging of method order in Readline
2006-03-12 14:52:00 +00:00
jstenarand jstenar
d581263f4b
pyreadline refactor: Refactored line_buffer and history_buffer
2006-02-14 20:50:16 +00:00
jstenarand jstenar
c3174750c8
pyreadline: experimental multiline code paste. Warning: Will ALWAYS execute the paste code regardless of trailing newline. Also removes any empty lines.
2006-01-31 20:55:35 +00:00
jstenarand jstenar
0741887eac
pyreadline: Added new handling of exit keys: ctrl-d, ctrl-z etc. Including configfile entries
2006-01-29 22:38:25 +00:00
jstenarand jstenar
a6887ae374
pyreadline: added copyright notices, begun work on egg setup
2006-01-25 20:07:13 +00:00
jstenarand jstenar
9cdff4a3c8
pyreadline: Default silent bell. Change to name of configfile. Change to configfile syntax. Renamed pyreadline.py to rlmain.py
2006-01-23 20:00:26 +00:00