| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
correctly. Patch suggested by Mads Kiilerich <mk@solit.dk>.
|
| |
|
| |
|
|
|
|
|
| |
files. Removed Sam's "SLB" change comments; otherwise this is the
same as wcnew.py.
|
|
|
|
| |
# and removed trailing whitespace.
|
|
|
|
|
|
|
|
|
| |
- 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]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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]
|
|
|
|
|
|
|
|
|
|
| |
- 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]
|
|
|
|
|
|
|
|
| |
- 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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
separately but now is included in the standard Python distribution.
|
|
|
|
| |
Sometimes there's no parent, so don't try to get its __name__.
|
|
|
|
| |
Added some declarations to shut up compiler.
|
|
|
|
|
| |
exception if code <> errno.EINVAL. Jeremy this should fix your
problem.
|
|
|
|
| |
passing either a string/input buffer or None.
|
|
|
|
| |
around external decls.
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
|
|
|
| |
be clearer.
|
|
|
|
|
| |
same directory as __file__, rather than searching for it along sys.path.
This works better when idle is a package.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"""
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.
|
| |
|
|
|
|
| |
color) rather than green. Suggested by Sam Schulenburg.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Break some other cycles too (and destroy the root when done).
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Unregister everything at closing.
Don't call close() in __del__, rely on explicit call to close().
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"""
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).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Read the comments (which I reformatted using the new feature :-)
for some limitations.
|
|
|
|
|
| |
reformatted some comment blocks to show off a cool feature I'm about
to check in next.
|
|
|
|
|
|
|
|
| |
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!)
|
|
|
|
|
|
| |
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!
|
|
|
|
|
| |
class creation - tries to locate an __init__ function. Also updated
the test code to reflect your new "***" change.
|
|
|
|
|
| |
CallTipWindow from the text control makes sense, and actually makes
the control look better IMO.
|
|
|
|
| |
Ditto "***" for kwargs.
|