summaryrefslogtreecommitdiffstats
path: root/Tools/idle
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Temporary fix for Bug #114821.Guido van Rossum2000-09-191-2/+18
| | | | | | | | | | | | | | The cause was that the replace code necessarily used a PCRE internal function to to template expansion. The fix changes the code to use an SRE internal if SRE is used, and a PCRE internal if SRE is used; in a way that should work with 1.5.2. The solution can be sped up tremendously under the assumption that the choice between sre and pre is not changed during the execution of the program; especially replace-all will be slow. But I'll leave that to someone else.
* Include the filename in the errror message for F5 without saving.Guido van Rossum2000-09-151-1/+5
| | | | This closes bug #110660.
* main(): Move hackery of sys.argv until after the Tk instance has beenFred Drake2000-09-151-7/+7
| | | | | | | | created. This allows the application-specific Tkinter initialization to be executed if present. Also pass an explicit className parameter to the Tk() constructor. This closes SourceForge bug #110618.
* Don't emit 8 lines of (c) information at startup -- use the same textGuido van Rossum2000-09-051-1/+4
| | | | as main.c.
* Update to use the new standard webbrowser module if available, otherwiseFred Drake2000-07-091-2/+8
| | | | | | | uses the BrowserControl module. BrowserControl is not removed to allow IDLE to be distributed separately and still be used with Python 1.5.2.
* Rename the "browser" module to "BrowserControl", since Guido did notFred Drake2000-05-102-2/+2
| | | | like the short, ambiguous name.
* EditorWindow.python_docs():Fred Drake2000-05-101-5/+8
| | | | | | | Instead of using Netscape through os.system(), use the new browser.open() function to load the documentation on the default browser. On Windows, this will use the installed documentation if it exists, instead of hitting python.org.
* Collection of classes and convenience functions to control externalFred Drake2000-05-101-0/+157
| | | | Web browsers.
* Minor edit of leading comments: 'the the' --> 'the', quoted 'enable'Fred Drake2000-05-091-2/+2
| | | | option name for clarity.
* Two more items.Guido van Rossum2000-04-111-0/+5
|
* Use a better approach to locating IDLE's default configuration,Fred Drake2000-04-101-1/+1
| | | | | allowing it to be run from anywhere, including through a symlink to the actual idle.py script.
* Just in case someone wants to use this, let's fix the pathname.Guido van Rossum2000-04-061-1/+1
|
* Removed two files that were added temporarily.Guido van Rossum2000-03-302-708/+0
|
* Bump version to 0.6 for the event of the Python 1.6 alpha 1 release.Guido van Rossum2000-03-301-1/+1
|
* Tim Peters writes:Guido van Rossum2000-03-131-4/+5
| | | | | | | | | | Fix bad auto-indent I recently introduced when replacing the regexp that could cause re to blow up: if or_any_other_block_opener: # one indenting comment line ^ cursor ended up at the caret (the bug) ^ but belongs here (the post-patch behavior)
* a simple client-server framework for executing code in a differentJeremy Hylton2000-03-091-0/+343
| | | | | | process not yet connected with IDLE
* Override the Undo delegator to forbid any changes before the I/O mark.Guido van Rossum2000-03-071-0/+24
| | | | | It beeps if you try to insert or delete before the "iomark" mark. This makes the shell less confusing for newbies.
* replace : with =Jeremy Hylton2000-03-071-2/+2
|
* rename the global IdleConfParser object from IdleConf to idleconfJeremy Hylton2000-03-071-4/+4
| | | | standard usage is now from IdleConf import idleconf
* rename the global IdleConfParser object from IdleConf to idleconfJeremy Hylton2000-03-075-48/+40
| | | | | | standard usage is now from IdleConf import idleconf replace : with = in config.txt
* Tweak the goto file/line command (in the right button menu in PyShellGuido van Rossum2000-03-071-14/+25
| | | | | | | | | | | | | and output windows) so that it if it doesn't succeed with the line at the cursor, it tries the line before that. This is handy with tracebacks, where my natural tendency is to click in the displayed source line rather than in the file/line indicator just above it. Now I can indulge this tendency. I factored out a helper and changed the error handling so that a non-existing file is treated as if the line didn't match -- this is handy because some function calls (e.g. "foo.bar(1)") match the grep pattern.
* Added a bunch of TODO items that recently came up in the idle-dev list.Guido van Rossum2000-03-071-40/+94
| | | | Also removed a bunch of items
* If we're in the current input and there's only whitespace beyond theGuido van Rossum2000-03-071-0/+5
| | | | | | | cursor, erase that whitespace first. This avoids a particularly confusing case where hitting Return at the end of the command didn't do what it was expected to do -- because it wasn't considered to be at the end of the command. Now it is.
* Defer all the work to idle.py, which has recently become tooGuido van Rossum2000-03-061-2/+1
| | | | complicated to copy in-line here.
* In getdef(), don't die when the section doesn't exist.Guido van Rossum2000-03-061-2/+2
|