Added #ifdef around ``extern int ftime();'' for MS WINDOWS (which has
a conflicting definition somewhere).
Resolved line wrap for error message in ins().
Barry Warsaw [Fri, 6 Dec 1996 23:30:07 +0000 (23:30 +0000)]
test of time module. not terribly fancy, but it does touch every
function and variable in the module, verifies a few return values and
even tests a couple of known error conditions.
Fred Drake [Fri, 6 Dec 1996 18:45:30 +0000 (18:45 +0000)]
(Makefile): The sed hack is needed for all 3 manuals processed by latex2html;
the comma must represent a bug in the modified process_command()
function, but I haven't found it yet. This will work for now.
Tentative changes to make this work better on 64-bit machines.
A plain int that doesn't fit in 32 bits will be marshalled using a new
type. 32 bits machines can't handle this and will issue a warning.
Fred Drake [Thu, 5 Dec 1996 22:28:43 +0000 (22:28 +0000)]
(libparser.tex): Added note that the line number for a terminal token
indicates the line on which the token ends rather than starts
(a side effect of interpreting the parse tree nodes directly).
Maybe I'll fix this for Python 2.0.
Experimental new implementation of dictionary comparison. This
defines that a shorter dictionary is always smaller than a longer one.
For dictionaries of the same size, the smallest differing element
determines the outcome (which yields the same results as before,
without explicit sorting).
Guido van Rossum [Wed, 20 Nov 1996 22:12:26 +0000 (22:12 +0000)]
Added support for timezone in date field. getdate_tz() and
parsedate_tz() return a 10-tuple, the last field is the tz offset in
seconds (e.g. -18000 or -5 hours for EST).
Guido van Rossum [Thu, 14 Nov 1996 18:24:47 +0000 (18:24 +0000)]
Fixed a bug: files that no longer exist remotely would never be
removed from .mirrorinfo. Now they are (even if -r is not specified
-- the files are not removed, just their .mirrorinfo entry).
Added a feature: the -s pattern option is also used to skip local
files when removing (i.e. -r won't remove local files matching the -s
patterns).
Fred Drake [Mon, 11 Nov 1996 21:03:01 +0000 (21:03 +0000)]
(Makefile): Updated comments about using LaTeX2HTML for the library
reference. Made the extension to the input files for makeindex
explicit; if not made explicit a directory of the given base
name can cause makeindex to blow up. Specifically, if there is
a directory ./lib/ created by LaTeX2HTML, "makeindex lib" will
fail, but "makeindex lib.idx" will not.
l2h{tut,ext,lib} are now dependent on myformat.perl.
l2h adds ls2lib and removes the non-existant l2href.
Fred Drake [Mon, 11 Nov 1996 20:49:27 +0000 (20:49 +0000)]
(fix_libaux.sed): Hackish little sed script to modify lib.aux to get section
numbers right for latex2html for section titles which include
"\sectcode{__.*__}" in the name. Perhaps less general than it should
be, but sufficient.
Fred Drake [Mon, 11 Nov 1996 20:46:44 +0000 (20:46 +0000)]
(.latex2html-init): Perform some limited setup for the reference manuals;
some defaults are set here, but mostly this allows the "\," command
to be used the way it is in the Python documentation.
All future documentation should probably be written with only ","
in the argument lists and not "\,".
Guido van Rossum [Mon, 11 Nov 1996 19:29:11 +0000 (19:29 +0000)]
Added 'strict_parsing' option to all parsing functions. This causes a
ValueError exception when the query string contains fields that don't
contain exactly one '=' sign. (By default, such fields are simply
ignored.) Added this to the doc string describing parse() and
parse_qs().
Also changed the default for keep_blank_values from None to 0 (the
preferred way to spell 'FALSE').
Fred Drake [Mon, 11 Nov 1996 16:04:35 +0000 (16:04 +0000)]
(myformat.perl): Updated to allow library reference manual to be handled by
latex2html. Mostly added support for custom environments and some
of the smaller commands used in the library reference (\e, \optional).
Jack Jansen [Sat, 9 Nov 1996 18:45:18 +0000 (18:45 +0000)]
Got rid of nfullpath in favor of PyMac_GetFullPath (which was pretty
much identical anyway).
Initialize PyMac_ApplicationPath and PyMac_ApplicationFSSpec to point
to the current application.