When setting the event structure fields, don't die when the widget
name is not registered; simply use the string. This happens for
tear-off widgets (e.g. if you've registered enter/leave events for the
menu).
Instead of calling mktime(), which has all sorts of unwanted side
effects, simply zero out the struct tm buffer before using it; this
should take care of the BSD folks' concern just as well.
Feeble attempt at making urlopen more robust -- don't call splituser()
when splithost() returned no useable host, to avoid calling
splituser() on None.
Fred Drake [Sat, 25 Apr 1998 04:11:27 +0000 (04:11 +0000)]
Paper size / font size configuration file.
This is separated so I can build A4 and US Letter sizes without having to
edit files.
Anyone who downloads the source package can also simply edit this file,
which is a lot shorter than the manual.cls file, and easier to find the
appropriate line.
Jack Jansen [Fri, 24 Apr 1998 10:28:20 +0000 (10:28 +0000)]
Grmpf, a lot more routines have gotten a "Mac" prefix for their
declaration, probably so the universal headers are useable on
windows/unix too. Have to think of a more definite workaround later,
for now we manually declare the old names in the *edit.py files.
Freeze assumes that all built-in modules are part of the Python core.
This is not necessarily the case. It is possible to create a Python
binary which contains built-in extension modules. Therefore
checkextensions should be used for all unknown and builtin modules.
(Sjoerd Mullender)
If freezing with the -O option, the optimized bytecode files are
used. It is useful to implicitly set the -O flag in the frozen
application.
(Sjoerd Mullender)
When using extention modules, relative path names that occur in the
Setup file are fixed so that they will work from the freeze build
directory. However, relative path names in liner -L and -R options
are not fixed in this way.
(Sjoerd Mullender)
Jack Jansen [Thu, 23 Apr 1998 13:22:44 +0000 (13:22 +0000)]
Added support for the horribly complex TimeRecord, so we can position
movies, etc. TimeBase objects have also been slightly modified for
this (for instance: the DisposeTimeBase call shouldn't be done in the
__del__ routine, the timebase might belong to someone else).
Jack Jansen [Tue, 21 Apr 1998 15:27:45 +0000 (15:27 +0000)]
If there's no comment for an error we use the symbolic name as the
error message. Not really fantastic, but "reqAborted" is better than
"MacOS error -1105" at least.
Fred Drake [Mon, 20 Apr 1998 16:55:14 +0000 (16:55 +0000)]
Fix problem for the Library Reference where high-numbered sections of
high-numbered chapters took too much space for the section number in the
table of contents. This makes the section number and title not overlap.
Fred Drake [Fri, 17 Apr 1998 20:04:09 +0000 (20:04 +0000)]
next_optional_argument(): Don't include the square brackets in the return
value.
ArabictoRoman(): Acquired function from Robert Donohue
<donahue@cfassp48.harvard.edu>; might be useful someday, and I don't
want to figure it out again!
Fred Drake [Wed, 15 Apr 1998 17:50:22 +0000 (17:50 +0000)]
Fix the broken PDF links, really this time!
Appending a junk char to the end doesn't quite do it, or doesn't seem to at
any rate. Instead, pad the page numbers to always be 3 charaters wide, with
leading zeros.
Fred Drake [Wed, 15 Apr 1998 17:50:01 +0000 (17:50 +0000)]
Fix the broken PDF links, really this time!
"." cannot be part of the target names either.
Appending a junk char to the end doesn't quite do it, or doesn't seem to at
any rate. Instead, pad the page numbers to always be 3 charaters wide, with
leading zeros.
Fred Drake [Wed, 15 Apr 1998 14:53:28 +0000 (14:53 +0000)]
Change the form of the name given to each page of the PDF from "page.%d" to
"page.%dx"; this works around an acroread bug that causes targets not to be
recognized if their name is a prefix of another target in the file.