Fred Drake [Mon, 30 Nov 1998 20:30:26 +0000 (20:30 +0000)]
l2hoption: Do the "right thing" to quote the right-hand-side of Perl
assignments. This allows '"', '$', and '@' to be included in
the values passed to parameters like --address.
Fred Drake [Mon, 30 Nov 1998 20:28:35 +0000 (20:28 +0000)]
Add a --address parameter to the mkhowto command line to direct
documentation comments appropriately. In response to comment from
Martijn Faassen <faassen@vet.uu.nl>.
Fred Drake [Mon, 30 Nov 1998 20:27:31 +0000 (20:27 +0000)]
Add a -address parameter to the LaTeX2HTML command line to direct
documentation comments appropriately. In response to comment from
Martijn Faassen <faassen@vet.uu.nl>.
Fred Drake [Mon, 30 Nov 1998 19:25:47 +0000 (19:25 +0000)]
do_cmd_textohtmlinfopage(): Rip out most of the boilerplate and move
it to the about.dat file. Only what really needs to be
generated is, and the remainder is easier to maintain than
Perl code.
Guido van Rossum [Fri, 27 Nov 1998 03:17:49 +0000 (03:17 +0000)]
New approach, separate tables for menus (platform-independent) and key
definitions (platform-specific), and generating accelerator strings
automatically from the key definitions.
Fred Drake [Wed, 25 Nov 1998 17:13:28 +0000 (17:13 +0000)]
Minor nit that fixes a bunch of indexing: the way the classdesc
environment saves the name of the last class described, method and
member descriptions were not picking it up correctly. Thus, many
index entries were described as "( method)" instead of "(FooClass
method)". Multiple entries were collapsed in the index when
methods/members from multiple classes share the same name.
Fred Drake [Tue, 24 Nov 1998 17:40:33 +0000 (17:40 +0000)]
Supplemental rules to convert a .tex file to a .xml file. Both XML and
SGML will be supported soon, probably using an ESIS representation saved
in a temp file.
Fred Drake [Tue, 24 Nov 1998 17:07:29 +0000 (17:07 +0000)]
Rationalize a word-space markup to not break in the LaTeX->*ML
conversion tools currently being constructed.
Add a chapter from Jim Fulton on using Misc/Makefile.pre.in. Still
preliminary. The "Dynamic Loading" chapter needs to be updated (and
possibly removed, since it's no longer an issue for most (any?)
users.
Guido van Rossum [Mon, 23 Nov 1998 21:09:51 +0000 (21:09 +0000)]
Whoops! One the "redundant" initializations removed by Vladimir in
the previous patch wasn't -- there was a path through the code that
bypassed all initializations. Thanks to Just for reporting the bug!
Guido van Rossum [Mon, 23 Nov 1998 17:49:53 +0000 (17:49 +0000)]
Rewrote the section on sys.exit(), documenting other argument types
than integers and recommending sys.exit("message").
(I see this as Python's answer to Perls ``die "message";''.)
Fred Drake [Mon, 23 Nov 1998 17:02:03 +0000 (17:02 +0000)]
Script to squirrel around with the DOM tree of document fragments from the
LaTeX-based ESIS streams to be a little better structured, and generally
perform clean-up.
Fred Drake [Wed, 18 Nov 1998 23:28:24 +0000 (23:28 +0000)]
First cut at a script to generate SGML/XML from an ESIS event stream,
probably only usable for the Python docs. But also probably more
useful than latex2esis.py.
Guido van Rossum [Tue, 17 Nov 1998 04:16:37 +0000 (04:16 +0000)]
Accept a non-list sequence for the long options (request by Jack Jansen).
Because it might be a common mistake to pass a single string, this
situation is treated separately.
Since we were making a copy of the longopts list anyway, we now use
the list() function -- this made it necessary to change all uses of
the local variable (and argument) 'list' to something more meaningful,
i.e., 'opts'.
Also added docstrings (copied from the library manual) and removed the
(now redundant) module comments.
Fred Drake [Mon, 16 Nov 1998 18:34:07 +0000 (18:34 +0000)]
Update the example in "Calling Python Functions from C" to use
METH_VARARGS conventions and PyArg_ParseTuple(), and document the flag
and where to look for PyArg_ParseTuple() info.
Response to comment from Don Bashford <bashford@scripps.edu>.
Jack Jansen [Sun, 1 Nov 1998 22:11:33 +0000 (22:11 +0000)]
Project files converted for CW Pro 4. And the daylight savings time switch seems to have "modified" the resource files (but nothing has changed there).
Barry Warsaw [Sat, 31 Oct 1998 22:52:54 +0000 (22:52 +0000)]
audio(7I) suggests that applications do the following to get the
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.