| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
standard usage is now from IdleConf import idleconf
replace : with = in config.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
PySequence_Contains() now that string objects have this code in their
tp_contains.
|
|
|
|
|
|
| |
here.
[Patch modified by GvR to keep the original exception.]
|
|
|
|
| |
non-char in string.
|
|
|
|
|
| |
The (relatively) new chunk module uses seek, not setpos. One instance
of the call still needed to be fixed.
|
|
|
|
| |
Also removed a bunch of items
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
changed 'copy_file()' to use the native Mac file copy routine.
|
| |
|
|
|
|
| |
slashes, and put back together again using the local directory separator.
|
|
|
|
| |
in a rather half-assed, but probably effective, way.
|
| |
|
| |
|
|
|
|
|
|
|
| |
When you set a breakpoint on a function with a multi-line argument
list, the breakpoint is actually set on the second line of the
arguments instead of the first line of the body. This patch fixes
that.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
fix imports
remove parse functions and visitor code
track name change: Classdef to Class
add some comments and tweak order of visitXXX methods
get rid of if __name__ == "__main__ section
|
|
|
|
| |
import some useful functions from contained modules
|
| |
|
|
|
|
| |
that are internally converted to chars, rather than taking a string.
|
|
|
|
|
|
|
| |
add doc string to transformer module
add two helper functions:
parse(buf) -> AST
parseFile(path) -> AST
|
| |
|
|
|
|
| |
complicated to copy in-line here.
|
|
|
|
| |
used for delta-t values by quicktime).
|
|
|
|
| |
few other paths through the function that leaked).
|
| |
|
|
|
|
| |
before 1.6 is out so it has to be compatible with 1.5.2.
|
|
|
|
| |
simpler implementation.
|
|
|
|
|
|
|
|
|
|
|
|
| |
implement it (so far):
* moved filename generation methods into CCompiler base class,
driven by data supplied by implementation classes
* moved a bunch of common code from UnixCCompiler to convenience
methods in CCompiler
* overhauled MSVCCompiler's compile/link methods to look and act
as much as possible like UnixCCompiler's, in order to regularize
both interface and behaviour (especially by using those new
convenience methods)
|
| |
|
|
|
|
|
| |
Don't assume that the 'libraries' and 'library_dirs' elements of the
build info dict are always lists.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
idle.py:
Load the config files before anything else happens
XXX Need to define standard way to get files relative to the
IDLE install dir
PyShell.py:
ColorDelegator.py:
Get color defns out of IdleConf instead of IdlePrefs
EditorWindow.py:
Replace hard-coded font & window size with config options
Get extension names via IdleConf.getextensions
extend.py:
Obsolete. Extensions defined in config file.
ParenMatch.py:
Use config file for extension options.
Revise comment about parser requirements.
Simplify logic on find returning None.
|
| |
|
| |
|
| |
|
|
|
|
| |
inadvertantly seen as out-only.
|
|
|
|
|
|
| |
pixmap data.
Added an as_GrafPort() method to be able to use a GWorld as argument to
routines that expect a GrafPort.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes the one regexp in PyParse capable of making the re module blow the C
stack when passed unreasonable <0.9 wink> program text. Jeremy Hylton
provoked this with a program of the form:
x = (1,
2,
... # 9997 lines deleted here
10000,
)
Programs "like this" will no longer (no matter how many lines they contain)
trigger re death. OTOH, you can now make another class of unreasonable
program that will take much longer to parse.
|
| |
|
|
|
|
| |
Fixed all DistutilsFileError messages to wrap file/dir names in quotes.
|
|
|
|
| |
not run this extension and CallTips extension at the same time.
|
|
|
|
| |
generic, video and audio implemented for now.
|
|
|
|
| |
in PyErr_SetFromWindowsErrWithFilename() like he intended to... :-)
|
|
|
|
|
|
| |
* replaced build_lib.py with build_clib.py
* renamed the class in build_clib.py
* changed all references to 'build_lib' command in other command classes
|
| |
|
|
|
|
|
|
|
| |
when building extensions (uses build_lib's 'get_library_names()' method).
Ensure that the relative structure of source filenames is preserved in
the temporary build tree, eg. foo/bar.c compiles to
build/temp.<plat>/foo/bar.o.
|