summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* 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>.
* updates for latest releaseBarry Warsaw1999-05-011-7/+9
|
* 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).
* Add a scale widget and command line options to set the output volume.Barry Warsaw1999-04-282-18/+65
| | | | Bump version number 1.0
* Use the much nicer tkFileDialog for loading color name database filesBarry Warsaw1999-04-271-5/+10
| | | | (thanks Fred!)
* Document that for askcolor(), databasefile and wantspec can now be setBarry Warsaw1999-04-271-2/+2
| | | | on every invocation, instead of just the first.
* askcolor(): databasefile and wantspec can now be set on everyBarry Warsaw1999-04-271-3/+13
| | | | invocation, instead of just the first.
* Implement dynamic external Viewer discovery.Barry Warsaw1999-04-271-34/+61
| | | | | PyncheWidget.__init__(): Add the extrapath argument which can be used to pass in additional directories to search for Viewers.
* Add a module global variable ADDTOVIEW to conform to dynamic viewerBarry Warsaw1999-04-273-1/+7
| | | | lookup protocol.
* Added docstring describing Viewer interface.Barry Warsaw1999-04-271-0/+33
| | | | | set_colordb(): Call Viewers' colordb_changed() method if they have them. Notifies them of changes to the color name database.
* add a commentBarry Warsaw1999-04-271-0/+1
|
* When selecting a radio button in the TextViewer (to change a specificBarry Warsaw1999-04-271-6/+28
| | | | | text widget attribute), the color the attribute currently has is set in the main widget.
* Change Black/White button labels to not include the arrowBarry Warsaw1999-04-271-2/+2
|
* Describe namedcolors.txtBarry Warsaw1999-04-261-0/+2
|
* An alternative Netscape databaseBarry Warsaw1999-04-261-0/+100
|
* Describe how to load a new databaseBarry Warsaw1999-04-261-0/+7
|
* Describe the Color database filesBarry Warsaw1999-04-261-31/+58
|
* Put the 'File' menu on the menubar even when modal, so users can getBarry Warsaw1999-04-261-4/+3
| | | | | to the 'load palette' entry. Just don't put the quit button on there.
* Tim Peter's sister's 140 named colors that NS and MSIE understandBarry Warsaw1999-04-261-0/+141
| | | | (with some controversy surrounding AliceBlue :-)
* The "Web-safe" colors (all #rrggbb style)Barry Warsaw1999-04-261-0/+217
|
* The HTML 4.0 guaranteed colors.Barry Warsaw1999-04-261-0/+17
|
* Set the version number to 1.0 -- I think it's stable enoughBarry Warsaw1999-04-261-1/+1
|
* Lots of changes to support loading alternative color name database.Barry Warsaw1999-04-266-78/+180
| | | | | | | | | You can switch database by just loading the new one; the list window and nearest colors adapt to the new database. Some reorganizing of code. Also, the name of the database file is stored in the ~/.pynche pickle. If it can't be loaded, fallbacks are used.
* Some changes (maybe not enough?) to make it work on Windows with localGuido van Rossum1999-04-261-3/+3
| | | | file URLs.
* 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
* Added /usr/lib/X11/rgb.txt in front of X/rgb.txt for LinuxersBarry Warsaw1999-04-231-0/+2
|
* 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.
* Avoid totally empty files.Guido van Rossum1999-04-101-0/+1
|
* Use re instead of regex.Guido van Rossum1999-04-091-10/+11
| | | | | Don't rewrite the file in place. (Reported by Andy Dustman.)
* # TODO entries changedGuido van Rossum1999-04-082-4/+6
|