| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
seems to have "modified" the resource files (but nothing has changed there).
|
|
|
|
|
| |
Solaris, the `CD' macro won't exist in the header file, so this will
raise a NameError.
|
|
|
|
| |
command line operation is (much) faster.
|
| |
|
|
|
|
| |
fixes. Input sources are mutually exclusive.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
device and control pseudo-device:
- first look for the device filename in the environment variable
AUDIODEV.
- if not found, use /dev/audio
- calculate the control device by tacking "ctl" onto the base device
name.
We now do this. Also, if the open fails, we call
PyErr_SetFromErrnoWithFilename() to give a more informative error
message.
Added a fileno() method to the audio object returned from open().
This returns the file descriptor which can be used by applications to
set up SIGPOLL notification, as per the manpage.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
HTML version. Give a reference to the actual section to allow a
hyperlink to be built.
|
| |
|
|
|
|
| |
Corrected error: {,5} is not equivalent to {0,5}.
|
|
|
|
| |
generalize the matching of function arguments.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#simple things. First step: rename the Imenu supportive variables and
#functions in this file to py-imenu-* so I can grok what is part of
#python-mode and what is part of Imenu.
(py-imenu-create-index-engine): Fixed problem with two classes in a
single file, caused by new semantics of py-beginning-of-def-or-class
when called programmatically.
#Note, there are still some problems with Imenu when arguments to
#functions are funky, but it should be much better now.
|
|
|
|
| |
#checkin script.
|
|
|
|
|
| |
Switch from bash to ksh, in the hope that more systems support it (one
report of a site without an available bash).
|
| |
|
| |
|
| |
|
|
|
|
| |
next week. :-)
|
| |
|
|
|
|
|
| |
Different action on WM_DELETE_WINDOW is more likely to do the right thing,
allowing us to destroy old windows.
|
|
|
|
|
| |
using Canvas coordinates, and goto() uses turtle coordinates
and accepts variable argument lists.
|
|
|
|
|
| |
unlink() or fdopen() fail, close the file descriptor and re-raise the
exception.
|
| |
|
|
|
|
| |
values (4.7.1) should return l, not a. Reported by Axel Boldt.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
filenames generated are easily predictable, it is possible to trick an
unsuspecting program into overwriting another file by creating a
symbolic link with the predicted name. Fix this by using the
low-level os.open() function with the O_EXCL flag and mode 0700. On
non-Unix platforms, presumably there are no symbolic links so the
problem doesn't exist. The explicit test for Unix (posix, actually)
makes it possible to change the non-Unix logic to work without a
try-except clause.
The mktemp() file is as unsafe as ever.
|
| |
|
| |
|
|
|
|
| |
own version.
|
|
|
|
|
|
|
|
|
|
|
|
| |
"""
I've attached a long overdue patch to pickle.py to bring it to format
1.3, which is the same as 1.2 except that the binary float format
is supported. This is done using the new platform-indepent format
features of struct.
This patch also gets rid of the undocumented obsolete Pickler
dump_special method.
"""
|
|
|
|
| |
Added a To Do list.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
show(): added color keyword here so that the selected color can be
chosen on each invocation of askcolor().
Also fixed this class, and askcolor() so that the same Chooser
instance can be re-used instead of creating a new one on each
invocation of askcolor().
Added a module function save() which can be used to explicitly save
the option database in ~/.pynche. This does not happen automatically
when used as a modal.
|
| |
|
|
|
|
|
| |
canceled() takes an optional flag so that the canceled flag can be
cleared.
|
|
|
|
| |
deiconify(): New method
|
|
|
|
| |
main() so that run-as-modal doesn't automatically save database.
|
| |
|
|
|
|
|
|
|
|
| |
"""
I had originally not realized that PyEval_GetGlobals did not
INCREF it's return value. The fix is to add the INCREF,
as shown below.
"""
|
| |
|
| |
|
|
|
|
|
| |
tkColorChooser.askcolor() interface (i.e. don't return a color name
even if there is an exact match).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
run either as a standalone application (by running pynche or
pynche.pyw), or as a modal dialog inside another application. This
can be done by importing pyColorChooser and running askcolor(). The
API for this is the same as the tkColorChooser.askcolor() API, namely:
When `Okay' is hit, askcolor() returns ((r, g, b), "name"). When
`Cancel' is hit, askcolor() returns (None, None).
Note the following differences:
1. pyColorChooser.askcolor() takes an optional keyword `master'
which if set tells Pynche to run as a modal dialog. `master'
is a Tkinter parent window. Without the `master' keyword
Pynche runs standalone.
2. in pyColorChooser.askcolor() will return a Tk/X11 color name as
"name" if there is an exact match, otherwise it will return a
color spec, e.g. "#rrggbb". tkColorChooser can't return a
color name.
There are also some UI differences when running standalone vs. modal.
When modal, there is no "File" menu, but instead there are "Okay" and
"Cancel" buttons.
The implementation of all this is a bit of a hack, but it seems to
work moderately well. I'm not guaranteeing the pyColorChooser.Chooser
class has the same semantics as the tkColorChooser.Chooser class.
|
|
|
|
|
|
|
|
|
| |
"""
Jochen Hayek has reported a problem with some versions of IMAP4
servers that choose to mix the case in their CAPABILITIES response.
The patch below fixes the problem.
"""
|
|
|
|
|
| |
(The GLHACK variable isn't really needed since the change to
glmodule.c, but I'm too busy to remove it. It's harmless.)
|
|
|
|
|
|
| |
solves the conflict with curses over the 'clear' entry point much
nicer. (Jack had checked in the changes to cstubs eons ago, but I
never regenrated glmodule.c :-( )
|