summaryrefslogtreecommitdiffstats
path: root/Tools/idle
Commit message (Collapse)AuthorAgeFilesLines
* A few icons used by ../TreeWidget.py and its callers.Guido van Rossum1999-06-014-0/+0
|
* New version by Tim Peters improves block opening test.Guido van Rossum1999-06-011-2/+52
|
* Rename History to IdleHistory.Guido van Rossum1999-05-212-74/+7
| | | | Add isatty() to pseudo files.
* Make initial stack viewer widerGuido van Rossum1999-05-211-1/+1
|
* New wishesGuido van Rossum1999-05-211-2/+7
|
* Much improved autoindent and handling of tabs,Guido van Rossum1999-05-213-65/+242
| | | | by Tim Peters.
* Tim Peters writes:Guido van Rossum1999-05-034-38/+123
| | | | | | | | | | | | I'm still unsure, but couldn't stand the virtual event trickery so tried a different sin (adding undo_block_start/stop methods to the Text instance in EditorWindow.py). Like it or not, it's efficient and works <wink>. Better idea? Give the attached a whirl. Even if you hate the implementation, I think you'll like the results. Think I caught all the "block edit" cmds, including Format Paragraph, plus subtler ones involving smart indents and backspacing.
* Tim Peters writes:Guido van Rossum1999-05-031-2/+2
| | | | | | | [W]hile trying to dope out how redirection works, stumbled into two possible glitches. In the first, it doesn't appear to make sense to try to rename a command that's already been destroyed; in the second, the name "previous" doesn't really bring to mind "ignore the previous value" <wink>.
* Support for using idle as a package.Guido van Rossum1999-04-301-0/+1
|
* Avoid listing files more than once (e.g. foomodule.so has two hits:Guido van Rossum1999-04-301-1/+2
| | | | once for foo + module.so, once for foomodule + .so).
* Tim Peters strikes again:Guido van Rossum1999-04-263-44/+160
| | | | | | | | | | | | | | Ho ho ho -- that's trickier than it sounded! The colorizer is working with "line.col" strings instead of Text marks, and the absolute coordinates of the point of interest can change across the self.update call (voice of baffled experience, when two quick backspaces no longer fooled it, but a backspace followed by a quick ENTER did <wink>). Anyway, the attached appears to do the trick. CPU usage goes way up when typing quickly into a long triple-quoted string, but the latency is fine for me (a relatively fast typist on a relatively slow machine). Most of the changes here are left over from reducing the # of vrbl names to help me reason about the logic better; I hope the code is a *little* easier to
* Provide full arguments to __import__ so it works in packagized IDLE.Guido van Rossum1999-04-231-1/+1
|
* Bunch of updates necessary due to recent changes; added docs for FileGuido van Rossum1999-04-221-13/+63
| | | | menu, command line and color preferences.
* Remove obsolete 'script' menu.Guido van Rossum1999-04-221-5/+0
|
* Several wishes fulfilled.Guido van Rossum1999-04-221-22/+5
|
* Moved classes OnDemandOutputWindow and PseudoFile here,Guido van Rossum1999-04-221-0/+44
| | | | from ScriptBinding.py where they are no longer needed.
* Mostly rewritten. Instead of the old Run module and Debug module,Guido van Rossum1999-04-221-107/+46
| | | | | | | | | | | there are two new commands: Import module (F5) imports or reloads the module and also adds its name to the __main__ namespace. This gets executed in the PyShell window under control of its debug settings. Run script (Control-F5) is similar but executes the contents of the file directly in the __main__ namespace.
* Nits: document use of $IDLESTARTUP; display idle versionGuido van Rossum1999-04-221-3/+5
|
* New version to celebrate new command lineGuido van Rossum1999-04-221-1/+1
|
* Added flush(), for completeness.Guido van Rossum1999-04-221-0/+3
|
* A lot of changes to make the command line more useful. You can now do:Guido van Rossum1999-04-221-26/+115
| | | | | | | | | | | | | | | | | | idle.py -e file ... -- to edit files idle.py script arg ... -- to run a script idle.py -c cmd arg ... -- to run a command Other options, see also the usage message (also new!) for more details: -d -- enable debugger -s -- run $IDLESTARTUP or $PYTHONSTARTUP -t title -- set Python Shell window's title sys.argv is set accordingly, unless -e is used. sys.path is absolutized, and all relevant paths are inserted into it. Other changes: - the environment in which commands are executed is now the __main__ module - explicitly save sys.stdout etc., don't restore from sys.__stdout__ - new interpreter methods execsource(), execfile(), stuffsource() - a few small nits
* Some more TODO items. Made up my mind about command line args,Guido van Rossum1999-04-221-4/+24
| | | | Run/Import, __main__.
* Super-elegant patch by Tim Peters that speeds up colorizationGuido van Rossum1999-04-221-1/+4
| | | | | | | | dramatically (up to 15 times he claims). Works by reading more than one line at a time, up to 100-line chunks (starting with one line and then doubling up to the limit). On a typical machine (e.g. Tim's P5-166) this doesn't reduce interactive responsiveness in a noticeable way.
* Patch by Tim Peters to speed up colorizing of big multiline strings.Guido van Rossum1999-04-211-4/+4
|
* For an event 'foo-bar', the corresponding method must be calledGuido van Rossum1999-04-201-2/+2
| | | | | foo_bar_event(). Therefore, fix the references to zoom_height() in the example.
* Restored the original IDLE color scheme.Guido van Rossum1999-04-201-61/+15
|
* Color preferences code by Loren Luke (massaged by me somewhat)Guido van Rossum1999-04-204-17/+106
|
* Patch by Mark Favas: it fixes the search engine behaviour where anGuido van Rossum1999-04-201-3/+10
| | | | | | | unsuccessful search wraps around and re-searches that part of the file between the start of the search and the end of the file - only really an issue for very large files, but... (also removes a redundant m.span() call).
* A few wishes are now fulfilled.Guido van Rossum1999-04-191-4/+0
|
* Tim Peters implements some of my wishes:Guido van Rossum1999-04-191-11/+60
| | | | | | | | | | | | | | | | | | | o Makes the tab key intelligently insert spaces when appropriate (see Help list banter twixt David Ascher and me; idea stolen from every other editor on earth <wink>). o newline_and_indent_event trims trailing whitespace on the old line (pymode and Codewright). o newline_and_indent_event no longer fooled by trailing whitespace or comment after ":" (pymode, PTUI). o newline_and_indent_event now reduces the new line's indentation after return, break, continue, raise and pass stmts (pymode). The last two are easy to fool in the presence of strings & continuations, but pymode requires Emacs's high-powered C parsing functions to avoid that in finite time.
* # TODO entries changedGuido van Rossum1999-04-082-4/+6
|
* New change log.Guido van Rossum1999-04-071-1/+83
|
* New version.Guido van Rossum1999-04-072-4/+14
|
* Version bump awaiting impending new release.Guido van Rossum1999-04-071-1/+1
| | | | (Not much has changed :-( )
* At Tim Peters' recommendation, add a dummy flush() method to PseudoFile.Guido van Rossum1999-03-292-0/+6
|
* Don't crash when sys.path contains an empty string.Guido van Rossum1999-03-111-1/+1
|
* This file was never supposed to be part of IDLE.Guido van Rossum1999-03-111-46/+0
|
* - Don't crash in the case where a superclass is a string instead of aGuido van Rossum1999-03-111-4/+12
| | | | | | | | pyclbr.Class object; this can happen when the superclass is unrecognizable (to pyclbr), e.g. when module renaming is used. - Show a watch cursor when calling pyclbr (since it may take a while recursively parsing imported modules!).
* Add PathBrowser to File moduleGuido van Rossum1999-03-102-0/+8
|
* "Path browser" - 4 scrolled lists displaying:Guido van Rossum1999-03-101-0/+151
| | | | | | | | | | | | | | | | directories on sys.path modules in selected directory classes in selected module methods of selected class Sinlge clicking in a directory, module or class item updates the next column with info about the selected item. Double clicking in a module, class or method item opens the file (and selects the clicked item if it is a class or method). I guess eventually I should be using a tree widget for this, but the ones I've seen don't work well enough, so for now I use the old Smalltalk or NeXT style multi-column hierarchical browser.
* New utility: multiple scrolled lists in parallelGuido van Rossum1999-03-101-0/+138
|
* - White background.Guido van Rossum1999-03-101-3/+11
| | | | | - Display "(None)" (or text of your choosing) when empty. - Don't set the focus.
* News in 0.3.Guido van Rossum1999-02-171-0/+38
|
* Bump version to 0.3.Guido van Rossum1999-02-172-4/+5
|
* After all, we don't need to call the callbacks ourselves!Guido van Rossum1999-02-171-1/+0
|
* When deleting, call the callbacks *after* deleting the window from our list!Guido van Rossum1999-02-171-2/+1
|
* Fix up the Windows menu via the new callback mechanism instead ofGuido van Rossum1999-02-171-2/+4
| | | | | depending on menu post commands (which don't work when the menu is torn off).
* Support callbacks to patch up Windows menus everywhere.Guido van Rossum1999-02-171-2/+25
|
* Oh, why not. Checking in the Emacs-generated change log.Guido van Rossum1999-02-171-0/+373
|
* Only pop up the stack viewer when requested in the Debug menu.Guido van Rossum1999-02-161-1/+2
|