summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/PyShell.py
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 66922 via svnmerge fromBenjamin Peterson2008-10-161-4/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r66922 | benjamin.peterson | 2008-10-16 14:40:14 -0500 (Thu, 16 Oct 2008) | 1 line use new showwarnings signature for idle #3391 ........
* Tkinter rename reversal: remove tkinter package, adapt imports and docs.Georg Brandl2008-05-201-5/+5
|
* Tkinter rename, step 2: fix imports and add stub modules.Georg Brandl2008-05-161-5/+5
|
* Home / Control-A toggles between left margin and end of leading whiteKurt B. Kaiser2008-04-271-11/+0
| | | | | | | | space. Patch 1196903 Jeff Shute. M idlelib/PyShell.py M idlelib/EditorWindow.py M idlelib/NEWS.txt
* #2503 make singletons compared with "is" not == or !=Benjamin Peterson2008-03-291-1/+1
| | | | Thanks to Wummel for the patch
* Remove unused theme that was causing a fault in p3k.Kurt B. Kaiser2007-10-041-1/+0
|
* Clean up ModifiedInterpreter.runcode() structureKurt B. Kaiser2007-02-061-27/+29
|
* Bug #813342: Start the IDLE subprocess with -Qnew if the parentGeorg Brandl2006-10-121-0/+2
| | | | is started with that option.
* Add comment explaining that error msgs may be due to user code whenKurt B. Kaiser2006-10-011-0/+2
| | | | running w/o subprocess.
* File menu hotkeys: there were three 'p' assignments. Reassign theKurt B. Kaiser2006-08-161-1/+1
| | | | | | | | | 'Save Copy As' and 'Print' hotkeys to 'y' and 't'. Change the Shell menu hotkey from 's' to 'l'. M Bindings.py M PyShell.py M NEWS.txt
* Get quit() and exit() to work cleanly when not using subprocess.Kurt B. Kaiser2006-08-161-7/+10
|
* Patch #1540892: site.py Quitter() class attempts to close sys.stdinKurt B. Kaiser2006-08-161-8/+8
| | | | | | | | | | before raising SystemExit, allowing IDLE to honor quit() and exit(). M Lib/site.py M Lib/idlelib/PyShell.py M Lib/idlelib/CREDITS.txt M Lib/idlelib/NEWS.txt M Misc/NEWS
* Retrieval of previous shell command was not always preserving indentationKurt B. Kaiser2006-08-101-9/+15
| | | | since 1.2a1) Patch 1528468 Tal Einat.
* As a slight enhancement to the previous checkin, improve theKurt B. Kaiser2006-08-091-2/+5
| | | | internal error reporting by moving message to IDLE console.
* 1. When used w/o subprocess, all exceptions were preceeded by an errorKurt B. Kaiser2006-08-091-1/+2
| | | | | | | | | message claiming they were IDLE internal errors (since 1.2a1). 2. Add Ronald Oussoren to CREDITS M NEWS.txt M PyShell.py M CREDITS.txt
* EditorWindow failed when used stand-alone if sys.ps1 not set.Kurt B. Kaiser2006-07-241-4/+0
| | | | | | | | Bug 1010370 Dave Florek M EditorWindow.py M PyShell.py M NEWS.txt
* Whitespace normalization.Tim Peters2006-06-111-2/+2
|
* This patch improves the L&F of IDLE on OSX. The changes are conditionalized onRonald Oussoren2006-06-111-1/+20
| | | | | being in an IDLE.app bundle on darwin. This does a slight reorganisation of the menus and adds support for file-open events.
* Merge IDLE-syntax-branch r39668:41449 into trunkKurt B. Kaiser2005-11-181-5/+6
| | | | | | | | | | | | | | | | A idlelib/AutoCompleteWindow.py A idlelib/AutoComplete.py A idlelib/HyperParser.py M idlelib/PyShell.py M idlelib/ParenMatch.py M idlelib/configDialog.py M idlelib/EditorWindow.py M idlelib/PyParse.py M idlelib/CallTips.py M idlelib/CallTipWindow.py M idlelib/run.py M idlelib/config-extensions.def A idlelib/MultiCall.py
* Remove unused importNeal Norwitz2005-09-011-1/+0
|
* Remove dead codeKurt B. Kaiser2005-06-211-12/+8
| | | | | M IdleHistory.py M PyShell.py
* <Enter> when cursor is on a previous command retrieves that command. InsteadKurt B. Kaiser2005-06-191-7/+27
| | | | | | | | | of replacing the input line, the previous command is now appended to the input line. Indentation is preserved, and undo is enabled. Patch 1196917 Jeff Shute Modified Files: NEWS.txt PyShell.py
* Improve subprocess link error notificationKurt B. Kaiser2005-05-101-0/+3
| | | | | | M NEWS.txt M PyShell.py M rpc.py
* 1. Polish tabbing code.Kurt B. Kaiser2005-01-191-1/+5
| | | | | | | | | | | | | | | | | 2. Restore use of set_indentation_params(), was dead code since Autoindent.py was merged into EditorWindow.py. 3. Make usetabs, indentwidth, tabwidth, context_use_ps1 instance vars and set in EditorWindow.__init__() 4. In PyShell.__init__() set usetabs, indentwidth and context_use_ps1 explicitly (config() is eliminated). 5. Add Tabnanny check when Module is Run/F5, not just when Checked. 6. Discourage using an indent width other than 8 when using tabs to indent Python code. M EditorWindow.py M NEWS.txt M PyShell.py M ScriptBinding.py
* The GUI was hanging if the shell window was closed while a raw_input()Kurt B. Kaiser2004-12-231-6/+12
| | | | | | | | was pending. Restored the quit() of the readline() mainloop(). http://mail.python.org/pipermail/idle-dev/2004-December/002307.html M NEWS.txt M PyShell.py
* The remote procedure call module rpc.py can now access data attributes ofKurt B. Kaiser2004-12-211-1/+1
| | | | | | | | | | | remote registered objects. Changes to these attributes are local, however. M EditorWindow.py M NEWS.txt M PyShell.py M idlever.py M rpc.py M run.py
* The change in the linecache.checkcache() signature at rev 1.13 caused IDLE ↵Kurt B. Kaiser2004-11-131-6/+8
| | | | | | | | | to exit when an exception was raised while running w/o the subprocess. Python Bug 1063840 M NEWS.txt M PyShell.py
* 1. If user passes a non-existant filename on the commandline, just openKurt B. Kaiser2004-08-221-4/+5
| | | | | | | | | | | | | | | | | a new file, don't raise a dialog. IDLEfork 954928. 2. Refactor EditorWindow.wakeup() to WindowList.ListedToplevel.wakeup() and clarify that the Toplevel of an EditorWindow is a WindowList.ListedToplevel. 3. Make a number of improvements to keyboard focus binding. Improve window raising, especially in the debugger. IDLEfork Bug 763524 (GvR list). 4. Bump idlever to 1.1a3 M Debugger.py M EditorWindow.py M FileList.py M NEWS.txt M PyShell.py M WindowList.py M idlever.py
* whitespace normalizationSkip Montanaro2004-07-061-2/+2
|
* Redirect the warning stream to the shell during the ScriptBinding check of ↵Kurt B. Kaiser2004-07-041-3/+28
| | | | | | | | | | | | user code and format the warning similarly to an exception for both that check and for warnings raised in the subprocess. M NEWS.txt M Pyshell.py M ScriptBinding.py M run.py
* Noam Raphel: Further developemt of CodeContext feature.Kurt B. Kaiser2004-06-061-0/+3
| | | | | | | | | | | | The visibility state of the code context pane is now persistent between sessions and the pane does not appear in the shell window. M CodeContext.py M EditorWindow.py M NEWS.txt M PyShell.py M config-extensions.def M configHandler.py
* Add a highlight theme for builtin keywords. Python Patch 805830 Nigel RoweKurt B. Kaiser2004-03-081-1/+3
| | | | | | | | | | | | M ClassBrowser.py M ColorDelegator.py M EditorWindow.py M NEWS.txt M PyShell.py M TreeWidget.py M config-highlight.def M configDialog.py M configHandler.py
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-9/+9
| | | | From SF patch #852334.
* There was an error in the Tk error dialog fix at Rev 1.84 which caused startingKurt B. Kaiser2004-01-211-2/+2
| | | | | | | | w/o the subprocess to fail. Check in a fix to IDLE and IDLEfork. M PyShell.py Backport candidate, combine with previous.
* Added a Tk error dialog to run.py inform the user if the subprocess can'tKurt B. Kaiser2004-01-211-48/+65
| | | | | | | | | | | | | | connect to the user GUI process. Added a timeout to the GUI's listening socket. Added Tk error dialogs to PyShell.py to announce a failure to bind the port or connect to the subprocess. Clean up error handling during connection initiation phase. This is an update of Python Patch 778323. M NEWS.txt M PyShell.py M ScriptBinding.py M run.py Backport candidate.
* Keybindings with the Shift modifier now work correctly. So do bindingsKurt B. Kaiser2003-11-241-1/+6
| | | | | | | | | | | | | | | | which use the Space key. Limit unmodified user keybindings to the function keys. Python Bug 775353, IDLEfork Bugs 755647, 761557 Improve error handling during startup if there's no Tkinter. M NEWS.txt M PyShell.py M config-keys.def M configHandler.py M keybindingDialog.py Backport candidate.
* IDLE didn't start correctly when Python was installed in "Program Files"Kurt B. Kaiser2003-08-141-2/+7
| | | | | | on W2K and XP. Python Bugs 780451, 784183 Backported to 2.2-maint
* Added a banner to the shell startup message discussing possibleKurt B. Kaiser2003-07-271-2/+11
| | | | | | | | | warnings from personal firewall software. Added the same text to README.txt, updated NEWS.txt for release. M NEWS.txt M PyShell.py M README.txt
* SF patch #768187: replace apply(f, args, kwds) with f(*args, **kwds)Raymond Hettinger2003-07-091-1/+1
|
* SF Bug 767794Kurt B. Kaiser2003-07-091-0/+2
| | | | "Break or continue outside loop causes crash"
* Idlefork patch #682347: convert Unicode strings from readline toMartin v. Löwis2003-06-221-4/+12
| | | | | IOBinding.encoding. Also set sys.std{in,out,err}.encoding, for both the local and the subprocess case.
* Support testing in .../Lib/idlelib when calling <python PyShell.py>Kurt B. Kaiser2003-06-151-0/+1
| | | | by providing other modules access to globals set up in PyShell.main()
* Remove the 2.2 compatibility module boolcheck.py and related codeKurt B. Kaiser2003-06-141-3/+0
| | | | | | M PyShell.py R boolcheck.py M run.py
* Remove reference to IDLEforkKurt B. Kaiser2003-06-141-1/+1
|
* Avoid problem resolving 'localhost'Kurt B. Kaiser2003-06-051-1/+2
| | | | | | M PyShell.py M rpc.py M run.py
* Modify the remote stack viewer to work in the threaded subprocess.Kurt B. Kaiser2003-06-021-0/+14
| | | | | M PyShell.py M run.py
* Added a config-main General option to delete sys.exitfunc. The defaultKurt B. Kaiser2003-05-281-3/+6
| | | | | | | | is not to do that. VPython and student environment support. M PyShell.py M config-main.def M run.py
* Whitespace NormalizationKurt B. Kaiser2003-05-261-1/+1
| | | | Modified Files: PyShell.py ScriptBinding.py buildapp.py
* Improved the RESTART annotation in the shell window when the userKurt B. Kaiser2003-05-241-0/+9
| | | | | restarts the shell while it is generating output. Also improved annotation when user repeatedly hammers the Ctrl-F6 restart.
* 1. Stake Freddy.Kurt B. Kaiser2003-05-241-23/+22
| | | | | | | | | | | | | e.g. further improve subprocess interrupt, exceptions, and termination. 2. Remove the workarounds in PyShell.py and ScriptBinding.py involving interrupting the subprocess prior to killing it, not necessary anymore. 3. Fix a bug introduced at PyShell Rev 1.66: was getting extra shell menu every time the shell window was recreated. M PyShell.py M ScriptBinding.py M rpc.py M run.py