summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
Commit message (Collapse)AuthorAgeFilesLines
* Attempting to save the shell raised an error related to savingKurt B. Kaiser2003-03-041-2/+8
| | | | breakpoints, which are not implemented in the shell
* SF 693333Kurt B. Kaiser2003-03-041-0/+3
| | | | | Modify subprocess to print a reasonable message upon receiving a 'quit' or 'exit'
* SF 695861Kurt B. Kaiser2003-03-031-1/+11
| | | | | | | Eliminate extra blank line in shell output. Caused by stdout not being flushed upon completion of subprocess' Executive.runcode() when user code ends by outputting an unterminated line, e.g. print "test",
* M rpc.pyKurt B. Kaiser2003-02-272-43/+46
| | | | | | | | M run.py Move exception formatting out of rpc.py. This allows each end of the link to format and print exceptions how and where it sees fit and makes it easier for threads to display their own exceptions.
* M NEWS.txtKurt B. Kaiser2003-02-175-63/+149
| | | | | | | | | | | | | | | | | | M PyShell.py M ScriptBinding.py M rpc.py M run.py Clean up the way IDLEfork handles termination of the subprocess, restore ability to interrupt user code in Windows (so long as it's doing terminal I/O). 1. Handle subprocess interrupts in Windows with an RPC message. 2. Run/F5 will restart the subprocess even if user code is running. 3. Restart the subprocess if the link is dropped. 4. Exit IDLE cleanly even during I/O. 4. In rpc.py, remove explicit calls to statelock, let the condition variable handle acquire() and release().
* M PyShell.pyKurt B. Kaiser2003-01-312-84/+42
| | | | | | | | | | M rpc.py SF Bug 676398 Doesn't handle non-built-in exceptions 1. Move exception formatting to the subprocess; allows subclassing of exceptions, including subclasses created in the shell without introducing excessive complexity in the RPC mechanism. 2. Provide access to linecache from subprocess to support this.
* Update for release.Kurt B. Kaiser2003-01-273-13/+39
| | | | | Modified Files: INSTALL.txt NEWS.txt idlever.py
* Whitespace normalization.Kurt B. Kaiser2003-01-273-4/+4
| | | | | Modified Files: Bindings.py configHandler.py configHelpSourceEdit.py
* Update.Kurt B. Kaiser2003-01-261-7/+9
|
* M ScriptBinding.pyKurt B. Kaiser2003-01-263-55/+65
| | | | | | | | M config-extensions.def M help.txt 1. Run Script --> Run Module 2. Update IDLE Help file and do more work on format.
* M PyShell.pyKurt B. Kaiser2003-01-253-40/+45
| | | | | | | | | | | | | | | | | | | | | | | M RemoteDebugger.py M rpc.py Fix the incorrect shell exception tracebacks generated when running under debugger control: 1. Use rpc.SocketIO.asynccall() instead of remotecall() to handle the IdbProxy.run() command. 2. Add a 'shell' attribute to RemoteDebugger.IdbProxy to allow setting of ModifiedInterpreter's active_seq attribute from RemoteDebugger code. 3. Cleanup PyShell.ModifiedInterpreter.runcode() and remove ambiguity regarding use of begin/endexecuting(). 4. In runcode() and cleanup_traceback() use 'console' instead of 'file' to denote the entity to which the exception traceback is printed. 5. Enhance cleanup_traceback() so if the traceback is pruned entirely away (the error is in IDLE internals) it will be displayed in its entirety instead. 6. ModifiedInterpreter.runcode() now prints ERROR RPC returns to both console and __stderr__. 7. Make a small tweak to the rpc.py debug messages.
* 1. Eliminate putrequest(): only used in asynccall(), merge it there.Kurt B. Kaiser2003-01-251-19/+36
| | | | | | 2. Add additional debugging statements and enhance others. 3. Clarify comments. 4. Move SocketIO.nextseq class attribute to beginning of class.
* Make Alt-Key-2 the Zoom Height binding for ClassBrowser and PathBrowser,Kurt B. Kaiser2003-01-221-2/+2
| | | | consistent with the Edit/Shell windows.
* M Bindings.pyKurt B. Kaiser2003-01-224-24/+34
| | | | | | | | | | | | | M PyShell.py M config-keys.def M configHandler.py 1. Clear any un-entered characters from input line before printing the restart boundary. 2. Restore the Debug menu: There are now both Shell and Debug menus. 3. Add Control-F6 keybinding to Restart Shell. 4. Clarify PyShell.cancel_check() comment. 5. Update doc string for Bindings.py and re-format the file slightly.
* 1. Restore the rest of Python IDLE setup.py Rev 1.4 (Python SF 634078)Kurt B. Kaiser2003-01-211-4/+7
| | | | | | (Loewis) which uses 'SRCDIR' (if available) in package dir path. 2. Merge Python IDLE setup.py Rev 1.5 (Loewis) to allow installation from the build directory. IDLEfork SF Patch 668998 (Loewis)
* ...and the old pyclbr.py faked Function instances with Class instancesKurt B. Kaiser2003-01-201-1/+4
| | | | | which had empty method and super attributes. ClassBrowser.IsExpandable() could not handle the missing attributes. SF Bug 667787.
* SF bug #668906: class browser raises AttributeErrorRaymond Hettinger2003-01-191-1/+1
| | | | | | | | The Py2.3 updates to the pyclbr module return both Class and Function objects. The IDLE ClassBrowser module only knew about Class and could not handle objects which did not define "super". Fixed by adding a guard.
* Patch 611069 (Christos Georgiou) IDLE TODO:left/right when selected textKurt B. Kaiser2003-01-173-2/+28
| | | | | | M EditorWindow.py M NEWS.txt M TODO.txt
* SF Bug 667812: Some Linux distros have Alt and Meta reversed.Kurt B. Kaiser2003-01-161-13/+13
|
* Updated IDLE Help to reflect changes in Additional Help SourceKurt B. Kaiser2003-01-141-8/+26
| | | | Configuration implementation.
* M Bindings.pyKurt B. Kaiser2003-01-148-92/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | M EditorWindow.py M NEWS.txt M config-main.def M configDialog.py M configHandler.py M configHelpSourceEdit.py M configSectionNameDialog.py - Change default: IDLE now starts with Python Shell. - Removed the File Path from the Additional Help Sources scrolled list. - Add capability to access Additional Help Sources on the web if the Help File Path begins with //http or www. (Otherwise local path is validated, as before.) - Additional Help Sources were not being posted on the Help menu in the order entered. Implement sorting the list by [HelpFiles] 'option' number. - Add Browse button to New Help Source dialog. Arrange to start in Python/Doc if platform is Windows, otherwise start in current directory. - Put the Additional Help Sources directly on the Help menu instead of in an Extra Help cascade menu. Rearrange the Help menu so the Additional Help Sources come last. Update help.txt appropriately. - Fix Tk root pop-ups in configSectionNameDialog.py and configDialog.py
* Update documentation.Kurt B. Kaiser2003-01-104-238/+323
|
* SF bug #652933 (for IdleFork): Open Module "math" Fails (Hettinger)Kurt B. Kaiser2003-01-101-1/+4
| | | | | | | When a module doesn't have a __path__ attribute, trigger a dialog box rather than dumping a traceback to the console. Synch to Python IDLE.
* M configDialog.pyKurt B. Kaiser2003-01-102-82/+97
| | | | | | | | | | | | | M configHelpSourceEdit.py 1. Attach configHelpSourceEdit error dialogs to parent to avoid Tk root pop-ups. 2. Make configHelpSourceEdit OK button the default and bind <Return>. 3. Reformat configHelpSourceEdit. 4. ConfigDialog.SaveAllChangedConfig() had a bug which caused additional help sources to be deleted when other config items were changed. 4. Uniform capitalization in configDialog. 5. Update configDialog doc string.
* 1. Make finding Python help docs more robust, including the installedKurt B. Kaiser2003-01-101-19/+29
| | | | | | configuation. 2. Make sure that os.startfile() is used to open both Python help docs and Extra Help docs on the Windows platforms.
* Default the OK key in the Save Before Run dialog.Kurt B. Kaiser2003-01-101-0/+1
|
* M AutoExpand.pyKurt B. Kaiser2003-01-047-27/+55
| | | | | | | | | | | | | | | | | | | | | | | | M Bindings.py M EditorWindow.py M PyShell.py M config-keys.def M configHandler.py M help.txt 1. Annotate the shell window with last restart boundary upon restart. 2. Provide a shell menu entry and hot key (F6) to jump to the last restart boundary. 3. Add a new shell menu feature to restart the shell. 4. Update the help menu to add these features. 5. Update the help menu to put text in same order as the menus. 6. Correct a capitalization inconsistency on the Edit menu: Expand Word 7. Rename the "Debug" menu to be "Shell": it's doing more now. 8. Rearrange the "Shell" menu to make the StackViewer entries adjacent. 9. Add a get_geometry method to EditorWindow, which may be of use in making window positions persisent. 10. Make <ctrl-v> the "Classic Windows" paste key. 11. Restore decorum on the Help menu by removing "Advice". As Guido said, things will never be the same. Thanks, David!
* 1. Remove obsolete, incorrect comment on non-package installationKurt B. Kaiser2003-01-021-7/+3
| | | | | 2. Add more .txt files to installation 3. Fix the reference to Visual Python, s/b VPython
* Improve exception handling.Kurt B. Kaiser2003-01-023-3/+6
|
* More installation info. Bump alpha version.Kurt B. Kaiser2003-01-012-7/+11
|
* Debugger was tracing through rpc.py when IDLEfork was not startedKurt B. Kaiser2003-01-011-21/+19
| | | | | from its source directory. Generalize the "workaround" (though the latter seems a reasonable solution?) to handle this.
* Improve exception handling.Kurt B. Kaiser2002-12-313-6/+6
|
* Don't let the docstring end up in __main__.__doc__Tony Lownds2002-12-311-14/+14
|
* Update (slightly) for Alpha releaseKurt B. Kaiser2002-12-311-0/+7
|
* Move history to HISTORY.txtKurt B. Kaiser2002-12-311-0/+122
|
* Update for Alpha 0 ReleaseKurt B. Kaiser2002-12-312-182/+61
|
* Keep __main__ namespace cleanTony Lownds2002-12-311-1/+1
|
* Whitespace NormalizationKurt B. Kaiser2002-12-3123-322/+306
|
* Remove some old debugging print statements.Kurt B. Kaiser2002-12-291-10/+0
|
* M EditorWindow.pyKurt B. Kaiser2002-12-292-16/+20
| | | | | | | | | | | | | | | M PyShell.py 1. PyShell Rev 1.39, EditorWindow Rev 1.37 fix was not handling a multiline prompt. 2. The same fix introduced a bug where hitting <enter> at a previous prompt-only line would copy the prompt to the iomark. 3. Move the setting of sys.ps1 earlier, into PyShell.main(), to allow this code to work before a shell is started up. 4. If cursor is on the input line in the prompt, and you hit <enter>, process the line instead of complaining. 5. If line has no stdin range (this includes the last line before shell restart) strip any prompt before recalling.
* boolcheck cannot be deleted here.Tony Lownds2002-12-241-1/+1
|
* Move boolcheck before import of other IDLE modulesTony Lownds2002-12-241-3/+3
|
* M PyShell.pyKurt B. Kaiser2002-12-245-15/+35
| | | | | | | | | | | | | | | | M idle M idle.py M idle.pyw M setup.py Switch back to installing IDLE as a package. The IDLE GUI and the subprocess will both attempt to start up via the package mechanism, but if IDLE is not yet installed it is possible to run by calling python idle.py in the IDLE source directory, or to add the source directory to sys.path. One advantage of doing it this way is IDLE stays off sys.path. Developed in collaboration with Tony Lownds.
* IDLE should exit if it fails to connect with the execution serverKurt B. Kaiser2002-12-241-1/+1
| | | | subprocess. Currently it opens a dead shell window.
* 1. RPC stack levels were not pruned from traceback unless IDLE was startedKurt B. Kaiser2002-12-241-12/+27
| | | | | | from its source directory. 2. Replace final traceback '?' with '-toplevel-' 3. Remove duplicated import boolcheck
* Uniform Capitalization in MenusKurt B. Kaiser2002-12-241-20/+20
|
* Remove debugging connection messageKurt B. Kaiser2002-12-231-2/+3
|
* Make this script execute using pythonwTony Lownds2002-12-231-0/+1
|
* Revert to revision 1.3; Mac OS X has a platform specific startup script, ↵Tony Lownds2002-12-231-15/+2
| | | | macosx_main.py
* Move boolcheck to PyShellTony Lownds2002-12-232-7/+4
|