summaryrefslogtreecommitdiffstats
path: root/Tools/idle
Commit message (Collapse)AuthorAgeFilesLines
* Add primitive printing support for Unix and Windows.Guido van Rossum2002-06-105-0/+38
|
* Use self.__class__ to instantiate a TreeNode item recursively, toGuido van Rossum2002-05-271-1/+1
| | | | allow subclassing.
* Patch 543222. Disable script bindings in shell window.Raymond Hettinger2002-05-213-0/+5
|
* Patches 558535. The standard Windows binding for Edit Select AllRaymond Hettinger2002-05-211-1/+1
| | | | is Control-A rather than Alt-A.
* SF bug 546078: IDLE calltips cause application error.Tim Peters2002-04-221-0/+6
| | | | | | | | Assorted crashes on Windows and Linux when trying to display a very long calltip, most likely a Tk bug. Wormed around by clamping the calltip display to a maximum of 79 characters (why 79? why not ...). Bugfix candidate, for all Python releases.
* Provisional fix for writefile() [SF bug # 541730].Guido van Rossum2002-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | The problem was that an exception can occur in the text.get() call or in the write() call, when the text buffer contains non-ASCII characters. This causes the previous contents of the file to be lost. The provisional fix is to call str(self.text.get(...)) *before* opening the file, so that if the exception occurs, we never open the file. Two orthogonal better solutions have to wait for policy decisions: 1. We could try to encode the data as Latin-1 or as UTF-8; but that would require IDLE to grow a notion of file encoding which requires more thought. 2. We could make backups before overwriting a file. This requires more thought because it needs to be fast and cross-platform and configurable.
* Patch #540583: Open MS Help Docs if available.Martin v. Löwis2002-04-141-3/+12
|
* Convert a pile of obvious "yes/no" functions to return bool.Tim Peters2002-04-046-23/+23
|
* use -kb on idle/Icons/minusnode.gif ("cvs up" kept checking it out allFredrik Lundh2002-03-181-0/+0
| | | | the time...)
* Fix by Edward K Ream to make breakpoints work on Windows: insert aGuido van Rossum2002-02-251-0/+1
| | | | missing call to self.canonic().
* Patch #520483: Make IDLE OutputWindow handle Unicode.Martin v. Löwis2002-02-231-1/+1
| | | | 2.2.1 candidate.
* smart_backspace_event(): remove now-pointless int() call.Tim Peters2002-01-231-1/+1
| | | | Bugfix candidate: the current state of AutoIdent.py should be in 2.2.1.
* Properly fix SF bug #507298 (Gregor Lingl): shellpython2.2 -Qnew smartGuido van Rossum2002-01-232-3/+3
| | | | | | | indent error Use // where int division is intended. (This breaks IDLE for use with previous Python versions -- I don't care.)
* classifyws(): Fix a "/" to work under -Qnew (as well as without it).Tim Peters2002-01-231-1/+1
| | | | Bugfix candidate!
* Update outdated text about how to fix the font.Guido van Rossum2001-10-081-4/+5
|
* Improve handling of docstrings. I had feared this was a case ofTim Peters2001-09-161-5/+10
| | | | | | introspection incompatibility, but in fact it's just that calltips always gave up on a docstring that started with a newline (but didn't realize they were giving up <wink>).
* Finally fix SF bug #441172, using a variant of patch ##443626:Guido van Rossum2001-08-111-0/+6
| | | | | | canceling an edit operation would not revert the value of the field. The fix takes care to destroy the Entry object, as suggested in the patch.
* Patch #422471: Install IDLE Help FileMartin v. Löwis2001-08-081-1/+1
|
* Fix for SF bug #448835.Guido van Rossum2001-08-071-2/+1
| | | | | | | Fix this to work with the new (still undocumented) tabnanny API. I'm afraid Stephen will have to add this fix to the IDLE fork code base as well.
* Oops, this file was apparently never added to the repository. Now it is.Jack Jansen2001-08-061-0/+3
|
* Use string.ascii_letters instead of string.letters (SF bug #226706).Fred Drake2001-07-202-2/+2
|
* Use string.ascii_letters instead of string.letters (SF bug #226706).Fred Drake2001-07-201-1/+4
| | | | | Move computation of sets of characters out of the body of the function that uses them.
* Amazing. A very subtle change in policy in descr-branch actuallyGuido van Rossum2001-07-061-1/+1
| | | | | | | | | | | | | | | | found a bug here. Here's the deal: Class PyShell derives from class OutputWindow. Method PyShell.close() wants to invoke its parent method, but because PyShell long ago was inherited from class PyShellEditorWindow, it invokes PyShelEditorWindow.close(self). Now, class PyShellEditorWindow itself derives from class OutputWindow, and inherits the close() method from there without overriding it. Under the old rules, PyShellEditorWindow.close would return an unbound method restricted to the class that defined the implementation of close(), which was OutputWindow.close. Under the new rules, the unbound method is restricted to the class whose method was requested, that is PyShellEditorWindow, and this was correctly trapped as an error.
* Taught IDLE's autoident parser that "yield" is a keyword that begins aTim Peters2001-06-191-0/+1
| | | | | stmt. Along w/ the preceding change to keyword.py, making all this work w/ a future-stmt just looks harder and harder.
* Make copy, cut and paste events case insensitive. Reported by PatrickGuido van Rossum2001-06-121-3/+3
| | | | | | K. O'Brien on idle-dev. (Should other bindings follow suit?)
* Quick update to the extension mechanism (extend.py is gone, long liveGuido van Rossum2001-06-041-6/+20
| | | | | | config.txt). *** This is a bugfix-release candidate (for 2.1.1 and 2.0.1)! ***
* Refactored, with some future plans in mind.Guido van Rossum2001-05-121-11/+23
| | | | This now uses the new gotofileline() method defined in FileList.py.
* Move the action of loading the configuration to the IdleConf moduleGuido van Rossum2001-05-122-8/+1
| | | | | | rather than the idle.py script. This has advantages and disadvantages; the biggest advantage being that we can more easily have an alternative main program.
* Delete goodname() method, which is unused.Guido van Rossum2001-05-121-11/+7
| | | | | | | Add gotofileline(), a convenience method which I intend to use in a variant. Rename test() to _test().
* Remove BrowserControl module; this had been left in for Python 1.5.2Fred Drake2001-04-181-157/+0
| | | | support.
* Remove legacy support for the BrowserControl module; the webbrowserFred Drake2001-04-181-7/+3
| | | | | module has been included since Python 2.0, and that is the preferred interface.
* Initialize new save_warnings_filters data member in ↵Tim Peters2001-03-291-0/+1
| | | | | | | | ModifiedInterpreter.__init__. Was getting mystery ModifiedInterpreter instance has no attribute 'save_warnings_filters' errors at odd times (for sure in a fresh IDLE, fresh file, then Run Script).
* Turn SyntasWarning into SyntaxError for all code enteredGuido van Rossum2001-03-261-1/+12
| | | | interactively.
* Make this IDLE version 0.8. (We have to skip 0.7 because that was aGuido van Rossum2001-03-221-1/+1
| | | | | CNRI release in a corner of the basement of a government building on a planet circling Aldebaran.)
* Don't use __debug__ as if it were some module global. Use DEBUGGuido van Rossum2001-03-221-15/+15
| | | | instead.
* Get rid of hardcoded Python path (can't guess where the user installedTim Peters2001-03-101-1/+1
| | | | IDLE, and it likely changes across releases anyway).
* Hack to make this still work with Python 1.5.2. ;-(Fred Drake2001-02-161-1/+6
|
* Whitespace normalization.Tim Peters2001-02-091-1/+1
|
* move "from Tkinter import *" to module levelJeremy Hylton2001-02-022-2/+2
|
* Allow installation of IDLE via distutils (patch #103138).Martin v. Löwis2001-01-282-0/+93
|
* Color all word instances of "as" after "import", & on the same line, as ifTim Peters2001-01-191-0/+13
| | | | keywords. Cheap approximation to the truth.
* This still mentioned IdlePrefs.py as the place to edit colorGuido van Rossum2001-01-191-1/+2
| | | | preferences. It is now in config.txt or ~/.idle.
* Whitespace normalization.Tim Peters2001-01-1722-104/+99
|
* Make the test program work outside IDLE.Guido van Rossum2001-01-021-6/+6
|
* Add Alt-slash to Unix keydefs (I somehow need it on RH 6.2).Guido van Rossum2001-01-021-2/+1
| | | | Get rid of assignment to unused self.text.wordlist.
* Fixed snake logo and minus image by Daniel Calvelo.Guido van Rossum2000-12-272-0/+0
|
* Add IDLE wish: access items of arraysGuido van Rossum2000-10-251-0/+1
|
* Fix for next iteration of SF bug 115690 (Unicode headaches in IDLE). TheTim Peters2000-10-061-0/+13
| | | | | | parsing functions in support of auto-indent weren't expecting Unicode strings, but text.get() can now return them (although it remains muddy as to exactly when or why that can happen). Fixed that with a Big Hammer.
* Implemented new os.startfile function, unique to Windows, exposing aTim Peters2000-09-221-2/+3
| | | | | | | | | | | | | | | | subset of Win32 ShellExecute's functionality. Guido wants this because IDLE's Help -> Docs function currently crashes his machine because of a conflict between his version of Norton AntiVirus (6.10.20) and MS's _popen. Docs for startfile are being mailed to Fred (or just read the docstring -- it tells the whole story). Changed webbrowser.py to use os.startfile instead of os.popen on Windows. Changed IDLE's EditorWindow.py to pass an absolute path for the docs (hardcoding ShellExecute's "directory" arg to "." as used to be done let IDLE work, but made the startfile command exceedingly obscure for other uses -- the MS docs are terrible, of course, & still not sure I understand it). Note that Windows Python must link with shell32.lib now! That's where ShellExecute lives.
* Fix typo (newtabwith).Guido van Rossum2000-09-201-1/+1
|