Commit Graph

126 Commits

Author SHA1 Message Date
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 5d2f4c4c34 Fixes to logging module 2010-01-29 19:21:25 +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 c6f87d0474 Merging refactoring branch 2009-10-06 19:42:15 +02: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 229b5da29c Add some enure_unicode, ensure_str. 2009-01-12 23:26:33 +01:00
Jorgen Stenarson 87da34ebf2 Add some ensure_unicode, ensure_str. 2009-01-11 17:53:31 +01:00
Jorgen Stenarson a7927dc347 merge of new-docs from trunk 2008-12-17 19:48:22 +01:00
Jorgen Stenarson 9a55d48ffd merge from trunk 2008-12-17 19:47:44 +01:00
Jorgen Stenarson ebe3715dba merge docchanges from new-docs branch 2008-12-17 19:46:35 +01:00
Jorgen Stenarson f98c8b4f55 ansi color patch from david shilvock 2008-12-17 19:27:56 +01:00
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