Commit Graph
37 Commits
Author SHA1 Message Date
jstenar ff1dfb08f1 Ensure add_history adds unicode string 2012-08-17 09:12:38 +02:00
Jörgen Stenarson 7acedc9939 Removing unecessary import of pdb, can cause problems #1 2012-06-27 20:39:33 +02:00
Jörgen Stenarson 74ca9e108a Adding __future__ imports to all files 2012-02-15 18:38:16 +01:00
Jorgen Stenarson 2fb5df1811 Merging python3 fixes from Shimizukawa 2011-10-06 21:02:52 +02:00
Jorgen Stenarson 1dd053671e Finalizing incremental search 2011-04-14 20:36:47 +02:00
Jorgen Stenarson 18cb7fe6ca Fixing get_history_item indexing to be 1 based, fixes bug #760901 2011-04-14 19:01:12 +02:00
Jorgen Stenarson 1d71dec2a0 Fix for reverse and forward incremental search 2011-04-14 18:52:22 +02:00
shimizukawaandshimizukawa 08f4cf1c2b bytes/str/unicode tweaking for py2/3. 2011-04-09 18:22:08 +09:00
shimizukawaandshimizukawa 88df4051ed remove 'exceptions' package name. it is not need in Python2 and Python3. 2011-04-09 16:52:04 +09:00
shimizukawaandshimizukawa e3e4299233 revert python3 support. 2011-04-09 16:18:47 +09:00
shimizukawaandshimizukawa c7f6181845 fix for python3: fp.write() need bytes object instead of str. 2011-03-30 09:34:12 +09:00
shimizukawaandshimizukawa fcfc113c12 change function name: ensure_str -> ensure_bytes.
change function name: ensure_unicode -> ensure_str.
2011-03-30 00:51:53 +09:00
shimizukawaandshimizukawa 315830d67d fix for python3 bytes/str type mismatch. 2011-03-30 00:47:36 +09:00
shimizukawaandshimizukawa a0b0db4057 apply 2to3.py
$ python-3.2 2to3.py -w .
2011-03-30 00:26:30 +09:00
Jorgen Stenarson fbe5cc9ae4 Merging from r92 1.6 2011-02-25 20:19:13 +01:00
Jorgen Stenarson bad7ebf0a3 Fixing readline api problems Bug #637506 2010-09-16 20:41:57 +02:00
Jorgen Stenarson 788302868c Pep-8 modes/emacs.py 2010-07-20 20:14:35 +02:00
Jorgen Stenarson f08b5b1c5a reformatting pyreadline/lineeditor/*.py 2008-11-12 22:56:56 +01:00
Jorgen Stenarson 2cda7c0863 Changed all strings to unicodestrings 2008-11-11 20:22:45 +01: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 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
jstenarandjstenar b1bae5d69f pyreadline: all conversion is now handled by the ensure_unicode, ensure_str pair of functions 2007-11-10 18:28:25 +00:00
jstenarandjstenar 0716080c10 pyreadline: more fixes to unicode 2007-11-10 00:13:26 +00:00
jstenarandjstenar 4cc7d71026 pyreadline: Adding test suite for history buffer 2007-10-30 20:02:10 +00:00
jstenarandjstenar 8089527e23 pyreadline: patch provided by pan to enable input of unicode. 2007-10-29 18:46:18 +00:00
jdh2358andjdh2358 808975b1f4 fix indentation errors 2007-04-11 17:54:26 +00:00
jdh2358andjdh2358 2c3b1bc497 Fix missing function clear_history, thanks to a patch by Aldarion <erendisaldarion@gmail.com> 2007-04-11 17:17:06 +00:00
jstenarandjstenar 50b957772a pyreadline-refactor: More improvements of ironpython handling, more testcases 2006-11-13 18:06:44 +00:00
jstenarandjstenar 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
jstenarandjstenar 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
jstenarandjstenar 9a551ad86b pyreadline-refactor: Fixes to make tests pass. One failure remains in vi_test.py 2006-10-22 17:29:30 +00:00
jstenarandjstenar b1992d2c82 pyreadline-refactor: Fixed history_search bug, crash when no match. 2006-10-17 20:20:15 +00:00
jstenarandjstenar 89b5a62de1 pyreadline-refactor: Merge ansi patch and tab patch from trunk. 2006-09-11 20:00:23 +00:00
jstenarandjstenar 9669045ea1 pyreadline-refactor: Started on tests for emacsmode and lineeditor 2006-04-04 21:19:34 +00:00
jstenarandjstenar 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
jstenarandjstenar d581263f4b pyreadline refactor: Refactored line_buffer and history_buffer 2006-02-14 20:50:16 +00:00