summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* Added \" to escapes so embedded escaped double quotes are handledBarry Warsaw1999-12-061-0/+1
| | | | correctly. Patch suggested by Mads Kiilerich <mk@solit.dk>.
* Complete the integration of Sam Bayer's fixes.Guido van Rossum1999-11-172-912/+10
|
* Changed fron importing wcnew back to webchecker.Guido van Rossum1999-11-172-6/+2
|
* Integrated Sam Bayer's wcnew.py code. It seems silly to keep twoGuido van Rossum1999-11-171-46/+185
| | | | | files. Removed Sam's "SLB" change comments; otherwise this is the same as wcnew.py.
* # *NOT* by Sam Bayer: reindented to use 4 spaces like the rest here,Guido van Rossum1999-11-171-204/+203
| | | | # and removed trailing whitespace.
* Samuel L. Bayer:Guido van Rossum1999-11-171-4/+12
| | | | | | | | | - same trick with "import wcnew; webchecker = wcnew" as above - updated readhtml() method to handle pair representation; used new name suppression infrastructure from wcnew.py to suppress processing name anchors [And untabified --GvR]
* Samuel L. Bayer:Guido van Rossum1999-11-171-17/+46
| | | | | | | | | | | | | | | | | | | - added -t and -a arguments - added "import wcnew; webchecker = wcnew" in place of "import webchecker" (I assume that if you're happy with the changes, you'll just replace webchecker.py with wcnew.py, but if I were to do that, the diffs would be incomprehensible) - fixed buggy -v argument (I think you got out of sync with the way verbosity was handled in webchecker vs. wcgui between 1.5 and 1.5.2) - made -v actually do something by adding a call to c.setflags() (probably the same problem as above) - updated references to URLs to accommodate wcnew.py's pair representation; added appropriate calls to format_url() to handle display; added argument to ListPanel() initialization to provide access to format_url() [And untabified --GvR]
* Samuel L. Bayer:Guido van Rossum1999-11-171-154/+178
| | | | | | | | | | - same fixes from webchecker.py - incorporated small diff between current webchecker.py and 1.5.2 - fixed bug where "extra roots" added with the -t argument were being checked as real roots, not just as possible continuations - added -a argument to suppress checking of name anchors [And untabified --GvR]
* Samuel L. Bayer:Guido van Rossum1999-11-171-1/+6
| | | | | | | | - forced new done origins to set errors if they're in self.bad (fixes bug where only the first of a number of errorful references to a link is reported under some circumstances) - suppressed adding duplicates to self.todo list (cleans up printout in wcgui details)
* Several improvements, some of where were contributed by BernhardBarry Warsaw1999-11-031-44/+86
| | | | | | | | | | | | | | | | Herzog <herzog@online.de>. Specifically, --verbose/-v flag added pot_header added to make msgmerge and Emacs po-mode work better normalize(), escape(), safe_eval(): Improved normalization of strings for more .po file compatibility (e.g. C style). Handles emmbedded newlines better. Also added an identity function called _() and use it in the file where messages are printed. This allows us to selftest pygettext.py with itself as input.
* Python equivalent of xgettext(1). This was originally releasedBarry Warsaw1999-11-031-0/+1
| | | | separately but now is included in the standard Python distribution.
* Fix a bug reported by Toby Dickenson (on 18 May 1999).Guido van Rossum1999-11-021-1/+2
| | | | Sometimes there's no parent, so don't try to get its __name__.
* Sjoerd Mullender:Guido van Rossum1999-11-023-1/+3
| | | | Added some declarations to shut up compiler.
* main(): Arg! I wasn't properly ignoring EINVAL; now only re-raise theBarry Warsaw1999-10-071-3/+2
| | | | | exception if code <> errno.EINVAL. Jeremy this should fix your problem.
* Patches by Jack Jansen: new type OptionalInBuffer allowsGuido van Rossum1999-09-302-1/+14
| | | | passing either a string/input buffer or None.
* Patch by Jack Jansen to add with_ifdef option, which places #ifndefGuido van Rossum1999-09-301-1/+5
| | | | around external decls.
* main(): wrap the device.setinfo() call around an exception handler.Barry Warsaw1999-09-221-1/+7
| | | | | It's possible to get a sunaudiodev.error (errno == EINVAL), although I'm not exactly sure why, this at least won't crash the application.
* A few new TODO entries.Guido van Rossum1999-09-091-0/+4
|
* Add Python Documentation entry to Help menu.Guido van Rossum1999-08-261-0/+3
|
* Find the help.txt file relative to __file__ or ".", not in sys.path.Guido van Rossum1999-08-261-8/+14
| | | | | | | | (Suggested by Moshe Zadka, but implemented differently.) Add <<python-docs>> event which, on Unix, brings up Netscape pointing to http://www.python.doc/current/ (a local copy would be nice but its location can't be predicted). Windows solution TBD.
* Scrit by Marc-Andre Lemburg to generate htmlentitydefs.py.Guido van Rossum1999-08-191-0/+65
|
* Bump to version 1.1Barry Warsaw1999-08-181-1/+1
|
* __update(): Jeremy Hylton reports occurances of sunaudiodev.errorBarry Warsaw1999-08-181-5/+14
| | | | | | | | | (interrupted system call) when getting the device information. I've never seen it, but this patch should take care of the problem. If we get that exception and we're polling, just return since we'll wake up again soon and get the right information. If we're not polling, try 4 times and then give up.
* Initial implementationBarry Warsaw1999-08-131-0/+268
|
* Initial revisionBarry Warsaw1999-08-111-0/+1
|
* Moshe noticed an inconsistency in his comment, so I'm rephrasing it toGuido van Rossum1999-08-111-2/+1
| | | | be clearer.
* Patch inspired by Moshe Zadka to search for the Icons directory in theGuido van Rossum1999-08-111-5/+11
| | | | | same directory as __file__, rather than searching for it along sys.path. This works better when idle is a package.
* Mark Hammond writes:Guido van Rossum1999-07-302-2/+6
| | | | | | | | | | | | | | | | """ If the filename being complained about contains a space, enclose the file-name in quotes. The reason is simply that when I try and parse tabnanny's output, filenames with spaces make it very difficult to determine where the filename stops and the linenumber begins! """ Tim approves. I slightly changed the patch (use 'in' instead of string.find()) and arbitrarily bumped the __version__ variable up to 6.
* New wishes.Guido van Rossum1999-07-151-1/+5
|
* Make the color for stderr red (i.e. the standard warning/danger/stopGuido van Rossum1999-07-101-1/+1
| | | | color) rather than green. Suggested by Sam Schulenburg.
* make_view_popups(): Catch import error which can occur if a viewer isBarry Warsaw1999-07-061-1/+7
| | | | | | dynamically imported when Pynche is running via askcolor out of a package. If the ImportError occurs, try again, prepending the package name and digging out the module.
* Close debugger when closing. This may break a cycle.Guido van Rossum1999-06-251-0/+1
|
* Break cycle on close.Guido van Rossum1999-06-251-0/+2
|
* Destroy the tree when closing.Guido van Rossum1999-06-251-1/+2
|
* Add destroy() method to recursively destroy a tree.Guido van Rossum1999-06-251-0/+6
|
* Extend _close() to break cycles.Guido van Rossum1999-06-251-13/+18
| | | | Break some other cycles too (and destroy the root when done).
* Add _close() method that does the actual cleanup (close() asks theGuido van Rossum1999-06-251-10/+26
| | | | | | | | user what they want first if there's unsaved stuff, and may cancel). It closes more than before. Add unload_extensions() method to unload all extensions; called from _close(). It calls an extension's close() method if it has one.
* Add close() method that breaks cycles.Guido van Rossum1999-06-251-0/+8
|
* Add unregister() method.Guido van Rossum1999-06-251-4/+12
| | | | | Unregister everything at closing. Don't call close() in __del__, rely on explicit call to close().
* Add close() method that breaks a cycle.Guido van Rossum1999-06-253-4/+23
|
* Simplified version of a patch by Chih-Hao Huang, who wrote:Guido van Rossum1999-06-231-2/+3
| | | | | | | | | | | | | | | | | | | """ When there are additional Setup files, specified by -e option of freeze, checkextenstions.py assumes that *.o, *.a, -Lpath, and -Rpath are all relative to where the Setup file is. select() inserts the path to the Setup file to make them absolute. However, the assumption is not true. There are cases that absolute paths are specified for them. The inserted prefix, by select(), results in error. The following fix check for absolute paths. The assumption is: an absolute path begins with either '/' or '$'. In the latter case, it is from the environmental variable. (Variables defined locally in the Setup file have already been handled by expandvars()) """ My version of the patch has been verified by Charles Waldman (a colleague of Chih-Hao).
* Patch submitted by Toby Dickenson and approved by Mark Hammond.Guido van Rossum1999-06-211-2/+2
| | | | | | | | | | | | | | | | Toby writes: winmakemakefile.py tries to allow for spaces in the python install path, by adding quotes around the appropriate filenames. It doesn't quite get this correct; sometimes the quotes end up in the middle of the path. Microsoft's NMAKE version 6.0 is happy with this (!!!!) unless there is also a space in the name. I guess most users of freeze on windows do not use the same path as the binary distribution. I've tested the following changes on systems with and without a space in the path.
* Tim Peters smart.patch:Guido van Rossum1999-06-113-59/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EditorWindow.py: + Added get_tabwidth & set_tabwidth "virtual text" methods, that get/set the widget's view of what a tab means. + Moved TK_TABWIDTH_DEFAULT here from AutoIndent. + Renamed Mark's get_selection_index to get_selection_indices (sorry, Mark, but the name was plain wrong <wink>). FormatParagraph.py: renamed use of get_selection_index. AutoIndent.py: + Moved TK_TABWIDTH_DEFAULT to EditorWindow. + Rewrote set_indentation_params to use new VTW get/set_tabwidth methods. + Changed smart_backspace_event to delete whitespace back to closest preceding virtual tab stop or real character (note that this may require inserting characters if backspacing over a tab!). + Nuked almost references to the selection tag, in favor of using get_selection_indices. The sole exception is in set_region, for which no "set_selection" abstraction has yet been agreed upon. + Had too much fun using the spiffy new features of the format-paragraph cmd.
* Code by Mark Hammond to format paragraphs embedded in comments.Guido van Rossum1999-06-101-10/+55
| | | | | Read the comments (which I reformatted using the new feature :-) for some limitations.
* Added abstraction get_selection_index() (Mark Hammond). AlsoGuido van Rossum1999-06-101-14/+23
| | | | | reformatted some comment blocks to show off a cool feature I'm about to check in next.
* Adapt to the new pyclbr's support of listing top-level functions. IfGuido van Rossum1999-06-101-33/+34
| | | | | | | | this functionality is not present (e.g. when used with a vintage Python 1.5.2 installation) top-level functions are not listed. (Hmm... Any distribution of IDLE 0.5 should probably include a copy of the new pyclbr.py!)
* Fix off-by-one error in Tim's recent change to comment_region(): theGuido van Rossum1999-06-101-1/+1
| | | | | | list of lines returned by get_region() contains an empty line at the end representing the start of the next line, and this shouldn't be commented out!
* Mark Hammond writes: Here is another change that allows it to work forGuido van Rossum1999-06-101-14/+37
| | | | | class creation - tries to locate an __init__ function. Also updated the test code to reflect your new "***" change.
* Mark Hammond writes: Tim's suggestion of copying the font for theGuido van Rossum1999-06-101-1/+2
| | | | | CallTipWindow from the text control makes sense, and actually makes the control look better IMO.
* Append "..." if the appropriate flag (for varargs) in co_flags is set.Guido van Rossum1999-06-091-1/+3
| | | | Ditto "***" for kwargs.